rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
public CommentForm(final String id) { // Construct form with no validation listener super(id, new CompoundPropertyModel(new Comment())); // Add text entry widget add(new TextArea("text")); }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/b54a332dad7c94b1fc911b1731ce759814b36cd4/GuestBook.java/buggy/wicket-examples/src/java/wicket/examples/guestbook/GuestBook.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
9821,
1204,
12,
6385,
514,
612,
13,
202,
202,
95,
1082,
202,
759,
14291,
646,
598,
1158,
3379,
2991,
1082,
202,
9565,
12,
350,
16,
394,
21327,
1396,
1488,
12,
2704,
9821,
1435,
10019,
25083,
202,
759,
1436,
977,
1241,
3604,
1082,
202,
1289,
12,
2704,
3867,
5484,
2932,
955,
7923,
1769,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
9821,
1204,
12,
6385,
514,
612,
13,
202,
202,
95,
1082,
202,
759,
14291,
646,
598,
1158,
3379,
2991,
1082,
202,
9565,
12,
350,
16,
394,
21327,
1396,
1488,
12,
2704,
9821,
1435,
10019,
25083,
202,
759,
1436,
977,
1241,
3604,
1082,
202,
1289,
12,
2704,
3867,
5484,
2932,
955,
7923,
1769,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
agent = null;
|
public void createAgent(AID agentID, String className, Object arguments[], String ownership, CertificateFolder certs, boolean startIt) throws IMTPException, NotFoundException, NameClashException, AuthException { Agent agent = null; try { agent = (Agent)Class.forName(new String(className)).newInstance(); agent = null; agent.setArguments(arguments); //#MIDP_EXCLUDE_BEGIN // Set agent principal and certificates if(certs != null) { agent.setPrincipal(certs); } // Set agent ownership if(ownership != null) agent.setOwnership(ownership); else if(certs.getIdentityCertificate() != null) agent.setOwnership(((AgentPrincipal)certs.getIdentityCertificate().getSubject()).getOwnership()); //#MIDP_EXCLUDE_END // Execute the second half of the creation process initAgent(agentID, agent, startIt); } catch(ClassNotFoundException cnfe) { throw new IMTPException("Class " + className + " for agent " + agentID + " not found in createAgent()", cnfe); } catch(InstantiationException ie) { throw new IMTPException("Instantiation exception in createAgent()", ie); } catch(IllegalAccessException iae) { throw new IMTPException("Illegal access exception in createAgent()", iae); } catch(ServiceException se) { throw new IMTPException("Service exception in createAgent()", se); } }
|
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/d76034b9669e071d46fb809775cdc4fd76ad7128/AgentManagementService.java/buggy/src/jade/core/management/AgentManagementService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
3630,
12,
37,
734,
4040,
734,
16,
514,
2658,
16,
1033,
1775,
63,
6487,
514,
23178,
16,
6660,
3899,
13870,
16,
1250,
787,
7193,
13,
1216,
467,
14636,
503,
16,
12323,
16,
1770,
2009,
961,
503,
16,
3123,
503,
288,
202,
565,
8669,
4040,
273,
446,
31,
202,
565,
775,
288,
202,
202,
5629,
273,
261,
3630,
13,
797,
18,
1884,
461,
12,
2704,
514,
12,
12434,
13,
2934,
2704,
1442,
5621,
202,
202,
5629,
273,
446,
31,
202,
202,
5629,
18,
542,
4628,
12,
7099,
1769,
202,
202,
759,
7,
49,
734,
52,
67,
2294,
14829,
67,
16061,
202,
202,
759,
1000,
4040,
8897,
471,
12522,
202,
202,
430,
12,
24596,
480,
446,
13,
288,
1082,
565,
4040,
18,
542,
9155,
12,
24596,
1769,
202,
202,
97,
202,
202,
759,
1000,
4040,
23178,
202,
202,
430,
12,
995,
12565,
480,
446,
13,
1082,
565,
4040,
18,
542,
5460,
12565,
12,
995,
12565,
1769,
202,
202,
12107,
309,
12,
24596,
18,
588,
4334,
4719,
1435,
480,
446,
13,
1082,
565,
4040,
18,
542,
5460,
12565,
12443,
12,
3630,
9155,
13,
24596,
18,
588,
4334,
4719,
7675,
588,
6638,
1435,
2934,
588,
5460,
12565,
10663,
202,
202,
759,
7,
49,
734,
52,
67,
2294,
14829,
67,
4415,
202,
202,
759,
7903,
326,
2205,
8816,
434,
326,
6710,
1207,
202,
202,
2738,
3630,
12,
5629,
734,
16,
4040,
16,
787,
7193,
1769,
202,
565,
289,
202,
565,
1044,
12,
797,
3990,
6227,
3030,
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,
918,
752,
3630,
12,
37,
734,
4040,
734,
16,
514,
2658,
16,
1033,
1775,
63,
6487,
514,
23178,
16,
6660,
3899,
13870,
16,
1250,
787,
7193,
13,
1216,
467,
14636,
503,
16,
12323,
16,
1770,
2009,
961,
503,
16,
3123,
503,
288,
202,
565,
8669,
4040,
273,
446,
31,
202,
565,
775,
288,
202,
202,
5629,
273,
261,
3630,
13,
797,
18,
1884,
461,
12,
2704,
514,
12,
12434,
13,
2934,
2704,
1442,
5621,
202,
202,
5629,
273,
446,
31,
202,
202,
5629,
18,
542,
4628,
12,
7099,
1769,
202,
202,
759,
7,
49,
734,
52,
67,
2294,
14829,
67,
16061,
202,
202,
759,
1000,
4040,
8897,
471,
12522,
202,
202,
430,
12,
24596,
480,
446,
2
] |
|
srv_sock.getLocalPort());
|
srv_sock.getLocalPort());
|
public void run() { while(handler != null && srv_sock != null) { try { if(log.isTraceEnabled()) // +++ remove log.trace("waiting for client connections on port " + srv_sock.getLocalPort()); client_sock=srv_sock.accept(); if(log.isTraceEnabled()) // +++ remove log.trace("accepted connection from " + client_sock.getInetAddress() + ":" + client_sock.getPort()); in=client_sock.getInputStream(); try { while((in.read()) != -1) { } } catch(IOException io_ex1) { } finally { if(client_sock != null) { try { client_sock.close(); } catch(Exception ex) { } client_sock=null; } } } catch(IOException io_ex2) { break; } } handler=null; }
|
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/f4d48c5d12530ffb09ab46034b71d9594b0f1287/FD_SOCK.java/buggy/src/org/jgroups/protocols/FD_SOCK.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
1323,
12,
4176,
480,
446,
597,
7302,
67,
15031,
480,
446,
13,
288,
7734,
775,
288,
10792,
309,
12,
1330,
18,
291,
3448,
1526,
10756,
368,
965,
15,
1206,
13491,
613,
18,
5129,
2932,
20241,
364,
1004,
5921,
603,
1756,
315,
397,
28524,
3639,
7302,
67,
15031,
18,
588,
2042,
2617,
10663,
10792,
1004,
67,
15031,
33,
20818,
67,
15031,
18,
9436,
5621,
10792,
309,
12,
1330,
18,
291,
3448,
1526,
10756,
368,
965,
15,
1206,
13491,
613,
18,
5129,
2932,
23847,
1459,
628,
315,
397,
27573,
1004,
67,
15031,
18,
588,
382,
278,
1887,
1435,
397,
6153,
397,
1004,
67,
15031,
18,
588,
2617,
10663,
10792,
316,
33,
2625,
67,
15031,
18,
588,
4348,
5621,
10792,
775,
288,
13491,
1323,
12443,
267,
18,
896,
10756,
480,
300,
21,
13,
288,
13491,
289,
10792,
289,
10792,
1044,
12,
14106,
2527,
67,
338,
21,
13,
288,
10792,
289,
10792,
3095,
288,
13491,
309,
12,
2625,
67,
15031,
480,
446,
13,
288,
18701,
775,
288,
27573,
1004,
67,
15031,
18,
4412,
5621,
18701,
289,
18701,
1044,
12,
503,
431,
13,
288,
18701,
289,
18701,
1004,
67,
15031,
33,
2011,
31,
13491,
289,
10792,
289,
7734,
289,
7734,
1044,
12,
14106,
2527,
67,
338,
22,
13,
288,
10792,
898,
31,
7734,
289,
5411,
289,
5411,
1838,
33,
2011,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
1323,
12,
4176,
480,
446,
597,
7302,
67,
15031,
480,
446,
13,
288,
7734,
775,
288,
10792,
309,
12,
1330,
18,
291,
3448,
1526,
10756,
368,
965,
15,
1206,
13491,
613,
18,
5129,
2932,
20241,
364,
1004,
5921,
603,
1756,
315,
397,
28524,
3639,
7302,
67,
15031,
18,
588,
2042,
2617,
10663,
10792,
1004,
67,
15031,
33,
20818,
67,
15031,
18,
9436,
5621,
10792,
309,
12,
1330,
18,
291,
3448,
1526,
10756,
368,
965,
15,
1206,
13491,
613,
18,
5129,
2932,
23847,
1459,
628,
315,
397,
27573,
1004,
67,
15031,
18,
588,
382,
278,
1887,
1435,
397,
6153,
397,
1004,
67,
15031,
18,
588,
2617,
10663,
10792,
316,
33,
2625,
67,
15031,
2
] |
BugzillaTask bugTask = new BugzillaTask(handle, "label 124", true, true);
|
BugzillaTask bugTask = new BugzillaTask(handle, "label 124", true);
|
public void testRepositoryUrlHandles() { String repository = IBugzillaConstants.ECLIPSE_BUGZILLA_URL; String id = "123"; String handle = TaskRepositoryManager.getHandle(repository, id); BugzillaTask bugTask = new BugzillaTask(handle, "label 124", true, true); assertEquals(repository, bugTask.getRepositoryUrl()); manager.moveToRoot(bugTask); manager.saveTaskList(); TaskList list = new TaskList(); manager.setTaskList(list); manager.readExistingOrCreateNewList(); BugzillaTask readReport = (BugzillaTask) manager.getTaskList().getRootTasks().get(0); assertEquals(readReport.getDescription(), readReport.getDescription()); assertEquals(readReport.getRepositoryUrl(), readReport.getRepositoryUrl()); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/b60f61cc1b10fbe46d029fd16db5d649dd49c673/TaskListManagerTest.java/clean/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListManagerTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3305,
1489,
8788,
1435,
288,
202,
202,
780,
3352,
273,
467,
19865,
15990,
2918,
18,
7228,
2053,
52,
1090,
67,
4827,
62,
2627,
2534,
67,
1785,
31,
202,
202,
780,
612,
273,
315,
12936,
14432,
202,
202,
780,
1640,
273,
3837,
3305,
1318,
18,
588,
3259,
12,
9071,
16,
612,
1769,
202,
202,
19865,
15990,
2174,
7934,
2174,
273,
394,
16907,
15990,
2174,
12,
4110,
16,
315,
1925,
2593,
24,
3113,
638,
16,
638,
1769,
202,
202,
11231,
8867,
12,
9071,
16,
7934,
2174,
18,
588,
3305,
1489,
10663,
202,
202,
4181,
18,
8501,
774,
2375,
12,
925,
2174,
1769,
202,
202,
4181,
18,
5688,
2174,
682,
5621,
202,
202,
2174,
682,
666,
273,
394,
3837,
682,
5621,
202,
202,
4181,
18,
542,
2174,
682,
12,
1098,
1769,
202,
202,
4181,
18,
896,
9895,
17717,
1908,
682,
5621,
202,
202,
19865,
15990,
2174,
855,
4820,
273,
261,
19865,
15990,
2174,
13,
3301,
18,
588,
2174,
682,
7675,
588,
2375,
6685,
7675,
588,
12,
20,
1769,
202,
202,
11231,
8867,
12,
896,
4820,
18,
588,
3291,
9334,
855,
4820,
18,
588,
3291,
10663,
202,
202,
11231,
8867,
12,
896,
4820,
18,
588,
3305,
1489,
9334,
855,
4820,
18,
588,
3305,
1489,
10663,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3305,
1489,
8788,
1435,
288,
202,
202,
780,
3352,
273,
467,
19865,
15990,
2918,
18,
7228,
2053,
52,
1090,
67,
4827,
62,
2627,
2534,
67,
1785,
31,
202,
202,
780,
612,
273,
315,
12936,
14432,
202,
202,
780,
1640,
273,
3837,
3305,
1318,
18,
588,
3259,
12,
9071,
16,
612,
1769,
202,
202,
19865,
15990,
2174,
7934,
2174,
273,
394,
16907,
15990,
2174,
12,
4110,
16,
315,
1925,
2593,
24,
3113,
638,
16,
638,
1769,
202,
202,
11231,
8867,
12,
9071,
16,
7934,
2174,
18,
588,
3305,
1489,
10663,
202,
202,
4181,
18,
8501,
774,
2375,
12,
925,
2174,
1769,
202,
202,
4181,
18,
5688,
2174,
682,
5621,
202,
202,
2174,
682,
666,
273,
2
] |
System.out.println("</report>"); }
|
System.out.println("</report>"); }
|
public static void main (String [] args) throws Exception { String USAGE = "Usage: java SchedulerReport [options] <date (YYYY-MM-DD)> Enter -help for a list of options\n"; String HELP = "Where [options] are:\n"+ " -help Displays help\n"+ " -step <day|month> Specifies size of step (day by default)\n"+ " -n <steps> Specifies number of steps to do\n"; if (args.length == 0){ System.err.println(USAGE); System.exit(1); } else if (args.length == 1 && args[0].equalsIgnoreCase("-help")){ System.err.println(USAGE); System.err.println(HELP); System.exit(1); } int n = 1; String stepStr = "day"; for (int i=0;i<args.length-1;i++){ if (args[i].equals("-n")) { n = Integer.parseInt(args[++i]); } else if (args[i].equals("-step")) { stepStr = args[++i]; } else if (args[i].equalsIgnoreCase("-help")) { System.err.println(USAGE); System.err.println(HELP); System.exit(1); } else { System.err.println("Unknown argument: " + args[i]); System.exit(1); } } String inputDate = args[args.length-1]; DatabaseRetriever dbr = new DatabaseRetriever(); TimeStep ts = new TimeStep (stepStr, n, inputDate); HistogramParser internalReport = new HistogramParser("Internal MCS/ISI packets recieved", "internalhistogram", "% of Jobs from MCS/ISI", n); HistogramParser domainReport = new HistogramParser("Total Jobs Shown by Domain", "domainhistogram", "Number of Jobs", n); System.out.println("<report>"); while (ts.next()){ IPTable iptracker = new IPTable(); int totalJobs=0; String startDate = ts.getFormattedTime(); Date startTime = ts.getTime(); ts.stepTime(); internalReport.nextEntry(startDate, ts.getFormattedTime()); domainReport.nextEntry(startDate, ts.getFormattedTime()); ResultSet rs = dbr.retrieve("gram_packets",new String [] {"ip_address"}, startTime, ts.getTime()); while(rs.next()){ totalJobs++; IPEntry ipEntry = IPEntry.getIPEntry(rs.getString(1)); iptracker.addDomain(ipEntry.getDomain()); domainReport.addData(ipEntry.getDomain(),1); } if (iptracker.getDomains().containsKey("ISI")){ internalReport.addData("ISI", 100.0*((IPTable.DomainEntry)iptracker.getDomains().get("ISI")).getCount()/totalJobs); } else{ internalReport.addData("ISI",0); } if (iptracker.getDomains().containsKey("MCS")){ internalReport.addData("MCS", 100.0*((IPTable.DomainEntry)iptracker.getDomains().get("MCS")).getCount()/totalJobs); } else{ internalReport.addData("MCS",0); } } internalReport.output(System.out); domainReport.output(System.out); System.out.println("</report>");}
|
8754 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8754/efb83d08bf3214ba362adb9486345c128a00bae7/DomainReport.java/buggy/usage/java/reports/source/src/org/globus/usage/report/gram/DomainReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
261,
780,
5378,
833,
13,
1216,
1185,
288,
3639,
514,
11836,
2833,
273,
315,
5357,
30,
2252,
12620,
4820,
306,
2116,
65,
411,
712,
261,
26287,
17,
8206,
17,
5698,
13,
34,
15439,
300,
5201,
364,
279,
666,
434,
702,
64,
82,
14432,
3639,
514,
22557,
52,
273,
315,
5262,
306,
2116,
65,
854,
5581,
82,
6,
15,
5411,
315,
300,
5201,
1171,
9311,
87,
2809,
64,
82,
6,
15,
5411,
315,
300,
4119,
411,
2881,
96,
7496,
34,
377,
4185,
5032,
963,
434,
2235,
261,
2881,
635,
805,
5153,
82,
6,
15,
5411,
315,
300,
82,
411,
8986,
34,
5411,
4185,
5032,
1300,
434,
6075,
358,
741,
64,
82,
14432,
3639,
309,
261,
1968,
18,
2469,
422,
374,
15329,
5411,
2332,
18,
370,
18,
8222,
12,
29550,
1769,
5411,
2332,
18,
8593,
12,
21,
1769,
3639,
289,
3639,
469,
309,
261,
1968,
18,
2469,
422,
404,
597,
833,
63,
20,
8009,
14963,
5556,
2932,
17,
5201,
6,
3719,
95,
5411,
2332,
18,
370,
18,
8222,
12,
29550,
1769,
5411,
2332,
18,
370,
18,
8222,
12,
27396,
1769,
5411,
2332,
18,
8593,
12,
21,
1769,
3639,
289,
3639,
509,
290,
273,
404,
31,
3639,
514,
2235,
1585,
273,
315,
2881,
14432,
3639,
364,
261,
474,
277,
33,
20,
31,
77,
32,
1968,
18,
2469,
17,
21,
31,
77,
27245,
95,
5411,
309,
261,
1968,
63,
77,
8009,
14963,
2932,
17,
82,
6,
3719,
288,
7734,
290,
273,
2144,
18,
2670,
1702,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
261,
780,
5378,
833,
13,
1216,
1185,
288,
3639,
514,
11836,
2833,
273,
315,
5357,
30,
2252,
12620,
4820,
306,
2116,
65,
411,
712,
261,
26287,
17,
8206,
17,
5698,
13,
34,
15439,
300,
5201,
364,
279,
666,
434,
702,
64,
82,
14432,
3639,
514,
22557,
52,
273,
315,
5262,
306,
2116,
65,
854,
5581,
82,
6,
15,
5411,
315,
300,
5201,
1171,
9311,
87,
2809,
64,
82,
6,
15,
5411,
315,
300,
4119,
411,
2881,
96,
7496,
34,
377,
4185,
5032,
963,
434,
2235,
261,
2881,
635,
805,
5153,
82,
6,
15,
5411,
315,
300,
82,
411,
8986,
34,
5411,
4185,
5032,
1300,
434,
6075,
358,
741,
64,
82,
14432,
3639,
309,
261,
2
] |
public void testSchedulePreview() throws Exception { createInitialObjects(); LoanOfferingBO loanOffering = getLoanOffering("fdfsdfsd", "ertg", PrdApplicableMaster.GROUPS.getValue().toString(), 1, 1); List<FeeBO> fees = getFee(); setRequestPathInfo("/loanAccountAction.do"); addRequestParameter("method", "getPrdOfferings"); addRequestParameter("customerId", group.getCustomerId().toString()); actionPerform(); setRequestPathInfo("/loanAccountAction.do"); addRequestParameter(Constants.CURRENTFLOWKEY, (String) request .getAttribute(Constants.CURRENTFLOWKEY)); addRequestParameter("method", "load"); addRequestParameter("customerId", group.getCustomerId().toString()); addRequestParameter("prdOfferingId", loanOffering.getPrdOfferingId() .toString()); actionPerform(); setRequestPathInfo("/loanAccountAction.do"); addRequestParameter("loanAmount", loanOffering.getDefaultLoanAmount() .toString()); addRequestParameter("interestRate", loanOffering.getDefInterestRate() .toString()); addRequestParameter("noOfInstallments", loanOffering .getDefNoInstallments().toString()); addRequestParameter("disbursementDate", DateHelper .getCurrentDate(((UserContext) request.getSession() .getAttribute("UserContext")).getPereferedLocale())); addRequestParameter("gracePeriodDuration", "1"); addRequestParameter(Constants.CURRENTFLOWKEY, (String) request .getAttribute(Constants.CURRENTFLOWKEY)); addRequestParameter("method", "schedulePreview"); actionPerform(); verifyNoActionErrors(); verifyNoActionMessages(); verifyForward(ActionForwards.schedulePreview_success.toString()); LoanBO loan = (LoanBO) SessionUtils.getAttribute( Constants.BUSINESS_KEY, request); assertNotNull(loan); TestObjectFactory.removeObject((LoanOfferingBO) TestObjectFactory .getObject(LoanOfferingBO.class, loanOffering .getPrdOfferingId())); for (FeeBO fee : fees) { TestObjectFactory.cleanUp((FeeBO) TestObjectFactory.getObject( FeeBO.class, fee.getFeeId())); } group = (GroupBO) TestObjectFactory.getObject(GroupBO.class, group .getCustomerId()); }
|
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/f551454acbb807ab40e28193139f031753504414/TestLoanAccountAction.java/buggy/mifos/test/org/mifos/application/accounts/loan/struts/action/TestLoanAccountAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
3813,
6061,
11124,
1435,
15069,
503,
95,
202,
202,
2640,
4435,
4710,
5621,
202,
202,
1504,
304,
17800,
5315,
383,
304,
17800,
33,
588,
1504,
304,
17800,
2932,
74,
12381,
2180,
6427,
15937,
1051,
75,
3113,
9506,
202,
2050,
72,
27873,
7786,
18,
28977,
18,
24805,
7675,
10492,
9334,
21,
16,
21,
1769,
202,
202,
682,
32,
14667,
5315,
34,
3030,
281,
33,
588,
14667,
5621,
202,
202,
542,
691,
743,
966,
2932,
19,
383,
304,
3032,
1803,
18,
2896,
8863,
202,
202,
1289,
691,
1662,
2932,
2039,
15937,
588,
2050,
72,
25197,
8863,
202,
202,
1289,
691,
1662,
2932,
10061,
548,
3113,
1655,
18,
588,
8883,
548,
7675,
10492,
10663,
202,
202,
1128,
4990,
5621,
202,
202,
542,
691,
743,
966,
2932,
19,
383,
304,
3032,
1803,
18,
2896,
8863,
202,
202,
1289,
691,
1662,
12,
2918,
18,
15487,
17430,
3297,
16,
12,
780,
13,
2293,
9506,
202,
18,
588,
1499,
12,
2918,
18,
15487,
17430,
3297,
10019,
202,
202,
1289,
691,
1662,
2932,
2039,
15937,
945,
8863,
202,
202,
1289,
691,
1662,
2932,
10061,
548,
3113,
1655,
18,
588,
8883,
548,
7675,
10492,
10663,
202,
202,
1289,
691,
1662,
2932,
683,
72,
17800,
548,
3113,
383,
304,
17800,
18,
588,
2050,
72,
17800,
548,
1435,
9506,
202,
18,
10492,
10663,
202,
202,
1128,
4990,
5621,
202,
202,
542,
691,
743,
966,
2932,
19,
383,
304,
3032,
1803,
18,
2896,
8863,
202,
202,
1289,
691,
1662,
2932,
383,
304,
6275,
3113,
383,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
3813,
6061,
11124,
1435,
15069,
503,
95,
202,
202,
2640,
4435,
4710,
5621,
202,
202,
1504,
304,
17800,
5315,
383,
304,
17800,
33,
588,
1504,
304,
17800,
2932,
74,
12381,
2180,
6427,
15937,
1051,
75,
3113,
9506,
202,
2050,
72,
27873,
7786,
18,
28977,
18,
24805,
7675,
10492,
9334,
21,
16,
21,
1769,
202,
202,
682,
32,
14667,
5315,
34,
3030,
281,
33,
588,
14667,
5621,
202,
202,
542,
691,
743,
966,
2932,
19,
383,
304,
3032,
1803,
18,
2896,
8863,
202,
202,
1289,
691,
1662,
2932,
2039,
15937,
588,
2050,
72,
25197,
8863,
202,
202,
1289,
691,
1662,
2932,
10061,
548,
3113,
1655,
18,
588,
8883,
548,
7675,
10492,
10663,
202,
202,
1128,
4990,
2
] |
||
for(int i=0; i < new_mbrs.size(); i++)
|
for (int i = 0; i < new_mbrs.size(); i++) {
|
private void setMembers (Vector new_mbrs) { if(new_mbrs != null) { members.removeAllElements(); for(int i=0; i < new_mbrs.size(); i++) members.addElement(new_mbrs.elementAt(i)); } }
|
51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/146a9f744cbe901c4fe56f6ceb2100ee15e7e898/MessageDispatcher.java/clean/src/org/jgroups/blocks/MessageDispatcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
444,
6918,
261,
5018,
394,
67,
1627,
5453,
13,
565,
288,
3639,
309,
12,
2704,
67,
1627,
5453,
480,
446,
13,
288,
5411,
4833,
18,
4479,
1595,
3471,
5621,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
394,
67,
1627,
5453,
18,
1467,
5621,
277,
27245,
288,
7734,
4833,
18,
1289,
1046,
12,
2704,
67,
1627,
5453,
18,
2956,
861,
12,
77,
10019,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
444,
6918,
261,
5018,
394,
67,
1627,
5453,
13,
565,
288,
3639,
309,
12,
2704,
67,
1627,
5453,
480,
446,
13,
288,
5411,
4833,
18,
4479,
1595,
3471,
5621,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
394,
67,
1627,
5453,
18,
1467,
5621,
277,
27245,
288,
7734,
4833,
18,
1289,
1046,
12,
2704,
67,
1627,
5453,
18,
2956,
861,
12,
77,
10019,
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
] |
SINGLETON.signalEvent(null, a, Sampling.EVENT_ID_ACTIVITY_END, 0, 0, 0);
|
if (SINGLETON != null) SINGLETON.signalEvent(null, a, Sampling.EVENT_ID_ACTIVITY_END, 0, 0, 0);
|
public void notifyActivityTerminated(Activity a) { SINGLETON.signalEvent(null, a, Sampling.EVENT_ID_ACTIVITY_END, 0, 0, 0); }
|
1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/d1b74c40f95f6d93eee81964a20eb9b00aba46be/Sampling.java/clean/x10.runtime/src/x10/runtime/Sampling.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
5066,
6193,
21888,
12,
6193,
279,
13,
288,
10792,
15915,
56,
673,
18,
10420,
1133,
12,
2011,
16,
18701,
279,
16,
18701,
348,
7639,
18,
10454,
67,
734,
67,
22271,
4107,
67,
4415,
16,
18701,
374,
16,
18701,
374,
16,
18701,
374,
1769,
7734,
289,
1171,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
5066,
6193,
21888,
12,
6193,
279,
13,
288,
10792,
15915,
56,
673,
18,
10420,
1133,
12,
2011,
16,
18701,
279,
16,
18701,
348,
7639,
18,
10454,
67,
734,
67,
22271,
4107,
67,
4415,
16,
18701,
374,
16,
18701,
374,
16,
18701,
374,
1769,
7734,
289,
1171,
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
] |
assertTrue( e.getMessage().equals( "Ill-formed #include: reached end of line before \"" ));
|
assertTrue( e.getMessage().equals( "Unbounded string" ));
|
public void testBug36816() throws Exception { initializeScanner( "#include \"foo.h" ); try{ validateEOF(); } catch ( ScannerException e ){ assertTrue( e.getMessage().equals( "Ill-formed #include: reached end of line before \"" )); } initializeScanner( "#include <foo.h" ); try{ validateEOF(); } catch ( ScannerException e ){ assertTrue( e.getMessage().equals( "Ill-formed #include: reached end of line before >" )); } initializeScanner( "#define FOO(A" ); try{ validateEOF(); } catch( ScannerException e ){ assertTrue( e.getMessage().equals( "Unexpected newline in macro formal parameter list.")); } initializeScanner( "#define FOO(A \\ B" ); try{ validateEOF(); } catch( ScannerException e ){ assertTrue( e.getMessage().equals( "Unexpected '\\' in macro formal parameter list.")); } initializeScanner( "#define FOO(A,\\\nB) 1\n FOO(foo" ); try{ validateInteger("1"); } catch( ScannerException e ){ assertTrue( e.getMessage().equals( "Improper use of macro FOO" ) ); } }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/136320038c029b701242a8b519f27435b9861961/ScannerTestCase.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ScannerTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
19865,
5718,
28,
2313,
1435,
1216,
1185,
202,
95,
202,
202,
11160,
11338,
12,
6619,
6702,
1239,
11351,
18,
76,
6,
11272,
202,
202,
698,
95,
1082,
202,
5662,
12706,
5621,
202,
202,
97,
1044,
261,
19074,
503,
425,
262,
95,
1082,
202,
11231,
5510,
12,
425,
18,
24906,
7675,
14963,
12,
315,
45,
2906,
17,
7312,
468,
6702,
30,
8675,
679,
434,
980,
1865,
11843,
262,
1769,
202,
202,
97,
1082,
202,
11160,
11338,
12,
6619,
6702,
411,
11351,
18,
76,
6,
11272,
202,
202,
698,
95,
1082,
202,
5662,
12706,
5621,
202,
202,
97,
1044,
261,
19074,
503,
425,
262,
95,
1082,
202,
11231,
5510,
12,
425,
18,
24906,
7675,
14963,
12,
315,
45,
2906,
17,
7312,
468,
6702,
30,
8675,
679,
434,
980,
1865,
405,
6,
262,
1769,
202,
202,
97,
9506,
202,
11160,
11338,
12,
6619,
11255,
17634,
51,
12,
37,
6,
11272,
202,
202,
698,
95,
1082,
202,
5662,
12706,
5621,
202,
202,
97,
1044,
12,
19074,
503,
425,
262,
95,
1082,
202,
11231,
5510,
12,
425,
18,
24906,
7675,
14963,
12,
315,
7762,
9472,
316,
11522,
25739,
1569,
666,
1199,
10019,
202,
202,
97,
202,
202,
11160,
11338,
12,
6619,
11255,
17634,
51,
12,
37,
1736,
605,
6,
11272,
202,
202,
698,
95,
1082,
202,
5662,
12706,
5621,
202,
202,
97,
1044,
12,
19074,
503,
425,
262,
95,
1082,
202,
11231,
5510,
12,
425,
18,
24906,
7675,
14963,
12,
315,
7762,
5282,
316,
11522,
25739,
1569,
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,
19865,
5718,
28,
2313,
1435,
1216,
1185,
202,
95,
202,
202,
11160,
11338,
12,
6619,
6702,
1239,
11351,
18,
76,
6,
11272,
202,
202,
698,
95,
1082,
202,
5662,
12706,
5621,
202,
202,
97,
1044,
261,
19074,
503,
425,
262,
95,
1082,
202,
11231,
5510,
12,
425,
18,
24906,
7675,
14963,
12,
315,
45,
2906,
17,
7312,
468,
6702,
30,
8675,
679,
434,
980,
1865,
11843,
262,
1769,
202,
202,
97,
1082,
202,
11160,
11338,
12,
6619,
6702,
411,
11351,
18,
76,
6,
11272,
202,
202,
698,
95,
1082,
202,
5662,
12706,
5621,
202,
202,
97,
1044,
261,
19074,
503,
425,
262,
95,
1082,
202,
11231,
5510,
12,
425,
18,
24906,
7675,
14963,
12,
2
] |
public boolean isSet(org.quickfix.field.PartySubID field)
|
public boolean isSet(quickfix.field.PartySubID field)
|
public boolean isSet(org.quickfix.field.PartySubID field) { return isSetField(field); }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/AllocationReport.java/clean/src/java/src/quickfix/fix44/AllocationReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
17619,
1676,
734,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
17619,
1676,
734,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return types.equals(webConfigObj.types) && exporters.equals(webConfigObj.exporters);
|
return types.equals(webConfigObj.types) && tableExportConfigs.equals(webConfigObj.tableExportConfigs);
|
public boolean equals(Object obj) { if (!(obj instanceof WebConfig)) { return false; } WebConfig webConfigObj = (WebConfig) obj; return types.equals(webConfigObj.types) && exporters.equals(webConfigObj.exporters); }
|
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/e4462184e7286a878a34629ea788aadf2d6b45aa/WebConfig.java/buggy/intermine/web/main/src/org/intermine/web/config/WebConfig.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
12,
921,
1081,
13,
288,
3639,
309,
16051,
12,
2603,
1276,
2999,
809,
3719,
288,
5411,
327,
629,
31,
3639,
289,
3639,
2999,
809,
3311,
809,
2675,
273,
261,
4079,
809,
13,
1081,
31,
540,
327,
1953,
18,
14963,
12,
4875,
809,
2675,
18,
2352,
13,
597,
1014,
6144,
8062,
18,
14963,
12,
4875,
809,
2675,
18,
2121,
6144,
8062,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
12,
921,
1081,
13,
288,
3639,
309,
16051,
12,
2603,
1276,
2999,
809,
3719,
288,
5411,
327,
629,
31,
3639,
289,
3639,
2999,
809,
3311,
809,
2675,
273,
261,
4079,
809,
13,
1081,
31,
540,
327,
1953,
18,
14963,
12,
4875,
809,
2675,
18,
2352,
13,
597,
1014,
6144,
8062,
18,
14963,
12,
4875,
809,
2675,
18,
2121,
6144,
8062,
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
] |
type = VM_Type.BooleanType;
|
type = OPT_ClassLoaderProxy.BooleanType;
|
private void generateFrom(int fromIndex) { if (DBG_BB || DBG_SELECTED) { db("generating code into " + currentBBLE + " with runoff " + runoff); } currentBBLE.setGenerated(); endOfBasicBlock = fallThrough = false; lastInstr = null; bcInfo.setInstruction(fromIndex); while (true) { // Must keep currentBBLE.high up-to-date in case we try to jump into // the middle of the block we're currently generating. Simply updating // high once endsBasicBlock is true doesn't enable us to catch this case. currentBBLE.high = instrIndex = bcInfo.bcIndex; int code = bcInfo.getNextInstruction(); if (DBG_BCPARSE) { db("parsing " + instrIndex + " : 0x" + Integer.toHexString(code)); } OPT_Instruction s = null; switch (code) { case JBC_nop: break; case JBC_aconst_null: push(new OPT_NullConstantOperand()); break; case JBC_iconst_m1:case JBC_iconst_0:case JBC_iconst_1: case JBC_iconst_2:case JBC_iconst_3:case JBC_iconst_4: case JBC_iconst_5: push(new OPT_IntConstantOperand(code - JBC_iconst_0)); break; case JBC_lconst_0:case JBC_lconst_1: pushDual(new OPT_LongConstantOperand(code - JBC_lconst_0)); break; case JBC_fconst_0: push(new OPT_FloatConstantOperand(0.f)); break; case JBC_fconst_1: push(new OPT_FloatConstantOperand(1.f)); break; case JBC_fconst_2: push(new OPT_FloatConstantOperand(2.f)); break; case JBC_dconst_0: pushDual(new OPT_DoubleConstantOperand(0.)); break; case JBC_dconst_1: pushDual(new OPT_DoubleConstantOperand(1.)); break; case JBC_bipush: push(new OPT_IntConstantOperand(bcInfo.getByteValue())); break; case JBC_sipush: push(new OPT_IntConstantOperand(bcInfo.getShortValue())); break; case JBC_ldc: push(bcInfo.getConstantOperand(code)); break; case JBC_ldc_w: push(bcInfo.getConstantOperand(code)); break; case JBC_ldc2_w: pushDual(bcInfo.getConstantOperand(code)); break; case JBC_iload: s = do_iload(bcInfo.getLocalNumber()); break; case JBC_lload: s = do_lload(bcInfo.getLocalNumber()); break; case JBC_fload: s = do_fload(bcInfo.getLocalNumber()); break; case JBC_dload: s = do_dload(bcInfo.getLocalNumber()); break; case JBC_aload: s = do_aload(bcInfo.getLocalNumber()); break; case JBC_iload_0:case JBC_iload_1:case JBC_iload_2:case JBC_iload_3: s = do_iload(code - JBC_iload_0); break; case JBC_lload_0:case JBC_lload_1:case JBC_lload_2:case JBC_lload_3: s = do_lload(code - JBC_lload_0); break; case JBC_fload_0:case JBC_fload_1:case JBC_fload_2:case JBC_fload_3: s = do_fload(code - JBC_fload_0); break; case JBC_dload_0:case JBC_dload_1:case JBC_dload_2:case JBC_dload_3: s = do_dload(code - JBC_dload_0); break; case JBC_aload_0:case JBC_aload_1:case JBC_aload_2:case JBC_aload_3: s = do_aload(code - JBC_aload_0); break; case JBC_iaload: { OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; if (VM.VerifyAssertions) assertIsType(ref, OPT_ClassLoaderProxy.IntArrayType); s = _aloadHelper(INT_ALOAD, ref, index, VM_Type.IntType); } break; case JBC_laload: { OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; if (VM.VerifyAssertions) assertIsType(ref, OPT_ClassLoaderProxy.LongArrayType); s = _aloadHelper(LONG_ALOAD, ref, index, VM_Type.LongType); } break; case JBC_faload: { OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; if (VM.VerifyAssertions) assertIsType(ref, OPT_ClassLoaderProxy.FloatArrayType); s = _aloadHelper(FLOAT_ALOAD, ref, index, VM_Type.FloatType); } break; case JBC_daload: { OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; if (VM.VerifyAssertions) assertIsType(ref, OPT_ClassLoaderProxy.DoubleArrayType); s = _aloadHelper(DOUBLE_ALOAD, ref, index, VM_Type.DoubleType); } break; case JBC_aaload: { OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; VM_Type type = getRefTypeOf(ref).asArray().getElementType(); if (VM.VerifyAssertions) VM.assert(type.isReferenceType()); s = _aloadHelper(REF_ALOAD, ref, index, type); } break; case JBC_baload: { OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; VM_Type type = getArrayTypeOf(ref); if (VM.VerifyAssertions) { VM.assert(type == OPT_ClassLoaderProxy.ByteArrayType || type == OPT_ClassLoaderProxy.BooleanArrayType); } if (type == OPT_ClassLoaderProxy.ByteArrayType) s = _aloadHelper(BYTE_ALOAD, ref, index, VM_Type.ByteType); else s = _aloadHelper(UBYTE_ALOAD, ref, index, VM_Type.BooleanType); } break; case JBC_caload: { OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; if (VM.VerifyAssertions) assertIsType(ref, OPT_ClassLoaderProxy.CharArrayType); s = _aloadHelper(USHORT_ALOAD, ref, index, VM_Type.CharType); } break; case JBC_saload: { OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; if (VM.VerifyAssertions) assertIsType(ref, OPT_ClassLoaderProxy.ShortArrayType); s = _aloadHelper(SHORT_ALOAD, ref, index, VM_Type.ShortType); } break; case JBC_istore: s = do_store(bcInfo.getLocalNumber(), popInt()); break; case JBC_lstore: s = do_store(bcInfo.getLocalNumber(), popLong()); break; case JBC_fstore: s = do_store(bcInfo.getLocalNumber(), popFloat()); break; case JBC_dstore: s = do_store(bcInfo.getLocalNumber(), popDouble()); break; case JBC_astore: s = do_astore(bcInfo.getLocalNumber()); break; case JBC_istore_0:case JBC_istore_1:case JBC_istore_2:case JBC_istore_3: s = do_store(code - JBC_istore_0, popInt()); break; case JBC_lstore_0:case JBC_lstore_1:case JBC_lstore_2:case JBC_lstore_3: s = do_store(code - JBC_lstore_0, popLong()); break; case JBC_fstore_0:case JBC_fstore_1:case JBC_fstore_2:case JBC_fstore_3: s = do_store(code - JBC_fstore_0, popFloat()); break; case JBC_dstore_0:case JBC_dstore_1:case JBC_dstore_2:case JBC_dstore_3: s = do_store(code - JBC_dstore_0, popDouble()); break; case JBC_astore_0:case JBC_astore_1:case JBC_astore_2:case JBC_astore_3: s = do_astore(code - JBC_astore_0); break; case JBC_iastore: { OPT_Operand val = popInt(); OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; if (VM.VerifyAssertions) assertIsType(ref, OPT_ClassLoaderProxy.IntArrayType); s = AStore.create(INT_ASTORE, val, ref, index, new OPT_LocationOperand(VM_Type.IntType), getCurrentGuard()); } break; case JBC_lastore: { OPT_Operand val = popLong(); OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; if (VM.VerifyAssertions) assertIsType(ref, OPT_ClassLoaderProxy.LongArrayType); s = AStore.create(LONG_ASTORE, val, ref, index, new OPT_LocationOperand(VM_Type.LongType), getCurrentGuard()); } break; case JBC_fastore: { OPT_Operand val = popFloat(); OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; if (VM.VerifyAssertions) assertIsType(ref, OPT_ClassLoaderProxy.FloatArrayType); s = AStore.create(FLOAT_ASTORE, val, ref, index, new OPT_LocationOperand(VM_Type.FloatType), getCurrentGuard()); } break; case JBC_dastore: { OPT_Operand val = popDouble(); OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; if (VM.VerifyAssertions) assertIsType(ref, OPT_ClassLoaderProxy.DoubleArrayType); s = AStore.create(DOUBLE_ASTORE, val, ref, index, new OPT_LocationOperand(VM_Type.DoubleType), getCurrentGuard()); } break; case JBC_aastore: { OPT_Operand val = pop(); OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; VM_Type type = getRefTypeOf(ref).asArray().getElementType(); if (VM.VerifyAssertions) VM.assert(type.isReferenceType()); if (do_CheckStore(ref, val, type)) break; s = AStore.create(REF_ASTORE, val, ref, index, new OPT_LocationOperand(type), getCurrentGuard()); } break; case JBC_bastore: { OPT_Operand val = popInt(); OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; VM_Type type = getArrayTypeOf(ref); if (VM.VerifyAssertions) { VM.assert(type == OPT_ClassLoaderProxy.ByteArrayType || type == OPT_ClassLoaderProxy.BooleanArrayType); } if (type == OPT_ClassLoaderProxy.ByteArrayType) type = VM_Type.ByteType; else type = VM_Type.BooleanType; s = AStore.create(BYTE_ASTORE, val, ref, index, new OPT_LocationOperand(type), getCurrentGuard()); } break; case JBC_castore: { OPT_Operand val = popInt(); OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; if (VM.VerifyAssertions) assertIsType(ref, OPT_ClassLoaderProxy.CharArrayType); s = AStore.create(SHORT_ASTORE, val, ref, index, new OPT_LocationOperand(VM_Type.CharType), getCurrentGuard()); } break; case JBC_sastore: { OPT_Operand val = popInt(); OPT_Operand index = popInt(); OPT_Operand ref = pop(); clearCurrentGuard(); if (do_NullCheck(ref) || do_BoundsCheck(ref, index)) break; if (VM.VerifyAssertions) assertIsType(ref, OPT_ClassLoaderProxy.ShortArrayType); s = AStore.create(SHORT_ASTORE, val, ref, index, new OPT_LocationOperand(VM_Type.ShortType), getCurrentGuard()); } break; case JBC_pop: stack.pop(); break; case JBC_pop2: stack.pop2(); break; case JBC_dup: { OPT_Operand op1 = stack.pop(); stack.push(op1); s = pushCopy(op1); } break; case JBC_dup_x1: { OPT_Operand op1 = stack.pop(); OPT_Operand op2 = stack.pop(); stack.push(op1); stack.push(op2); s = pushCopy(op1); } break; case JBC_dup_x2: { OPT_Operand op1 = stack.pop(); OPT_Operand op2 = stack.pop(); OPT_Operand op3 = stack.pop(); stack.push(op1); stack.push(op3); stack.push(op2); s = pushCopy(op1); } break; case JBC_dup2: { OPT_Operand op1 = stack.pop(); OPT_Operand op2 = stack.pop(); stack.push(op2); stack.push(op1); s = pushCopy(op2); if (s != null) { appendInstruction(s); s = null; } s = pushCopy(op1); } break; case JBC_dup2_x1: { OPT_Operand op1 = stack.pop(); OPT_Operand op2 = stack.pop(); OPT_Operand op3 = stack.pop(); stack.push(op2); stack.push(op1); stack.push(op3); s = pushCopy(op2); if (s != null) { appendInstruction(s); s = null; } s = pushCopy(op1); } break; case JBC_dup2_x2: { OPT_Operand op1 = stack.pop(); OPT_Operand op2 = stack.pop(); OPT_Operand op3 = stack.pop(); OPT_Operand op4 = stack.pop(); stack.push(op2); stack.push(op1); stack.push(op4); stack.push(op3); s = pushCopy(op2); if (s != null) { appendInstruction(s); s = null; } s = pushCopy(op1); } break; case JBC_swap: { OPT_Operand op1 = stack.pop(); OPT_Operand op2 = stack.pop(); stack.push(op1); stack.push(op2); } break; case JBC_iadd: { OPT_Operand op2 = popInt(); OPT_Operand op1 = popInt(); s = _binaryHelper(INT_ADD, op1, op2, VM_Type.IntType); } break; case JBC_ladd: { OPT_Operand op2 = popLong(); OPT_Operand op1 = popLong(); s = _binaryDualHelper(LONG_ADD, op1, op2, VM_Type.LongType); } break; case JBC_fadd: { OPT_Operand op2 = popFloat(); OPT_Operand op1 = popFloat(); s = _binaryHelper(FLOAT_ADD, op1, op2, VM_Type.FloatType); } break; case JBC_dadd: { OPT_Operand op2 = popDouble(); OPT_Operand op1 = popDouble(); s = _binaryDualHelper(DOUBLE_ADD, op1, op2, VM_Type.DoubleType); } break; case JBC_isub: { OPT_Operand op2 = popInt(); OPT_Operand op1 = popInt(); s = _binaryHelper(INT_SUB, op1, op2, VM_Type.IntType); } break; case JBC_lsub: { OPT_Operand op2 = popLong(); OPT_Operand op1 = popLong(); s = _binaryDualHelper(LONG_SUB, op1, op2, VM_Type.LongType); } break; case JBC_fsub: { OPT_Operand op2 = popFloat(); OPT_Operand op1 = popFloat(); s = _binaryHelper(FLOAT_SUB, op1, op2, VM_Type.FloatType); } break; case JBC_dsub: { OPT_Operand op2 = popDouble(); OPT_Operand op1 = popDouble(); s = _binaryDualHelper(DOUBLE_SUB, op1, op2, VM_Type.DoubleType); } break; case JBC_imul: { OPT_Operand op2 = popInt(); OPT_Operand op1 = popInt(); s = _binaryHelper(INT_MUL, op1, op2, VM_Type.IntType); } break; case JBC_lmul: { OPT_Operand op2 = popLong(); OPT_Operand op1 = popLong(); s = _binaryDualHelper(LONG_MUL, op1, op2, VM_Type.LongType); } break; case JBC_fmul: { OPT_Operand op2 = popFloat(); OPT_Operand op1 = popFloat(); s = _binaryHelper(FLOAT_MUL, op1, op2, VM_Type.FloatType); } break; case JBC_dmul: { OPT_Operand op2 = popDouble(); OPT_Operand op1 = popDouble(); s = _binaryDualHelper(DOUBLE_MUL, op1, op2, VM_Type.DoubleType); } break; case JBC_idiv: { clearCurrentGuard(); OPT_Operand op2 = popInt(); OPT_Operand op1 = popInt(); if (do_IntZeroCheck(op2)) break; s = _guardedBinaryHelper(INT_DIV, op1, op2, getCurrentGuard(), VM_Type.IntType); } break; case JBC_ldiv: { clearCurrentGuard(); OPT_Operand op2 = popLong(); OPT_Operand op1 = popLong(); if (do_LongZeroCheck(op2)) break; s = _guardedBinaryDualHelper(LONG_DIV, op1, op2, getCurrentGuard(), VM_Type.LongType); } break; case JBC_fdiv: { OPT_Operand op2 = popFloat(); OPT_Operand op1 = popFloat(); s = _binaryHelper(FLOAT_DIV, op1, op2, VM_Type.FloatType); } break; case JBC_ddiv: { OPT_Operand op2 = popDouble(); OPT_Operand op1 = popDouble(); s = _binaryDualHelper(DOUBLE_DIV, op1, op2, VM_Type.DoubleType); } break; case JBC_irem: { clearCurrentGuard(); OPT_Operand op2 = popInt(); OPT_Operand op1 = popInt(); if (do_IntZeroCheck(op2)) break; s = _guardedBinaryHelper(INT_REM, op1, op2, getCurrentGuard(), VM_Type.IntType); } break; case JBC_lrem: { clearCurrentGuard(); OPT_Operand op2 = popLong(); OPT_Operand op1 = popLong(); if (do_LongZeroCheck(op2)) break; s = _guardedBinaryDualHelper(LONG_REM, op1, op2, getCurrentGuard(), VM_Type.LongType); } break; case JBC_frem: { OPT_Operand op2 = popFloat(); OPT_Operand op1 = popFloat(); s = _binaryHelper(FLOAT_REM, op1, op2, VM_Type.FloatType); } break; case JBC_drem: { OPT_Operand op2 = popDouble(); OPT_Operand op1 = popDouble(); s = _binaryDualHelper(DOUBLE_REM, op1, op2, VM_Type.DoubleType); } break; case JBC_ineg: s = _unaryHelper(INT_NEG, popInt(), VM_Type.IntType); break; case JBC_lneg: s = _unaryDualHelper(LONG_NEG, popLong(), VM_Type.LongType); break; case JBC_fneg: s = _unaryHelper(FLOAT_NEG, popFloat(), VM_Type.FloatType); break; case JBC_dneg: s = _unaryDualHelper(DOUBLE_NEG, popDouble(), VM_Type.DoubleType); break; case JBC_ishl: { OPT_Operand op2 = popInt(); OPT_Operand op1 = popInt(); s = _binaryHelper(INT_SHL, op1, op2, VM_Type.IntType); } break; case JBC_lshl: { OPT_Operand op2 = popInt(); OPT_Operand op1 = popLong(); s = _binaryDualHelper(LONG_SHL, op1, op2, VM_Type.LongType); } break; case JBC_ishr: { OPT_Operand op2 = popInt(); OPT_Operand op1 = popInt(); s = _binaryHelper(INT_SHR, op1, op2, VM_Type.IntType); } break; case JBC_lshr: { OPT_Operand op2 = popInt(); OPT_Operand op1 = popLong(); s = _binaryDualHelper(LONG_SHR, op1, op2, VM_Type.LongType); } break; case JBC_iushr: { OPT_Operand op2 = popInt(); OPT_Operand op1 = popInt(); s = _binaryHelper(INT_USHR, op1, op2, VM_Type.IntType); } break; case JBC_lushr: { OPT_Operand op2 = popInt(); OPT_Operand op1 = popLong(); s = _binaryDualHelper(LONG_USHR, op1, op2, VM_Type.LongType); } break; case JBC_iand: { OPT_Operand op2 = popInt(); OPT_Operand op1 = popInt(); s = _binaryHelper(INT_AND, op1, op2, VM_Type.IntType); } break; case JBC_land: { OPT_Operand op2 = popLong(); OPT_Operand op1 = popLong(); s = _binaryDualHelper(LONG_AND, op1, op2, VM_Type.LongType); } break; case JBC_ior: { OPT_Operand op2 = popInt(); OPT_Operand op1 = popInt(); s = _binaryHelper(INT_OR, op1, op2, VM_Type.IntType); } break; case JBC_lor: { OPT_Operand op2 = popLong(); OPT_Operand op1 = popLong(); s = _binaryDualHelper(LONG_OR, op1, op2, VM_Type.LongType); } break; case JBC_ixor: { OPT_Operand op2 = popInt(); OPT_Operand op1 = popInt(); s = _binaryHelper(INT_XOR, op1, op2, VM_Type.IntType); } break; case JBC_lxor: { OPT_Operand op2 = popLong(); OPT_Operand op1 = popLong(); s = _binaryDualHelper(LONG_XOR, op1, op2, VM_Type.LongType); } break; case JBC_iinc: { int index = bcInfo.getLocalNumber(); s = do_iinc(index, bcInfo.getByteValue()); } break; case JBC_i2l: s = _unaryDualHelper(INT_2LONG, popInt(), VM_Type.LongType); break; case JBC_i2f: s = _unaryHelper(INT_2FLOAT, popInt(), VM_Type.FloatType); break; case JBC_i2d: s = _unaryDualHelper(INT_2DOUBLE, popInt(), VM_Type.DoubleType); break; case JBC_l2i: s = _unaryHelper(LONG_2INT, popLong(), VM_Type.IntType); break; case JBC_l2f: s = _unaryHelper(LONG_2FLOAT, popLong(), VM_Type.FloatType); break; case JBC_l2d: s = _unaryDualHelper(LONG_2DOUBLE, popLong(), VM_Type.DoubleType); break; case JBC_f2i: s = _unaryHelper(FLOAT_2INT, popFloat(), VM_Type.IntType); break; case JBC_f2l: s = _unaryDualHelper(FLOAT_2LONG, popFloat(), VM_Type.LongType); break; case JBC_f2d: s = _unaryDualHelper(FLOAT_2DOUBLE, popFloat(), VM_Type.DoubleType); break; case JBC_d2i: s = _unaryHelper(DOUBLE_2INT, popDouble(), VM_Type.IntType); break; case JBC_d2l: s = _unaryDualHelper(DOUBLE_2LONG, popDouble(), VM_Type.LongType); break; case JBC_d2f: s = _unaryHelper(DOUBLE_2FLOAT, popDouble(), VM_Type.FloatType); break; case JBC_int2byte: s = _unaryHelper(INT_2BYTE, popInt(), VM_Type.ByteType); break; case JBC_int2char: s = _unaryHelper(INT_2USHORT, popInt(), VM_Type.CharType); break; case JBC_int2short: s = _unaryHelper(INT_2SHORT, popInt(), VM_Type.ShortType); break; case JBC_lcmp: { OPT_Operand op2 = popLong(); OPT_Operand op1 = popLong(); s = _binaryHelper(LONG_CMP, op1, op2, VM_Type.IntType); } break; case JBC_fcmpl: { OPT_Operand op2 = popFloat(); OPT_Operand op1 = popFloat(); s = _binaryHelper(FLOAT_CMPL, op1, op2, VM_Type.IntType); } break; case JBC_fcmpg: { OPT_Operand op2 = popFloat(); OPT_Operand op1 = popFloat(); s = _binaryHelper(FLOAT_CMPG, op1, op2, VM_Type.IntType); } break; case JBC_dcmpl: { OPT_Operand op2 = popDouble(); OPT_Operand op1 = popDouble(); s = _binaryHelper(DOUBLE_CMPL, op1, op2, VM_Type.IntType); } break; case JBC_dcmpg: { OPT_Operand op2 = popDouble(); OPT_Operand op1 = popDouble(); s = _binaryHelper(DOUBLE_CMPG, op1, op2, VM_Type.IntType); } break; case JBC_ifeq: s = _intIfHelper(OPT_ConditionOperand.EQUAL()); break; case JBC_ifne: s = _intIfHelper(OPT_ConditionOperand.NOT_EQUAL()); break; case JBC_iflt: s = _intIfHelper(OPT_ConditionOperand.LESS()); break; case JBC_ifge: s = _intIfHelper(OPT_ConditionOperand.GREATER_EQUAL()); break; case JBC_ifgt: s = _intIfHelper(OPT_ConditionOperand.GREATER()); break; case JBC_ifle: s = _intIfHelper(OPT_ConditionOperand.LESS_EQUAL()); break; case JBC_if_icmpeq: s = _intIfCmpHelper(OPT_ConditionOperand.EQUAL()); break; case JBC_if_icmpne: s = _intIfCmpHelper(OPT_ConditionOperand.NOT_EQUAL()); break; case JBC_if_icmplt: s = _intIfCmpHelper(OPT_ConditionOperand.LESS()); break; case JBC_if_icmpge: s = _intIfCmpHelper(OPT_ConditionOperand.GREATER_EQUAL()); break; case JBC_if_icmpgt: s = _intIfCmpHelper(OPT_ConditionOperand.GREATER()); break; case JBC_if_icmple: s = _intIfCmpHelper(OPT_ConditionOperand.LESS_EQUAL()); break; case JBC_if_acmpeq: s = _refIfCmpHelper(OPT_ConditionOperand.EQUAL()); break; case JBC_if_acmpne: s = _refIfCmpHelper(OPT_ConditionOperand.NOT_EQUAL()); break; case JBC_goto: { int offset = bcInfo.getBranchTarget(); if (offset != 3) // skip generating frivolous goto's s = _gotoHelper(offset); } break; case JBC_jsr: s = _jsrHelper(bcInfo.getBranchTarget()); break; case JBC_ret: s = _retHelper(bcInfo.getLocalNumber()); break; case JBC_tableswitch: { OPT_Operand op0 = popInt(); bcInfo.alignSwitch(); int defaultoff = bcInfo.getSwitchDefaultTarget(); int low = bcInfo.getSwitchLowValue(); int high = bcInfo.getSwitchHighValue(); int number = high - low + 1; if (CF_TABLESWITCH && op0 instanceof OPT_IntConstantOperand) { int v1 = ((OPT_IntConstantOperand)op0).value; int offset; if ((v1 < low) || (v1 > high)) offset = defaultoff; else offset = bcInfo.getTableSwitchOffsetForConstant(v1, low, high); bcInfo.skipTableSwitchTargets(number); if (DBG_CF) { db("changed tableswitch to goto because index (" + v1 + ") is constant"); } s = _gotoHelper(offset); break; } s = TableSwitch.create(TABLESWITCH, op0, null, null, new OPT_IntConstantOperand(low), new OPT_IntConstantOperand(high), generateTarget(defaultoff), new OPT_BranchProfileOperand(), number*2); double approxProb = 1/(number+1); // num targets + default for (int i = 0; i < number; ++i) { TableSwitch.setTarget(s, i, generateTarget(bcInfo.getSwitchTarget(i))); TableSwitch. setBranchProfile(s, i, new OPT_BranchProfileOperand(approxProb)); } } break; case JBC_lookupswitch: { OPT_Operand op0 = popInt(); bcInfo.alignSwitch(); int defaultoff = bcInfo.getSwitchDefaultTarget(); int numpairs = bcInfo.getLookupSwitchNumberOfPairs(); if (numpairs == 0) { s = _gotoHelper(defaultoff); break; } if (CF_LOOKUPSWITCH && op0 instanceof OPT_IntConstantOperand) { int v1 = ((OPT_IntConstantOperand)op0).value; int offset = defaultoff; for (int i = 0; i < numpairs; ++i) { int match = bcInfo.getSwitchValue(i); if (match == v1) { offset = bcInfo.getSwitchTarget(i); bcInfo.skipLookupSwitchPairs(numpairs, i + 1); break; // for } else { bcInfo.skipSwitchValue(i); } } if (DBG_CF) { db("changed lookupswitch to goto because index (" + v1 + ") is constant"); } s = _gotoHelper(offset); break; } s = LookupSwitch.create(LOOKUPSWITCH, op0, null, null, generateTarget(defaultoff), new OPT_BranchProfileOperand(),numpairs*3); double approxProb = 1/(numpairs+1); // num targets + default for (int i = 0; i < numpairs; ++i) { LookupSwitch.setMatch(s, i, new OPT_IntConstantOperand (bcInfo.getSwitchValue(i))); LookupSwitch.setTarget(s, i, generateTarget(bcInfo.getSwitchTarget(i))); LookupSwitch. setBranchProfile(s, i, new OPT_BranchProfileOperand(approxProb)); } } break; case JBC_ireturn: _returnHelper(INT_MOVE, popInt()); break; case JBC_lreturn: _returnHelper(LONG_MOVE, popLong()); break; case JBC_freturn: _returnHelper(FLOAT_MOVE, popFloat()); break; case JBC_dreturn: _returnHelper(DOUBLE_MOVE, popDouble()); break; case JBC_areturn: { OPT_Operand op0 = popRef(); if (VM.VerifyAssertions && !op0.isDefinitelyNull()) { VM_Type retType = getRefTypeOf(op0); // fudge to deal with conservative approximation // in OPT_ClassLoaderProxy.proxy.findCommonSuperclass if (retType != VM_Type.JavaLangObjectType) assertIsAssignable(gc.method.getReturnType(), getRefTypeOf(op0)); } _returnHelper(REF_MOVE, op0); } break; case JBC_return: _returnHelper(null, null); break; case JBC_getstatic: { int constantPoolIndex = bcInfo.getFieldReferenceIndex(); VM_Field field = bcInfo.getFieldReference(constantPoolIndex); // use results of field analysis to refine type. VM_Type fieldType = field.getType(); OPT_RegisterOperand t = gc.temps.makeTemp(fieldType); if (field.getType().isClassType() && field.getType().asClass().isLoaded()) { VM_Type concreteType = OPT_FieldAnalysis.getConcreteType(field); if (concreteType != null) { t.setPreciseType(); if (concreteType == fieldType) { t.setDeclaredType(); } else { fieldType = concreteType; t.type = concreteType; } } } boolean unresolved = field.needsDynamicLink(gc.method); if (!unresolved) field = field.resolve(); OPT_Operator operator = unresolved?GETSTATIC_UNRESOLVED:GETSTATIC; s = GetStatic.create(operator, t, makeStaticFieldRef(field)); // optimization: // if the field is final and either initialized or // in the bootimage, then get the value at compile time. // TODO: applying this optimization to Floats or Doubles // causes problems. Figure out why and fix it! if (!fieldType.isDoubleType() && !fieldType.isFloatType()) { if (!unresolved && field.isFinal()) { VM_Class declaringClass = field.getDeclaringClass(); if (declaringClass.isInitialized() || (VM.writingBootImage && declaringClass.isInBootImage())) { try { if (fieldType.isPrimitiveType()) { operator = OPT_IRTools.getMoveOp(field.getType()); OPT_ConstantOperand rhs = OPT_StaticFieldReader.getStaticFieldValue(field); // VM.sysWrite("Replaced getstatic of "+field+" with "+rhs+"\n"); push (rhs, fieldType); s = null; break; } else { if (OPT_StaticFieldReader.isStaticFieldNull(field)) { // VM.sysWrite("Replaced getstatic of "+field+" with <null>\n"); push(new OPT_NullConstantOperand(), fieldType); s = null; break; } else { VM_Type rtType = OPT_StaticFieldReader.getTypeFromStaticField(field); if (rtType == VM_Type.JavaLangStringType) { OPT_ConstantOperand rhs = OPT_StaticFieldReader.getStaticFieldValue(field); // VM.sysWrite("Replaced getstatic of "+field+" with "+rhs+"\n"); push (rhs, fieldType); s = null; break; } else { t.type = rtType; if (rtType != fieldType) t.clearDeclaredType(); t.setPreciseType(); markGuardlessNonNull(t); // VM.sysWrite("Tightened type info for getstatic of "+field+" to "+t+"\n"); } } } } catch (NoSuchFieldException e) { // Sigh, host JDK java.* class didn't have this RVM field. // VM.sysWrite("Field "+field+" does not exist on host JDK\n"); } } } } push(t.copyD2U(), fieldType); if (unresolved) rectifyStateWithErrorHandler(); } break; case JBC_putstatic: { int constantPoolIndex = bcInfo.getFieldReferenceIndex(); VM_Field field = bcInfo.getFieldReference(constantPoolIndex); VM_Type fieldType = field.getType(); OPT_Operand r = pop(fieldType); boolean unresolved = field.needsDynamicLink(gc.method); if (!unresolved) field = field.resolve(); OPT_Operator operator = unresolved?PUTSTATIC_UNRESOLVED:PUTSTATIC; s = PutStatic.create(operator, r, makeStaticFieldRef(field)); if (unresolved) rectifyStateWithErrorHandler(); } break; case JBC_getfield: { OPT_Operand op1 = pop(); clearCurrentGuard(); if (do_NullCheck(op1)) break; int constantPoolIndex = bcInfo.getFieldReferenceIndex(); VM_Field field = bcInfo.getFieldReference(constantPoolIndex); VM_Type fieldType = field.getType(); OPT_RegisterOperand t = gc.temps.makeTemp(fieldType); // use results of field analysis to refine type. if (field.getType().isClassType() && field.getType().asClass().isLoaded()) { VM_Type concreteType = OPT_FieldAnalysis.getConcreteType(field); if (concreteType != null) { t.setPreciseType(); if (concreteType == fieldType) { t.setDeclaredType(); } else { fieldType = concreteType; t.type = concreteType; } } } boolean unresolved = field.needsDynamicLink(gc.method); if (!unresolved) field = field.resolve(); OPT_Operator operator = unresolved?GETFIELD_UNRESOLVED:GETFIELD; s = GetField.create(operator, t, op1, makeInstanceFieldRef(field), getCurrentGuard()); push(t.copyD2U(), fieldType); if (unresolved) rectifyStateWithErrorHandler(); } break; case JBC_putfield: { int constantPoolIndex = bcInfo.getFieldReferenceIndex(); VM_Field field = bcInfo.getFieldReference(constantPoolIndex); VM_Type fieldType = field.getType(); OPT_Operand val = pop(fieldType); OPT_Operand obj = popRef(); clearCurrentGuard(); if (do_NullCheck(obj)) break; boolean unresolved = field.needsDynamicLink(gc.method); if (!unresolved) field = field.resolve(); OPT_Operator operator = unresolved?PUTFIELD_UNRESOLVED:PUTFIELD; s = PutField.create(operator, val, obj, makeInstanceFieldRef(field), getCurrentGuard()); if (unresolved) rectifyStateWithErrorHandler(); } break; case JBC_invokevirtual: { if (gc.options.PRINT_DETAILED_INLINE_REPORT) { OPT_InlineReport.beginNewDecision(); OPT_InlineReport.setCallType(OPT_InlineReport.INVOKE_VIRTUAL); } int constantPoolIndex = bcInfo.getMethodReferenceIndex(); VM_Method meth = bcInfo.getMethodReference(constantPoolIndex); if (meth.getDeclaringClass().isAddressType()) { try { OPT_GenerateMagic.generateMagic(this, gc, meth); if (gc.options.PRINT_DETAILED_INLINE_REPORT) { OPT_InlineReport.isMagic(meth); } break; } catch (OPT_MagicNotImplementedException e) { if (gc.options.PRINT_DETAILED_INLINE_REPORT) { OPT_InlineReport.unimplementedMagic(Call.getMethod(s).method); } if (gc.options.SKIP_UNKNOWN_MAGIC) { s = _callHelper(OPT_MethodOperand.STATIC(meth, false)); // CALL must be treated as potential throw of anything rectifyStateWithExceptionHandlers(); break; } else { throw (e); } } } boolean unresolved = meth.needsDynamicLink(gc.method); if (!unresolved) meth = meth.resolve(); OPT_MethodOperand methOp = OPT_MethodOperand.VIRTUAL(meth, unresolved); s = _callHelper(methOp); if (s == null) { if (gc.options.PRINT_DETAILED_INLINE_REPORT) { OPT_InlineReport.instructionNull(); } break; } // try to reduce the number of targets. // If we succeed, we'll update meth, unresolved, // and s's method operand. OPT_Operand ref = Call.getParam(s, 0); boolean receiverClassResolved = false; boolean isExtant = false; VM_Type type = null; if (ref.isRegister()) { isExtant = ref.asRegister().isExtant(); type = ref.asRegister().type; } else if (ref.isStringConstant()) { isExtant = true; type = VM_Type.JavaLangStringType; } else if (VM.VerifyAssertions) VM.assert(false, "unexpected receiver"); receiverClassResolved = type.isResolved(); if ((meth.getDeclaringClass() != type) && type.isClassType()) { VM_Method vmeth = lookupMethod(meth, type.asClass()); if (vmeth != null && vmeth != meth) { // Update meth to be the refined vmeth meth = vmeth; unresolved = meth.needsDynamicLink(gc.method); if (!unresolved) meth = meth.resolve(); Call.setMethod(s, OPT_MethodOperand.VIRTUAL(meth, unresolved, true)); } } if (gc.options.PRINT_DETAILED_INLINE_REPORT) OPT_InlineReport.classUnresolved(unresolved, meth); // If we don't need dynamic linking code, think about inlining if (!unresolved) { // if the type is precise and receiverClassResolved is true // then we know FOR CERTAIN that this call will resolve to meth. // By ensuring that recieverClassResolved, we make sure that // lookupMethod was able to actually search the class hierarchy // and set meth appropriately. VM_Method computedTarget = null; if (receiverClassResolved && ((ref.isStringConstant()) || ref.asRegister().isPreciseType())) { computedTarget = meth; if (gc.options.PRINT_DETAILED_INLINE_REPORT) OPT_InlineReport.isPreciseType(); } OPT_InlineDecision id = shouldInline(s, computedTarget, isExtant); if (maybeInlineMethod(id, s)) { return; } } // CALL must be treated as potential throw of anything rectifyStateWithExceptionHandlers(); } break; case JBC_invokespecial: { if (gc.options.PRINT_DETAILED_INLINE_REPORT) { OPT_InlineReport.beginNewDecision(); OPT_InlineReport.setCallType(OPT_InlineReport.INVOKE_SPECIAL); } int constantPoolIndex = bcInfo.getMethodReferenceIndex(); VM_Method meth = bcInfo.getMethodReference(constantPoolIndex); // Note: this is not the usual needsDynamicLink // due to semantics of invokespecial // See comments in VM_OptLinker, OPT_Convert2Low, VM_Linker. boolean unresolved = !meth.getDeclaringClass().isResolved() || (VM_Class.findSpecialMethod(meth) == null); if (!unresolved) meth = meth.resolve(); s = _callHelper(OPT_MethodOperand.SPECIAL(meth, unresolved)); if (s == null) { if (gc.options.PRINT_DETAILED_INLINE_REPORT) { OPT_InlineReport.instructionNull(); } break; } if (gc.options.PRINT_DETAILED_INLINE_REPORT) OPT_InlineReport.classUnresolved(unresolved, meth); // If we don't need dynamic linking code, think about inlining if (!unresolved) { if (maybeInlineMethod(shouldInline(s, null, false), s)) { return; } } // CALL must be treated as potential throw of anything rectifyStateWithExceptionHandlers(); } break; case JBC_invokestatic: { if (gc.options.PRINT_DETAILED_INLINE_REPORT) { OPT_InlineReport.beginNewDecision(); OPT_InlineReport.setCallType(OPT_InlineReport.INVOKE_STATIC); } int constantPoolIndex = bcInfo.getMethodReferenceIndex(); VM_Method meth = bcInfo.getMethodReference(constantPoolIndex); if (meth.getDeclaringClass().isMagicType() || meth.getDeclaringClass().isAddressType()) { try { OPT_GenerateMagic.generateMagic(this, gc, meth); if (gc.options.PRINT_DETAILED_INLINE_REPORT) { OPT_InlineReport.isMagic(meth); } break; } catch (OPT_MagicNotImplementedException e) { if (gc.options.PRINT_DETAILED_INLINE_REPORT) { OPT_InlineReport.unimplementedMagic(Call.getMethod(s).method); } if (gc.options.SKIP_UNKNOWN_MAGIC) { s = _callHelper(OPT_MethodOperand.STATIC(meth, false)); // CALL must be treated as potential throw of anything rectifyStateWithExceptionHandlers(); break; } else { throw (e); } } } boolean unresolved = meth.needsDynamicLink(gc.method); if (!unresolved) meth = meth.resolve(); s = _callHelper(OPT_MethodOperand.STATIC(meth, unresolved)); if (gc.options.PRINT_DETAILED_INLINE_REPORT) OPT_InlineReport.classUnresolved(unresolved, meth); // If we don't need dynamic linking code, think about inlining if (!unresolved) { if (maybeInlineMethod(shouldInline(s, null, false), s)) { return; } } // CALL must be treated as potential throw of anything rectifyStateWithExceptionHandlers(); } break; case JBC_invokeinterface: { if (gc.options.PRINT_DETAILED_INLINE_REPORT) { OPT_InlineReport.beginNewDecision(); OPT_InlineReport.setCallType(OPT_InlineReport.INVOKE_INTERFACE); } int constantPoolIndex = bcInfo.getMethodReferenceIndex(); VM_Method meth = bcInfo.getMethodReference(constantPoolIndex); bcInfo.eatInvokeInterfaceGarbage(); OPT_MethodOperand methOp = OPT_MethodOperand.INTERFACE(meth, false); s = _callHelper(methOp); if (s == null) { if (gc.options.PRINT_DETAILED_INLINE_REPORT) { OPT_InlineReport.instructionNull(); } break; } OPT_RegisterOperand ref = Call.getParam(s, 0).asRegister(); VM_Class refType = ref.type.asClass(); VM_Type interfaceType = meth.getDeclaringClass(); boolean requiresImplementsTest = VM.BuildForIMTInterfaceInvocation || (VM.BuildForITableInterfaceInvocation && VM.DirectlyIndexedITables); // Step 1: handle the possibility of ghost references try { VM_Method resolvedMethodRef = meth.resolveInterfaceMethod(false); if (resolvedMethodRef == null) { if (requiresImplementsTest) { // might be a ghost reference. // Must do the more involved typechecking sequence OPT_RegisterOperand tibPtr = gc.temps.makeTemp(OPT_ClassLoaderProxy.JavaLangObjectArrayType); OPT_Instruction getTib = GuardedUnary.create(GET_OBJ_TIB, tibPtr, ref.copyU2U(), getCurrentGuard()); appendInstruction(getTib); getTib.bcIndex = RUNTIME_SERVICES_BCI; OPT_MethodOperand dtcRoutine = OPT_MethodOperand.STATIC(VM_Entrypoints.unresolvedInvokeinterfaceImplementsTestMethod); OPT_Instruction callCheck = Call.create2(CALL, null, null, dtcRoutine, new OPT_IntConstantOperand(meth.getDictionaryId()), tibPtr.copyD2U()); if (gc.options.NO_CALLEE_EXCEPTIONS) { callCheck.markAsNonPEI(); } appendInstruction(callCheck); callCheck.bcIndex = RUNTIME_SERVICES_BCI; requiresImplementsTest = false; // the above call subsumes the test } } else { meth = resolvedMethodRef; } } catch (VM_ResolutionException e) { // actually can't be thrown when we pass false for canLoad. } // Step 2: Invokeinterface requires a dynamic type check // to ensure that the receiver object actually // implements the interface. This is necessary // because the verifier does not detect incompatible class changes. // If we're building for FastInterfaceInvocation then // this test must be made explicit in the calling sequence. // In the slow interface invocation path, it is handled // deep in the guts of the dispatching code. // NOTE: We don't insert the test here if we are doing to // do a guarded inline of an interface call. That case // is handled within OPT_Inliner.java. However, if // we virtualize the call, we do need to handle the DTC // here, since OPT_Inliner won't have enough information // to determine what the right thing to do is. if (requiresImplementsTest) { // Attempt to avoid inserting the check by seeing if the // known static type of the receiver implements the interface. if (refType.isResolved() && !refType.isInterface()) { byte doesImplement = OPT_ClassLoaderProxy.proxy.includesType(interfaceType, refType); requiresImplementsTest = doesImplement != YES; } } // Step 3: Attempt to resolve the interface call to // a particular virtual method. // Note: step 2 and step 3 are independent // and it is not that case that being able // to do 2 implies 3 or that doing 3 implies 2. VM_Method vmeth; if (refType.isResolved() && !refType.isInterface() && (vmeth = lookupMethod(meth, refType)) != null) { // We're going to virtualize it. Must deal with the DTC here. if (requiresImplementsTest) { appendInstruction(TypeCheck.create(MUST_IMPLEMENT_INTERFACE, ref.copyU2U(), makeTypeOperand(interfaceType), getCurrentGuard())); } boolean unresolved = vmeth.needsDynamicLink(gc.method); if (!unresolved) vmeth = vmeth.resolve(); Call.setMethod(s, OPT_MethodOperand.VIRTUAL(vmeth, unresolved, true)); if (gc.options.PRINT_DETAILED_INLINE_REPORT) OPT_InlineReport.classUnresolved(unresolved, meth); // Think about trying to inline it if (!unresolved) { // if the type is precise, then we know FOR CERTAIN that // this call will resolve to meth VM_Method computedTarget = ref.isPreciseType() ? vmeth : null; if (computedTarget != null && gc.options.PRINT_DETAILED_INLINE_REPORT) OPT_InlineReport.isPreciseType(); OPT_InlineDecision id = shouldInline(s, computedTarget, ref.isExtant()); if (maybeInlineMethod(id, s)) { return; } } } else { // try to inline a predicted target for the interface invocation OPT_InlineDecision id = shouldInline(s, null, false); if (maybeInlineMethod(id, s)) { return; } else { if (requiresImplementsTest) { appendInstruction(TypeCheck.create(MUST_IMPLEMENT_INTERFACE, ref.copyU2U(), makeTypeOperand(interfaceType), getCurrentGuard())); } } } // CALL must be treated as potential throw of anything rectifyStateWithExceptionHandlers(); } break; case JBC_xxxunusedxxx: OPT_OptimizingCompilerException.UNREACHABLE(); break; case JBC_new: { int constantPoolIndex = bcInfo.getTypeReferenceIndex(); VM_Type klass = bcInfo.getTypeReference(constantPoolIndex); OPT_TypeOperand klassOp = makeTypeOperand(klass); OPT_RegisterOperand t = gc.temps.makeTemp(klass); t.setPreciseType(); markGuardlessNonNull(t); OPT_Operator operator; if (klass.isInitialized() || klass.asClass().isInBootImage()) { operator = NEW; } else { operator = NEW_UNRESOLVED; } s = New.create(operator, t, klassOp); push(t.copyD2U()); rectifyStateWithErrorHandler(); } break; case JBC_newarray: { byte atype = (byte)bcInfo.getByteValue(); VM_Array array = VM_Array.getPrimitiveArrayType(atype); OPT_TypeOperand arrayOp = makeTypeOperand(array); OPT_RegisterOperand t = gc.temps.makeTemp(array); t.setPreciseType(); markGuardlessNonNull(t); s = NewArray.create(NEWARRAY, t, arrayOp, popInt()); push(t.copyD2U()); VM_Class et = OPT_ClassLoaderProxy.JavaLangNegativeArraySizeExceptionType; rectifyStateWithExceptionHandler(et); } break; case JBC_anewarray: { int constantPoolIndex = bcInfo.getTypeReferenceIndex(); VM_Type elementTypeRef = bcInfo.getTypeReference(constantPoolIndex); VM_Array array = elementTypeRef.getArrayTypeForElementType(); OPT_TypeOperand arrayOp = makeTypeOperand(array); OPT_RegisterOperand t = gc.temps.makeTemp(array); t.setPreciseType(); markGuardlessNonNull(t); s = NewArray.create(NEWARRAY, t, arrayOp, popInt()); push(t.copyD2U()); rectifyStateWithErrorHandler(); VM_Class et = OPT_ClassLoaderProxy.JavaLangNegativeArraySizeExceptionType; rectifyStateWithExceptionHandler(et); } break; case JBC_arraylength: { OPT_Operand op1 = pop(); clearCurrentGuard(); if (do_NullCheck(op1)) break; if (VM.VerifyAssertions) VM.assert(getArrayTypeOf(op1).isArrayType()); OPT_RegisterOperand t = gc.temps.makeTempInt(); s = GuardedUnary.create(ARRAYLENGTH, t, op1, getCurrentGuard()); push(t.copyD2U()); } break; case JBC_athrow: { OPT_Operand op0 = pop(); clearCurrentGuard(); if (do_NullCheck(op0)) break; VM_Type type = getRefTypeOf(op0); if (VM.VerifyAssertions) { // fudge to handle conservative approximation of // OPT_ClassLoaderProxy.proxy.findCommonSuperclass if (type != VM_Type.JavaLangObjectType) assertIsAssignable(VM_Type.JavaLangThrowableType, type); } if (!gc.method.getDeclaringClass().isInterruptible()) { // prevent code motion in or out of uninterruptible code sequence appendInstruction(Empty.create(UNINT_END)); } endOfBasicBlock = true; OPT_BasicBlock definiteTarget = rectifyStateWithExceptionHandler(type, true); if (definiteTarget != null) { appendInstruction(CacheOp.create(SET_CAUGHT_EXCEPTION, op0)); s = Goto.create(GOTO, definiteTarget.makeJumpTarget()); } else { s = Athrow.create(ATHROW, (OPT_RegisterOperand)op0); } } break; case JBC_checkcast: { int constantPoolIndex = bcInfo.getTypeReferenceIndex(); VM_Type typeRef = bcInfo.getTypeReference(constantPoolIndex); boolean classLoading = couldCauseClassLoading(typeRef); OPT_TypeOperand typeOp = makeTypeOperand(typeRef); OPT_Operand op2 = pop(); if (VM.VerifyAssertions) VM.assert(op2.isRef()); if (CF_CHECKCAST && !classLoading) { if (op2.isDefinitelyNull()) { push(op2); if (DBG_CF) db("skipped gen of null checkcast"); break; } VM_Type type = getRefTypeOf(op2); // non-null, null case above if (OPT_ClassLoaderProxy.proxy.includesType(typeRef,type)==YES){ push(op2); if (DBG_CF) db("skipped gen of checkcast of " + op2 + " from " + typeRef + " to " + type); break; } } OPT_RegisterOperand reg = (OPT_RegisterOperand)op2; if (gc.options.NO_CHECKCAST) { // Unsafely eliminate all checkcasts } else { if (classLoading) { s = TypeCheck.create(CHECKCAST_UNRESOLVED, reg, typeOp); } else { if (isNonNull(reg)) { s = TypeCheck.create(CHECKCAST_NOTNULL, reg, typeOp, getGuard(reg)); } else { s = TypeCheck.create(CHECKCAST, reg, typeOp); } } } reg = reg.copyU2U(); reg.type = typeRef; push(reg); VM_Class et = OPT_ClassLoaderProxy.JavaLangClassCastExceptionType; rectifyStateWithExceptionHandler(et); if (classLoading) rectifyStateWithErrorHandler(); } break; case JBC_instanceof: { int constantPoolIndex = bcInfo.getTypeReferenceIndex(); VM_Type typeRef = bcInfo.getTypeReference(constantPoolIndex); boolean classLoading = couldCauseClassLoading(typeRef); OPT_TypeOperand typeOp = makeTypeOperand(typeRef); OPT_Operand op2 = pop(); if (VM.VerifyAssertions) VM.assert(op2.isRef()); if (CF_INSTANCEOF && !classLoading) { if (op2.isDefinitelyNull()) { push(new OPT_IntConstantOperand(0)); if (DBG_CF) db("skipped gen of null instanceof"); break; } VM_Type type = getRefTypeOf(op2); // non-null int answer = OPT_ClassLoaderProxy.proxy.includesType(typeRef, type); if (answer == YES) { if (isNonNull(op2)) { push(new OPT_IntConstantOperand(1)); if (DBG_CF) db("skipped gen of instanceof of " + op2 + " from " + typeRef + " to " + type); break; } else { // !!TODO: For boolean variables, is any non-zero integer // equivalent to true? If so, in this case, we can replace // t <- o2 instanceof type with t <- o2. (SJF) } } else if (answer == NO) { push(new OPT_IntConstantOperand(0)); break; } } OPT_RegisterOperand t = gc.temps.makeTempInt(); if (classLoading) { s = InstanceOf.create(INSTANCEOF_UNRESOLVED, t, typeOp, op2); } else { if (isNonNull(op2)) { s = InstanceOf.create(INSTANCEOF_NOTNULL, t, typeOp, op2, getGuard(op2)); } else { s = InstanceOf.create(INSTANCEOF, t, typeOp, op2); } } push(t.copyD2U()); if (classLoading) rectifyStateWithErrorHandler(); }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/b50ef93406b2ef984f8285babf993d262ec89fae/OPT_BC2IR.java/clean/rvm/src/vm/compilers/optimizing/ir/conversions/bc2hir/OPT_BC2IR.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
2103,
1265,
12,
474,
15065,
13,
288,
565,
309,
261,
2290,
43,
67,
9676,
747,
2383,
43,
67,
4803,
2056,
13,
288,
1377,
1319,
2932,
3441,
1776,
981,
1368,
315,
397,
783,
9676,
900,
397,
315,
598,
1086,
3674,
315,
397,
1086,
3674,
1769,
565,
289,
565,
783,
9676,
900,
18,
542,
7823,
5621,
565,
20706,
8252,
1768,
273,
4159,
14287,
273,
629,
31,
565,
1142,
382,
701,
273,
446,
31,
565,
6533,
966,
18,
542,
11983,
12,
2080,
1016,
1769,
565,
1323,
261,
3767,
13,
288,
1377,
368,
6753,
3455,
783,
9676,
900,
18,
8766,
731,
17,
869,
17,
712,
316,
648,
732,
775,
358,
11833,
1368,
4202,
368,
326,
7689,
434,
326,
1203,
732,
4565,
4551,
12516,
18,
225,
9587,
1283,
9702,
4202,
368,
3551,
3647,
3930,
8252,
1768,
353,
638,
3302,
1404,
4237,
584,
358,
1044,
333,
648,
18,
1377,
783,
9676,
900,
18,
8766,
273,
16170,
1016,
273,
6533,
966,
18,
13459,
1016,
31,
1377,
509,
981,
273,
6533,
966,
18,
588,
2134,
11983,
5621,
1377,
309,
261,
2290,
43,
67,
16283,
21045,
13,
288,
3639,
1319,
2932,
24979,
315,
397,
16170,
1016,
397,
315,
294,
374,
92,
6,
397,
2144,
18,
869,
14866,
12,
710,
10019,
1377,
289,
1377,
16456,
67,
11983,
272,
273,
446,
31,
1377,
1620,
261,
710,
13,
288,
1377,
648,
804,
16283,
67,
82,
556,
30,
202,
8820,
31,
1377,
648,
804,
16283,
67,
69,
10248,
67,
2011,
30,
202,
6206,
12,
2704,
16456,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
2103,
1265,
12,
474,
15065,
13,
288,
565,
309,
261,
2290,
43,
67,
9676,
747,
2383,
43,
67,
4803,
2056,
13,
288,
1377,
1319,
2932,
3441,
1776,
981,
1368,
315,
397,
783,
9676,
900,
397,
315,
598,
1086,
3674,
315,
397,
1086,
3674,
1769,
565,
289,
565,
783,
9676,
900,
18,
542,
7823,
5621,
565,
20706,
8252,
1768,
273,
4159,
14287,
273,
629,
31,
565,
1142,
382,
701,
273,
446,
31,
565,
6533,
966,
18,
542,
11983,
12,
2080,
1016,
1769,
565,
1323,
261,
3767,
13,
288,
1377,
368,
6753,
3455,
783,
9676,
900,
18,
8766,
731,
17,
869,
17,
712,
316,
648,
732,
775,
358,
11833,
1368,
4202,
368,
326,
7689,
434,
326,
1203,
732,
2
] |
ResolvedModuleRevision rmr = findModuleInCache(data, mrid); if (rmr != null) { if (rmr.getDescriptor().isDefault() && rmr.getResolver() != this && isResolved(data, mrid)) { Message.verbose("\t"+getName()+": found revision in cache: "+mrid+" (resolved by "+rmr.getResolver().getName()+"): but it's a default one, maybe we can find a better one");
|
cachedRmr = findModuleInCache(data, mrid); checkedCache = true; if (cachedRmr != null) { if (cachedRmr.getDescriptor().isDefault() && cachedRmr.getResolver() != this) { Message.verbose("\t"+getName()+": found revision in cache: "+mrid+" (resolved by "+cachedRmr.getResolver().getName()+"): but it's a default one, maybe we can find a better one");
|
public ResolvedModuleRevision getDependency(DependencyDescriptor dd, ResolveData data) throws ParseException { DependencyDescriptor systemDd = dd; dd = fromSystem(dd); clearIvyAttempts(); boolean downloaded = false; boolean searched = false; Date cachedPublicationDate = null; ModuleRevisionId mrid = dd.getDependencyRevisionId(); // check revision int index = mrid.getRevision().indexOf("@"); if (index != -1 && !mrid.getRevision().substring(index+1).equals(_workspaceName)) { Message.verbose("\t"+getName()+": unhandled revision => "+mrid.getRevision()); return null; } if (!mrid.isExactRevision() && !acceptLatest()) { Message.error("latest revisions not handled by "+getClass().getName()+". impossible to resolve "+mrid); return null; } boolean isChangingRevision = getChangingMatcher().matches(mrid.getRevision()); boolean isChangingDependency = isChangingRevision || dd.isChanging(); // if we do not have to check modified and if the revision is exact and not changing, // we first search for it in cache if (mrid.isExactRevision() && !isCheckmodified() && !isChangingDependency) { ResolvedModuleRevision rmr = findModuleInCache(data, mrid); if (rmr != null) { if (rmr.getDescriptor().isDefault() && rmr.getResolver() != this && isResolved(data, mrid)) { Message.verbose("\t"+getName()+": found revision in cache: "+mrid+" (resolved by "+rmr.getResolver().getName()+"): but it's a default one, maybe we can find a better one"); } else { Message.verbose("\t"+getName()+": revision in cache: "+mrid); return toSystem(rmr); } } } URL cachedIvyURL = null; ResolvedResource ivyRef = findIvyFileRef(dd, data); searched = true; // get module descriptor ModuleDescriptorParser parser; ModuleDescriptor md; ModuleDescriptor systemMd = null; if (ivyRef == null) { parser = XmlModuleDescriptorParser.getInstance(); md = DefaultModuleDescriptor.newDefaultInstance(mrid, dd.getAllDependencyArtifactsIncludes()); ResolvedResource artifactRef = findFirstArtifactRef(md, dd, data); if (artifactRef == null) { Message.verbose("\t"+getName()+": no ivy file nor artifact found for "+mrid); logIvyNotFound(mrid); String[] conf = md.getConfigurationsNames(); for (int i = 0; i < conf.length; i++) { Artifact[] artifacts = md.getArtifacts(conf[i]); for (int j = 0; j < artifacts.length; j++) { logArtifactNotFound(artifacts[j]); } } return null; } else { Message.verbose("\t"+getName()+": no ivy file found for "+mrid+": using default data"); logIvyNotFound(mrid); if (!mrid.isExactRevision()) { md.setResolvedModuleRevisionId(new ModuleRevisionId(mrid.getModuleId(), artifactRef.getRevision())); } } } else { parser = ModuleDescriptorParserRegistry.getInstance().getParser(ivyRef.getResource()); if (parser == null) { Message.warn("no module descriptor parser available for "+ivyRef.getResource()); return null; } Message.verbose("\t"+getName()+": found md file for "+mrid); Message.verbose("\t\t=> "+ivyRef); Message.debug("\tparser = "+parser); ModuleRevisionId resolvedMrid = mrid; // first check if this dependency has not yet been resolved if (!mrid.isExactRevision() && ModuleRevisionId.isExactRevision(ivyRef.getRevision())) { resolvedMrid = new ModuleRevisionId(mrid.getModuleId(), ivyRef.getRevision()); IvyNode node = getSystemNode(data, resolvedMrid); if (node != null && node.getModuleRevision() != null) { // this revision has already be resolved : return it if (node.getDescriptor() != null && node.getDescriptor().isDefault()) { Message.verbose("\t"+getName()+": found already resolved revision: "+resolvedMrid+": but it's a default one, maybe we can find a better one"); } else { Message.verbose("\t"+getName()+": revision already resolved: "+resolvedMrid); return toSystem(searchedRmr(node.getModuleRevision())); } } } // now let's see if we can find it in cache and if it is up to date ResolvedModuleRevision rmr = findModuleInCache(data, resolvedMrid); if (rmr != null) { if (rmr.getDescriptor().isDefault() && rmr.getResolver() != this && isResolved(data, resolvedMrid)) { Message.verbose("\t"+getName()+": found revision in cache: "+mrid+" (resolved by "+rmr.getResolver().getName()+"): but it's a default one, maybe we can find a better one"); } else { if (!isCheckmodified() && !isChangingDependency) { Message.verbose("\t"+getName()+": revision in cache: "+mrid); return toSystem(searchedRmr(rmr)); } long repLastModified = ivyRef.getLastModified(); long cacheLastModified = rmr.getDescriptor().getLastModified(); if (!rmr.getDescriptor().isDefault() && repLastModified <= cacheLastModified) { Message.verbose("\t"+getName()+": revision in cache (not updated): "+resolvedMrid); return toSystem(searchedRmr(rmr)); } else { Message.verbose("\t"+getName()+": revision in cache is not up to date: "+resolvedMrid); if (isChangingDependency) { // ivy file has been updated, we should see if it has a new publication date // to see if a new download is required (in case the dependency is a changing one) cachedPublicationDate = rmr.getDescriptor().getResolvedPublicationDate(); } } } } // now download ivy file and parse it try { // first check if source file is not cache file itself if (ResourceHelper.equals(ivyRef.getResource(), data.getIvy().getIvyFileInCache(data.getCache(), toSystem(resolvedMrid)))) { Message.error("invalid configuration for resolver '"+getName()+"': pointing ivy files to ivy cache is forbidden !"); return null; } // temp file is used to prevent downloading twice File ivyTempFile = File.createTempFile("ivy", "xml"); ivyTempFile.deleteOnExit(); Message.debug("\t"+getName()+": downloading "+ivyRef.getResource()); get(ivyRef.getResource(), ivyTempFile); downloaded = true; try { cachedIvyURL = ivyTempFile.toURL(); } catch (MalformedURLException ex) { Message.warn("malformed url exception for temp file: "+ivyTempFile+": "+ex.getMessage()); return null; } } catch (IOException ex) { Message.warn("problem while downloading ivy file: "+ivyRef.getResource()+": "+ex.getMessage()); return null; } try { md = parser.parseDescriptor(data.getIvy(), cachedIvyURL, ivyRef.getResource(), doValidate(data)); Message.debug("\t"+getName()+": parsed downloaded md file for "+mrid+" parsed="+md.getModuleRevisionId()); // check descriptor data is in sync with resource revision and names systemMd = toSystem(md); if (_checkconsistency) { checkDescriptorConsistency(mrid, md, ivyRef); checkDescriptorConsistency(systemDd.getDependencyRevisionId(), systemMd, ivyRef); } else { if (md instanceof DefaultModuleDescriptor) { ((DefaultModuleDescriptor)md).setModuleRevisionId(ModuleRevisionId.newInstance(mrid.getOrganisation(), mrid.getName(), ivyRef.getRevision())); } else { Message.warn("consistency disabled with non default module descriptor... module info can't be updated, so consistency check will be done"); checkDescriptorConsistency(mrid, md, ivyRef); checkDescriptorConsistency(systemDd.getDependencyRevisionId(), systemMd, ivyRef); } } // check if we should delete old artifacts boolean deleteOldArtifacts = false; if (cachedPublicationDate != null && !cachedPublicationDate.equals(md.getResolvedPublicationDate())) { // artifacts have changed, they should be downloaded again Message.verbose(dd+" has changed: deleting old artifacts"); deleteOldArtifacts = true; } if (deleteOldArtifacts) { String[] confs = rmr.getDescriptor().getConfigurationsNames(); for (int i = 0; i < confs.length; i++) { Artifact[] arts = rmr.getDescriptor().getArtifacts(confs[i]); for (int j = 0; j < arts.length; j++) { File artFile = data.getIvy().getArchiveFileInCache(data.getCache(), toSystem(arts[j])); if (artFile.exists()) { Message.debug("deleting "+artFile); artFile.delete(); } File originFile = data.getIvy().getOriginFileInCache(data.getCache(), toSystem(arts[j])); if (originFile.exists()) { Message.debug("deleting " + originFile); originFile.delete(); } } } } else if (isChangingDependency){ Message.verbose(dd+" is changing, but has not changed: will trust cached artifacts if any"); } } catch (IOException ex) { Message.warn("io problem while parsing ivy file: "+ivyRef.getResource()+": "+ex.getMessage()); return null; } } // check module descriptor revision if (mrid.getRevision().startsWith("latest.")) { String askedStatus = mrid.getRevision().substring("latest.".length()); if (Status.getPriority(askedStatus) < Status.getPriority(md.getStatus())) { Message.info("\t"+getName()+": unacceptable status => was="+md.getStatus()+" required="+askedStatus); return null; } } else if (!mrid.acceptRevision(md.getModuleRevisionId().getRevision())) { Message.info("\t"+getName()+": unacceptable revision => was="+md.getModuleRevisionId().getRevision()+" required="+mrid.getRevision()); return null; } if (systemMd == null) { systemMd = toSystem(md); } // resolve revision ModuleRevisionId resolvedMrid = mrid; if (!resolvedMrid.isExactRevision()) { resolvedMrid = md.getResolvedModuleRevisionId(); if (resolvedMrid.getRevision() == null || resolvedMrid.getRevision().length() == 0) { if (ivyRef.getRevision() == null || ivyRef.getRevision().length() == 0 || !ModuleRevisionId.isExactRevision(ivyRef.getRevision())) { resolvedMrid = new ModuleRevisionId(resolvedMrid.getModuleId(), (_envDependent?"##":"")+DATE_FORMAT.format(data.getDate())+"@"+_workspaceName); } else { resolvedMrid = new ModuleRevisionId(resolvedMrid.getModuleId(), ivyRef.getRevision()); } } Message.verbose("\t\t["+resolvedMrid.getRevision()+"] "+mrid.getModuleId()); } md.setResolvedModuleRevisionId(resolvedMrid); systemMd.setResolvedModuleRevisionId(toSystem(resolvedMrid)); // keep system md in sync with md // resolve and check publication date if (data.getDate() != null) { long pubDate = getPublicationDate(md, dd, data); if (pubDate > data.getDate().getTime()) { Message.info("\t"+getName()+": unacceptable publication date => was="+new Date(pubDate)+" required="+data.getDate()); return null; } else if (pubDate == -1) { Message.info("\t"+getName()+": impossible to guess publication date: artifact missing for "+mrid); return null; } md.setResolvedPublicationDate(new Date(pubDate)); systemMd.setResolvedPublicationDate(new Date(pubDate)); // keep system md in sync with md } try { File ivyFile = data.getIvy().getIvyFileInCache(data.getCache(), systemMd.getResolvedModuleRevisionId()); if (ivyRef == null) { // a basic ivy file is written containing default data XmlModuleDescriptorWriter.write(systemMd, ivyFile); } else { if (md instanceof DefaultModuleDescriptor) { DefaultModuleDescriptor dmd = (DefaultModuleDescriptor)md; if (data.getIvy().logNotConvertedExclusionRule() && dmd.isNamespaceUseful()) { Message.warn("the module descriptor "+ivyRef.getResource()+" has information which can't be converted into the system namespace. It will require the availability of the namespace '"+getNamespace().getName()+"' to be fully usable."); } } // copy and update ivy file from source to cache parser.toIvyFile(cachedIvyURL, ivyRef.getResource(), ivyFile, systemMd); long repLastModified = ivyRef.getLastModified(); if (repLastModified > 0) { ivyFile.setLastModified(repLastModified); } } } catch (Exception e) { Message.warn("impossible to copy ivy file to cache : "+ivyRef.getResource()); } data.getIvy().saveResolver(data.getCache(), systemMd, getName()); return new DefaultModuleRevision(this, systemMd, searched, downloaded); }
|
45724 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45724/9022687ce91015634e41e1c528654005df450878/BasicResolver.java/clean/src/java/fr/jayasoft/ivy/resolver/BasicResolver.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
22776,
3120,
7939,
336,
7787,
12,
7787,
3187,
6957,
16,
9910,
751,
501,
13,
1216,
10616,
288,
3639,
11993,
3187,
2619,
40,
72,
273,
6957,
31,
3639,
6957,
273,
628,
3163,
12,
449,
1769,
7734,
2424,
45,
29139,
10113,
5621,
3639,
1250,
13549,
273,
629,
31,
3639,
1250,
19242,
273,
629,
31,
3639,
2167,
3472,
4782,
367,
1626,
273,
446,
31,
3639,
5924,
7939,
548,
312,
1691,
273,
6957,
18,
588,
7787,
7939,
548,
5621,
377,
202,
759,
866,
6350,
202,
202,
474,
770,
273,
312,
1691,
18,
588,
7939,
7675,
31806,
2932,
36,
8863,
202,
202,
430,
261,
1615,
480,
300,
21,
597,
401,
81,
1691,
18,
588,
7939,
7675,
28023,
12,
1615,
15,
21,
2934,
14963,
24899,
14915,
461,
3719,
288,
5411,
2350,
18,
11369,
31458,
88,
6,
15,
17994,
1435,
15,
6877,
27868,
6350,
516,
13773,
81,
1691,
18,
588,
7939,
10663,
5411,
327,
446,
31,
202,
202,
97,
7734,
309,
16051,
81,
1691,
18,
291,
14332,
7939,
1435,
597,
401,
9436,
18650,
10756,
288,
5411,
2350,
18,
1636,
2932,
13550,
18325,
486,
7681,
635,
13773,
588,
797,
7675,
17994,
1435,
9078,
18,
23343,
358,
2245,
13773,
81,
1691,
1769,
5411,
327,
446,
31,
3639,
289,
377,
202,
3639,
1250,
353,
782,
18183,
7939,
273,
336,
782,
18183,
6286,
7675,
8436,
12,
81,
1691,
18,
588,
7939,
10663,
7734,
1250,
353,
782,
18183,
7787,
273,
353,
782,
18183,
7939,
747,
6957,
18,
291,
782,
18183,
5621,
3639,
368,
309,
732,
741,
486,
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,
22776,
3120,
7939,
336,
7787,
12,
7787,
3187,
6957,
16,
9910,
751,
501,
13,
1216,
10616,
288,
3639,
11993,
3187,
2619,
40,
72,
273,
6957,
31,
3639,
6957,
273,
628,
3163,
12,
449,
1769,
7734,
2424,
45,
29139,
10113,
5621,
3639,
1250,
13549,
273,
629,
31,
3639,
1250,
19242,
273,
629,
31,
3639,
2167,
3472,
4782,
367,
1626,
273,
446,
31,
3639,
5924,
7939,
548,
312,
1691,
273,
6957,
18,
588,
7787,
7939,
548,
5621,
377,
202,
759,
866,
6350,
202,
202,
474,
770,
273,
312,
1691,
18,
588,
7939,
7675,
31806,
2932,
36,
8863,
202,
202,
430,
261,
1615,
480,
300,
21,
597,
401,
81,
1691,
18,
588,
7939,
7675,
28023,
12,
1615,
15,
21,
2934,
2
] |
System.out.println("---------------------------------------------------");
|
System .out.println("---------------------------------------------------");
|
private void describeDependencies(List projects, String label) { System.out.println("---- " + label + " ---------------------------------------------".substring(label.length())); for (int i = projects.size() - 1; i >= 0; i--) { System.out.println(" " + projects.get(i)); } if (projects.size() == 0) { System.out.println(" None."); } System.out.println("---------------------------------------------------"); }
|
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/6db199a2bf8afbd47198d9bcb65222517b1fe061/Dependencies.java/buggy/imbuild/ant-tasks/src/org/intermine/task/Dependencies.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6401,
8053,
12,
682,
10137,
16,
514,
1433,
13,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
553,
315,
397,
1433,
7734,
397,
315,
19134,
7620,
9654,
28023,
12,
1925,
18,
2469,
1435,
10019,
3639,
364,
261,
474,
277,
273,
10137,
18,
1467,
1435,
300,
404,
31,
277,
1545,
374,
31,
277,
413,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
315,
397,
10137,
18,
588,
12,
77,
10019,
3639,
289,
3639,
309,
261,
13582,
18,
1467,
1435,
422,
374,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
599,
1199,
1769,
3639,
289,
3639,
2332,
263,
659,
18,
8222,
2932,
9634,
6062,
8863,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6401,
8053,
12,
682,
10137,
16,
514,
1433,
13,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
553,
315,
397,
1433,
7734,
397,
315,
19134,
7620,
9654,
28023,
12,
1925,
18,
2469,
1435,
10019,
3639,
364,
261,
474,
277,
273,
10137,
18,
1467,
1435,
300,
404,
31,
277,
1545,
374,
31,
277,
413,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
315,
397,
10137,
18,
588,
12,
77,
10019,
3639,
289,
3639,
309,
261,
13582,
18,
1467,
1435,
422,
374,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
599,
1199,
1769,
3639,
289,
3639,
2332,
263,
659,
18,
8222,
2932,
9634,
6062,
8863,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
values.add(value);
|
values.add(valueClone);
|
public synchronized void collect(WritableComparable key, Writable value) throws IOException { // buffer new value in map ArrayList values = (ArrayList)keyToValues.get(key); if (values == null) { // no values yet for this key values = new ArrayList(1); // make a new list values.add(value); // add this value keyToValues.put(key, values); // add to map } else { values.add(value); // other values: just add new } count++; if (count >= this.limit) { // time to flush flush(); } }
|
49935 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49935/7dfe4673b0902ea7370dc3be695ba142fb5e2bb1/CombiningCollector.java/clean/src/java/org/apache/hadoop/mapred/CombiningCollector.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
3274,
12,
12061,
799,
10207,
498,
16,
14505,
460,
13,
565,
1216,
1860,
288,
565,
368,
1613,
394,
460,
316,
852,
565,
2407,
924,
273,
261,
19558,
13,
856,
774,
1972,
18,
588,
12,
856,
1769,
565,
309,
261,
2372,
422,
446,
13,
288,
7682,
368,
1158,
924,
4671,
364,
333,
498,
1377,
924,
273,
394,
2407,
12,
21,
1769,
5375,
368,
1221,
279,
394,
666,
4202,
924,
18,
1289,
12,
1132,
10930,
1769,
12900,
368,
527,
333,
460,
1377,
498,
774,
1972,
18,
458,
12,
856,
16,
924,
1769,
9079,
368,
527,
358,
852,
565,
289,
469,
288,
4202,
924,
18,
1289,
12,
1132,
10930,
1769,
12900,
368,
1308,
924,
30,
2537,
527,
394,
565,
289,
565,
1056,
9904,
31,
565,
309,
261,
1883,
1545,
333,
18,
3595,
13,
288,
7682,
368,
813,
358,
3663,
1377,
3663,
5621,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
3274,
12,
12061,
799,
10207,
498,
16,
14505,
460,
13,
565,
1216,
1860,
288,
565,
368,
1613,
394,
460,
316,
852,
565,
2407,
924,
273,
261,
19558,
13,
856,
774,
1972,
18,
588,
12,
856,
1769,
565,
309,
261,
2372,
422,
446,
13,
288,
7682,
368,
1158,
924,
4671,
364,
333,
498,
1377,
924,
273,
394,
2407,
12,
21,
1769,
5375,
368,
1221,
279,
394,
666,
4202,
924,
18,
1289,
12,
1132,
10930,
1769,
12900,
368,
527,
333,
460,
1377,
498,
774,
1972,
18,
458,
12,
856,
16,
924,
1769,
9079,
368,
527,
358,
852,
565,
289,
469,
288,
4202,
924,
18,
1289,
12,
1132,
10930,
1769,
12900,
368,
1308,
924,
30,
2537,
527,
394,
2
] |
case 489 : if (DEBUG) { System.out.println("EnumConstantHeader ::= Identifier Argumentsopt"); }
|
case 490 : if (DEBUG) { System.out.println("EnumConstantHeader ::= Identifier Argumentsopt"); }
|
protected void consumeRule(int act) { switch ( act ) { case 26 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ consumePrimitiveType(); break; case 40 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeReferenceType(); break; case 44 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ consumeClassOrInterfaceName(); break; case 45 : if (DEBUG) { System.out.println("ClassOrInterface ::= ClassOrInterface TypeArguments DOT"); } //$NON-NLS-1$ consumeClassOrInterface(); break; case 46 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= ClassOrInterface..."); } //$NON-NLS-1$ consumeArrayTypeWithTypeArgumentsName(); break; case 47 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ consumePrimitiveArrayType(); break; case 48 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ consumeNameArrayType(); break; case 49 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ consumeGenericTypeNameArrayType(); break; case 50 : if (DEBUG) { System.out.println("ArrayType ::= ClassOrInterface TypeArguments Dims"); } //$NON-NLS-1$ consumeGenericTypeArrayType(); break; case 55 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ consumeQualifiedName(); break; case 56 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ consumeCompilationUnit(); break; case 57 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 58 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 59 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 60 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 61 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 62 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ consumeEmptyInternalCompilationUnit(); break; case 65 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ consumeReduceImports(); break; case 66 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ consumeEnterCompilationUnit(); break; case 77 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeCatchHeader(); break; case 79 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeImportDeclarations(); break; case 81 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ consumeTypeDeclarations(); break; case 82 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ consumePackageDeclaration(); break; case 83 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ consumePackageDeclarationNameWithModifiers(); break; case 84 : if (DEBUG) { System.out.println("PackageDeclarationName ::= package Name"); } //$NON-NLS-1$ consumePackageDeclarationName(); break; case 89 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 90 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ consumeSingleTypeImportDeclarationName(); break; case 91 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 92 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ consumeTypeImportOnDemandDeclarationName(); break; case 95 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyTypeDeclaration(); break; case 99 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ consumeModifiers2(); break; case 112 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ consumeClassDeclaration(); break; case 113 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ consumeClassHeader(); break; case 114 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 116 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ consumeClassHeaderName1(); break; case 117 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ consumeClassHeaderExtends(); break; case 118 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ consumeClassHeaderImplements(); break; case 120 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ consumeInterfaceTypeList(); break; case 121 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeInterfaceType(); break; case 124 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ consumeClassBodyDeclarations(); break; case 128 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 129 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ consumeDiet(); break; case 130 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 136 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyClassMemberDeclaration(); break; case 139 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFieldDeclaration(); break; case 141 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ consumeVariableDeclarators(); break; case 144 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ consumeEnterVariable(); break; case 145 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithInitialization(); break; case 146 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithoutInitialization(); break; case 147 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ consumeForceNoDiet(); break; case 148 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ consumeRestoreDiet(); break; case 153 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ // set to true to consume a method with a body consumeMethodDeclaration(true); break; case 154 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ // set to false to consume a method without body consumeMethodDeclaration(false); break; case 155 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ consumeMethodHeader(); break; case 156 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(); break; case 157 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ consumeMethodHeaderName(); break; case 158 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ consumeMethodHeaderRightParen(); break; case 159 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeMethodHeaderExtendedDims(); break; case 160 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ consumeMethodHeaderThrowsClause(); break; case 161 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ consumeConstructorHeader(); break; case 162 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ consumeConstructorHeaderNameWithTypeParameters(); break; case 163 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ consumeConstructorHeaderName(); break; case 165 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ consumeFormalParameterList(); break; case 166 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFormalParameter(false); break; case 167 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ consumeFormalParameter(true); break; case 169 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ consumeClassTypeList(); break; case 170 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ consumeClassTypeElt(); break; case 171 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ consumeMethodBody(); break; case 172 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ consumeNestedMethod(); break; case 173 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ consumeStaticInitializer(); break; case 174 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ consumeStaticOnly(); break; case 175 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ consumeConstructorDeclaration() ; break; case 176 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration() ; break; case 177 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,ExplicitConstructorCall.This); break; case 178 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,ExplicitConstructorCall.This); break; case 179 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,ExplicitConstructorCall.Super); break; case 180 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,ExplicitConstructorCall.Super); break; case 181 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, ExplicitConstructorCall.Super); break; case 182 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, ExplicitConstructorCall.Super); break; case 183 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, ExplicitConstructorCall.Super); break; case 184 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, ExplicitConstructorCall.Super); break; case 185 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, ExplicitConstructorCall.This); break; case 186 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, ExplicitConstructorCall.This); break; case 187 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, ExplicitConstructorCall.This); break; case 188 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, ExplicitConstructorCall.This); break; case 189 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ consumeInterfaceDeclaration(); break; case 190 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ consumeInterfaceHeader(); break; case 191 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 193 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ consumeInterfaceHeaderName1(); break; case 195 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ consumeInterfaceHeaderExtends(); break; case 198 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarations(); break; case 199 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclaration(); break; case 202 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= InvalidMethodDeclaration"); } //$NON-NLS-1$ ignoreMethodBody(); break; case 203 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(true); break; case 204 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(false); break; case 210 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ consumePushLeftBrace(); break; case 211 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ consumeEmptyArrayInitializer(); break; case 212 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 213 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 215 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ consumeVariableInitializers(); break; case 216 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ consumeBlock(); break; case 217 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ consumeOpenBlock() ; break; case 219 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ consumeBlockStatements() ; break; case 223 : if (DEBUG) { System.out.println("BlockStatement ::= InvalidInterfaceDeclaration"); } //$NON-NLS-1$ ignoreInterfaceDeclaration(); break; case 224 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ consumeLocalVariableDeclarationStatement(); break; case 225 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 226 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 227 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ consumePushModifiers(); break; case 228 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ consumePushRealModifiers(); break; case 254 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyStatement(); break; case 255 : if (DEBUG) { System.out.println("LabeledStatement ::= Identifier COLON Statement"); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 256 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Identifier COLON..."); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 257 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ consumeExpressionStatement(); break; case 266 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfNoElse(); break; case 267 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 268 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 269 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementSwitch() ; break; case 270 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ consumeEmptySwitchBlock() ; break; case 273 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlock() ; break; case 275 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlockStatements() ; break; case 276 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ consumeSwitchBlockStatement() ; break; case 278 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ consumeSwitchLabels() ; break; case 279 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ consumeCaseLabel(); break; case 280 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ consumeDefaultLabel(); break; case 281 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 282 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 283 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementDo() ; break; case 284 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 285 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 286 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ consumeForInit() ; break; case 290 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ consumeStatementExpressionList() ; break; case 291 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ consumeSimpleAssertStatement() ; break; case 292 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ consumeAssertStatement() ; break; case 293 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreak() ; break; case 294 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreakWithLabel() ; break; case 295 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinue() ; break; case 296 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinueWithLabel() ; break; case 297 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ consumeStatementReturn() ; break; case 298 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ consumeStatementThrow(); break; case 299 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ consumeStatementSynchronized(); break; case 300 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ consumeOnlySynchronized(); break; case 301 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ consumeStatementTry(false); break; case 302 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ consumeStatementTry(true); break; case 304 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ consumeExitTryBlock(); break; case 306 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ consumeCatches(); break; case 307 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeStatementCatch() ; break; case 309 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ consumeLeftParen(); break; case 310 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ consumeRightParen(); break; case 315 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayThis(); break; case 316 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ consumePrimaryNoNewArray(); break; case 317 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ consumePrimaryNoNewArrayWithName(); break; case 320 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameThis(); break; case 321 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameSuper(); break; case 322 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayName(); break; case 323 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayArrayType(); break; case 324 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveArrayType(); break; case 325 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveType(); break; case 328 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ consumeAllocationHeader(); break; case 329 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionWithTypeArguments(); break; case 330 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ consumeClassInstanceCreationExpression(); break; case 331 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 332 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 333 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 334 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 335 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionName() ; break; case 336 : if (DEBUG) { System.out.println("ClassBodyopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 338 : if (DEBUG) { System.out.println("ClassBodySimpleNameopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 340 : if (DEBUG) { System.out.println("EnterAnonymousClassBodySimpleName ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBodySimpleName(); break; case 341 : if (DEBUG) { System.out.println("EnterAnonymousClassBody ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBody(); break; case 343 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ consumeArgumentList(); break; case 344 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 345 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 346 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 347 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 348 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 349 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 351 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ consumeDimWithOrWithOutExprs(); break; case 353 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeDimWithOrWithOutExpr(); break; case 354 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ consumeDims(); break; case 357 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeOneDimLoop(); break; case 358 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(false); break; case 359 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(true); break; case 360 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeMethodInvocationName(); break; case 361 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationNameWithTypeArguments(); break; case 362 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationPrimaryWithTypeArguments(); break; case 363 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationPrimary(); break; case 364 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationSuperWithTypeArguments(); break; case 365 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationSuper(); break; case 366 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ consumeArrayAccess(true); break; case 367 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 368 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 370 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ consumePostfixExpression(); break; case 373 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,true); break; case 374 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,true); break; case 375 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ consumePushPosition(); break; case 378 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 379 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 381 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,false); break; case 382 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,false); break; case 384 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 385 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 387 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ consumeCastExpressionWithPrimitiveType(); break; case 388 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithGenericsArray(); break; case 389 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithQualifiedGenericsArray(); break; case 390 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionLL1(); break; case 391 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionWithNameArray(); break; case 392 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ consumeOnlyTypeArgumentsForCastExpression(); break; case 393 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ consumeInsideCastExpression(); break; case 394 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ consumeInsideCastExpressionLL1(); break; case 395 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ consumeInsideCastExpressionWithQualifiedGenerics(); break; case 397 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 398 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 399 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 401 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 402 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 404 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 405 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 406 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 408 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 409 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 410 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 411 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 413 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 415 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 416 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 418 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 420 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 422 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 424 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 426 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 428 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 431 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ consumeAssignment(); break; case 433 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ ignoreExpressionAssignment(); break; case 434 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(EQUAL); break; case 435 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MULTIPLY); break; case 436 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(DIVIDE); break; case 437 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(REMAINDER); break; case 438 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(PLUS); break; case 439 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MINUS); break; case 440 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(LEFT_SHIFT); break; case 441 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(RIGHT_SHIFT); break; case 442 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break; case 443 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(AND); break; case 444 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(XOR); break; case 445 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(OR); break; case 449 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ consumeEmptyExpression(); break; case 454 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyClassBodyDeclarationsopt(); break; case 455 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeClassBodyDeclarationsopt(); break; case 456 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ consumeDefaultModifiers(); break; case 457 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ consumeModifiers(); break; case 458 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ consumeEmptyBlockStatementsopt(); break; case 460 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ consumeEmptyDimsopt(); break; case 462 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ consumeEmptyArgumentListopt(); break; case 466 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ consumeFormalParameterListopt(); break; case 470 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclarationsopt(); break; case 471 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarationsopt(); break; case 472 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ consumeNestedType(); break; case 473 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ consumeEmptyForInitopt(); break; case 475 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ consumeEmptyForUpdateopt(); break; case 479 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ consumeEmptyCatchesopt(); break; case 481 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader ClassHeaderImplementsopt"); } //$NON-NLS-1$ consumeEnumDeclaration(); break; case 482 : if (DEBUG) { System.out.println("EnumHeader ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ consumeEnumHeader(); break; case 483 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 484 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 485 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 486 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 488 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ consumeEnumConstants(); break; case 489 : if (DEBUG) { System.out.println("EnumConstantHeader ::= Identifier Argumentsopt"); } //$NON-NLS-1$ consumeEnumConstantHeader(); break; case 490 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ClassBody"); } //$NON-NLS-1$ consumeEnumConstantWithClassBody(); break; case 491 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ consumeEnumConstantNoClassBody(); break; case 492 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeArguments(); break; case 493 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ consumeEmptyArguments(); break; case 496 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyEnumDeclarations(); break; case 498 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 499 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 500 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(false); break; case 501 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Modifiers Type"); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(true); break; case 502 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 503 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 504 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 505 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 506 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 507 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 509 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 511 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 512 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 516 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 517 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 519 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 522 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 523 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 525 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 528 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 529 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 530 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 531 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 532 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 533 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 534 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 535 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 536 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 537 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 538 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 539 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 540 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 541 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 542 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 543 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 544 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 545 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 546 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 548 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 550 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 551 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 553 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 554 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 556 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 557 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 558 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 559 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 561 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 562 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 568 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 569 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 572 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 573 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 576 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 577 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 578 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 579 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 580 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 581 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 583 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 584 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 585 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 586 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 588 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 589 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 590 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 591 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 592 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 593 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 595 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 596 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 597 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 598 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 599 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 600 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 601 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 602 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 604 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(OperatorIds.INSTANCEOF); break; case 605 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 607 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 608 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 609 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 610 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 612 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 613 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 615 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 616 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 618 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 619 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 621 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 622 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 624 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 625 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 627 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 628 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 632 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 633 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= AT PushModifiers..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 634 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 636 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 639 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 640 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationHeader ::= Modifiersopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarationHeader() ; break; case 641 : if (DEBUG) { System.out.println("AnnotationTypeMemberHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberHeaderExtendedDims() ; break; case 642 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 645 : if (DEBUG) { System.out.println("DefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyDefaultValue() ; break; case 651 : if (DEBUG) { System.out.println("NormalAnnotation ::= AT Name LPAREN MemberValuePairsopt"); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 652 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 655 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 656 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL MemberValue"); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 660 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 661 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 662 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 663 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 665 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 666 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AT Name"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 667 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AT Name LPAREN MemberValue..."); } //$NON-NLS-1$ consumeSingleMemberAnnotation() ; break; }}
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/dbf6159f53c99cb12512816667012e5ec1fdc250/Parser.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
10659,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
8063,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
13291,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
1770,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
24730,
5621,
565,
1082,
202,
8820,
31,
377,
648,
12292,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
1659,
1162,
1358,
1412,
4628,
15772,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
1358,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17077,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
27182,
1190,
23690,
461,
493,
33,
1659,
1162,
1358,
7070,
1769,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
27182,
1190,
23690,
461,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17495,
294,
309,
261,
9394,
13,
288,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
10659,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
8063,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
13291,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
2
] |
public void mT25() throws RecognitionException { int T25_StartIndex = input.index(); try { int type = T25; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; if ( backtracking>0 && alreadyParsedRule(input, 11) ) { return ; } // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:16:7: ( ')' ) // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:16:7: ')' { match(')'); if (failed) return ; } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { if ( backtracking>0 ) { memoize(input, 11, T25_StartIndex); } } }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/fb2f51ad0fb80e03d0cc7f4644cb7a7e17027618/RuleParserLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21115,
2947,
1435,
1216,
9539,
288,
3639,
509,
399,
2947,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
399,
2947,
31,
5411,
509,
787,
273,
23577,
1016,
5621,
5411,
509,
980,
273,
9851,
5621,
5411,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
309,
261,
6888,
34,
20,
597,
1818,
11257,
2175,
12,
2630,
16,
4648,
13,
262,
288,
327,
274,
289,
5411,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
2313,
30,
27,
30,
261,
5777,
262,
5411,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
2313,
30,
27,
30,
5777,
5411,
288,
5411,
845,
2668,
2506,
1769,
309,
261,
7307,
13,
327,
274,
5411,
289,
5411,
309,
261,
1147,
631,
2011,
262,
288,
18356,
12,
723,
16,
1369,
16,
3001,
2555,
16,
4327,
16,
1937,
16,
588,
2156,
1016,
1435,
17,
21,
1769,
97,
3639,
289,
3639,
3095,
288,
5411,
309,
261,
6888,
34,
20,
262,
288,
27820,
12,
2630,
16,
4648,
16,
399,
2947,
67,
16792,
1769,
289,
3639,
289,
565,
289,
2,
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,
1,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21115,
2947,
1435,
1216,
9539,
288,
3639,
509,
399,
2947,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
399,
2947,
31,
5411,
509,
787,
273,
23577,
1016,
5621,
5411,
509,
980,
273,
9851,
5621,
5411,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
309,
261,
6888,
34,
20,
597,
1818,
11257,
2175,
12,
2630,
16,
4648,
13,
262,
288,
327,
274,
289,
5411,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
2
] |
||
(Quad)copies[i].get(e.to()),
|
copies[i].get(e.to()),
|
private void unrollOne(HCodeAndMaps input, Loops loop, int ntimes) { // step 1: copy the nodes to make a loop L' with header h' // and back edges si'->h' Map copies[] = new Map[ntimes]; copies[0] = input.elementMap(); for (int i=1; i<ntimes; i++) copies[i] = copy(input, loop); // step 2: change all the back edges in L from si->h to si->h' // step 3: change all the back edges in L' from si'->h' to si'->h for (int i=0; i<ntimes; i++) { for (Iterator it=loop.loopBackEdges().iterator(); it.hasNext(); ) { Edge e = (Edge) it.next(); Quad.addEdge((Quad)copies[i].get(e.from()), e.which_succ(), (Quad)copies[(i+1)%ntimes].get(e.to()), e.which_pred()); } } // make PHIs for the exit edges. for (Iterator it=loop.loopExitEdges().iterator(); it.hasNext(); ) { Edge e = (Edge) it.next(); QuadFactory qf = ((Quad)copies[0].get(e.from())).getFactory(); PHI phi = new PHI(qf, e.from(), new Temp[0], ntimes); Quad.addEdge(phi, 0, (Quad) copies[0].get(e.to()), e.which_pred()); for (int i=0; i<ntimes; i++) Quad.addEdge((Quad)copies[i].get(e.from()), e.which_succ(), phi, i); } // make stub PHIs for unused entrance edges for (Iterator it=loop.loopEntranceEdges().iterator(); it.hasNext(); ) { Edge e = (Edge) it.next(); QuadFactory qf = ((Quad)copies[0].get(e.to())).getFactory(); for (int i=1; i<ntimes; i++) { PHI phi = new PHI(qf, e.to(), new Temp[0], 0); Quad.addEdge(phi, 0, (Quad)copies[i].get(e.to()), e.which_pred()); } } // we may have unconnected entrances if more than one header. assert loop.loopEntrances().size()==1; // done. }
|
2866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2866/ba72114ff66f51d82de42fd8ba4a3304af80c39a/ArrayUnroller.java/buggy/Analysis/Quads/ArrayUnroller.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
640,
2693,
3335,
12,
44,
1085,
1876,
8903,
810,
16,
3176,
4473,
2798,
16,
509,
290,
8293,
13,
288,
202,
759,
2235,
404,
30,
1610,
326,
2199,
358,
1221,
279,
2798,
511,
11,
598,
1446,
366,
11,
202,
759,
540,
471,
1473,
5231,
7533,
11,
2122,
76,
11,
202,
863,
13200,
8526,
273,
394,
1635,
63,
496,
4485,
15533,
202,
22295,
606,
63,
20,
65,
273,
810,
18,
2956,
863,
5621,
202,
1884,
261,
474,
277,
33,
21,
31,
277,
32,
496,
4485,
31,
277,
27245,
202,
565,
13200,
63,
77,
65,
273,
1610,
12,
2630,
16,
2798,
1769,
202,
759,
2235,
576,
30,
2549,
777,
326,
1473,
5231,
316,
511,
628,
7533,
2122,
76,
358,
7533,
2122,
76,
11,
202,
759,
2235,
890,
30,
2549,
777,
326,
1473,
5231,
316,
511,
11,
628,
7533,
11,
2122,
76,
11,
358,
7533,
11,
2122,
76,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
496,
4485,
31,
277,
27245,
288,
202,
565,
364,
261,
3198,
518,
33,
6498,
18,
6498,
2711,
10697,
7675,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
202,
202,
6098,
425,
273,
261,
6098,
13,
518,
18,
4285,
5621,
202,
202,
24483,
18,
1289,
6098,
12443,
24483,
13,
22295,
606,
63,
77,
8009,
588,
12,
73,
18,
2080,
1435,
3631,
9506,
377,
425,
18,
12784,
67,
26560,
952,
9334,
9506,
377,
261,
24483,
13,
22295,
606,
63,
12,
77,
15,
21,
13,
9,
496,
4485,
8009,
588,
12,
73,
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,
640,
2693,
3335,
12,
44,
1085,
1876,
8903,
810,
16,
3176,
4473,
2798,
16,
509,
290,
8293,
13,
288,
202,
759,
2235,
404,
30,
1610,
326,
2199,
358,
1221,
279,
2798,
511,
11,
598,
1446,
366,
11,
202,
759,
540,
471,
1473,
5231,
7533,
11,
2122,
76,
11,
202,
863,
13200,
8526,
273,
394,
1635,
63,
496,
4485,
15533,
202,
22295,
606,
63,
20,
65,
273,
810,
18,
2956,
863,
5621,
202,
1884,
261,
474,
277,
33,
21,
31,
277,
32,
496,
4485,
31,
277,
27245,
202,
565,
13200,
63,
77,
65,
273,
1610,
12,
2630,
16,
2798,
1769,
202,
759,
2235,
576,
30,
2549,
777,
326,
1473,
5231,
316,
511,
628,
7533,
2122,
76,
358,
2
] |
final GlobalSearchScope projectScope = GlobalSearchScope.allScope(myManager.getProject()); final VirtualFile classRoot = projectFileIndex.getClassRootForFile(vFile); final GlobalSearchScope scope = new GlobalSearchScope() { public int compare(VirtualFile file1, VirtualFile file2) { final VirtualFile classRootForFile1 = projectFileIndex.getClassRootForFile(file1); final VirtualFile classRootForFile2 = projectFileIndex.getClassRootForFile(file2); if (classRootForFile1 != classRootForFile2) { if (classRootForFile1 == classRoot) return 1; if (classRootForFile2 == classRoot) return -1; } return projectScope.compare(file1, file2); } public boolean contains(VirtualFile file) { return projectScope.contains(file); } public boolean isSearchInLibraries() { return true; } public boolean isSearchInModuleContent(Module aModule) { return false; } }; return scope; /*
|
public GlobalSearchScope getResolveScope(PsiElement element) { VirtualFile vFile; if (element instanceof PsiDirectory) { vFile = ((PsiDirectory)element).getVirtualFile(); } else { final PsiFile contextFile = ResolveUtil.getContextFile(element); if (contextFile == null || contextFile instanceof XmlFile) { return GlobalSearchScope.allScope(myManager.getProject()); } vFile = contextFile.getVirtualFile(); if (vFile == null) { PsiFile originalFile = contextFile.getOriginalFile(); if (originalFile != null) { vFile = originalFile.getVirtualFile(); } } } if (vFile == null) { return GlobalSearchScope.allScope(myManager.getProject()); } final ProjectFileIndex projectFileIndex = myProjectRootManager.getFileIndex(); Module module = projectFileIndex.getModuleForFile(vFile); if (module != null) { boolean includeTests = projectFileIndex.isInTestSourceContent(vFile) || !projectFileIndex.isContentJavaSourceFile(vFile); return GlobalSearchScope.moduleWithDependenciesAndLibrariesScope(module, includeTests); } else { // resolve references in libraries first in current library, then in project scope final GlobalSearchScope projectScope = GlobalSearchScope.allScope(myManager.getProject()); final VirtualFile classRoot = projectFileIndex.getClassRootForFile(vFile); final GlobalSearchScope scope = new GlobalSearchScope() { public int compare(VirtualFile file1, VirtualFile file2) { final VirtualFile classRootForFile1 = projectFileIndex.getClassRootForFile(file1); final VirtualFile classRootForFile2 = projectFileIndex.getClassRootForFile(file2); if (classRootForFile1 != classRootForFile2) { if (classRootForFile1 == classRoot) return 1; if (classRootForFile2 == classRoot) return -1; } return projectScope.compare(file1, file2); } public boolean contains(VirtualFile file) { return projectScope.contains(file); } public boolean isSearchInLibraries() { return true; } public boolean isSearchInModuleContent(Module aModule) { return false; } }; return scope; /* OrderEntry[] orderEntries = projectFileIndex.getOrderEntriesForFile(vFile); if (orderEntries.length == 0) return GlobalSearchScope.allScope(myManager.getProject()); Module ownerModule = orderEntries[0].getOwnerModule(); return GlobalSearchScope.moduleWithDependenciesAndLibrariesScope(ownerModule); */ } }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/d88b0d6e4538f617f5b687d2c93ed46f9f15ff35/FileManagerImpl.java/buggy/source/com/intellij/psi/impl/file/impl/FileManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8510,
2979,
3876,
336,
8460,
3876,
12,
52,
7722,
1046,
930,
13,
288,
565,
7269,
812,
331,
812,
31,
565,
309,
261,
2956,
1276,
453,
7722,
2853,
13,
288,
1377,
331,
812,
273,
14015,
52,
7722,
2853,
13,
2956,
2934,
588,
6466,
812,
5621,
565,
289,
565,
469,
288,
1377,
727,
453,
7722,
812,
819,
812,
273,
9910,
1304,
18,
29120,
812,
12,
2956,
1769,
1377,
309,
261,
2472,
812,
422,
446,
747,
819,
812,
1276,
5714,
812,
13,
288,
3639,
327,
8510,
2979,
3876,
18,
454,
3876,
12,
4811,
1318,
18,
588,
4109,
10663,
1377,
289,
1377,
331,
812,
273,
819,
812,
18,
588,
6466,
812,
5621,
1377,
309,
261,
90,
812,
422,
446,
13,
288,
3639,
453,
7722,
812,
2282,
812,
273,
819,
812,
18,
588,
8176,
812,
5621,
3639,
309,
261,
8830,
812,
480,
446,
13,
288,
1850,
331,
812,
273,
2282,
812,
18,
588,
6466,
812,
5621,
3639,
289,
1377,
289,
565,
289,
565,
309,
261,
90,
812,
422,
446,
13,
288,
1377,
327,
8510,
2979,
3876,
18,
454,
3876,
12,
4811,
1318,
18,
588,
4109,
10663,
565,
289,
565,
727,
5420,
812,
1016,
1984,
812,
1016,
273,
3399,
4109,
2375,
1318,
18,
29925,
1016,
5621,
565,
5924,
1605,
273,
1984,
812,
1016,
18,
588,
3120,
1290,
812,
12,
90,
812,
1769,
565,
309,
261,
2978,
480,
446,
13,
288,
1377,
1250,
2341,
14650,
273,
1984,
812,
1016,
18,
291,
382,
4709,
1830,
1350,
12,
90,
812,
13,
747,
11794,
401,
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,
8510,
2979,
3876,
336,
8460,
3876,
12,
52,
7722,
1046,
930,
13,
288,
565,
7269,
812,
331,
812,
31,
565,
309,
261,
2956,
1276,
453,
7722,
2853,
13,
288,
1377,
331,
812,
273,
14015,
52,
7722,
2853,
13,
2956,
2934,
588,
6466,
812,
5621,
565,
289,
565,
469,
288,
1377,
727,
453,
7722,
812,
819,
812,
273,
9910,
1304,
18,
29120,
812,
12,
2956,
1769,
1377,
309,
261,
2472,
812,
422,
446,
747,
819,
812,
1276,
5714,
812,
13,
288,
3639,
327,
8510,
2979,
3876,
18,
454,
3876,
12,
4811,
1318,
18,
588,
4109,
10663,
1377,
289,
1377,
331,
812,
273,
819,
812,
18,
588,
6466,
812,
5621,
1377,
309,
261,
90,
812,
422,
446,
13,
288,
2
] |
|
int [] ms = new int[rolls.length];
|
int[] ms = new int[rolls.length];
|
int [] convertToBinary(int [] rolls, double median) { int [] ms = new int[rolls.length]; for (int i = 0; i < rolls.length; i++) { if (rolls[i] <= median) { ms[i] = 0; } else { ms[i] = 1; } } return ms; }
|
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/26fc04ab1816d4c18433e2b92b476884a7598845/DiceTest.java/clean/Colossus/net/sf/colossus/server/DiceTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
5378,
8137,
5905,
12,
474,
5378,
5824,
87,
16,
1645,
12644,
13,
565,
288,
3639,
509,
8526,
4086,
273,
394,
509,
63,
2693,
87,
18,
2469,
15533,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5824,
87,
18,
2469,
31,
277,
27245,
3639,
288,
5411,
309,
261,
2693,
87,
63,
77,
65,
1648,
12644,
13,
5411,
288,
7734,
4086,
63,
77,
65,
273,
374,
31,
5411,
289,
5411,
469,
5411,
288,
7734,
4086,
63,
77,
65,
273,
404,
31,
5411,
289,
3639,
289,
3639,
327,
4086,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
5378,
8137,
5905,
12,
474,
5378,
5824,
87,
16,
1645,
12644,
13,
565,
288,
3639,
509,
8526,
4086,
273,
394,
509,
63,
2693,
87,
18,
2469,
15533,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5824,
87,
18,
2469,
31,
277,
27245,
3639,
288,
5411,
309,
261,
2693,
87,
63,
77,
65,
1648,
12644,
13,
5411,
288,
7734,
4086,
63,
77,
65,
273,
374,
31,
5411,
289,
5411,
469,
5411,
288,
7734,
4086,
63,
77,
65,
273,
404,
31,
5411,
289,
3639,
289,
3639,
327,
4086,
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
] |
public static Locale getLocale() { Locale rtn = (Locale) threadLocales.get(); if (rtn != null) { return rtn;
|
public static Locale getLocale() { Locale rtn = (Locale) threadLocales.get(); if (rtn != null) { return rtn; } setLocale(defaultLocale); return defaultLocale;
|
public static Locale getLocale() { Locale rtn = (Locale) threadLocales.get(); if (rtn != null) { return rtn; } setLocale( defaultLocale ); return defaultLocale; }
|
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/0adaac3912850c4543e73dbc751557a0cb5909d1/GlobalMessages.java/clean/kettle/src/be/ibridge/kettle/i18n/GlobalMessages.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
6458,
9595,
1435,
288,
202,
202,
3916,
12119,
273,
261,
3916,
13,
2650,
13310,
18,
588,
5621,
565,
309,
261,
3797,
82,
480,
446,
13,
288,
1377,
327,
12119,
31,
565,
289,
3639,
19848,
12,
30108,
11272,
565,
327,
30108,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
6458,
9595,
1435,
288,
202,
202,
3916,
12119,
273,
261,
3916,
13,
2650,
13310,
18,
588,
5621,
565,
309,
261,
3797,
82,
480,
446,
13,
288,
1377,
327,
12119,
31,
565,
289,
3639,
19848,
12,
30108,
11272,
565,
327,
30108,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return configuration;
|
SearchConfiguration newConfiguration = new SearchConfiguration(); copyConfiguration(configuration, newConfiguration); return newConfiguration;
|
public SearchDialog createDialog(SearchContext searchContext) { return configuration instanceof SearchConfiguration ? new SearchDialog(searchContext, false, false) { public Configuration createConfiguration() { return configuration; } } : new ReplaceDialog(searchContext, false, false) { public Configuration createConfiguration() { return configuration; } }; }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/016ef0823538369363350741d3828684754521b2/SSBasedInspectionOptions.java/clean/plugins/structuralsearch/source/com/intellij/structuralsearch/inspection/highlightTemplate/SSBasedInspectionOptions.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
6647,
1071,
5167,
6353,
752,
6353,
12,
2979,
1042,
1623,
1042,
13,
288,
5411,
327,
1664,
1276,
5167,
1750,
692,
394,
5167,
6353,
12,
3072,
1042,
16,
629,
16,
629,
13,
288,
2868,
1071,
4659,
752,
1750,
1435,
288,
7734,
5167,
1750,
394,
1750,
273,
394,
5167,
1750,
5621,
1610,
1750,
12,
7025,
16,
394,
1750,
1769,
327,
394,
1750,
31,
2868,
289,
5411,
289,
294,
394,
6910,
6353,
12,
3072,
1042,
16,
629,
16,
629,
13,
288,
2868,
1071,
4659,
752,
1750,
1435,
288,
7734,
5167,
1750,
394,
1750,
273,
394,
5167,
1750,
5621,
1610,
1750,
12,
7025,
16,
394,
1750,
1769,
327,
394,
1750,
31,
2868,
289,
5411,
289,
31,
1850,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
6647,
1071,
5167,
6353,
752,
6353,
12,
2979,
1042,
1623,
1042,
13,
288,
5411,
327,
1664,
1276,
5167,
1750,
692,
394,
5167,
6353,
12,
3072,
1042,
16,
629,
16,
629,
13,
288,
2868,
1071,
4659,
752,
1750,
1435,
288,
7734,
5167,
1750,
394,
1750,
273,
394,
5167,
1750,
5621,
1610,
1750,
12,
7025,
16,
394,
1750,
1769,
327,
394,
1750,
31,
2868,
289,
5411,
289,
294,
394,
6910,
6353,
12,
3072,
1042,
16,
629,
16,
629,
13,
288,
2868,
1071,
4659,
752,
1750,
1435,
288,
7734,
5167,
1750,
394,
1750,
273,
394,
5167,
1750,
5621,
1610,
1750,
12,
7025,
16,
394,
1750,
1769,
327,
394,
1750,
31,
2868,
289,
5411,
289,
31,
1850,
289,
2,
-100,
-100,
-100,
-100,
-100
] |
private static Class[] getAnnotatedClasses(Class<?> klass) throws InitializationError {
|
private static Class<?>[] getAnnotatedClasses(Class<?> klass) throws InitializationError {
|
private static Class[] getAnnotatedClasses(Class<?> klass) throws InitializationError { SuiteClasses annotation= klass.getAnnotation(SuiteClasses.class); if (annotation == null) throw new InitializationError(String.format("class '%s' must have a SuiteClasses annotation", klass.getName())); Class[] classes= annotation.value(); return classes; }
|
48762 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48762/0cdf29715af64edd05229c400f214417fecdef89/Suite.java/buggy/org/junit/runners/Suite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
1659,
8526,
336,
17985,
4818,
12,
797,
12880,
34,
7352,
13,
1216,
26586,
668,
288,
202,
202,
13587,
4818,
3204,
33,
7352,
18,
588,
3257,
12,
13587,
4818,
18,
1106,
1769,
202,
202,
430,
261,
11495,
422,
446,
13,
1082,
202,
12849,
394,
26586,
668,
12,
780,
18,
2139,
2932,
1106,
1995,
87,
11,
1297,
1240,
279,
348,
9519,
4818,
3204,
3113,
7352,
18,
17994,
1435,
10019,
202,
202,
797,
8526,
3318,
33,
3204,
18,
1132,
5621,
202,
202,
2463,
3318,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
1659,
8526,
336,
17985,
4818,
12,
797,
12880,
34,
7352,
13,
1216,
26586,
668,
288,
202,
202,
13587,
4818,
3204,
33,
7352,
18,
588,
3257,
12,
13587,
4818,
18,
1106,
1769,
202,
202,
430,
261,
11495,
422,
446,
13,
1082,
202,
12849,
394,
26586,
668,
12,
780,
18,
2139,
2932,
1106,
1995,
87,
11,
1297,
1240,
279,
348,
9519,
4818,
3204,
3113,
7352,
18,
17994,
1435,
10019,
202,
202,
797,
8526,
3318,
33,
3204,
18,
1132,
5621,
202,
202,
2463,
3318,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
assertEquals("incorrect text returned", " some text \nboo ", element.getChildText("child", ns));
|
assertEquals("incorrect text returned", " some text \nboo ", element.getChildText("child", ns));
|
public void test_TCM__String_getChildText_String_OrgJdomNamespace() { Element element = new Element("element"); Namespace ns = Namespace.getNamespace("urn:test:foo"); Element child = new Element("child", ns); child.addContent(" some text \nboo "); element.addContent(child); assertEquals("incorrect text returned", " some text \nboo ", element.getChildText("child", ns)); }
|
49530 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49530/15879ec71a650abb4222aa39aa8fadd7e352cc89/TestElement.java/clean/test/src/java/org/jdom/test/cases/TestElement.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
56,
9611,
972,
780,
67,
588,
1763,
1528,
67,
780,
67,
6001,
46,
9859,
3402,
1435,
288,
202,
202,
1046,
930,
273,
394,
3010,
2932,
2956,
8863,
202,
202,
3402,
3153,
273,
6005,
18,
588,
3402,
2932,
321,
30,
3813,
30,
11351,
8863,
202,
202,
1046,
1151,
273,
394,
3010,
2932,
3624,
3113,
3153,
1769,
202,
202,
3624,
18,
1289,
1350,
2932,
225,
2690,
977,
521,
82,
1075,
83,
225,
315,
1769,
202,
202,
2956,
18,
1289,
1350,
12,
3624,
1769,
202,
202,
11231,
8867,
2932,
267,
6746,
977,
2106,
3113,
315,
225,
2690,
977,
521,
82,
1075,
83,
225,
3104,
930,
18,
588,
1763,
1528,
2932,
3624,
3113,
3153,
10019,
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,
1842,
67,
56,
9611,
972,
780,
67,
588,
1763,
1528,
67,
780,
67,
6001,
46,
9859,
3402,
1435,
288,
202,
202,
1046,
930,
273,
394,
3010,
2932,
2956,
8863,
202,
202,
3402,
3153,
273,
6005,
18,
588,
3402,
2932,
321,
30,
3813,
30,
11351,
8863,
202,
202,
1046,
1151,
273,
394,
3010,
2932,
3624,
3113,
3153,
1769,
202,
202,
3624,
18,
1289,
1350,
2932,
225,
2690,
977,
521,
82,
1075,
83,
225,
315,
1769,
202,
202,
2956,
18,
1289,
1350,
12,
3624,
1769,
202,
202,
11231,
8867,
2932,
267,
6746,
977,
2106,
3113,
315,
225,
2690,
977,
521,
82,
1075,
83,
225,
3104,
930,
18,
588,
1763,
1528,
2932,
3624,
3113,
3153,
10019,
202,
97,
2
] |
result = QSequenceLineMedia.createBlocks(new SVNSequenceLineRAData(baseFile), new SVNSequenceLineRAData(workFile), null, memoryTreshold, fileSegmentSize, searchDepthExponent, tempDirectory);
|
result = QSequenceLineMedia.createBlocks(new SVNSequenceLineRAData(baseFile), new SVNSequenceLineRAData(workFile), null, memoryTreshold, fileSegmentSize, searchDepthExponent, new QSequenceLineFixedTempDirectoryFactory(tempDirectory));
|
private static void doGenerateDiffWindow(String commitPath, ISVNRAData workFile, ISVNRAData baseFile, ISVNEditor consumer, int memoryTreshold, int fileSegmentSize, double searchDepthExponent, File tempDirectory) throws IOException, SVNException { final QSequenceLineResult result; try { result = QSequenceLineMedia.createBlocks(new SVNSequenceLineRAData(baseFile), new SVNSequenceLineRAData(workFile), null, memoryTreshold, fileSegmentSize, searchDepthExponent, tempDirectory); } catch (QSequenceException ex) { throw new SVNException(ex); } try { final List instructions = new ArrayList(); final List newDatas = new ArrayList(); createInstructions(result, instructions, newDatas); final QSequenceLineCache baseLines = result.getLeftCache(); final QSequenceLineCache workLines = result.getRightCache(); final long sourceLength = baseLines.getLineCount() > 0 ? baseLines.getLine(baseLines.getLineCount() - 1).getTo() + 1 : 0; final long targetLength = workLines.getLineCount() > 0 ? workLines.getLine(workLines.getLineCount() - 1).getTo() + 1 : 0; final long newDataLength = determineNewDataLength(newDatas); final SVNDiffInstruction[] instructionsArray = (SVNDiffInstruction[])instructions.toArray(new SVNDiffInstruction[instructions.size()]); final OutputStream stream = consumer.textDeltaChunk(commitPath, new SVNDiffWindow(0, sourceLength, targetLength, instructionsArray, newDataLength)); sendData(newDatas, stream); stream.close(); consumer.textDeltaEnd(commitPath); } finally { result.close(); } }
|
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/423b029121eac259831a9f457de771fc183e1567/SVNSequenceDeltaGenerator.java/buggy/javasvn/src/org/tmatesoft/svn/core/io/diff/SVNSequenceDeltaGenerator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
741,
4625,
5938,
3829,
12,
780,
3294,
743,
16,
4437,
58,
50,
2849,
751,
1440,
812,
16,
4437,
58,
50,
2849,
751,
1026,
812,
16,
4437,
58,
50,
6946,
4765,
16,
509,
3778,
56,
3444,
16,
509,
585,
4131,
1225,
16,
1645,
1623,
6148,
17972,
16,
1387,
1906,
2853,
13,
1216,
1860,
16,
29537,
50,
503,
288,
202,
202,
6385,
2238,
4021,
1670,
1253,
563,
31,
202,
202,
698,
288,
1082,
202,
2088,
273,
2238,
4021,
1670,
5419,
18,
2640,
6450,
12,
2704,
29537,
50,
4021,
1670,
2849,
751,
12,
1969,
812,
3631,
394,
29537,
50,
4021,
1670,
2849,
751,
12,
1252,
812,
3631,
446,
16,
3778,
56,
3444,
16,
585,
4131,
1225,
16,
1623,
6148,
17972,
16,
1906,
2853,
1769,
202,
202,
97,
202,
202,
14683,
261,
53,
4021,
503,
431,
13,
288,
1082,
202,
12849,
394,
29537,
50,
503,
12,
338,
1769,
202,
202,
97,
202,
202,
698,
288,
1082,
202,
6385,
987,
12509,
273,
394,
2407,
5621,
1082,
202,
6385,
987,
394,
14305,
273,
394,
2407,
5621,
1082,
202,
2640,
26712,
12,
2088,
16,
12509,
16,
394,
14305,
1769,
1082,
202,
6385,
2238,
4021,
1670,
1649,
1026,
5763,
273,
563,
18,
588,
3910,
1649,
5621,
1082,
202,
6385,
2238,
4021,
1670,
1649,
1440,
5763,
273,
563,
18,
588,
4726,
1649,
5621,
1082,
202,
6385,
1525,
27406,
273,
1026,
5763,
18,
588,
1670,
1380,
1435,
405,
374,
692,
1026,
5763,
18,
588,
1670,
12,
1969,
5763,
18,
588,
1670,
1380,
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,
760,
918,
741,
4625,
5938,
3829,
12,
780,
3294,
743,
16,
4437,
58,
50,
2849,
751,
1440,
812,
16,
4437,
58,
50,
2849,
751,
1026,
812,
16,
4437,
58,
50,
6946,
4765,
16,
509,
3778,
56,
3444,
16,
509,
585,
4131,
1225,
16,
1645,
1623,
6148,
17972,
16,
1387,
1906,
2853,
13,
1216,
1860,
16,
29537,
50,
503,
288,
202,
202,
6385,
2238,
4021,
1670,
1253,
563,
31,
202,
202,
698,
288,
1082,
202,
2088,
273,
2238,
4021,
1670,
5419,
18,
2640,
6450,
12,
2704,
29537,
50,
4021,
1670,
2849,
751,
12,
1969,
812,
3631,
394,
29537,
50,
4021,
1670,
2849,
751,
12,
1252,
812,
3631,
446,
16,
3778,
56,
3444,
16,
585,
4131,
1225,
16,
2
] |
public boolean removeJobListener(String name) throws RemoteException;
|
boolean removeJobListener(String name) throws RemoteException;
|
public boolean removeJobListener(String name) throws RemoteException;
|
55677 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55677/cf7f5f77ce5bb6364145230d302b86f1cdadea88/RemotableQuartzScheduler.java/buggy/src/java/org/quartz/core/RemotableQuartzScheduler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1206,
2278,
2223,
12,
780,
508,
13,
1216,
18361,
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,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1206,
2278,
2223,
12,
780,
508,
13,
1216,
18361,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
getParent().getParent().validate();
|
Container p = getParent().getParent(); p.getLayout ().layoutContainer (p);
|
public void paint(Graphics g) { super.paint(g); getParent().getParent().validate(); }
|
1867 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1867/45d38bdfbe06b3cb7a25124dd25fcea23a14c4f0/HierarchyAdapter.java/clean/java/ImageProcessing/framework/HierarchyAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
12,
17558,
314,
13,
565,
288,
1377,
2240,
18,
84,
1598,
12,
75,
1769,
1377,
4039,
293,
273,
5089,
7675,
588,
3054,
5621,
293,
18,
588,
3744,
1832,
18,
6741,
2170,
261,
84,
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,
282,
1071,
918,
12574,
12,
17558,
314,
13,
565,
288,
1377,
2240,
18,
84,
1598,
12,
75,
1769,
1377,
4039,
293,
273,
5089,
7675,
588,
3054,
5621,
293,
18,
588,
3744,
1832,
18,
6741,
2170,
261,
84,
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
] |
addMenuItem(menu, m_itemShowLastMove, KeyEvent.VK_L, "show-last-move");
|
menu.addItem(m_itemShowLastMove, KeyEvent.VK_L, "show-last-move");
|
private JMenu createMenuConfigureBoard() { JMenu menu = new JMenu("Configure Board"); m_itemShowCursor = new JCheckBoxMenuItem("Show Cursor"); m_itemShowCursor.setSelected(true); addMenuItem(menu, m_itemShowCursor, KeyEvent.VK_C, "show-cursor"); m_itemShowGrid = new JCheckBoxMenuItem("Show Grid"); m_itemShowGrid.setSelected(true); addMenuItem(menu, m_itemShowGrid, KeyEvent.VK_G, "show-grid"); m_itemShowLastMove = new JCheckBoxMenuItem("Show Last Move"); m_itemShowLastMove.setSelected(true); addMenuItem(menu, m_itemShowLastMove, KeyEvent.VK_L, "show-last-move"); m_itemShowVariations = new JCheckBoxMenuItem("Show Variations"); m_itemShowVariations.setSelected(true); addMenuItem(menu, m_itemShowVariations, KeyEvent.VK_V, "show-variations"); m_itemBeepAfterMove = new JCheckBoxMenuItem("Beep After Move"); addMenuItem(menu, m_itemBeepAfterMove, KeyEvent.VK_B, "beep-after-move"); m_itemCommentFontFixed = new JCheckBoxMenuItem("Fixed Size Comment Font"); addMenuItem(menu, m_itemCommentFontFixed, KeyEvent.VK_F, "comment-font-fixed"); return menu; }
|
2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/d10ef3afb87b5fa533364efda721c197866c21a6/GoGuiMenuBar.java/buggy/src/net/sf/gogui/gogui/GoGuiMenuBar.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
804,
4599,
752,
4599,
11207,
22233,
1435,
565,
288,
3639,
804,
4599,
3824,
273,
394,
804,
4599,
2932,
11207,
17980,
1060,
8863,
3639,
312,
67,
1726,
5706,
6688,
273,
394,
804,
19174,
12958,
2932,
5706,
13949,
8863,
3639,
312,
67,
1726,
5706,
6688,
18,
542,
7416,
12,
3767,
1769,
3639,
527,
12958,
12,
5414,
16,
312,
67,
1726,
5706,
6688,
16,
23737,
18,
58,
47,
67,
39,
16,
10792,
315,
4500,
17,
9216,
8863,
3639,
312,
67,
1726,
5706,
6313,
273,
394,
804,
19174,
12958,
2932,
5706,
7145,
8863,
3639,
312,
67,
1726,
5706,
6313,
18,
542,
7416,
12,
3767,
1769,
3639,
527,
12958,
12,
5414,
16,
312,
67,
1726,
5706,
6313,
16,
23737,
18,
58,
47,
67,
43,
16,
315,
4500,
17,
5222,
8863,
3639,
312,
67,
1726,
5706,
3024,
7607,
273,
394,
804,
19174,
12958,
2932,
5706,
6825,
9933,
8863,
3639,
312,
67,
1726,
5706,
3024,
7607,
18,
542,
7416,
12,
3767,
1769,
3639,
527,
12958,
12,
5414,
16,
312,
67,
1726,
5706,
3024,
7607,
16,
23737,
18,
58,
47,
67,
48,
16,
10792,
315,
4500,
17,
2722,
17,
8501,
8863,
3639,
312,
67,
1726,
5706,
4205,
1012,
273,
394,
804,
19174,
12958,
2932,
5706,
11487,
1012,
8863,
3639,
312,
67,
1726,
5706,
4205,
1012,
18,
542,
7416,
12,
3767,
1769,
3639,
527,
12958,
12,
5414,
16,
312,
67,
1726,
5706,
4205,
1012,
16,
23737,
18,
58,
47,
67,
58,
16,
10792,
315,
4500,
17,
4093,
1012,
8863,
3639,
312,
67,
1726,
1919,
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,
804,
4599,
752,
4599,
11207,
22233,
1435,
565,
288,
3639,
804,
4599,
3824,
273,
394,
804,
4599,
2932,
11207,
17980,
1060,
8863,
3639,
312,
67,
1726,
5706,
6688,
273,
394,
804,
19174,
12958,
2932,
5706,
13949,
8863,
3639,
312,
67,
1726,
5706,
6688,
18,
542,
7416,
12,
3767,
1769,
3639,
527,
12958,
12,
5414,
16,
312,
67,
1726,
5706,
6688,
16,
23737,
18,
58,
47,
67,
39,
16,
10792,
315,
4500,
17,
9216,
8863,
3639,
312,
67,
1726,
5706,
6313,
273,
394,
804,
19174,
12958,
2932,
5706,
7145,
8863,
3639,
312,
67,
1726,
5706,
6313,
18,
542,
7416,
12,
3767,
1769,
3639,
527,
12958,
12,
5414,
16,
312,
67,
1726,
5706,
6313,
16,
23737,
18,
58,
47,
2
] |
addAttribute(symbol.toId(), true, writeable, true);
|
addAttribute(symbol.toId(), true, writeable, true);
|
public RubyObject m_attr(RubySymbol symbol, RubyObject[] args) { boolean writeable = false; if (args.length > 0) { writeable = args[0].isTrue(); } addAttribute(symbol.toId(), true, writeable, true); return getRuby().getNil(); }
|
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
312,
67,
1747,
12,
54,
10340,
5335,
3273,
16,
19817,
921,
8526,
833,
13,
288,
202,
202,
6494,
30223,
273,
629,
31,
202,
202,
430,
261,
1968,
18,
2469,
405,
374,
13,
288,
1082,
202,
2626,
429,
273,
833,
63,
20,
8009,
291,
5510,
5621,
202,
202,
97,
202,
202,
1289,
1499,
12,
7175,
18,
869,
548,
9334,
638,
16,
30223,
16,
638,
1769,
202,
202,
2463,
4170,
10340,
7675,
588,
12616,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
312,
67,
1747,
12,
54,
10340,
5335,
3273,
16,
19817,
921,
8526,
833,
13,
288,
202,
202,
6494,
30223,
273,
629,
31,
202,
202,
430,
261,
1968,
18,
2469,
405,
374,
13,
288,
1082,
202,
2626,
429,
273,
833,
63,
20,
8009,
291,
5510,
5621,
202,
202,
97,
202,
202,
1289,
1499,
12,
7175,
18,
869,
548,
9334,
638,
16,
30223,
16,
638,
1769,
202,
202,
2463,
4170,
10340,
7675,
588,
12616,
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
] |
public void tearDown() {
|
public void tearDown() throws Exception {
|
public void tearDown() { super.tearDown(); try { project.delete(true,true,null); File topDirectory = new File(localDirectory); deleteDirectory(topDirectory); } catch (CoreException e) { fail(e.toString()); } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/74dcdd59a7639efe020690d2407f78f16ab92af7/ImportOperationTestCase.java/buggy/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/datatransfer/ImportOperationTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
268,
2091,
4164,
1435,
288,
202,
202,
9565,
18,
736,
297,
4164,
5621,
202,
202,
698,
288,
1082,
202,
4406,
18,
3733,
12,
3767,
16,
3767,
16,
2011,
1769,
1082,
202,
812,
1760,
2853,
273,
394,
1387,
12,
3729,
2853,
1769,
1082,
202,
3733,
2853,
12,
3669,
2853,
1769,
202,
202,
97,
202,
202,
14683,
261,
25341,
425,
13,
288,
1082,
202,
6870,
12,
73,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
225,
202,
482,
918,
268,
2091,
4164,
1435,
288,
202,
202,
9565,
18,
736,
297,
4164,
5621,
202,
202,
698,
288,
1082,
202,
4406,
18,
3733,
12,
3767,
16,
3767,
16,
2011,
1769,
1082,
202,
812,
1760,
2853,
273,
394,
1387,
12,
3729,
2853,
1769,
1082,
202,
3733,
2853,
12,
3669,
2853,
1769,
202,
202,
97,
202,
202,
14683,
261,
25341,
425,
13,
288,
1082,
202,
6870,
12,
73,
18,
10492,
10663,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (prevOpCode == IMUL && seen == I2L) { int priority = NORMAL_PRIORITY;
|
if (seen == IMUL) { priority_for_ICAST_INTEGER_MULTIPLY_CAST_TO_LONG = NORMAL_PRIORITY;
|
public void sawOpcode(int seen) { stack.mergeJumps(this); if (prevOpCode == IMUL && seen == I2L) { int priority = NORMAL_PRIORITY; if (stack.getStackDepth() > 1) { OpcodeStack.Item item0 = stack.getStackItem(0); OpcodeStack.Item item1 = stack.getStackItem(1); priority = adjustPriority(item0.getConstant(), priority); priority = adjustPriority(item1.getConstant(), priority); if (item0.isInitialParameter() || item1.isInitialParameter()) priority--; } if (priority <= best_priority_for_ICAST_INTEGER_MULTIPLY_CAST_TO_LONG) { best_priority_for_ICAST_INTEGER_MULTIPLY_CAST_TO_LONG = priority; bugReporter.reportBug(new BugInstance(this, "ICAST_INTEGER_MULTIPLY_CAST_TO_LONG", priority) .addClassAndMethod(this) .addSourceLine(this)); } } if (getMethodName().equals("<clinit>") && (seen == PUTSTATIC || seen == GETSTATIC || seen == INVOKESTATIC)) { String clazz = getClassConstantOperand(); if (!clazz.equals(getClassName())) { try { JavaClass targetClass = Repository.lookupClass(clazz); if (Repository.instanceOf(targetClass, getThisClass())) { int priority = NORMAL_PRIORITY; if (seen == GETSTATIC) priority--; if (!targetClass.isPublic()) priority++; bugReporter.reportBug(new BugInstance(this, "IC_SUPERCLASS_USES_SUBCLASS_DURING_INITIALIZATION", priority) .addClassAndMethod(this).addClass(getDottedClassConstantOperand()) .addSourceLine(this) ); } } catch (ClassNotFoundException e) { // ignore it } } } if (false && (seen == INVOKEVIRTUAL) && getNameConstantOperand().equals("equals") && getSigConstantOperand().equals("(Ljava/lang/Object;)Z") && stack.getStackDepth() > 1) { OpcodeStack.Item item0 = stack.getStackItem(0); OpcodeStack.Item item1 = stack.getStackItem(1); if (item0.isArray() || item1.isArray()) { bugReporter.reportBug(new BugInstance("EC_BAD_ARRAY_COMPARE", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); } } if (seen >= IALOAD && seen <= SALOAD || seen >= IASTORE && seen <= SASTORE ) { Item index = stack.getStackItem(0); if (index.getSpecialKind() == Item.AVERAGE_COMPUTED_USING_DIVISION) bugReporter.reportBug(new BugInstance(this, "IM_AVERAGE_COMPUTATION_COULD_OVERFLOW", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); } if ((seen == IFEQ || seen == IFNE) && getPrevOpcode(1) == IMUL && ( getPrevOpcode(2) == SIPUSH || getPrevOpcode(2) == BIPUSH ) && getPrevOpcode(3) == IREM ) bugReporter.reportBug(new BugInstance(this, "IM_MULTIPLYING_RESULT_OF_IREM", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); if (seen == I2S && getPrevOpcode(1) == IUSHR && (!constantArgumentToShift || valueOfConstantArgumentToShift % 16 != 0) || seen == I2B && getPrevOpcode(1) == IUSHR && (!constantArgumentToShift || valueOfConstantArgumentToShift % 8 != 0) ) bugReporter.reportBug(new BugInstance(this, "ICAST_QUESTIONABLE_UNSIGNED_RIGHT_SHIFT", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); constantArgumentToShift = false; if ( (seen == IUSHR || seen == ISHR || seen == ISHL )) { if (stack.getStackDepth() <= 1) { // don't understand; lie so other detectors won't get concerned constantArgumentToShift = true; valueOfConstantArgumentToShift = 8; } else { Object rightHandSide = stack.getStackItem(0).getConstant(); Object leftHandSide = stack.getStackItem(1).getConstant(); if (rightHandSide instanceof Integer) { constantArgumentToShift = true; valueOfConstantArgumentToShift = ((Integer) rightHandSide); if (valueOfConstantArgumentToShift < 0 || valueOfConstantArgumentToShift >= 32) bugReporter.reportBug(new BugInstance(this, "ICAST_BAD_SHIFT_AMOUNT", valueOfConstantArgumentToShift < 0 ? LOW_PRIORITY : NORMAL_PRIORITY) .addClassAndMethod(this) .addInt(valueOfConstantArgumentToShift) .addSourceLine(this) ); } if (leftHandSide != null && leftHandSide instanceof Integer && ((Integer) leftHandSide) > 0) { // boring; lie so other detectors won't get concerned constantArgumentToShift = true; valueOfConstantArgumentToShift = 8; } } } if (seen == INVOKEVIRTUAL && stack.getStackDepth() > 0 && getClassConstantOperand().equals("java/util/Date") && getNameConstantOperand().equals("setMonth") && getSigConstantOperand().equals("(I)V")) { OpcodeStack.Item item = stack.getStackItem(0); Object o = item.getConstant(); if (o != null && o instanceof Integer) { int v = (Integer) o; if (v < 0 || v > 11) bugReporter.reportBug(new BugInstance(this, "DMI_BAD_MONTH", NORMAL_PRIORITY) .addClassAndMethod(this) .addInt(v) .addCalledMethod(this) .addSourceLine(this) ); } } if (seen == INVOKEVIRTUAL && stack.getStackDepth() > 1 && getClassConstantOperand().equals("java/util/Calendar") && getNameConstantOperand().equals("set") && getSigConstantOperand().equals("(III)V") || seen == INVOKESPECIAL && stack.getStackDepth() > 1 && getClassConstantOperand().equals("java/util/GregorianCalendar") && getNameConstantOperand().equals("<init>") && getSigConstantOperand().equals("(III)V") ) { OpcodeStack.Item item = stack.getStackItem(1); Object o = item.getConstant(); if (o != null && o instanceof Integer) { int v = (Integer) o; if (v < 0 || v > 11) bugReporter.reportBug(new BugInstance(this, "DMI_BAD_MONTH", NORMAL_PRIORITY) .addClassAndMethod(this) .addInt(v) .addCalledMethod(this) .addSourceLine(this) ); } } if (isRegisterStore() && (seen == ISTORE || seen == ISTORE_0 || seen == ISTORE_1 || seen == ISTORE_2 || seen == ISTORE_3) && getRegisterOperand() == prevOpcodeIncrementedRegister) { bugReporter.reportBug(new BugInstance(this, "DLS_OVERWRITTEN_INCREMENT", HIGH_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); } if (seen == IINC) { prevOpcodeIncrementedRegister = getRegisterOperand(); } else prevOpcodeIncrementedRegister = -1; // Java Puzzlers, Chapter 2, puzzle 1 // Look for ICONST_2 IREM ICONST_1 IF_ICMPNE L1 switch (badlyComputingOddState) { case 0: if (seen == ICONST_2) badlyComputingOddState++; break; case 1: if (seen == IREM) badlyComputingOddState++; else badlyComputingOddState = 0; break; case 2: if (seen == ICONST_1) badlyComputingOddState++; else badlyComputingOddState = 0; break; case 3: if (seen == IF_ICMPEQ || seen == IF_ICMPNE) bugReporter.reportBug(new BugInstance(this, "IM_BAD_CHECK_FOR_ODD", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); badlyComputingOddState = 0; break; } // Java Puzzlers, chapter 3, puzzle 12 if (seen == INVOKEVIRTUAL && stack.getStackDepth() > 0 && (getNameConstantOperand().equals("toString") && getSigConstantOperand().equals("()Ljava/lang/String;") || getNameConstantOperand().equals("append") && getSigConstantOperand().equals("(Ljava/lang/Object;)Ljava/lang/StringBuilder;") && getClassConstantOperand().equals("java/lang/StringBuilder") || getNameConstantOperand().equals("append") && getSigConstantOperand().equals("(Ljava/lang/Object;)Ljava/lang/StringBuffer;") && getClassConstantOperand().equals("java/lang/StringBuffer") ) ) { String classConstants = getClassConstantOperand(); OpcodeStack.Item item = stack.getStackItem(0); String signature = item.getSignature(); if (signature != null && signature.startsWith("[")) bugReporter.reportBug(new BugInstance(this, "DMI_INVOKING_TOSTRING_ON_ARRAY", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); } stack.sawOpcode(this,seen); prevOpCode = seen; }
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/045a2525b44b91dc54d27cf5aec19fc733a34f94/FindPuzzlers.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/FindPuzzlers.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1850,
1071,
918,
19821,
22808,
12,
474,
5881,
13,
288,
202,
202,
3772,
18,
2702,
46,
23868,
12,
2211,
1769,
9506,
202,
430,
261,
10001,
3817,
1085,
422,
6246,
1506,
597,
5881,
422,
467,
22,
48,
13,
288,
1082,
202,
474,
4394,
273,
16362,
67,
19804,
31,
1082,
202,
430,
261,
3772,
18,
588,
2624,
6148,
1435,
405,
404,
13,
288,
9506,
202,
22808,
2624,
18,
1180,
761,
20,
273,
2110,
18,
588,
2624,
1180,
12,
20,
1769,
9506,
202,
22808,
2624,
18,
1180,
761,
21,
273,
2110,
18,
588,
2624,
1180,
12,
21,
1769,
9506,
202,
8457,
273,
5765,
8183,
12,
1726,
20,
18,
588,
6902,
9334,
4394,
1769,
9506,
202,
8457,
273,
5765,
8183,
12,
1726,
21,
18,
588,
6902,
9334,
4394,
1769,
9506,
202,
430,
261,
1726,
20,
18,
291,
4435,
1662,
1435,
747,
761,
21,
18,
291,
4435,
1662,
10756,
6862,
202,
8457,
413,
31,
1082,
202,
97,
1082,
202,
430,
261,
8457,
1648,
3796,
67,
8457,
67,
1884,
67,
2871,
9053,
67,
14217,
67,
24683,
7076,
67,
21871,
67,
4296,
67,
14639,
13,
288,
9506,
202,
12729,
67,
8457,
67,
1884,
67,
2871,
9053,
67,
14217,
67,
24683,
7076,
67,
21871,
67,
4296,
67,
14639,
273,
4394,
31,
1082,
202,
925,
13289,
18,
6006,
19865,
12,
2704,
16907,
1442,
12,
2211,
16,
4405,
202,
6,
2871,
9053,
67,
14217,
67,
24683,
7076,
67,
21871,
67,
4296,
67,
14639,
3113,
4405,
202,
8457,
13,
25083,
202,
18,
1289,
797,
1876,
1305,
12,
2211,
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,
1850,
1071,
918,
19821,
22808,
12,
474,
5881,
13,
288,
202,
202,
3772,
18,
2702,
46,
23868,
12,
2211,
1769,
9506,
202,
430,
261,
10001,
3817,
1085,
422,
6246,
1506,
597,
5881,
422,
467,
22,
48,
13,
288,
1082,
202,
474,
4394,
273,
16362,
67,
19804,
31,
1082,
202,
430,
261,
3772,
18,
588,
2624,
6148,
1435,
405,
404,
13,
288,
9506,
202,
22808,
2624,
18,
1180,
761,
20,
273,
2110,
18,
588,
2624,
1180,
12,
20,
1769,
9506,
202,
22808,
2624,
18,
1180,
761,
21,
273,
2110,
18,
588,
2624,
1180,
12,
21,
1769,
9506,
202,
8457,
273,
5765,
8183,
12,
1726,
20,
18,
588,
6902,
9334,
4394,
1769,
9506,
202,
8457,
273,
5765,
8183,
12,
1726,
21,
2
] |
public String getClassName() { return "NativeMethod"; }
|
public String getClassName() { return "Function"; }
|
public String getClassName() { return "NativeMethod"; }
|
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/0173c9bc63775ad6cd805bdd444b98ffff91e41c/IdFunction.java/buggy/js/rhino/org/mozilla/javascript/IdFunction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
11819,
1435,
288,
327,
315,
9220,
1305,
14432,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
11819,
1435,
288,
327,
315,
9220,
1305,
14432,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (length == 0) return;
|
public final void read_wchar_array (final char[] value, final int offset, final int length) { if (length == 0) return; handle_chunking(); for(int j=offset; j < offset+length; j++) value[j] = read_wchar(); // inlining later... }
|
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/fabc23269d9480c09c95b5930ea7ba135b4d15de/CDRInputStream.java/buggy/src/org/jacorb/orb/CDRInputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
855,
67,
91,
3001,
67,
1126,
565,
261,
6385,
1149,
8526,
460,
16,
727,
509,
1384,
16,
727,
509,
769,
13,
565,
288,
3639,
309,
261,
2469,
422,
374,
13,
5411,
327,
31,
3639,
1640,
67,
6551,
310,
5621,
202,
1884,
12,
474,
525,
33,
3348,
31,
525,
411,
1384,
15,
2469,
31,
525,
27245,
202,
565,
460,
63,
78,
65,
273,
855,
67,
91,
3001,
5621,
368,
316,
7511,
310,
5137,
2777,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
727,
918,
855,
67,
91,
3001,
67,
1126,
565,
261,
6385,
1149,
8526,
460,
16,
727,
509,
1384,
16,
727,
509,
769,
13,
565,
288,
3639,
309,
261,
2469,
422,
374,
13,
5411,
327,
31,
3639,
1640,
67,
6551,
310,
5621,
202,
1884,
12,
474,
525,
33,
3348,
31,
525,
411,
1384,
15,
2469,
31,
525,
27245,
202,
565,
460,
63,
78,
65,
273,
855,
67,
91,
3001,
5621,
368,
316,
7511,
310,
5137,
2777,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
public InetAddress getAddress() {
|
public static InetAddress getAddress(String string) throws AccessControlException { String[] strings = string.split("\\."); InetAddress address; try { byte[] numbers = new byte[strings.length]; for (int i = 0; i < strings.length; i++) { int number = Integer.parseInt(strings[i]); if (number > 127) { number = number - 256; } numbers[i] = (byte) number; } address = InetAddress.getByAddress(numbers); } catch (Exception e) { throw new AccessControlException( "Failed to convert address [" + string + "]: ", e); }
|
public InetAddress getAddress() { return address; }
|
45951 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45951/40aaa0884258ed31a61f0966efdd13f273241b8f/Machine.java/buggy/src/java/org/apache/lenya/ac/Machine.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
14218,
14808,
12,
780,
533,
13,
1216,
24349,
503,
288,
514,
8526,
2064,
273,
533,
18,
4939,
2932,
1695,
1199,
1769,
225,
14218,
1758,
31,
775,
288,
1160,
8526,
5600,
273,
394,
1160,
63,
10219,
18,
2469,
15533,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2064,
18,
2469,
31,
277,
27245,
288,
509,
1300,
273,
2144,
18,
2670,
1702,
12,
10219,
63,
77,
19226,
309,
261,
2696,
405,
12331,
13,
288,
1300,
273,
1300,
300,
8303,
31,
289,
5600,
63,
77,
65,
273,
261,
7229,
13,
1300,
31,
289,
225,
1758,
273,
14218,
18,
588,
858,
1887,
12,
13851,
1769,
289,
1044,
261,
503,
425,
13,
288,
604,
394,
24349,
503,
12,
315,
2925,
358,
1765,
1758,
8247,
397,
533,
397,
9850,
30,
3104,
425,
1769,
289,
3639,
327,
1758,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
14218,
14808,
12,
780,
533,
13,
1216,
24349,
503,
288,
514,
8526,
2064,
273,
533,
18,
4939,
2932,
1695,
1199,
1769,
225,
14218,
1758,
31,
775,
288,
1160,
8526,
5600,
273,
394,
1160,
63,
10219,
18,
2469,
15533,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2064,
18,
2469,
31,
277,
27245,
288,
509,
1300,
273,
2144,
18,
2670,
1702,
12,
10219,
63,
77,
19226,
309,
261,
2696,
405,
12331,
13,
288,
1300,
273,
1300,
300,
8303,
31,
289,
5600,
63,
77,
65,
273,
261,
7229,
13,
1300,
31,
289,
225,
1758,
273,
14218,
18,
588,
858,
1887,
12,
13851,
1769,
289,
1044,
261,
503,
425,
13,
288,
604,
394,
24349,
503,
12,
315,
2925,
2
] |
/* RGFIX Element elChild = (Element) children.get(0); */
|
private void handleChildren(ElementInfo ei) { List children = ei.element.getChildren(); for(int i=0; i<children.size(); i++) { /* RGFIX Element elChild = (Element) children.get(0); */ Element elChild = (Element) children.get(i); String elName = elChild.getName(); if (elName.equals("complexType")) complexType = new ComplexTypeEntry(elChild, ei.file, ei.targetNS, ei.targetNSPrefix); else if (elName.equals("simpleType")) { simpleType = new SimpleTypeEntry(elChild, ei.file, ei.targetNS, ei.targetNSPrefix); } else if (elName.equals("key")) Logger.log("Skipping 'key' child in <element> element '"+ name +"'"); else Logger.log("Unknown child '" +elName+ "' in <element> element", ei); } }
|
53415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53415/4777bb92bb3d62130cc5d12eb39ac86879b09162/ElementEntry.java/clean/src/org/fao/geonet/kernel/schema/ElementEntry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
4212,
12,
1046,
966,
13247,
13,
202,
95,
202,
202,
682,
2325,
273,
13247,
18,
2956,
18,
588,
4212,
5621,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
277,
32,
5906,
18,
1467,
5621,
277,
27245,
202,
202,
95,
1082,
202,
20308,
534,
43,
4563,
1082,
202,
1046,
415,
1763,
273,
261,
1046,
13,
2325,
18,
588,
12,
20,
1769,
1082,
202,
5549,
1082,
202,
1046,
415,
1763,
273,
261,
1046,
13,
2325,
18,
588,
12,
77,
1769,
1082,
202,
780,
225,
415,
461,
225,
273,
415,
1763,
18,
17994,
5621,
1082,
202,
430,
261,
292,
461,
18,
14963,
2932,
14259,
559,
6,
3719,
9506,
202,
14259,
559,
273,
394,
16060,
559,
1622,
12,
292,
1763,
16,
13247,
18,
768,
16,
13247,
18,
3299,
3156,
16,
13247,
18,
3299,
3156,
2244,
1769,
1082,
202,
12107,
309,
261,
292,
461,
18,
14963,
2932,
9647,
559,
6,
3719,
1082,
202,
95,
9506,
202,
9647,
559,
273,
394,
4477,
559,
1622,
12,
292,
1763,
16,
13247,
18,
768,
16,
13247,
18,
3299,
3156,
16,
13247,
18,
3299,
3156,
2244,
1769,
1082,
202,
97,
1082,
202,
12107,
309,
261,
292,
461,
18,
14963,
2932,
856,
6,
3719,
9506,
202,
3328,
18,
1330,
2932,
16877,
296,
856,
11,
1151,
316,
411,
2956,
34,
930,
2119,
15,
508,
397,
6,
4970,
1769,
1082,
202,
12107,
9506,
202,
3328,
18,
1330,
2932,
4874,
1151,
2119,
397,
292,
461,
15,
2491,
316,
411,
2956,
34,
930,
3113,
13247,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
4212,
12,
1046,
966,
13247,
13,
202,
95,
202,
202,
682,
2325,
273,
13247,
18,
2956,
18,
588,
4212,
5621,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
277,
32,
5906,
18,
1467,
5621,
277,
27245,
202,
202,
95,
1082,
202,
20308,
534,
43,
4563,
1082,
202,
1046,
415,
1763,
273,
261,
1046,
13,
2325,
18,
588,
12,
20,
1769,
1082,
202,
5549,
1082,
202,
1046,
415,
1763,
273,
261,
1046,
13,
2325,
18,
588,
12,
77,
1769,
1082,
202,
780,
225,
415,
461,
225,
273,
415,
1763,
18,
17994,
5621,
1082,
202,
430,
261,
292,
461,
18,
14963,
2932,
14259,
559,
6,
3719,
9506,
202,
14259,
559,
273,
394,
16060,
559,
1622,
2
] |
|
buffer.append( "Description of Mojo" ).append( "\n-----------------------------------------------" ) .append( "\n\n" );
|
buffer.append( "Mojo: \'" ).append( md.getFullGoalName() ).append( '\'' ); buffer.append( "\n-----------------------------------------------" ); buffer.append( "\nGoal: \'" ).append( md.getGoal() ).append( "\'" );
|
private void describeMojo( MojoDescriptor md, StringBuffer buffer ) { buffer.append( "Description of Mojo" ).append( "\n-----------------------------------------------" ) .append( "\n\n" ); describeMojoGuts( md, buffer ); }
|
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/a96c8a76924706558fed67a6d2729c02723cd34f/DescribeMojo.java/buggy/maven-plugins/maven-projecthelp-plugin/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6401,
49,
10007,
12,
15931,
3187,
3481,
16,
6674,
1613,
262,
565,
288,
3639,
1613,
18,
6923,
12,
315,
3291,
434,
15931,
6,
262,
18,
6923,
12,
1548,
82,
2443,
18753,
6,
262,
5411,
263,
6923,
12,
1548,
82,
64,
82,
6,
11272,
3639,
6401,
49,
10007,
43,
12940,
12,
3481,
16,
1613,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
6401,
49,
10007,
12,
15931,
3187,
3481,
16,
6674,
1613,
262,
565,
288,
3639,
1613,
18,
6923,
12,
315,
3291,
434,
15931,
6,
262,
18,
6923,
12,
1548,
82,
2443,
18753,
6,
262,
5411,
263,
6923,
12,
1548,
82,
64,
82,
6,
11272,
3639,
6401,
49,
10007,
43,
12940,
12,
3481,
16,
1613,
11272,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
writer.outputline("int " + dest.getSafeSymbol() +
|
writer.outputline("int " + dest.getSafeSymbol() +"=0;"); writer.outputline("if ("+leftd.getSafeSymbol()+")"); writer.outputline(dest.getSafeSymbol() +
|
public void generate(CodeWriter writer, VarDescriptor dest) { VarDescriptor leftd = VarDescriptor.makeNew("left"); writer.output("// " + leftd.getSafeSymbol() + " <-- "); left.prettyPrint(writer); writer.outputline(""); left.generate(writer, leftd); writer.output("// " + leftd.getSafeSymbol() + " = "); left.prettyPrint(writer); writer.outputline(""); StructureTypeDescriptor struct = (StructureTypeDescriptor) left.getType(); Expr intindex = index; Expr offsetbits; // #ATTN#: getOffsetExpr needs to be called with the fielddescriptor obect that is in teh vector list // this means that if the field is an arraydescriptor you have to call getOffsetExpr with the array // descriptor not the underlying field descriptor /* we calculate the offset in bits */ offsetbits = struct.getOffsetExpr(fd); if (fd instanceof ArrayDescriptor) { fd = ((ArrayDescriptor) fd).getField(); } if (intindex != null) { if (intindex instanceof IntegerLiteralExpr && ((IntegerLiteralExpr) intindex).getValue() == 0) { /* short circuit for constant 0 */ } else { Expr basesize = fd.getBaseSizeExpr(); offsetbits = new OpExpr(Opcode.ADD, offsetbits, new OpExpr(Opcode.MULT, basesize, intindex)); } } final SymbolTable st = writer.getSymbolTable(); TypeDescriptor td = offsetbits.typecheck(new SemanticAnalyzer() { public IRErrorReporter getErrorReporter() { throw new IRException("badness"); } public SymbolTable getSymbolTable() { return st; } }); if (td == null) { throw new IRException(); } else if (td != ReservedTypeDescriptor.INT) { throw new IRException(); } // #TBD#: ptr's to bits and byte's and stuff are a little iffy... // right now, a bit* is the same as a int* = short* = byte* (that is there // is no post-derefernce mask) // #ATTN#: do we handle int* correctly? what is the correct behavior? we automatically // dereference pointers, but for structures that means that if we have a nested structure // we return an integer address to that nested structure. if we have a pointer to a // structure else where we want that base address ... yeah so we *(int *) it... ok we are // correct boolean dotypecheck = false; if (offsetbits instanceof IntegerLiteralExpr) { int offsetinbits = ((IntegerLiteralExpr) offsetbits).getValue(); int offset = offsetinbits >> 3; /* offset in bytes */ if (fd.getType() instanceof ReservedTypeDescriptor && !fd.getPtr()) { int shift = offsetinbits - (offset << 3); int mask = bitmask(((IntegerLiteralExpr)fd.getType().getSizeExpr()).getValue()); /* type var = ((*(int *) (base + offset)) >> shift) & mask */ writer.outputline(getType().getGenerateType() + " " + dest.getSafeSymbol() + " = ((*(int *)" + "(" + leftd.getSafeSymbol() + " + " + offset + ")) " + " >> " + shift + ") & 0x" + Integer.toHexString(mask) + ";"); } else { /* a structure address or a ptr! */ String ptr = fd.getPtr() ? "*(int *)" : ""; /* type var = [*(int *)] (base + offset) */ // #ATTN: was 'getType.getGeneratedType()' instead of 'int' but all pointers are represented // by integers writer.outputline("int " + dest.getSafeSymbol() + " = " + ptr + "(" + leftd.getSafeSymbol() + " + " + offset + ");"); dotypecheck = true; } } else { /* offset in bits is an expression that must be generated */ VarDescriptor ob = VarDescriptor.makeNew("offsetinbits"); writer.output("// " + ob.getSafeSymbol() + " <-- "); offsetbits.prettyPrint(writer); writer.outputline(""); offsetbits.generate(writer, ob); writer.output("// " + ob.getSafeSymbol() + " = "); offsetbits.prettyPrint(writer); writer.outputline(""); /* derive offset in bytes */ VarDescriptor offset = VarDescriptor.makeNew("offset"); writer.outputline("int " + offset.getSafeSymbol() + " = " + ob.getSafeSymbol() + " >> 3;"); if (fd.getType() instanceof ReservedTypeDescriptor && !fd.getPtr()) { VarDescriptor shift = VarDescriptor.makeNew("shift"); writer.outputline("int " + shift.getSafeSymbol() + " = " + ob.getSafeSymbol() + " - (" + offset.getSafeSymbol() + " << 3);"); int mask = bitmask(((IntegerLiteralExpr)fd.getType().getSizeExpr()).getValue()); /* type var = ((*(int *) (base + offset)) >> shift) & mask */ writer.outputline(getType().getGenerateType() + " " + dest.getSafeSymbol() + " = ((*(int *)" + "(" + leftd.getSafeSymbol() + " + " + offset.getSafeSymbol() + ")) " + " >> " + shift.getSafeSymbol() + ") & 0x" + Integer.toHexString(mask) + ";"); } else { /* a structure address or a ptr */ String ptr = fd.getPtr() ? "*(int *)" : ""; /* type var = [*(int *)] (base + offset) */ // #ATTN: was 'getType.getGeneratedType()' instead of 'int' but all pointers are represented // by integers writer.outputline("int " + dest.getSafeSymbol() + " = " + ptr + "(" + leftd.getSafeSymbol() + " + " + offset.getSafeSymbol() + ");"); dotypecheck = true; } } if (dotypecheck) { /* typemap checks! */ // dest is 'low' // high is 'low' + sizeof(fd.getDataStructure) <<< can be cached!! // #ATTN#: we need to get the size of the fieldtype (if its a label the type of the label, not the // underlying field's type Expr sizeofexpr = fieldtype.getSizeExpr(); VarDescriptor sizeof = VarDescriptor.makeNew("sizeof"); sizeofexpr.generate(writer, sizeof); String low = dest.getSafeSymbol(); String high = VarDescriptor.makeNew("high").getSafeSymbol(); writer.outputline("int " + high + " = " + low + " + " + sizeof.getSafeSymbol() + ";"); writer.outputline("assertvalidmemory(" + low + ", " + high + ");"); // we need to null value check and conditionalize the rest of the rule... we'll use a hack // here where we store the number of indents in this class... and then provide a static // method to unwind... //writer.outputline("// assertvalidmemory "); //DotExpr.memoryindents++; //writer.outputline("if (" + dest.getSafeSymbol() + " != NULL)"); //writer.startblock(); } }
|
2866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2866/72f0409a3895c59f6407ea54fd92b1ebfb13a641/DotExpr.java/buggy/RepairCompiler/MCC/IR/DotExpr.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2103,
12,
1085,
2289,
2633,
16,
4562,
3187,
1570,
13,
288,
3639,
4562,
3187,
2002,
72,
273,
4562,
3187,
18,
6540,
1908,
2932,
4482,
8863,
3639,
2633,
18,
2844,
2932,
759,
315,
397,
225,
2002,
72,
18,
588,
9890,
5335,
1435,
397,
315,
411,
413,
315,
1769,
3639,
2002,
18,
19073,
5108,
12,
6299,
1769,
3639,
2633,
18,
2844,
1369,
2932,
8863,
3639,
2002,
18,
7163,
12,
6299,
16,
2002,
72,
1769,
3639,
2633,
18,
2844,
2932,
759,
315,
397,
225,
2002,
72,
18,
588,
9890,
5335,
1435,
397,
315,
273,
315,
1769,
3639,
2002,
18,
19073,
5108,
12,
6299,
1769,
3639,
2633,
18,
2844,
1369,
2932,
8863,
2868,
13348,
559,
3187,
1958,
273,
261,
6999,
559,
3187,
13,
2002,
18,
588,
559,
5621,
7734,
8074,
509,
1615,
273,
770,
31,
3639,
8074,
1384,
6789,
31,
3639,
368,
468,
789,
56,
50,
7,
30,
13386,
4742,
4260,
358,
506,
2566,
598,
326,
7314,
292,
449,
2263,
3768,
386,
716,
353,
316,
6489,
76,
3806,
666,
3639,
368,
333,
4696,
716,
309,
326,
652,
353,
392,
526,
12628,
1846,
1240,
358,
745,
13386,
4742,
598,
326,
526,
540,
368,
4950,
486,
326,
6808,
652,
4950,
3639,
1748,
732,
4604,
326,
1384,
316,
4125,
1195,
3639,
1384,
6789,
273,
1958,
18,
588,
2335,
4742,
12,
8313,
1769,
3639,
309,
261,
8313,
1276,
1510,
3187,
13,
288,
5411,
5194,
273,
14015,
1076,
3187,
13,
5194,
2934,
588,
974,
5621,
3639,
289,
1171,
309,
261,
474,
1615,
480,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2103,
12,
1085,
2289,
2633,
16,
4562,
3187,
1570,
13,
288,
3639,
4562,
3187,
2002,
72,
273,
4562,
3187,
18,
6540,
1908,
2932,
4482,
8863,
3639,
2633,
18,
2844,
2932,
759,
315,
397,
225,
2002,
72,
18,
588,
9890,
5335,
1435,
397,
315,
411,
413,
315,
1769,
3639,
2002,
18,
19073,
5108,
12,
6299,
1769,
3639,
2633,
18,
2844,
1369,
2932,
8863,
3639,
2002,
18,
7163,
12,
6299,
16,
2002,
72,
1769,
3639,
2633,
18,
2844,
2932,
759,
315,
397,
225,
2002,
72,
18,
588,
9890,
5335,
1435,
397,
315,
273,
315,
1769,
3639,
2002,
18,
19073,
5108,
12,
6299,
1769,
3639,
2633,
18,
2844,
1369,
2932,
8863,
2868,
13348,
559,
3187,
1958,
273,
261,
6999,
2
] |
if (editingComponent == null) configureEditingComponent(tree, renderer, realEditor); timer.stop(); realEditor.cancelCellEditing(); tree.setCellEditor(null);
|
public void cancelCellEditing() { // TODO }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa6d4551020d668e0117627b6c897b57ffb692b6/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
309,
261,
4619,
310,
1841,
422,
446,
13,
5068,
28029,
1841,
12,
3413,
16,
5690,
16,
2863,
6946,
1769,
225,
5441,
18,
5681,
5621,
2863,
6946,
18,
10996,
4020,
28029,
5621,
2151,
18,
542,
4020,
6946,
12,
2011,
1769,
309,
261,
4619,
310,
1841,
422,
446,
13,
5068,
28029,
1841,
12,
3413,
16,
5690,
16,
2863,
6946,
1769,
225,
5441,
18,
5681,
5621,
2863,
6946,
18,
10996,
4020,
28029,
5621,
2151,
18,
542,
4020,
6946,
12,
2011,
1769,
1071,
430,
261,
4619,
310,
1841,
422,
446,
13,
5068,
28029,
1841,
12,
3413,
16,
5690,
16,
2863,
6946,
1769,
225,
5441,
18,
5681,
5621,
2863,
6946,
18,
10996,
4020,
28029,
5621,
2151,
18,
542,
4020,
6946,
12,
2011,
1769,
918,
430,
261,
4619,
310,
1841,
422,
446,
13,
5068,
28029,
1841,
12,
3413,
16,
5690,
16,
2863,
6946,
1769,
225,
5441,
18,
5681,
5621,
2863,
6946,
18,
10996,
4020,
28029,
5621,
2151,
18,
542,
4020,
6946,
12,
2011,
1769,
3755,
4020,
28029,
1435,
430,
261,
4619,
310,
1841,
422,
446,
13,
5068,
28029,
1841,
12,
3413,
16,
5690,
16,
2863,
6946,
1769,
225,
5441,
18,
5681,
5621,
2863,
6946,
18,
10996,
4020,
28029,
5621,
2151,
18,
542,
4020,
6946,
12,
2011,
1769,
309,
261,
4619,
310,
1841,
422,
446,
13,
5068,
28029,
1841,
12,
3413,
16,
5690,
16,
2863,
6946,
1769,
225,
5441,
18,
5681,
5621,
2863,
6946,
18,
10996,
4020,
28029,
5621,
2151,
18,
542,
4020,
6946,
12,
2011,
1769,
288,
202,
202,
759,
430,
261,
4619,
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,
309,
261,
4619,
310,
1841,
422,
446,
13,
5068,
28029,
1841,
12,
3413,
16,
5690,
16,
2863,
6946,
1769,
225,
5441,
18,
5681,
5621,
2863,
6946,
18,
10996,
4020,
28029,
5621,
2151,
18,
542,
4020,
6946,
12,
2011,
1769,
309,
261,
4619,
310,
1841,
422,
446,
13,
5068,
28029,
1841,
12,
3413,
16,
5690,
16,
2863,
6946,
1769,
225,
5441,
18,
5681,
5621,
2863,
6946,
18,
10996,
4020,
28029,
5621,
2151,
18,
542,
4020,
6946,
12,
2011,
1769,
1071,
430,
261,
4619,
310,
1841,
422,
446,
13,
5068,
28029,
1841,
12,
3413,
16,
5690,
16,
2863,
6946,
1769,
225,
5441,
18,
5681,
5621,
2863,
6946,
18,
10996,
4020,
28029,
5621,
2151,
18,
542,
4020,
6946,
12,
2011,
1769,
918,
2
] |
|
private static synchronized Calendar getCalendar() {
|
private static synchronized Calendar getCalendar() {
|
private static synchronized Calendar getCalendar() { if (cal == null) cal = Calendar.getInstance(); return cal; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
3852,
5542,
28623,
1435,
288,
202,
202,
430,
261,
771,
422,
446,
13,
1082,
202,
771,
273,
5542,
18,
588,
1442,
5621,
202,
202,
2463,
1443,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1152,
760,
3852,
5542,
28623,
1435,
288,
202,
202,
430,
261,
771,
422,
446,
13,
1082,
202,
771,
273,
5542,
18,
588,
1442,
5621,
202,
202,
2463,
1443,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
case 222: metadata.put("Compression", data); break; case 258: metadata.put("BlackValue", data); break; case 259: metadata.put("WhiteValue", data); break; case 260: metadata.put("ImageDataMappingAutoRange", data); break; case 261: metadata.put("Thumbnail", data); break; case 262: metadata.put("GammaValue", data); break; case 264: metadata.put("ImageOverExposure", data); break; case 265: metadata.put("ImageRelativeTime1", data); break; case 266: metadata.put("ImageRelativeTime2", data); break; case 267: metadata.put("ImageRelativeTime3", data); break; case 268: metadata.put("ImageRelativeTime4", data); break; case 333: metadata.put("RelFocusPosition1", data); break; case 334: metadata.put("RelFocusPosition2", data); break; case 513: metadata.put("tagID_513", data); break; case 515: metadata.put("ImageWidth", data); break; case 516: metadata.put("ImageHeight", data); break; case 517: metadata.put("tagID_517", data); break; case 518: metadata.put("PixelType", data); break; case 519: metadata.put("NumberOfRawImages", data); break; case 520: metadata.put("ImageSize", data); break; case 523: metadata.put("Acquisition pause annotation", data); break; case 530: metadata.put("Document Subtype", data); break; case 531: metadata.put("Acquisition Bit Depth", data); break; case 532: metadata.put("Image Memory Usage (RAM)", data); break; case 534: metadata.put("Z-Stack single representative", data); break; case 769: metadata.put("Scale Factor for X", data); break; case 770: metadata.put("Scale Unit for X", data); break; case 771: metadata.put("Scale Width", data); break; case 772: metadata.put("Scale Factor for Y", data); break; case 773: metadata.put("Scale Unit for Y", data); break; case 774: metadata.put("Scale Height", data); break; case 775: metadata.put("Scale Factor for Z", data); break; case 776: metadata.put("Scale Unit for Z", data); break; case 777: metadata.put("Scale Depth", data); break; case 778: metadata.put("Scaling Parent", data); break; case 1001: metadata.put("Date", data); break; case 1002: metadata.put("code", data); break; case 1003: metadata.put("Source", data); break; case 1004: metadata.put("Message", data); break; case 1025: metadata.put("Acquisition Date", data); break; case 1026: metadata.put("8-bit acquisition", data); break; case 1027: metadata.put("Camera Bit Depth", data); break; case 1029: metadata.put("MonoReferenceLow", data); break; case 1030: metadata.put("MonoReferenceHigh", data); break; case 1031: metadata.put("RedReferenceLow", data); break; case 1032: metadata.put("RedReferenceHigh", data); break; case 1033: metadata.put("GreenReferenceLow", data); break; case 1034: metadata.put("GreenReferenceHigh", data); break; case 1035: metadata.put("BlueReferenceLow", data); break; case 1036: metadata.put("BlueReferenceHigh", data); break; case 1041: metadata.put("FrameGrabber Name", data); break; case 1042: metadata.put("Camera", data); break; case 1044: metadata.put("CameraTriggerSignalType", data); break; case 1045: metadata.put("CameraTriggerEnable", data); break; case 1046: metadata.put("GrabberTimeout", data); break; case 1281: metadata.put("MultiChannelEnabled", data); break; case 1282: metadata.put("MultiChannel Color", data); break; case 1283: metadata.put("MultiChannel Weight", data); break; case 1284: metadata.put("Channel Name", data); break; case 1536: metadata.put("DocumentInformationGroup", data); break; case 1537: metadata.put("Title", data); break; case 1538: metadata.put("Author", data); break; case 1539: metadata.put("Keywords", data); break; case 1540: metadata.put("Comments", data); break; case 1541: metadata.put("SampleID", data); break; case 1542: metadata.put("Subject", data); break; case 1543: metadata.put("RevisionNumber", data); break; case 1544: metadata.put("Save Folder", data); break; case 1545: metadata.put("FileLink", data); break; case 1546: metadata.put("Document Type", data); break; case 1547: metadata.put("Storage Media", data); break; case 1548: metadata.put("File ID", data); break; case 1549: metadata.put("Reference", data); break; case 1550: metadata.put("File Date", data); break; case 1551: metadata.put("File Size", data); break; case 1553: metadata.put("Filename", data); break; case 1792: metadata.put("ProjectGroup", data); break; case 1793: metadata.put("Acquisition Date", data); break; case 1794: metadata.put("Last modified by", data); break; case 1795: metadata.put("User company", data); break; case 1796: metadata.put("User company logo", data); break; case 1797: metadata.put("Image", data); break; case 1800: metadata.put("User ID", data); break; case 1801: metadata.put("User Name", data); break; case 1802: metadata.put("User City", data); break; case 1803: metadata.put("User Address", data); break; case 1804: metadata.put("User Country", data); break; case 1805: metadata.put("User Phone", data); break; case 1806: metadata.put("User Fax", data); break; case 2049: metadata.put("Objective Name", data); break; case 2050: metadata.put("Optovar", data); break; case 2051: metadata.put("Reflector", data); break; case 2052: metadata.put("Condenser Contrast", data); break; case 2053: metadata.put("Transmitted Light Filter 1", data); break; case 2054: metadata.put("Transmitted Light Filter 2", data); break; case 2055: metadata.put("Reflected Light Shutter", data); break; case 2056: metadata.put("Condenser Front Lens", data); break; case 2057: metadata.put("Excitation Filter Name", data); break; case 2060: metadata.put("Transmitted Light Fieldstop Aperture", data); break; case 2061: metadata.put("Reflected Light Aperture", data); break; case 2062: metadata.put("Condenser N.A.", data); break; case 2063: metadata.put("Light Path", data); break; case 2064: metadata.put("HalogenLampOn", data); break; case 2065: metadata.put("Halogen Lamp Mode", data); break; case 2066: metadata.put("Halogen Lamp Voltage", data); break; case 2068: metadata.put("Fluorescence Lamp Level", data); break; case 2069: metadata.put("Fluorescence Lamp Intensity", data); break; case 2070: metadata.put("LightManagerEnabled", data); break; case 2071: metadata.put("tag_ID_2071", data); break; case 2072: metadata.put("Focus Position", data); break; case 2073: metadata.put("Stage Position X", data); break; case 2074: metadata.put("Stage Position Y", data); break; case 2075: metadata.put("Microscope Name", data); break; case 2076: metadata.put("Objective Magnification", data); break; case 2077: metadata.put("Objective N.A.", data); break; case 2078: metadata.put("MicroscopeIllumination", data); break; case 2079: metadata.put("External Shutter 1", data); break; case 2080: metadata.put("External Shutter 2", data); break; case 2081: metadata.put("External Shutter 3", data); break; case 2082: metadata.put("External Filter Wheel 1 Name", data); break; case 2083: metadata.put("External Filter Wheel 2 Name", data); break; case 2084: metadata.put("Parfocal Correction", data); break; case 2086: metadata.put("External Shutter 4", data); break; case 2087: metadata.put("External Shutter 5", data); break; case 2088: metadata.put("External Shutter 6", data); break; case 2089: metadata.put("External Filter Wheel 3 Name", data); break; case 2090: metadata.put("External Filter Wheel 4 Name", data); break; case 2103: metadata.put("Objective Turret Position", data); break; case 2104: metadata.put("Objective Contrast Method", data); break; case 2105: metadata.put("Objective Immersion Type", data); break; case 2107: metadata.put("Reflector Position", data); break; case 2109: metadata.put("Transmitted Light Filter 1 Position", data); break; case 2110: metadata.put("Transmitted Light Filter 2 Position", data); break; case 2112: metadata.put("Excitation Filter Position", data); break; case 2113: metadata.put("Lamp Mirror Position", data); break; case 2114: metadata.put("External Filter Wheel 1 Position", data); break; case 2115: metadata.put("External Filter Wheel 2 Position", data); break; case 2116: metadata.put("External Filter Wheel 3 Position", data); break; case 2117: metadata.put("External Filter Wheel 4 Position", data); break; case 2118: metadata.put("Lightmanager Mode", data); break; case 2119: metadata.put("Halogen Lamp Calibration", data); break; case 2120: metadata.put("CondenserNAGoSpeed", data); break; case 2121: metadata.put("TransmittedLightFieldstopGoSpeed", data); break; case 2122: metadata.put("OptovarGoSpeed", data); break; case 2123: metadata.put("Focus calibrated", data); break; case 2124: metadata.put("FocusBasicPosition", data); break; case 2125: metadata.put("FocusPower", data); break; case 2126: metadata.put("FocusBacklash", data); break; case 2127: metadata.put("FocusMeasurementOrigin", data); break; case 2128: metadata.put("FocusMeasurementDistance", data); break; case 2129: metadata.put("FocusSpeed", data); break; case 2130: metadata.put("FocusGoSpeed", data); break; case 2131: metadata.put("FocusDistance", data); break; case 2132: metadata.put("FocusInitPosition", data); break; case 2133: metadata.put("Stage calibrated", data); break; case 2134: metadata.put("StagePower", data); break; case 2135: metadata.put("StageXBacklash", data); break; case 2136: metadata.put("StageYBacklash", data); break; case 2137: metadata.put("StageSpeedX", data); break; case 2138: metadata.put("StageSpeedY", data); break; case 2139: metadata.put("StageSpeed", data); break; case 2140: metadata.put("StageGoSpeedX", data); break; case 2141: metadata.put("StageGoSpeedY", data); break; case 2142: metadata.put("StageStepDistanceX", data); break; case 2143: metadata.put("StageStepDistanceY", data); break; case 2144: metadata.put("StageInitialisationPositionX", data); break; case 2145: metadata.put("StageInitialisationPositionY", data); break; case 2146: metadata.put("MicroscopeMagnification", data); break; case 2147: metadata.put("ReflectorMagnification", data); break; case 2148: metadata.put("LampMirrorPosition", data); break; case 2149: metadata.put("FocusDepth", data); break; case 2150: metadata.put("MicroscopeType", data); break; case 2151: metadata.put("Objective Working Distance", data); break; case 2152: metadata.put("ReflectedLightApertureGoSpeed", data); break; case 2153: metadata.put("External Shutter", data); break; case 2154: metadata.put("ObjectiveImmersionStop", data); break; case 2155: metadata.put("Focus Start Speed", data); break; case 2156: metadata.put("Focus Acceleration", data); break; case 2157: metadata.put("ReflectedLightFieldstop", data); break; case 2158: metadata.put("ReflectedLightFieldstopGoSpeed", data); break; case 2159: metadata.put("ReflectedLightFilter 1", data); break; case 2160: metadata.put("ReflectedLightFilter 2", data); break; case 2161: metadata.put("ReflectedLightFilter1Position", data); break; case 2162: metadata.put("ReflectedLightFilter2Position", data); break; case 2163: metadata.put("TransmittedLightAttenuator", data); break; case 2164: metadata.put("ReflectedLightAttenuator", data); break; case 2165: metadata.put("Transmitted Light Shutter", data); break; case 2166: metadata.put("TransmittedLightAttenuatorGoSpeed", data); break; case 2167: metadata.put("ReflectedLightAttenuatorGoSpeed", data); break; case 2176: metadata.put("TransmittedLightVirtualFilterPosition", data); break; case 2177: metadata.put("TransmittedLightVirtualFilter", data); break; case 2178: metadata.put("ReflectedLightVirtualFilterPosition", data); break; case 2179: metadata.put("ReflectedLightVirtualFilter", data); break; case 2180: metadata.put("ReflectedLightHalogenLampMode", data); break; case 2181: metadata.put("ReflectedLightHalogenLampVoltage", data); break;
|
case 222: metadata.put("Compression", data); break; case 258: metadata.put("BlackValue", data); break; case 259: metadata.put("WhiteValue", data); break; case 260: metadata.put("ImageDataMappingAutoRange", data); break; case 261: metadata.put("Thumbnail", data); break; case 262: metadata.put("GammaValue", data); break; case 264: metadata.put("ImageOverExposure", data); break; case 265: metadata.put("ImageRelativeTime1", data); break; case 266: metadata.put("ImageRelativeTime2", data); break; case 267: metadata.put("ImageRelativeTime3", data); break; case 268: metadata.put("ImageRelativeTime4", data); break; case 333: metadata.put("RelFocusPosition1", data); break; case 334: metadata.put("RelFocusPosition2", data); break; case 513: metadata.put("tagID_513", data); break; case 515: metadata.put("ImageWidth", data); break; case 516: metadata.put("ImageHeight", data); break; case 517: metadata.put("tagID_517", data); break; case 518: metadata.put("PixelType", data); break; case 519: metadata.put("NumberOfRawImages", data); break; case 520: metadata.put("ImageSize", data); break; case 523: metadata.put("Acquisition pause annotation", data); break; case 530: metadata.put("Document Subtype", data); break; case 531: metadata.put("Acquisition Bit Depth", data); break; case 532: metadata.put("Image Memory Usage (RAM)", data); break; case 534: metadata.put("Z-Stack single representative", data); break; case 769: metadata.put("Scale Factor for X", data); break; case 770: metadata.put("Scale Unit for X", data); break; case 771: metadata.put("Scale Width", data); break; case 772: metadata.put("Scale Factor for Y", data); break; case 773: metadata.put("Scale Unit for Y", data); break; case 774: metadata.put("Scale Height", data); break; case 775: metadata.put("Scale Factor for Z", data); break; case 776: metadata.put("Scale Unit for Z", data); break; case 777: metadata.put("Scale Depth", data); break; case 778: metadata.put("Scaling Parent", data); break; case 1001: metadata.put("Date", data); break; case 1002: metadata.put("code", data); break; case 1003: metadata.put("Source", data); break; case 1004: metadata.put("Message", data); break; case 1025: metadata.put("Acquisition Date", data); break; case 1026: metadata.put("8-bit acquisition", data); break; case 1027: metadata.put("Camera Bit Depth", data); break; case 1029: metadata.put("MonoReferenceLow", data); break; case 1030: metadata.put("MonoReferenceHigh", data); break; case 1031: metadata.put("RedReferenceLow", data); break; case 1032: metadata.put("RedReferenceHigh", data); break; case 1033: metadata.put("GreenReferenceLow", data); break; case 1034: metadata.put("GreenReferenceHigh", data); break; case 1035: metadata.put("BlueReferenceLow", data); break; case 1036: metadata.put("BlueReferenceHigh", data); break; case 1041: metadata.put("FrameGrabber Name", data); break; case 1042: metadata.put("Camera", data); break; case 1044: metadata.put("CameraTriggerSignalType", data); break; case 1045: metadata.put("CameraTriggerEnable", data); break; case 1046: metadata.put("GrabberTimeout", data); break; case 1281: metadata.put("MultiChannelEnabled", data); break; case 1282: metadata.put("MultiChannel Color", data); break; case 1283: metadata.put("MultiChannel Weight", data); break; case 1284: metadata.put("Channel Name", data); break; case 1536: metadata.put("DocumentInformationGroup", data); break; case 1537: metadata.put("Title", data); break; case 1538: metadata.put("Author", data); break; case 1539: metadata.put("Keywords", data); break; case 1540: metadata.put("Comments", data); break; case 1541: metadata.put("SampleID", data); break; case 1542: metadata.put("Subject", data); break; case 1543: metadata.put("RevisionNumber", data); break; case 1544: metadata.put("Save Folder", data); break; case 1545: metadata.put("FileLink", data); break; case 1546: metadata.put("Document Type", data); break; case 1547: metadata.put("Storage Media", data); break; case 1548: metadata.put("File ID", data); break; case 1549: metadata.put("Reference", data); break; case 1550: metadata.put("File Date", data); break; case 1551: metadata.put("File Size", data); break; case 1553: metadata.put("Filename", data); break; case 1792: metadata.put("ProjectGroup", data); break; case 1793: metadata.put("Acquisition Date", data); break; case 1794: metadata.put("Last modified by", data); break; case 1795: metadata.put("User company", data); break; case 1796: metadata.put("User company logo", data); break; case 1797: metadata.put("Image", data); break; case 1800: metadata.put("User ID", data); break; case 1801: metadata.put("User Name", data); break; case 1802: metadata.put("User City", data); break; case 1803: metadata.put("User Address", data); break; case 1804: metadata.put("User Country", data); break; case 1805: metadata.put("User Phone", data); break; case 1806: metadata.put("User Fax", data); break; case 2049: metadata.put("Objective Name", data); break; case 2050: metadata.put("Optovar", data); break; case 2051: metadata.put("Reflector", data); break; case 2052: metadata.put("Condenser Contrast", data); break; case 2053: metadata.put("Transmitted Light Filter 1", data); break; case 2054: metadata.put("Transmitted Light Filter 2", data); break; case 2055: metadata.put("Reflected Light Shutter", data); break; case 2056: metadata.put("Condenser Front Lens", data); break; case 2057: metadata.put("Excitation Filter Name", data); break; case 2060: metadata.put("Transmitted Light Fieldstop Aperture", data); break; case 2061: metadata.put("Reflected Light Aperture", data); break; case 2062: metadata.put("Condenser N.A.", data); break; case 2063: metadata.put("Light Path", data); break; case 2064: metadata.put("HalogenLampOn", data); break; case 2065: metadata.put("Halogen Lamp Mode", data); break; case 2066: metadata.put("Halogen Lamp Voltage", data); break; case 2068: metadata.put("Fluorescence Lamp Level", data); break; case 2069: metadata.put("Fluorescence Lamp Intensity", data); break; case 2070: metadata.put("LightManagerEnabled", data); break; case 2071: metadata.put("tag_ID_2071", data); break; case 2072: metadata.put("Focus Position", data); break; case 2073: metadata.put("Stage Position X", data); break; case 2074: metadata.put("Stage Position Y", data); break; case 2075: metadata.put("Microscope Name", data); break; case 2076: metadata.put("Objective Magnification", data); break; case 2077: metadata.put("Objective N.A.", data); break; case 2078: metadata.put("MicroscopeIllumination", data); break; case 2079: metadata.put("External Shutter 1", data); break; case 2080: metadata.put("External Shutter 2", data); break; case 2081: metadata.put("External Shutter 3", data); break; case 2082: metadata.put("External Filter Wheel 1 Name", data); break; case 2083: metadata.put("External Filter Wheel 2 Name", data); break; case 2084: metadata.put("Parfocal Correction", data); break; case 2086: metadata.put("External Shutter 4", data); break; case 2087: metadata.put("External Shutter 5", data); break; case 2088: metadata.put("External Shutter 6", data); break; case 2089: metadata.put("External Filter Wheel 3 Name", data); break; case 2090: metadata.put("External Filter Wheel 4 Name", data); break; case 2103: metadata.put("Objective Turret Position", data); break; case 2104: metadata.put("Objective Contrast Method", data); break; case 2105: metadata.put("Objective Immersion Type", data); break; case 2107: metadata.put("Reflector Position", data); break; case 2109: metadata.put("Transmitted Light Filter 1 Position", data); break; case 2110: metadata.put("Transmitted Light Filter 2 Position", data); break; case 2112: metadata.put("Excitation Filter Position", data); break; case 2113: metadata.put("Lamp Mirror Position", data); break; case 2114: metadata.put("External Filter Wheel 1 Position", data); break; case 2115: metadata.put("External Filter Wheel 2 Position", data); break; case 2116: metadata.put("External Filter Wheel 3 Position", data); break; case 2117: metadata.put("External Filter Wheel 4 Position", data); break; case 2118: metadata.put("Lightmanager Mode", data); break; case 2119: metadata.put("Halogen Lamp Calibration", data); break; case 2120: metadata.put("CondenserNAGoSpeed", data); break; case 2121: metadata.put("TransmittedLightFieldstopGoSpeed", data); break; case 2122: metadata.put("OptovarGoSpeed", data); break; case 2123: metadata.put("Focus calibrated", data); break; case 2124: metadata.put("FocusBasicPosition", data); break; case 2125: metadata.put("FocusPower", data); break; case 2126: metadata.put("FocusBacklash", data); break; case 2127: metadata.put("FocusMeasurementOrigin", data); break; case 2128: metadata.put("FocusMeasurementDistance", data); break; case 2129: metadata.put("FocusSpeed", data); break; case 2130: metadata.put("FocusGoSpeed", data); break; case 2131: metadata.put("FocusDistance", data); break; case 2132: metadata.put("FocusInitPosition", data); break; case 2133: metadata.put("Stage calibrated", data); break; case 2134: metadata.put("StagePower", data); break; case 2135: metadata.put("StageXBacklash", data); break; case 2136: metadata.put("StageYBacklash", data); break; case 2137: metadata.put("StageSpeedX", data); break; case 2138: metadata.put("StageSpeedY", data); break; case 2139: metadata.put("StageSpeed", data); break; case 2140: metadata.put("StageGoSpeedX", data); break; case 2141: metadata.put("StageGoSpeedY", data); break; case 2142: metadata.put("StageStepDistanceX", data); break; case 2143: metadata.put("StageStepDistanceY", data); break; case 2144: metadata.put("StageInitialisationPositionX", data); break; case 2145: metadata.put("StageInitialisationPositionY", data); break; case 2146: metadata.put("MicroscopeMagnification", data); break; case 2147: metadata.put("ReflectorMagnification", data); break; case 2148: metadata.put("LampMirrorPosition", data); break; case 2149: metadata.put("FocusDepth", data); break; case 2150: metadata.put("MicroscopeType", data); break; case 2151: metadata.put("Objective Working Distance", data); break; case 2152: metadata.put("ReflectedLightApertureGoSpeed", data); break; case 2153: metadata.put("External Shutter", data); break; case 2154: metadata.put("ObjectiveImmersionStop", data); break; case 2155: metadata.put("Focus Start Speed", data); break; case 2156: metadata.put("Focus Acceleration", data); break; case 2157: metadata.put("ReflectedLightFieldstop", data); break; case 2158: metadata.put("ReflectedLightFieldstopGoSpeed", data); break; case 2159: metadata.put("ReflectedLightFilter 1", data); break; case 2160: metadata.put("ReflectedLightFilter 2", data); break; case 2161: metadata.put("ReflectedLightFilter1Position", data); break; case 2162: metadata.put("ReflectedLightFilter2Position", data); break; case 2163: metadata.put("TransmittedLightAttenuator", data); break; case 2164: metadata.put("ReflectedLightAttenuator", data); break; case 2165: metadata.put("Transmitted Light Shutter", data); break; case 2166: metadata.put("TransmittedLightAttenuatorGoSpeed", data); break; case 2167: metadata.put("ReflectedLightAttenuatorGoSpeed", data); break; case 2176: metadata.put("TransmittedLightVirtualFilterPosition", data); break; case 2177: metadata.put("TransmittedLightVirtualFilter", data); break; case 2178: metadata.put("ReflectedLightVirtualFilterPosition", data); break; case 2179: metadata.put("ReflectedLightVirtualFilter", data); break; case 2180: metadata.put("ReflectedLightHalogenLampMode", data); break; case 2181: metadata.put("ReflectedLightHalogenLampVoltage", data); break;
|
private void parseTag(String data, int tagID, int attribute) { switch (tagID) { case 222: metadata.put("Compression", data); break; case 258: metadata.put("BlackValue", data); break; case 259: metadata.put("WhiteValue", data); break; case 260: metadata.put("ImageDataMappingAutoRange", data); break; case 261: metadata.put("Thumbnail", data); break; case 262: metadata.put("GammaValue", data); break; case 264: metadata.put("ImageOverExposure", data); break; case 265: metadata.put("ImageRelativeTime1", data); break; case 266: metadata.put("ImageRelativeTime2", data); break; case 267: metadata.put("ImageRelativeTime3", data); break; case 268: metadata.put("ImageRelativeTime4", data); break; case 333: metadata.put("RelFocusPosition1", data); break; case 334: metadata.put("RelFocusPosition2", data); break; case 513: metadata.put("tagID_513", data); break; case 515: metadata.put("ImageWidth", data); break; case 516: metadata.put("ImageHeight", data); break; case 517: metadata.put("tagID_517", data); break; case 518: metadata.put("PixelType", data); break; case 519: metadata.put("NumberOfRawImages", data); break; case 520: metadata.put("ImageSize", data); break; case 523: metadata.put("Acquisition pause annotation", data); break; case 530: metadata.put("Document Subtype", data); break; case 531: metadata.put("Acquisition Bit Depth", data); break; case 532: metadata.put("Image Memory Usage (RAM)", data); break; case 534: metadata.put("Z-Stack single representative", data); break; case 769: metadata.put("Scale Factor for X", data); break; case 770: metadata.put("Scale Unit for X", data); break; case 771: metadata.put("Scale Width", data); break; case 772: metadata.put("Scale Factor for Y", data); break; case 773: metadata.put("Scale Unit for Y", data); break; case 774: metadata.put("Scale Height", data); break; case 775: metadata.put("Scale Factor for Z", data); break; case 776: metadata.put("Scale Unit for Z", data); break; case 777: metadata.put("Scale Depth", data); break; case 778: metadata.put("Scaling Parent", data); break; case 1001: metadata.put("Date", data); break; case 1002: metadata.put("code", data); break; case 1003: metadata.put("Source", data); break; case 1004: metadata.put("Message", data); break; case 1025: metadata.put("Acquisition Date", data); break; case 1026: metadata.put("8-bit acquisition", data); break; case 1027: metadata.put("Camera Bit Depth", data); break; case 1029: metadata.put("MonoReferenceLow", data); break; case 1030: metadata.put("MonoReferenceHigh", data); break; case 1031: metadata.put("RedReferenceLow", data); break; case 1032: metadata.put("RedReferenceHigh", data); break; case 1033: metadata.put("GreenReferenceLow", data); break; case 1034: metadata.put("GreenReferenceHigh", data); break; case 1035: metadata.put("BlueReferenceLow", data); break; case 1036: metadata.put("BlueReferenceHigh", data); break; case 1041: metadata.put("FrameGrabber Name", data); break; case 1042: metadata.put("Camera", data); break; case 1044: metadata.put("CameraTriggerSignalType", data); break; case 1045: metadata.put("CameraTriggerEnable", data); break; case 1046: metadata.put("GrabberTimeout", data); break; case 1281: metadata.put("MultiChannelEnabled", data); break; case 1282: metadata.put("MultiChannel Color", data); break; case 1283: metadata.put("MultiChannel Weight", data); break; case 1284: metadata.put("Channel Name", data); break; case 1536: metadata.put("DocumentInformationGroup", data); break; case 1537: metadata.put("Title", data); break; case 1538: metadata.put("Author", data); break; case 1539: metadata.put("Keywords", data); break; case 1540: metadata.put("Comments", data); break; case 1541: metadata.put("SampleID", data); break; case 1542: metadata.put("Subject", data); break; case 1543: metadata.put("RevisionNumber", data); break; case 1544: metadata.put("Save Folder", data); break; case 1545: metadata.put("FileLink", data); break; case 1546: metadata.put("Document Type", data); break; case 1547: metadata.put("Storage Media", data); break; case 1548: metadata.put("File ID", data); break; case 1549: metadata.put("Reference", data); break; case 1550: metadata.put("File Date", data); break; case 1551: metadata.put("File Size", data); break; case 1553: metadata.put("Filename", data); break; case 1792: metadata.put("ProjectGroup", data); break; case 1793: metadata.put("Acquisition Date", data); break; case 1794: metadata.put("Last modified by", data); break; case 1795: metadata.put("User company", data); break; case 1796: metadata.put("User company logo", data); break; case 1797: metadata.put("Image", data); break; case 1800: metadata.put("User ID", data); break; case 1801: metadata.put("User Name", data); break; case 1802: metadata.put("User City", data); break; case 1803: metadata.put("User Address", data); break; case 1804: metadata.put("User Country", data); break; case 1805: metadata.put("User Phone", data); break; case 1806: metadata.put("User Fax", data); break; case 2049: metadata.put("Objective Name", data); break; case 2050: metadata.put("Optovar", data); break; case 2051: metadata.put("Reflector", data); break; case 2052: metadata.put("Condenser Contrast", data); break; case 2053: metadata.put("Transmitted Light Filter 1", data); break; case 2054: metadata.put("Transmitted Light Filter 2", data); break; case 2055: metadata.put("Reflected Light Shutter", data); break; case 2056: metadata.put("Condenser Front Lens", data); break; case 2057: metadata.put("Excitation Filter Name", data); break; case 2060: metadata.put("Transmitted Light Fieldstop Aperture", data); break; case 2061: metadata.put("Reflected Light Aperture", data); break; case 2062: metadata.put("Condenser N.A.", data); break; case 2063: metadata.put("Light Path", data); break; case 2064: metadata.put("HalogenLampOn", data); break; case 2065: metadata.put("Halogen Lamp Mode", data); break; case 2066: metadata.put("Halogen Lamp Voltage", data); break; case 2068: metadata.put("Fluorescence Lamp Level", data); break; case 2069: metadata.put("Fluorescence Lamp Intensity", data); break; case 2070: metadata.put("LightManagerEnabled", data); break; case 2071: metadata.put("tag_ID_2071", data); break; case 2072: metadata.put("Focus Position", data); break; case 2073: metadata.put("Stage Position X", data); break; case 2074: metadata.put("Stage Position Y", data); break; case 2075: metadata.put("Microscope Name", data); break; case 2076: metadata.put("Objective Magnification", data); break; case 2077: metadata.put("Objective N.A.", data); break; case 2078: metadata.put("MicroscopeIllumination", data); break; case 2079: metadata.put("External Shutter 1", data); break; case 2080: metadata.put("External Shutter 2", data); break; case 2081: metadata.put("External Shutter 3", data); break; case 2082: metadata.put("External Filter Wheel 1 Name", data); break; case 2083: metadata.put("External Filter Wheel 2 Name", data); break; case 2084: metadata.put("Parfocal Correction", data); break; case 2086: metadata.put("External Shutter 4", data); break; case 2087: metadata.put("External Shutter 5", data); break; case 2088: metadata.put("External Shutter 6", data); break; case 2089: metadata.put("External Filter Wheel 3 Name", data); break; case 2090: metadata.put("External Filter Wheel 4 Name", data); break; case 2103: metadata.put("Objective Turret Position", data); break; case 2104: metadata.put("Objective Contrast Method", data); break; case 2105: metadata.put("Objective Immersion Type", data); break; case 2107: metadata.put("Reflector Position", data); break; case 2109: metadata.put("Transmitted Light Filter 1 Position", data); break; case 2110: metadata.put("Transmitted Light Filter 2 Position", data); break; case 2112: metadata.put("Excitation Filter Position", data); break; case 2113: metadata.put("Lamp Mirror Position", data); break; case 2114: metadata.put("External Filter Wheel 1 Position", data); break; case 2115: metadata.put("External Filter Wheel 2 Position", data); break; case 2116: metadata.put("External Filter Wheel 3 Position", data); break; case 2117: metadata.put("External Filter Wheel 4 Position", data); break; case 2118: metadata.put("Lightmanager Mode", data); break; case 2119: metadata.put("Halogen Lamp Calibration", data); break; case 2120: metadata.put("CondenserNAGoSpeed", data); break; case 2121: metadata.put("TransmittedLightFieldstopGoSpeed", data); break; case 2122: metadata.put("OptovarGoSpeed", data); break; case 2123: metadata.put("Focus calibrated", data); break; case 2124: metadata.put("FocusBasicPosition", data); break; case 2125: metadata.put("FocusPower", data); break; case 2126: metadata.put("FocusBacklash", data); break; case 2127: metadata.put("FocusMeasurementOrigin", data); break; case 2128: metadata.put("FocusMeasurementDistance", data); break; case 2129: metadata.put("FocusSpeed", data); break; case 2130: metadata.put("FocusGoSpeed", data); break; case 2131: metadata.put("FocusDistance", data); break; case 2132: metadata.put("FocusInitPosition", data); break; case 2133: metadata.put("Stage calibrated", data); break; case 2134: metadata.put("StagePower", data); break; case 2135: metadata.put("StageXBacklash", data); break; case 2136: metadata.put("StageYBacklash", data); break; case 2137: metadata.put("StageSpeedX", data); break; case 2138: metadata.put("StageSpeedY", data); break; case 2139: metadata.put("StageSpeed", data); break; case 2140: metadata.put("StageGoSpeedX", data); break; case 2141: metadata.put("StageGoSpeedY", data); break; case 2142: metadata.put("StageStepDistanceX", data); break; case 2143: metadata.put("StageStepDistanceY", data); break; case 2144: metadata.put("StageInitialisationPositionX", data); break; case 2145: metadata.put("StageInitialisationPositionY", data); break; case 2146: metadata.put("MicroscopeMagnification", data); break; case 2147: metadata.put("ReflectorMagnification", data); break; case 2148: metadata.put("LampMirrorPosition", data); break; case 2149: metadata.put("FocusDepth", data); break; case 2150: metadata.put("MicroscopeType", data); break; case 2151: metadata.put("Objective Working Distance", data); break; case 2152: metadata.put("ReflectedLightApertureGoSpeed", data); break; case 2153: metadata.put("External Shutter", data); break; case 2154: metadata.put("ObjectiveImmersionStop", data); break; case 2155: metadata.put("Focus Start Speed", data); break; case 2156: metadata.put("Focus Acceleration", data); break; case 2157: metadata.put("ReflectedLightFieldstop", data); break; case 2158: metadata.put("ReflectedLightFieldstopGoSpeed", data); break; case 2159: metadata.put("ReflectedLightFilter 1", data); break; case 2160: metadata.put("ReflectedLightFilter 2", data); break; case 2161: metadata.put("ReflectedLightFilter1Position", data); break; case 2162: metadata.put("ReflectedLightFilter2Position", data); break; case 2163: metadata.put("TransmittedLightAttenuator", data); break; case 2164: metadata.put("ReflectedLightAttenuator", data); break; case 2165: metadata.put("Transmitted Light Shutter", data); break; case 2166: metadata.put("TransmittedLightAttenuatorGoSpeed", data); break; case 2167: metadata.put("ReflectedLightAttenuatorGoSpeed", data); break; case 2176: metadata.put("TransmittedLightVirtualFilterPosition", data); break; case 2177: metadata.put("TransmittedLightVirtualFilter", data); break; case 2178: metadata.put("ReflectedLightVirtualFilterPosition", data); break; case 2179: metadata.put("ReflectedLightVirtualFilter", data); break; case 2180: metadata.put("ReflectedLightHalogenLampMode", data); break; case 2181: metadata.put("ReflectedLightHalogenLampVoltage", data); break; case 2182: metadata.put("ReflectedLightHalogenLampColorTemperature", data); break; case 2183: metadata.put("ContrastManagerMode", data); break; case 2184: metadata.put("Dazzle Protection Active", data); break; case 2195: metadata.put("Zoom", data); break; case 2196: metadata.put("ZoomGoSpeed", data); break; case 2197: metadata.put("LightZoom", data); break; case 2198: metadata.put("LightZoomGoSpeed", data); break; case 2199: metadata.put("LightZoomCoupled", data); break; case 2200: metadata.put("TransmittedLightHalogenLampMode", data); break; case 2201: metadata.put("TransmittedLightHalogenLampVoltage", data); break; case 2202: metadata.put("TransmittedLightHalogenLampColorTemperature", data); break; case 2203: metadata.put("Reflected Coldlight Mode", data); break; case 2204: metadata.put("Reflected Coldlight Intensity", data); break; case 2205: metadata.put("Reflected Coldlight Color Temperature", data); break; case 2206: metadata.put("Transmitted Coldlight Mode", data); break; case 2207: metadata.put("Transmitted Coldlight Intensity", data); break; case 2208: metadata.put("Transmitted Coldlight Color Temperature", data); break; case 2209: metadata.put("Infinityspace Portchanger Position", data); break; case 2210: metadata.put("Beamsplitter Infinity Space", data); break; case 2211: metadata.put("TwoTv VisCamChanger Position", data); break; case 2212: metadata.put("Beamsplitter Ocular", data); break; case 2213: metadata.put("TwoTv CamerasChanger Position", data); break; case 2214: metadata.put("Beamsplitter Cameras", data); break; case 2215: metadata.put("Ocular Shutter", data); break; case 2216: metadata.put("TwoTv CamerasChangerCube", data); break; case 2218: metadata.put("Ocular Magnification", data); break; case 2219: metadata.put("Camera Adapter Magnification", data); break; case 2220: metadata.put("Microscope Port", data); break; case 2221: metadata.put("Ocular Total Magnification", data); break; case 2222: metadata.put("Field of View", data); break; case 2223: metadata.put("Ocular", data); break; case 2224: metadata.put("CameraAdapter", data); break; case 2225: metadata.put("StageJoystickEnabled", data); break; case 2226: metadata.put("ContrastManager Contrast Method", data); break; case 2229: metadata.put("CamerasChanger Beamsplitter Type", data); break; case 2235: metadata.put("Rearport Slider Position", data); break; case 2236: metadata.put("Rearport Source", data); break; case 2237: metadata.put("Beamsplitter Type Infinity Space", data); break; case 2238: metadata.put("Fluorescence Attenuator", data); break; case 2239: metadata.put("Fluorescence Attenuator Position", data); break; case 2261: metadata.put("Objective ID", data); break; case 2262: metadata.put("Reflector ID", data); break; case 2307: metadata.put("Camera Framestart Left", data); break; case 2308: metadata.put("Camera Framestart Top", data); break; case 2309: metadata.put("Camera Frame Width", data); break; case 2310: metadata.put("Camera Frame Height", data); break; case 2311: metadata.put("Camera Binning", data); break; case 2312: metadata.put("CameraFrameFull", data); break; case 2313: metadata.put("CameraFramePixelDistance", data); break; case 2318: metadata.put("DataFormatUseScaling", data); break; case 2319: metadata.put("CameraFrameImageOrientation", data); break; case 2320: metadata.put("VideoMonochromeSignalType", data); break; case 2321: metadata.put("VideoColorSignalType", data); break; case 2322: metadata.put("MeteorChannelInput", data); break; case 2323: metadata.put("MeteorChannelSync", data); break; case 2324: metadata.put("WhiteBalanceEnabled", data); break; case 2325: metadata.put("CameraWhiteBalanceRed", data); break; case 2326: metadata.put("CameraWhiteBalanceGreen", data); break; case 2327: metadata.put("CameraWhiteBalanceBlue", data); break; case 2331: metadata.put("CameraFrameScalingFactor", data); break; case 2562: metadata.put("Meteor Camera Type", data); break; case 2564: metadata.put("Exposure Time [ms]", data); break; case 2568: metadata.put("CameraExposureTimeAutoCalculate", data); break; case 2569: metadata.put("Meteor Gain Value", data); break; case 2571: metadata.put("Meteor Gain Automatic", data); break; case 2572: metadata.put("MeteorAdjustHue", data); break; case 2573: metadata.put("MeteorAdjustSaturation", data); break; case 2574: metadata.put("MeteorAdjustRedLow", data); break; case 2575: metadata.put("MeteorAdjustGreenLow", data); break; case 2576: metadata.put("Meteor Blue Low", data); break; case 2577: metadata.put("MeteorAdjustRedHigh", data); break; case 2578: metadata.put("MeteorAdjustGreenHigh", data); break; case 2579: metadata.put("MeteorBlue High", data); break; case 2582: metadata.put("CameraExposureTimeCalculationControl", data); break; case 2585: metadata.put("AxioCamFadingCorrectionEnable", data); break; case 2587: metadata.put("CameraLiveImage", data); break; case 2588: metadata.put("CameraLiveEnabled", data); break; case 2589: metadata.put("LiveImageSyncObjectName", data); break; case 2590: metadata.put("CameraLiveSpeed", data); break; case 2591: metadata.put("CameraImage", data); break; case 2592: metadata.put("CameraImageWidth", data); break; case 2593: metadata.put("CameraImageHeight", data); break; case 2594: metadata.put("CameraImagePixelType", data); break; case 2595: metadata.put("CameraImageShMemoryName", data); break; case 2596: metadata.put("CameraLiveImageWidth", data); break; case 2597: metadata.put("CameraLiveImageHeight", data); break; case 2598: metadata.put("CameraLiveImagePixelType", data); break; case 2599: metadata.put("CameraLiveImageShMemoryName", data); break; case 2600: metadata.put("CameraLiveMaximumSpeed", data); break; case 2601: metadata.put("CameraLiveBinning", data); break; case 2602: metadata.put("CameraLiveGainValue", data); break; case 2603: metadata.put("CameraLiveExposureTimeValue", data); break; case 2604: metadata.put("CameraLiveScalingFactor", data); break; case 2819: metadata.put("Image Index Z", data); break; case 2820: metadata.put("Image Channel Index", data); break; case 2821: metadata.put("Image Index T", data); break; case 2822: metadata.put("ImageTile Index", data); break; case 2823: metadata.put("Image acquisition Index", data); break; case 2827: metadata.put("Image IndexS", data); break; case 2841: metadata.put("Original Stage Position X", data); break; case 2842: metadata.put("Original Stage Position Y", data); break; case 3088: metadata.put("LayerDrawFlags", data); break; case 3334: metadata.put("RemainingTime", data); break; case 3585: metadata.put("User Field 1", data); break; case 3586: metadata.put("User Field 2", data); break; case 3587: metadata.put("User Field 3", data); break; case 3588: metadata.put("User Field 4", data); break; case 3589: metadata.put("User Field 5", data); break; case 3590: metadata.put("User Field 6", data); break; case 3591: metadata.put("User Field 7", data); break; case 3592: metadata.put("User Field 8", data); break; case 3593: metadata.put("User Field 9", data); break; case 3594: metadata.put("User Field 10", data); break; case 3840: metadata.put("ID", data); break; case 3841: metadata.put("Name", data); break; case 3842: metadata.put("Value", data); break; case 5501: metadata.put("PvCamClockingMode", data); break; case 8193: metadata.put("Autofocus Status Report", data); break; case 8194: metadata.put("Autofocus Position", data); break; case 8195: metadata.put("Autofocus Position Offset", data); break; case 8196: metadata.put("Autofocus Empty Field Threshold", data); break; case 8197: metadata.put("Autofocus Calibration Name", data); break; case 8198: metadata.put("Autofocus Current Calibration Item", data); break; case 20478: metadata.put("tag_ID_20478", data); break; case 65537: metadata.put("CameraFrameFullWidth", data); break; case 65538: metadata.put("CameraFrameFullHeight", data); break; case 65541: metadata.put("AxioCam Shutter Signal", data); break; case 65542: metadata.put("AxioCam Delay Time", data); break; case 65543: metadata.put("AxioCam Shutter Control", data); break; case 65544: metadata.put("AxioCam BlackRefIsCalculated", data); break; case 65545: metadata.put("AxioCam Black Reference", data); break; case 65547: metadata.put("Camera Shading Correction", data); break; case 65550: metadata.put("AxioCam Enhance Color", data); break; case 65551: metadata.put("AxioCam NIR Mode", data); break; case 65552: metadata.put("CameraShutterCloseDelay", data); break; case 65553: metadata.put("CameraWhiteBalanceAutoCalculate", data); break; case 65556: metadata.put("AxioCam NIR Mode Available", data); break; case 65557: metadata.put("AxioCam Fading Correction Available", data); break; case 65559: metadata.put("AxioCam Enhance Color Available", data); break; case 65565: metadata.put("MeteorVideoNorm", data); break; case 65566: metadata.put("MeteorAdjustWhiteReference", data); break; case 65567: metadata.put("MeteorBlackReference", data); break; case 65568: metadata.put("MeteorChannelInputCountMono", data); break; case 65570: metadata.put("MeteorChannelInputCountRGB", data); break; case 65571: metadata.put("MeteorEnableVCR", data); break; case 65572: metadata.put("Meteor Brightness", data); break; case 65573: metadata.put("Meteor Contrast", data); break; case 65575: metadata.put("AxioCam Selector", data); break; case 65576: metadata.put("AxioCam Type", data); break; case 65577: metadata.put("AxioCam Info", data); break; case 65580: metadata.put("AxioCam Resolution", data); break; case 65581: metadata.put("AxioCam Color Model", data); break; case 65582: metadata.put("AxioCam MicroScanning", data); break; case 65585: metadata.put("Amplification Index", data); break; case 65586: metadata.put("Device Command", data); break; case 65587: metadata.put("BeamLocation", data); break; case 65588: metadata.put("ComponentType", data); break; case 65589: metadata.put("ControllerType", data); break; case 65590: metadata.put("CameraWhiteBalanceCalculationRedPaint", data); break; case 65591: metadata.put("CameraWhiteBalanceCalculationBluePaint", data); break; case 65592: metadata.put("CameraWhiteBalanceSetRed", data); break; case 65593: metadata.put("CameraWhiteBalanceSetGreen", data); break; case 65594: metadata.put("CameraWhiteBalanceSetBlue", data); break; case 65595: metadata.put("CameraWhiteBalanceSetTargetRed", data); break; case 65596: metadata.put("CameraWhiteBalanceSetTargetGreen", data); break; case 65597: metadata.put("CameraWhiteBalanceSetTargetBlue", data); break; case 65598: metadata.put("ApotomeCamCalibrationMode", data); break; case 65599: metadata.put("ApoTome Grid Position", data); break; case 65600: metadata.put("ApotomeCamScannerPosition", data); break; case 65601: metadata.put("ApoTome Full Phase Shift", data); break; case 65602: metadata.put("ApoTome Grid Name", data); break; case 65603: metadata.put("ApoTome Staining", data); break; case 65604: metadata.put("ApoTome Processing Mode", data); break; case 65605: metadata.put("ApotmeCamLiveCombineMode", data); break; case 65606: metadata.put("ApoTome Filter Name", data); break; case 65607: metadata.put("Apotome Filter Strength", data); break; case 65608: metadata.put("ApotomeCamFilterHarmonics", data); break; case 65609: metadata.put("ApoTome Grating Period", data); break; case 65610: metadata.put("ApoTome Auto Shutter Used", data); break; case 65611: metadata.put("Apotome Cam Status", data); break; case 65612: metadata.put("ApotomeCamNormalize", data); break; case 65613: metadata.put("ApotomeCamSettingsManager", data); break; case 65614: metadata.put("DeepviewCamSupervisorMode", data); break; case 65615: metadata.put("DeepView Processing", data); break; case 65616: metadata.put("DeepviewCamFilterName", data); break; case 65617: metadata.put("DeepviewCamStatus", data); break; case 65618: metadata.put("DeepviewCamSettingsManager", data); break; case 65619: metadata.put("DeviceScalingName", data); break; case 65620: metadata.put("CameraShadingIsCalculated", data); break; case 65621: metadata.put("CameraShadingCalculationName", data); break; case 65622: metadata.put("CameraShadingAutoCalculate", data); break; case 65623: metadata.put("CameraTriggerAvailable", data); break; case 65626: metadata.put("CameraShutterAvailable", data); break; case 65627: metadata.put("AxioCam ShutterMicroScanningEnable", data); break; case 65628: metadata.put("ApotomeCamLiveFocus", data); break; case 65629: metadata.put("DeviceInitStatus", data); break; case 65630: metadata.put("DeviceErrorStatus", data); break; case 65631: metadata.put("ApotomeCamSliderInGridPosition", data); break; case 65632: metadata.put("Orca NIR Mode Used", data); break; case 65633: metadata.put("Orca Analog Gain", data); break; case 65634: metadata.put("Orca Analog Offset", data); break; case 65635: metadata.put("Orca Binning", data); break; case 65636: metadata.put("Orca Bit Depth", data); break; case 65637: metadata.put("ApoTome Averaging Count", data); break; case 65638: metadata.put("DeepView DoF", data); break; case 65639: metadata.put("DeepView EDoF", data); break; case 65643: metadata.put("DeepView Slider Name", data); break; case 65655: metadata.put("DeepView Slider Name", data); break; case 5439491: metadata.put("Acquisition Sofware", data); break; case 16777488: metadata.put("Excitation Wavelength", data); break; case 16777489: metadata.put("Emission Wavelength", data); break; case 101515267: metadata.put("File Name", data); break; case 101253123: case 101777411: metadata.put("Image Name", data); break; default: metadata.put("" + tagID, data); } }
|
46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/eeb7d180f005e6ae2fd86935cddb27bf8758f621/ZeissZVIReader.java/clean/loci/formats/in/ZeissZVIReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1109,
1805,
12,
780,
501,
16,
509,
1047,
734,
16,
509,
1566,
13,
288,
565,
1620,
261,
2692,
734,
13,
288,
1377,
648,
576,
3787,
30,
1982,
18,
458,
2932,
15270,
3113,
501,
1769,
898,
31,
1377,
648,
6969,
28,
30,
1982,
18,
458,
2932,
13155,
620,
3113,
501,
1769,
898,
31,
1377,
648,
576,
6162,
30,
1982,
18,
458,
2932,
13407,
620,
3113,
501,
1769,
898,
31,
1377,
648,
576,
4848,
30,
1982,
18,
458,
2932,
2040,
751,
3233,
4965,
2655,
3113,
501,
1769,
898,
31,
1377,
648,
576,
9498,
30,
1982,
18,
458,
2932,
16270,
3113,
501,
1769,
898,
31,
1377,
648,
576,
8898,
30,
1982,
18,
458,
2932,
31300,
620,
3113,
501,
1769,
898,
31,
1377,
648,
576,
1105,
30,
1982,
18,
458,
2932,
2040,
4851,
424,
11291,
3113,
501,
1769,
898,
31,
1377,
648,
576,
9222,
30,
1982,
18,
458,
2932,
2040,
8574,
950,
21,
3113,
501,
1769,
898,
31,
1377,
648,
576,
6028,
30,
1982,
18,
458,
2932,
2040,
8574,
950,
22,
3113,
501,
1769,
898,
31,
1377,
648,
576,
9599,
30,
1982,
18,
458,
2932,
2040,
8574,
950,
23,
3113,
501,
1769,
898,
31,
1377,
648,
576,
9470,
30,
1982,
18,
458,
2932,
2040,
8574,
950,
24,
3113,
501,
1769,
898,
31,
1377,
648,
890,
3707,
30,
1982,
18,
458,
2932,
1971,
9233,
2555,
21,
3113,
501,
1769,
898,
31,
1377,
648,
890,
5026,
30,
1982,
18,
458,
2932,
1971,
9233,
2555,
22,
3113,
501,
1769,
898,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1109,
1805,
12,
780,
501,
16,
509,
1047,
734,
16,
509,
1566,
13,
288,
565,
1620,
261,
2692,
734,
13,
288,
1377,
648,
576,
3787,
30,
1982,
18,
458,
2932,
15270,
3113,
501,
1769,
898,
31,
1377,
648,
6969,
28,
30,
1982,
18,
458,
2932,
13155,
620,
3113,
501,
1769,
898,
31,
1377,
648,
576,
6162,
30,
1982,
18,
458,
2932,
13407,
620,
3113,
501,
1769,
898,
31,
1377,
648,
576,
4848,
30,
1982,
18,
458,
2932,
2040,
751,
3233,
4965,
2655,
3113,
501,
1769,
898,
31,
1377,
648,
576,
9498,
30,
1982,
18,
458,
2932,
16270,
3113,
501,
1769,
898,
31,
1377,
648,
576,
8898,
30,
1982,
18,
458,
2932,
31300,
620,
3113,
501,
1769,
2
] |
public void test1() throws DuplicateRuleNameException, InvalidRuleException, IntrospectionException, RuleIntegrationException, RuleSetIntegrationException, InvalidPatternException, FactException, IOException, InterruptedException { RuleSet ruleSet = new RuleSet( "Miss Manners" ); ruleSet.addRule( getAssignFirstSeatRule() ); ruleSet.addRule( getMakePath() ); ruleSet.addRule( getFindSeating() ); ruleSet.addRule( getPathDone() ); ruleSet.addRule( getAreWeDone() ); ruleSet.addRule( getContinueProcessing() );// ruleSet.addRule( getAllDone() ); final RuleBaseImpl ruleBase = new RuleBaseImpl(); ruleBase.addRuleSet( ruleSet ); // final ReteooJungViewer viewer = new ReteooJungViewer(ruleBase);// // javax.swing.SwingUtilities.invokeLater(new Runnable() {// public void run() {// viewer.showGUI();// }// }); WorkingMemory workingMemory = ruleBase.newWorkingMemory(); InputStream is = getClass().getResourceAsStream( "/manners16.dat" ); List list = getInputObjects(is); for (Iterator it = list.iterator(); it.hasNext(); ) { FactHandle handle = workingMemory.assertObject( it.next() ); } workingMemory.assertObject( new Count(0) ); workingMemory.fireAllRules(); // while (viewer.isRunning()) {// Thread.sleep( 1000 );// } }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/ab65881df702c7e38f90fa79bea928994dda857e/MannersTest.java/buggy/drools-core/src/test/java/org/drools/examples/manners/MannersTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
21,
1435,
1216,
19072,
2175,
26771,
16,
1962,
2175,
503,
16,
3094,
26362,
503,
16,
6781,
15372,
503,
16,
6781,
694,
15372,
503,
16,
1962,
3234,
503,
16,
29057,
503,
16,
1860,
16,
7558,
288,
3639,
6781,
694,
31897,
273,
394,
6781,
694,
12,
315,
27797,
490,
19637,
6,
11272,
3639,
31897,
18,
1289,
2175,
12,
336,
4910,
3759,
1761,
270,
2175,
1435,
11272,
3639,
31897,
18,
1289,
2175,
12,
2108,
911,
743,
1435,
11272,
3639,
31897,
18,
1289,
2175,
12,
2812,
728,
1761,
1776,
1435,
11272,
3639,
31897,
18,
1289,
2175,
12,
4339,
7387,
1435,
11272,
3639,
31897,
18,
1289,
2175,
12,
4506,
266,
3218,
7387,
1435,
11272,
3639,
31897,
18,
1289,
2175,
12,
336,
12378,
7798,
1435,
11272,
759,
3639,
31897,
18,
1289,
2175,
12,
5514,
7387,
1435,
11272,
9079,
727,
6781,
2171,
2828,
1720,
2171,
273,
394,
6781,
2171,
2828,
5621,
3639,
1720,
2171,
18,
1289,
21474,
12,
31897,
11272,
3639,
368,
3639,
727,
17100,
4361,
83,
46,
20651,
18415,
14157,
273,
394,
17100,
4361,
83,
46,
20651,
18415,
12,
5345,
2171,
1769,
759,
3639,
368,
3639,
6863,
18,
5328,
310,
18,
6050,
310,
11864,
18,
14407,
20607,
12,
2704,
10254,
1435,
288,
759,
6647,
1071,
918,
1086,
1435,
288,
759,
9079,
14157,
18,
4500,
43,
5370,
5621,
759,
6647,
289,
759,
3639,
15549,
29159,
22732,
6031,
5960,
6031,
273,
1720,
2171,
18,
2704,
14836,
6031,
5621,
9079,
5037,
353,
273,
2900,
7675,
588,
1420,
17052,
12,
2206,
81,
19637,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
21,
1435,
1216,
19072,
2175,
26771,
16,
1962,
2175,
503,
16,
3094,
26362,
503,
16,
6781,
15372,
503,
16,
6781,
694,
15372,
503,
16,
1962,
3234,
503,
16,
29057,
503,
16,
1860,
16,
7558,
288,
3639,
6781,
694,
31897,
273,
394,
6781,
694,
12,
315,
27797,
490,
19637,
6,
11272,
3639,
31897,
18,
1289,
2175,
12,
336,
4910,
3759,
1761,
270,
2175,
1435,
11272,
3639,
31897,
18,
1289,
2175,
12,
2108,
911,
743,
1435,
11272,
3639,
31897,
18,
1289,
2175,
12,
2812,
728,
1761,
1776,
1435,
11272,
3639,
31897,
18,
1289,
2175,
12,
4339,
7387,
1435,
11272,
3639,
31897,
18,
1289,
2175,
12,
4506,
266,
3218,
7387,
1435,
11272,
3639,
31897,
18,
1289,
2175,
12,
2
] |
||
}
|
}
|
public void testOASISXalanConformanceSuite() throws IOException, ParsingException, XSLException { Builder builder = new Builder(); File base = new File("data/oasis-xslt-testsuite/TESTS/Xalan_Conformance_Tests/"); File catalog = new File(base, "catalog.xml"); // The test suite need to be installed separately. If we can't // find the catalog, we just don't run these tests. if (catalog.exists()) { Document doc = builder.build(catalog); Element testsuite = doc.getRootElement(); Elements submitters = testsuite.getChildElements("test-catalog"); for (int i = 0; i < submitters.size(); i++) { Element submitter = submitters.get(i); Elements testcases = submitter.getChildElements("test-case"); for (int j = 0; j < testcases.size(); j++) { Element testcase = testcases.get(j); String id = testcase.getAttributeValue("id"); if (id.startsWith("output_")) { // These test cases are mostly about producing // HTML and plain text output that isn't // relevant to XOM continue; } File root = new File(base, testcase.getFirstChildElement("file-path").getValue()); File input = null; File style = null; File output = null; Element scenario = testcase.getFirstChildElement("scenario"); Elements inputs = scenario.getChildElements("input-file"); for (int k = 0; k < inputs.size(); k++) { Element file = inputs.get(k); String role = file.getAttributeValue("role"); if ("principal-data".equals(role)) { input = new File(root, file.getValue()); } else if ("principal-stylesheet".equals(role)) { style = new File(root, file.getValue()); } } Elements outputs = scenario.getChildElements("output-file"); for (int k = 0; k < outputs.size(); k++) { Element file = outputs.get(k); String role = file.getAttributeValue("role"); if ("principal".equals(role)) { // Fix up OASIS catalog bugs File parent = new File(root.getParent()); parent = new File(parent, "REF_OUT"); parent = new File(parent, root.getName()); String outputFileName = file.getValue(); output = new File(parent, outputFileName); } } try { Document inputDoc = builder.build(input); Document styleDoc = builder.build(style); XSLTransform xform = new XSLTransform(styleDoc); Nodes result = xform.transform(inputDoc); if (output == null) { // transform should have failed fail("Transformed " + testcase.getAttributeValue("id")); } else { try { Document expectedResult = builder.build(output); Document actualResult = XSLTransform.toDocument(result); // XXX Could check to see if indent="yes" in the stylesheet // and if so use a whitespace insensitive comparison if (id.equals("attribset_attribset40")) { // This test does not necessarily // produce an identical infoset due // to necessary remapping of // namespace prefixes. continue; } else if (id.equals("axes_axes129")) { // Xalan bug involving counting of namespace nodes // starting from an attribute or a test suite bug; // XXX diagnose and report } else if (id.equals("copy_copy56") || id.equals("copy_copy58") || id.equals("copy_copy60") || id.equals("copy_copy59")) { // Xalan bug; // XXX diagnose and report } else if (id.equals("idkey_idkey31") || id.equals("idkey_idkey59") || id.equals("idkey_idkey62") || id.equals("idkey_idkey61")) { // Xalan bug?; // XXX diagnose and report } else if (id.equals("impincl_impincl11")) { // Xalan bug?; // XXX diagnose and report } else if (id.equals("math_math110") || id.equals("math_math111")) { // Xalan bug?; // XXX diagnose and report } else if (id.equals("position_position104")) { // probable test suite bug?; // XXX diagnose and report } else if (id.equals("position_position106") || id.equals("position_position107") || id.equals("position_position109")) { // probable Xalan bug?; // XXX diagnose and report } else if (id.equals("whitespace_whitespace17") || id.equals("position_position107") || id.equals("position_position109")) { // tests indent="yes" which is not // not relevant within XOM } else { assertEquals( id + "\r\n" + actualResult.toXML(), expectedResult, actualResult); } } catch (ParsingException ex) { // a few of the test cases generate // text or HTML output rather than // well-formed XML. For the moment, I // just skip these; but could I compare // the raw text to the value of the // document object instead???? continue; } catch (IllegalAddException ex) { // A few of the test cases generate // incomplete documents so we can't // compare output. } // XXX report issues in test suite with indent="yes" in stylesheets // where indenting is not specifically being tested } } catch (MalformedURIException ex) { // Some of the test cases contain relative // namespace URIs XOM does not support } catch (XSLException ex) { // If the output was null the transformation // was expected to fail if (output != null) { // a few of the test cases use relative namespace URIs // XOM doesn't support Throwable cause = ex.getCause(); if (cause instanceof MalformedURIException) { continue; } // XXX try removing the special cases; known, reported bugs in Xalan if ("axes_axes62".equals(id)) { // Bug 12690 // http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12690 continue; } else if ("numberformat_numberformat45".equals(id) || "numberformat_numberformat46".equals(id)) { // Bug 27938 // http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27938 // This one appears to have been fixed in the most recent Xalan // though not the on bundled with the JDK 1.4 continue; } else if ("select_select85".equals(id)) { // Bug 27939 // http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27939 // This one appears to have been fixed in the most recent Xalan // though not the on bundled with the JDK 1.4 continue; } // test suite bugs if ("impincl_impincl27".equals(id)) { // Uses a file URI I'm not sure is legal // <xsl:import href="file:fragments/imp27b.xsl"/> // This was allowed in 1808 but disallowed in 2396 continue; } // discretionary cases if ("output_output87".equals(id)) { continue; } System.err.println(id); System.err.println(ex.getMessage()); throw ex; } } } } } }
|
626 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/626/9828f44dfff94f30e26b80d78e123a1907d3a6f5/XSLTransformTest.java/clean/src/nu/xom/tests/XSLTransformTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
28202,
15664,
60,
4316,
442,
687,
1359,
13587,
1435,
3639,
1216,
1860,
16,
19761,
503,
16,
17243,
503,
288,
7734,
5008,
2089,
273,
394,
5008,
5621,
3639,
1387,
1026,
273,
394,
1387,
2932,
892,
19,
26501,
17,
92,
14414,
17,
16341,
9519,
19,
16961,
55,
19,
60,
4316,
67,
442,
687,
1359,
67,
14650,
4898,
1769,
3639,
1387,
6222,
273,
394,
1387,
12,
1969,
16,
315,
7199,
18,
2902,
8863,
7734,
368,
1021,
1842,
11371,
1608,
358,
506,
5876,
18190,
18,
971,
732,
848,
1404,
3639,
368,
1104,
326,
6222,
16,
732,
2537,
2727,
1404,
1086,
4259,
7434,
18,
3639,
309,
261,
7199,
18,
1808,
10756,
288,
5411,
4319,
997,
273,
2089,
18,
3510,
12,
7199,
1769,
5411,
3010,
7434,
9519,
273,
997,
18,
588,
2375,
1046,
5621,
5411,
17219,
4879,
5432,
273,
7434,
9519,
18,
588,
1763,
3471,
2932,
3813,
17,
7199,
8863,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
4879,
5432,
18,
1467,
5621,
277,
27245,
288,
7734,
3010,
4879,
387,
273,
4879,
5432,
18,
588,
12,
77,
1769,
7734,
17219,
1842,
22186,
273,
4879,
387,
18,
588,
1763,
3471,
2932,
3813,
17,
3593,
8863,
7734,
364,
261,
474,
525,
273,
374,
31,
525,
411,
1842,
22186,
18,
1467,
5621,
525,
27245,
288,
10792,
3010,
1842,
3593,
273,
1842,
22186,
18,
588,
12,
78,
1769,
10792,
514,
612,
273,
1842,
3593,
18,
588,
14942,
2932,
350,
8863,
10792,
309,
261,
350,
18,
17514,
1190,
2932,
2844,
9548,
3719,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
28202,
15664,
60,
4316,
442,
687,
1359,
13587,
1435,
3639,
1216,
1860,
16,
19761,
503,
16,
17243,
503,
288,
7734,
5008,
2089,
273,
394,
5008,
5621,
3639,
1387,
1026,
273,
394,
1387,
2932,
892,
19,
26501,
17,
92,
14414,
17,
16341,
9519,
19,
16961,
55,
19,
60,
4316,
67,
442,
687,
1359,
67,
14650,
4898,
1769,
3639,
1387,
6222,
273,
394,
1387,
12,
1969,
16,
315,
7199,
18,
2902,
8863,
7734,
368,
1021,
1842,
11371,
1608,
358,
506,
5876,
18190,
18,
971,
732,
848,
1404,
3639,
368,
1104,
326,
6222,
16,
732,
2537,
2727,
1404,
1086,
4259,
7434,
18,
3639,
309,
261,
7199,
18,
1808,
10756,
288,
5411,
4319,
997,
273,
2089,
18,
3510,
12,
2
] |
public Object lookup( String role, String roleHint ) throws ComponentLookupException
|
public Object lookup( String role ) throws ComponentLookupException
|
public Object lookup( String role, String roleHint ) throws ComponentLookupException { return container.lookup( role, roleHint ); }
|
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/4d1ca8da33ebc5ee0a65735d890e35299675ef56/MavenSession.java/buggy/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
3689,
12,
514,
2478,
262,
1216,
5435,
6609,
503,
565,
288,
3639,
327,
1478,
18,
8664,
12,
2478,
16,
2478,
7002,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
3689,
12,
514,
2478,
262,
1216,
5435,
6609,
503,
565,
288,
3639,
327,
1478,
18,
8664,
12,
2478,
16,
2478,
7002,
11272,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 (event.getResult() != null && event.getResult().getSeverity() == IStatus.ERROR) { StatusManager.getManager().handle(event.getResult(), StatusManager.SHOW); FinishedJobs.getInstance().remove(info); }
|
private void createChangeListener() { changeListener = new JobChangeAdapter() { /* * (non-Javadoc) * * @see org.eclipse.core.runtime.jobs.JobChangeAdapter#aboutToRun(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void aboutToRun(IJobChangeEvent event) { JobInfo info = getJobInfo(event.getJob()); refreshJobInfo(info); Iterator startListeners = busyListenersForJob(event.getJob()) .iterator(); while (startListeners.hasNext()) { IJobBusyListener next = (IJobBusyListener) startListeners .next(); next.incrementBusy(event.getJob()); } } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.jobs.JobChangeAdapter#done(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void done(IJobChangeEvent event) { if (!PlatformUI.isWorkbenchRunning()) { return; } Iterator startListeners = busyListenersForJob(event.getJob()) .iterator(); while (startListeners.hasNext()) { IJobBusyListener next = (IJobBusyListener) startListeners .next(); next.decrementBusy(event.getJob()); } JobInfo info = getJobInfo(event.getJob()); jobs.remove(event.getJob()); // Only refresh if we are showing it removeJobInfo(info); if (event.getResult() != null && event.getResult().getSeverity() == IStatus.ERROR) { // the error status is passed to the status handling // facility, SHOW hint is used because the status is logged // anyway in core StatusManager.getManager().handle(event.getResult(), StatusManager.SHOW); // the status is removed from the finished jobs list FinishedJobs.getInstance().remove(info); } } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.jobs.JobChangeAdapter#scheduled(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void scheduled(IJobChangeEvent event) { updateFor(event); if (event.getJob().isUser()) { boolean noDialog = shouldRunInBackground(); if (!noDialog) { final IJobChangeEvent finalEvent = event; WorkbenchJob showJob = new WorkbenchJob( ProgressMessages.ProgressManager_showInDialogName) { /* * (non-Javadoc) * * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ public IStatus runInUIThread( IProgressMonitor monitor) { showInDialog(null, finalEvent.getJob()); return Status.OK_STATUS; } }; showJob.setSystem(true); showJob.schedule(); return; } } } /** * Update the listeners for the receiver for the event. * * @param event */ private void updateFor(IJobChangeEvent event) { if (isNeverDisplayedJob(event.getJob())) { return; } if (jobs.containsKey(event.getJob())) { refreshJobInfo(getJobInfo(event.getJob())); } else { addJobInfo(new JobInfo(event.getJob())); } } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.jobs.JobChangeAdapter#awake(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void awake(IJobChangeEvent event) { updateFor(event); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.jobs.JobChangeAdapter#sleeping(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void sleeping(IJobChangeEvent event) { updateFor(event); } }; }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/daa5b745807e7e49e7090bc8018b0efee31edd87/ProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
15744,
1435,
288,
202,
202,
3427,
2223,
273,
394,
3956,
3043,
4216,
1435,
288,
1082,
202,
20308,
9506,
380,
261,
5836,
17,
24060,
13,
9506,
380,
4697,
380,
632,
5946,
2358,
18,
20416,
18,
3644,
18,
9448,
18,
10088,
18,
2278,
3043,
4216,
7,
21071,
774,
1997,
12,
3341,
18,
20416,
18,
3644,
18,
9448,
18,
10088,
18,
45,
2278,
20930,
13,
9506,
1195,
1082,
202,
482,
918,
2973,
774,
1997,
12,
45,
2278,
20930,
871,
13,
288,
9506,
202,
2278,
966,
1123,
273,
13024,
966,
12,
2575,
18,
588,
2278,
10663,
9506,
202,
9144,
2278,
966,
12,
1376,
1769,
9506,
202,
3198,
787,
5583,
273,
21697,
5583,
1290,
2278,
12,
2575,
18,
588,
2278,
10756,
25083,
202,
18,
9838,
5621,
9506,
202,
17523,
261,
1937,
5583,
18,
5332,
2134,
10756,
288,
6862,
202,
45,
2278,
29289,
2223,
1024,
273,
261,
45,
2278,
29289,
2223,
13,
787,
5583,
6862,
1082,
202,
18,
4285,
5621,
6862,
202,
4285,
18,
15016,
29289,
12,
2575,
18,
588,
2278,
10663,
9506,
202,
97,
1082,
202,
97,
1082,
202,
20308,
9506,
380,
261,
5836,
17,
24060,
13,
9506,
380,
4697,
380,
632,
5946,
2358,
18,
20416,
18,
3644,
18,
9448,
18,
10088,
18,
2278,
3043,
4216,
7,
8734,
12,
3341,
18,
20416,
18,
3644,
18,
9448,
18,
10088,
18,
45,
2278,
20930,
13,
9506,
1195,
1082,
202,
482,
918,
2731,
12,
45,
2278,
20930,
871,
13,
288,
9506,
202,
430,
16051,
8201,
5370,
18,
291,
2421,
22144,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
15744,
1435,
288,
202,
202,
3427,
2223,
273,
394,
3956,
3043,
4216,
1435,
288,
1082,
202,
20308,
9506,
380,
261,
5836,
17,
24060,
13,
9506,
380,
4697,
380,
632,
5946,
2358,
18,
20416,
18,
3644,
18,
9448,
18,
10088,
18,
2278,
3043,
4216,
7,
21071,
774,
1997,
12,
3341,
18,
20416,
18,
3644,
18,
9448,
18,
10088,
18,
45,
2278,
20930,
13,
9506,
1195,
1082,
202,
482,
918,
2973,
774,
1997,
12,
45,
2278,
20930,
871,
13,
288,
9506,
202,
2278,
966,
1123,
273,
13024,
966,
12,
2575,
18,
588,
2278,
10663,
9506,
202,
9144,
2278,
966,
12,
1376,
1769,
9506,
202,
3198,
787,
5583,
273,
21697,
5583,
1290,
2278,
12,
2575,
18,
588,
2
] |
|
public CMThumbSliderThresholdControl(float minValue, float maxValue)
|
public CMThumbSliderThresholdControl()
|
public CMThumbSliderThresholdControl(float minValue, float maxValue) { super(NUMBER_OF_THUMBS, minValue, maxValue); init(minValue, maxValue); }
|
7169 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7169/2962c141bb881652fafe110d7c2947b78b6c7ec3/CMThumbSliderThresholdControl.java/buggy/uiframework/src/org/cougaar/lib/uiframework/ui/components/CMThumbSliderThresholdControl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15871,
18922,
21824,
7614,
3367,
1435,
565,
288,
3639,
2240,
12,
9931,
67,
3932,
67,
2455,
2799,
12692,
16,
20533,
16,
18666,
1769,
3639,
1208,
12,
1154,
620,
16,
18666,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
15871,
18922,
21824,
7614,
3367,
1435,
565,
288,
3639,
2240,
12,
9931,
67,
3932,
67,
2455,
2799,
12692,
16,
20533,
16,
18666,
1769,
3639,
1208,
12,
1154,
620,
16,
18666,
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
] |
return getValue() > otherVal ? 1 : getValue() < otherVal ? -1 : 0;
|
return getLongValue() > otherVal ? 1 : getLongValue() < otherVal ? -1 : 0;
|
protected int compareValue(RubyNumeric other) { if (other instanceof RubyBignum) { return ((RubyBignum)other).compareValue(this) * -1; } else if (other instanceof RubyFloat) { double otherVal = other.getDoubleValue(); double thisVal = getDoubleValue(); return thisVal > otherVal ? 1 : thisVal < otherVal ? -1 : 0; } else { long otherVal = other.getLongValue(); return getValue() > otherVal ? 1 : getValue() < otherVal ? -1 : 0; } }
|
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyFixnum.java/buggy/org/jruby/RubyFixnum.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
3400,
620,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
309,
261,
3011,
1276,
19817,
38,
724,
379,
13,
288,
5411,
327,
14015,
54,
10340,
38,
724,
379,
13,
3011,
2934,
9877,
620,
12,
2211,
13,
380,
300,
21,
31,
3639,
289,
469,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
1645,
1308,
3053,
273,
1308,
18,
588,
5265,
620,
5621,
5411,
1645,
333,
3053,
273,
16097,
620,
5621,
5411,
327,
333,
3053,
405,
1308,
3053,
692,
404,
294,
333,
3053,
411,
1308,
3053,
692,
300,
21,
294,
374,
31,
3639,
289,
469,
288,
5411,
1525,
1308,
3053,
273,
1308,
18,
588,
3708,
620,
5621,
5411,
327,
11105,
620,
1435,
405,
1308,
3053,
692,
404,
294,
11105,
620,
1435,
411,
1308,
3053,
692,
300,
21,
294,
374,
31,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
3400,
620,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
309,
261,
3011,
1276,
19817,
38,
724,
379,
13,
288,
5411,
327,
14015,
54,
10340,
38,
724,
379,
13,
3011,
2934,
9877,
620,
12,
2211,
13,
380,
300,
21,
31,
3639,
289,
469,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
1645,
1308,
3053,
273,
1308,
18,
588,
5265,
620,
5621,
5411,
1645,
333,
3053,
273,
16097,
620,
5621,
5411,
327,
333,
3053,
405,
1308,
3053,
692,
404,
294,
333,
3053,
411,
1308,
3053,
692,
300,
21,
294,
374,
31,
3639,
289,
469,
288,
5411,
1525,
1308,
3053,
273,
1308,
18,
588,
3708,
620,
5621,
5411,
327,
11105,
620,
1435,
405,
1308,
3053,
692,
404,
2
] |
public static LineStyle get( int value )
|
public static LineStyle get( String literal )
|
public static LineStyle get( int value ) { switch ( value ) { case SOLID : return SOLID_LITERAL; case DASHED : return DASHED_LITERAL; case DOTTED : return DOTTED_LITERAL; case DASH_DOTTED : return DASH_DOTTED_LITERAL; } return null; }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/036e8c78765730b146e5854b9d6c397a296fed86/LineStyle.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/LineStyle.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
5377,
2885,
336,
12,
509,
460,
262,
202,
95,
202,
202,
9610,
261,
460,
262,
202,
202,
95,
1082,
202,
3593,
27175,
734,
294,
9506,
202,
2463,
27175,
734,
67,
23225,
31,
1082,
202,
3593,
463,
10793,
2056,
294,
9506,
202,
2463,
463,
10793,
2056,
67,
23225,
31,
1082,
202,
3593,
15772,
6404,
294,
9506,
202,
2463,
15772,
6404,
67,
23225,
31,
1082,
202,
3593,
463,
10793,
67,
17591,
6404,
294,
9506,
202,
2463,
463,
10793,
67,
17591,
6404,
67,
23225,
31,
202,
202,
97,
202,
202,
2463,
446,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
5377,
2885,
336,
12,
509,
460,
262,
202,
95,
202,
202,
9610,
261,
460,
262,
202,
202,
95,
1082,
202,
3593,
27175,
734,
294,
9506,
202,
2463,
27175,
734,
67,
23225,
31,
1082,
202,
3593,
463,
10793,
2056,
294,
9506,
202,
2463,
463,
10793,
2056,
67,
23225,
31,
1082,
202,
3593,
15772,
6404,
294,
9506,
202,
2463,
15772,
6404,
67,
23225,
31,
1082,
202,
3593,
463,
10793,
67,
17591,
6404,
294,
9506,
202,
2463,
463,
10793,
67,
17591,
6404,
67,
23225,
31,
202,
202,
97,
202,
202,
2463,
446,
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
] |
if (mSWFVersion.equals( "swf5" )) { return DEFAULT_FONT; } else { return DEFAULT_SWF6_FONT; }
|
return DEFAULT_FONT;
|
public String defaultFont () { if (mSWFVersion.equals( "swf5" )) { return DEFAULT_FONT; } else { return DEFAULT_SWF6_FONT; } }
|
51341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51341/7f8a12220f8db00c1cf285761e3af2583cfd2c72/Canvas.java/buggy/WEB-INF/lps/server/src/org/openlaszlo/compiler/Canvas.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
805,
5711,
1832,
288,
3639,
309,
261,
81,
18746,
42,
1444,
18,
14963,
12,
315,
5328,
74,
25,
6,
8623,
288,
5411,
327,
3331,
67,
25221,
31,
3639,
289,
469,
288,
5411,
327,
3331,
67,
18746,
42,
26,
67,
25221,
31,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
514,
805,
5711,
1832,
288,
3639,
309,
261,
81,
18746,
42,
1444,
18,
14963,
12,
315,
5328,
74,
25,
6,
8623,
288,
5411,
327,
3331,
67,
25221,
31,
3639,
289,
469,
288,
5411,
327,
3331,
67,
18746,
42,
26,
67,
25221,
31,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 (uriStr == null || ! (aGrammar instanceof SchemaGrammar) ) {
|
if (uriStr == null || aGrammar == null || ! (aGrammar instanceof SchemaGrammar) ) {
|
private int traverseAttributeGroupDeclFromAnotherSchema( String attGrpName , String uriStr, ComplexTypeInfo typeInfo ) throws Exception { SchemaGrammar aGrammar = (SchemaGrammar) fGrammarResolver.getGrammar(uriStr); if (uriStr == null || ! (aGrammar instanceof SchemaGrammar) ) { // REVISIT: Localize reportGenericSchemaError("!!Schema not found in #traverseAttributeGroupDeclFromAnotherSchema, schema uri : " + uriStr); return -1; } // attribute name Element attGrpDecl = (Element) aGrammar.topLevelAttrGrpDecls.get((Object)attGrpName); if (attGrpDecl == null) { // REVISIT: Localize reportGenericSchemaError( "no attribute group named \"" + attGrpName + "\" was defined in schema : " + uriStr); return -1; } // attribute type int attType = -1; int enumeration = -1; for ( Element child = XUtil.getFirstChildElement(attGrpDecl); child != null ; child = XUtil.getNextSiblingElement(child)) { //child attribute couldn't be a top-level attribute DEFINITION, if ( child.getNodeName().equals(SchemaSymbols.ELT_ATTRIBUTE) ){ String childAttName = child.getAttribute(SchemaSymbols.ATT_NAME); if ( childAttName.length() > 0 ) { Hashtable attDeclRegistry = aGrammar.getAttirubteDeclRegistry(); if (attDeclRegistry != null) { if (attDeclRegistry.get((Object)childAttName) != null ){ addAttributeDeclFromAnotherSchema(childAttName, uriStr, typeInfo); return -1; } } } else traverseAttributeDecl(child, typeInfo); } else if ( child.getNodeName().equals(SchemaSymbols.ELT_ATTRIBUTEGROUP) ) { traverseAttributeGroupDecl(child, typeInfo); } else if (child.getNodeName().equals(SchemaSymbols.ELT_ANNOTATION) ) { // REVISIT: what about appInfo } } return -1; } // end of method traverseAttributeGroupFromAnotherSchema
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/f87ef252b5e126cd1508cc07597b93447dc2f0e5/TraverseSchema.java/clean/src/org/apache/xerces/validators/schema/TraverseSchema.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
10080,
1499,
1114,
3456,
1265,
37,
24413,
3078,
12,
514,
2403,
43,
13832,
461,
269,
514,
2003,
1585,
16,
16060,
17305,
23112,
262,
1216,
1185,
288,
7734,
4611,
18576,
279,
18576,
273,
261,
3078,
18576,
13,
284,
18576,
4301,
18,
588,
18576,
12,
1650,
1585,
1769,
3639,
309,
261,
1650,
1585,
422,
446,
747,
279,
18576,
422,
446,
747,
401,
261,
69,
18576,
1276,
4611,
18576,
13,
262,
288,
5411,
368,
2438,
26780,
1285,
30,
3566,
554,
5411,
2605,
7014,
3078,
668,
2932,
8548,
3078,
486,
1392,
316,
468,
2033,
2476,
1499,
1114,
3456,
1265,
37,
24413,
3078,
16,
1963,
2003,
294,
315,
397,
2003,
1585,
1769,
5411,
327,
300,
21,
31,
3639,
289,
3639,
368,
1566,
508,
3639,
3010,
2403,
43,
13832,
3456,
273,
261,
1046,
13,
279,
18576,
18,
3669,
2355,
3843,
43,
13832,
1799,
3251,
18,
588,
12443,
921,
13,
4558,
43,
13832,
461,
1769,
3639,
309,
261,
4558,
43,
13832,
3456,
422,
446,
13,
288,
5411,
368,
2438,
26780,
1285,
30,
3566,
554,
5411,
2605,
7014,
3078,
668,
12,
315,
2135,
1566,
1041,
4141,
11843,
397,
2403,
43,
13832,
461,
4766,
4202,
397,
7023,
1703,
2553,
316,
1963,
294,
315,
397,
2003,
1585,
1769,
5411,
327,
300,
21,
31,
3639,
289,
3639,
368,
1566,
618,
3639,
509,
2403,
559,
273,
300,
21,
31,
3639,
509,
16836,
273,
300,
21,
31,
3639,
364,
261,
3010,
1151,
273,
1139,
1304,
18,
588,
3759,
1763,
1046,
12,
4558,
43,
13832,
3456,
1769,
2868,
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,
10080,
1499,
1114,
3456,
1265,
37,
24413,
3078,
12,
514,
2403,
43,
13832,
461,
269,
514,
2003,
1585,
16,
16060,
17305,
23112,
262,
1216,
1185,
288,
7734,
4611,
18576,
279,
18576,
273,
261,
3078,
18576,
13,
284,
18576,
4301,
18,
588,
18576,
12,
1650,
1585,
1769,
3639,
309,
261,
1650,
1585,
422,
446,
747,
279,
18576,
422,
446,
747,
401,
261,
69,
18576,
1276,
4611,
18576,
13,
262,
288,
5411,
368,
2438,
26780,
1285,
30,
3566,
554,
5411,
2605,
7014,
3078,
668,
2932,
8548,
3078,
486,
1392,
316,
468,
2033,
2476,
1499,
1114,
3456,
1265,
37,
24413,
3078,
16,
1963,
2003,
294,
315,
397,
2003,
1585,
1769,
5411,
327,
300,
21,
31,
3639,
289,
3639,
368,
2
] |
m_columnReplacements.put("ifservices.ipaddr", new RowHasBogusData("ifservices", "ipaddr"));
|
m_columnReplacements.put("ifservices.ipaddr", new RowHasBogusData("ifservices", "ipaddr"));
|
public Installer() { AutoIntegerIdMapStore snmpInterfaceId = new AutoIntegerIdMapStore(1, new String[] { "nodeid", "ipaddr", "snmpifindex" }); m_columnReplacements.put("snmpinterface.id", snmpInterfaceId); AutoIntegerIdMapStore ipInterfaceId = new AutoIntegerIdMapStore(1, new String[] { "nodeid", "ipaddr", "ifindex" }); m_columnReplacements.put("ipinterface.id", ipInterfaceId); MapStoreIdGetter IpInterfaceSnmpInterfaceId = new MapStoreIdGetter(snmpInterfaceId, new String[] { "nodeid", "ipaddr", "ifindex" }, true); m_columnReplacements.put("ipinterface.snmpinterfaceid", IpInterfaceSnmpInterfaceId); AutoIntegerIdMapStore ifServicesId = new AutoIntegerIdMapStore(1, new String[] { "nodeid", "ipaddr", "serviceid" }); m_columnReplacements.put("ifservices.id", ifServicesId); MapStoreIdGetter ifServicesIpInterfaceId = new MapStoreIdGetter(ipInterfaceId, new String[] { "nodeid", "ipaddr", "ifindex" }, false); m_columnReplacements.put("ifservices.ipinterfaceid", ifServicesIpInterfaceId); MapStoreIdGetter outagesifServiceId = new MapStoreIdGetter(ifServicesId, new String[] { "nodeid", "ipaddr", "serviceid" }, false); m_columnReplacements.put("outages.ifserviceid", outagesifServiceId); m_columnReplacements.put("events.eventsource", new EventSourceReplacement()); m_columnReplacements.put("outages.outageid", new AutoInteger(1)); m_columnReplacements.put("snmpinterface.nodeid", new RowHasBogusData("snmpInterface", "nodeId")); m_columnReplacements.put("snmpinterface.snmpifindex", new RowHasBogusData("snmpInterface", "snmpIfIndex")); m_columnReplacements.put("ipinterface.nodeid", new RowHasBogusData("ipInterface", "nodeId")); m_columnReplacements.put("ipinterface.ipaddr", new RowHasBogusData("ipInterface", "ipAddr")); m_columnReplacements.put("ifservices.nodeid", new RowHasBogusData("ifservices", "nodeId")); m_columnReplacements.put("ifservices.ipaddr", new RowHasBogusData("ifservices", "ipaddr")); m_columnReplacements.put("ifservices.serviceid", new RowHasBogusData("ifservices", "serviceId")); m_columnReplacements.put("outages.nodeid", new RowHasBogusData("outages", "nodeId")); m_columnReplacements.put("outages.serviceid", new RowHasBogusData("outages", "serviceId")); /* * This is totally bogus. outages.svcregainedeventid is a foreign * key that points at events.eventid, and a fixed replacement of zero * will break, because there should never be an event with an ID of * zero. I don't think it ever got executed before due to the * null replacement only being performed if a column was marked as * NOT NULL. */ /* m_columnReplacements.put("outages.svcregainedeventid", new FixedIntegerReplacement(0)); */ // Disabled for the same reason as above /* m_columnReplacements.put("notifications.eventid", new FixedIntegerReplacement(0)); */ m_columnReplacements.put("usersnotified.id", new AutoInteger(1)); m_columnReplacements.put("assets.id", new AutoInteger(1)); }
|
11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/9c0a59382d378a750edf84524762ab71e335b4b3/Installer.java/clean/opennms-install/src/main/java/org/opennms/install/Installer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10284,
264,
1435,
288,
3639,
8064,
4522,
548,
863,
2257,
15366,
1358,
548,
273,
5411,
394,
8064,
4522,
548,
863,
2257,
12,
21,
16,
394,
514,
8526,
288,
315,
2159,
350,
3113,
315,
625,
4793,
3113,
315,
26527,
430,
1615,
6,
15549,
3639,
312,
67,
2827,
28440,
18,
458,
2932,
26527,
5831,
18,
350,
3113,
15366,
1358,
548,
1769,
7734,
8064,
4522,
548,
863,
2257,
2359,
1358,
548,
273,
5411,
394,
8064,
4522,
548,
863,
2257,
12,
21,
16,
394,
514,
8526,
288,
315,
2159,
350,
3113,
315,
625,
4793,
3113,
315,
430,
1615,
6,
15549,
3639,
312,
67,
2827,
28440,
18,
458,
2932,
625,
5831,
18,
350,
3113,
2359,
1358,
548,
1769,
3639,
1635,
2257,
548,
8461,
14709,
1358,
10461,
1291,
1358,
548,
273,
5411,
394,
1635,
2257,
548,
8461,
12,
26527,
1358,
548,
16,
394,
514,
8526,
288,
315,
2159,
350,
3113,
315,
625,
4793,
3113,
315,
430,
1615,
6,
19879,
638,
1769,
3639,
312,
67,
2827,
28440,
18,
458,
2932,
625,
5831,
18,
26527,
5831,
350,
3113,
14709,
1358,
10461,
1291,
1358,
548,
1769,
7734,
8064,
4522,
548,
863,
2257,
309,
5676,
548,
273,
5411,
394,
8064,
4522,
548,
863,
2257,
12,
21,
16,
394,
514,
8526,
288,
315,
2159,
350,
3113,
315,
625,
4793,
3113,
315,
3278,
350,
6,
15549,
3639,
312,
67,
2827,
28440,
18,
458,
2932,
430,
8387,
18,
350,
3113,
309,
5676,
548,
1769,
7734,
1635,
2257,
548,
8461,
309,
5676,
5273,
1358,
548,
273,
5411,
394,
1635,
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,
10284,
264,
1435,
288,
3639,
8064,
4522,
548,
863,
2257,
15366,
1358,
548,
273,
5411,
394,
8064,
4522,
548,
863,
2257,
12,
21,
16,
394,
514,
8526,
288,
315,
2159,
350,
3113,
315,
625,
4793,
3113,
315,
26527,
430,
1615,
6,
15549,
3639,
312,
67,
2827,
28440,
18,
458,
2932,
26527,
5831,
18,
350,
3113,
15366,
1358,
548,
1769,
7734,
8064,
4522,
548,
863,
2257,
2359,
1358,
548,
273,
5411,
394,
8064,
4522,
548,
863,
2257,
12,
21,
16,
394,
514,
8526,
288,
315,
2159,
350,
3113,
315,
625,
4793,
3113,
315,
430,
1615,
6,
15549,
3639,
312,
67,
2827,
28440,
18,
458,
2932,
625,
5831,
18,
350,
3113,
2359,
1358,
548,
1769,
3639,
1635,
2257,
548,
2
] |
} else if (AtomSymbol.equals("N")) { if(ac.getMaximumBondOrder(ac.getAtomAt(i)) == 1){ factors[0] = 7.95; factors[1] = 9.73; factors[2] = 2.67; }else { factors[0] = 4.54; factors[1] = 11.86; factors[2] = 7.32; } } else if (AtomSymbol.equals("S")) { if(ac.getMaximumBondOrder(ac.getAtomAt(i)) == 1){ factors[0] = 7.73; factors[1] = 8.16; factors[2] = 1.81; }else { factors[0] = 6.60; factors[1] = 10.32; factors[2] = 3.72; }
|
public double[][] assignGasteigerPiMarsiliFactors(ISetOfAtomContainers setAc) { //a,b,c,denom,chi,q double[][] gasteigerFactors = new double[setAc.getAtomContainerCount()][(setAc.getAtomContainer(0).getAtomCount() * (STEP_SIZE+1))]; String AtomSymbol = ""; double[] factors = new double[]{0.0, 0.0, 0.0}; for( int k = 1 ; k < setAc.getAtomContainerCount(); k ++){ IAtomContainer ac = setAc.getAtomContainer(k); for (int i = 0; i < ac.getAtomCount(); i++) { factors[0] = 0.0; factors[1] = 0.0; factors[2] = 0.0; AtomSymbol = ac.getAtomAt(i).getSymbol(); if (AtomSymbol.equals("H")) { factors[0] = 0.0; factors[1] = 0.0; factors[2] = 0.0; } else if (AtomSymbol.equals("C")) {// if (ac.getAtomAt(i).getFlag(ISCHANGEDFC)) { factors[0] = 5.60; factors[1] = 8.93; factors[2] = 2.94;// } } else if (AtomSymbol.equals("O")) {// if (ac.getAtomAt(i).getFlag(ISCHANGEDFC)) { if(ac.getMaximumBondOrder(ac.getAtomAt(i)) == 1){ factors[0] = 10.0; factors[1] = 13.86; factors[2] = 9.68; }else { factors[0] = 7.91; factors[1] = 14.76; factors[2] = 6.85; }// } } else if (AtomSymbol.equals("F")) { factors[0] = 7.34; factors[1] = 13.86; factors[2] = 9.68; } gasteigerFactors[k][STEP_SIZE * i + i] = factors[0]; gasteigerFactors[k][STEP_SIZE * i + i + 1] = factors[1]; gasteigerFactors[k][STEP_SIZE * i + i + 2] = factors[2]; if(ac.getAtomAt(i).getFlag(ISCHANGEDFC)){// System.out.println("S: "+AtomSymbol+" "+ac.getAtomAt(i).getCharge()); gasteigerFactors[k][STEP_SIZE * i + i + 5] = ac.getAtomAt(i).getCharge(); }// else{// gasteigerFactors[k][STEP_SIZE * i + i + 5] = 0.0;// ac.getAtomAt(i).setCharge(0.0);// } if (factors[0] == 0 && factors[1] == 0 && factors[2] == 0) { gasteigerFactors[k][STEP_SIZE * i + i + 3] = 1; } else { gasteigerFactors[k][STEP_SIZE * i + i + 3] = factors[0] + factors[1] + factors[2]; } } } return gasteigerFactors; }
|
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/49e59bcf22f7181b762691cd888cbb5f25102a3d/GasteigerPEPEPartialCharges.java/buggy/src/org/openscience/cdk/charges/GasteigerPEPEPartialCharges.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
97,
469,
309,
261,
3641,
5335,
18,
14963,
2932,
50,
6,
3719,
288,
309,
12,
1077,
18,
588,
13528,
9807,
2448,
12,
1077,
18,
588,
3641,
861,
12,
77,
3719,
422,
404,
15329,
225,
14490,
63,
20,
65,
273,
2371,
18,
8778,
31,
14490,
63,
21,
65,
273,
2468,
18,
9036,
31,
14490,
63,
22,
65,
273,
576,
18,
9599,
31,
289,
12107,
288,
14490,
63,
20,
65,
273,
1059,
18,
6564,
31,
14490,
63,
21,
65,
273,
4648,
18,
5292,
31,
14490,
63,
22,
65,
273,
2371,
18,
1578,
31,
289,
289,
469,
309,
261,
3641,
5335,
18,
14963,
2932,
55,
6,
3719,
288,
309,
12,
1077,
18,
588,
13528,
9807,
2448,
12,
1077,
18,
588,
3641,
861,
12,
77,
3719,
422,
404,
15329,
225,
14490,
63,
20,
65,
273,
2371,
18,
9036,
31,
14490,
63,
21,
65,
273,
1725,
18,
2313,
31,
14490,
63,
22,
65,
273,
404,
18,
11861,
31,
289,
12107,
288,
14490,
63,
20,
65,
273,
1666,
18,
4848,
31,
14490,
63,
21,
65,
273,
1728,
18,
1578,
31,
14490,
63,
22,
65,
273,
890,
18,
9060,
31,
289,
1645,
63,
6362,
18322,
469,
309,
261,
3641,
5335,
18,
14963,
2932,
50,
6,
3719,
288,
309,
12,
1077,
18,
588,
13528,
9807,
2448,
12,
1077,
18,
588,
3641,
861,
12,
77,
3719,
422,
404,
15329,
225,
14490,
63,
20,
65,
273,
2371,
18,
8778,
31,
14490,
63,
21,
65,
273,
2468,
18,
9036,
31,
14490,
63,
22,
65,
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,
225,
202,
482,
97,
469,
309,
261,
3641,
5335,
18,
14963,
2932,
50,
6,
3719,
288,
309,
12,
1077,
18,
588,
13528,
9807,
2448,
12,
1077,
18,
588,
3641,
861,
12,
77,
3719,
422,
404,
15329,
225,
14490,
63,
20,
65,
273,
2371,
18,
8778,
31,
14490,
63,
21,
65,
273,
2468,
18,
9036,
31,
14490,
63,
22,
65,
273,
576,
18,
9599,
31,
289,
12107,
288,
14490,
63,
20,
65,
273,
1059,
18,
6564,
31,
14490,
63,
21,
65,
273,
4648,
18,
5292,
31,
14490,
63,
22,
65,
273,
2371,
18,
1578,
31,
289,
289,
469,
309,
261,
3641,
5335,
18,
14963,
2932,
55,
6,
3719,
288,
309,
12,
1077,
18,
588,
13528,
9807,
2448,
12,
1077,
18,
2
] |
|
point = new Point((int) (cx + Math.cos(2 * Math.PI / MAXPOINTS * i) * radiusx), (int) (cy + Math.sin(2 * Math.PI / MAXPOINTS * i) * radiusy));
|
point = new Point((int) (cx + Math.cos(2 * Math.PI / MAXPOINTS * i) * radiusx), (int) (cy + Math.sin(2 * Math.PI / MAXPOINTS * i) * radiusy));
|
public Vector getGravityPoints() { Vector ret = new Vector(); int cx = _head.center().x; int cy = _head.center().y; int radiusx = Math.round(_head.getWidth() / 2) + 1; int radiusy = Math.round(_head.getHeight() / 2) + 1; int MAXPOINTS = 20; Point point = null; for (int i = 0; i < MAXPOINTS; i++) { point = new Point((int) (cx + Math.cos(2 * Math.PI / MAXPOINTS * i) * radiusx), (int) (cy + Math.sin(2 * Math.PI / MAXPOINTS * i) * radiusy)); ret.add(point); } return ret; }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/180aae2a6e4359d416ad1610ef18fe4836df91b8/FigActor.java/buggy/src_new/org/argouml/uml/diagram/use_case/ui/FigActor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5589,
7162,
354,
16438,
5636,
1435,
288,
3639,
5589,
325,
273,
394,
5589,
5621,
3639,
509,
9494,
273,
389,
1978,
18,
5693,
7675,
92,
31,
3639,
509,
6143,
273,
389,
1978,
18,
5693,
7675,
93,
31,
3639,
509,
5725,
92,
273,
2361,
18,
2260,
24899,
1978,
18,
588,
2384,
1435,
342,
576,
13,
397,
404,
31,
3639,
509,
5725,
93,
273,
2361,
18,
2260,
24899,
1978,
18,
588,
2686,
1435,
342,
576,
13,
397,
404,
31,
3639,
509,
4552,
8941,
55,
273,
4200,
31,
3639,
4686,
1634,
273,
446,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
4552,
8941,
55,
31,
277,
27245,
288,
5411,
1634,
273,
394,
4686,
12443,
474,
13,
261,
71,
92,
397,
2361,
18,
14445,
12,
22,
380,
2361,
18,
1102,
342,
4552,
8941,
55,
380,
277,
13,
380,
5725,
92,
3631,
261,
474,
13,
261,
2431,
397,
2361,
18,
21861,
12,
22,
380,
2361,
18,
1102,
342,
4552,
8941,
55,
380,
277,
13,
380,
5725,
93,
10019,
5411,
325,
18,
1289,
12,
1153,
1769,
3639,
289,
3639,
327,
325,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5589,
7162,
354,
16438,
5636,
1435,
288,
3639,
5589,
325,
273,
394,
5589,
5621,
3639,
509,
9494,
273,
389,
1978,
18,
5693,
7675,
92,
31,
3639,
509,
6143,
273,
389,
1978,
18,
5693,
7675,
93,
31,
3639,
509,
5725,
92,
273,
2361,
18,
2260,
24899,
1978,
18,
588,
2384,
1435,
342,
576,
13,
397,
404,
31,
3639,
509,
5725,
93,
273,
2361,
18,
2260,
24899,
1978,
18,
588,
2686,
1435,
342,
576,
13,
397,
404,
31,
3639,
509,
4552,
8941,
55,
273,
4200,
31,
3639,
4686,
1634,
273,
446,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
4552,
8941,
55,
31,
277,
27245,
288,
5411,
1634,
273,
394,
4686,
12443,
474,
13,
261,
71,
2
] |
} );
|
});
|
public void saveTextDocument( TextDocumentDomainObject textDocument, UserDomainObject user ) { String sqlStr = "UPDATE text_docs SET template_id = ?, group_id = ?,\n" + "default_template_1 = ?, default_template_2 = ? WHERE meta_id = ?"; service.sqlUpdateQuery( sqlStr, new String[]{ "" + textDocument.getTemplate().getId(), "" + textDocument.getTemplateGroupId(), "" + textDocument.getDefaultTemplateIdForRestrictedPermissionSetOne(), "" + textDocument.getDefaultTemplateIdForRestrictedPermissionSetTwo(), "" + textDocument.getId() } ); updateTextDocumentTexts( textDocument ); updateTextDocumentImages( textDocument, user ); updateTextDocumentIncludes( textDocument ); updateTextDocumentMenus( textDocument ); }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/25d7c7c866e4b2d2d9e20e2d71648b696a1c81f6/DocumentMapper.java/buggy/server/src/imcode/server/document/DocumentMapper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1923,
1528,
2519,
12,
3867,
2519,
3748,
921,
977,
2519,
16,
2177,
3748,
921,
729,
262,
288,
3639,
514,
1847,
1585,
273,
315,
8217,
977,
67,
8532,
7855,
1542,
67,
350,
273,
20033,
1041,
67,
350,
273,
692,
17211,
82,
6,
13491,
397,
315,
1886,
67,
3202,
67,
21,
273,
20033,
805,
67,
3202,
67,
22,
273,
692,
4852,
2191,
67,
350,
273,
692,
14432,
3639,
1156,
18,
4669,
1891,
1138,
12,
1847,
1585,
16,
394,
514,
63,
7073,
5411,
1408,
397,
977,
2519,
18,
588,
2283,
7675,
26321,
9334,
5411,
1408,
397,
977,
2519,
18,
588,
2283,
8722,
9334,
5411,
1408,
397,
977,
2519,
18,
588,
1868,
2283,
548,
1290,
18784,
5041,
694,
3335,
9334,
5411,
1408,
397,
977,
2519,
18,
588,
1868,
2283,
548,
1290,
18784,
5041,
694,
11710,
9334,
5411,
1408,
397,
977,
2519,
18,
26321,
1435,
3639,
15549,
3639,
1089,
1528,
2519,
30114,
12,
977,
2519,
11272,
3639,
1089,
1528,
2519,
8946,
12,
977,
2519,
16,
729,
11272,
3639,
1089,
1528,
2519,
16815,
12,
977,
2519,
11272,
3639,
1089,
1528,
2519,
29755,
12,
977,
2519,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1923,
1528,
2519,
12,
3867,
2519,
3748,
921,
977,
2519,
16,
2177,
3748,
921,
729,
262,
288,
3639,
514,
1847,
1585,
273,
315,
8217,
977,
67,
8532,
7855,
1542,
67,
350,
273,
20033,
1041,
67,
350,
273,
692,
17211,
82,
6,
13491,
397,
315,
1886,
67,
3202,
67,
21,
273,
20033,
805,
67,
3202,
67,
22,
273,
692,
4852,
2191,
67,
350,
273,
692,
14432,
3639,
1156,
18,
4669,
1891,
1138,
12,
1847,
1585,
16,
394,
514,
63,
7073,
5411,
1408,
397,
977,
2519,
18,
588,
2283,
7675,
26321,
9334,
5411,
1408,
397,
977,
2519,
18,
588,
2283,
8722,
9334,
5411,
1408,
397,
977,
2519,
18,
588,
1868,
2283,
548,
1290,
18784,
5041,
694,
3335,
9334,
2
] |
"exist");
|
"exist");
|
public void printHelp() { m_out.println("usage:"); m_out.println(" java -jar opennms_install.jar -h"); m_out.println(" java -jar opennms_install.jar " + "[-r] [-x] [-c] [-d] [-i] [-s] [-U] [-y]"); m_out.println(" " + "[-u <PostgreSQL admin user>]"); m_out.println(" " + "[-p <PostgreSQL admin password>]"); m_out.println(" " + "[-S <tomcat server.xml file>]"); m_out.println(" " + "[-T <tomcat4.conf>]"); m_out.println(" " + "[-w <tomcat webapps directory>"); m_out.println(" " + "[-W <tomcat server/lib directory>]"); m_out.println(""); m_out.println(m_required_options); m_out.println(""); m_out.println(" -h this help"); m_out.println(""); m_out.println(" -d perform database actions"); m_out.println(" -i insert data into the database"); m_out.println(" -s update iplike postgres function"); m_out.println(" -U upgrade database to unicode, if needed"); m_out.println(" -y install web application (see -w and -W)"); m_out.println(""); m_out.println(" -u username of the PostgreSQL " + "administrator (default: \"" + m_pg_user + "\")"); m_out.println(" -p password of the PostgreSQL " + "administrator (default: \"" + m_pg_pass + "\")"); m_out.println(" -c drop and recreate tables that already " + "exist"); m_out.println(""); m_out.println(" -S location of tomcat's server.xml"); m_out.println(" -T location of tomcat.conf"); m_out.println(" -w location of tomcat's webapps directory"); m_out.println(" -W location of tomcat's server/lib " + "directory"); m_out.println(""); m_out.println(" -r run as an RPM install (does nothing)"); m_out.println(" -x turn on debugging for database data " + "transformation"); System.exit(0); }
|
11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/0059e1b658e7fd6bb858bc954708043cfa4b4b00/Installer.java/buggy/src/install/org/opennms/install/Installer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1172,
6696,
1435,
288,
202,
81,
67,
659,
18,
8222,
2932,
9167,
2773,
1769,
202,
81,
67,
659,
18,
8222,
2932,
225,
2252,
300,
11930,
1696,
82,
959,
67,
5425,
18,
11930,
300,
76,
8863,
202,
81,
67,
659,
18,
8222,
2932,
225,
2252,
300,
11930,
1696,
82,
959,
67,
5425,
18,
11930,
315,
397,
9506,
282,
5158,
17,
86,
65,
23059,
92,
65,
23059,
71,
65,
23059,
72,
65,
23059,
77,
65,
23059,
87,
65,
23059,
57,
65,
23059,
93,
4279,
1769,
202,
81,
67,
659,
18,
8222,
2932,
27573,
315,
397,
9506,
282,
5158,
17,
89,
411,
3349,
23896,
3981,
729,
34,
4279,
1769,
202,
81,
67,
659,
18,
8222,
2932,
27573,
315,
397,
9506,
282,
5158,
17,
84,
411,
3349,
23896,
3981,
2201,
34,
4279,
1769,
202,
81,
67,
659,
18,
8222,
2932,
27573,
315,
397,
9506,
282,
5158,
17,
55,
411,
3599,
2574,
1438,
18,
2902,
585,
34,
4279,
1769,
202,
81,
67,
659,
18,
8222,
2932,
27573,
315,
397,
9506,
282,
5158,
17,
56,
411,
3599,
2574,
24,
18,
3923,
34,
4279,
1769,
202,
81,
67,
659,
18,
8222,
2932,
27573,
315,
397,
9506,
282,
5158,
17,
91,
411,
3599,
2574,
3311,
11411,
1867,
2984,
1769,
202,
81,
67,
659,
18,
8222,
2932,
27573,
315,
397,
9506,
282,
5158,
17,
59,
411,
3599,
2574,
1438,
19,
2941,
1867,
34,
4279,
1769,
202,
81,
67,
659,
18,
8222,
2932,
8863,
202,
81,
67,
659,
18,
8222,
12,
81,
67,
4718,
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,
1172,
6696,
1435,
288,
202,
81,
67,
659,
18,
8222,
2932,
9167,
2773,
1769,
202,
81,
67,
659,
18,
8222,
2932,
225,
2252,
300,
11930,
1696,
82,
959,
67,
5425,
18,
11930,
300,
76,
8863,
202,
81,
67,
659,
18,
8222,
2932,
225,
2252,
300,
11930,
1696,
82,
959,
67,
5425,
18,
11930,
315,
397,
9506,
282,
5158,
17,
86,
65,
23059,
92,
65,
23059,
71,
65,
23059,
72,
65,
23059,
77,
65,
23059,
87,
65,
23059,
57,
65,
23059,
93,
4279,
1769,
202,
81,
67,
659,
18,
8222,
2932,
27573,
315,
397,
9506,
282,
5158,
17,
89,
411,
3349,
23896,
3981,
729,
34,
4279,
1769,
202,
81,
67,
659,
18,
8222,
2932,
27573,
315,
397,
2
] |
public void mMULTI_LINE_COMMENT() throws RecognitionException { try { ruleNestingLevel++; int _type = MULTI_LINE_COMMENT; int _start = getCharIndex(); int _line = getLine(); int _charPosition = getCharPositionInLine(); int _channel = Token.DEFAULT_CHANNEL; // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1427:4: ( '/*' ( options {greedy=false; } : . )* '*/' ) // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1427:4: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); if (failed) return ; // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1427:9: ( options {greedy=false; } : . )* loop18: do { int alt18=2; int LA18_0 = input.LA(1); if ( (LA18_0=='*') ) { int LA18_1 = input.LA(2); if ( (LA18_1=='/') ) { alt18=2; } else if ( ((LA18_1>='\u0000' && LA18_1<='.')||(LA18_1>='0' && LA18_1<='\uFFFE')) ) { alt18=1; } } else if ( ((LA18_0>='\u0000' && LA18_0<=')')||(LA18_0>='+' && LA18_0<='\uFFFE')) ) { alt18=1; } switch (alt18) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1427:35: . { matchAny(); if (failed) return ; } break; default : break loop18; } } while (true); match("*/"); if (failed) return ; if ( backtracking==0 ) { _channel=HIDDEN; } } if ( backtracking==0 ) { if ( token==null && ruleNestingLevel==1 ) { emit(_type,_line,_charPosition,_channel,_start,getCharIndex()-1); } } } finally { ruleNestingLevel--; } }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/d92dc116c388103ddf04d98d53904a6fdc204af5/DRLLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
26588,
67,
5997,
67,
12200,
1435,
1216,
9539,
288,
3639,
775,
288,
5411,
1720,
50,
10100,
2355,
9904,
31,
5411,
509,
389,
723,
273,
27125,
67,
5997,
67,
12200,
31,
5411,
509,
389,
1937,
273,
23577,
1016,
5621,
5411,
509,
389,
1369,
273,
9851,
5621,
5411,
509,
389,
3001,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
389,
4327,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
3461,
5324,
30,
24,
30,
261,
1173,
4035,
261,
702,
288,
11556,
24009,
33,
5743,
31,
289,
294,
263,
8618,
14609,
2473,
262,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
3461,
5324,
30,
24,
30,
1173,
4035,
261,
702,
288,
11556,
24009,
33,
5743,
31,
289,
294,
263,
8618,
14609,
2473,
5411,
288,
5411,
845,
2932,
19,
7388,
1769,
309,
261,
7307,
13,
327,
274,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
3461,
5324,
30,
29,
30,
261,
702,
288,
11556,
24009,
33,
5743,
31,
289,
294,
263,
8618,
5411,
2798,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
26588,
67,
5997,
67,
12200,
1435,
1216,
9539,
288,
3639,
775,
288,
5411,
1720,
50,
10100,
2355,
9904,
31,
5411,
509,
389,
723,
273,
27125,
67,
5997,
67,
12200,
31,
5411,
509,
389,
1937,
273,
23577,
1016,
5621,
5411,
509,
389,
1369,
273,
9851,
5621,
5411,
509,
389,
3001,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
389,
4327,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
3461,
5324,
30,
24,
30,
261,
1173,
4035,
261,
702,
288,
11556,
24009,
33,
5743,
2
] |
||
bootClasspathSet.add(bootClasspath[j]);
|
bootClasspathList.addLast(bootClasspath[j]);
|
public File[] getClasspathForSelectedDevices() { Device[] selectedDevices = getSelectedDevices(); Environment env = null; try { env = new Environment(new ExtensionManager(new Project()),new Project(),new PolishTask()); } catch (JDOMException exception) { throw new RuntimeException("Could not create an Environment."+exception); } catch (IOException exception) { throw new RuntimeException("Could not create an Environment."+exception); } env.set("polish.home", this.deviceDatabase.getPolishHome()); env.set("polish.apidir", this.deviceDatabase.getApisHome()); for (int i = 0; i < selectedDevices.length; i++) { Device selectedDevice = selectedDevices[i]; selectedDevice.setEnvironment(env); } Set normalClasspathSet = new HashSet(); Set bootClasspathSet = new HashSet(); for (int i = 0; i < selectedDevices.length; i++) { Device device = selectedDevices[i]; String[] normalClasspath = device.getClassPaths(); String[] bootClasspath = device.getBootClassPaths(); for (int j = 0; j < normalClasspath.length; j++) { normalClasspathSet.add(normalClasspath[j]); } for (int j = 0; j < bootClasspath.length; j++) { String bootClasspathEntry = bootClasspath[j]; if(bootClasspathEntry != null) { bootClasspathSet.add(bootClasspath[j]); } } } String[] normalClasspathArray = (String[]) normalClasspathSet.toArray(new String[normalClasspathSet.size()]); String[] bootClasspathArray = (String[]) bootClasspathSet.toArray(new String[bootClasspathSet.size()]); Arrays.sort(normalClasspathArray); Arrays.sort(bootClasspathArray); String[] fullClasspathArray = new String[normalClasspathArray.length+bootClasspathArray.length]; System.arraycopy(bootClasspathArray,0,fullClasspathArray,0,bootClasspathArray.length); System.arraycopy(normalClasspathArray,0,fullClasspathArray,bootClasspathArray.length,normalClasspathArray.length); String [] filteredClasspathArray = filterPaths(fullClasspathArray); File[] files = new File[filteredClasspathArray.length]; for (int i = 0; i < filteredClasspathArray.length; i++) { files[i] = new File(filteredClasspathArray[i]); } return files; }
|
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/c0d525d7bb765cd6b723d1c2d5de3f42881cdf85/DeviceTree.java/buggy/enough-polish-build/source/src/de/enough/polish/devices/DeviceTree.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1387,
8526,
2900,
803,
1290,
7416,
10053,
1435,
288,
3639,
6077,
8526,
3170,
10053,
273,
16625,
10053,
5621,
3639,
7518,
1550,
273,
446,
31,
3639,
775,
288,
5411,
1550,
225,
273,
394,
7518,
12,
2704,
10021,
1318,
12,
2704,
5420,
1435,
3631,
2704,
5420,
9334,
2704,
6730,
1468,
2174,
10663,
3639,
289,
1044,
261,
46,
8168,
503,
1520,
13,
288,
5411,
604,
394,
3235,
2932,
4445,
486,
752,
392,
7518,
1199,
15,
4064,
1769,
3639,
289,
1044,
261,
14106,
1520,
13,
288,
5411,
604,
394,
3235,
2932,
4445,
486,
752,
392,
7518,
1199,
15,
4064,
1769,
3639,
289,
3639,
1550,
18,
542,
2932,
3915,
1468,
18,
8712,
3113,
333,
18,
5964,
4254,
18,
588,
5850,
1468,
8684,
10663,
3639,
1550,
18,
542,
2932,
3915,
1468,
18,
438,
350,
481,
3113,
333,
18,
5964,
4254,
18,
588,
1294,
291,
8684,
10663,
7734,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3170,
10053,
18,
2469,
31,
277,
27245,
288,
5411,
6077,
3170,
3654,
273,
3170,
10053,
63,
77,
15533,
5411,
3170,
3654,
18,
542,
5494,
12,
3074,
1769,
3639,
289,
7734,
1000,
2212,
17461,
694,
273,
394,
6847,
5621,
3639,
1000,
4835,
17461,
694,
273,
394,
6847,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3170,
10053,
18,
2469,
31,
277,
27245,
288,
5411,
6077,
2346,
273,
3170,
10053,
63,
77,
15533,
5411,
514,
8526,
2212,
17461,
273,
2346,
18,
588,
797,
4466,
5621,
5411,
514,
8526,
4835,
17461,
273,
2346,
18,
588,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1387,
8526,
2900,
803,
1290,
7416,
10053,
1435,
288,
3639,
6077,
8526,
3170,
10053,
273,
16625,
10053,
5621,
3639,
7518,
1550,
273,
446,
31,
3639,
775,
288,
5411,
1550,
225,
273,
394,
7518,
12,
2704,
10021,
1318,
12,
2704,
5420,
1435,
3631,
2704,
5420,
9334,
2704,
6730,
1468,
2174,
10663,
3639,
289,
1044,
261,
46,
8168,
503,
1520,
13,
288,
5411,
604,
394,
3235,
2932,
4445,
486,
752,
392,
7518,
1199,
15,
4064,
1769,
3639,
289,
1044,
261,
14106,
1520,
13,
288,
5411,
604,
394,
3235,
2932,
4445,
486,
752,
392,
7518,
1199,
15,
4064,
1769,
3639,
289,
3639,
1550,
18,
542,
2932,
3915,
1468,
18,
8712,
3113,
333,
18,
5964,
4254,
18,
588,
5850,
1468,
8684,
2
] |
hardware.setItems(BugzillaPreferencePage.queryOptionsToArray(prefs .getString(IBugzillaConstants.HARDWARE_VALUES)));
|
hardware.setItems(BugzillaRepositoryUtil.queryOptionsToArray(prefs .getString(IBugzillaConstants.VALUES_HARDWARE)));
|
protected Control createUpdate(final Composite control) { GridData gd; // Label label; Composite group = new Composite(control, SWT.NONE); GridLayout layout = new GridLayout(2, false); group.setLayout(layout); group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); gd = new GridData(GridData.BEGINNING); gd.horizontalSpan = 2; group.setLayoutData(gd); // Info text // label = new Label(group, SWT.LEFT); // label.setText("Update search options from server:"); // gd = new GridData(GridData.BEGINNING); // label.setLayoutData(gd); updateButton = new Button(group, SWT.LEFT | SWT.PUSH); updateButton.setText("Update Attributes from Bugzilla Server"); updateButton.setLayoutData(new GridData()); updateButton.addMouseListener(new MouseAdapter() { @Override public void mouseUp(MouseEvent e) { monitorDialog.open(); IProgressMonitor monitor = monitorDialog.getProgressMonitor(); monitor.beginTask("Updating search options...", 55); try { BugzillaPreferencePage.updateQueryOptions(monitor); product.setItems(BugzillaPreferencePage.queryOptionsToArray(prefs .getString(IBugzillaConstants.PRODUCT_VALUES))); monitor.worked(1); component.setItems(BugzillaPreferencePage.queryOptionsToArray(prefs .getString(IBugzillaConstants.COMPONENT_VALUES))); monitor.worked(1); version.setItems(BugzillaPreferencePage.queryOptionsToArray(prefs .getString(IBugzillaConstants.VERSION_VALUES))); monitor.worked(1); target.setItems(BugzillaPreferencePage.queryOptionsToArray(prefs .getString(IBugzillaConstants.TARGET_VALUES))); monitor.worked(1); status.setItems(BugzillaPreferencePage.queryOptionsToArray(prefs .getString(IBugzillaConstants.STATUS_VALUES))); monitor.worked(1); status.setSelection(BugzillaPreferencePage.queryOptionsToArray(prefs .getString(IBugzillaConstants.PRESELECTED_STATUS_VALUES))); monitor.worked(1); resolution.setItems(BugzillaPreferencePage.queryOptionsToArray(prefs .getString(IBugzillaConstants.RESOLUTION_VALUES))); monitor.worked(1); severity.setItems(BugzillaPreferencePage.queryOptionsToArray(prefs .getString(IBugzillaConstants.SEVERITY_VALUES))); monitor.worked(1); priority.setItems(BugzillaPreferencePage.queryOptionsToArray(prefs .getString(IBugzillaConstants.PRIORITY_VALUES))); monitor.worked(1); hardware.setItems(BugzillaPreferencePage.queryOptionsToArray(prefs .getString(IBugzillaConstants.HARDWARE_VALUES))); monitor.worked(1); os.setItems(BugzillaPreferencePage.queryOptionsToArray(prefs .getString(IBugzillaConstants.OS_VALUES))); monitor.worked(1); } catch (LoginException exception) { // we had a problem that seems to have been caused from bad // login info MessageDialog .openError( null, "Login Error", "Bugzilla could not log you in to get the information you requested since login name or password is incorrect.\nPlease check your settings in the bugzilla preferences. "); BugzillaPlugin.log(exception); } finally { monitor.done(); monitorDialog.close(); } } }); return group; }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/1245a92f28a2990bae8373c09891556a69268c75/BugzillaSearchPage.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/search/BugzillaSearchPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
752,
1891,
12,
6385,
14728,
3325,
13,
288,
202,
202,
6313,
751,
15551,
31,
202,
202,
759,
5287,
1433,
31,
202,
202,
9400,
1041,
273,
394,
14728,
12,
7098,
16,
348,
8588,
18,
9826,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
12,
22,
16,
629,
1769,
202,
202,
1655,
18,
542,
3744,
12,
6741,
1769,
202,
202,
1655,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
202,
202,
19016,
273,
394,
7145,
751,
12,
6313,
751,
18,
16061,
15870,
1769,
202,
202,
19016,
18,
18396,
6952,
273,
576,
31,
202,
202,
1655,
18,
542,
3744,
751,
12,
19016,
1769,
202,
202,
759,
3807,
977,
202,
202,
759,
1433,
273,
394,
5287,
12,
1655,
16,
348,
8588,
18,
10066,
1769,
202,
202,
759,
1433,
18,
542,
1528,
2932,
1891,
1623,
702,
628,
1438,
2773,
1769,
202,
202,
759,
15551,
273,
394,
7145,
751,
12,
6313,
751,
18,
16061,
15870,
1769,
202,
202,
759,
1433,
18,
542,
3744,
751,
12,
19016,
1769,
202,
202,
2725,
3616,
273,
394,
12569,
12,
1655,
16,
348,
8588,
18,
10066,
571,
348,
8588,
18,
30348,
1769,
202,
202,
2725,
3616,
18,
542,
1528,
2932,
1891,
9055,
628,
16907,
15990,
3224,
8863,
202,
202,
2725,
3616,
18,
542,
3744,
751,
12,
2704,
7145,
751,
10663,
202,
202,
2725,
3616,
18,
1289,
9186,
2223,
12,
2704,
17013,
4216,
1435,
288,
1082,
202,
36,
6618,
1082,
202,
482,
918,
7644,
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,
8888,
752,
1891,
12,
6385,
14728,
3325,
13,
288,
202,
202,
6313,
751,
15551,
31,
202,
202,
759,
5287,
1433,
31,
202,
202,
9400,
1041,
273,
394,
14728,
12,
7098,
16,
348,
8588,
18,
9826,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
12,
22,
16,
629,
1769,
202,
202,
1655,
18,
542,
3744,
12,
6741,
1769,
202,
202,
1655,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
202,
202,
19016,
273,
394,
7145,
751,
12,
6313,
751,
18,
16061,
15870,
1769,
202,
202,
19016,
18,
18396,
6952,
273,
576,
31,
202,
202,
1655,
18,
542,
3744,
751,
12,
19016,
1769,
202,
202,
759,
3807,
2
] |
public static void emitMoveFieldToReg(VM_Assembler asm, byte dest, int offset) {
|
public static void emitMoveFieldToReg(VM_Assembler asm, byte dest, Offset offset) {
|
public static void emitMoveFieldToReg(VM_Assembler asm, byte dest, int offset) { asm.emitMOV_Reg_RegDisp(dest,PROCESSOR_REGISTER,offset); }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/c19269673fcdd14e39a92c30e8ccef4cb7ce0402/VM_ProcessorLocalState.java/buggy/rvm/src/vm/arch/intel/runtime/VM_ProcessorLocalState.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
3626,
7607,
974,
774,
1617,
12,
7397,
67,
1463,
5747,
749,
20415,
16,
1160,
1570,
16,
9874,
1384,
13,
288,
565,
20415,
18,
18356,
5980,
58,
67,
1617,
67,
1617,
1669,
84,
12,
10488,
16,
16560,
916,
67,
27511,
16,
3348,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
760,
918,
3626,
7607,
974,
774,
1617,
12,
7397,
67,
1463,
5747,
749,
20415,
16,
1160,
1570,
16,
9874,
1384,
13,
288,
565,
20415,
18,
18356,
5980,
58,
67,
1617,
67,
1617,
1669,
84,
12,
10488,
16,
16560,
916,
67,
27511,
16,
3348,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
RepositoryTaskAttribute attribute = attributeFactory.createAttribute(BugzillaReportElement.BUG_WHEN.getKeyString()); attribute.setValue(Comment.creation_ts_date_format.format(now));
|
RepositoryTaskAttribute attribute = attributeFactory.createAttribute(BugzillaReportElement.BUG_WHEN .getKeyString()); attribute.setValue(nowTimeStamp);
|
public void testCompletionDate() { BugzillaTask task = new BugzillaTask("handle", "description", true); RepositoryTaskData report = new RepositoryTaskData(new BugzillaAttributeFactory(), BugzillaPlugin.REPOSITORY_KIND, IBugzillaConstants.ECLIPSE_BUGZILLA_URL, 1); task.setTaskData(report); assertNull(task.getCompletionDate()); Calendar calendar = Calendar.getInstance(); Date now = new Date(calendar.getTimeInMillis()); Comment comment = new Comment(new BugzillaAttributeFactory(), report, 1); RepositoryTaskAttribute attribute = attributeFactory.createAttribute(BugzillaReportElement.BUG_WHEN.getKeyString()); attribute.setValue(Comment.creation_ts_date_format.format(now)); comment.addAttribute(BugzillaReportElement.BUG_WHEN.getKeyString(), attribute); report.addComment(comment); assertNull(task.getCompletionDate()); RepositoryTaskAttribute resolvedAttribute = attributeFactory.createAttribute(BugzillaReportElement.BUG_STATUS.getKeyString()); resolvedAttribute.setValue(RepositoryTaskData.VAL_STATUS_RESOLVED); report.addAttribute(BugzillaReportElement.BUG_STATUS.getKeyString(), resolvedAttribute); assertNotNull(task.getCompletionDate()); assertEquals(Comment.creation_ts_date_format.format(now), Comment.creation_ts_date_format.format(task .getCompletionDate())); }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/0292c653990aec2709b85670f390ed0a0a1283ee/BugzillaTaskTest.java/buggy/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/BugzillaTaskTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
11238,
1626,
1435,
288,
202,
202,
19865,
15990,
2174,
1562,
273,
394,
16907,
15990,
2174,
2932,
4110,
3113,
315,
3384,
3113,
638,
1769,
202,
202,
3305,
2174,
751,
2605,
273,
394,
6281,
2174,
751,
12,
2704,
16907,
15990,
1499,
1733,
9334,
225,
16907,
15990,
3773,
18,
862,
30986,
67,
47,
2356,
16,
467,
19865,
15990,
2918,
18,
7228,
2053,
52,
1090,
67,
4827,
62,
2627,
2534,
67,
1785,
16,
404,
1769,
202,
202,
4146,
18,
542,
2174,
751,
12,
6006,
1769,
202,
202,
11231,
2041,
12,
4146,
18,
588,
11238,
1626,
10663,
202,
202,
7335,
5686,
273,
5542,
18,
588,
1442,
5621,
202,
202,
1626,
2037,
273,
394,
2167,
12,
11650,
18,
588,
950,
16620,
10663,
202,
202,
4469,
2879,
273,
394,
9821,
12,
2704,
16907,
15990,
1499,
1733,
9334,
2605,
16,
404,
1769,
202,
202,
3305,
2174,
1499,
1566,
273,
1566,
1733,
18,
2640,
1499,
12,
19865,
15990,
4820,
1046,
18,
4827,
67,
12557,
1157,
18,
588,
653,
780,
10663,
202,
202,
4589,
18,
542,
620,
12,
4469,
18,
17169,
67,
3428,
67,
712,
67,
2139,
18,
2139,
12,
3338,
10019,
202,
202,
3469,
18,
1289,
1499,
12,
19865,
15990,
4820,
1046,
18,
4827,
67,
12557,
1157,
18,
588,
653,
780,
9334,
1566,
1769,
202,
202,
6006,
18,
1289,
4469,
12,
3469,
1769,
202,
202,
11231,
2041,
12,
4146,
18,
588,
11238,
1626,
10663,
202,
202,
3305,
2174,
1499,
4640,
1499,
273,
1566,
1733,
18,
2640,
1499,
12,
19865,
15990,
4820,
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,
11238,
1626,
1435,
288,
202,
202,
19865,
15990,
2174,
1562,
273,
394,
16907,
15990,
2174,
2932,
4110,
3113,
315,
3384,
3113,
638,
1769,
202,
202,
3305,
2174,
751,
2605,
273,
394,
6281,
2174,
751,
12,
2704,
16907,
15990,
1499,
1733,
9334,
225,
16907,
15990,
3773,
18,
862,
30986,
67,
47,
2356,
16,
467,
19865,
15990,
2918,
18,
7228,
2053,
52,
1090,
67,
4827,
62,
2627,
2534,
67,
1785,
16,
404,
1769,
202,
202,
4146,
18,
542,
2174,
751,
12,
6006,
1769,
202,
202,
11231,
2041,
12,
4146,
18,
588,
11238,
1626,
10663,
202,
202,
7335,
5686,
273,
5542,
18,
588,
1442,
5621,
202,
202,
1626,
2037,
273,
394,
2167,
12,
11650,
18,
588,
950,
2
] |
OptLocalVariable lVar = (OptLocalVariable) vars.getVariable(i);
|
OptLocalVariable lVar = OptLocalVariable.get(vars, i);
|
public String generateCode(Node tree, ObjArray names, ObjArray classFiles, ClassNameHelper nameHelper) { this.itsNameHelper = (OptClassNameHelper) nameHelper; this.namesVector = names; this.classFilesVector = classFiles; Context cx = Context.getCurrentContext(); itsSourceFile = null; // default is to generate debug info if (!cx.isGeneratingDebugChanged() || cx.isGeneratingDebug()) itsSourceFile = (String) tree.getProp(Node.SOURCENAME_PROP); version = cx.getLanguageVersion(); optLevel = cx.getOptimizationLevel(); inFunction = tree.getType() == TokenStream.FUNCTION; superClassName = inFunction ? normalFunctionSuperClassName : normalScriptSuperClassName; superClassSlashName = superClassName.replace('.', '/'); Node codegenBase; if (inFunction) { OptFunctionNode fnNode = (OptFunctionNode) tree; inDirectCallFunction = fnNode.isTargetOfDirectCall(); vars = (OptVariableTable) fnNode.getVariableTable(); this.name = fnNode.getClassName(); classFile = new ClassFileWriter(name, superClassName, itsSourceFile); Node args = tree.getFirstChild(); String name = fnNode.getFunctionName(); generateInit(cx, "<init>", tree, name, args); if (fnNode.isTargetOfDirectCall()) { classFile.startMethod("call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)Ljava/lang/Object;", (short)(ClassFileWriter.ACC_PUBLIC + ClassFileWriter.ACC_FINAL)); addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.ALOAD_1); addByteCode(ByteCode.ALOAD_2); addByteCode(ByteCode.ALOAD_3); for (int i = 0; i < vars.getParameterCount(); i++) { push(i); addByteCode(ByteCode.ALOAD, 4); addByteCode(ByteCode.ARRAYLENGTH); int undefArg = acquireLabel(); int beyond = acquireLabel(); addByteCode(ByteCode.IF_ICMPGE, undefArg); addByteCode(ByteCode.ALOAD, 4); push(i); addByteCode(ByteCode.AALOAD); push(0.0); addByteCode(ByteCode.GOTO, beyond); markLabel(undefArg); pushUndefined(); push(0.0); markLabel(beyond); } addByteCode(ByteCode.ALOAD, 4); addVirtualInvoke(this.name, "callDirect", fnNode.getDirectCallParameterSignature(), "Ljava/lang/Object;"); addByteCode(ByteCode.ARETURN); classFile.stopMethod((short)5, null); // 1 for this, 1 for js this, 1 for args[] emitDirectConstructor(fnNode); startNewMethod("callDirect", fnNode.getDirectCallParameterSignature() + "Ljava/lang/Object;", 1, false, true); vars.assignParameterJRegs(); if (!fnNode.getParameterNumberContext()) { // make sure that all parameters are objects itsForcedObjectParameters = true; for (int i = 0; i < vars.getParameterCount(); i++) { OptLocalVariable lVar = (OptLocalVariable) vars.getVariable(i); aload(lVar.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); int isObjectLabel = acquireLabel(); addByteCode(ByteCode.IF_ACMPNE, isObjectLabel); addByteCode(ByteCode.NEW,"java/lang/Double"); addByteCode(ByteCode.DUP); dload((short)(lVar.getJRegister() + 1)); addDoubleConstructor(); astore(lVar.getJRegister()); markLabel(isObjectLabel); } } generatePrologue(cx, tree, true, vars.getParameterCount()); } else { startNewMethod("call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)Ljava/lang/Object;", 1, false, true); generatePrologue(cx, tree, true, -1); } codegenBase = tree.getLastChild(); } else { // better be a script if (tree.getType() != TokenStream.SCRIPT) badTree(); vars = (OptVariableTable) tree.getProp(Node.VARS_PROP); boolean isPrimary = itsNameHelper.getTargetExtends() == null && itsNameHelper.getTargetImplements() == null; this.name = itsNameHelper.getJavaScriptClassName(null, isPrimary); classFile = new ClassFileWriter(name, superClassName, itsSourceFile); classFile.addInterface("org/mozilla/javascript/Script"); generateScriptCtor(cx, tree); generateMain(cx); generateInit(cx, "initScript", tree, "", null); generateExecute(cx); startNewMethod("call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)Ljava/lang/Object;", 1, false, true); generatePrologue(cx, tree, false, -1); int linenum = tree.getIntProp(Node.END_LINENO_PROP, -1); if (linenum != -1) classFile.addLineNumberEntry((short)linenum); tree.addChildToBack(new Node(TokenStream.RETURN)); codegenBase = tree; } generateCodeFromNode(codegenBase, null, -1, -1); generateEpilogue(); finishMethod(cx, debugVars); emitConstantDudeInitializers(); byte[] bytes = classFile.toByteArray(); namesVector.add(name); classFilesVector.add(bytes); classFile = null; namesVector = null; classFilesVector = null; return name; }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/e3cd9db98a29867a6fa7aee4c11b3ad46fc615db/Codegen.java/buggy/src/org/mozilla/javascript/optimizer/Codegen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2103,
1085,
12,
907,
2151,
16,
18760,
1076,
1257,
16,
18760,
1076,
667,
2697,
16,
1171,
9079,
19811,
2276,
508,
2276,
13,
565,
288,
3639,
333,
18,
1282,
461,
2276,
273,
261,
6179,
3834,
2276,
13,
508,
2276,
31,
3639,
333,
18,
1973,
5018,
273,
1257,
31,
3639,
333,
18,
1106,
2697,
5018,
273,
667,
2697,
31,
3639,
1772,
9494,
273,
1772,
18,
588,
3935,
1042,
5621,
3639,
2097,
31150,
273,
446,
31,
3639,
368,
805,
353,
358,
2103,
1198,
1123,
3639,
309,
16051,
71,
92,
18,
291,
21755,
2829,
5033,
1435,
747,
9494,
18,
291,
21755,
2829,
10756,
5411,
2097,
31150,
273,
261,
780,
13,
2151,
18,
588,
4658,
12,
907,
18,
3584,
1099,
39,
21150,
67,
15811,
1769,
3639,
1177,
273,
9494,
18,
588,
3779,
1444,
5621,
3639,
2153,
2355,
273,
9494,
18,
588,
13930,
1588,
2355,
5621,
3639,
316,
2083,
273,
2151,
18,
588,
559,
1435,
422,
3155,
1228,
18,
7788,
31,
3639,
2240,
3834,
273,
316,
2083,
7682,
692,
2212,
2083,
8051,
3834,
7682,
294,
2212,
3651,
8051,
3834,
31,
3639,
18846,
11033,
461,
273,
2240,
3834,
18,
2079,
2668,
1093,
16,
2023,
1769,
3639,
2029,
23198,
2171,
31,
3639,
309,
261,
267,
2083,
13,
288,
5411,
12056,
2083,
907,
2295,
907,
273,
261,
6179,
2083,
907,
13,
2151,
31,
5411,
316,
5368,
1477,
2083,
273,
2295,
907,
18,
291,
2326,
951,
5368,
1477,
5621,
5411,
4153,
273,
261,
6179,
3092,
1388,
13,
2295,
907,
18,
588,
3092,
1388,
5621,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2103,
1085,
12,
907,
2151,
16,
18760,
1076,
1257,
16,
18760,
1076,
667,
2697,
16,
1171,
9079,
19811,
2276,
508,
2276,
13,
565,
288,
3639,
333,
18,
1282,
461,
2276,
273,
261,
6179,
3834,
2276,
13,
508,
2276,
31,
3639,
333,
18,
1973,
5018,
273,
1257,
31,
3639,
333,
18,
1106,
2697,
5018,
273,
667,
2697,
31,
3639,
1772,
9494,
273,
1772,
18,
588,
3935,
1042,
5621,
3639,
2097,
31150,
273,
446,
31,
3639,
368,
805,
353,
358,
2103,
1198,
1123,
3639,
309,
16051,
71,
92,
18,
291,
21755,
2829,
5033,
1435,
747,
9494,
18,
291,
21755,
2829,
10756,
5411,
2097,
31150,
273,
261,
780,
13,
2151,
18,
588,
4658,
12,
907,
18,
3584,
1099,
39,
2
] |
if ( target != null && target instanceof CDebugTarget ) { ICDIVariableObject vo = null; try { vo = ((CDebugTarget)target).getCDISession().getVariableManager().getGlobalVariableObject( fileName.lastSegment(), null, name ); ICDIVariable cdiVariable = ((CDebugTarget)target).getCDISession().getVariableManager().createVariable( vo ); return new CExpression( (CDebugTarget)target, cdiVariable ); } catch( CDIException e ) { throw new DebugException( new Status( IStatus.ERROR, getPluginIdentifier(), DebugException.TARGET_REQUEST_FAILED, (vo != null) ? vo.getName() + ": " + e.getMessage() : e.getMessage(), null ) ); } } return null;
|
return CDIDebugModel.createExpressionForGlobalVariable( target, fileName, name );
|
public static IExpression createExpressionForGlobalVariable( IDebugTarget target, IPath fileName, String name ) throws DebugException { if ( target != null && target instanceof CDebugTarget ) { ICDIVariableObject vo = null; try { vo = ((CDebugTarget)target).getCDISession().getVariableManager().getGlobalVariableObject( fileName.lastSegment(), null, name ); ICDIVariable cdiVariable = ((CDebugTarget)target).getCDISession().getVariableManager().createVariable( vo ); return new CExpression( (CDebugTarget)target, cdiVariable ); } catch( CDIException e ) { throw new DebugException( new Status( IStatus.ERROR, getPluginIdentifier(), DebugException.TARGET_REQUEST_FAILED, (vo != null) ? vo.getName() + ": " + e.getMessage() : e.getMessage(), //$NON-NLS-1$ null ) ); } } return null; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/3b630ffde62131ed171a0537f627d4297ba4646d/CDebugModel.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
467,
2300,
752,
2300,
1290,
5160,
3092,
12,
467,
2829,
2326,
1018,
16,
467,
743,
3968,
16,
514,
508,
262,
1216,
4015,
503,
288,
202,
202,
430,
261,
1018,
480,
446,
597,
1018,
1276,
385,
2829,
2326,
262,
288,
1082,
202,
2871,
2565,
3092,
921,
19993,
273,
446,
31,
1082,
202,
698,
288,
9506,
202,
12307,
273,
14015,
39,
2829,
2326,
13,
3299,
2934,
588,
39,
2565,
2157,
7675,
588,
3092,
1318,
7675,
588,
5160,
3092,
921,
12,
3968,
18,
2722,
4131,
9334,
446,
16,
508,
11272,
9506,
202,
2871,
2565,
3092,
276,
3211,
3092,
273,
14015,
39,
2829,
2326,
13,
3299,
2934,
588,
39,
2565,
2157,
7675,
588,
3092,
1318,
7675,
2640,
3092,
12,
19993,
11272,
9506,
202,
2463,
394,
385,
2300,
12,
261,
39,
2829,
2326,
13,
3299,
16,
276,
3211,
3092,
11272,
1082,
202,
97,
1082,
202,
14683,
12,
385,
2565,
503,
425,
262,
288,
9506,
202,
12849,
394,
4015,
503,
12,
394,
2685,
12,
467,
1482,
18,
3589,
16,
16319,
3004,
9334,
4015,
503,
18,
16374,
67,
5519,
67,
11965,
16,
261,
12307,
480,
446,
13,
692,
19993,
18,
17994,
1435,
397,
6398,
315,
397,
425,
18,
24906,
1435,
294,
425,
18,
24906,
9334,
4329,
3993,
17,
5106,
17,
21,
8,
25083,
202,
2011,
262,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
2300,
752,
2300,
1290,
5160,
3092,
12,
467,
2829,
2326,
1018,
16,
467,
743,
3968,
16,
514,
508,
262,
1216,
4015,
503,
288,
202,
202,
430,
261,
1018,
480,
446,
597,
1018,
1276,
385,
2829,
2326,
262,
288,
1082,
202,
2871,
2565,
3092,
921,
19993,
273,
446,
31,
1082,
202,
698,
288,
9506,
202,
12307,
273,
14015,
39,
2829,
2326,
13,
3299,
2934,
588,
39,
2565,
2157,
7675,
588,
3092,
1318,
7675,
588,
5160,
3092,
921,
12,
3968,
18,
2722,
4131,
9334,
446,
16,
508,
11272,
9506,
202,
2871,
2565,
3092,
276,
3211,
3092,
273,
14015,
39,
2829,
2326,
13,
3299,
2934,
588,
39,
2565,
2157,
7675,
588,
3092,
1318,
7675,
2640,
3092,
12,
2
] |
this.targetToModelConverter = converter;
|
this.targetToModelConverters[0] = converter;
|
public BindSpec setTargetToModelConverter(IConverter converter) { this.targetToModelConverter = converter; return this; }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/91c398d5d30e2c083c6786276fcc4900b3a767a1/BindSpec.java/clean/bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/provisional/BindSpec.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6936,
1990,
18367,
774,
1488,
5072,
12,
45,
5072,
6027,
13,
288,
202,
202,
2211,
18,
3299,
774,
1488,
5072,
273,
6027,
31,
202,
202,
2463,
333,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
6936,
1990,
18367,
774,
1488,
5072,
12,
45,
5072,
6027,
13,
288,
202,
202,
2211,
18,
3299,
774,
1488,
5072,
273,
6027,
31,
202,
202,
2463,
333,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public boolean accept(Object arg0) { if (arg0 instanceof Transaction){ Transaction t = (Transaction) arg0; if (t.getDescription().toLowerCase().contains(filterText.toLowerCase()) || t.getNumber().toLowerCase().contains(filterText.toLowerCase()) || t.getMemo().toLowerCase().contains(filterText.toLowerCase()) || t.getFrom().getName().toLowerCase().contains(filterText.toLowerCase()) || t.getTo().getName().toLowerCase().contains(filterText.toLowerCase())) return true; else return false; } else if (arg0 == null) {
|
public boolean accept(Object obj) { if (null == obj) {
|
public boolean accept(Object arg0) { if (arg0 instanceof Transaction){ Transaction t = (Transaction) arg0; if (t.getDescription().toLowerCase().contains(filterText.toLowerCase()) || t.getNumber().toLowerCase().contains(filterText.toLowerCase()) || t.getMemo().toLowerCase().contains(filterText.toLowerCase()) || t.getFrom().getName().toLowerCase().contains(filterText.toLowerCase()) || t.getTo().getName().toLowerCase().contains(filterText.toLowerCase())) return true; else return false; } else if (arg0 == null) { return true; } else { return false; } }
|
58048 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58048/afeacfb9452ec3aec82af99cd4f447a19cfa9af2/TransactionsFrame.java/buggy/src/org/homeunix/drummer/controller/TransactionsFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
2791,
12,
921,
1501,
20,
13,
288,
1082,
202,
430,
261,
3175,
20,
1276,
5947,
15329,
9506,
202,
3342,
268,
273,
261,
3342,
13,
1501,
20,
31,
9506,
202,
430,
261,
88,
18,
588,
3291,
7675,
869,
5630,
7675,
12298,
12,
2188,
1528,
18,
869,
5630,
10756,
9944,
202,
20081,
268,
18,
588,
1854,
7675,
869,
5630,
7675,
12298,
12,
2188,
1528,
18,
869,
5630,
10756,
25083,
202,
20081,
268,
18,
588,
21230,
7675,
869,
5630,
7675,
12298,
12,
2188,
1528,
18,
869,
5630,
10756,
25083,
202,
20081,
268,
18,
588,
1265,
7675,
17994,
7675,
869,
5630,
7675,
12298,
12,
2188,
1528,
18,
869,
5630,
10756,
25083,
202,
20081,
268,
18,
588,
774,
7675,
17994,
7675,
869,
5630,
7675,
12298,
12,
2188,
1528,
18,
869,
5630,
1435,
3719,
6862,
202,
2463,
638,
31,
9506,
202,
12107,
6862,
202,
2463,
629,
31,
1082,
202,
97,
1082,
202,
12107,
309,
261,
3175,
20,
422,
446,
13,
288,
9506,
202,
2463,
638,
31,
1082,
202,
97,
1082,
202,
12107,
288,
9506,
202,
2463,
629,
31,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
2791,
12,
921,
1501,
20,
13,
288,
1082,
202,
430,
261,
3175,
20,
1276,
5947,
15329,
9506,
202,
3342,
268,
273,
261,
3342,
13,
1501,
20,
31,
9506,
202,
430,
261,
88,
18,
588,
3291,
7675,
869,
5630,
7675,
12298,
12,
2188,
1528,
18,
869,
5630,
10756,
9944,
202,
20081,
268,
18,
588,
1854,
7675,
869,
5630,
7675,
12298,
12,
2188,
1528,
18,
869,
5630,
10756,
25083,
202,
20081,
268,
18,
588,
21230,
7675,
869,
5630,
7675,
12298,
12,
2188,
1528,
18,
869,
5630,
10756,
25083,
202,
20081,
268,
18,
588,
1265,
7675,
17994,
7675,
869,
5630,
7675,
12298,
12,
2188,
1528,
18,
869,
5630,
10756,
25083,
202,
20081,
268,
18,
588,
774,
7675,
17994,
2
] |
sourceRectangle = bounds;
|
sourceRectangle = new PrecisionRectangle(bounds);
|
protected void captureSourceDimensions() { List editparts = getOperationSet(); for (int i = 0; i < editparts.size(); i++) { GraphicalEditPart child = (GraphicalEditPart)editparts.get(i); IFigure figure = child.getFigure(); PrecisionRectangle bounds = null; if (figure instanceof HandleBounds) bounds = new PrecisionRectangle(((HandleBounds)figure).getHandleBounds()); else bounds = new PrecisionRectangle(figure.getBounds()); figure.translateToAbsolute(bounds); if (compoundSrcRect == null) compoundSrcRect = bounds; else compoundSrcRect = new PrecisionRectangle(compoundSrcRect.union(bounds)); if (child == getSourceEditPart()) sourceRectangle = bounds; } if (sourceRectangle == null) { /* * @TODO:Pratik Check to see if this ever happens. I.e., if the operation * set does not include the source edit part. */ IFigure figure = ((GraphicalEditPart)getSourceEditPart()).getFigure(); if (figure instanceof HandleBounds) sourceRectangle = new PrecisionRectangle( ((HandleBounds)figure).getHandleBounds()); else sourceRectangle = new PrecisionRectangle(figure.getBounds()); figure.translateToAbsolute(sourceRectangle); } }
|
11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/9715c4c6521dd8deabab77c16518a6ae58e7fe59/DragEditPartsTracker.java/buggy/org.eclipse.gef/src/org/eclipse/gef/tools/DragEditPartsTracker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7477,
1830,
10796,
1435,
288,
202,
682,
3874,
6019,
273,
21162,
694,
5621,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
3874,
6019,
18,
1467,
5621,
277,
27245,
288,
202,
202,
4137,
1706,
4666,
1988,
1151,
273,
261,
4137,
1706,
4666,
1988,
13,
4619,
6019,
18,
588,
12,
77,
1769,
202,
202,
5501,
15906,
7837,
273,
1151,
18,
588,
42,
15906,
5621,
202,
202,
15410,
19463,
4972,
273,
446,
31,
202,
202,
430,
261,
19675,
1276,
5004,
5694,
13,
1082,
202,
10576,
273,
394,
2962,
5156,
19463,
12443,
12,
3259,
5694,
13,
19675,
2934,
588,
3259,
5694,
10663,
202,
202,
12107,
1082,
202,
10576,
273,
394,
2962,
5156,
19463,
12,
19675,
18,
588,
5694,
10663,
202,
202,
19675,
18,
13929,
774,
10368,
12,
10576,
1769,
9506,
202,
430,
261,
22585,
7740,
6120,
422,
446,
13,
1082,
202,
22585,
7740,
6120,
273,
4972,
31,
202,
202,
12107,
1082,
202,
22585,
7740,
6120,
273,
394,
2962,
5156,
19463,
12,
22585,
7740,
6120,
18,
18910,
12,
10576,
10019,
202,
202,
430,
261,
3624,
422,
7889,
4666,
1988,
10756,
1082,
202,
3168,
19463,
273,
4972,
31,
202,
97,
202,
430,
261,
3168,
19463,
422,
446,
13,
288,
202,
202,
20308,
1082,
380,
632,
6241,
30,
2050,
270,
1766,
565,
2073,
358,
2621,
309,
333,
14103,
10555,
18,
225,
467,
18,
73,
12990,
309,
326,
1674,
1082,
380,
444,
1552,
486,
2341,
326,
1084,
3874,
1087,
18,
1082,
1195,
202,
202,
5501,
15906,
7837,
273,
14015,
4137,
1706,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7477,
1830,
10796,
1435,
288,
202,
682,
3874,
6019,
273,
21162,
694,
5621,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
3874,
6019,
18,
1467,
5621,
277,
27245,
288,
202,
202,
4137,
1706,
4666,
1988,
1151,
273,
261,
4137,
1706,
4666,
1988,
13,
4619,
6019,
18,
588,
12,
77,
1769,
202,
202,
5501,
15906,
7837,
273,
1151,
18,
588,
42,
15906,
5621,
202,
202,
15410,
19463,
4972,
273,
446,
31,
202,
202,
430,
261,
19675,
1276,
5004,
5694,
13,
1082,
202,
10576,
273,
394,
2962,
5156,
19463,
12443,
12,
3259,
5694,
13,
19675,
2934,
588,
3259,
5694,
10663,
202,
202,
12107,
1082,
202,
10576,
273,
394,
2962,
5156,
19463,
12,
19675,
18,
588,
5694,
10663,
2
] |
service.getComponentManager().getProfileManager().unregister(layout);
|
ProfileManager profileManager = service.getComponentManager().getProfileManager(); if ( layout.equals(profileManager.getEntryLayout()) ) { profileManager.setEntryLayout(null); } profileManager.unregister(layout);
|
public void remove(Layout layout) throws ProcessingException { if ( layout != null ) { this.init(); if ( layout instanceof CompositeLayout ) { Iterator itemIterator = ((CompositeLayout)layout).getItems().iterator(); while ( itemIterator.hasNext() ) { this.remove( ((Item)itemIterator.next()).getLayout()); } } Item parent = layout.getParent(); if ( parent != null && parent.getParent() != null) { parent.getParent().removeItem( parent ); } PortalService service = null; try { service = (PortalService)this.manager.lookup(PortalService.ROLE); if ( layout instanceof CopletLayout ) { CopletFactory factory = service.getComponentManager().getCopletFactory(); factory.remove( ((CopletLayout)layout).getCopletInstanceData()); } service.getComponentManager().getProfileManager().unregister(layout); } catch (ServiceException ce) { throw new ProcessingException("Unable to lookup portal service.", ce); } finally { this.manager.release( service ); } } }
|
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/8b413b0f671027d720e15fa16c6068f4f21a355e/DefaultLayoutFactory.java/clean/src/blocks/portal/java/org/apache/cocoon/portal/layout/impl/DefaultLayoutFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
12,
3744,
3511,
13,
377,
1216,
19652,
503,
288,
3639,
309,
261,
3511,
480,
446,
262,
288,
5411,
333,
18,
2738,
5621,
5411,
309,
261,
3511,
1276,
14728,
3744,
262,
288,
7734,
4498,
761,
3198,
273,
14015,
9400,
3744,
13,
6741,
2934,
588,
3126,
7675,
9838,
5621,
7734,
1323,
261,
761,
3198,
18,
5332,
2134,
1435,
262,
288,
10792,
333,
18,
4479,
12,
14015,
1180,
13,
1726,
3198,
18,
4285,
1435,
2934,
588,
3744,
10663,
1171,
9079,
289,
5411,
289,
5411,
4342,
982,
273,
3511,
18,
588,
3054,
5621,
5411,
309,
261,
982,
480,
446,
597,
982,
18,
588,
3054,
1435,
480,
446,
13,
288,
7734,
982,
18,
588,
3054,
7675,
4479,
1180,
12,
982,
11272,
5411,
289,
13491,
25478,
1179,
1156,
273,
446,
31,
5411,
775,
288,
7734,
1156,
273,
261,
24395,
1179,
13,
2211,
18,
4181,
18,
8664,
12,
24395,
1179,
18,
16256,
1769,
7734,
309,
261,
3511,
1276,
7695,
1469,
3744,
262,
288,
10792,
7695,
1469,
1733,
3272,
273,
1156,
18,
588,
1841,
1318,
7675,
588,
4249,
1469,
1733,
5621,
10792,
3272,
18,
4479,
12,
14015,
4249,
1469,
3744,
13,
6741,
2934,
588,
4249,
1469,
1442,
751,
10663,
7734,
289,
7734,
11357,
1318,
3042,
1318,
273,
1156,
18,
588,
1841,
1318,
7675,
588,
4029,
1318,
5621,
309,
261,
3511,
18,
14963,
12,
5040,
1318,
18,
588,
1622,
3744,
10756,
262,
288,
3042,
1318,
18,
542,
1622,
3744,
12,
2011,
1769,
289,
3042,
1318,
18,
318,
4861,
12,
6741,
1769,
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,
918,
1206,
12,
3744,
3511,
13,
377,
1216,
19652,
503,
288,
3639,
309,
261,
3511,
480,
446,
262,
288,
5411,
333,
18,
2738,
5621,
5411,
309,
261,
3511,
1276,
14728,
3744,
262,
288,
7734,
4498,
761,
3198,
273,
14015,
9400,
3744,
13,
6741,
2934,
588,
3126,
7675,
9838,
5621,
7734,
1323,
261,
761,
3198,
18,
5332,
2134,
1435,
262,
288,
10792,
333,
18,
4479,
12,
14015,
1180,
13,
1726,
3198,
18,
4285,
1435,
2934,
588,
3744,
10663,
1171,
9079,
289,
5411,
289,
5411,
4342,
982,
273,
3511,
18,
588,
3054,
5621,
5411,
309,
261,
982,
480,
446,
597,
982,
18,
588,
3054,
1435,
480,
446,
13,
288,
7734,
982,
18,
588,
3054,
7675,
4479,
1180,
12,
982,
2
] |
public String getVersion()
|
public final String getVersion()
|
public String getVersion() { return version; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/7cc107e01ff95c250142dda3e246542e1b0c0794/MidiDevice.java/clean/core/src/classpath/javax/javax/sound/midi/MidiDevice.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
514,
8343,
1435,
565,
288,
1377,
327,
1177,
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,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
514,
8343,
1435,
565,
288,
1377,
327,
1177,
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,
-100
] |
public void run() { final JDialog dialog = new JDialog(LogUI.this, true); dialog.setTitle("Warning: You have no Receivers defined..."); dialog.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE);
|
public void run() { final JDialog dialog = new JDialog(LogUI.this, true); dialog.setTitle("Warning: You have no Receivers defined..."); dialog.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE);
|
public void run() { final JDialog dialog = new JDialog(LogUI.this, true); dialog.setTitle("Warning: You have no Receivers defined..."); dialog.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE); dialog.setResizable(false); noReceiversWarningPanel.setOkActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { dialog.setVisible(false); } }); dialog.getContentPane().add(noReceiversWarningPanel); dialog.pack(); Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); dialog.setLocation((screenSize.width / 2) - (dialog.getWidth() / 2), (screenSize.height / 2) - (dialog.getHeight() / 2)); dialog.show(); dialog.dispose(); if (noReceiversWarningPanel.getModel().isManualMode()) { toggleReceiversPanel(); } else if (noReceiversWarningPanel.getModel().isSimpleReceiverMode()) { int port = noReceiversWarningPanel.getModel().getSimplePort(); Class receiverClass = noReceiversWarningPanel.getModel() .getSimpleReceiverClass(); try { Receiver simpleReceiver = (Receiver) receiverClass.newInstance(); simpleReceiver.setName("Simple Receiver"); Method portMethod = simpleReceiver.getClass() .getMethod("setPort", new Class[]{int.class}); portMethod.invoke(simpleReceiver, new Object[]{new Integer(port)}); simpleReceiver.setThreshold(Level.DEBUG); PluginRegistry.startPlugin(simpleReceiver); receiversPanel.updateReceiverTreeInDispatchThread(); } catch (Exception e) { LogLog.error("Error creating Receiver", e); getStatusBar() .setMessage("An error occurred creating your Receiver"); } } else if (noReceiversWarningPanel.getModel().isLoadConfig()) { final URL url = noReceiversWarningPanel.getModel().getConfigToLoad(); if (url != null) { LogLog.debug("Initialiazing Log4j with " + url.toExternalForm()); new Thread(new Runnable() { public void run() { try { OptionConverter.selectAndConfigure(url, null, LogManager .getLoggerRepository()); } catch (Exception e) { LogLog.error("Error initializing Log4j", e); } LogManager.getLoggerRepository().getRootLogger() .addAppender(handler); receiversPanel.updateReceiverTreeInDispatchThread(); } }).start(); } } }
|
45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/3d13a775b379e3dcb56bfa1b7fbefd5c5dc2b470/LogUI.java/clean/src/java/org/apache/log4j/chainsaw/LogUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1086,
1435,
1377,
288,
3639,
727,
804,
6353,
6176,
273,
394,
804,
6353,
12,
1343,
5370,
18,
2211,
16,
638,
1769,
3639,
6176,
18,
542,
4247,
2932,
6210,
30,
4554,
1240,
1158,
9797,
6760,
2553,
7070,
1769,
3639,
6176,
18,
542,
1868,
4605,
2988,
12,
46,
6353,
18,
3191,
67,
4400,
44,
1360,
67,
673,
67,
13384,
1769,
3639,
6176,
18,
542,
607,
6934,
12,
5743,
1769,
3639,
1158,
4779,
6760,
6210,
5537,
18,
542,
8809,
1803,
2223,
12,
2704,
25962,
1435,
3639,
288,
1850,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
1850,
288,
5411,
6176,
18,
542,
6207,
12,
5743,
1769,
1850,
289,
3639,
15549,
3639,
6176,
18,
588,
1350,
8485,
7675,
1289,
12,
2135,
4779,
6760,
6210,
5537,
1769,
3639,
6176,
18,
2920,
5621,
3639,
13037,
5518,
1225,
273,
13288,
8691,
18,
588,
1868,
6364,
8691,
7675,
588,
7956,
1225,
5621,
3639,
6176,
18,
542,
2735,
12443,
9252,
1225,
18,
2819,
342,
576,
13,
300,
261,
12730,
18,
588,
2384,
1435,
342,
576,
3631,
5411,
261,
9252,
1225,
18,
4210,
342,
576,
13,
300,
261,
12730,
18,
588,
2686,
1435,
342,
576,
10019,
3639,
6176,
18,
4500,
5621,
3639,
6176,
18,
2251,
4150,
5621,
3639,
309,
261,
2135,
4779,
6760,
6210,
5537,
18,
588,
1488,
7675,
291,
25139,
2309,
10756,
3639,
288,
1850,
10486,
4779,
6760,
5537,
5621,
3639,
289,
3639,
469,
309,
261,
2135,
4779,
6760,
6210,
5537,
18,
588,
1488,
7675,
291,
5784,
12952,
2309,
10756,
3639,
288,
1850,
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,
4202,
1071,
918,
1086,
1435,
1377,
288,
3639,
727,
804,
6353,
6176,
273,
394,
804,
6353,
12,
1343,
5370,
18,
2211,
16,
638,
1769,
3639,
6176,
18,
542,
4247,
2932,
6210,
30,
4554,
1240,
1158,
9797,
6760,
2553,
7070,
1769,
3639,
6176,
18,
542,
1868,
4605,
2988,
12,
46,
6353,
18,
3191,
67,
4400,
44,
1360,
67,
673,
67,
13384,
1769,
3639,
6176,
18,
542,
607,
6934,
12,
5743,
1769,
3639,
1158,
4779,
6760,
6210,
5537,
18,
542,
8809,
1803,
2223,
12,
2704,
25962,
1435,
3639,
288,
1850,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
1850,
288,
5411,
6176,
18,
542,
6207,
12,
5743,
1769,
1850,
289,
3639,
15549,
3639,
6176,
18,
588,
1350,
8485,
7675,
1289,
12,
2
] |
return StringEvaluate.eval(ruby, self, this);
|
if (simple) { return getLiteral().to_s(); } else { return StringEvaluate.eval(ruby, self, this); }
|
public RubyObject eval(Ruby ruby, RubyObject self) { return StringEvaluate.eval(ruby, self, this); }
|
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/58f05ce53c167c336c9619e751471924f79325f3/DXStrNode.java/clean/org/jruby/nodes/DXStrNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
5302,
12,
54,
10340,
22155,
16,
19817,
921,
365,
13,
288,
3639,
309,
261,
9647,
13,
288,
327,
336,
6177,
7675,
869,
67,
87,
5621,
289,
469,
288,
327,
514,
15369,
18,
8622,
12,
27768,
16,
365,
16,
333,
1769,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
5302,
12,
54,
10340,
22155,
16,
19817,
921,
365,
13,
288,
3639,
309,
261,
9647,
13,
288,
327,
336,
6177,
7675,
869,
67,
87,
5621,
289,
469,
288,
327,
514,
15369,
18,
8622,
12,
27768,
16,
365,
16,
333,
1769,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
+" PI val too long (>0xfffff)"
|
+"PI VAL too long (>0xfffff)"
|
public void parse(boolean NS) throws EncodingException, EOFException, EntityException, ParseException { // define internal variables ns = NS; int temp_offset = 0, length1 = 0, length2 = 0, increment = 1; int depth = -1, attr_count = 0, ch = 0, ch_temp = 0; int prev_ch = 0, prev2_ch = 0, parser_state = STATE_DOC_START; //boolean has_amp = false; boolean is_ns = false; encoding = FORMAT_UTF8; boolean main_loop = true, hasDTD = false, hasDecl = false, docEnd = false, firstLT = true; char char_temp; //holds the ' or " indicating start of attr val boolean must_utf_8 = false; boolean BOM_detected = false; //long[] tag_stack = new long[256]; //long[] attr_name_array = new long[512]; // 512 attributes limit //ASCII UTF-8 UTF-16 UTF-16BE UTF-16LE ISO-8859-1 // //int[] scratch_buffer = new int[10]; // first check first several bytes BOM to determine if encoding is UTF16 if (XMLDoc[offset] == -2) { increment = 2; if (XMLDoc[offset + 1] == -1) { offset += 2; encoding = FORMAT_UTF_16BE; BOM_detected = true; r = new UTF16BEReader(); //increment = 2; } else throw new EncodingException("Unknown Character encoding: not UTF-16LE"); } else if (XMLDoc[offset] == -1) { increment = 2; if (XMLDoc[offset + 1] == -2) { offset += 2; //increment = 2; encoding = FORMAT_UTF_16LE; BOM_detected = true; r = new UTF16LEReader(); } else throw new EncodingException("Unknown Character encoding: not UTF-16LE"); } else if (XMLDoc[offset] == -17){ if (XMLDoc[offset+1] == -69 && XMLDoc[offset+2]==-65){ offset +=3; must_utf_8= true; } else throw new EncodingException("Unknown Character encoding: not UTF-8"); } else if (XMLDoc[offset]==0){ if (XMLDoc[offset+1] == 0x3c && XMLDoc[offset+2] == 0 && XMLDoc[offset+3] == 0x3f){ encoding = FORMAT_UTF_16BE; increment = 2; r = new UTF16BEReader(); } else throw new EncodingException("Unknown Character encoding: not UTF-16BE"); } else if (XMLDoc[offset]==0x3c){ if (XMLDoc[offset+1] == 0 && XMLDoc[offset+2] == 0x3f && XMLDoc[offset+3] == 0){ increment = 2; encoding = FORMAT_UTF_16LE; r = new UTF16LEReader(); } } // check for max file size exception if (encoding < FORMAT_UTF_16BE) { if ((offset + docLen) >= 1L << 30) throw new ParseException("Other error: file size too large "); } else { if ((offset - 2 + docLen) >= 1L << 31) throw new ParseException("Other error: file size too large "); } // enter the main finite state machine try { while (main_loop) { switch (parser_state) { case STATE_DOC_START : if (r.getChar() == '<') { temp_offset = offset; // xml decl has to be right after the start of the document if (r.skipChar('?') && (r.skipChar('x') || r.skipChar('X')) && (r.skipChar('m') || r.skipChar('M')) && (r.skipChar('l') || r.skipChar('L'))) { if (r.skipChar(' ') || r.skipChar('\t') || r.skipChar('\n') || r.skipChar('\r')) { ch = getCharAfterS(); temp_offset = offset; parser_state = STATE_DEC_ATTR_NAME; break; } else if (r.skipChar('?')) throw new ParseException( "Error in XML decl: premature ending" + formatLineNumber()); } offset = temp_offset; parser_state = STATE_LT_SEEN; break; } throw new ParseException( "Other Error: XML not starting properly" + formatLineNumber()); case STATE_DOC_END : docEnd = true; ch = getCharAfterS(); // eof exception should be thrown here for premature ending if (ch == '<') { if (r.skipChar('?')) { // processing instruction after end tag of root element temp_offset = offset; parser_state = STATE_END_PI; break; } else if ( r.skipChar('!') && r.skipChar('-') && r.skipChar('-')) { // comments allowed after the end tag of the root element temp_offset = offset; parser_state = STATE_END_COMMENT; break; } } throw new ParseException( "Other Error: XML not terminated properly" + formatLineNumber()); case STATE_LT_SEEN : //if (depth < -1) // throw new ParseException("Other Errors: Invalid depth"); temp_offset = offset; ch = r.getChar(); if (XMLChar.isNameStartChar(ch)) { //temp_offset = offset; //length1++; depth++; //if (ch == ':') // length2 = 0; parser_state = STATE_START_TAG; } else { switch (ch) { case '/' : parser_state = STATE_END_TAG; break; case '?' : temp_offset = offset; ch = r.getChar(); if (XMLChar.isNameStartChar(ch)) { //temp_offset = offset; if ((ch == 'x' || ch == 'X') && (r.skipChar('m') || r.skipChar('M')) && (r.skipChar('l') || r.skipChar('L'))) { ch = r.getChar(); if (ch == '?' || XMLChar.isSpaceChar(ch)) throw new ParseException( "Error in PI: [xX][mM][lL] not a valid PI targetname" + formatLineNumber()); offset = getPrevOffset(); } parser_state = STATE_PI_TAG; break; } throw new ParseException( "Other Error: First char after <? invalid" + formatLineNumber()); case '!' : // three possibility (comment, CDATA, DOCTYPE) ch = r.getChar(); switch (ch) { case '-' : if (r.skipChar('-')) { temp_offset = offset; parser_state = STATE_COMMENT; break; } else throw new ParseException( "Error in comment: Invalid char sequence to start a comment" + formatLineNumber()); case '[' : if (r.skipChar('C') && r.skipChar('D') && r.skipChar('A') && r.skipChar('T') && r.skipChar('A') && r.skipChar('[') && (depth != -1)) { temp_offset = offset; parser_state = STATE_CDATA; break; } else { if (depth == -1) throw new ParseException( "Error in CDATA: Wrong place for CDATA" + formatLineNumber()); throw new ParseException( "Error in CDATA: Invalid char sequence for CDATA" + formatLineNumber()); } case 'D' : if (r.skipChar('O') && r.skipChar('C') && r.skipChar('T') && r.skipChar('Y') && r.skipChar('P') && r.skipChar('E') && (depth == -1) && !hasDTD) { hasDTD = true; temp_offset = offset; parser_state = STATE_DOCTYPE; break; } else { if (hasDTD == true) throw new ParseException( "Error for DOCTYPE: Only DOCTYPE allowed" + formatLineNumber()); if (depth != -1) throw new ParseException( "Error for DOCTYPE: DTD at wrong place" + formatLineNumber()); throw new ParseException( "Error for DOCTYPE: Invalid char sequence for DOCTYPE" + formatLineNumber()); } default : throw new ParseException( "Other Error: Unrecognized char after <!" + formatLineNumber()); } break; default : throw new ParseException( "Other Error: Invalid char after <" + formatLineNumber()); } } break; case STATE_START_TAG : //name space is handled by while (true) { ch = r.getChar(); if (XMLChar.isNameChar(ch)) { if (ch == ':') { length2 = offset - temp_offset - increment; } } else break; } length1 = offset - temp_offset - increment; if (depth > MAX_DEPTH) { throw new ParseException( "Other Error: Depth exceeds MAX_DEPTH" + formatLineNumber()); } //writeVTD(offset, TOKEN_STARTING_TAG, length2:length1, depth) long x = ((long) length1 << 32) + temp_offset; tag_stack[depth] = x; // System.out.println( // " " + (temp_offset) + " " + length2 + ":" + length1 + " startingTag " + depth); if (depth > VTDDepth) VTDDepth = depth; if (encoding < FORMAT_UTF_16BE){ if (length2>MAX_PREFIX_LENGTH || length1 > MAX_QNAME_LENGTH) throw new ParseException( "Token Length Error: Starting tag prefix or qname length too long" + formatLineNumber()); writeVTD( (temp_offset), (length2 << 11) | length1, TOKEN_STARTING_TAG, depth);} else{ if (length2>(MAX_PREFIX_LENGTH<<1) || (length1 > MAX_QNAME_LENGTH<<1)) throw new ParseException( "Token Length Error: Starting tag prefix or qname length too long" + formatLineNumber()); writeVTD( (temp_offset) >> 1, (length2 << 10) | (length1 >> 1), TOKEN_STARTING_TAG, depth); } //offset += length1; length2 = 0; if (XMLChar.isSpaceChar(ch)) { ch = getCharAfterS(); if (XMLChar.isNameStartChar(ch)) { // seen an attribute here temp_offset = getPrevOffset(); parser_state = STATE_ATTR_NAME; break; } } if (ch == '/') { depth--; ch = r.getChar(); } if (ch == '>') { if (depth != -1) { temp_offset = offset; ch = getCharAfterSe(); // consume WSs if (ch == '<') { parser_state = STATE_LT_SEEN; if (r.skipChar('/')) { length1 = offset - temp_offset - 2 * increment; if (length1 > 0) { if (encoding < FORMAT_UTF_16BE) writeVTD( (temp_offset), length1, TOKEN_CHARACTER_DATA, depth); else writeVTD( (temp_offset) >> 1, (length1 >> 1), TOKEN_CHARACTER_DATA, depth); //offset += length1; } parser_state = STATE_END_TAG; break; } } else if (XMLChar.isContentChar(ch)) { //temp_offset = offset; parser_state = STATE_TEXT; } else if (ch == '&') { //has_amp = true; //temp_offset = offset; entityIdentifier(); parser_state = STATE_TEXT; } else throw new ParseException( "Error in text content: Invalid char" + formatLineNumber()); } else { parser_state = STATE_DOC_END; } break; } throw new ParseException( "Starting tag Error: Invalid char in starting tag" + formatLineNumber()); case STATE_END_TAG : temp_offset = offset; while (true) { ch = r.getChar(); if (!XMLChar.isNameChar(ch)) { break; } } length1 = offset - temp_offset - increment; int sos = (int) tag_stack[depth]; int sl = (int) (tag_stack[depth] >> 32); if (sl == length1) { for (int i = 0; i < length1; i++) { if (XMLDoc[sos + i] != XMLDoc[temp_offset + i]) throw new ParseException( "Ending tag error: Start/ending tag mismatch" + formatLineNumber()); // System.out.println( // " " + (char) XMLDoc[sos + i] + "<==> " + (char) XMLDoc[temp_offset + i]); } } else throw new ParseException( "Ending tag error: Start/ending tag mismatch, length different" + formatLineNumber()); //System.out.println(" " + temp_offset + " " + length1 + " ending tag " + depth); //writeVTD(temp_offset, length1, TOKEN_ENDING_TAG, depth); depth--; if (XMLChar.isSpaceChar(ch)) { ch = getCharAfterS(); } if (ch == '>') { if (depth != -1) { temp_offset = offset; ch = getCharAfterS(); if (ch == '<') parser_state = STATE_LT_SEEN; else if (XMLChar.isContentChar(ch)) { parser_state = STATE_TEXT; } else if (ch == '&') { //has_amp = true; entityIdentifier(); parser_state = STATE_TEXT; } else throw new ParseException( "Other Error: Invalid char in xml" + formatLineNumber()); } else parser_state = STATE_DOC_END; break; } else throw new ParseException( "Other Error: Invalid char in ending tag" + formatLineNumber()); case STATE_UNRECORDED_TEXT : break; case STATE_PI_TAG : while (true) { ch = r.getChar(); if (!XMLChar.isNameChar(ch)) break; } length1 = offset - temp_offset - increment; /*System.out.println( ((char) XMLDoc[temp_offset]) + " " + (temp_offset) + " " + length1 + " PI Target " + depth); */ if (encoding < FORMAT_UTF_16BE){ if (length1 > MAX_TOKEN_LENGTH) throw new ParseException("Token Length Error:" +" PI name too long (>0xfffff)" + formatLineNumber()); writeVTD( (temp_offset), length1, TOKEN_PI_NAME, depth); } else{ if (length1 > (MAX_TOKEN_LENGTH<<1)) throw new ParseException("Token Length Error:" +" PI name too long (>0xfffff)" + formatLineNumber()); writeVTD( (temp_offset) >> 1, (length1 >> 1), TOKEN_PI_NAME, depth); } //length1 = 0; temp_offset = offset; if (XMLChar.isSpaceChar(ch)) { ch = r.getChar(); } if (ch == '?') { if (r.skipChar('>')) { temp_offset = offset; ch = getCharAfterSe(); if (ch == '<') { parser_state = STATE_LT_SEEN; } else if (XMLChar.isContentChar(ch)) { parser_state = STATE_TEXT; } else if (ch == '&') { //has_amp = true; entityIdentifier(); parser_state = STATE_TEXT; } else throw new ParseException( "Error in text content: Invalid char" + formatLineNumber()); break; } else throw new ParseException( "Error in PI: invalid termination sequence" + formatLineNumber()); } parser_state = STATE_PI_VAL; break; //throw new ParseException("Error in PI: Invalid char"); case STATE_PI_VAL : //temp_offset = offset; while (true) { if (XMLChar.isValidChar(ch)) { //System.out.println(""+(char)ch); if (ch == '?') if (r.skipChar('>')) { break; } else throw new ParseException( "Error in PI: invalid termination sequence for PI" + formatLineNumber()); } else throw new ParseException( "Errors in PI: Invalid char in PI val" + formatLineNumber()); ch = r.getChar(); } length1 = offset - temp_offset - 2 * increment; /*System.out.println( ((char) XMLDoc[temp_offset]) + " " + (temp_offset) + " " + length1 + " PI val " + depth);*/ if (encoding < FORMAT_UTF_16BE){ if (length1 > MAX_TOKEN_LENGTH) throw new ParseException("Token Length Error:" +" PI val too long (>0xfffff)" + formatLineNumber()); writeVTD(temp_offset, length1, TOKEN_PI_VAL, depth); } else{ if (length1 > (MAX_TOKEN_LENGTH<<1)) throw new ParseException("Token Length Error:" +" PI val too long (>0xfffff)" + formatLineNumber()); writeVTD( temp_offset >> 1, length1 >> 1, TOKEN_PI_VAL, depth); } //length1 = 0; temp_offset = offset; ch = getCharAfterSe(); if (ch == '<') { parser_state = STATE_LT_SEEN; } else if (XMLChar.isContentChar(ch)) { //temp_offset = offset; parser_state = STATE_TEXT; } else if (ch == '&') { //has_amp = true; //temp_offset = offset; entityIdentifier(); parser_state = STATE_TEXT; } else throw new ParseException( "Error in text content: Invalid char" + formatLineNumber()); break; case STATE_DEC_ATTR_NAME : if (ch == 'v' && r.skipChar('e') && r.skipChar('r') && r.skipChar('s') && r.skipChar('i') && r.skipChar('o') && r.skipChar('n')) { ch = getCharAfterS(); if (ch == '=') { /*System.out.println( " " + (temp_offset - 1) + " " + 7 + " dec attr name version " + depth);*/ if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset - 1, 7, TOKEN_DEC_ATTR_NAME, depth); else writeVTD( (temp_offset - 2) >> 1, 7, TOKEN_DEC_ATTR_NAME, depth); } else throw new ParseException( "XML decl error: Invalid char" + formatLineNumber()); } else throw new ParseException( "XML decl error: should be version" + formatLineNumber()); ch_temp = getCharAfterS(); if (ch_temp != '\'' && ch_temp != '"') throw new ParseException( "XML decl error: Invalid char to start attr name" + formatLineNumber()); temp_offset = offset; // support 1.0 or 1.1 if (r.skipChar('1') && r.skipChar('.') && (r.skipChar('0') || r.skipChar('1'))) { /*System.out.println( " " + temp_offset + " " + 3 + " dec attr val (version)" + depth);*/ if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, 3, TOKEN_DEC_ATTR_VAL, depth); else writeVTD( temp_offset >> 1, 3, TOKEN_DEC_ATTR_VAL, depth); } else throw new ParseException( "XML decl error: Invalid version(other than 1.0 or 1.1) detected" + formatLineNumber()); if (!r.skipChar(ch_temp)) throw new ParseException( "XML decl error: version not terminated properly" + formatLineNumber()); ch = r.getChar(); //? space or e if (XMLChar.isSpaceChar(ch)) { ch = getCharAfterS(); temp_offset = offset - increment; if (ch == 'e') { if (r.skipChar('n') && r.skipChar('c') && r.skipChar('o') && r.skipChar('d') && r.skipChar('i') && r.skipChar('n') && r.skipChar('g')) { ch = r.getChar(); if (XMLChar.isSpaceChar(ch)) ch = getCharAfterS(); if (ch == '=') { /*System.out.println( " " + (temp_offset) + " " + 8 + " dec attr name (encoding) " + depth);*/ if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, 8, TOKEN_DEC_ATTR_NAME, depth); else writeVTD( temp_offset >> 1, 8, TOKEN_DEC_ATTR_NAME, depth); } else throw new ParseException( "XML decl error: Invalid char" + formatLineNumber()); ch_temp = getCharAfterS(); if (ch_temp != '"' && ch_temp != '\'') throw new ParseException( "XML decl error: Invalid char to start attr name" + formatLineNumber()); temp_offset = offset; ch = r.getChar(); switch (ch) { case 'a' : case 'A' : if ((r.skipChar('s') || r.skipChar('S')) && (r.skipChar('c') || r.skipChar('C')) && (r.skipChar('i') || r.skipChar('I')) && (r.skipChar('i') || r.skipChar('I')) && r.skipChar(ch_temp)) { if (encoding != FORMAT_UTF_16LE && encoding != FORMAT_UTF_16BE) { if (must_utf_8) throw new EncodingException("Can't switch from UTF-8" + formatLineNumber()); encoding = FORMAT_ASCII; r = new ASCIIReader(); /*System.out.println( " " + (temp_offset) + " " + 5 + " dec attr val (encoding) " + depth);*/ if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, 5, TOKEN_DEC_ATTR_VAL, depth); else writeVTD( temp_offset >> 1, 5, TOKEN_DEC_ATTR_VAL, depth); break; } else throw new ParseException( "XML decl error: Can't switch encoding to ASCII" + formatLineNumber()); } throw new ParseException( "XML decl error: Invalid Encoding" + formatLineNumber()); case 'i' : case 'I' : if ((r.skipChar('s') || r.skipChar('S')) && (r.skipChar('o') || r.skipChar('O')) && r.skipChar('-') && r.skipChar('8') && r.skipChar('8') && r.skipChar('5') && r.skipChar('9') && r.skipChar('-') && r.skipChar('1') && r.skipChar(ch_temp)) { if (encoding != FORMAT_UTF_16LE && encoding != FORMAT_UTF_16BE) { if (must_utf_8) throw new EncodingException("Can't switch from UTF-8" + formatLineNumber()); encoding = FORMAT_ISO_8859; r = new ISO8859Reader(); /*System.out.println( " " + (temp_offset) + " " + 10 + " dec attr val (encoding) " + depth);*/ if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, 10, TOKEN_DEC_ATTR_VAL, depth); else writeVTD( temp_offset >> 1, 10, TOKEN_DEC_ATTR_VAL, depth); break; } else throw new ParseException( "XML decl error: Can't switch encoding to ISO-8859" + formatLineNumber()); } throw new ParseException( "XML decl error: Invalid Encoding" + formatLineNumber()); case 'u' : case 'U' : if ((r.skipChar('s') || r.skipChar('S'))) if (r.skipChar('-') && (r.skipChar('a') || r.skipChar('A')) && (r.skipChar('s') || r.skipChar('S')) && (r.skipChar('c') || r.skipChar('C')) && (r.skipChar('i') || r.skipChar('I')) && (r.skipChar('i') || r.skipChar('I')) && r.skipChar(ch_temp)) { if (encoding != FORMAT_UTF_16LE && encoding != FORMAT_UTF_16BE) { if (must_utf_8) throw new EncodingException("Can't switch from UTF-8" + formatLineNumber()); encoding = FORMAT_ASCII; r = new ASCIIReader(); //System.out.println( // " " + (temp_offset) + " " + 5 + " dec attr val (encoding) " + depth); if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, 5, TOKEN_DEC_ATTR_VAL, depth); else writeVTD( temp_offset >> 1, 5, TOKEN_DEC_ATTR_VAL, depth); break; } else throw new ParseException( "XML decl error: Can't switch encoding to US-ASCII" + formatLineNumber()); } else throw new ParseException( "XML decl error: Invalid Encoding" + formatLineNumber()); if ((r.skipChar('t') || r.skipChar('T')) && (r.skipChar('f') || r.skipChar('F')) && r.skipChar('-')) { if (r.skipChar('8') && r.skipChar(ch_temp)) { if (encoding != FORMAT_UTF_16LE && encoding != FORMAT_UTF_16BE) { //encoding = FORMAT_UTF8; /*System.out.println( " " + (temp_offset) + " " + 5 + " dec attr val (encoding) " + depth);*/ if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, 5, TOKEN_DEC_ATTR_VAL, depth); else writeVTD( temp_offset >> 1, 5, TOKEN_DEC_ATTR_VAL, depth); break; } else throw new ParseException( "XML decl error: Can't switch encoding to UTF-8" + formatLineNumber()); } if (r.skipChar('1') && r.skipChar('6')) { if (r.skipChar(ch_temp)) { if (encoding == FORMAT_UTF_16LE || encoding == FORMAT_UTF_16BE) { if (!BOM_detected) throw new EncodingException("BOM not detected for UTF-16" + formatLineNumber()); /*System.out.println( " " + (temp_offset) + " " + 6 + " dec attr val (encoding) " + depth);*/ if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, 6, TOKEN_DEC_ATTR_VAL, depth); else writeVTD( temp_offset >> 1, 6, TOKEN_DEC_ATTR_VAL, depth); break; } throw new ParseException( "XML decl error: Can't switch encoding to UTF-16" + formatLineNumber()); } else if ( (r.skipChar('l') || r.skipChar('L')) && (r.skipChar('e') || r.skipChar( 'E')) && r.skipChar( ch_temp)) { if (encoding == FORMAT_UTF_16LE) { /*System.out.println( " " + (temp_offset) + " " + 7 + " dec attr val (encoding) " + depth);*/ if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, 7, TOKEN_DEC_ATTR_VAL, depth); else writeVTD( temp_offset >> 1, 7, TOKEN_DEC_ATTR_VAL, depth); break; } throw new ParseException( "XML del error: Can't switch encoding to UTF-16LE" + formatLineNumber()); } else if ( (r.skipChar('b') || r.skipChar('B')) && (r.skipChar('e') || r.skipChar( 'E')) && r.skipChar( ch_temp)) { if (encoding == FORMAT_UTF_16BE) { /*System.out.println( " " + (temp_offset) + " " + 7 + " dec attr val (encoding) " + depth);*/ if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, 7, TOKEN_DEC_ATTR_VAL, depth); else writeVTD( temp_offset >> 1, 7, TOKEN_DEC_ATTR_VAL, depth); break; } throw new ParseException( "XML del error: Can't swtich encoding to UTF-16BE" + formatLineNumber()); } throw new ParseException( "XML decl error: Invalid encoding" + formatLineNumber()); } } default : throw new ParseException( "XML decl Error: invalid encoding" + formatLineNumber()); } ch = r.getChar(); if (XMLChar.isSpaceChar(ch)) ch = getCharAfterS(); temp_offset = offset - increment; } else throw new ParseException( "XML decl Error: Invalid char" + formatLineNumber()); } if (ch == 's') { if (r.skipChar('t') && r.skipChar('a') && r.skipChar('n') && r.skipChar('d') && r.skipChar('a') && r.skipChar('l') && r.skipChar('o') && r.skipChar('n') && r.skipChar('e')) { ch = getCharAfterS(); if (ch != '=') throw new ParseException( "XML decl error: Invalid char" + formatLineNumber()); /*System.out.println( " " + temp_offset + " " + 3 + " dec attr name (standalone) " + depth);*/ if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, 10, TOKEN_DEC_ATTR_NAME, depth); else writeVTD( temp_offset >> 1, 10, TOKEN_DEC_ATTR_NAME, depth); ch_temp = getCharAfterS(); temp_offset = offset; if (ch_temp != '"' && ch_temp != '\'') throw new ParseException( "XML decl error: Invalid char to start attr name" + formatLineNumber()); ch = r.getChar(); if (ch == 'y') { if (r.skipChar('e') && r.skipChar('s') && r.skipChar(ch_temp)) { /*System.out.println( " " + (temp_offset) + " " + 3 + " dec attr val (standalone) " + depth);*/ if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, 3, TOKEN_DEC_ATTR_VAL, depth); else writeVTD( temp_offset >> 1, 3, TOKEN_DEC_ATTR_VAL, depth); } else throw new ParseException( "XML decl error: invalid val for standalone" + formatLineNumber()); } else if (ch == 'n') { if (r.skipChar('o') && r.skipChar(ch_temp)) { /*System.out.println( " " + (temp_offset) + " " + 2 + " dec attr val (standalone)" + depth);*/ if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, 2, TOKEN_DEC_ATTR_VAL, depth); else writeVTD( temp_offset >> 1, 2, TOKEN_DEC_ATTR_VAL, depth); } else throw new ParseException( "XML decl error: invalid val for standalone" + formatLineNumber()); } else throw new ParseException( "XML decl error: invalid val for standalone" + formatLineNumber()); } else throw new ParseException( "XML decl error" + formatLineNumber()); ch = r.getChar(); if (XMLChar.isSpaceChar(ch)) ch = getCharAfterS(); } } if (ch == '?' && r.skipChar('>')) { temp_offset = offset; ch = getCharAfterS(); if (ch == '<') { parser_state = STATE_LT_SEEN; } else throw new ParseException( "Other Error: Invalid Char in XML" + formatLineNumber()); } else throw new ParseException( "XML decl Error: Invalid termination sequence" + formatLineNumber()); break; case STATE_COMMENT : while (true) { ch = r.getChar(); if (XMLChar.isValidChar(ch)) { if (ch == '-' && r.skipChar('-')) { length1 = offset - temp_offset - 2 * increment; break; } } else throw new ParseException( "Error in comment: Invalid Char" + formatLineNumber()); } if (r.getChar() == '>') { //System.out.println(" " + (temp_offset) + " " + length1 + " comment " + depth); if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, length1, TOKEN_COMMENT, depth); else writeVTD( temp_offset >> 1, length1 >> 1, TOKEN_COMMENT, depth); //length1 = 0; temp_offset = offset; ch = getCharAfterSe(); if (ch == '<') { parser_state = STATE_LT_SEEN; } else if (XMLChar.isContentChar(ch)) { //temp_offset = offset; parser_state = STATE_TEXT; } else if (ch == '&') { //has_amp = true; //temp_offset = offset; entityIdentifier(); parser_state = STATE_TEXT; } else throw new ParseException( "Error in text content: Invalid char" + formatLineNumber()); break; } else throw new ParseException( "Error in comment: Invalid terminating sequence" + formatLineNumber()); case STATE_CDATA : while (true) { ch = r.getChar(); if (XMLChar.isValidChar(ch)) { if (ch == ']' && r.skipChar(']')) { while (r.skipChar(']')); if (r.skipChar('>')) { break; } else throw new ParseException( "Error in CDATA: Invalid termination sequence" + formatLineNumber()); } } else throw new ParseException( "Error in CDATA: Invalid Char" + formatLineNumber()); } length1 = offset - temp_offset - 3 * increment; if (encoding < FORMAT_UTF_16BE){ writeVTD( temp_offset, length1, TOKEN_CDATA_VAL, depth); } else { writeVTD( temp_offset >> 1, length1 >> 1, TOKEN_CDATA_VAL, depth); } //System.out.println(" " + (temp_offset) + " " + length1 + " CDATA " + depth); ch = getCharAfterSe(); if (ch == '<') { parser_state = STATE_LT_SEEN; } else if (XMLChar.isContentChar(ch)) { temp_offset = offset; parser_state = STATE_TEXT; } else if (ch == '&') { //has_amp = true; temp_offset = offset; entityIdentifier(); parser_state = STATE_TEXT; //temp_offset = offset; } else throw new ParseException("Other Error: Invalid char in xml"); break; case STATE_DOCTYPE : int z = 1; while (true) { ch = r.getChar(); if (XMLChar.isValidChar(ch)) { if (ch == '>') z--; else if (ch == '<') z++; if (z == 0) break; } else throw new ParseException( "Error in DOCTYPE: Invalid char" + formatLineNumber()); } length1 = offset - temp_offset - increment; /*System.out.println( " " + (temp_offset) + " " + length1 + " DOCTYPE val " + depth);*/ if (encoding < FORMAT_UTF_16BE){ if (length1 > MAX_TOKEN_LENGTH) throw new ParseException("Token Length Error:" +" DTD val too long (>0xfffff)" + formatLineNumber()); writeVTD( temp_offset, length1, TOKEN_DTD_VAL, depth); } else{ if (length1 > (MAX_TOKEN_LENGTH<<1)) throw new ParseException("Token Length Error:" +" DTD val too long (>0xfffff)" + formatLineNumber()); writeVTD( temp_offset >> 1, length1 >> 1, TOKEN_DTD_VAL, depth); } ch = getCharAfterS(); if (ch == '<') { parser_state = STATE_LT_SEEN; } else throw new ParseException( "Other Error: Invalid char in xml" + formatLineNumber()); break; case STATE_TEXT : if (depth == -1) throw new ParseException( "Error in text content: Char data at the wrong place" + formatLineNumber()); while (true) { ch = r.getChar(); if (XMLChar.isContentChar(ch)) { } else if (ch == '&') { //has_amp = true; if (!XMLChar.isValidChar(entityIdentifier())) throw new ParseException( "Error in text content: Invalid char in text content " + formatLineNumber()); //parser_state = STATE_TEXT; } else if (ch == '<') { break; } else if (ch == ']') { if (r.skipChar(']')) { while (r.skipChar(']')) { } if (r.skipChar('>')) throw new ParseException( "Error in text content: ]]> in text content" + formatLineNumber()); } } else throw new ParseException( "Error in text content: Invalid char in text content " + formatLineNumber()); } length1 = offset - increment - temp_offset; if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, length1, TOKEN_CHARACTER_DATA, depth); else writeVTD( temp_offset >> 1, length1 >> 1, TOKEN_CHARACTER_DATA, depth); //has_amp = true; parser_state = STATE_LT_SEEN; break; case STATE_ATTR_NAME : if (ch == 'x') { if (r.skipChar('m') && r.skipChar('l') && r.skipChar('n') && r.skipChar('s')) { ch = r.getChar(); if (ch == '=' || XMLChar.isSpaceChar(ch) || ch == ':') { is_ns = true; //break; } } } while (true) { if (XMLChar.isNameChar(ch)) { if (ch == ':') { length2 = offset - temp_offset - increment; } ch = r.getChar(); } else break; } length1 = getPrevOffset() - temp_offset; // check for uniqueness here boolean unique = true; boolean unequal; for (int i = 0; i < attr_count; i++) { unequal = false; int prevLen = (int) attr_name_array[i]; if (length1 == prevLen) { int prevOffset = (int) (attr_name_array[i] >> 32); for (int j = 0; j < prevLen; j++) { if (XMLDoc[prevOffset + j] != XMLDoc[temp_offset + j]) { unequal = true; break; } } } else unequal = true; unique = unique && unequal; } if (!unique && attr_count != 0) throw new ParseException( "Error in attr: Attr name not unique" + formatLineNumber()); unique = true; if (attr_count < attr_name_array.length) { //System.out.println("attr_count is "+ attr_count); //System.out.println("attr_name_array.length is " +attr_name_array.length); attr_name_array[attr_count] = ((long) (temp_offset) << 32) + length1; attr_count++; } else // grow the attr_name_array by 16 { long[] temp_array = attr_name_array; System.out.println( "size increase from " + temp_array.length + " to " + (attr_count + 16)); attr_name_array = new long[attr_count + ATTR_NAME_ARRAY_SIZE]; for (int i = 0; i < attr_count; i++) { attr_name_array[i] = temp_array[i]; } attr_name_array[attr_count] = ((long) (temp_offset) << 32) + length1; attr_count++; } // after checking, write VTD if (is_ns) { if (encoding < FORMAT_UTF_16BE){ if (length2>MAX_PREFIX_LENGTH || length1 > MAX_QNAME_LENGTH) throw new ParseException( "Token Length Error: Attr ns prefix or qname length too long" + formatLineNumber()); writeVTD( temp_offset, (length2 << 11) | length1, TOKEN_ATTR_NS, depth); } else{ if (length2>(MAX_PREFIX_LENGTH << 1) || length1 > (MAX_QNAME_LENGTH <<1)) throw new ParseException( "Token Length Error: Attr ns prefix or qname length too long" + formatLineNumber()); writeVTD( temp_offset >> 1, (length2 << 10) | (length1 >> 1), TOKEN_ATTR_NS, depth); } is_ns = false; } else { if (encoding < FORMAT_UTF_16BE){ if (length2>MAX_PREFIX_LENGTH || length1 > MAX_QNAME_LENGTH) throw new ParseException( "Token Length Error: attr name prefix or qname length too long" + formatLineNumber()); writeVTD( temp_offset, (length2 << 11) | length1, TOKEN_ATTR_NAME, depth); } else{ if (length2>(MAX_PREFIX_LENGTH<<1) || length1 > (MAX_QNAME_LENGTH<<1)) throw new ParseException( "Token Length Error: Attr name prefix or qname length too long" + formatLineNumber()); writeVTD( temp_offset >> 1, (length2 << 10) | (length1 >> 1), TOKEN_ATTR_NAME, depth); } } /*System.out.println( " " + temp_offset + " " + length2 + ":" + length1 + " attr name " + depth);*/ length2 = 0; if (XMLChar.isSpaceChar(ch)) { ch = getCharAfterS(); } if (ch != '=') throw new ParseException( "Error in attr: invalid char" + formatLineNumber()); ch_temp = getCharAfterS(); if (ch_temp != '"' && ch_temp != '\'') throw new ParseException( "Error in attr: invalid char (should be ' or \" )" + formatLineNumber()); temp_offset = offset; parser_state = STATE_ATTR_VAL; break; case STATE_ATTR_VAL : while (true) { ch = r.getChar(); if (XMLChar.isValidChar(ch) && ch != '<') { if (ch == ch_temp) break; if (ch == '&') { // as in vtd spec, we mark attr val with entities if (!XMLChar .isValidChar(entityIdentifier())) { throw new ParseException( "Error in attr: Invalid XML char" + formatLineNumber()); } } } else throw new ParseException( "Error in attr: Invalid XML char" + formatLineNumber()); } length1 = offset - temp_offset - increment; if (encoding < FORMAT_UTF_16BE){ if (length1 > MAX_TOKEN_LENGTH) throw new ParseException("Token Length Error:" +" Attr val too long (>0xfffff)" + formatLineNumber()); writeVTD( temp_offset, length1, TOKEN_ATTR_VAL, depth); } else{ if (length1 > MAX_TOKEN_LENGTH <<1) throw new ParseException("Token Length Error:" +" Attr val too long (>0xfffff)" + formatLineNumber()); writeVTD( temp_offset >> 1, length1 >> 1, TOKEN_ATTR_VAL, depth); } //System.out.println(" " + temp_offset + " " + length1 + " attr val " + depth); //has_amp = false; //length1 = 0; ch = r.getChar(); if (XMLChar.isSpaceChar(ch)) { ch = getCharAfterS(); if (XMLChar.isNameStartChar(ch)) { temp_offset = offset - increment; parser_state = STATE_ATTR_NAME; break; } } if (ch == '/') { depth--; ch = r.getChar(); } if (ch == '>') { attr_count = 0; if (depth != -1) { temp_offset = offset; ch = getCharAfterSe(); if (ch == '<') { parser_state = STATE_LT_SEEN; } else if (XMLChar.isContentChar(ch)) { //temp_offset = offset; parser_state = STATE_TEXT; } else if (ch == '&') { //has_amp = true; //temp_offset = offset; entityIdentifier(); parser_state = STATE_TEXT; } else throw new ParseException( "Error in text content: Invalid char" + formatLineNumber()); } else { parser_state = STATE_DOC_END; } break; } throw new ParseException( "Starting tag Error: Invalid char in starting tag" + formatLineNumber()); case STATE_END_PI : ch = r.getChar(); if (XMLChar.isNameStartChar(ch)) { if ((ch == 'x' || ch == 'X') && (r.skipChar('m') || r.skipChar('M')) && (r.skipChar('l') && r.skipChar('L'))) { //temp_offset = offset; ch = r.getChar(); if (XMLChar.isSpaceChar(ch) || ch == '?') throw new ParseException( "Error in PI: [xX][mM][lL] not a valid PI target" + formatLineNumber()); //offset = temp_offset; } while (true) { //ch = getChar(); if (!XMLChar.isNameChar(ch)) { break; } ch = r.getChar(); } length1 = offset - temp_offset - increment; /*System.out.println( "" + (char) XMLDoc[temp_offset] + " " + (temp_offset) + " " + length1 + " PI Target " + depth);*/ if (encoding < FORMAT_UTF_16BE){ if (length1 > MAX_TOKEN_LENGTH) throw new ParseException("Token Length Error:" +"PI name too long (>0xfffff)" + formatLineNumber()); writeVTD( temp_offset, length1, TOKEN_PI_NAME, depth); } else{ if (length1 > (MAX_TOKEN_LENGTH<<1)) throw new ParseException("Token Length Error:" +"PI name too long (>0xfffff)" + formatLineNumber()); writeVTD( temp_offset >> 1, length1 >> 1, TOKEN_PI_NAME, depth); } //length1 = 0; temp_offset = offset; if (XMLChar.isSpaceChar(ch)) { ch = getCharAfterS(); while (true) { if (XMLChar.isValidChar(ch)) { if (ch == '?') if (r.skipChar('>')) { parser_state = STATE_DOC_END; break; } else throw new ParseException( "Error in PI: invalid termination sequence" + formatLineNumber()); } else throw new ParseException( "Error in PI: Invalid char in PI val" + formatLineNumber()); ch = r.getChar(); } length1 = offset - temp_offset - 2 * increment; if (encoding < FORMAT_UTF_16BE){ if (length1 > MAX_TOKEN_LENGTH) throw new ParseException("Token Length Error:" +"PI val too long (>0xfffff)" + formatLineNumber()); writeVTD( temp_offset, length1, TOKEN_PI_VAL, depth); } else{ if (length1 > (MAX_TOKEN_LENGTH<<1)) throw new ParseException("Token Length Error:" +"PI val too long (>0xfffff)" + formatLineNumber()); writeVTD( temp_offset >> 1, length1 >> 1, TOKEN_PI_VAL, depth); } //System.out.println(" " + temp_offset + " " + length1 + " PI val " + depth); } else { if ((ch == '?') && r.skipChar('>')) { parser_state = STATE_DOC_END; } else throw new ParseException( "Error in PI: invalid termination sequence" + formatLineNumber()); } //parser_state = STATE_DOC_END; } else throw new ParseException("Error in PI: invalid char in PI target" +formatLineNumber()); break; case STATE_END_COMMENT : while (true) { ch = r.getChar(); if (XMLChar.isValidChar(ch)) { if (ch == '-' && r.skipChar('-')) { length1 = offset - temp_offset - 2 * increment; break; } } else throw new ParseException( "Error in comment: Invalid Char" + formatLineNumber()); } if (r.getChar() == '>') { //System.out.println(" " + temp_offset + " " + length1 + " comment " + depth); if (encoding < FORMAT_UTF_16BE) writeVTD( temp_offset, length1, TOKEN_COMMENT, depth); else writeVTD( temp_offset >> 1, length1 >> 1, TOKEN_COMMENT, depth); //length1 = 0; parser_state = STATE_DOC_END; break; } throw new ParseException( "Error in comment: '-->' expected" + formatLineNumber()); default : throw new ParseException( "Other error: invalid parser state" +formatLineNumber()); } } } catch (EOFException e) { if (parser_state != STATE_DOC_END) throw e; } }
|
3680 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3680/b398d55c30402df8a8de6650255b1399d4c8067b/VTDGen1.java/clean/com/ximpleware/VTDGen1.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1109,
12,
6494,
11472,
13,
202,
202,
15069,
13400,
503,
16,
30051,
16,
3887,
503,
16,
10616,
288,
202,
202,
759,
4426,
2713,
3152,
1082,
202,
2387,
273,
11472,
31,
202,
202,
474,
1906,
67,
3348,
273,
374,
16,
769,
21,
273,
374,
16,
769,
22,
273,
374,
16,
5504,
273,
404,
31,
202,
202,
474,
3598,
273,
300,
21,
16,
1604,
67,
1883,
273,
374,
16,
462,
273,
374,
16,
462,
67,
5814,
273,
374,
31,
202,
202,
474,
2807,
67,
343,
273,
374,
16,
2807,
22,
67,
343,
273,
374,
16,
2082,
67,
2019,
273,
7442,
67,
19693,
67,
7570,
31,
202,
202,
759,
6494,
711,
67,
931,
273,
629,
31,
3196,
202,
6494,
353,
67,
2387,
273,
629,
31,
202,
202,
5999,
273,
10449,
67,
5159,
28,
31,
202,
202,
6494,
2774,
67,
6498,
273,
638,
16,
1082,
202,
5332,
25728,
273,
629,
16,
1082,
202,
5332,
3456,
273,
629,
16,
1082,
202,
2434,
1638,
273,
629,
16,
1082,
202,
3645,
12050,
273,
638,
31,
202,
202,
3001,
1149,
67,
5814,
31,
368,
21056,
87,
326,
296,
578,
315,
11193,
787,
434,
1604,
1244,
202,
202,
6494,
1297,
67,
3158,
67,
28,
273,
629,
31,
202,
202,
6494,
25408,
67,
8238,
828,
273,
629,
31,
202,
202,
759,
5748,
8526,
1047,
67,
3772,
273,
394,
1525,
63,
5034,
15533,
202,
202,
759,
5748,
8526,
1604,
67,
529,
67,
1126,
273,
394,
1525,
63,
13757,
15533,
368,
13908,
1677,
1800,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1109,
12,
6494,
11472,
13,
202,
202,
15069,
13400,
503,
16,
30051,
16,
3887,
503,
16,
10616,
288,
202,
202,
759,
4426,
2713,
3152,
1082,
202,
2387,
273,
11472,
31,
202,
202,
474,
1906,
67,
3348,
273,
374,
16,
769,
21,
273,
374,
16,
769,
22,
273,
374,
16,
5504,
273,
404,
31,
202,
202,
474,
3598,
273,
300,
21,
16,
1604,
67,
1883,
273,
374,
16,
462,
273,
374,
16,
462,
67,
5814,
273,
374,
31,
202,
202,
474,
2807,
67,
343,
273,
374,
16,
2807,
22,
67,
343,
273,
374,
16,
2082,
67,
2019,
273,
7442,
67,
19693,
67,
7570,
31,
202,
202,
759,
6494,
711,
67,
931,
273,
629,
31,
3196,
202,
2
] |
public Object getAdapter( Class adapter ) { if ( adapter == ActionRegistry.class ) { return this.getActionRegistry( ); } else if ( adapter == PalettePage.class ) { if ( cmbExprListViewer != null ) { cmbExprListViewer.addSelectionChangedListener( palettePage.getSupport( ) ); } return palettePage; } if ( adapter == IContentOutlinePage.class ) { // ( (NonGEFSynchronizerWithMutiPageEditor) // getSelectionSynchronizer( ) ).add( (NonGEFSynchronizer) // outlinePage.getAdapter( NonGEFSynchronizer.class ) ); // Add JS Editor as a selection listener to Outline view selections. // outlinePage.addSelectionChangedListener( jsEditor ); DesignerOutlinePage outlinePage = new DesignerOutlinePage( SessionHandleAdapter.getInstance( ).getReportDesignHandle( )); return outlinePage; } // return the property sheet page if ( adapter == IPropertySheetPage.class ) { ReportPropertySheetPage sheetPage = new ReportPropertySheetPage( ); return sheetPage; } if ( adapter == DataViewPage.class ) { DataViewTreeViewerPage page = new DataViewTreeViewerPage( SessionHandleAdapter.getInstance( ).getReportDesignHandle( ) ); return page; } return super.getAdapter( adapter ); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/7c409e495e35e553656d02e7e469c925d28e601a/JSEditor.java/buggy/UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/internal/ui/editors/script/JSEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
16679,
12,
1659,
4516,
262,
202,
95,
202,
202,
430,
261,
4516,
422,
4382,
4243,
18,
1106,
262,
202,
202,
95,
1082,
202,
2463,
333,
18,
588,
1803,
4243,
12,
11272,
202,
202,
97,
202,
202,
12107,
309,
261,
4516,
422,
453,
8786,
1964,
18,
1106,
262,
202,
202,
95,
1082,
202,
430,
261,
276,
1627,
4742,
682,
18415,
480,
446,
262,
1082,
202,
95,
9506,
202,
71,
1627,
4742,
682,
18415,
18,
1289,
6233,
5033,
2223,
12,
12127,
1964,
18,
588,
6289,
12,
262,
11272,
1082,
202,
97,
1082,
202,
2463,
12127,
1964,
31,
202,
202,
97,
9506,
202,
430,
261,
4516,
422,
467,
1350,
21805,
1964,
18,
1106,
262,
202,
202,
95,
1082,
202,
759,
261,
261,
3989,
7113,
4931,
2600,
1824,
1190,
7420,
77,
1964,
6946,
13,
1082,
202,
759,
23204,
19298,
1824,
12,
262,
262,
18,
1289,
12,
261,
3989,
7113,
4931,
2600,
1824,
13,
1082,
202,
759,
16363,
1964,
18,
588,
4216,
12,
3858,
7113,
4931,
2600,
1824,
18,
1106,
262,
11272,
1082,
202,
759,
1436,
6756,
18451,
487,
279,
4421,
2991,
358,
2976,
1369,
1476,
21738,
18,
1082,
202,
759,
16363,
1964,
18,
1289,
6233,
5033,
2223,
12,
3828,
6946,
11272,
1082,
202,
15478,
264,
21805,
1964,
16363,
1964,
273,
394,
29703,
264,
21805,
1964,
12,
3877,
3259,
4216,
18,
588,
1442,
12,
262,
18,
588,
4820,
15478,
3259,
12,
262,
1769,
1082,
202,
2463,
16363,
1964,
31,
6862,
202,
97,
9506,
202,
759,
327,
326,
1272,
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,
1033,
16679,
12,
1659,
4516,
262,
202,
95,
202,
202,
430,
261,
4516,
422,
4382,
4243,
18,
1106,
262,
202,
202,
95,
1082,
202,
2463,
333,
18,
588,
1803,
4243,
12,
11272,
202,
202,
97,
202,
202,
12107,
309,
261,
4516,
422,
453,
8786,
1964,
18,
1106,
262,
202,
202,
95,
1082,
202,
430,
261,
276,
1627,
4742,
682,
18415,
480,
446,
262,
1082,
202,
95,
9506,
202,
71,
1627,
4742,
682,
18415,
18,
1289,
6233,
5033,
2223,
12,
12127,
1964,
18,
588,
6289,
12,
262,
11272,
1082,
202,
97,
1082,
202,
2463,
12127,
1964,
31,
202,
202,
97,
9506,
202,
430,
261,
4516,
422,
467,
1350,
21805,
1964,
18,
1106,
262,
202,
202,
95,
1082,
2
] |
||
public TA_RetCode KAMA( int startIdx, int endIdx, double inReal[], int optInTimePeriod, MInteger outBegIdx, MInteger outNbElement, double outReal[] ){ final double constMax = 2.0/(30.0+1.0); final double constDiff = 2.0/(2.0+1.0) - constMax; double tempReal, tempReal2; double sumROC1, periodROC, prevKAMA; int i, today, outIdx, lookbackTotal; int trailingIdx; double trailingValue; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; if( (int)optInTimePeriod == ( Integer.MIN_VALUE ) ) optInTimePeriod = 30; else if( ((int)optInTimePeriod < 2) || ((int)optInTimePeriod > 100000) ) return TA_RetCode. TA_BAD_PARAM; outBegIdx.value = 0 ; outNbElement.value = 0 ; lookbackTotal = optInTimePeriod + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_KAMA.ordinal()]) ; if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } sumROC1 = 0.0; today = startIdx-lookbackTotal; trailingIdx = today; i = optInTimePeriod; while( i-- > 0 ) { tempReal = inReal[today++]; tempReal -= inReal[today]; sumROC1 += Math.abs (tempReal); } prevKAMA = inReal[today-1]; tempReal = inReal[today]; tempReal2 = inReal[trailingIdx++]; periodROC = tempReal-tempReal2; trailingValue = tempReal2; if( (sumROC1 <= periodROC) || (((-0.00000001)<sumROC1)&&(sumROC1<0.00000001)) ) tempReal = 1.0; else tempReal = Math.abs (periodROC/sumROC1); tempReal = (tempReal*constDiff)+constMax; tempReal *= tempReal; prevKAMA = ((inReal[today++]-prevKAMA)*tempReal) + prevKAMA; while( today <= startIdx ) { tempReal = inReal[today]; tempReal2 = inReal[trailingIdx++]; periodROC = tempReal-tempReal2; sumROC1 -= Math.abs (trailingValue-tempReal2); sumROC1 += Math.abs (tempReal-inReal[today-1]); trailingValue = tempReal2; if( (sumROC1 <= periodROC) || (((-0.00000001)<sumROC1)&&(sumROC1<0.00000001)) ) tempReal = 1.0; else tempReal = Math.abs (periodROC/sumROC1); tempReal = (tempReal*constDiff)+constMax; tempReal *= tempReal; prevKAMA = ((inReal[today++]-prevKAMA)*tempReal) + prevKAMA; } outReal[0] = prevKAMA; outIdx = 1; outBegIdx.value = today-1; while( today <= endIdx ) { tempReal = inReal[today]; tempReal2 = inReal[trailingIdx++]; periodROC = tempReal-tempReal2; sumROC1 -= Math.abs (trailingValue-tempReal2); sumROC1 += Math.abs (tempReal-inReal[today-1]); trailingValue = tempReal2; if( (sumROC1 <= periodROC) || (((-0.00000001)<sumROC1)&&(sumROC1<0.00000001)) ) tempReal = 1.0; else tempReal = Math.abs (periodROC / sumROC1); tempReal = (tempReal*constDiff)+constMax; tempReal *= tempReal; prevKAMA = ((inReal[today++]-prevKAMA)*tempReal) + prevKAMA; outReal[outIdx++] = prevKAMA; } outNbElement.value = outIdx; return TA_RetCode. TA_SUCCESS;}
|
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/1bccb7a13486c61b10e8ebdf0c938797539a3f3d/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
9833,
67,
7055,
1085,
47,
2192,
37,
12,
474,
1937,
4223,
16,
474,
409,
4223,
16,
9056,
267,
6955,
63,
6487,
474,
3838,
382,
26540,
16,
49,
4522,
659,
24059,
4223,
16,
49,
4522,
659,
22816,
1046,
16,
9056,
659,
6955,
63,
5717,
95,
6385,
9056,
10248,
2747,
33,
22,
18,
20,
19,
12,
5082,
18,
20,
15,
21,
18,
20,
1769,
6385,
9056,
10248,
5938,
33,
22,
18,
20,
19,
12,
22,
18,
20,
15,
21,
18,
20,
24950,
10248,
2747,
31,
2896,
440,
278,
30752,
6955,
16,
5814,
6955,
22,
31,
2896,
19314,
379,
1457,
39,
21,
16,
6908,
1457,
39,
16,
10001,
47,
2192,
37,
31,
474,
77,
16,
30064,
16,
659,
4223,
16,
7330,
823,
5269,
31,
474,
26453,
4223,
31,
2896,
440,
30710,
4973,
620,
31,
430,
12,
1937,
4223,
32,
20,
13,
2463,
9833,
67,
7055,
1085,
18,
9833,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
430,
12443,
409,
4223,
32,
20,
14047,
96,
12,
409,
4223,
32,
1937,
4223,
3719,
2463,
9833,
67,
7055,
1085,
18,
9833,
67,
5069,
67,
3932,
67,
15928,
67,
4415,
67,
9199,
31,
430,
12443,
474,
13,
3838,
382,
26540,
631,
12,
4522,
18,
6236,
67,
4051,
3719,
3838,
382,
26540,
33,
5082,
31,
12107,
430,
12443,
12,
474,
13,
3838,
382,
26540,
32,
22,
14047,
96,
12443,
474,
13,
3838,
382,
26540,
34,
21,
11706,
3719,
2463,
9833,
67,
7055,
1085,
18,
9833,
67,
16234,
67,
8388,
31,
659,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
9833,
67,
7055,
1085,
47,
2192,
37,
12,
474,
1937,
4223,
16,
474,
409,
4223,
16,
9056,
267,
6955,
63,
6487,
474,
3838,
382,
26540,
16,
49,
4522,
659,
24059,
4223,
16,
49,
4522,
659,
22816,
1046,
16,
9056,
659,
6955,
63,
5717,
95,
6385,
9056,
10248,
2747,
33,
22,
18,
20,
19,
12,
5082,
18,
20,
15,
21,
18,
20,
1769,
6385,
9056,
10248,
5938,
33,
22,
18,
20,
19,
12,
22,
18,
20,
15,
21,
18,
20,
24950,
10248,
2747,
31,
2896,
440,
278,
30752,
6955,
16,
5814,
6955,
22,
31,
2896,
19314,
379,
1457,
39,
21,
16,
6908,
1457,
39,
16,
10001,
47,
2192,
37,
31,
474,
77,
16,
30064,
16,
659,
4223,
16,
7330,
2
] |
||
if ( ch == ']' && index + 2 < length &&
|
if ( ch == ']' && index + 2 < end &&
|
public void characters( char[] chars, int start, int length ) throws SAXException { ElementState state; try { state = content(); // Check if text should be print as CDATA section or unescaped // based on elements listed in the output format (the element // state) or whether we are inside a CDATA section or entity. if ( state.inCData || state.doCData ) { int saveIndent; // Print a CDATA section. The text is not escaped, but ']]>' // appearing in the code must be identified and dealt with. // The contents of a text node is considered space preserving. if ( ! state.inCData ) { _printer.printText( "<![CDATA[" ); state.inCData = true; } saveIndent = _printer.getNextIndent(); _printer.setNextIndent( 0 ); char ch; for ( int index = start ; index < length ; ++index ) { ch = chars[index]; if ( ch == ']' && index + 2 < length && chars[ index + 1 ] == ']' && chars[ index + 2 ] == '>' ) { _printer.printText("]]]]><![CDATA[>"); index +=2; continue; } if (!XML11Char.isXML11Valid(ch)) { // check if it is surrogate if (++index <length) { surrogates(ch, chars[index]); } else { fatalError("The character '"+(char)ch+"' is an invalid XML character"); } continue; } else { if ( _encodingInfo.isPrintable((char)ch) && XML11Char.isXML11ValidLiteral(ch)) { _printer.printText((char)ch); } else { // The character is not printable -- split CDATA section _printer.printText("]]>&#x"); _printer.printText(Integer.toHexString(ch)); _printer.printText(";<![CDATA["); } } } _printer.setNextIndent( saveIndent ); } else { int saveIndent; if ( state.preserveSpace ) { // If preserving space then hold of indentation so no // excessive spaces are printed at line breaks, escape // the text content without replacing spaces and print // the text breaking only at line breaks. saveIndent = _printer.getNextIndent(); _printer.setNextIndent( 0 ); printText( chars, start, length, true, state.unescaped ); _printer.setNextIndent( saveIndent ); } else { printText( chars, start, length, false, state.unescaped ); } } } catch ( IOException except ) { throw new SAXException( except ); } }
|
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/76694b4949929595be9efe54852363e70ae1a168/XML11Serializer.java/clean/src/org/apache/xml/serialize/XML11Serializer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3949,
12,
1149,
8526,
5230,
16,
509,
787,
16,
509,
769,
262,
3639,
1216,
14366,
565,
288,
3639,
3010,
1119,
919,
31,
3639,
775,
288,
5411,
919,
273,
913,
5621,
5411,
368,
2073,
309,
977,
1410,
506,
1172,
487,
28294,
2442,
578,
27869,
5411,
368,
2511,
603,
2186,
12889,
316,
326,
876,
740,
261,
5787,
930,
5411,
368,
919,
13,
578,
2856,
732,
854,
4832,
279,
28294,
2442,
578,
1522,
18,
5411,
309,
261,
919,
18,
267,
39,
751,
747,
919,
18,
2896,
39,
751,
262,
288,
7734,
509,
1850,
1923,
7790,
31,
7734,
368,
3038,
279,
28294,
2442,
18,
1021,
977,
353,
486,
8345,
16,
1496,
12671,
65,
1870,
7734,
368,
7226,
5968,
316,
326,
981,
1297,
506,
9283,
471,
443,
2390,
598,
18,
7734,
368,
1021,
2939,
434,
279,
977,
756,
353,
7399,
3476,
27995,
18,
7734,
309,
261,
401,
919,
18,
267,
39,
751,
262,
288,
10792,
389,
30439,
18,
1188,
1528,
12,
3532,
5,
63,
18375,
9614,
11272,
10792,
919,
18,
267,
39,
751,
273,
638,
31,
7734,
289,
7734,
1923,
7790,
273,
389,
30439,
18,
588,
2134,
7790,
5621,
7734,
389,
30439,
18,
542,
2134,
7790,
12,
374,
11272,
7734,
1149,
462,
31,
7734,
364,
261,
509,
770,
273,
787,
274,
770,
411,
769,
274,
965,
1615,
262,
288,
10792,
462,
273,
5230,
63,
1615,
15533,
10792,
309,
261,
462,
422,
8641,
597,
770,
397,
576,
411,
679,
597,
13491,
5230,
63,
770,
397,
404,
308,
422,
8641,
597,
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,
3949,
12,
1149,
8526,
5230,
16,
509,
787,
16,
509,
769,
262,
3639,
1216,
14366,
565,
288,
3639,
3010,
1119,
919,
31,
3639,
775,
288,
5411,
919,
273,
913,
5621,
5411,
368,
2073,
309,
977,
1410,
506,
1172,
487,
28294,
2442,
578,
27869,
5411,
368,
2511,
603,
2186,
12889,
316,
326,
876,
740,
261,
5787,
930,
5411,
368,
919,
13,
578,
2856,
732,
854,
4832,
279,
28294,
2442,
578,
1522,
18,
5411,
309,
261,
919,
18,
267,
39,
751,
747,
919,
18,
2896,
39,
751,
262,
288,
7734,
509,
1850,
1923,
7790,
31,
7734,
368,
3038,
279,
28294,
2442,
18,
1021,
977,
353,
486,
8345,
16,
1496,
12671,
65,
1870,
7734,
368,
7226,
5968,
316,
326,
2
] |
checkIfUnicode = ((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u');
|
checkIfUnicode = ((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u');
|
public int getNextToken() throws InvalidInputException { this.wasAcr = false; if (diet) { jumpOverMethodBody(); diet = false; return currentPosition > source.length ? TokenNameEOF : TokenNameRBRACE; } int whiteStart = 0; try { while (true) { //loop for jumping over comments withoutUnicodePtr = 0; //start with a new token (even comment written with unicode ) // ---------Consume white space and handles startPosition--------- whiteStart = currentPosition; boolean isWhiteSpace, hasWhiteSpaces = false; int offset = 0; do { startPosition = currentPosition; boolean checkIfUnicode = false; try { checkIfUnicode = ((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u'); } catch(IndexOutOfBoundsException e) { if (tokenizeWhiteSpace && (whiteStart != currentPosition - 1)) { // reposition scanner in case we are interested by spaces as tokens currentPosition--; startPosition = whiteStart; return TokenNameWHITESPACE; } if (currentPosition > eofPosition) return TokenNameEOF; } if (checkIfUnicode) { isWhiteSpace = jumpOverUnicodeWhiteSpace(); offset = 6; } else { offset = 1; if ((currentCharacter == '\r') || (currentCharacter == '\n')) { checkNonExternalizedString(); if (recordLineSeparator) { pushLineSeparator(); } else { currentLine = null; } } isWhiteSpace = (currentCharacter == ' ') || CharOperation.isWhitespace(currentCharacter); } if (isWhiteSpace) { hasWhiteSpaces = true; } } while (isWhiteSpace); if (tokenizeWhiteSpace && hasWhiteSpaces) { // reposition scanner in case we are interested by spaces as tokens currentPosition-=offset; startPosition = whiteStart; return TokenNameWHITESPACE; } //little trick to get out in the middle of a source compuation if (currentPosition > eofPosition) return TokenNameEOF; // ---------Identify the next token------------- switch (currentCharacter) { case '(' : return TokenNameLPAREN; case ')' : return TokenNameRPAREN; case '{' : return TokenNameLBRACE; case '}' : return TokenNameRBRACE; case '[' : return TokenNameLBRACKET; case ']' : return TokenNameRBRACKET; case ';' : return TokenNameSEMICOLON; case ',' : return TokenNameCOMMA; case '.' : if (getNextCharAsDigit()) return scanNumber(true); return TokenNameDOT; case '+' : { int test; if ((test = getNextChar('+', '=')) == 0) return TokenNamePLUS_PLUS; if (test > 0) return TokenNamePLUS_EQUAL; return TokenNamePLUS; } case '-' : { int test; if ((test = getNextChar('-', '=')) == 0) return TokenNameMINUS_MINUS; if (test > 0) return TokenNameMINUS_EQUAL; return TokenNameMINUS; } case '~' : return TokenNameTWIDDLE; case '!' : if (getNextChar('=')) return TokenNameNOT_EQUAL; return TokenNameNOT; case '*' : if (getNextChar('=')) return TokenNameMULTIPLY_EQUAL; return TokenNameMULTIPLY; case '%' : if (getNextChar('=')) return TokenNameREMAINDER_EQUAL; return TokenNameREMAINDER; case '<' : { int test; if ((test = getNextChar('=', '<')) == 0) return TokenNameLESS_EQUAL; if (test > 0) { if (getNextChar('=')) return TokenNameLEFT_SHIFT_EQUAL; return TokenNameLEFT_SHIFT; } return TokenNameLESS; } case '>' : { int test; if ((test = getNextChar('=', '>')) == 0) return TokenNameGREATER_EQUAL; if (test > 0) { if ((test = getNextChar('=', '>')) == 0) return TokenNameRIGHT_SHIFT_EQUAL; if (test > 0) { if (getNextChar('=')) return TokenNameUNSIGNED_RIGHT_SHIFT_EQUAL; return TokenNameUNSIGNED_RIGHT_SHIFT; } return TokenNameRIGHT_SHIFT; } return TokenNameGREATER; } case '=' : if (getNextChar('=')) return TokenNameEQUAL_EQUAL; return TokenNameEQUAL; case '&' : { int test; if ((test = getNextChar('&', '=')) == 0) return TokenNameAND_AND; if (test > 0) return TokenNameAND_EQUAL; return TokenNameAND; } case '|' : { int test; if ((test = getNextChar('|', '=')) == 0) return TokenNameOR_OR; if (test > 0) return TokenNameOR_EQUAL; return TokenNameOR; } case '^' : if (getNextChar('=')) return TokenNameXOR_EQUAL; return TokenNameXOR; case '?' : return TokenNameQUESTION; case ':' : return TokenNameCOLON; case '\'' : { int test; if ((test = getNextChar('\n', '\r')) == 0) { throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); } if (test > 0) { // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed for (int lookAhead = 0; lookAhead < 3; lookAhead++) { if (currentPosition + lookAhead == source.length) break; if (source[currentPosition + lookAhead] == '\n') break; if (source[currentPosition + lookAhead] == '\'') { currentPosition += lookAhead + 1; break; } } throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); } } if (getNextChar('\'')) { // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed for (int lookAhead = 0; lookAhead < 3; lookAhead++) { if (currentPosition + lookAhead == source.length) break; if (source[currentPosition + lookAhead] == '\n') break; if (source[currentPosition + lookAhead] == '\'') { currentPosition += lookAhead + 1; break; } } throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); } if (getNextChar('\\')) scanEscapeCharacter(); else { // consume next character unicodeAsBackSlash = false; boolean checkIfUnicode = false; try { checkIfUnicode = ((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u'); } catch(IndexOutOfBoundsException e) { if (currentPosition > eofPosition) return TokenNameEOF; throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); } if (checkIfUnicode) { getNextUnicodeChar(); } else { if (withoutUnicodePtr != 0) { withoutUnicodeBuffer[++withoutUnicodePtr] = currentCharacter; } } } if (getNextChar('\'')) return TokenNameCharacterLiteral; // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed for (int lookAhead = 0; lookAhead < 20; lookAhead++) { if (currentPosition + lookAhead == source.length) break; if (source[currentPosition + lookAhead] == '\n') break; if (source[currentPosition + lookAhead] == '\'') { currentPosition += lookAhead + 1; break; } } throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); case '"' : try { // consume next character unicodeAsBackSlash = false; if (((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u')) { getNextUnicodeChar(); } else { if (withoutUnicodePtr != 0) { withoutUnicodeBuffer[++withoutUnicodePtr] = currentCharacter; } } while (currentCharacter != '"') { /**** \r and \n are not valid in string literals ****/ if ((currentCharacter == '\n') || (currentCharacter == '\r')) { // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed for (int lookAhead = 0; lookAhead < 50; lookAhead++) { if (currentPosition + lookAhead == source.length) break; if (source[currentPosition + lookAhead] == '\n') break; if (source[currentPosition + lookAhead] == '\"') { currentPosition += lookAhead + 1; break; } } throw new InvalidInputException(INVALID_CHAR_IN_STRING); } if (currentCharacter == '\\') { int escapeSize = currentPosition; boolean backSlashAsUnicodeInString = unicodeAsBackSlash; //scanEscapeCharacter make a side effect on this value and we need the previous value few lines down this one scanEscapeCharacter(); escapeSize = currentPosition - escapeSize; if (withoutUnicodePtr == 0) { //buffer all the entries that have been left aside.... withoutUnicodePtr = currentPosition - escapeSize - 1 - startPosition; System.arraycopy( source, startPosition, withoutUnicodeBuffer, 1, withoutUnicodePtr); withoutUnicodeBuffer[++withoutUnicodePtr] = currentCharacter; } else { //overwrite the / in the buffer withoutUnicodeBuffer[withoutUnicodePtr] = currentCharacter; if (backSlashAsUnicodeInString) { //there are TWO \ in the stream where only one is correct withoutUnicodePtr--; } } } // consume next character unicodeAsBackSlash = false; if (((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u')) { getNextUnicodeChar(); } else { if (withoutUnicodePtr != 0) { withoutUnicodeBuffer[++withoutUnicodePtr] = currentCharacter; } } } } catch (IndexOutOfBoundsException e) { throw new InvalidInputException(UNTERMINATED_STRING); } catch (InvalidInputException e) { if (e.getMessage().equals(INVALID_ESCAPE)) { // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed for (int lookAhead = 0; lookAhead < 50; lookAhead++) { if (currentPosition + lookAhead == source.length) break; if (source[currentPosition + lookAhead] == '\n') break; if (source[currentPosition + lookAhead] == '\"') { currentPosition += lookAhead + 1; break; } } } throw e; // rethrow } if (checkNonExternalizedStringLiterals){ // check for presence of NLS tags //$NON-NLS-?$ where ? is an int. if (currentLine == null) { currentLine = new NLSLine(); } currentLine.add( new StringLiteral( getCurrentTokenSourceString(), startPosition, currentPosition - 1)); } return TokenNameStringLiteral; case '/' : { int test; if ((test = getNextChar('/', '*')) == 0) { //line comment try { //get the next char if (((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u')) { //-------------unicode traitement ------------ int c1 = 0, c2 = 0, c3 = 0, c4 = 0; currentPosition++; while (source[currentPosition] == 'u') { currentPosition++; } if ((c1 = Character.getNumericValue(source[currentPosition++])) > 15 || c1 < 0 || (c2 = Character.getNumericValue(source[currentPosition++])) > 15 || c2 < 0 || (c3 = Character.getNumericValue(source[currentPosition++])) > 15 || c3 < 0 || (c4 = Character.getNumericValue(source[currentPosition++])) > 15 || c4 < 0) { throw new InvalidInputException(INVALID_UNICODE_ESCAPE); } else { currentCharacter = (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4); } } //handle the \\u case manually into comment if (currentCharacter == '\\') { if (source[currentPosition] == '\\') currentPosition++; } //jump over the \\ boolean isUnicode = false; while (currentCharacter != '\r' && currentCharacter != '\n') { //get the next char isUnicode = false; if (((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u')) { isUnicode = true; //-------------unicode traitement ------------ int c1 = 0, c2 = 0, c3 = 0, c4 = 0; currentPosition++; while (source[currentPosition] == 'u') { currentPosition++; } if ((c1 = Character.getNumericValue(source[currentPosition++])) > 15 || c1 < 0 || (c2 = Character.getNumericValue(source[currentPosition++])) > 15 || c2 < 0 || (c3 = Character.getNumericValue(source[currentPosition++])) > 15 || c3 < 0 || (c4 = Character.getNumericValue(source[currentPosition++])) > 15 || c4 < 0) { throw new InvalidInputException(INVALID_UNICODE_ESCAPE); } else { currentCharacter = (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4); } } //handle the \\u case manually into comment if (currentCharacter == '\\') { if (source[currentPosition] == '\\') currentPosition++; } //jump over the \\ } /* * We need to completely consume the line break */ if (currentCharacter == '\r' && source.length > currentPosition) { if (source[currentPosition] == '\n') { currentPosition++; currentCharacter = '\n'; } else if ((source[currentPosition] == '\\') && (source[currentPosition + 1] == 'u')) { isUnicode = true; char unicodeChar; int index = currentPosition + 1; index++; while (source[index] == 'u') { index++; } //-------------unicode traitement ------------ int c1 = 0, c2 = 0, c3 = 0, c4 = 0; if ((c1 = Character.getNumericValue(source[index++])) > 15 || c1 < 0 || (c2 = Character.getNumericValue(source[index++])) > 15 || c2 < 0 || (c3 = Character.getNumericValue(source[index++])) > 15 || c3 < 0 || (c4 = Character.getNumericValue(source[index++])) > 15 || c4 < 0) { currentPosition = index; throw new InvalidInputException(INVALID_UNICODE_ESCAPE); } else { unicodeChar = (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4); } if (unicodeChar == '\n') { currentPosition = index; currentCharacter = '\n'; } } } recordComment(false); if (this.taskTags != null) checkTaskTag(this.startPosition, this.currentPosition); if ((currentCharacter == '\r') || (currentCharacter == '\n')) { checkNonExternalizedString(); if (recordLineSeparator) { if (isUnicode) { pushUnicodeLineSeparator(); } else { pushLineSeparator(); } } else { currentLine = null; } } if (tokenizeComments) { return TokenNameCOMMENT_LINE; } } catch (IndexOutOfBoundsException e) { currentPosition--; recordComment(false); if (this.taskTags != null) checkTaskTag(this.startPosition, this.currentPosition); if (tokenizeComments) { return TokenNameCOMMENT_LINE; } else { this.currentPosition++; } } break; } if (test > 0) { //traditional and javadoc comment try { //get the next char boolean isJavadoc = false, star = false; boolean isUnicode = false; // consume next character unicodeAsBackSlash = false; if (((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u')) { getNextUnicodeChar(); isUnicode = true; } else { isUnicode = false; if (withoutUnicodePtr != 0) { withoutUnicodeBuffer[++withoutUnicodePtr] = currentCharacter; } } if (currentCharacter == '*') { isJavadoc = true; star = true; } if ((currentCharacter == '\r') || (currentCharacter == '\n')) { checkNonExternalizedString(); if (recordLineSeparator) { if (!isUnicode) { pushLineSeparator(); } } else { currentLine = null; } } isUnicode = false; if (((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u')) { //-------------unicode traitement ------------ getNextUnicodeChar(); isUnicode = true; } else { isUnicode = false; } //handle the \\u case manually into comment if (currentCharacter == '\\') { if (source[currentPosition] == '\\') currentPosition++; //jump over the \\ } // empty comment is not a javadoc /**/ if (currentCharacter == '/') { isJavadoc = false; } //loop until end of comment */ while ((currentCharacter != '/') || (!star)) { if ((currentCharacter == '\r') || (currentCharacter == '\n')) { checkNonExternalizedString(); if (recordLineSeparator) { if (!isUnicode) { pushLineSeparator(); } } else { currentLine = null; } } star = currentCharacter == '*'; //get next char if (((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u')) { //-------------unicode traitement ------------ getNextUnicodeChar(); isUnicode = true; } else { isUnicode = false; } //handle the \\u case manually into comment if (currentCharacter == '\\') { if (source[currentPosition] == '\\') currentPosition++; } //jump over the \\ } recordComment(isJavadoc); if (this.taskTags != null) checkTaskTag(this.startPosition, this.currentPosition); if (tokenizeComments) { if (isJavadoc) return TokenNameCOMMENT_JAVADOC; return TokenNameCOMMENT_BLOCK; } } catch (IndexOutOfBoundsException e) { throw new InvalidInputException(UNTERMINATED_COMMENT); } break; } if (getNextChar('=')) return TokenNameDIVIDE_EQUAL; return TokenNameDIVIDE; } case '\u001a' : if (atEnd()) return TokenNameEOF; //the atEnd may not be <currentPosition == source.length> if source is only some part of a real (external) stream throw new InvalidInputException("Ctrl-Z"); //$NON-NLS-1$ default : if (Character.isJavaIdentifierStart(currentCharacter)) return scanIdentifierOrKeyword(); if (Character.isDigit(currentCharacter)) return scanNumber(false); return TokenNameERROR; } } } //-----------------end switch while try-------------------- catch (IndexOutOfBoundsException e) { if (tokenizeWhiteSpace && (whiteStart != currentPosition - 1)) { // reposition scanner in case we are interested by spaces as tokens currentPosition--; startPosition = whiteStart; return TokenNameWHITESPACE; } } return TokenNameEOF;}
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/bd0b42da240c9e3160dab0f23f741fededbd0813/Scanner.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
509,
22616,
1435,
1216,
31989,
288,
202,
2211,
18,
17416,
37,
3353,
273,
629,
31,
202,
430,
261,
3211,
278,
13,
288,
202,
202,
24574,
4851,
1305,
2250,
5621,
202,
202,
3211,
278,
273,
629,
31,
202,
202,
2463,
22356,
405,
1084,
18,
2469,
692,
3155,
461,
12706,
294,
3155,
461,
19437,
9254,
31,
202,
97,
202,
474,
9578,
1685,
273,
374,
31,
202,
698,
288,
202,
202,
17523,
261,
3767,
13,
288,
368,
6498,
364,
525,
379,
1382,
1879,
5678,
1082,
202,
13299,
16532,
5263,
273,
374,
31,
1082,
202,
759,
1937,
598,
279,
394,
1147,
261,
16728,
2879,
5941,
598,
5252,
262,
1082,
202,
759,
300,
788,
19253,
9578,
3476,
471,
7372,
23549,
8567,
1082,
202,
14739,
1685,
273,
22356,
31,
1082,
202,
6494,
353,
23108,
16,
711,
13407,
12077,
273,
629,
31,
1082,
202,
474,
1384,
273,
374,
31,
1082,
202,
2896,
288,
9506,
202,
1937,
2555,
273,
22356,
31,
9506,
202,
6494,
19130,
16532,
273,
629,
31,
9506,
202,
698,
288,
6862,
202,
1893,
2047,
16532,
273,
14015,
2972,
7069,
273,
1084,
63,
2972,
2555,
9904,
5717,
422,
5282,
13,
6862,
202,
10,
10,
261,
3168,
63,
2972,
2555,
65,
422,
296,
89,
8284,
9506,
202,
97,
1044,
12,
30548,
425,
13,
288,
6862,
202,
430,
261,
2316,
554,
23108,
597,
261,
14739,
1685,
480,
22356,
300,
404,
3719,
288,
25083,
202,
759,
283,
3276,
7683,
316,
648,
732,
854,
20506,
635,
7292,
487,
2430,
25083,
202,
2972,
2555,
413,
31,
25083,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
509,
22616,
1435,
1216,
31989,
288,
202,
2211,
18,
17416,
37,
3353,
273,
629,
31,
202,
430,
261,
3211,
278,
13,
288,
202,
202,
24574,
4851,
1305,
2250,
5621,
202,
202,
3211,
278,
273,
629,
31,
202,
202,
2463,
22356,
405,
1084,
18,
2469,
692,
3155,
461,
12706,
294,
3155,
461,
19437,
9254,
31,
202,
97,
202,
474,
9578,
1685,
273,
374,
31,
202,
698,
288,
202,
202,
17523,
261,
3767,
13,
288,
368,
6498,
364,
525,
379,
1382,
1879,
5678,
1082,
202,
13299,
16532,
5263,
273,
374,
31,
1082,
202,
759,
1937,
598,
279,
394,
1147,
261,
16728,
2879,
5941,
598,
5252,
262,
1082,
202,
759,
300,
788,
19253,
9578,
3476,
471,
7372,
23549,
8567,
1082,
202,
2
] |
_docList.setToolTipText("Document List");
|
_docList.setToolTipText("Document List"); */
|
private void _setUpDocumentSelector() { _docList = new JList(_model.getDefinitionsDocuments()) { public String getToolTipText(MouseEvent event) { Point location = event.getPoint(); int index = locationToIndex(location); String tip = null; if (index >= 0) { tip = _model.getDisplayFullPath(index); } return tip; } }; _docList.setToolTipText("Document List"); _docList.setSelectionModel(_model.getDocumentSelectionModel()); _docList.setCellRenderer(new DocCellRenderer()); }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/8bce57471a5d2761f2096c66cde557596d4532bf/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
389,
542,
1211,
2519,
4320,
1435,
288,
565,
389,
2434,
682,
273,
394,
804,
682,
24899,
2284,
18,
588,
7130,
12922,
10756,
288,
1377,
1071,
514,
336,
29250,
1528,
12,
9186,
1133,
871,
13,
288,
3639,
4686,
2117,
273,
871,
18,
588,
2148,
5621,
3639,
509,
770,
273,
2117,
19418,
12,
3562,
1769,
3639,
514,
9529,
273,
446,
31,
3639,
309,
261,
1615,
1545,
374,
13,
288,
1850,
9529,
273,
389,
2284,
18,
588,
4236,
24173,
12,
1615,
1769,
3639,
289,
3639,
327,
9529,
31,
1377,
289,
565,
289,
31,
565,
389,
2434,
682,
18,
542,
29250,
1528,
2932,
2519,
987,
8863,
1195,
377,
389,
2434,
682,
18,
542,
6233,
1488,
24899,
2284,
18,
588,
2519,
6233,
1488,
10663,
565,
389,
2434,
682,
18,
542,
4020,
6747,
12,
2704,
3521,
4020,
6747,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
389,
542,
1211,
2519,
4320,
1435,
288,
565,
389,
2434,
682,
273,
394,
804,
682,
24899,
2284,
18,
588,
7130,
12922,
10756,
288,
1377,
1071,
514,
336,
29250,
1528,
12,
9186,
1133,
871,
13,
288,
3639,
4686,
2117,
273,
871,
18,
588,
2148,
5621,
3639,
509,
770,
273,
2117,
19418,
12,
3562,
1769,
3639,
514,
9529,
273,
446,
31,
3639,
309,
261,
1615,
1545,
374,
13,
288,
1850,
9529,
273,
389,
2284,
18,
588,
4236,
24173,
12,
1615,
1769,
3639,
289,
3639,
327,
9529,
31,
1377,
289,
565,
289,
31,
565,
389,
2434,
682,
18,
542,
29250,
1528,
2932,
2519,
987,
8863,
1195,
377,
389,
2434,
682,
18,
542,
6233,
1488,
24899,
2284,
18,
588,
2519,
2
] |
public static double jsFunction_setMilliseconds(Context cx, Scriptable thisObj, Object[] args, Function funObj) { return makeTime(thisObj, args, 1, true, funObj);
|
private double jsFunction_setMilliseconds(Object[] args) { return makeTime(args, 1, true);
|
public static double jsFunction_setMilliseconds(Context cx, Scriptable thisObj, Object[] args, Function funObj) { return makeTime(thisObj, args, 1, true, funObj); }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/1f40b84b6c54487dd6f26829d1ebda36a7567a38/NativeDate.java/clean/js/rhino/org/mozilla/javascript/NativeDate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1645,
3828,
2083,
67,
542,
31159,
12,
1042,
9494,
16,
4766,
10792,
22780,
15261,
16,
4766,
10792,
1033,
8526,
833,
16,
4766,
10792,
4284,
9831,
2675,
13,
565,
288,
3639,
327,
1221,
950,
12,
2211,
2675,
16,
833,
16,
404,
16,
638,
16,
9831,
2675,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1645,
3828,
2083,
67,
542,
31159,
12,
1042,
9494,
16,
4766,
10792,
22780,
15261,
16,
4766,
10792,
1033,
8526,
833,
16,
4766,
10792,
4284,
9831,
2675,
13,
565,
288,
3639,
327,
1221,
950,
12,
2211,
2675,
16,
833,
16,
404,
16,
638,
16,
9831,
2675,
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
] |
private List subtract(List fromList, List toRemoveList, ICurso chosenDegree) {
|
private List subtract(List fromList, List toRemoveList, ICurso chosenDegree, IExecutionPeriod executionPeriod) {
|
private List subtract(List fromList, List toRemoveList, ICurso chosenDegree) { List result = new ArrayList(); if( (fromList != null) && (toRemoveList != null) && (!fromList.isEmpty()) ) { Iterator iterator = fromList.iterator(); while(iterator.hasNext()) { IEnrolment enrolment = (IEnrolment) iterator.next(); if(enrolment.getCurricularCourseScope().getCurricularCourse().getDegreeCurricularPlan().getDegree().equals(chosenDegree)) { result.add(enrolment); } } iterator = fromList.iterator(); while(iterator.hasNext()) { IEnrolment enrolment = (IEnrolment) iterator.next(); if(toRemoveList.contains(enrolment.getCurricularCourseScope())) { result.remove(enrolment); } } } return result; }
|
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/89b85c4138d821dad2deff153489566bd069c746/ConfirmActualEnrolmentWithoutRules.java/buggy/src/ServidorAplicacao/Servico/degreeAdministrativeOffice/enrolment/withoutRules/ConfirmActualEnrolmentWithoutRules.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
987,
10418,
12,
682,
628,
682,
16,
987,
23511,
682,
16,
467,
2408,
2048,
10447,
22885,
13,
288,
202,
202,
682,
563,
273,
394,
2407,
5621,
202,
202,
430,
12,
261,
2080,
682,
480,
446,
13,
597,
261,
869,
3288,
682,
480,
446,
13,
597,
16051,
2080,
682,
18,
291,
1921,
10756,
262,
288,
1082,
202,
3198,
2775,
273,
628,
682,
18,
9838,
5621,
1082,
202,
17523,
12,
9838,
18,
5332,
2134,
10756,
288,
9506,
202,
45,
664,
922,
475,
14905,
475,
273,
261,
45,
664,
922,
475,
13,
2775,
18,
4285,
5621,
9506,
202,
430,
12,
12401,
475,
18,
588,
2408,
1512,
2490,
39,
3117,
3876,
7675,
588,
2408,
1512,
2490,
39,
3117,
7675,
588,
22885,
2408,
1512,
2490,
5365,
7675,
588,
22885,
7675,
14963,
12,
343,
8918,
22885,
3719,
288,
6862,
202,
2088,
18,
1289,
12,
12401,
475,
1769,
9506,
202,
97,
1082,
202,
97,
25083,
202,
9838,
273,
628,
682,
18,
9838,
5621,
1082,
202,
17523,
12,
9838,
18,
5332,
2134,
10756,
288,
9506,
202,
45,
664,
922,
475,
14905,
475,
273,
261,
45,
664,
922,
475,
13,
2775,
18,
4285,
5621,
9506,
202,
430,
12,
869,
3288,
682,
18,
12298,
12,
12401,
475,
18,
588,
2408,
1512,
2490,
39,
3117,
3876,
1435,
3719,
288,
6862,
202,
2088,
18,
4479,
12,
12401,
475,
1769,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
563,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
987,
10418,
12,
682,
628,
682,
16,
987,
23511,
682,
16,
467,
2408,
2048,
10447,
22885,
13,
288,
202,
202,
682,
563,
273,
394,
2407,
5621,
202,
202,
430,
12,
261,
2080,
682,
480,
446,
13,
597,
261,
869,
3288,
682,
480,
446,
13,
597,
16051,
2080,
682,
18,
291,
1921,
10756,
262,
288,
1082,
202,
3198,
2775,
273,
628,
682,
18,
9838,
5621,
1082,
202,
17523,
12,
9838,
18,
5332,
2134,
10756,
288,
9506,
202,
45,
664,
922,
475,
14905,
475,
273,
261,
45,
664,
922,
475,
13,
2775,
18,
4285,
5621,
9506,
202,
430,
12,
12401,
475,
18,
588,
2408,
1512,
2490,
39,
3117,
3876,
7675,
588,
2408,
1512,
2490,
39,
3117,
7675,
588,
2
] |
if (this.renameAction == null)
|
if (this.renameAction == null) {
|
public void run(IAction action) { if (this.renameAction == null) this.renameAction = new org.eclipse.ui.actions.RenameResourceAction(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell()); this.renameAction.run(); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3a23c3b9bac4db696a0452560047155775a707b7/RenameResourceAction.java/clean/bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/internal/navigator/resources/actions/RenameResourceAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
45,
1803,
1301,
13,
288,
202,
202,
430,
261,
2211,
18,
18539,
1803,
422,
446,
13,
1082,
202,
2211,
18,
18539,
1803,
273,
394,
2358,
18,
20416,
18,
4881,
18,
4905,
18,
16019,
1420,
1803,
12,
8201,
5370,
18,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3829,
7675,
588,
13220,
10663,
202,
202,
2211,
18,
18539,
1803,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
45,
1803,
1301,
13,
288,
202,
202,
430,
261,
2211,
18,
18539,
1803,
422,
446,
13,
1082,
202,
2211,
18,
18539,
1803,
273,
394,
2358,
18,
20416,
18,
4881,
18,
4905,
18,
16019,
1420,
1803,
12,
8201,
5370,
18,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3829,
7675,
588,
13220,
10663,
202,
202,
2211,
18,
18539,
1803,
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
] |
return get(getColumnIndex(columnTitle), row);
|
return (String)getRow(row).get(column);
|
public String get(String columnTitle, int row) { return get(getColumnIndex(columnTitle), row); }
|
2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/361c452c94d3666a3ddf286fd37c40002dbd5f77/Table.java/buggy/src/net/sf/gogui/utils/Table.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
336,
12,
780,
1057,
4247,
16,
509,
1027,
13,
565,
288,
3639,
327,
261,
780,
13,
588,
1999,
12,
492,
2934,
588,
12,
2827,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
336,
12,
780,
1057,
4247,
16,
509,
1027,
13,
565,
288,
3639,
327,
261,
780,
13,
588,
1999,
12,
492,
2934,
588,
12,
2827,
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
] |
mainSettings = new MainSettingsPanel(); tabs.addTab( "Main Settings", mainSettings ); whiteListEntry = new JTextArea(); invalidPriceMessage = new JTextArea(); thanksMessage = new JTextArea(); whiteListEntry.setLineWrap( true ); whiteListEntry.setWrapStyleWord( true ); invalidPriceMessage.setLineWrap( true ); invalidPriceMessage.setWrapStyleWord( true ); thanksMessage.setLineWrap( true ); thanksMessage.setWrapStyleWord( true ); JPanel settingsTopPanel = new JPanel( new BorderLayout() ); settingsTopPanel.add( JComponentUtilities.createLabel( "White List (separate names with commas):", JLabel.CENTER, Color.black, Color.white ), BorderLayout.NORTH ); settingsTopPanel.add( new JScrollPane( whiteListEntry, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER ), BorderLayout.CENTER ); JPanel settingsMiddlePanel = new JPanel( new BorderLayout() ); settingsMiddlePanel.add( JComponentUtilities.createLabel( "Invalid Buff Price Message", JLabel.CENTER, Color.black, Color.white ), BorderLayout.NORTH ); settingsMiddlePanel.add( new JScrollPane( invalidPriceMessage, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER ), BorderLayout.CENTER ); JPanel settingsBottomPanel = new JPanel( new BorderLayout() ); settingsBottomPanel.add( JComponentUtilities.createLabel( "Donation Thanks Message", JLabel.CENTER, Color.black, Color.white ), BorderLayout.NORTH ); settingsBottomPanel.add( new JScrollPane( thanksMessage, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER ), BorderLayout.CENTER ); JPanel settingsPanel = new JPanel( new GridLayout( 3, 1, 10, 10 ) ); JComponentUtilities.setComponentSize( settingsTopPanel, 300, 120 ); JComponentUtilities.setComponentSize( settingsMiddlePanel, 300, 120 ); JComponentUtilities.setComponentSize( settingsBottomPanel, 300, 120 ); settingsPanel.add( settingsTopPanel ); settingsPanel.add( settingsMiddlePanel ); settingsPanel.add( settingsBottomPanel ); whiteListEntry.addFocusListener( mainSettings ); invalidPriceMessage.addFocusListener( mainSettings ); thanksMessage.addFocusListener( mainSettings ); tabs.addTab( "Other Settings", settingsPanel );
|
public BuffBotFrame() { super( "BuffBot Manager" ); BuffBotHome.reset(); BuffBotManager.reset(); // Initialize the display log buffer and the file log tabs = new JTabbedPane(); tabs.addTab( "Run Buffbot", new MainBuffPanel() ); buffOptions = new BuffOptionsPanel(); JPanel optionsContainer = new JPanel( new BorderLayout( 10, 10 ) ); optionsContainer.add( buffOptions, BorderLayout.NORTH ); optionsContainer.add( new BuffListPanel(), BorderLayout.CENTER ); tabs.addTab( "Edit Bufflist", optionsContainer ); mainSettings = new MainSettingsPanel(); tabs.addTab( "Main Settings", mainSettings ); whiteListEntry = new JTextArea(); invalidPriceMessage = new JTextArea(); thanksMessage = new JTextArea(); whiteListEntry.setLineWrap( true ); whiteListEntry.setWrapStyleWord( true ); invalidPriceMessage.setLineWrap( true ); invalidPriceMessage.setWrapStyleWord( true ); thanksMessage.setLineWrap( true ); thanksMessage.setWrapStyleWord( true ); JPanel settingsTopPanel = new JPanel( new BorderLayout() ); settingsTopPanel.add( JComponentUtilities.createLabel( "White List (separate names with commas):", JLabel.CENTER, Color.black, Color.white ), BorderLayout.NORTH ); settingsTopPanel.add( new JScrollPane( whiteListEntry, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER ), BorderLayout.CENTER ); JPanel settingsMiddlePanel = new JPanel( new BorderLayout() ); settingsMiddlePanel.add( JComponentUtilities.createLabel( "Invalid Buff Price Message", JLabel.CENTER, Color.black, Color.white ), BorderLayout.NORTH ); settingsMiddlePanel.add( new JScrollPane( invalidPriceMessage, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER ), BorderLayout.CENTER ); JPanel settingsBottomPanel = new JPanel( new BorderLayout() ); settingsBottomPanel.add( JComponentUtilities.createLabel( "Donation Thanks Message", JLabel.CENTER, Color.black, Color.white ), BorderLayout.NORTH ); settingsBottomPanel.add( new JScrollPane( thanksMessage, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER ), BorderLayout.CENTER ); JPanel settingsPanel = new JPanel( new GridLayout( 3, 1, 10, 10 ) ); JComponentUtilities.setComponentSize( settingsTopPanel, 300, 120 ); JComponentUtilities.setComponentSize( settingsMiddlePanel, 300, 120 ); JComponentUtilities.setComponentSize( settingsBottomPanel, 300, 120 ); settingsPanel.add( settingsTopPanel ); settingsPanel.add( settingsMiddlePanel ); settingsPanel.add( settingsBottomPanel ); whiteListEntry.addFocusListener( mainSettings ); invalidPriceMessage.addFocusListener( mainSettings ); thanksMessage.addFocusListener( mainSettings ); tabs.addTab( "Other Settings", settingsPanel ); framePanel.add( tabs, BorderLayout.CENTER ); }
|
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/3fb02bb595ff6292a9174c4048861594b7421803/BuffBotFrame.java/clean/src/net/sourceforge/kolmafia/BuffBotFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
605,
3809,
6522,
3219,
1435,
202,
95,
202,
202,
9565,
12,
315,
10642,
6522,
8558,
6,
11272,
202,
202,
10642,
6522,
8684,
18,
6208,
5621,
202,
202,
10642,
6522,
1318,
18,
6208,
5621,
202,
202,
759,
9190,
326,
2562,
613,
1613,
471,
326,
585,
613,
202,
202,
16056,
273,
394,
804,
5661,
2992,
8485,
5621,
202,
202,
16056,
18,
1289,
5661,
12,
315,
1997,
605,
3809,
4819,
3113,
394,
12740,
10642,
5537,
1435,
11272,
202,
202,
20664,
1320,
273,
394,
605,
3809,
1320,
5537,
5621,
202,
202,
46,
5537,
702,
2170,
273,
394,
24048,
12,
394,
30814,
12,
1728,
16,
1728,
262,
11272,
202,
202,
2116,
2170,
18,
1289,
12,
6139,
1320,
16,
30814,
18,
50,
28212,
11272,
202,
202,
2116,
2170,
18,
1289,
12,
394,
605,
3809,
682,
5537,
9334,
30814,
18,
19835,
11272,
202,
202,
16056,
18,
1289,
5661,
12,
315,
4666,
605,
3809,
1098,
3113,
702,
2170,
11272,
202,
202,
5254,
2628,
273,
394,
12740,
2628,
5537,
5621,
202,
202,
16056,
18,
1289,
5661,
12,
315,
6376,
8709,
3113,
2774,
2628,
11272,
202,
202,
14739,
27899,
273,
394,
804,
1528,
5484,
5621,
202,
202,
5387,
5147,
1079,
273,
394,
804,
1528,
5484,
5621,
202,
202,
451,
19965,
1079,
273,
394,
804,
1528,
5484,
5621,
202,
202,
14739,
27899,
18,
542,
1670,
2964,
12,
638,
11272,
202,
202,
14739,
27899,
18,
542,
2964,
2885,
3944,
12,
638,
11272,
202,
202,
5387,
5147,
1079,
18,
542,
1670,
2964,
12,
638,
11272,
202,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
605,
3809,
6522,
3219,
1435,
202,
95,
202,
202,
9565,
12,
315,
10642,
6522,
8558,
6,
11272,
202,
202,
10642,
6522,
8684,
18,
6208,
5621,
202,
202,
10642,
6522,
1318,
18,
6208,
5621,
202,
202,
759,
9190,
326,
2562,
613,
1613,
471,
326,
585,
613,
202,
202,
16056,
273,
394,
804,
5661,
2992,
8485,
5621,
202,
202,
16056,
18,
1289,
5661,
12,
315,
1997,
605,
3809,
4819,
3113,
394,
12740,
10642,
5537,
1435,
11272,
202,
202,
20664,
1320,
273,
394,
605,
3809,
1320,
5537,
5621,
202,
202,
46,
5537,
702,
2170,
273,
394,
24048,
12,
394,
30814,
12,
1728,
16,
1728,
262,
11272,
202,
202,
2116,
2170,
18,
1289,
12,
6139,
1320,
16,
30814,
18,
50,
2
] |
|
thisProject.build(IncrementalProjectBuilder.FULL_BUILD,"org.eclipse.ajdt.ui.ajbuilder", null,null); }
|
doProjectBuild(); }
|
public void performDefaults() { AJDTEventTrace.projectPropertiesDefaulted(thisProject); try { boolean outjarChanged = false; if (AspectJUIPlugin.getWorkspace().getDescription().isAutoBuilding() && !(retrieveSettingString(BuildOptionsAdapter.OUTPUTJAR).equals(""))) { outjarChanged = true; } thisProject.setPersistentProperty(BuildOptionsAdapter.INCREMENTAL_COMPILATION, null);// thisProject.setPersistentProperty(BuildOptionsAdapter.PREPROCESS, null);// thisProject.setPersistentProperty(BuildOptionsAdapter.SOURCE14, null);// thisProject.setPersistentProperty(BuildOptionsAdapter.WORKING_DIR, null); thisProject.setPersistentProperty(BuildOptionsAdapter.OUTPUTJAR,null); thisProject.setPersistentProperty(BuildOptionsAdapter.ASPECTJARS,null); thisProject.setPersistentProperty(BuildOptionsAdapter.SOURCEROOTS,null); thisProject.setPersistentProperty(BuildOptionsAdapter.INPUTJARS,null); thisProject.setPersistentProperty(BuildOptionsAdapter.CHAR_ENC, null);// thisProject.setPersistentProperty(// BuildOptionsAdapter.COMPILATION_STRICTNESS,// null);// thisProject.setPersistentProperty(BuildOptionsAdapter.PORTING_MODE, null);// thisProject.setPersistentProperty(BuildOptionsAdapter.NON_STANDARD_OPTS, null);// thisProject.setPersistentProperty(BuildOptionsAdapter.JAVA_OR_AJ_EXT,null); BuildOptionsAdapter.ensurePropertiesInitialized(thisProject); // Keep the widgets up to date! updatePageContents(); // build the project if the outjar setting has changed if (outjarChanged) { thisProject.build(IncrementalProjectBuilder.FULL_BUILD,"org.eclipse.ajdt.ui.ajbuilder", null,null); } } catch (CoreException ce) { AspectJUIPlugin.getDefault().getErrorHandler().handleError( AspectJUIPlugin.getResourceString( "projectProperties.exceptionDefaultingProperties"), ce); } }
|
13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/6fda1d375ddcbdd84510b1b9e0cc61dc46ac0520/AspectJProjectPropertiesPage.java/clean/org.eclipse.ajdt.ui/src/org/eclipse/ajdt/internal/ui/AspectJProjectPropertiesPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3073,
7019,
1435,
288,
202,
202,
37,
46,
9081,
1133,
3448,
18,
4406,
2297,
1868,
329,
12,
2211,
4109,
1769,
202,
202,
698,
288,
1082,
565,
1250,
596,
11930,
5033,
273,
629,
31,
1082,
565,
309,
261,
17468,
46,
5370,
3773,
18,
588,
8241,
7675,
588,
3291,
7675,
291,
4965,
16713,
1435,
597,
1875,
5411,
401,
12,
17466,
5568,
780,
12,
3116,
1320,
4216,
18,
15527,
46,
985,
2934,
14963,
2932,
6,
20349,
288,
1082,
3639,
596,
11930,
5033,
273,
638,
31,
5411,
289,
1082,
377,
1082,
202,
2211,
4109,
18,
542,
11906,
1396,
12,
3116,
1320,
4216,
18,
29836,
1013,
67,
31075,
48,
2689,
16,
446,
1769,
759,
1082,
202,
2211,
4109,
18,
542,
11906,
1396,
12,
3116,
1320,
4216,
18,
3670,
16560,
16,
446,
1769,
759,
1082,
202,
2211,
4109,
18,
542,
11906,
1396,
12,
3116,
1320,
4216,
18,
6537,
3461,
16,
446,
1769,
759,
1082,
202,
2211,
4109,
18,
542,
11906,
1396,
12,
3116,
1320,
4216,
18,
10566,
1360,
67,
4537,
16,
446,
1769,
1082,
202,
2211,
4109,
18,
542,
11906,
1396,
12,
3116,
1320,
4216,
18,
15527,
46,
985,
16,
2011,
1769,
1082,
202,
2211,
4109,
18,
542,
11906,
1396,
12,
3116,
1320,
4216,
18,
3033,
1423,
1268,
46,
985,
55,
16,
2011,
1769,
1082,
202,
2211,
4109,
18,
542,
11906,
1396,
12,
3116,
1320,
4216,
18,
3584,
1099,
39,
13309,
1974,
55,
16,
2011,
1769,
1082,
202,
2211,
4109,
18,
542,
11906,
1396,
12,
3116,
1320,
4216,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3073,
7019,
1435,
288,
202,
202,
37,
46,
9081,
1133,
3448,
18,
4406,
2297,
1868,
329,
12,
2211,
4109,
1769,
202,
202,
698,
288,
1082,
565,
1250,
596,
11930,
5033,
273,
629,
31,
1082,
565,
309,
261,
17468,
46,
5370,
3773,
18,
588,
8241,
7675,
588,
3291,
7675,
291,
4965,
16713,
1435,
597,
1875,
5411,
401,
12,
17466,
5568,
780,
12,
3116,
1320,
4216,
18,
15527,
46,
985,
2934,
14963,
2932,
6,
20349,
288,
1082,
3639,
596,
11930,
5033,
273,
638,
31,
5411,
289,
1082,
377,
1082,
202,
2211,
4109,
18,
542,
11906,
1396,
12,
3116,
1320,
4216,
18,
29836,
1013,
67,
31075,
48,
2689,
16,
446,
1769,
759,
1082,
202,
2211,
4109,
18,
542,
2
] |
rootElements.add(recGroup);
|
if (recGroup.trim().length() == 0) { rootElements.add(nextRecord); } else { rootElements.add(recGroup); }
|
public Object[] getElements(Object inputElement) { Set rootElements = new LinkedHashSet(); if (inputElement instanceof PwsFile) { file = (PwsFile) inputElement; for (Iterator iter = file.getRecords(); iter.hasNext(); ) { PwsRecord thisRecord = (PwsRecord) iter.next(); if (thisRecord instanceof PwsRecordV2) { PwsRecordV2 nextRecord = (PwsRecordV2) thisRecord; String recGroup = (String)nextRecord.getField(PwsRecordV2.GROUP).getValue(); rootElements.add(recGroup); } else { PwsRecordV1 nextRecord = (PwsRecordV1) thisRecord; rootElements.add(nextRecord); } } } return rootElements.toArray(); }
|
10818 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10818/2a58b7af1c065abcbb93d2b2a4afc1aa555f75a1/PasswordTreeContentProvider.java/clean/PasswordSafeSWT/src/org/pwsafe/passwordsafeswt/model/PasswordTreeContentProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
8526,
8886,
12,
921,
810,
1046,
13,
288,
202,
202,
694,
1365,
3471,
273,
394,
19523,
5621,
202,
202,
430,
261,
2630,
1046,
1276,
453,
4749,
812,
13,
288,
1082,
202,
768,
273,
261,
52,
4749,
812,
13,
810,
1046,
31,
1082,
202,
1884,
261,
3198,
1400,
273,
585,
18,
588,
6499,
5621,
1400,
18,
5332,
2134,
5621,
262,
288,
9506,
202,
52,
4749,
2115,
333,
2115,
273,
261,
52,
4749,
2115,
13,
1400,
18,
4285,
5621,
9506,
202,
430,
261,
2211,
2115,
1276,
453,
4749,
2115,
58,
22,
13,
288,
6862,
202,
52,
4749,
2115,
58,
22,
1024,
2115,
273,
261,
52,
4749,
2115,
58,
22,
13,
333,
2115,
31,
25083,
202,
780,
1950,
1114,
273,
261,
780,
13,
4285,
2115,
18,
588,
974,
12,
52,
4749,
2115,
58,
22,
18,
8468,
2934,
24805,
5621,
6862,
202,
3085,
3471,
18,
1289,
12,
3927,
1114,
1769,
9506,
202,
97,
469,
288,
6862,
202,
52,
4749,
2115,
58,
21,
1024,
2115,
273,
261,
52,
4749,
2115,
58,
21,
13,
333,
2115,
31,
25083,
202,
3085,
3471,
18,
1289,
12,
4285,
2115,
1769,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
4697,
202,
2463,
1365,
3471,
18,
31447,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
8526,
8886,
12,
921,
810,
1046,
13,
288,
202,
202,
694,
1365,
3471,
273,
394,
19523,
5621,
202,
202,
430,
261,
2630,
1046,
1276,
453,
4749,
812,
13,
288,
1082,
202,
768,
273,
261,
52,
4749,
812,
13,
810,
1046,
31,
1082,
202,
1884,
261,
3198,
1400,
273,
585,
18,
588,
6499,
5621,
1400,
18,
5332,
2134,
5621,
262,
288,
9506,
202,
52,
4749,
2115,
333,
2115,
273,
261,
52,
4749,
2115,
13,
1400,
18,
4285,
5621,
9506,
202,
430,
261,
2211,
2115,
1276,
453,
4749,
2115,
58,
22,
13,
288,
6862,
202,
52,
4749,
2115,
58,
22,
1024,
2115,
273,
261,
52,
4749,
2115,
58,
22,
13,
333,
2115,
31,
25083,
202,
780,
1950,
2
] |
String newCol = JOptionPane.showInputDialog(this, "Please enter name of new collection"); if (newCol != null) { String command = "mkcol \"" + newCol + '"'; display(command + "\n"); process.setAction(command); } }
|
String newCol = JOptionPane.showInputDialog(this, "Please enter name of new collection"); if (newCol != null) { String command = "mkcol \"" + newCol + '"'; display(command + "\n"); process.setAction(command); } }
|
private void newCollectionAction(ActionEvent ev) { String newCol = JOptionPane.showInputDialog(this, "Please enter name of new collection"); if (newCol != null) { String command = "mkcol \"" + newCol + '"'; display(command + "\n"); process.setAction(command); } }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/bb8a54acfbfbffcfe066b31fa92b8aa8bb954641/ClientFrame.java/clean/src/org/exist/client/ClientFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
394,
2532,
1803,
12,
1803,
1133,
2113,
13,
288,
202,
202,
780,
394,
914,
273,
804,
1895,
8485,
18,
4500,
1210,
6353,
12,
2211,
16,
9506,
202,
6,
8496,
6103,
508,
434,
394,
1849,
8863,
202,
202,
430,
261,
2704,
914,
480,
446,
13,
288,
1082,
202,
780,
1296,
273,
315,
24816,
1293,
11843,
397,
394,
914,
397,
4754,
31,
1082,
202,
5417,
12,
3076,
397,
1548,
82,
8863,
1082,
202,
2567,
18,
542,
1803,
12,
3076,
1769,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
394,
2532,
1803,
12,
1803,
1133,
2113,
13,
288,
202,
202,
780,
394,
914,
273,
804,
1895,
8485,
18,
4500,
1210,
6353,
12,
2211,
16,
9506,
202,
6,
8496,
6103,
508,
434,
394,
1849,
8863,
202,
202,
430,
261,
2704,
914,
480,
446,
13,
288,
1082,
202,
780,
1296,
273,
315,
24816,
1293,
11843,
397,
394,
914,
397,
4754,
31,
1082,
202,
5417,
12,
3076,
397,
1548,
82,
8863,
1082,
202,
2567,
18,
542,
1803,
12,
3076,
1769,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (VM.TraceRepositoryReading) { VM.sysWrite("VM_ClassLoader.boot:\n"); for (int i = 0, n = vmRepositories.length; i < n; ++i) VM.sysWrite(" " + vmRepositories[i] + "\n"); } caches = new ZipFile[10]; zipCacheCount = 0; resourceCache = new Hashtable(); resourceNullKey = new VM_BinaryData( (byte[])null );
|
com.ibm.oti.vm.AbstractClassLoader.resCache.cache.clear();
|
static void boot(String vmClasses) { if (vmClasses != null) { vmRepositories = new String[2]; //-#if RVM_WITH_JKSVM_JAR vmRepositories[0] = vmClasses + "/jksvm.jar"; //-#else vmRepositories[0] = vmClasses; //-#endif //-#if RVM_FOR_CYGWIN vmRepositories[1] = vmClasses + "\\rvmrt.jar"; //-#else vmRepositories[1] = vmClasses + "/rvmrt.jar"; //-#endif } if (VM.TraceRepositoryReading) { VM.sysWrite("VM_ClassLoader.boot:\n"); for (int i = 0, n = vmRepositories.length; i < n; ++i) VM.sysWrite(" " + vmRepositories[i] + "\n"); } // Zip file caching caches = new ZipFile[10]; zipCacheCount = 0; // Resource caching resourceCache = new Hashtable(); resourceNullKey = new VM_BinaryData( (byte[])null ); }
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/220706ac8e24c4eb9124a4025dcee5f246daa751/VM_ClassLoader.java/buggy/rvm/src/vm/classLoader/VM_ClassLoader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
4835,
12,
780,
4268,
4818,
13,
288,
565,
309,
261,
3489,
4818,
480,
446,
13,
288,
1377,
4268,
18429,
273,
394,
514,
63,
22,
15533,
1377,
368,
17,
7,
430,
534,
7397,
67,
9147,
67,
19474,
55,
7397,
67,
46,
985,
1377,
4268,
18429,
63,
20,
65,
273,
4268,
4818,
397,
2206,
78,
7904,
3489,
18,
11930,
14432,
1377,
368,
17,
7,
12107,
1377,
4268,
18429,
63,
20,
65,
273,
4268,
4818,
31,
1377,
368,
17,
7,
409,
430,
1377,
368,
17,
7,
430,
534,
7397,
67,
7473,
67,
16068,
43,
24572,
1377,
4268,
18429,
63,
21,
65,
273,
4268,
4818,
397,
8422,
86,
3489,
3797,
18,
11930,
14432,
1377,
368,
17,
7,
12107,
1377,
4268,
18429,
63,
21,
65,
273,
4268,
4818,
397,
2206,
86,
3489,
3797,
18,
11930,
14432,
1377,
368,
17,
7,
409,
430,
565,
289,
565,
309,
261,
7397,
18,
3448,
3305,
15714,
13,
288,
1377,
8251,
18,
9499,
3067,
2932,
7397,
67,
7805,
18,
7137,
5581,
82,
8863,
1377,
364,
261,
474,
277,
273,
374,
16,
290,
273,
4268,
18429,
18,
2469,
31,
277,
411,
290,
31,
965,
77,
13,
202,
7397,
18,
9499,
3067,
2932,
282,
315,
397,
4268,
18429,
63,
77,
65,
397,
1548,
82,
8863,
565,
289,
565,
368,
8603,
585,
11393,
565,
12535,
273,
394,
18364,
63,
2163,
15533,
565,
3144,
1649,
1380,
273,
374,
31,
565,
368,
2591,
11393,
565,
1058,
1649,
273,
394,
18559,
5621,
565,
1058,
2041,
653,
273,
394,
8251,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
4835,
12,
780,
4268,
4818,
13,
288,
565,
309,
261,
3489,
4818,
480,
446,
13,
288,
1377,
4268,
18429,
273,
394,
514,
63,
22,
15533,
1377,
368,
17,
7,
430,
534,
7397,
67,
9147,
67,
19474,
55,
7397,
67,
46,
985,
1377,
4268,
18429,
63,
20,
65,
273,
4268,
4818,
397,
2206,
78,
7904,
3489,
18,
11930,
14432,
1377,
368,
17,
7,
12107,
1377,
4268,
18429,
63,
20,
65,
273,
4268,
4818,
31,
1377,
368,
17,
7,
409,
430,
1377,
368,
17,
7,
430,
534,
7397,
67,
7473,
67,
16068,
43,
24572,
1377,
4268,
18429,
63,
21,
65,
273,
4268,
4818,
397,
8422,
86,
3489,
3797,
18,
11930,
14432,
1377,
368,
17,
7,
12107,
1377,
4268,
2
] |
public void doGet(final HttpServletRequest request, final HttpServletResponse response)
|
public void doGet(final HttpServletRequest request, final HttpServletResponse response)
|
public void doGet(final HttpServletRequest request, final HttpServletResponse response) throws IOException, ServletException { // Get current configuration. final Properties config = getConfig(); // Public computer - should we deny use of SSO? final String denySSOChoice = RequestUtil.getCookieValue(config.getProperty(RequestUtil.PROP_COOKIE_DENYSSO), request.getCookies()); final boolean denySSO; if (denySSOChoice == null || denySSOChoice.equals("false") || denySSOChoice.equals("")) { // Allow SSO. request.setAttribute(RequestUtil.ATTR_SELECTED_DENYSSO, new Boolean(false)); denySSO = false; } else { // Deny SSO. request.setAttribute(RequestUtil.ATTR_SELECTED_DENYSSO, new Boolean(true)); denySSO = true; } // Attempt SSO. if (!denySSO) { final String serviceTicket; try { // Get SSO cookie name. final String ssoTicketId = RequestUtil.getCookieValue(config.getProperty(RequestUtil.PROP_COOKIE_SSO), request.getCookies()); if (ssoTicketId != null) { serviceTicket = MoriaController.attemptSingleSignOn( request.getParameter(config.getProperty(RequestUtil.PROP_LOGIN_TICKET_PARAM)), ssoTicketId); // Redirect back to web service. response.setStatus(HttpServletResponse.SC_MOVED_TEMPORARILY); response.setHeader("Location", MoriaController.getRedirectURL(serviceTicket)); // SSO succeeded, we're finished. return; } } catch (UnknownTicketException e) { //SSO failed; continue with normal authentication. } catch (MoriaControllerException e) { // Do not handle this exception here. Will be handled by the // showLoginPage method. } } // Display login page. showLoginPage(request, response, null); }
|
1637 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1637/35ea405c173af989c94d87e2258881973334d7a2/LoginServlet.java/buggy/moria2/modules/moria-web/src/java/no/feide/moria/servlet/LoginServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23611,
12,
6385,
9984,
590,
16,
727,
12446,
766,
13,
565,
1216,
1860,
16,
16517,
288,
3639,
368,
968,
783,
1664,
18,
3639,
727,
6183,
642,
273,
4367,
5621,
3639,
368,
7224,
26579,
300,
1410,
732,
17096,
999,
434,
24802,
35,
3639,
727,
514,
17096,
1260,
51,
10538,
273,
1567,
1304,
18,
588,
6151,
620,
12,
1425,
18,
588,
1396,
12,
691,
1304,
18,
15811,
67,
13584,
67,
13296,
61,
1260,
51,
3631,
590,
18,
588,
16089,
10663,
3639,
727,
1250,
17096,
1260,
51,
31,
3639,
309,
261,
13002,
93,
1260,
51,
10538,
422,
446,
747,
17096,
1260,
51,
10538,
18,
14963,
2932,
5743,
7923,
747,
17096,
1260,
51,
10538,
18,
14963,
2932,
6,
3719,
288,
5411,
368,
7852,
24802,
18,
5411,
590,
18,
542,
1499,
12,
691,
1304,
18,
12043,
67,
4803,
2056,
67,
13296,
61,
1260,
51,
16,
394,
3411,
12,
5743,
10019,
5411,
17096,
1260,
51,
273,
629,
31,
3639,
289,
469,
288,
5411,
368,
22453,
93,
24802,
18,
5411,
590,
18,
542,
1499,
12,
691,
1304,
18,
12043,
67,
4803,
2056,
67,
13296,
61,
1260,
51,
16,
394,
3411,
12,
3767,
10019,
5411,
17096,
1260,
51,
273,
638,
31,
3639,
289,
3639,
368,
12864,
24802,
18,
3639,
309,
16051,
13002,
93,
1260,
51,
13,
288,
5411,
727,
514,
1156,
13614,
31,
5411,
775,
288,
7734,
368,
968,
24802,
3878,
508,
18,
7734,
727,
514,
27250,
13614,
548,
273,
1567,
1304,
18,
588,
6151,
620,
12,
1425,
18,
588,
1396,
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,
23611,
12,
6385,
9984,
590,
16,
727,
12446,
766,
13,
565,
1216,
1860,
16,
16517,
288,
3639,
368,
968,
783,
1664,
18,
3639,
727,
6183,
642,
273,
4367,
5621,
3639,
368,
7224,
26579,
300,
1410,
732,
17096,
999,
434,
24802,
35,
3639,
727,
514,
17096,
1260,
51,
10538,
273,
1567,
1304,
18,
588,
6151,
620,
12,
1425,
18,
588,
1396,
12,
691,
1304,
18,
15811,
67,
13584,
67,
13296,
61,
1260,
51,
3631,
590,
18,
588,
16089,
10663,
3639,
727,
1250,
17096,
1260,
51,
31,
3639,
309,
261,
13002,
93,
1260,
51,
10538,
422,
446,
747,
17096,
1260,
51,
10538,
18,
14963,
2932,
5743,
7923,
747,
17096,
1260,
51,
10538,
18,
14963,
2932,
6,
3719,
288,
2
] |
if((leading & SRC_HOST_NULL) == SRC_HOST_NULL) { int src_port=in.readInt(); src_addr=new IpAddress(src_port, false); if(in.readByte() == 1) { len=in.readInt(); byte[] additional_data=new byte[len]; in.readFully(additional_data, 0, len); ((IpAddress)src_addr).setAdditionalData(additional_data); } } else { src_addr=new IpAddress(); src_addr.readFrom(in); }
|
src_addr=new IpAddress(); src_addr.readFrom(in);
|
public void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException { int len, leading; String hdr_name; Header hdr; // 1. read the leading byte first leading=in.readByte(); // 1. dest_addr if((leading & DEST_SET) == DEST_SET) { if((leading & IPADDR_DEST) == IPADDR_DEST) { dest_addr=new IpAddress(); dest_addr.readFrom(in); } else { dest_addr=Util.readAddress(in); } } // 2. src_addr if((leading & SRC_SET) == SRC_SET) { if((leading & IPADDR_SRC) == IPADDR_SRC) { if((leading & SRC_HOST_NULL) == SRC_HOST_NULL) { int src_port=in.readInt(); src_addr=new IpAddress(src_port, false); // keep a null host part if(in.readByte() == 1) { len=in.readInt(); byte[] additional_data=new byte[len]; in.readFully(additional_data, 0, len); ((IpAddress)src_addr).setAdditionalData(additional_data); } } else { src_addr=new IpAddress(); src_addr.readFrom(in); } } else { src_addr=Util.readAddress(in); } } // 3. buf if((leading & BUF_SET) == BUF_SET) { len=in.readInt(); buf=new byte[len]; in.read(buf, 0, len); length=len; } // 4. headers if((leading & HDRS_SET) == HDRS_SET) { len=in.readInt(); headers(len); for(int i=0; i < len; i++) { hdr_name=in.readUTF(); hdr=readHeader(in); headers.put(hdr_name, hdr); } } }
|
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/68e7fb8b21f04448d4dd56648939ffcea1a10d6c/Message.java/clean/src/org/jgroups/Message.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20876,
12,
751,
4348,
316,
13,
1216,
1860,
16,
11900,
16,
19248,
288,
3639,
509,
562,
16,
7676,
31,
3639,
514,
7723,
67,
529,
31,
3639,
4304,
7723,
31,
3639,
368,
404,
18,
855,
326,
7676,
1160,
1122,
3639,
7676,
33,
267,
18,
896,
3216,
5621,
3639,
368,
404,
18,
1570,
67,
4793,
3639,
309,
12443,
27200,
473,
2030,
882,
67,
4043,
13,
422,
2030,
882,
67,
4043,
13,
288,
5411,
309,
12443,
27200,
473,
2971,
14142,
67,
1639,
882,
13,
422,
2971,
14142,
67,
1639,
882,
13,
288,
7734,
1570,
67,
4793,
33,
2704,
14709,
1887,
5621,
7734,
1570,
67,
4793,
18,
896,
1265,
12,
267,
1769,
5411,
289,
5411,
469,
288,
7734,
1570,
67,
4793,
33,
1304,
18,
896,
1887,
12,
267,
1769,
5411,
289,
3639,
289,
3639,
368,
576,
18,
1705,
67,
4793,
3639,
309,
12443,
27200,
473,
348,
11529,
67,
4043,
13,
422,
348,
11529,
67,
4043,
13,
288,
5411,
309,
12443,
27200,
473,
2971,
14142,
67,
28413,
13,
422,
2971,
14142,
67,
28413,
13,
288,
7734,
309,
12443,
27200,
473,
348,
11529,
67,
8908,
67,
8560,
13,
422,
348,
11529,
67,
8908,
67,
8560,
13,
288,
10792,
509,
1705,
67,
655,
33,
267,
18,
896,
1702,
5621,
10792,
1705,
67,
4793,
33,
2704,
14709,
1887,
12,
4816,
67,
655,
16,
629,
1769,
368,
3455,
279,
446,
1479,
1087,
10792,
309,
12,
267,
18,
896,
3216,
1435,
422,
404,
13,
288,
13491,
562,
33,
267,
18,
896,
1702,
5621,
13491,
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,
20876,
12,
751,
4348,
316,
13,
1216,
1860,
16,
11900,
16,
19248,
288,
3639,
509,
562,
16,
7676,
31,
3639,
514,
7723,
67,
529,
31,
3639,
4304,
7723,
31,
3639,
368,
404,
18,
855,
326,
7676,
1160,
1122,
3639,
7676,
33,
267,
18,
896,
3216,
5621,
3639,
368,
404,
18,
1570,
67,
4793,
3639,
309,
12443,
27200,
473,
2030,
882,
67,
4043,
13,
422,
2030,
882,
67,
4043,
13,
288,
5411,
309,
12443,
27200,
473,
2971,
14142,
67,
1639,
882,
13,
422,
2971,
14142,
67,
1639,
882,
13,
288,
7734,
1570,
67,
4793,
33,
2704,
14709,
1887,
5621,
7734,
1570,
67,
4793,
18,
896,
1265,
12,
267,
1769,
5411,
289,
5411,
469,
288,
7734,
1570,
67,
2
] |
NewClientPG cPG = (NewClientPG)theLDMF.createPropertyGroup("ClientPG");
|
NewClientPG cPG = (NewClientPG)factory.createPropertyGroup("ClientPG");
|
private ClientPG makeClientPG (String id, String hostname, double bw, long t) { NewClientPG cPG = (NewClientPG)theLDMF.createPropertyGroup("ClientPG"); cPG.setId(id); cPG.setHost(hostname); cPG.setBandwidth(bw); cPG.setSampleTime(t); return cPG; }
|
14573 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14573/9833cdbbbe023bd989a2f2816011ce8a48001215/GaugeLDMPlugIn.java/clean/workflow/GaugeLDMPlugIn.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
2445,
18679,
1221,
1227,
18679,
261,
780,
612,
16,
514,
5199,
16,
1645,
12986,
16,
1525,
268,
13,
288,
202,
202,
30081,
18679,
276,
18679,
273,
261,
30081,
18679,
13,
5787,
12069,
13542,
18,
2640,
1396,
1114,
2932,
1227,
18679,
8863,
202,
202,
71,
18679,
18,
542,
548,
12,
350,
1769,
202,
202,
71,
18679,
18,
542,
2594,
12,
10358,
1769,
202,
202,
71,
18679,
18,
542,
24621,
12,
70,
91,
1769,
202,
202,
71,
18679,
18,
542,
8504,
950,
12,
88,
1769,
9506,
202,
2463,
276,
18679,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
2445,
18679,
1221,
1227,
18679,
261,
780,
612,
16,
514,
5199,
16,
1645,
12986,
16,
1525,
268,
13,
288,
202,
202,
30081,
18679,
276,
18679,
273,
261,
30081,
18679,
13,
5787,
12069,
13542,
18,
2640,
1396,
1114,
2932,
1227,
18679,
8863,
202,
202,
71,
18679,
18,
542,
548,
12,
350,
1769,
202,
202,
71,
18679,
18,
542,
2594,
12,
10358,
1769,
202,
202,
71,
18679,
18,
542,
24621,
12,
70,
91,
1769,
202,
202,
71,
18679,
18,
542,
8504,
950,
12,
88,
1769,
9506,
202,
2463,
276,
18679,
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
] |
public org.quickfix.field.IssueDate getIssueDate() throws FieldNotFound { org.quickfix.field.IssueDate value = new org.quickfix.field.IssueDate();
|
public quickfix.field.IssueDate getIssueDate() throws FieldNotFound { quickfix.field.IssueDate value = new quickfix.field.IssueDate();
|
public org.quickfix.field.IssueDate getIssueDate() throws FieldNotFound { org.quickfix.field.IssueDate value = new org.quickfix.field.IssueDate(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityDefinitionRequest.java/clean/src/java/src/quickfix/fix43/SecurityDefinitionRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
12956,
1626,
336,
12956,
1626,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
12956,
1626,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
12956,
1626,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
12956,
1626,
336,
12956,
1626,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
12956,
1626,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
12956,
1626,
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
] |
if (isFlagSet(FLAG_DELAY_REQUESTED)) buf.append(" DELAY");
|
if (isFlagSet(FLAG_DELAY_REQUESTED)) buf.append(" DELAY ").append(_optionDelay);
|
private final String toFlagString() { StringBuffer buf = new StringBuffer(32); if (isFlagSet(FLAG_CLOSE)) buf.append(" CLOSE"); if (isFlagSet(FLAG_DELAY_REQUESTED)) buf.append(" DELAY"); if (isFlagSet(FLAG_ECHO)) buf.append(" ECHO"); if (isFlagSet(FLAG_FROM_INCLUDED)) buf.append(" FROM"); if (isFlagSet(FLAG_MAX_PACKET_SIZE_INCLUDED)) buf.append(" MS"); if (isFlagSet(FLAG_PROFILE_INTERACTIVE)) buf.append(" INTERACTIVE"); if (isFlagSet(FLAG_RESET)) buf.append(" RESET"); if (isFlagSet(FLAG_SIGNATURE_INCLUDED)) buf.append(" SIG"); if (isFlagSet(FLAG_SIGNATURE_REQUESTED)) buf.append(" SIGREQ"); if (isFlagSet(FLAG_SYNCHRONIZE)) buf.append(" SYN"); return buf.toString(); }
|
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/48cdf17a4f63829c28b653f83ae10d01c3f7e752/Packet.java/clean/apps/streaming/java/src/net/i2p/client/streaming/Packet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
514,
358,
4678,
780,
1435,
288,
3639,
6674,
1681,
273,
394,
6674,
12,
1578,
1769,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
13384,
3719,
1681,
18,
6923,
2932,
14435,
8863,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
26101,
67,
5519,
2056,
3719,
1681,
18,
6923,
2932,
2030,
7868,
315,
2934,
6923,
24899,
3482,
6763,
1769,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
41,
22213,
3719,
1681,
18,
6923,
2932,
512,
22213,
8863,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
11249,
67,
706,
11686,
7660,
3719,
1681,
18,
6923,
2932,
4571,
8863,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
6694,
67,
12231,
1584,
67,
4574,
67,
706,
11686,
7660,
3719,
1681,
18,
6923,
2932,
9238,
8863,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
22462,
67,
9125,
13301,
3719,
1681,
18,
6923,
2932,
11391,
13301,
8863,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
26665,
3719,
1681,
18,
6923,
2932,
25901,
8863,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
26587,
67,
706,
11686,
7660,
3719,
1681,
18,
6923,
2932,
7004,
8863,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
26587,
67,
5519,
2056,
3719,
1681,
18,
6923,
2932,
7004,
20373,
8863,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
7474,
50,
1792,
19359,
15641,
3719,
1681,
18,
6923,
2932,
7068,
50,
8863,
3639,
327,
1681,
18,
10492,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
514,
358,
4678,
780,
1435,
288,
3639,
6674,
1681,
273,
394,
6674,
12,
1578,
1769,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
13384,
3719,
1681,
18,
6923,
2932,
14435,
8863,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
26101,
67,
5519,
2056,
3719,
1681,
18,
6923,
2932,
2030,
7868,
315,
2934,
6923,
24899,
3482,
6763,
1769,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
41,
22213,
3719,
1681,
18,
6923,
2932,
512,
22213,
8863,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
11249,
67,
706,
11686,
7660,
3719,
1681,
18,
6923,
2932,
4571,
8863,
3639,
309,
261,
291,
4678,
694,
12,
9651,
67,
6694,
67,
12231,
1584,
67,
4574,
67,
706,
2
] |
_currentDefPane.setPositionAndScroll(pos);
|
_currentDefPane.setCaretPosition(pos); JScrollPane defScroll = (JScrollPane) _defScrollPanes.get(_model.getActiveDocument()); int viewHeight = (int)defScroll.getViewport().getSize().getHeight(); Rectangle startRect = _currentDefPane.modelToView(pos); int startRectY = (int)startRect.getY(); startRect.setLocation(0, startRectY-viewHeight/2); Point endPoint = new Point(0, startRectY+viewHeight/2-1); startRect.add(endPoint); _currentDefPane.scrollRectToVisible(startRect);
|
private void _gotoLine() { final String msg = "What line would you like to go to?"; final String title = "Go to Line"; String lineStr = JOptionPane.showInputDialog(this, msg, title, JOptionPane.QUESTION_MESSAGE); try { if (lineStr != null) { int lineNum = Integer.parseInt(lineStr); int pos = _model.getActiveDocument().gotoLine(lineNum); _currentDefPane.setPositionAndScroll(pos); _currentDefPane.requestFocus(); } } catch (NumberFormatException nfe) { // invalid input for line number Toolkit.getDefaultToolkit().beep(); // Do nothing. } }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/facb31d52d0108009578d6a1708ac1dfc68b98b8/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
389,
75,
6302,
1670,
1435,
288,
565,
727,
514,
1234,
273,
315,
23801,
980,
4102,
1846,
3007,
358,
1960,
358,
7225,
31,
565,
727,
514,
2077,
273,
315,
5741,
358,
5377,
14432,
565,
514,
980,
1585,
273,
804,
1895,
8485,
18,
4500,
1210,
6353,
12,
2211,
16,
4766,
1171,
1234,
16,
4766,
1171,
2077,
16,
4766,
1171,
804,
1895,
8485,
18,
4740,
1146,
67,
8723,
1769,
565,
775,
288,
1377,
309,
261,
1369,
1585,
480,
446,
13,
288,
3639,
509,
980,
2578,
273,
2144,
18,
2670,
1702,
12,
1369,
1585,
1769,
3639,
509,
949,
273,
389,
2284,
18,
588,
3896,
2519,
7675,
75,
6302,
1670,
12,
1369,
2578,
1769,
3639,
389,
2972,
3262,
8485,
18,
542,
39,
20731,
2555,
12,
917,
1769,
565,
804,
26360,
1652,
6806,
273,
261,
46,
26360,
13,
389,
536,
6806,
4069,
281,
18,
588,
24899,
2284,
18,
588,
3896,
2519,
10663,
509,
1476,
2686,
273,
261,
474,
13,
536,
6806,
18,
588,
22743,
7675,
588,
1225,
7675,
588,
2686,
5621,
282,
13264,
787,
6120,
273,
389,
2972,
3262,
8485,
18,
2284,
774,
1767,
12,
917,
1769,
509,
787,
6120,
61,
273,
261,
474,
13,
1937,
6120,
18,
588,
61,
5621,
787,
6120,
18,
542,
2735,
12,
20,
16,
787,
6120,
61,
17,
1945,
2686,
19,
22,
1769,
225,
4686,
19849,
273,
394,
4686,
12,
20,
16,
787,
6120,
61,
15,
1945,
2686,
19,
22,
17,
21,
1769,
787,
6120,
18,
1289,
12,
409,
2148,
1769,
225,
389,
2972,
3262,
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,
389,
75,
6302,
1670,
1435,
288,
565,
727,
514,
1234,
273,
315,
23801,
980,
4102,
1846,
3007,
358,
1960,
358,
7225,
31,
565,
727,
514,
2077,
273,
315,
5741,
358,
5377,
14432,
565,
514,
980,
1585,
273,
804,
1895,
8485,
18,
4500,
1210,
6353,
12,
2211,
16,
4766,
1171,
1234,
16,
4766,
1171,
2077,
16,
4766,
1171,
804,
1895,
8485,
18,
4740,
1146,
67,
8723,
1769,
565,
775,
288,
1377,
309,
261,
1369,
1585,
480,
446,
13,
288,
3639,
509,
980,
2578,
273,
2144,
18,
2670,
1702,
12,
1369,
1585,
1769,
3639,
509,
949,
273,
389,
2284,
18,
588,
3896,
2519,
7675,
75,
6302,
1670,
12,
1369,
2578,
1769,
3639,
389,
2972,
3262,
8485,
18,
542,
2
] |
nameBuilder.append(StringUtil.capitalize(InsertComponentProcessor.getShortClassName(component.getComponentClassName())));
|
final String shortClassName = StringUtil.capitalize(InsertComponentProcessor.getShortClassName(component.getComponentClassName())); if (shortClassName.equalsIgnoreCase(nameBuilder.toString())) { return null; } nameBuilder.append(shortClassName);
|
public static String suggestBindingFromText(final RadComponent component, final String text) { ArrayList<String> words = new ArrayList<String>(StringUtil.getWordsIn(text)); if (words.size() > 0) { if (words.get(0).equalsIgnoreCase(PREFIX_HTML) && words.get(words.size()-1).equalsIgnoreCase(PREFIX_HTML)) { words.remove(0); words.remove(words.size()-1); } if (words.get(0).equalsIgnoreCase(PREFIX_BODY) && words.get(words.size()-1).equalsIgnoreCase(PREFIX_BODY)) { words.remove(0); words.remove(words.size()-1); } StringBuilder nameBuilder = new StringBuilder(StringUtil.decapitalize(words.get(0))); for(int i=1; i<words.size() && i < 4; i++) { nameBuilder.append(StringUtil.capitalize(words.get(i))); } nameBuilder.append(StringUtil.capitalize(InsertComponentProcessor.getShortClassName(component.getComponentClassName()))); RadRootContainer root = (RadRootContainer) FormEditingUtil.getRoot(component); Project project = root.getModule().getProject(); String binding = CodeStyleManager.getInstance(project).propertyNameToVariableName(nameBuilder.toString(), VariableKind.FIELD); if (FormEditingUtil.findComponentWithBinding(root, binding, component) != null) { binding = InsertComponentProcessor.getUniqueBinding(root, nameBuilder.toString()); } return binding; } return null; }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/8b3fb1f0450195e6f07733ff60e993bd01e64148/BindingProperty.java/clean/ui-designer/impl/com/intellij/uiDesigner/propertyInspector/properties/BindingProperty.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
19816,
5250,
1265,
1528,
12,
6385,
16378,
1841,
1794,
16,
727,
514,
977,
13,
288,
565,
2407,
32,
780,
34,
4511,
273,
394,
2407,
32,
780,
34,
12,
13565,
18,
588,
7363,
382,
12,
955,
10019,
565,
309,
261,
3753,
18,
1467,
1435,
405,
374,
13,
288,
1377,
309,
261,
3753,
18,
588,
12,
20,
2934,
14963,
5556,
12,
6307,
67,
4870,
13,
597,
4511,
18,
588,
12,
3753,
18,
1467,
1435,
17,
21,
2934,
14963,
5556,
12,
6307,
67,
4870,
3719,
288,
3639,
4511,
18,
4479,
12,
20,
1769,
3639,
4511,
18,
4479,
12,
3753,
18,
1467,
1435,
17,
21,
1769,
1377,
289,
1377,
309,
261,
3753,
18,
588,
12,
20,
2934,
14963,
5556,
12,
6307,
67,
16691,
13,
597,
4511,
18,
588,
12,
3753,
18,
1467,
1435,
17,
21,
2934,
14963,
5556,
12,
6307,
67,
16691,
3719,
288,
3639,
4511,
18,
4479,
12,
20,
1769,
3639,
4511,
18,
4479,
12,
3753,
18,
1467,
1435,
17,
21,
1769,
1377,
289,
1377,
3225,
508,
1263,
273,
394,
3225,
12,
13565,
18,
4924,
438,
7053,
554,
12,
3753,
18,
588,
12,
20,
3719,
1769,
1377,
364,
12,
474,
277,
33,
21,
31,
277,
32,
3753,
18,
1467,
1435,
597,
277,
411,
1059,
31,
277,
27245,
288,
3639,
508,
1263,
18,
6923,
12,
13565,
18,
5909,
7053,
554,
12,
3753,
18,
588,
12,
77,
3719,
1769,
1377,
289,
1377,
727,
514,
3025,
3834,
273,
14205,
18,
5909,
7053,
554,
12,
4600,
1841,
5164,
18,
588,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
19816,
5250,
1265,
1528,
12,
6385,
16378,
1841,
1794,
16,
727,
514,
977,
13,
288,
565,
2407,
32,
780,
34,
4511,
273,
394,
2407,
32,
780,
34,
12,
13565,
18,
588,
7363,
382,
12,
955,
10019,
565,
309,
261,
3753,
18,
1467,
1435,
405,
374,
13,
288,
1377,
309,
261,
3753,
18,
588,
12,
20,
2934,
14963,
5556,
12,
6307,
67,
4870,
13,
597,
4511,
18,
588,
12,
3753,
18,
1467,
1435,
17,
21,
2934,
14963,
5556,
12,
6307,
67,
4870,
3719,
288,
3639,
4511,
18,
4479,
12,
20,
1769,
3639,
4511,
18,
4479,
12,
3753,
18,
1467,
1435,
17,
21,
1769,
1377,
289,
1377,
309,
261,
3753,
18,
588,
12,
20,
2934,
14963,
5556,
2
] |
loadNames(module.__dir__(), module, frame.getf_locals());
|
PyObject names; if (module instanceof PyJavaPackage) names = ((PyJavaPackage)module).fillDir(); else names = module.__dir__(); loadNames(names, module, frame.getf_locals());
|
public static void importAll(String mod, PyFrame frame) { //System.out.println("importAll(" + mod + ")"); PyObject module = getImportFunc(frame).__call__(new PyObject[] { Py.newString(mod), frame.f_globals, frame.f_locals, all } ); loadNames(module.__dir__(), module, frame.getf_locals()); }
|
6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/fec6f9929268d92da6b5cc6e496df4699f5c2e0a/imp.java/buggy/org/python/core/imp.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1930,
1595,
12,
780,
681,
16,
4707,
3219,
2623,
13,
288,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
5666,
1595,
2932,
397,
681,
397,
7310,
1769,
3639,
4707,
921,
1605,
273,
336,
5010,
2622,
12,
3789,
2934,
972,
1991,
972,
12,
2704,
4707,
921,
8526,
288,
7734,
4707,
18,
2704,
780,
12,
1711,
3631,
7734,
2623,
18,
74,
67,
16227,
16,
7734,
2623,
18,
74,
67,
17977,
16,
7734,
777,
289,
11272,
4202,
4707,
921,
1257,
31,
309,
261,
2978,
1276,
4707,
5852,
2261,
13,
1257,
273,
14015,
9413,
5852,
2261,
13,
2978,
2934,
5935,
1621,
5621,
469,
1257,
273,
1605,
16186,
1214,
972,
5621,
225,
1262,
1557,
12,
1973,
16,
1605,
16,
2623,
18,
588,
74,
67,
17977,
10663,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1930,
1595,
12,
780,
681,
16,
4707,
3219,
2623,
13,
288,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
5666,
1595,
2932,
397,
681,
397,
7310,
1769,
3639,
4707,
921,
1605,
273,
336,
5010,
2622,
12,
3789,
2934,
972,
1991,
972,
12,
2704,
4707,
921,
8526,
288,
7734,
4707,
18,
2704,
780,
12,
1711,
3631,
7734,
2623,
18,
74,
67,
16227,
16,
7734,
2623,
18,
74,
67,
17977,
16,
7734,
777,
289,
11272,
4202,
4707,
921,
1257,
31,
309,
261,
2978,
1276,
4707,
5852,
2261,
13,
1257,
273,
14015,
9413,
5852,
2261,
13,
2978,
2934,
5935,
1621,
5621,
469,
1257,
273,
1605,
16186,
1214,
972,
5621,
225,
1262,
1557,
12,
1973,
16,
1605,
16,
2623,
2
] |
public ModifierEvent(Word modHeadWord, Word headWord, Symbol modifier, SexpList previousMods, Symbol parent, Symbol head, Subcat subcat, boolean verbIntervening, boolean side) { this.modHeadWord = modHeadWord; this.headWord = headWord; this.modifier = modifier; this.previousMods = SexpList.getCanonical(previousMods); this.parent = parent; this.head = head; this.subcat = subcat; this.verbIntervening = verbIntervening; this.side = side;
|
public ModifierEvent(Sexp sexp) { this(new Word(sexp.list().get(0)), new Word(sexp.list().get(1)), sexp.list().symbolAt(2), SexpList.getCanonical(sexp.list().listAt(3)), sexp.list().symbolAt(4), sexp.list().symbolAt(5), sexp.list().listAt(6), sexp.list().symbolAt(7) == trueSym, (sexp.list().symbolAt(8) == leftSym ? Constants.LEFT : Constants.RIGHT));
|
public ModifierEvent(Word modHeadWord, Word headWord, Symbol modifier, SexpList previousMods, Symbol parent, Symbol head, Subcat subcat, boolean verbIntervening, boolean side) { this.modHeadWord = modHeadWord; this.headWord = headWord; this.modifier = modifier; this.previousMods = SexpList.getCanonical(previousMods); this.parent = parent; this.head = head; this.subcat = subcat; this.verbIntervening = verbIntervening; this.side = side; }
|
5472 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5472/909c3acda445bff2b5644a1defeddcf90eadfa52/ModifierEvent.java/buggy/src/danbikel/parser/ModifierEvent.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
12832,
1133,
12,
3944,
681,
1414,
3944,
16,
1082,
4202,
9926,
910,
3944,
16,
1082,
4202,
8565,
9606,
16,
1082,
4202,
25358,
682,
2416,
1739,
87,
16,
1082,
4202,
8565,
982,
16,
1082,
4202,
8565,
910,
16,
1082,
4202,
2592,
2574,
720,
2574,
16,
1082,
4202,
1250,
6405,
2465,
3995,
310,
16,
1082,
4202,
1250,
4889,
13,
288,
565,
333,
18,
1711,
1414,
3944,
273,
681,
1414,
3944,
31,
565,
333,
18,
1978,
3944,
273,
910,
3944,
31,
565,
333,
18,
20597,
273,
9606,
31,
565,
333,
18,
11515,
1739,
87,
273,
25358,
682,
18,
588,
15512,
12,
11515,
1739,
87,
1769,
565,
333,
18,
2938,
273,
982,
31,
565,
333,
18,
1978,
273,
910,
31,
565,
333,
18,
1717,
2574,
273,
720,
2574,
31,
565,
333,
18,
16629,
2465,
3995,
310,
273,
6405,
2465,
3995,
310,
31,
565,
333,
18,
5564,
273,
4889,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
12832,
1133,
12,
3944,
681,
1414,
3944,
16,
1082,
4202,
9926,
910,
3944,
16,
1082,
4202,
8565,
9606,
16,
1082,
4202,
25358,
682,
2416,
1739,
87,
16,
1082,
4202,
8565,
982,
16,
1082,
4202,
8565,
910,
16,
1082,
4202,
2592,
2574,
720,
2574,
16,
1082,
4202,
1250,
6405,
2465,
3995,
310,
16,
1082,
4202,
1250,
4889,
13,
288,
565,
333,
18,
1711,
1414,
3944,
273,
681,
1414,
3944,
31,
565,
333,
18,
1978,
3944,
273,
910,
3944,
31,
565,
333,
18,
20597,
273,
9606,
31,
565,
333,
18,
11515,
1739,
87,
273,
25358,
682,
18,
588,
15512,
12,
11515,
1739,
87,
1769,
565,
333,
18,
2938,
273,
982,
31,
565,
333,
18,
1978,
273,
910,
31,
565,
2
] |
public synchronized void write(WritableComparable key, Writable value) throws IOException { out.write(key.toString().getBytes("UTF-8")); out.writeByte('\t'); out.write(value.toString().getBytes("UTF-8")); out.writeByte('\n'); } public synchronized void close(Reporter reporter) throws IOException { out.close(); } };
|
public synchronized void write(WritableComparable key, Writable value) throws IOException { out.write(key.toString().getBytes("UTF-8")); out.writeByte('\t'); out.write(value.toString().getBytes("UTF-8")); out.writeByte('\n'); } public synchronized void close(Reporter reporter) throws IOException { out.close(); } };
|
public RecordWriter getRecordWriter(FileSystem fs, JobConf job, String name, Progressable progr) throws IOException { File file = new File(job.getOutputDir(), name); final FSDataOutputStream out = fs.create(file); return new RecordWriter() { public synchronized void write(WritableComparable key, Writable value) throws IOException { out.write(key.toString().getBytes("UTF-8")); out.writeByte('\t'); out.write(value.toString().getBytes("UTF-8")); out.writeByte('\n'); } public synchronized void close(Reporter reporter) throws IOException { out.close(); } }; }
|
49248 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49248/e10b40e8014547113799b2653164e8c990d41209/StreamOutputFormat.java/clean/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamOutputFormat.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5059,
2289,
11674,
2289,
12,
11785,
2662,
16,
3956,
3976,
1719,
16,
4766,
1377,
514,
508,
16,
10980,
429,
450,
3197,
13,
1216,
1860,
288,
377,
1387,
585,
273,
394,
1387,
12,
4688,
18,
588,
1447,
1621,
9334,
508,
1769,
565,
727,
9247,
751,
4632,
596,
273,
2662,
18,
2640,
12,
768,
1769,
565,
327,
394,
5059,
2289,
1435,
288,
3639,
1071,
3852,
918,
1045,
12,
12061,
799,
10207,
498,
16,
14505,
460,
13,
1850,
1216,
1860,
288,
1850,
596,
18,
2626,
12,
856,
18,
10492,
7675,
588,
2160,
2932,
5159,
17,
28,
7923,
1769,
1850,
596,
18,
2626,
3216,
2668,
64,
88,
8284,
1850,
596,
18,
2626,
12,
1132,
18,
10492,
7675,
588,
2160,
2932,
5159,
17,
28,
7923,
1769,
1850,
596,
18,
2626,
3216,
2668,
64,
82,
8284,
3639,
289,
3639,
1071,
3852,
918,
1746,
12,
13289,
11528,
13,
1216,
1860,
288,
1850,
596,
18,
4412,
5621,
3639,
289,
1377,
289,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5059,
2289,
11674,
2289,
12,
11785,
2662,
16,
3956,
3976,
1719,
16,
4766,
1377,
514,
508,
16,
10980,
429,
450,
3197,
13,
1216,
1860,
288,
377,
1387,
585,
273,
394,
1387,
12,
4688,
18,
588,
1447,
1621,
9334,
508,
1769,
565,
727,
9247,
751,
4632,
596,
273,
2662,
18,
2640,
12,
768,
1769,
565,
327,
394,
5059,
2289,
1435,
288,
3639,
1071,
3852,
918,
1045,
12,
12061,
799,
10207,
498,
16,
14505,
460,
13,
1850,
1216,
1860,
288,
1850,
596,
18,
2626,
12,
856,
18,
10492,
7675,
588,
2160,
2932,
5159,
17,
28,
7923,
1769,
1850,
596,
18,
2626,
3216,
2668,
64,
88,
8284,
1850,
596,
18,
2626,
12,
1132,
18,
10492,
7675,
588,
2160,
2932,
5159,
2
] |
}
|
public synchronized void postIMNotification(IMNotification n) { for (Session session : mListeners) { session.notifyIM(n); } }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/2bbde8abd5b4d0e19ab5d88cc03eee32ba76e4ee/Mailbox.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/Mailbox.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
1603,
3445,
4386,
12,
3445,
4386,
290,
13,
288,
3639,
364,
261,
2157,
1339,
294,
312,
5583,
13,
288,
5411,
1339,
18,
12336,
3445,
12,
82,
1769,
6647,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
3852,
918,
1603,
3445,
4386,
12,
3445,
4386,
290,
13,
288,
3639,
364,
261,
2157,
1339,
294,
312,
5583,
13,
288,
5411,
1339,
18,
12336,
3445,
12,
82,
1769,
6647,
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
] |
|
return new BrowserInformationControl(parent, SWT.NO_TRIM | SWT.TOOL, SWT.NONE, PDETextHover.getTooltipAffordanceString());
|
return new BrowserInformationControl(parent, SWT.NO_TRIM | SWT.TOOL, SWT.NONE);
|
public IInformationControlCreator getInformationControlCreator() { if (!BrowserInformationControl.isAvailable(null)) return null; if (fCreator == null) { fCreator = new AbstractReusableInformationControlCreator() { public IInformationControl doCreateInformationControl(Shell parent) { return new BrowserInformationControl(parent, SWT.NO_TRIM | SWT.TOOL, SWT.NONE, PDETextHover.getTooltipAffordanceString()); } }; } return fCreator; }
|
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/fb67730f43ea7bdb7fa7eb7659209fa6f147edb7/XMLCompletionProposal.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/contentassist/XMLCompletionProposal.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
5369,
3367,
10636,
336,
5369,
3367,
10636,
1435,
288,
202,
202,
430,
16051,
9132,
5369,
3367,
18,
291,
5268,
12,
2011,
3719,
1082,
202,
2463,
446,
31,
9506,
202,
430,
261,
74,
10636,
422,
446,
13,
288,
1082,
202,
74,
10636,
273,
394,
4115,
426,
16665,
5369,
3367,
10636,
1435,
288,
9506,
202,
482,
467,
5369,
3367,
741,
1684,
5369,
3367,
12,
13220,
982,
13,
288,
6862,
202,
2463,
394,
15408,
5369,
3367,
12,
2938,
16,
348,
8588,
18,
3417,
67,
6566,
49,
571,
348,
8588,
18,
26263,
16,
348,
8588,
18,
9826,
16,
453,
1639,
1528,
21184,
18,
588,
22444,
13785,
517,
1359,
780,
10663,
9506,
202,
97,
1082,
202,
20451,
202,
202,
97,
202,
202,
2463,
284,
10636,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
5369,
3367,
10636,
336,
5369,
3367,
10636,
1435,
288,
202,
202,
430,
16051,
9132,
5369,
3367,
18,
291,
5268,
12,
2011,
3719,
1082,
202,
2463,
446,
31,
9506,
202,
430,
261,
74,
10636,
422,
446,
13,
288,
1082,
202,
74,
10636,
273,
394,
4115,
426,
16665,
5369,
3367,
10636,
1435,
288,
9506,
202,
482,
467,
5369,
3367,
741,
1684,
5369,
3367,
12,
13220,
982,
13,
288,
6862,
202,
2463,
394,
15408,
5369,
3367,
12,
2938,
16,
348,
8588,
18,
3417,
67,
6566,
49,
571,
348,
8588,
18,
26263,
16,
348,
8588,
18,
9826,
16,
453,
1639,
1528,
21184,
18,
588,
22444,
13785,
517,
1359,
780,
10663,
9506,
202,
97,
1082,
202,
20451,
202,
202,
97,
2
] |
state.addRedoMarker(iVisited.getBodyNode()); state.addNodeInstruction(iVisited.getBodyNode());
|
if (iVisited.getBodyNode() != null) { state.addRedoMarker(iVisited.getBodyNode()); state.addNodeInstruction(iVisited.getBodyNode()); }
|
public void execute(EvaluationState state, InstructionContext ctx) { WhileNode iVisited = (WhileNode)ctx; // result contains condition check IRubyObject condition = state.getResult(); if (condition.isTrue()) { // re-push body, condition, and check state.addBreakableInstruction(iVisited, whileConditionCheck); state.addNodeInstruction(iVisited.getConditionNode()); state.addRedoMarker(iVisited.getBodyNode()); state.addNodeInstruction(iVisited.getBodyNode()); } // else loop terminates }
|
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/cab77318aeeb184de4a3544bacd84d9ae2872123/EvaluateVisitor.java/clean/src/org/jruby/evaluator/EvaluateVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1836,
12,
13468,
1119,
919,
16,
24605,
1042,
1103,
13,
288,
5411,
21572,
907,
277,
30019,
273,
261,
15151,
907,
13,
5900,
31,
13491,
368,
563,
1914,
2269,
866,
5411,
15908,
10340,
921,
2269,
273,
919,
18,
588,
1253,
5621,
13491,
309,
261,
4175,
18,
291,
5510,
10756,
288,
7734,
368,
283,
17,
6206,
1417,
16,
2269,
16,
471,
866,
7734,
919,
18,
1289,
7634,
429,
11983,
12,
77,
30019,
16,
1323,
3418,
1564,
1769,
7734,
919,
18,
1289,
907,
11983,
12,
77,
30019,
18,
588,
3418,
907,
10663,
7734,
919,
18,
1289,
3715,
83,
7078,
12,
77,
30019,
18,
588,
2250,
907,
10663,
7734,
919,
18,
1289,
907,
11983,
12,
77,
30019,
18,
588,
2250,
907,
10663,
5411,
289,
5411,
368,
469,
2798,
30559,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
1071,
918,
1836,
12,
13468,
1119,
919,
16,
24605,
1042,
1103,
13,
288,
5411,
21572,
907,
277,
30019,
273,
261,
15151,
907,
13,
5900,
31,
13491,
368,
563,
1914,
2269,
866,
5411,
15908,
10340,
921,
2269,
273,
919,
18,
588,
1253,
5621,
13491,
309,
261,
4175,
18,
291,
5510,
10756,
288,
7734,
368,
283,
17,
6206,
1417,
16,
2269,
16,
471,
866,
7734,
919,
18,
1289,
7634,
429,
11983,
12,
77,
30019,
16,
1323,
3418,
1564,
1769,
7734,
919,
18,
1289,
907,
11983,
12,
77,
30019,
18,
588,
3418,
907,
10663,
7734,
919,
18,
1289,
3715,
83,
7078,
12,
77,
30019,
18,
588,
2250,
907,
10663,
7734,
919,
18,
1289,
907,
11983,
12,
77,
30019,
18,
588,
2250,
2
] |
return super.createDialogArea(parent);
|
return content.getParent();
|
protected Control createDialogArea(Composite parent) { Composite content = new Composite(parent, SWT.NONE); GridLayout gridLayout = new GridLayout(5, false); content.setLayout(gridLayout); content.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true)); Label label = new Label(content, SWT.NONE); label.setText("Convert"); label.setLayoutData(new GridData(60, SWT.DEFAULT)); amount = new Spinner(content, SWT.BORDER); amount.setMinimum(1); amount.setMaximum(999999999); amount.setDigits(2); amount.setIncrement(100); amount.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { update(); } }); from = new Combo(content, SWT.READ_ONLY); from.setLayoutData(new GridData(GridData.FILL, GridData.BEGINNING, false, false)); from.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { update(); } }); label = new Label(content, SWT.NONE); label.setLayoutData(new GridData(GridData.BEGINNING, GridData.BEGINNING, false, false, 2, 1)); label = new Label(content, SWT.NONE); label = new Label(content, SWT.NONE); label.setText("to"); label.setLayoutData(new GridData(60, SWT.DEFAULT)); to = new Combo(content, SWT.READ_ONLY); to.setLayoutData(new GridData(GridData.FILL, GridData.BEGINNING, false, false)); to.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { update(); } }); label = new Label(content, SWT.NONE); label.setText("="); result = new Text(content, SWT.BORDER|SWT.READ_ONLY); result.setLayoutData(new GridData(80, SWT.DEFAULT)); List list = CurrencyConverter.getInstance().getCurrencies(); Collections.sort(list, new Comparator() { public int compare(Object arg0, Object arg1) { return ((String)arg0).compareTo((String)arg1); } }); for (Iterator iter = list.iterator(); iter.hasNext(); ) { String symbol = (String)iter.next(); from.add(symbol); to.add(symbol); } String locale = Currency.getInstance(Locale.getDefault()).getCurrencyCode(); from.setText(locale.equals("EUR") ? "USD" : "EUR"); to.setText(locale); amount.setSelection(100); update(); return super.createDialogArea(parent); }
|
12846 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12846/12e1ab35178a7508b9a50d05f7fb02cc04c7d131/CurrencyConversionDialog.java/clean/net.sourceforge.eclipsetrader.core/src/net/sourceforge/eclipsetrader/core/ui/dialogs/CurrencyConversionDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8888,
752,
6353,
5484,
12,
9400,
982,
13,
565,
288,
3639,
14728,
913,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
7145,
3744,
3068,
3744,
273,
394,
7145,
3744,
12,
25,
16,
629,
1769,
3639,
913,
18,
542,
3744,
12,
5222,
3744,
1769,
3639,
913,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
16,
7145,
751,
18,
29818,
16,
638,
16,
638,
10019,
3639,
5287,
1433,
273,
394,
5287,
12,
1745,
16,
348,
8588,
18,
9826,
1769,
3639,
1433,
18,
542,
1528,
2932,
2723,
8863,
3639,
1433,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
4848,
16,
348,
8588,
18,
5280,
10019,
7734,
3844,
273,
394,
5878,
7872,
12,
1745,
16,
348,
8588,
18,
38,
7954,
1769,
3639,
3844,
18,
542,
13042,
12,
21,
1769,
3639,
3844,
18,
542,
13528,
12,
7991,
31463,
1769,
3639,
3844,
18,
542,
9537,
12,
22,
1769,
3639,
3844,
18,
542,
10798,
12,
6625,
1769,
3639,
3844,
18,
1289,
6233,
2223,
12,
2704,
12977,
4216,
1435,
288,
5411,
1071,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
5411,
288,
7734,
1089,
5621,
5411,
289,
3639,
15549,
7734,
628,
273,
394,
1286,
1075,
12,
1745,
16,
348,
8588,
18,
6949,
67,
10857,
1769,
3639,
628,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
16,
7145,
751,
18,
16061,
15870,
16,
629,
16,
629,
10019,
3639,
628,
18,
1289,
6233,
2223,
12,
2704,
12977,
4216,
1435,
288,
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,
8888,
752,
6353,
5484,
12,
9400,
982,
13,
565,
288,
3639,
14728,
913,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
7145,
3744,
3068,
3744,
273,
394,
7145,
3744,
12,
25,
16,
629,
1769,
3639,
913,
18,
542,
3744,
12,
5222,
3744,
1769,
3639,
913,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
16,
7145,
751,
18,
29818,
16,
638,
16,
638,
10019,
3639,
5287,
1433,
273,
394,
5287,
12,
1745,
16,
348,
8588,
18,
9826,
1769,
3639,
1433,
18,
542,
1528,
2932,
2723,
8863,
3639,
1433,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
4848,
16,
348,
8588,
18,
5280,
10019,
7734,
3844,
273,
394,
5878,
2
] |
runQueryCheckResult(
|
assertQueryReturns(
|
public void _testRolling() { runQueryCheckResult( "WITH SET Rolling12 AS" + nl + " 'LASTPERIODS(12, TAIL(FILTER([Time].[Month].MEMBERS, " + nl + " ([Customers].[All Customers], " + nl + " [Education Level].[All Education Level]," + nl + " [Gender].[All Gender]," + nl + " [Marital Status].[All Marital Status]," + nl + " [Product].[All Products], " + nl + " [Promotion Media].[All Media]," + nl + " [Promotions].[All Promotions]," + nl + " [Store].[All Stores]," + nl + " [Store Size in SQFT].[All Store Size in SQFT]," + nl + " [Store Type].[All Store Type]," + nl + " [Yearly Income].[All Yearly Income]," + nl + " Measures.[Unit Sales]) >0)," + nl + " 1).ITEM(0).ITEM(0))'" + nl + "SELECT {[Measures].[Unit Sales]} ON COLUMNS, " + nl + " Rolling12 ON ROWS" + nl + "FROM Sales", ""); }
|
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/3041f930b5fc4bf6aa3339845b828801c1d8b366/BasicQueryTest.java/buggy/testsrc/main/mondrian/test/BasicQueryTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
389,
3813,
28068,
1435,
288,
3639,
1815,
1138,
1356,
12,
7734,
315,
9147,
7855,
29495,
2138,
5355,
6,
397,
7741,
397,
7734,
315,
225,
296,
14378,
28437,
55,
12,
2138,
16,
399,
6575,
12,
11126,
3816,
950,
8009,
63,
5445,
8009,
19630,
55,
16,
315,
397,
7741,
397,
7734,
315,
565,
23265,
3802,
414,
8009,
63,
1595,
6082,
414,
6487,
315,
397,
7741,
397,
7734,
315,
565,
306,
41,
2544,
71,
367,
4557,
8009,
63,
1595,
512,
2544,
71,
367,
4557,
6487,
6,
397,
7741,
397,
7734,
315,
565,
306,
43,
2345,
8009,
63,
1595,
611,
2345,
6487,
6,
397,
7741,
397,
7734,
315,
565,
306,
49,
297,
7053,
2685,
8009,
63,
1595,
490,
297,
7053,
2685,
6487,
6,
397,
7741,
397,
7734,
315,
565,
306,
4133,
8009,
63,
1595,
8094,
87,
6487,
315,
397,
7741,
397,
7734,
315,
565,
306,
13224,
8240,
6128,
8009,
63,
1595,
6128,
6487,
6,
397,
7741,
397,
7734,
315,
565,
306,
13224,
352,
1115,
8009,
63,
1595,
17552,
352,
1115,
6487,
6,
397,
7741,
397,
7734,
315,
565,
306,
2257,
8009,
63,
1595,
20296,
455,
6487,
6,
397,
7741,
397,
7734,
315,
565,
306,
2257,
6321,
316,
348,
53,
4464,
8009,
63,
1595,
4994,
6321,
316,
348,
53,
4464,
6487,
6,
397,
7741,
397,
7734,
315,
565,
306,
2257,
1412,
8009,
63,
1595,
4994,
1412,
6487,
6,
397,
7741,
397,
7734,
315,
565,
306,
5593,
715,
657,
5624,
8009,
63,
1595,
16666,
715,
657,
5624,
6487,
6,
397,
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,
389,
3813,
28068,
1435,
288,
3639,
1815,
1138,
1356,
12,
7734,
315,
9147,
7855,
29495,
2138,
5355,
6,
397,
7741,
397,
7734,
315,
225,
296,
14378,
28437,
55,
12,
2138,
16,
399,
6575,
12,
11126,
3816,
950,
8009,
63,
5445,
8009,
19630,
55,
16,
315,
397,
7741,
397,
7734,
315,
565,
23265,
3802,
414,
8009,
63,
1595,
6082,
414,
6487,
315,
397,
7741,
397,
7734,
315,
565,
306,
41,
2544,
71,
367,
4557,
8009,
63,
1595,
512,
2544,
71,
367,
4557,
6487,
6,
397,
7741,
397,
7734,
315,
565,
306,
43,
2345,
8009,
63,
1595,
611,
2345,
6487,
6,
397,
7741,
397,
7734,
315,
565,
306,
49,
297,
7053,
2685,
8009,
63,
1595,
490,
297,
7053,
2
] |
continue;
|
break;
|
public void run() { short origHTL = htl; node.addSender(key, htl, this); HashSet nodesRoutedTo = new HashSet(); HashSet nodesNotIgnored = new HashSet(); try { while(true) { Logger.minor(this, "htl="+htl); if(htl == 0) { // RNF // Would be DNF if arrived with no HTL // But here we've already routed it and that's been rejected. finish(ROUTE_NOT_FOUND, null); return; } // Route it PeerNode next; double nextValue; synchronized(node.peers) { next = node.peers.closerPeer(source, nodesRoutedTo, nodesNotIgnored, target, true); if(next != null) nextValue = next.getLocation().getValue(); else nextValue = -1.0; } if(next == null) { // Backtrack finish(ROUTE_NOT_FOUND, null); return; } Logger.minor(this, "Routing request to "+next); nodesRoutedTo.add(next); if(Math.abs(target - nextValue) > Math.abs(target - nearestLoc)) { htl = node.decrementHTL(source, htl); Logger.minor(this, "Backtracking: target="+target+" next="+nextValue+" closest="+nearestLoc+" so htl="+htl); } Message req = DMT.createFNPDataRequest(uid, htl, key, nearestLoc); next.send(req); sentRequest = true; Message msg = null; while(true) { /** * What are we waiting for? * FNPAccepted - continue * FNPRejectedLoop - go to another node * FNPRejectedOverload - fail (propagates back to source, * then reduces source transmit rate) */ MessageFilter mfAccepted = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(ACCEPTED_TIMEOUT).setType(DMT.FNPAccepted); MessageFilter mfRejectedLoop = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(ACCEPTED_TIMEOUT).setType(DMT.FNPRejectedLoop); MessageFilter mfRejectedOverload = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(ACCEPTED_TIMEOUT).setType(DMT.FNPRejectedOverload); // mfRejectedOverload must be the last thing in the or // So its or pointer remains null // Otherwise we need to recreate it below MessageFilter mf = mfAccepted.or(mfRejectedLoop.or(mfRejectedOverload)); try { msg = node.usm.waitFor(mf); } catch (DisconnectedException e) { Logger.normal(this, "Disconnected from "+next+" while waiting for Accepted on "+uid); break; } if(msg == null) { Logger.minor(this, "Timeout waiting for Accepted"); // Timeout waiting for Accepted next.localRejectedOverload(); forwardRejectedOverload(); // Try next node break; } if(msg.getSpec() == DMT.FNPRejectedLoop) { Logger.minor(this, "Rejected loop"); next.successNotOverload(); // Find another node to route to break; } if(msg.getSpec() == DMT.FNPRejectedOverload) { Logger.minor(this, "Rejected: overload"); // Non-fatal - probably still have time left forwardRejectedOverload(); if (msg.getBoolean(DMT.IS_LOCAL)) { Logger.minor(this, "Is local"); next.localRejectedOverload(); Logger.minor(this, "Local RejectedOverload, moving on to next peer"); // Give up on this one, try another break; } continue; } if(msg.getSpec() != DMT.FNPAccepted) { Logger.error(this, "Unrecognized message: "+msg); continue; } break; } if(msg == null || msg.getSpec() != DMT.FNPAccepted) { // Try another node continue; } Logger.minor(this, "Got Accepted"); // Otherwise, must be Accepted // So wait... while(true) { MessageFilter mfDNF = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(FETCH_TIMEOUT).setType(DMT.FNPDataNotFound); MessageFilter mfDF = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(FETCH_TIMEOUT).setType(DMT.FNPDataFound); MessageFilter mfRouteNotFound = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(FETCH_TIMEOUT).setType(DMT.FNPRouteNotFound); MessageFilter mfRejectedOverload = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(FETCH_TIMEOUT).setType(DMT.FNPRejectedOverload); MessageFilter mf = mfDNF.or(mfDF.or(mfRouteNotFound.or(mfRejectedOverload))); try { msg = node.usm.waitFor(mf); } catch (DisconnectedException e) { Logger.normal(this, "Disconnected from "+next+" while waiting for data on "+uid); continue; } if(msg == null) { // Fatal timeout next.localRejectedOverload(); forwardRejectedOverload(); finish(TIMED_OUT, next); return; } if(msg.getSpec() == DMT.FNPDataNotFound) { next.successNotOverload(); finish(DATA_NOT_FOUND, next); return; } if(msg.getSpec() == DMT.FNPRouteNotFound) { // Backtrack within available hops short newHtl = msg.getShort(DMT.HTL); if(newHtl < htl) htl = newHtl; next.successNotOverload(); continue; } if(msg.getSpec() == DMT.FNPRejectedOverload) { // Non-fatal - probably still have time left forwardRejectedOverload(); if (msg.getBoolean(DMT.IS_LOCAL)) { next.localRejectedOverload(); Logger.minor(this, "Local RejectedOverload, moving on to next peer"); // Give up on this one, try another break; } continue; // Wait for any further response } if(msg.getSpec() != DMT.FNPDataFound) { Logger.error(this, "Unexpected message: "+msg); } // Found data next.successNotOverload(); // First get headers headers = ((ShortBuffer)msg.getObject(DMT.BLOCK_HEADERS)).getData(); // FIXME: Validate headers node.addTransferringSender(key, this); try { prb = new PartiallyReceivedBlock(Node.PACKETS_IN_BLOCK, Node.PACKET_SIZE); synchronized(this) { notifyAll(); } BlockReceiver br = new BlockReceiver(node.usm, next, uid, prb); try { byte[] data = br.receive(); // Received data CHKBlock block; try { block = new CHKBlock(data, headers, key); } catch (CHKVerifyException e1) { Logger.normal(this, "Got data but verify failed: "+e1, e1); finish(VERIFY_FAILURE, next); return; } node.store(block); finish(SUCCESS, next); return; } catch (RetrievalException e) { Logger.normal(this, "Transfer failed: "+e, e); finish(TRANSFER_FAILED, next); return; } } finally { node.removeTransferringSender(key, this); } } } } catch (Throwable t) { Logger.error(this, "Caught "+t, t); } finally { node.completed(uid); node.removeSender(key, origHTL, this); } }
|
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/c0cf5d7b472a36b25d41538138fb3ab55a59f0c2/RequestSender.java/buggy/src/freenet/node/RequestSender.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
3025,
1647,
5062,
48,
273,
366,
6172,
31,
3639,
756,
18,
1289,
12021,
12,
856,
16,
366,
6172,
16,
333,
1769,
3639,
6847,
2199,
4583,
329,
774,
273,
394,
6847,
5621,
3639,
6847,
2199,
1248,
15596,
273,
394,
6847,
5621,
3639,
775,
288,
3639,
1323,
12,
3767,
13,
288,
5411,
4242,
18,
17364,
12,
2211,
16,
315,
647,
80,
1546,
15,
647,
80,
1769,
5411,
309,
12,
647,
80,
422,
374,
13,
288,
7734,
368,
534,
26473,
7734,
368,
678,
1006,
506,
18001,
42,
309,
2454,
2950,
598,
1158,
25052,
7734,
368,
12484,
2674,
732,
8081,
1818,
3237,
329,
518,
471,
716,
1807,
2118,
11876,
18,
7734,
4076,
12,
30334,
67,
4400,
67,
9294,
16,
446,
1769,
7734,
327,
31,
5411,
289,
13491,
368,
5179,
518,
5411,
10669,
907,
1024,
31,
5411,
1645,
1024,
620,
31,
5411,
3852,
12,
2159,
18,
30502,
13,
288,
7734,
1024,
273,
756,
18,
30502,
18,
27736,
6813,
12,
3168,
16,
2199,
4583,
329,
774,
16,
2199,
1248,
15596,
16,
1018,
16,
638,
1769,
7734,
309,
12,
4285,
480,
446,
13,
10792,
1024,
620,
273,
1024,
18,
588,
2735,
7675,
24805,
5621,
7734,
469,
10792,
1024,
620,
273,
300,
21,
18,
20,
31,
5411,
289,
13491,
309,
12,
4285,
422,
446,
13,
288,
7734,
368,
4297,
4101,
7734,
4076,
12,
30334,
67,
4400,
67,
9294,
16,
446,
1769,
7734,
327,
31,
5411,
289,
5411,
4242,
18,
17364,
12,
2211,
16,
315,
13966,
590,
358,
13773,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
3025,
1647,
5062,
48,
273,
366,
6172,
31,
3639,
756,
18,
1289,
12021,
12,
856,
16,
366,
6172,
16,
333,
1769,
3639,
6847,
2199,
4583,
329,
774,
273,
394,
6847,
5621,
3639,
6847,
2199,
1248,
15596,
273,
394,
6847,
5621,
3639,
775,
288,
3639,
1323,
12,
3767,
13,
288,
5411,
4242,
18,
17364,
12,
2211,
16,
315,
647,
80,
1546,
15,
647,
80,
1769,
5411,
309,
12,
647,
80,
422,
374,
13,
288,
7734,
368,
534,
26473,
7734,
368,
678,
1006,
506,
18001,
42,
309,
2454,
2950,
598,
1158,
25052,
7734,
368,
12484,
2674,
732,
8081,
1818,
3237,
329,
518,
471,
716,
1807,
2118,
11876,
18,
7734,
4076,
12,
30334,
67,
4400,
2
] |
if ( u1 != null && u2 != null ) { return u1.equals( u2 );
|
if ( u1 == null ) { u1 = "";
|
protected boolean matchesNamespaceURIs( String u1, String u2 ) { //System.out.println( "Comparing URIs: " + u1 + " and: " + u2 + " for prefix: " + prefix ); if ( u1 == u2 ) { return true; } if ( u1 != null && u2 != null ) { return u1.equals( u2 ); } return false; }
|
47110 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47110/92e54b1bb78a080e6bc2cd78c0160dc29c24c221/DefaultNameStep.java/buggy/jaxen/src/java/main/org/jaxen/expr/DefaultNameStep.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
1885,
3402,
1099,
2520,
12,
514,
582,
21,
16,
514,
582,
22,
262,
288,
3639,
368,
3163,
18,
659,
18,
8222,
12,
315,
799,
12583,
24565,
30,
315,
397,
582,
21,
397,
315,
471,
30,
315,
397,
582,
22,
397,
315,
364,
1633,
30,
315,
397,
1633,
11272,
7734,
309,
261,
582,
21,
422,
582,
22,
262,
288,
5411,
327,
638,
31,
3639,
289,
3639,
309,
261,
582,
21,
480,
446,
597,
582,
22,
480,
446,
262,
288,
5411,
327,
582,
21,
18,
14963,
12,
582,
22,
11272,
3639,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
1885,
3402,
1099,
2520,
12,
514,
582,
21,
16,
514,
582,
22,
262,
288,
3639,
368,
3163,
18,
659,
18,
8222,
12,
315,
799,
12583,
24565,
30,
315,
397,
582,
21,
397,
315,
471,
30,
315,
397,
582,
22,
397,
315,
364,
1633,
30,
315,
397,
1633,
11272,
7734,
309,
261,
582,
21,
422,
582,
22,
262,
288,
5411,
327,
638,
31,
3639,
289,
3639,
309,
261,
582,
21,
480,
446,
597,
582,
22,
480,
446,
262,
288,
5411,
327,
582,
21,
18,
14963,
12,
582,
22,
11272,
3639,
289,
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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.