rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
listlengths 256
256
| attention_mask
listlengths 256
256
| labels
listlengths 128
128
|
|---|---|---|---|---|---|---|
data.setCopyfromRevision(copyfromRev);
|
data.setCopyfromRevision(copyfromRev);
|
private void endPath() throws SAXException { checkLastElement(PATHS); // relies on the fact that absoluteToRelativePath returns null for paths that are not on the branch. final String filename = repositoryFileManager.absoluteToRelativePath(stringData); final RevisionData data = (RevisionData) currentRevisionData.createCopy(); if (!pathAction.equals("D")) { data.setStateExp(true); if (pathAction.equals("A") || pathAction.equals("R")) { data.setStateAdded(true); } } else { data.setStateDead(true); } data.setCopyfromPath(copyfromPath); data.setCopyfromRevision(copyfromRev); // must add directories because of implicit additions // if (!SvnInfoUtils.isDirectory(filename)) { currentRevisions.add(data); currentFilenames.add(filename); // } }
|
48585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48585/0beeeec26ac5b91ee22e39d87d404501255cfc1a/SvnXmlLogFileHandler.java/buggy/statsvn/src/net/sf/statsvn/input/SvnXmlLogFileHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
679,
743,
1435,
1216,
14366,
288,
202,
202,
1893,
3024,
1046,
12,
4211,
55,
1769,
202,
202,
759,
14719,
281,
603,
326,
5410,
716,
4967,
774,
16519,
1135,
446,
364,
2953,
716,
854,
486,
603,
326,
3803,
18,
202,
202,
6385,
514,
1544,
273,
3352,
812,
1318,
18,
12547,
774,
16519,
12,
1080,
751,
1769,
202,
202,
6385,
13132,
751,
501,
273,
261,
7939,
751,
13,
783,
7939,
751,
18,
2640,
2951,
5621,
202,
202,
430,
16051,
803,
1803,
18,
14963,
2932,
40,
6,
3719,
288,
1082,
202,
892,
18,
542,
1119,
2966,
12,
3767,
1769,
1082,
202,
430,
261,
803,
1803,
18,
14963,
2932,
37,
7923,
747,
589,
1803,
18,
14963,
2932,
54,
6,
3719,
288,
9506,
202,
892,
18,
542,
1119,
8602,
12,
3767,
1769,
1082,
202,
97,
202,
202,
97,
469,
288,
1082,
202,
892,
18,
542,
1119,
11852,
12,
3767,
1769,
202,
202,
97,
202,
202,
892,
18,
542,
2951,
2080,
743,
12,
3530,
2080,
743,
1769,
3639,
501,
18,
542,
2951,
2080,
7939,
12,
3530,
2080,
10070,
1769,
1377,
202,
202,
759,
1297,
527,
6402,
2724,
434,
10592,
26260,
202,
202,
759,
309,
16051,
55,
25031,
966,
1989,
18,
291,
2853,
12,
3459,
3719,
288,
540,
202,
202,
2972,
21208,
18,
1289,
12,
892,
1769,
202,
202,
2972,
25579,
6809,
18,
1289,
12,
3459,
1769,
202,
202,
759,
289,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
679,
743,
1435,
1216,
14366,
288,
202,
202,
1893,
3024,
1046,
12,
4211,
55,
1769,
202,
202,
759,
14719,
281,
603,
326,
5410,
716,
4967,
774,
16519,
1135,
446,
364,
2953,
716,
854,
486,
603,
326,
3803,
18,
202,
202,
6385,
514,
1544,
273,
3352,
812,
1318,
18,
12547,
774,
16519,
12,
1080,
751,
1769,
202,
202,
6385,
13132,
751,
501,
273,
261,
7939,
751,
13,
783,
7939,
751,
18,
2640,
2951,
5621,
202,
202,
430,
16051,
803,
1803,
18,
14963,
2932,
40,
6,
3719,
288,
1082,
202,
892,
18,
542,
1119,
2966,
12,
3767,
1769,
1082,
202,
430,
261,
803,
1803,
18,
14963,
2932,
37,
7923,
747,
589,
1803,
18,
14963,
2932,
54,
6,
2
] |
if (targetInstruction == null && dest.isExceptionThrower()) { targetInstruction = dest.getExceptionThrower();
|
if (targetInstruction == null && target.isExceptionThrower()) { targetInstruction = target.getExceptionThrower();
|
public String toString() { StringBuffer buf = new StringBuffer(); buf.append("EDGE("); buf.append(id); buf.append(") type "); buf.append(edgeTypeToString(type)); buf.append(" from block "); buf.append(source.getId()); buf.append(" to block "); buf.append(dest.getId()); InstructionHandle sourceInstruction = source.getLastInstruction(); InstructionHandle targetInstruction = dest.getFirstInstruction(); String exInfo = " -> "; if (targetInstruction == null && dest.isExceptionThrower()) { targetInstruction = dest.getExceptionThrower(); exInfo = " => "; } if (sourceInstruction != null && targetInstruction != null) { buf.append(" [bytecode "); buf.append(sourceInstruction.getPosition()); buf.append(exInfo); buf.append(targetInstruction.getPosition()); buf.append(']'); } else if (source.isExceptionThrower()) { if (type == FALL_THROUGH_EDGE) buf.append(" [successful check]"); else { buf.append(" [failed check for "); buf.append(source.getExceptionThrower().getPosition()); if (targetInstruction != null) { buf.append(" to "); buf.append(targetInstruction.getPosition()); } buf.append(']'); } } return buf.toString(); }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/533d2c2020d216920e79d16980fec5974319a3ab/Edge.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/Edge.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1762,
1435,
288,
202,
202,
780,
1892,
1681,
273,
394,
6674,
5621,
202,
202,
4385,
18,
6923,
2932,
27732,
2932,
1769,
202,
202,
4385,
18,
6923,
12,
350,
1769,
202,
202,
4385,
18,
6923,
2932,
13,
618,
315,
1769,
202,
202,
4385,
18,
6923,
12,
7126,
559,
5808,
12,
723,
10019,
202,
202,
4385,
18,
6923,
2932,
628,
1203,
315,
1769,
202,
202,
4385,
18,
6923,
12,
3168,
18,
26321,
10663,
202,
202,
4385,
18,
6923,
2932,
358,
1203,
315,
1769,
202,
202,
4385,
18,
6923,
12,
10488,
18,
26321,
10663,
202,
202,
11983,
3259,
1084,
11983,
273,
1084,
18,
588,
3024,
11983,
5621,
202,
202,
11983,
3259,
1018,
11983,
273,
1570,
18,
588,
3759,
11983,
5621,
202,
202,
780,
431,
966,
273,
315,
317,
13636,
202,
202,
430,
261,
3299,
11983,
422,
446,
597,
1570,
18,
291,
503,
8282,
264,
10756,
288,
1082,
202,
3299,
11983,
273,
1570,
18,
588,
503,
8282,
264,
5621,
1082,
202,
338,
966,
273,
315,
516,
13636,
202,
202,
97,
202,
202,
430,
261,
3168,
11983,
480,
446,
597,
1018,
11983,
480,
446,
13,
288,
1082,
202,
4385,
18,
6923,
2932,
306,
1637,
16651,
315,
1769,
1082,
202,
4385,
18,
6923,
12,
3168,
11983,
18,
588,
2555,
10663,
1082,
202,
4385,
18,
6923,
12,
338,
966,
1769,
1082,
202,
4385,
18,
6923,
12,
3299,
11983,
18,
588,
2555,
10663,
1082,
202,
4385,
18,
6923,
2668,
3864,
1769,
202,
202,
97,
469,
309,
261,
3168,
18,
291,
503,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1762,
1435,
288,
202,
202,
780,
1892,
1681,
273,
394,
6674,
5621,
202,
202,
4385,
18,
6923,
2932,
27732,
2932,
1769,
202,
202,
4385,
18,
6923,
12,
350,
1769,
202,
202,
4385,
18,
6923,
2932,
13,
618,
315,
1769,
202,
202,
4385,
18,
6923,
12,
7126,
559,
5808,
12,
723,
10019,
202,
202,
4385,
18,
6923,
2932,
628,
1203,
315,
1769,
202,
202,
4385,
18,
6923,
12,
3168,
18,
26321,
10663,
202,
202,
4385,
18,
6923,
2932,
358,
1203,
315,
1769,
202,
202,
4385,
18,
6923,
12,
10488,
18,
26321,
10663,
202,
202,
11983,
3259,
1084,
11983,
273,
1084,
18,
588,
3024,
11983,
5621,
202,
202,
11983,
3259,
1018,
11983,
273,
1570,
18,
588,
3759,
2
] |
new EhloCommand(commandDispatcher);
|
private void initializeCommandDispatcher() { commandDispatcher = new CommandDispatcher(serverContext); new CommandLogger(new HelloCommand(commandDispatcher)); // new EhloCommand(commandDispatcher); new CommandLogger(new MailCommand(commandDispatcher)); new CommandLogger(new ReceiptCommand(commandDispatcher)); new DataCommand(commandDispatcher); new ResetCommand(commandDispatcher); new NoopCommand(commandDispatcher); new CommandLogger(new QuitCommand(commandDispatcher)); new HelpCommand(commandDispatcher); new VerifyCommand(commandDispatcher); new ExpnCommand(commandDispatcher); new VerboseCommand(commandDispatcher); // new EtrnCommand(commandDispatcher); // new DsnCommand(commandDispatcher); }
|
50789 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50789/10094e454b7f599e5defce4a841cac9ec60d0851/SMTPServiceCore.java/clean/smtp/src/org/subethamail/smtp/server/SMTPServiceCore.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
11365,
270,
275,
359,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
918,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
4046,
2189,
6681,
1435,
202,
95,
202,
202,
3076,
6681,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
273,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
394,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
3498,
6681,
12,
3567,
1042,
1769,
202,
202,
2704,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
3498,
3328,
12,
2704,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
20889,
2189,
12,
3076,
6681,
10019,
202,
202,
759,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
394,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
202,
202,
2704,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
3498,
3328,
12,
2704,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
11542,
2189,
12,
3076,
6681,
10019,
202,
202,
2704,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
3498,
3328,
12,
2704,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
29787,
2189,
12,
3076,
6681,
10019,
202,
202,
2704,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
1910,
2189,
12,
3076,
6681,
1769,
202,
202,
2704,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
7151,
2189,
12,
3076,
6681,
1769,
202,
202,
2704,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
2631,
556,
2189,
12,
3076,
6681,
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,
11365,
270,
275,
359,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
918,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
4046,
2189,
6681,
1435,
202,
95,
202,
202,
3076,
6681,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
273,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
394,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
3498,
6681,
12,
3567,
1042,
1769,
202,
202,
2704,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
3498,
3328,
12,
2704,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
20889,
2189,
12,
3076,
6681,
10019,
202,
202,
759,
2704,
512,
76,
383,
2189,
12,
3076,
6681,
1769,
394,
2704,
512,
76,
383,
2189,
12,
2
] |
|
P2PService remoteService, P2PNodesLookup lookup, String vnName,
|
P2PService remoteService, P2PNodeLookup lookup, String vnName,
|
public void askingNode(int ttl, UniversalUniqueID uuid, P2PService remoteService, P2PNodesLookup lookup, String vnName, String jobId) { boolean broadcast; if (uuid != null) { logger.debug("AskingNode message received with #" + uuid); ttl--; try { broadcast = broadcaster(ttl, uuid, remoteService); } catch (P2POldMessageException e) { return; } } else { broadcast = true; } // Asking a node to the node manager P2PNode askedNode = this.nodeManager.askingNode(); // During asking node, forwards this message if (broadcast) { // Forwarding the message if (uuid == null) { logger.debug("Generating uuid for askingNode message"); uuid = generateUuid(); } this.acquaintances.askingNode(ttl, uuid, remoteService, lookup, vnName, jobId); logger.debug("Broadcast askingNode message with #" + uuid); } // Asking node available? Node nodeAvailable = askedNode.getNode(); if (nodeAvailable != null) { // Setting vnInformation and JobId if (vnName != null) { nodeAvailable.setVnName(vnName); try { nodeAvailable.getProActiveRuntime().registerVirtualNode(vnName, true); } catch (ProActiveException e) { logger.warn("Couldn't register " + vnName + " in the PAR", e); } } if (jobId != null) { nodeAvailable.getNodeInformation().setJobID(jobId); } logger.info("Giving 1 node to vn: " + vnName); lookup.giveNode(nodeAvailable, askedNode.getNodeManager()); } }
|
14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/2af7f2743a6477e582d63ba554bbf3751bc584ee/P2PService.java/buggy/src/org/objectweb/proactive/p2p/service/P2PService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
29288,
907,
12,
474,
6337,
16,
27705,
31118,
3822,
16,
3639,
453,
22,
52,
1179,
2632,
1179,
16,
453,
22,
52,
907,
6609,
3689,
16,
514,
21732,
461,
16,
3639,
514,
13845,
13,
288,
3639,
1250,
8959,
31,
3639,
309,
261,
7080,
480,
446,
13,
288,
5411,
1194,
18,
4148,
2932,
23663,
310,
907,
883,
5079,
598,
31526,
397,
3822,
1769,
5411,
6337,
413,
31,
5411,
775,
288,
7734,
8959,
273,
324,
26674,
12,
12546,
16,
3822,
16,
2632,
1179,
1769,
5411,
289,
1044,
261,
52,
22,
2419,
1236,
31270,
425,
13,
288,
7734,
327,
31,
5411,
289,
3639,
289,
469,
288,
5411,
8959,
273,
638,
31,
3639,
289,
3639,
368,
25747,
310,
279,
756,
358,
326,
756,
3301,
3639,
453,
22,
52,
907,
19279,
907,
273,
333,
18,
2159,
1318,
18,
835,
310,
907,
5621,
3639,
368,
463,
4017,
29288,
756,
16,
24578,
333,
883,
3639,
309,
261,
19805,
13,
288,
5411,
368,
17206,
310,
326,
883,
5411,
309,
261,
7080,
422,
446,
13,
288,
7734,
1194,
18,
4148,
2932,
21755,
3822,
364,
29288,
907,
883,
8863,
7734,
3822,
273,
2103,
5897,
5621,
5411,
289,
5411,
333,
18,
1077,
372,
1598,
6872,
18,
835,
310,
907,
12,
12546,
16,
3822,
16,
2632,
1179,
16,
3689,
16,
7734,
21732,
461,
16,
13845,
1769,
5411,
1194,
18,
4148,
2932,
15926,
29288,
907,
883,
598,
31526,
397,
3822,
1769,
3639,
289,
3639,
368,
25747,
310,
756,
2319,
35,
3639,
2029,
756,
5268,
273,
19279,
907,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
29288,
907,
12,
474,
6337,
16,
27705,
31118,
3822,
16,
3639,
453,
22,
52,
1179,
2632,
1179,
16,
453,
22,
52,
907,
6609,
3689,
16,
514,
21732,
461,
16,
3639,
514,
13845,
13,
288,
3639,
1250,
8959,
31,
3639,
309,
261,
7080,
480,
446,
13,
288,
5411,
1194,
18,
4148,
2932,
23663,
310,
907,
883,
5079,
598,
31526,
397,
3822,
1769,
5411,
6337,
413,
31,
5411,
775,
288,
7734,
8959,
273,
324,
26674,
12,
12546,
16,
3822,
16,
2632,
1179,
1769,
5411,
289,
1044,
261,
52,
22,
2419,
1236,
31270,
425,
13,
288,
7734,
327,
31,
5411,
289,
3639,
289,
469,
288,
5411,
8959,
273,
638,
31,
3639,
289,
3639,
368,
25747,
310,
279,
756,
358,
2
] |
Link tmp; for(int i=0; i < links.size(); i++) { tmp=(Link)links.elementAt(i); tmp.stop(); } links.removeAllElements();
|
Link tmp; for(int i=0; i < links.size(); i++) { tmp=(Link)links.elementAt(i); tmp.stop(); } links.removeAllElements();
|
public void removeAllLinks() { Link tmp; for(int i=0; i < links.size(); i++) { tmp=(Link)links.elementAt(i); tmp.stop(); } links.removeAllElements(); }
|
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/13de68466e3cf7fde6ee0bde0cee09a33e837e89/LogicalLink.java/clean/src/org/jgroups/blocks/LogicalLink.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12787,
7100,
1435,
288,
202,
2098,
1853,
31,
202,
1884,
12,
474,
277,
33,
20,
31,
277,
411,
4716,
18,
1467,
5621,
277,
27245,
288,
202,
565,
1853,
28657,
2098,
13,
7135,
18,
2956,
861,
12,
77,
1769,
202,
565,
1853,
18,
5681,
5621,
202,
97,
202,
7135,
18,
4479,
1595,
3471,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
918,
12787,
7100,
1435,
288,
202,
2098,
1853,
31,
202,
1884,
12,
474,
277,
33,
20,
31,
277,
411,
4716,
18,
1467,
5621,
277,
27245,
288,
202,
565,
1853,
28657,
2098,
13,
7135,
18,
2956,
861,
12,
77,
1769,
202,
565,
1853,
18,
5681,
5621,
202,
97,
202,
7135,
18,
4479,
1595,
3471,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static void runFileUsingCommand(String command, IFile file) throws CoreException {
|
public static void runFileUsingCommand(String command, IFile file, boolean gotoConsole) throws CoreException {
|
public static void runFileUsingCommand(String command, IFile file) throws CoreException { // save before launch IProject project = file.getProject(); if (project != null) { IProject[] referencedProjects = project.getReferencedProjects(); IProject[] allProjects = new IProject[referencedProjects.length+1]; allProjects[0] = project; System.arraycopy(referencedProjects, 0, allProjects, 1, referencedProjects.length); if (!saveBeforeLaunch(allProjects)) { return; } } runFileUsingCommand(command, file.getLocation()); }
|
47575 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47575/d83823f01254ee41f13ac0d4757d43056fcc9f0b/RCodeLaunchRegistry.java/clean/de.walware.statet.r.ui/srcDebug/de/walware/statet/r/launching/RCodeLaunchRegistry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1086,
812,
7736,
2189,
12,
780,
1296,
16,
467,
812,
585,
13,
1216,
30015,
288,
9506,
202,
759,
1923,
1865,
8037,
202,
202,
45,
4109,
1984,
273,
585,
18,
588,
4109,
5621,
202,
202,
430,
261,
4406,
480,
446,
13,
288,
1082,
202,
45,
4109,
8526,
8042,
15298,
273,
1984,
18,
588,
22344,
15298,
5621,
1082,
202,
45,
4109,
8526,
777,
15298,
273,
394,
467,
4109,
63,
20883,
15298,
18,
2469,
15,
21,
15533,
1082,
202,
454,
15298,
63,
20,
65,
273,
1984,
31,
1082,
202,
3163,
18,
1126,
3530,
12,
20883,
15298,
16,
374,
16,
777,
15298,
16,
404,
16,
8042,
15298,
18,
2469,
1769,
1082,
202,
430,
16051,
5688,
4649,
9569,
12,
454,
15298,
3719,
288,
9506,
202,
2463,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
2681,
812,
7736,
2189,
12,
3076,
16,
585,
18,
588,
2735,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1086,
812,
7736,
2189,
12,
780,
1296,
16,
467,
812,
585,
13,
1216,
30015,
288,
9506,
202,
759,
1923,
1865,
8037,
202,
202,
45,
4109,
1984,
273,
585,
18,
588,
4109,
5621,
202,
202,
430,
261,
4406,
480,
446,
13,
288,
1082,
202,
45,
4109,
8526,
8042,
15298,
273,
1984,
18,
588,
22344,
15298,
5621,
1082,
202,
45,
4109,
8526,
777,
15298,
273,
394,
467,
4109,
63,
20883,
15298,
18,
2469,
15,
21,
15533,
1082,
202,
454,
15298,
63,
20,
65,
273,
1984,
31,
1082,
202,
3163,
18,
1126,
3530,
12,
20883,
15298,
16,
374,
16,
777,
15298,
16,
404,
16,
8042,
15298,
18,
2469,
1769,
1082,
202,
430,
16051,
5688,
4649,
9569,
12,
2
] |
GraphConstants.setAutoSize(this.attributes, true); GraphConstants.setBounds(this.attributes, graphStruct.setRectCoords(this)); GraphConstants.setBorder(this.attributes , BorderFactory.createLineBorder(Color.red)); GraphConstants.setBackground(this.attributes, Color.blue); this.port = new DefaultPort(); this.add(this.port); graphStruct.getCells().add(this); this.draw();
|
this.initDrawAttributes(graphStruct);
|
public GEStreamNode construct(GraphStructure graphStruct, int level) { System.out.println("Constructing the filter " +this.getName()); if (this.getNumberOfWFs() > 0) { this.setInfo(this.getWFAsString(0)); this.setUserObject(this.getInfoLabel()); } else { this.setUserObject(this.getNameLabel()); } (graphStruct.getAttributes()).put(this, this.attributes); //liveGraph.attributes.put(this, this.attributes); GraphConstants.setAutoSize(this.attributes, true); GraphConstants.setBounds(this.attributes, graphStruct.setRectCoords(this)); GraphConstants.setBorder(this.attributes , BorderFactory.createLineBorder(Color.red)); GraphConstants.setBackground(this.attributes, Color.blue); this.port = new DefaultPort(); this.add(this.port); graphStruct.getCells().add(this); //liveGraph.cells.add(this); this.draw(); return this; }
|
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/7ace7a530da48c40374d9550f4f745b7a19df53e/GEPhasedFilter.java/buggy/streams/src/streamit/eclipse/grapheditor/GEPhasedFilter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
17788,
1228,
907,
4872,
12,
4137,
6999,
2667,
3823,
16,
509,
1801,
13,
202,
95,
202,
202,
3163,
18,
659,
18,
8222,
2932,
7249,
310,
326,
1034,
315,
397,
2211,
18,
17994,
10663,
9506,
202,
430,
261,
2211,
18,
588,
9226,
59,
12432,
1435,
405,
374,
13,
3196,
202,
95,
1082,
202,
2211,
18,
542,
966,
12,
2211,
18,
588,
59,
42,
8092,
12,
20,
10019,
1082,
202,
2211,
18,
542,
1299,
921,
12,
2211,
18,
588,
966,
2224,
10663,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
2211,
18,
542,
1299,
921,
12,
2211,
18,
17994,
2224,
10663,
202,
202,
97,
1082,
3196,
202,
12,
4660,
3823,
18,
588,
2498,
1435,
2934,
458,
12,
2211,
16,
333,
18,
4350,
1769,
202,
202,
759,
16472,
4137,
18,
4350,
18,
458,
12,
2211,
16,
333,
18,
4350,
1769,
9506,
202,
4137,
2918,
18,
542,
4965,
1225,
12,
2211,
18,
4350,
16,
638,
1769,
202,
202,
4137,
2918,
18,
542,
5694,
12,
2211,
18,
4350,
16,
2667,
3823,
18,
542,
6120,
13089,
12,
2211,
10019,
202,
202,
4137,
2918,
18,
542,
8107,
12,
2211,
18,
4350,
269,
13525,
1733,
18,
2640,
1670,
8107,
12,
2957,
18,
1118,
10019,
202,
202,
4137,
2918,
18,
542,
8199,
12,
2211,
18,
4350,
16,
5563,
18,
14081,
1769,
6862,
9506,
202,
2211,
18,
655,
273,
394,
2989,
2617,
5621,
202,
202,
2211,
18,
1289,
12,
2211,
18,
655,
1769,
9506,
202,
4660,
3823,
18,
588,
10505,
7675,
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,
17788,
1228,
907,
4872,
12,
4137,
6999,
2667,
3823,
16,
509,
1801,
13,
202,
95,
202,
202,
3163,
18,
659,
18,
8222,
2932,
7249,
310,
326,
1034,
315,
397,
2211,
18,
17994,
10663,
9506,
202,
430,
261,
2211,
18,
588,
9226,
59,
12432,
1435,
405,
374,
13,
3196,
202,
95,
1082,
202,
2211,
18,
542,
966,
12,
2211,
18,
588,
59,
42,
8092,
12,
20,
10019,
1082,
202,
2211,
18,
542,
1299,
921,
12,
2211,
18,
588,
966,
2224,
10663,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
2211,
18,
542,
1299,
921,
12,
2211,
18,
17994,
2224,
10663,
202,
202,
97,
1082,
3196,
202,
12,
4660,
3823,
18,
588,
2498,
1435,
2934,
2
] |
case 113:
|
case 112:
|
final public void atom() throws ParseException { if (jj_2_14(2)) { SimpleNode jjtn001 = new SimpleNode(JJTTUPLE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); jjtreeOpenNodeScope(jjtn001); try { jj_consume_token(LPAREN); jj_consume_token(RPAREN); } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); jjtreeCloseNodeScope(jjtn001); } } } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: jj_consume_token(LPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: case LBRACE: case LBRACKET: case PLUS: case MINUS: case NOT: case NOT_BOOL: case LAMBDA: case AS: case NAME: case DECNUMBER: case HEXNUMBER: case OCTNUMBER: case FLOAT: case SINGLE_STRING: case SINGLE_STRING2: case TRIPLE_STRING: case TRIPLE_STRING2: case 113: SmartTestList(); break; default: jj_la1[70] = jj_gen; ; } jj_consume_token(RPAREN); break; case LBRACKET: SimpleNode jjtn002 = new SimpleNode(JJTLIST); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); jjtreeOpenNodeScope(jjtn002); try { jj_consume_token(LBRACKET); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: case LBRACE: case LBRACKET: case PLUS: case MINUS: case NOT: case NOT_BOOL: case LAMBDA: case AS: case NAME: case DECNUMBER: case HEXNUMBER: case OCTNUMBER: case FLOAT: case SINGLE_STRING: case SINGLE_STRING2: case TRIPLE_STRING: case TRIPLE_STRING2: case 113: listmaker(); break; default: jj_la1[71] = jj_gen; ; } jj_consume_token(RBRACKET); } catch (Throwable jjte002) { if (jjtc002) { jjtree.clearNodeScope(jjtn002); jjtc002 = false; } else { jjtree.popNode(); } if (jjte002 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte002;} } if (jjte002 instanceof ParseException) { {if (true) throw (ParseException)jjte002;} } {if (true) throw (Error)jjte002;} } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); jjtreeCloseNodeScope(jjtn002); } } break; case LBRACE: SimpleNode jjtn003 = new SimpleNode(JJTDICTIONARY); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); jjtreeOpenNodeScope(jjtn003); try { jj_consume_token(LBRACE); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: case LBRACE: case LBRACKET: case PLUS: case MINUS: case NOT: case NOT_BOOL: case LAMBDA: case AS: case NAME: case DECNUMBER: case HEXNUMBER: case OCTNUMBER: case FLOAT: case SINGLE_STRING: case SINGLE_STRING2: case TRIPLE_STRING: case TRIPLE_STRING2: case 113: dictmaker(); break; default: jj_la1[72] = jj_gen; ; } jj_consume_token(RBRACE); } catch (Throwable jjte003) { if (jjtc003) { jjtree.clearNodeScope(jjtn003); jjtc003 = false; } else { jjtree.popNode(); } if (jjte003 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte003;} } if (jjte003 instanceof ParseException) { {if (true) throw (ParseException)jjte003;} } {if (true) throw (Error)jjte003;} } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, true); jjtreeCloseNodeScope(jjtn003); } } break; case 113: jj_consume_token(113); SmartTestList(); SimpleNode jjtn004 = new SimpleNode(JJTSTR_1OP); boolean jjtc004 = true; jjtree.openNodeScope(jjtn004); jjtreeOpenNodeScope(jjtn004); try { jj_consume_token(113); } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, 1); jjtreeCloseNodeScope(jjtn004); } } break; case AS: case NAME: Name(); break; case DECNUMBER: case HEXNUMBER: case OCTNUMBER: case FLOAT: Number(); break; case SINGLE_STRING: case SINGLE_STRING2: case TRIPLE_STRING: case TRIPLE_STRING2: String(); label_27: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SINGLE_STRING: case SINGLE_STRING2: case TRIPLE_STRING: case TRIPLE_STRING2: ; break; default: jj_la1[73] = jj_gen; break label_27; } SimpleNode jjtn005 = new SimpleNode(JJTSTRJOIN); boolean jjtc005 = true; jjtree.openNodeScope(jjtn005); jjtreeOpenNodeScope(jjtn005); try { String(); } catch (Throwable jjte005) { if (jjtc005) { jjtree.clearNodeScope(jjtn005); jjtc005 = false; } else { jjtree.popNode(); } if (jjte005 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte005;} } if (jjte005 instanceof ParseException) { {if (true) throw (ParseException)jjte005;} } {if (true) throw (Error)jjte005;} } finally { if (jjtc005) { jjtree.closeNodeScope(jjtn005, 2); jjtreeCloseNodeScope(jjtn005); } } } break; default: jj_la1[74] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } }
|
6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/990a4416bd2a7ed851b7580527ecd4b4df231ca5/PythonGrammar.java/buggy/org/python/parser/PythonGrammar.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
3179,
1435,
1216,
10616,
288,
565,
309,
261,
78,
78,
67,
22,
67,
3461,
12,
22,
3719,
288,
10402,
4477,
907,
10684,
5088,
11664,
273,
394,
4477,
907,
12,
46,
46,
1470,
3079,
900,
1769,
10402,
1250,
10684,
5111,
11664,
273,
638,
31,
10402,
10684,
3413,
18,
3190,
907,
3876,
12,
78,
78,
5088,
11664,
1769,
10402,
10684,
3413,
3678,
907,
3876,
12,
78,
78,
5088,
11664,
1769,
1377,
775,
288,
3639,
10684,
67,
21224,
67,
2316,
12,
48,
15111,
1769,
3639,
10684,
67,
21224,
67,
2316,
12,
54,
15111,
1769,
1377,
289,
3095,
288,
10402,
309,
261,
78,
78,
5111,
11664,
13,
288,
5397,
10684,
3413,
18,
4412,
907,
3876,
12,
78,
78,
5088,
11664,
16,
638,
1769,
5397,
10684,
3413,
4605,
907,
3876,
12,
78,
78,
5088,
11664,
1769,
10402,
289,
1377,
289,
565,
289,
469,
288,
1377,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
1377,
648,
511,
15111,
30,
3639,
10684,
67,
21224,
67,
2316,
12,
48,
15111,
1769,
3639,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
3639,
648,
511,
15111,
30,
3639,
648,
511,
26980,
30,
3639,
648,
511,
21217,
30,
3639,
648,
22443,
3378,
30,
3639,
648,
6989,
3378,
30,
3639,
648,
4269,
30,
3639,
648,
4269,
67,
19040,
30,
3639,
648,
511,
2192,
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,
727,
1071,
918,
3179,
1435,
1216,
10616,
288,
565,
309,
261,
78,
78,
67,
22,
67,
3461,
12,
22,
3719,
288,
10402,
4477,
907,
10684,
5088,
11664,
273,
394,
4477,
907,
12,
46,
46,
1470,
3079,
900,
1769,
10402,
1250,
10684,
5111,
11664,
273,
638,
31,
10402,
10684,
3413,
18,
3190,
907,
3876,
12,
78,
78,
5088,
11664,
1769,
10402,
10684,
3413,
3678,
907,
3876,
12,
78,
78,
5088,
11664,
1769,
1377,
775,
288,
3639,
10684,
67,
21224,
67,
2316,
12,
48,
15111,
1769,
3639,
10684,
67,
21224,
67,
2316,
12,
54,
15111,
1769,
1377,
289,
3095,
288,
10402,
309,
261,
78,
78,
5111,
11664,
13,
288,
5397,
10684,
3413,
18,
4412,
907,
3876,
12,
78,
78,
5088,
2
] |
private void initComponents() { JFrame.setDefaultLookAndFeelDecorated(true); try { UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() ); } catch (Exception e) { e.printStackTrace(); } /////////////////////// // create the file menu fileMenu = new JMenu(); fileMenu.setText("File"); fileMenu.setMnemonic( KeyEvent.VK_F ); openMenuItem = new JMenuItem(); openMenuItem.setText("Open"); fileMenu.add(openMenuItem); saveMenuItem = new JMenuItem(); saveMenuItem.setText("Save"); fileMenu.add(saveMenuItem); saveAsMenuItem = new JMenuItem(); saveAsMenuItem.setText("Save As ..."); fileMenu.add(saveAsMenuItem); exitMenuItem = new JMenuItem(); exitMenuItem.setText("Exit"); exitMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { exitMenuItemActionPerformed(evt); } }); fileMenu.add(exitMenuItem); /////////////////////// // create the edit menu editMenu = new JMenu(); editMenu.setText("Edit"); editMenu.setMnemonic( KeyEvent.VK_E ); undoMenuItem = new JMenuItem( new AbstractAction( "Undo" ) { public void actionPerformed( ActionEvent e ) { getExecutor().undo(); } }); undoMenuItem.setEnabled( false ); editMenu.add( undoMenuItem ); redoMenuItem = new JMenuItem( new AbstractAction( "Redo" ) { public void actionPerformed( ActionEvent e ) { getExecutor().redo(); } }); redoMenuItem.setEnabled( false ); editMenu.add( redoMenuItem ); editMenu.add( new JSeparator() ); cutMenuItem = new JMenuItem(); cutMenuItem.setText("Cut"); editMenu.add(cutMenuItem); copyMenuItem = new JMenuItem(); copyMenuItem.setText("Copy"); editMenu.add(copyMenuItem); pasteMenuItem = new JMenuItem(); pasteMenuItem.setText("Paste"); editMenu.add(pasteMenuItem); deleteMenuItem = new JMenuItem(); deleteMenuItem.setText("Delete"); editMenu.add(deleteMenuItem); preferencesMenuItem = new JMenuItem(); preferencesMenuItem.setText("Preferences"); editMenu.add(preferencesMenuItem); preferencesMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { String[] paths = { "YawlClientApplicationContext.xml" }; ApplicationContext ctx = new ClassPathXmlApplicationContext(paths); YawlClientConfigurationFactory configFactory = (YawlClientConfigurationFactory) ctx.getBean("yawlClientConfigurationFactory"); boolean shouldSave = ConfigurationDialog.showConfigurationDialog(WorkflowEditor.this, configFactory.getConfiguration()); if (shouldSave) { try { configFactory.saveConfiguration(); } catch (IOException e) { JOptionPane.showMessageDialog(null, "Unable to save configuration due to " + e.getMessage() + ".", "Error", JOptionPane.ERROR_MESSAGE); } } } }); ///////////////////////////// // create the monitoring menu monitoringMenu = new JMenu(); monitoringMenu.setText( "Monitoring" ); monitoringMenu.setMnemonic( KeyEvent.VK_M ); instancesMenuItem = new JMenuItem(); instancesMenuItem.setText( "View All Instances" ); instancesMenuItem.setEnabled( false ); monitoringMenu.add( instancesMenuItem ); monitoringMenu.add( new JSeparator() ); scheduledEventsMenuItem = new JMenuItem(); scheduledEventsMenuItem.setText( "Scheduled Events" ); scheduledEventsMenuItem.setEnabled( false ); monitoringMenu.add( scheduledEventsMenuItem ); workflowScheduleMenuItem = new JMenuItem( new AbstractAction() { public void actionPerformed( ActionEvent e ) { WorkflowEditor.this.openSchedulingCalendar(); } } ); workflowScheduleMenuItem.setText( "Workflow Schedule" ); workflowScheduleMenuItem.setEnabled( true ); monitoringMenu.add( workflowScheduleMenuItem ); ///////////////////////// // create the window menu windowMenu = new JMenu(); windowMenu.setText("Window"); windowMenu.setMnemonic( KeyEvent.VK_W ); noWindowOpenItem = new JMenuItem(); noWindowOpenItem.setText("None"); noWindowOpenItem.setEnabled(false); windowMenu.add(noWindowOpenItem); windowItems = new HashMap<CapselaInternalFrame,JMenuItem>(); /////////////////////// // create the help menu helpMenu = new JMenu(); helpMenu.setText("Help"); helpMenu.setMnemonic( KeyEvent.VK_H ); contentsMenuItem = new JMenuItem(); contentsMenuItem.setText("Contents"); helpMenu.add(contentsMenuItem); aboutMenuItem = new JMenuItem(); aboutMenuItem.setText("About"); helpMenu.add(aboutMenuItem); /////////////////////////////// // create and set the main menu menuBar = new JMenuBar(); menuBar.add(fileMenu); menuBar.add(editMenu); menuBar.add(monitoringMenu); menuBar.add(windowMenu); menuBar.add(helpMenu); setJMenuBar(menuBar); //////////////////////////// // create the memory context// SpecificationDAO memdao = DAOFactory.getDAOFactory(DAOFactory.Type.MEMORY).getSpecificationModelDAO(); DAO memdao = DAOFactory.getDAO( PersistenceType.MEMORY ); DataContext memdc = new DataContext(memdao, EditorDataProxy.class); DatasourceRoot virtualRoot = new DatasourceRoot("virtual://memory/home/"); EditorDataProxy memdp = (EditorDataProxy) memdc.createProxy(virtualRoot, null); memdc.attachProxy(memdp, virtualRoot, null); // SharedNode memRootNode = new SharedNode(memdp, o); SharedNode memRootNode = memdp.getTreeNode(); SharedNodeTreeModel memTreeModel = new SharedNodeTreeModel(memRootNode); memRootNode.setTreeModel(memTreeModel); STree memoryComponentListTree = new STree(memTreeModel); memoryComponentListTree.setShowsRootHandles(false); memoryComponentListTree.setRootVisible(true); memoryComponentListTree.setRowHeight(26); ///////////////////////////////////////////////// // create the top component pane (memory context) componentList1Panel = new TreePanel( memoryComponentListTree, true ); ////////////////////////// // create the file context// SpecificationDAO filedao = DAOFactory.getDAOFactory(DAOFactory.Type.FILE).getSpecificationModelDAO(); DAO filedao = DAOFactory.getDAO( PersistenceType.FILE ); DataContext filedc = new DataContext(filedao, EditorDataProxy.class); File fileRootObject= new File( new File(".").getAbsoluteFile().toURI().normalize() ); DatasourceRoot fileRoot = new DatasourceRoot(fileRootObject); EditorDataProxy filedp = (EditorDataProxy) filedc.createProxy(fileRoot, null); filedc.attachProxy(filedp, fileRoot, null); // SharedNode fileRootNode = new SharedNode(filedp, o); SharedNode fileRootNode = filedp.getTreeNode(); SharedNodeTreeModel fileTreeModel = new SharedNodeTreeModel(fileRootNode); fileRootNode.setTreeModel(fileTreeModel); STree fileComponentListTree = new STree(fileTreeModel); fileComponentListTree.setShowsRootHandles(false); fileComponentListTree.setRootVisible(true); fileComponentListTree.setRowHeight(26); ////////////////////////////////////////////////// // create the middle component pane (file context) componentList2Panel = new TreePanel( fileComponentListTree, true ); /////////////////////////////// // create the hibernate context STree hibernateComponentListTree = null; try {// SpecificationDAO hibernatedao = DAOFactory.getDAOFactory(DAOFactory.Type.HIBERNATE).getSpecificationModelDAO(); DAO hibernatedao = DAOFactory.getDAO( PersistenceType.HIBERNATE ); DataContext hibdc = new DataContext(hibernatedao, EditorDataProxy.class); DatasourceRoot hibernateRoot = new DatasourceRoot("hibernate://home/"); EditorDataProxy hibdp = (EditorDataProxy) hibdc.createProxy(hibernateRoot, null); hibdc.attachProxy(hibdp, hibernateRoot, null); // SharedNode hibernateRootNode = new SharedNode(hibdp, o); SharedNode hibernateRootNode = hibdp.getTreeNode(); SharedNodeTreeModel hibernateTreeModel = new SharedNodeTreeModel(hibernateRootNode); hibernateRootNode.setTreeModel(hibernateTreeModel); hibernateComponentListTree = new STree(hibernateTreeModel); hibernateComponentListTree.setShowsRootHandles(false); hibernateComponentListTree.setRootVisible(true); hibernateComponentListTree.setRowHeight(26); } catch( Exception e ) { LOG.error( "Error connecting to database!", e ); hibernateComponentListTree = null; } /////////////////////////////////////////////////////// // create the bottom component pane (hibernate context) if( hibernateComponentListTree != null ) { try { componentList3Panel = new TreePanel( hibernateComponentListTree, true ); } catch( Exception e ) { LOG.error( "Error displaying database component list!", e ); componentList3Panel = null; } } else { componentList3Panel = null; } ////////////////////////////////// // setup the component tree panels componentTreesPanel = new JPanel(); componentTreesPanel.setLayout(new BorderLayout()); // create the top split pane JSplitPane componentTreesTopSplitPane = new JSplitPane(); componentTreesTopSplitPane.setOrientation(JSplitPane.VERTICAL_SPLIT); if( componentList3Panel == null ) { // only 2 panels since not connected to hibernate componentTreesTopSplitPane.setDividerLocation(300); componentTreesTopSplitPane.setTopComponent(componentList1Panel); componentTreesTopSplitPane.setBottomComponent(componentList2Panel); } else { // all 3 panels since we're connected to hibernate JSplitPane componentTreesBottomSplitPane = new JSplitPane(); componentTreesBottomSplitPane.setOrientation(JSplitPane.VERTICAL_SPLIT); componentTreesTopSplitPane.setDividerLocation(200); componentTreesTopSplitPane.setTopComponent(componentList1Panel); componentTreesTopSplitPane.setBottomComponent(componentTreesBottomSplitPane); componentTreesBottomSplitPane.setDividerLocation(200); componentTreesBottomSplitPane.setTopComponent(componentList2Panel); componentTreesBottomSplitPane.setBottomComponent(componentList3Panel); } componentTreesPanel.add(componentTreesTopSplitPane); ////////////////////////// // setup the desktop panel desktopPane = new DesktopPane(); desktopPane.setBackground(new Color(135, 145, 161)); JScrollPane desktopScrollPane = new javax.swing.JScrollPane(); desktopScrollPane.setViewportView(desktopPane); JPanel desktopPanel = new JPanel(); desktopPanel.setLayout(new java.awt.GridLayout(1, 0)); desktopPanel.add(desktopScrollPane); ////////////////////// // setup the log panel CapselaLogPanel logPanel = new CapselaLogPanel(); //////////////////////////////////// // setup the desktop/log split panel JSplitPane desktopLogSplitPane = new JSplitPane(); desktopAndStatusPanel = new javax.swing.JPanel(); desktopAndStatusPanel.setLayout(new java.awt.GridLayout(1, 0)); desktopLogSplitPane.setDividerLocation(480); desktopLogSplitPane.setOrientation(JSplitPane.VERTICAL_SPLIT); desktopLogSplitPane.setRequestFocusEnabled(false); desktopLogSplitPane.setTopComponent(desktopPanel); desktopLogSplitPane.setBottomComponent(logPanel); desktopAndStatusPanel.add(desktopLogSplitPane); //////////////////////////// // setup the main split pane JSplitPane componentEditorSplitPane = new JSplitPane(); componentEditorSplitPane.setDividerLocation(215); componentEditorSplitPane.setLeftComponent(componentTreesPanel); componentEditorSplitPane.setRightComponent(desktopAndStatusPanel); // try {// Command createSpec = new CreateSpecificationCommand( memdp, "testspec" );// executor.executeCommand(createSpec).get();// Set<DataProxy> children = memdc.getChildren( memdp, false );// for( DataProxy child : children ) {// if( child.getData() instanceof YSpecification ) {// Command createNet = new CreateNetCommand( (EditorDataProxy) child, "testnet" );// executor.executeCommand(createNet).get();// Set<DataProxy> subchildren = child.getContext().getChildren( child, false );// for( DataProxy subchild : subchildren ) {// if( subchild.getData() instanceof YNet ) {// Command command = new CreateConditionCommand( (EditorDataProxy) subchild,// CreateConditionCommand.TYPE_INPUT_CONDITION, null);// executor.executeCommand(command).get();// command = new CreateConditionCommand( (EditorDataProxy) subchild,// CreateConditionCommand.TYPE_OUTPUT_CONDITION, null);// executor.executeCommand(command).get();// command = new CreateNexusComponent( (EditorDataProxy) subchild,// "jython", "jython", NexusServiceInfo.getServiceWithName( "Jython" ) );// executor.executeCommand(command).get();// command = new CreateNexusComponent( (EditorDataProxy) subchild,// "email sender", "email_sender", NexusServiceInfo.getServiceWithName( "EmailSender" ) );// executor.executeCommand(command).get();// YNet net = (YNet) subchild.getData();// command = new CreateFlowCommand(// (EditorDataProxy) memdc.getDataProxy( net.getInputCondition(), null ),// (EditorDataProxy) memdc.getDataProxy( net.getNetElement( "jython" ), null ) );// executor.executeCommand(command).get();// command = new CreateFlowCommand(// (EditorDataProxy) memdc.getDataProxy( net.getNetElement( "jython" ), null ),// (EditorDataProxy) memdc.getDataProxy( net.getNetElement( "email_sender" ), null ) );// executor.executeCommand(command).get();// command = new CreateFlowCommand(// (EditorDataProxy) memdc.getDataProxy( net.getNetElement( "email_sender" ), null ),// (EditorDataProxy) memdc.getDataProxy( net.getOutputCondition(), null ) );// executor.executeCommand(command).get();// }// }// }// }// }// catch( Exception e ) {// e.printStackTrace( System.out );// System.out.flush();// } //////////////////////////////////////////////////// // final setup of the main window/setup misc options setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setTitle("NexusWorkflow Process Editor"); setCursor(new Cursor(java.awt.Cursor.DEFAULT_CURSOR)); setForeground(Color.lightGray); setName("NexusWorkflow Process Editor"); this.setIconImage(ApplicationIcon.getIcon("NexusFrame.window_icon", ApplicationIcon.LARGE_SIZE).getImage()); getContentPane().add(componentEditorSplitPane, BorderLayout.CENTER); JmsClient c = new JmsClient(); try { c.start(); c.attachListener(this); } catch(Exception e) { LOG.error(e); } pack(); ///////////////////////// // setup components panel// SpecificationDAO componentsDAO = DAOFactory.getDAOFactory(DAOFactory.Type.MEMORY).getSpecificationModelDAO(); DAO componentsDAO = DAOFactory.getDAO( PersistenceType.MEMORY ); DataContext componentsContext = new DataContext(componentsDAO, EditorDataProxy.class); DatasourceRoot componentsRoot = new DatasourceRoot("virtual://components/"); EditorDataProxy componentsRootProxy = (EditorDataProxy) componentsContext.createProxy(componentsRoot, null); componentsContext.attachProxy(componentsRootProxy, componentsRoot, null); // SharedNode componentsRootNode = new SharedNode(componentsRootProxy, o); SharedNode componentsRootNode = componentsRootProxy.getTreeNode(); SharedNodeTreeModel componentsTreeModel = new SharedNodeTreeModel(componentsRootNode,true); componentsRootNode.setTreeModel(componentsTreeModel); componentsRootNode = setupComponentsList( componentsRootNode ); componentsTreeModel.setRoot( componentsRootNode ); STree componentsListTree = new STree(componentsTreeModel); componentsListTree.setShowsRootHandles(false); componentsListTree.setRootVisible(true); componentsListTree.setRowHeight(26); ///////////////////////// // setup components frame _componentsFrame = new JFrame( "Components" ); _componentsFrame.setIconImage( ApplicationIcon.getIcon( "NexusFrame.window_icon", ApplicationIcon.LARGE_SIZE ).getImage() ); TreePanel componentsTreePanel = new TreePanel( componentsListTree, false ); _componentsFrame.getContentPane().add( componentsTreePanel ); _componentsFrame.setSize( DEFAULT_COMPONENTS_WIDTH, DEFAULT_COMPONENTS_HEIGHT ); _componentsFrame.setDefaultCloseOperation( WindowConstants.DO_NOTHING_ON_CLOSE ); _componentsFrame.setVisible( true ); componentsTreeModel.nodeStructureChanged( componentsRootNode ); }
|
51637 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51637/46c6f6b79e5f0455593cc545608b49a76336a2ec/WorkflowEditor.java/buggy/yawl/editor/com/nexusbpm/editor/WorkflowEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
6459,
2738,
7171,
1435,
95,
202,
46,
3219,
18,
542,
1868,
9794,
1876,
2954,
292,
7859,
690,
12,
3767,
1769,
202,
202,
698,
95,
202,
5370,
1318,
18,
542,
9794,
1876,
2954,
292,
12,
5370,
1318,
18,
588,
3163,
9794,
1876,
2954,
292,
3834,
10663,
202,
97,
14683,
12,
503,
73,
15329,
73,
18,
1188,
6332,
5621,
97,
25494,
19,
27350,
546,
73,
768,
27617,
696,
398,
4599,
33,
2704,
46,
4599,
5621,
768,
4599,
18,
542,
1528,
2932,
812,
8863,
768,
4599,
18,
542,
29668,
20918,
12,
653,
1133,
18,
58,
47,
67,
42,
1769,
3190,
12958,
33,
2704,
46,
12958,
5621,
3190,
12958,
18,
542,
1528,
2932,
3678,
8863,
768,
4599,
18,
1289,
12,
3190,
12958,
1769,
5688,
12958,
33,
2704,
46,
12958,
5621,
5688,
12958,
18,
542,
1528,
2932,
4755,
8863,
768,
4599,
18,
1289,
12,
5688,
12958,
1769,
5688,
1463,
12958,
33,
2704,
46,
12958,
5621,
5688,
1463,
12958,
18,
542,
1528,
2932,
4755,
1463,
7070,
1769,
768,
4599,
18,
1289,
12,
5688,
1463,
12958,
1769,
8593,
12958,
33,
2704,
46,
12958,
5621,
8593,
12958,
18,
542,
1528,
2932,
6767,
8863,
8593,
12958,
18,
1289,
1803,
2223,
12,
2704,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
2223,
1435,
95,
482,
6459,
1128,
13889,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
73,
11734,
15329,
8593,
12958,
19449,
12,
73,
11734,
1769,
9090,
1769,
768,
4599,
18,
1289,
12,
8593,
12958,
1769,
25494,
19,
27350,
546,
73,
4619,
5414,
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,
3238,
6459,
2738,
7171,
1435,
95,
202,
46,
3219,
18,
542,
1868,
9794,
1876,
2954,
292,
7859,
690,
12,
3767,
1769,
202,
202,
698,
95,
202,
5370,
1318,
18,
542,
9794,
1876,
2954,
292,
12,
5370,
1318,
18,
588,
3163,
9794,
1876,
2954,
292,
3834,
10663,
202,
97,
14683,
12,
503,
73,
15329,
73,
18,
1188,
6332,
5621,
97,
25494,
19,
27350,
546,
73,
768,
27617,
696,
398,
4599,
33,
2704,
46,
4599,
5621,
768,
4599,
18,
542,
1528,
2932,
812,
8863,
768,
4599,
18,
542,
29668,
20918,
12,
653,
1133,
18,
58,
47,
67,
42,
1769,
3190,
12958,
33,
2704,
46,
12958,
5621,
3190,
12958,
18,
542,
1528,
2932,
3678,
8863,
768,
4599,
18,
1289,
12,
3190,
12958,
2
] |
||
public ViewContentProvider(boolean filtering) { super(filtering);
|
public ViewContentProvider() {
|
public ViewContentProvider(boolean filtering) { super(filtering); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/d2876832fb7caf2d61cdf705a6c8f51e1a12fc7f/ViewContentProvider.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewContentProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4441,
1350,
2249,
12,
6494,
11346,
13,
288,
202,
202,
9565,
12,
2188,
310,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4441,
1350,
2249,
12,
6494,
11346,
13,
288,
202,
202,
9565,
12,
2188,
310,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
run("./Array1.x10","Array1","./Constructs/Array"); }
|
runHelper(); }
|
public void test_Constructs_Array_Array1() { run("./Array1.x10","Array1","./Constructs/Array"); }
|
1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/3bd1027a0e8a0edbdacb19b952cc4296d36760df/TestCompiler.java/clean/x10.test/src/polyglot/ext/x10/tests/TestCompiler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
67,
13262,
67,
1076,
67,
1076,
21,
1435,
288,
3639,
1086,
2932,
18,
19,
1076,
21,
18,
92,
2163,
15937,
1076,
21,
3113,
9654,
19,
13262,
19,
1076,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
918,
1842,
67,
13262,
67,
1076,
67,
1076,
21,
1435,
288,
3639,
1086,
2932,
18,
19,
1076,
21,
18,
92,
2163,
15937,
1076,
21,
3113,
9654,
19,
13262,
19,
1076,
8863,
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
] |
int intValue = ( (BigDecimal) source ).intValue( );
|
int intValue = ( (Number) source ).intValue( );
|
public static Integer toInteger( Object source ) throws BirtException { if ( source == null ) return null; if ( source instanceof Integer ) { return (Integer) source; } else if ( source instanceof BigDecimal ) { int intValue = ( (BigDecimal) source ).intValue( ); return new Integer( intValue ); } else if ( source instanceof Boolean ) { if ( true == ( (Boolean) source ).booleanValue( ) ) return new Integer( 1 ); return new Integer( 0 ); } else if ( source instanceof Date ) { long longValue = ( (Date) source ).getTime( ); return new Integer( (int) longValue ); } else if ( source instanceof Double ) { int intValue = ( (Double) source ).intValue( ); return new Integer( intValue ); } else if ( source instanceof String ) { try { return new Integer(Double.valueOf((String) source).intValue()); } catch ( NumberFormatException e ) { throw new BirtException( pluginId, ResourceConstants.CONVERT_FAILS, new Object[]{ source.toString( ), "Integer" }, resourceBundle ); } } else { throw new BirtException( pluginId, ResourceConstants.CONVERT_FAILS, new Object[]{ source.toString( ), "Integer" }, resourceBundle ); } }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/9851e5feb291170ea121e602b295bbaf81179a7d/DataTypeUtil.java/clean/core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
2144,
358,
4522,
12,
1033,
1084,
262,
1216,
605,
2714,
503,
202,
95,
202,
202,
430,
261,
1084,
422,
446,
262,
1082,
202,
2463,
446,
31,
9506,
202,
430,
261,
1084,
1276,
2144,
262,
202,
202,
95,
1082,
202,
2463,
261,
4522,
13,
1084,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
1084,
1276,
8150,
262,
202,
202,
95,
1082,
202,
474,
9307,
273,
261,
261,
29436,
13,
1084,
262,
18,
474,
620,
12,
11272,
1082,
202,
2463,
394,
2144,
12,
9307,
11272,
202,
202,
97,
202,
202,
12107,
309,
261,
1084,
1276,
3411,
262,
202,
202,
95,
1082,
202,
430,
261,
638,
422,
261,
261,
5507,
13,
1084,
262,
18,
6494,
620,
12,
262,
262,
9506,
202,
2463,
394,
2144,
12,
404,
11272,
1082,
202,
2463,
394,
2144,
12,
374,
11272,
202,
202,
97,
202,
202,
12107,
309,
261,
1084,
1276,
2167,
262,
202,
202,
95,
1082,
202,
5748,
15904,
273,
261,
261,
1626,
13,
1084,
262,
18,
588,
950,
12,
11272,
1082,
202,
2463,
394,
2144,
12,
261,
474,
13,
15904,
11272,
202,
202,
97,
202,
202,
12107,
309,
261,
1084,
1276,
3698,
262,
202,
202,
95,
1082,
202,
474,
9307,
273,
261,
261,
5265,
13,
1084,
262,
18,
474,
620,
12,
11272,
1082,
202,
2463,
394,
2144,
12,
9307,
11272,
202,
202,
97,
202,
202,
12107,
309,
261,
1084,
1276,
514,
262,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
2463,
394,
2144,
12,
5265,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
2144,
358,
4522,
12,
1033,
1084,
262,
1216,
605,
2714,
503,
202,
95,
202,
202,
430,
261,
1084,
422,
446,
262,
1082,
202,
2463,
446,
31,
9506,
202,
430,
261,
1084,
1276,
2144,
262,
202,
202,
95,
1082,
202,
2463,
261,
4522,
13,
1084,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
1084,
1276,
8150,
262,
202,
202,
95,
1082,
202,
474,
9307,
273,
261,
261,
29436,
13,
1084,
262,
18,
474,
620,
12,
11272,
1082,
202,
2463,
394,
2144,
12,
9307,
11272,
202,
202,
97,
202,
202,
12107,
309,
261,
1084,
1276,
3411,
262,
202,
202,
95,
1082,
202,
430,
261,
638,
422,
261,
261,
5507,
13,
1084,
262,
18,
6494,
620,
12,
2
] |
if (policy.secureMethod == policy.ENCRYPT || policy.secureMethod == policy.SIGNENCRYPT) {
|
if (policy.secureMethod == SecureMethodParam.ENCRYPT || policy.secureMethod == SecureMethodParam.SIGNENCRYPT) {
|
public ProtectedMessageOutputStream(OutputStream stream, MessageAddress source, MessageAddress target, boolean encryptedSocket, boolean criticalPLevelMsg, ServiceBroker sb) throws GeneralSecurityException, IOException { super(stream); init(sb); if (_log.isInfoEnabled()) { _log.info("Sending Message: " + source + " -> " + target); } _source = source.toAddress(); _target = target.toAddress(); SecureMethodParam policy = _cps.getSendPolicy(_source, _target); // secret key encrypted by sender or receiver's certificate byte[] senderSecret = null; byte[] receiverSecret = null; if (policy == null) { dropMessage(); throw new IOException("This message was denied by policy. " + "There are no possible encryption algorithms " + "to send it."); } getCertificates(policy); SecretKey secret = null; if (_log.isDebugEnabled()) { _log.debug("Policy = " + policy); } policy = modifyPolicy(policy, encryptedSocket, criticalPLevelMsg); if (_log.isDebugEnabled()) { _log.debug("Modified policy = " + policy); } if (policy.secureMethod == policy.ENCRYPT || policy.secureMethod == policy.SIGNENCRYPT) { _encrypt = true; // first encrypt the secret key with the target's public key secret = _crypto.createSecretKey(policy.symmSpec); try { senderSecret = _crypto.encryptSecretKey(policy.asymmSpec, secret, _sourceCert); receiverSecret = _crypto.encryptSecretKey(policy.asymmSpec, secret, _targetCert); } catch (GeneralSecurityException e) { _log.error("Could not encrypt secret key. This message will not " + "go out properly! -- we'll retry later", e); throw new IOException(e.getMessage()); } } X509Certificate [] sourceChain = null; if (policy.secureMethod == policy.SIGNENCRYPT || policy.secureMethod == policy.SIGN) { _sign = true; } if ((_sign || _encrypt) && _sourceCert != null) { sourceChain = _keyRing.buildCertificateChain(_sourceCert); } ProtectedMessageHeader header = new ProtectedMessageHeader(sourceChain, _targetCert, policy, receiverSecret, senderSecret); if (_log.isDebugEnabled()) { _log.debug("Sending " + header); } ByteArrayOutputStream headerBytes = writeHeader(header); if (_encrypt) { _symmSpec = policy.symmSpec; _cipher = _crypto.getCipher(policy.symmSpec); _cipher.init(Cipher.ENCRYPT_MODE, secret); _cipherOut = new OnTopCipherOutputStream(this.out, _cipher); this.out = _cipherOut; } if (_sign) { if (_log.isInfoEnabled()) { _log.info("Still signing (" + _source + " -> " + _target + ") encrypted socket = " + encryptedSocket); } PrivateKey privateKey = getPrivateKey(_sourceCert); _signature = new SignatureOutputStream(this.out, policy.signSpec, privateKey); this.out = _signature; MessageDigest md = getMessageDigest(policy.signSpec); DigestOutputStream dout = new DigestOutputStream(new NullOutputStream(), md); headerBytes.writeTo(dout); dout.close(); write(md.digest()); } if (DUMP_MESSAGES) { String filename = getDumpFilename(); if (_log.isDebugEnabled()) { _log.debug("Dumping message content to file " + filename); } this.out = new DumpOutputStream(this.out, filename); } if (_log.isDebugEnabled()) { _log.debug("Stream from " + source + " to " + target + " ready!"); } }
|
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/95ab7466f93a1698703219144f652cab9ff3c854/ProtectedMessageOutputStream.java/buggy/securityservices/src/org/cougaar/core/security/crypto/ProtectedMessageOutputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1186,
1050,
1079,
4632,
12,
4632,
1407,
16,
4766,
1377,
2350,
1887,
1084,
16,
4766,
1377,
2350,
1887,
1018,
16,
4766,
1377,
1250,
6901,
4534,
16,
4766,
1377,
1250,
11239,
52,
2355,
3332,
16,
4766,
1377,
1956,
11194,
2393,
13,
377,
1216,
9544,
24918,
16,
1860,
288,
565,
2240,
12,
3256,
1769,
565,
1208,
12,
18366,
1769,
565,
309,
261,
67,
1330,
18,
291,
966,
1526,
10756,
288,
1377,
389,
1330,
18,
1376,
2932,
16322,
2350,
30,
315,
397,
1084,
397,
315,
317,
315,
397,
1018,
1769,
565,
289,
565,
389,
3168,
273,
1084,
18,
869,
1887,
5621,
565,
389,
3299,
273,
1018,
18,
869,
1887,
5621,
565,
15653,
1305,
786,
3329,
273,
389,
71,
1121,
18,
588,
3826,
2582,
24899,
3168,
16,
389,
3299,
1769,
565,
368,
4001,
498,
6901,
635,
5793,
578,
5971,
1807,
4944,
565,
1160,
8526,
5793,
5207,
282,
273,
446,
31,
565,
1160,
8526,
5971,
5207,
273,
446,
31,
565,
309,
261,
5086,
422,
446,
13,
288,
1377,
3640,
1079,
5621,
1377,
604,
394,
1860,
2932,
2503,
883,
1703,
15338,
635,
3329,
18,
315,
397,
18701,
315,
9828,
854,
1158,
3323,
8731,
20032,
315,
397,
18701,
315,
869,
1366,
518,
1199,
1769,
565,
289,
565,
1927,
7696,
12,
5086,
1769,
565,
19391,
4001,
273,
446,
31,
565,
309,
261,
67,
1330,
18,
291,
2829,
1526,
10756,
288,
1377,
389,
1330,
18,
4148,
2932,
2582,
273,
315,
397,
3329,
1769,
565,
289,
565,
3329,
273,
5612,
2582,
12,
5086,
16,
6901,
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,
1186,
1050,
1079,
4632,
12,
4632,
1407,
16,
4766,
1377,
2350,
1887,
1084,
16,
4766,
1377,
2350,
1887,
1018,
16,
4766,
1377,
1250,
6901,
4534,
16,
4766,
1377,
1250,
11239,
52,
2355,
3332,
16,
4766,
1377,
1956,
11194,
2393,
13,
377,
1216,
9544,
24918,
16,
1860,
288,
565,
2240,
12,
3256,
1769,
565,
1208,
12,
18366,
1769,
565,
309,
261,
67,
1330,
18,
291,
966,
1526,
10756,
288,
1377,
389,
1330,
18,
1376,
2932,
16322,
2350,
30,
315,
397,
1084,
397,
315,
317,
315,
397,
1018,
1769,
565,
289,
565,
389,
3168,
273,
1084,
18,
869,
1887,
5621,
565,
389,
3299,
273,
1018,
18,
869,
1887,
5621,
565,
15653,
1305,
786,
3329,
273,
389,
71,
1121,
18,
2
] |
if (isTimeSet == false) {
|
if (!isTimeSet) {
|
protected long getTimeInMillis(){ if (isTimeSet == false) { computeTime(); } return (time);}
|
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/86851d2ae0afc23f99aabd9afde1904686f08b67/Calendar.java/clean/libraries/javalib/java/util/Calendar.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
1525,
6135,
16620,
1435,
95,
202,
430,
261,
291,
950,
694,
422,
629,
13,
288,
202,
202,
9200,
950,
5621,
202,
97,
202,
2463,
261,
957,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
1525,
6135,
16620,
1435,
95,
202,
430,
261,
291,
950,
694,
422,
629,
13,
288,
202,
202,
9200,
950,
5621,
202,
97,
202,
2463,
261,
957,
1769,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
IPath path = folders[i].getLocation().append( fileName ); File file = new File( path.toOSString() ); if ( file.exists() ) { IFile[] wsFiles = CDebugCorePlugin.getWorkspace().getRoot().findFilesForLocation( path ); for ( int j = 0; j < wsFiles.length; ++j ) if ( wsFiles[j].exists() ) { if ( !searchForDuplicateFiles() ) return wsFiles[j]; list.add( wsFiles[j] ); }
|
IPath path = folders[i].getLocation(); if ( path != null ) { path = path.append( fileName ); File file = new File( path.toOSString() ); if ( file.exists() ) { IFile[] wsFiles = CDebugCorePlugin.getWorkspace().getRoot().findFilesForLocation( path ); for ( int j = 0; j < wsFiles.length; ++j ) if ( wsFiles[j].exists() ) { if ( !searchForDuplicateFiles() ) return wsFiles[j]; list.add( wsFiles[j] ); } }
|
private Object findFileByRelativePath( String fileName ) { IResource[] folders = getFolders(); LinkedList list = new LinkedList(); for ( int i = 0; i < folders.length; ++i ) { if ( list.size() > 0 && !searchForDuplicateFiles() ) break; IPath path = folders[i].getLocation().append( fileName ); File file = new File( path.toOSString() ); if ( file.exists() ) { IFile[] wsFiles = CDebugCorePlugin.getWorkspace().getRoot().findFilesForLocation( path ); for ( int j = 0; j < wsFiles.length; ++j ) if ( wsFiles[j].exists() ) { if ( !searchForDuplicateFiles() ) return wsFiles[j]; list.add( wsFiles[j] ); } } } return ( list.size() > 0 ) ? ( ( list.size() == 1 ) ? list.getFirst() : list ) : null; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/1a8eee1a134b1eaa2da56eeba027acac6f27d691/CProjectSourceLocation.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/CProjectSourceLocation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1033,
1104,
812,
858,
16519,
12,
514,
3968,
262,
202,
95,
202,
202,
45,
1420,
8526,
9907,
273,
2812,
4665,
5621,
202,
202,
13174,
682,
666,
273,
394,
10688,
5621,
202,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
9907,
18,
2469,
31,
965,
77,
262,
202,
202,
95,
1082,
202,
430,
261,
666,
18,
1467,
1435,
405,
374,
597,
401,
3072,
1290,
11826,
2697,
1435,
262,
9506,
202,
8820,
31,
1082,
202,
45,
743,
589,
273,
9907,
63,
77,
8009,
588,
2735,
7675,
6923,
12,
3968,
11272,
1082,
202,
812,
585,
273,
394,
1387,
12,
589,
18,
869,
4618,
780,
1435,
11272,
1082,
202,
430,
261,
585,
18,
1808,
1435,
262,
1082,
202,
95,
9506,
202,
45,
812,
8526,
4945,
2697,
273,
385,
2829,
4670,
3773,
18,
588,
8241,
7675,
588,
2375,
7675,
4720,
2697,
1290,
2735,
12,
589,
11272,
9506,
202,
1884,
261,
509,
525,
273,
374,
31,
525,
411,
4945,
2697,
18,
2469,
31,
965,
78,
262,
6862,
202,
430,
261,
4945,
2697,
63,
78,
8009,
1808,
1435,
262,
6862,
202,
95,
25083,
202,
430,
261,
401,
3072,
1290,
11826,
2697,
1435,
262,
6862,
1082,
202,
2463,
4945,
2697,
63,
78,
15533,
25083,
202,
1098,
18,
1289,
12,
4945,
2697,
63,
78,
65,
11272,
6862,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
261,
666,
18,
1467,
1435,
405,
374,
262,
692,
261,
261,
666,
18,
1467,
1435,
422,
404,
262,
692,
666,
18,
588,
3759,
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,
1033,
1104,
812,
858,
16519,
12,
514,
3968,
262,
202,
95,
202,
202,
45,
1420,
8526,
9907,
273,
2812,
4665,
5621,
202,
202,
13174,
682,
666,
273,
394,
10688,
5621,
202,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
9907,
18,
2469,
31,
965,
77,
262,
202,
202,
95,
1082,
202,
430,
261,
666,
18,
1467,
1435,
405,
374,
597,
401,
3072,
1290,
11826,
2697,
1435,
262,
9506,
202,
8820,
31,
1082,
202,
45,
743,
589,
273,
9907,
63,
77,
8009,
588,
2735,
7675,
6923,
12,
3968,
11272,
1082,
202,
812,
585,
273,
394,
1387,
12,
589,
18,
869,
4618,
780,
1435,
11272,
1082,
202,
430,
261,
585,
18,
1808,
1435,
262,
1082,
202,
2
] |
return Double.toString ((double) f, true);
|
return toString (value);
|
public static String toString (float f) { return Double.toString ((double) f, true); }
|
45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/9e55cc17c514e90df7d264f9fe0dd7b35dec9b46/Float.java/buggy/libjava/java/lang/Float.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
1762,
261,
5659,
284,
13,
225,
288,
565,
327,
1762,
261,
1132,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
1762,
261,
5659,
284,
13,
225,
288,
565,
327,
1762,
261,
1132,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new BlobImpl(in);
|
return new BlobImpl(callerReference, in);
|
static Object readData(ResponseStream in, ColInfo ci, boolean readTextMode) throws IOException, ProtocolException { int len; switch (ci.tdsType) { case SYBINTN: switch (in.read()) { case 1: return new Byte((byte) in.read()); case 2: return new Short((short) in.readShort()); case 4: return new Integer(in.readInt()); case 8: return new Long(in.readLong()); } break; case SYBINT1: return new Byte((byte) in.read()); case SYBINT2: return new Short((short) in.readShort()); case SYBINT4: return new Integer(in.readInt()); case SYBINT8: return new Long(in.readLong()); case SYBIMAGE: len = in.read(); if (len > 0) { return new BlobImpl(in); } break; case SYBTEXT: len = in.read(); if (len > 0) { return new ClobImpl(in, false, readTextMode); } break; case SYBNTEXT: len = in.read(); if (len > 0) { return new ClobImpl(in, true, readTextMode); } break; case SYBCHAR: case SYBVARCHAR: len = in.read(); if (len == 1 && in.getTdsVersion() < TdsCore.TDS70) { // In TDS 4/5 zero length strings are stored as a single space // to distinguish them from nulls. String value = in.readAsciiString(len); return (value.equals(" ")) ? "" : value; } if (len > 0) { return in.readAsciiString(len); } break; case SYBNVARCHAR: len = in.read(); if (len > 0) { return in.readString(len / 2); } break; case XSYBCHAR: case XSYBVARCHAR: len = in.readShort(); if (len != -1) { return in.readAsciiString(len); } break; case XSYBNCHAR: case XSYBNVARCHAR: len = in.readShort(); if (len != -1) { return in.readString(len / 2); } break; case SYBVARBINARY: case SYBBINARY: len = in.read(); if (len > 0) { byte[] bytes = new byte[len]; in.read(bytes); return bytes; } break; case XSYBVARBINARY: case XSYBBINARY: len = in.readShort(); if (len != -1) { byte[] bytes = new byte[len]; in.read(bytes); return bytes; } break; case SYBMONEY4: case SYBMONEY: case SYBMONEYN: return getMoneyValue(in, ci.tdsType); case SYBDATETIME4: case SYBDATETIMN: case SYBDATETIME: return getDatetimeValue(in, ci.tdsType); case SYBBIT: return (in.read() != 0) ? Boolean.TRUE : Boolean.FALSE; case SYBBITN: len = in.read(); if (len > 0) { return (in.read() != 0) ? Boolean.TRUE : Boolean.FALSE; } break; case SYBREAL: return new Float(Float.intBitsToFloat(in.readInt())); case SYBFLT8: return new Double(Double.longBitsToDouble(in.readLong())); case SYBFLTN: len = in.read(); if (len == 4) { return new Float(Float.intBitsToFloat(in.readInt())); } else if (len == 8) { return new Double(Double.longBitsToDouble(in.readLong())); } break; case SYBUNIQUE: len = in.read(); if (len > 0) { byte[] bytes = new byte[len]; in.read(bytes); return new UniqueIdentifier(bytes); } break; case SYBNUMERIC: case SYBDECIMAL: len = in.read(); if (len > 0) { int sign = in.read(); len--; byte[] bytes = new byte[len]; BigInteger bi; if (in.getServerType() == TdsCore.SYBASE) { // Sybase order is MSB first! for (int i = 0; i < len; i++) { bytes[i] = (byte) in.read(); } bi = new BigInteger((sign == 0) ? 1 : -1, bytes); } else { while (len-- > 0) { bytes[len] = (byte)in.read(); } bi = new BigInteger((sign == 0) ? -1 : 1, bytes); } return new BigDecimal(bi, ci.scale); } break; case SYBVARIANT: return getVariant(in); default: throw new ProtocolException("Unsupported TDS data type 0x" + Integer.toHexString(ci.tdsType)); } return null; }
|
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/56e9068ec616c6c95052dc39dce12c98471a778c/TdsData.java/clean/src/main/net/sourceforge/jtds/jdbc/TdsData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
20913,
12,
1064,
1228,
316,
16,
1558,
966,
9039,
16,
1250,
855,
1528,
2309,
13,
565,
1216,
1860,
16,
4547,
503,
288,
3639,
509,
562,
31,
3639,
1620,
261,
8450,
18,
88,
2377,
559,
13,
288,
5411,
648,
7068,
38,
3217,
50,
30,
7734,
1620,
261,
267,
18,
896,
10756,
288,
10792,
648,
404,
30,
13491,
327,
394,
3506,
12443,
7229,
13,
316,
18,
896,
10663,
10792,
648,
576,
30,
13491,
327,
394,
7925,
12443,
6620,
13,
316,
18,
896,
4897,
10663,
10792,
648,
1059,
30,
13491,
327,
394,
2144,
12,
267,
18,
896,
1702,
10663,
10792,
648,
1725,
30,
13491,
327,
394,
3407,
12,
267,
18,
896,
3708,
10663,
7734,
289,
7734,
898,
31,
5411,
648,
7068,
38,
3217,
21,
30,
7734,
327,
394,
3506,
12443,
7229,
13,
316,
18,
896,
10663,
5411,
648,
7068,
38,
3217,
22,
30,
7734,
327,
394,
7925,
12443,
6620,
13,
316,
18,
896,
4897,
10663,
5411,
648,
7068,
38,
3217,
24,
30,
7734,
327,
394,
2144,
12,
267,
18,
896,
1702,
10663,
5411,
648,
7068,
38,
3217,
28,
30,
7734,
327,
394,
3407,
12,
267,
18,
896,
3708,
10663,
5411,
648,
7068,
38,
13603,
30,
7734,
562,
273,
316,
18,
896,
5621,
7734,
309,
261,
1897,
405,
374,
13,
288,
1171,
202,
2463,
394,
12741,
2828,
12,
16140,
2404,
16,
316,
1769,
7734,
289,
7734,
898,
31,
5411,
648,
7068,
38,
5151,
30,
7734,
562,
273,
316,
18,
896,
5621,
7734,
309,
261,
1897,
405,
374,
13,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
20913,
12,
1064,
1228,
316,
16,
1558,
966,
9039,
16,
1250,
855,
1528,
2309,
13,
565,
1216,
1860,
16,
4547,
503,
288,
3639,
509,
562,
31,
3639,
1620,
261,
8450,
18,
88,
2377,
559,
13,
288,
5411,
648,
7068,
38,
3217,
50,
30,
7734,
1620,
261,
267,
18,
896,
10756,
288,
10792,
648,
404,
30,
13491,
327,
394,
3506,
12443,
7229,
13,
316,
18,
896,
10663,
10792,
648,
576,
30,
13491,
327,
394,
7925,
12443,
6620,
13,
316,
18,
896,
4897,
10663,
10792,
648,
1059,
30,
13491,
327,
394,
2144,
12,
267,
18,
896,
1702,
10663,
10792,
648,
1725,
30,
13491,
327,
394,
3407,
12,
267,
18,
896,
3708,
10663,
7734,
289,
7734,
898,
31,
5411,
2
] |
public Double getCredits() { double credits = getMasterDegreeServiceCredits(); credits += getTeachingDegreeCredits(); //credits += getPastServiceCredits(); credits += getOtherServiceCredits(); credits += getTeacherAdviseServiceCredits(); return round(credits); }
|
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/d32c08f294ac2c3f8a390e1158cdb2e6ba43cafa/TeacherService.java/buggy/src/net/sourceforge/fenixedu/domain/teacher/TeacherService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3698,
1927,
1118,
1282,
1435,
288,
3639,
1645,
6197,
1282,
273,
27607,
22885,
1179,
24201,
1282,
5621,
3639,
6197,
1282,
1011,
3181,
13798,
310,
22885,
24201,
1282,
5621,
3639,
368,
20610,
1282,
1011,
1689,
689,
1179,
24201,
1282,
5621,
3639,
6197,
1282,
1011,
28989,
1179,
24201,
1282,
5621,
3639,
6197,
1282,
1011,
3181,
13798,
264,
28915,
784,
1179,
24201,
1282,
5621,
3639,
327,
3643,
12,
20610,
1282,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1071,
3698,
1927,
1118,
1282,
1435,
288,
3639,
1645,
6197,
1282,
273,
27607,
22885,
1179,
24201,
1282,
5621,
3639,
6197,
1282,
1011,
3181,
13798,
310,
22885,
24201,
1282,
5621,
3639,
368,
20610,
1282,
1011,
1689,
689,
1179,
24201,
1282,
5621,
3639,
6197,
1282,
1011,
28989,
1179,
24201,
1282,
5621,
3639,
6197,
1282,
1011,
3181,
13798,
264,
28915,
784,
1179,
24201,
1282,
5621,
3639,
327,
3643,
12,
20610,
1282,
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
] |
||
private void displayBinding() {
|
private void displayBinding() {
|
private void displayBinding() { out.println("Avaialble variables in the current binding"); Binding context = shell.getContext(); Map variables = context.getVariables(); Set set = variables.keySet(); if (set.isEmpty()) { out.println("The current binding is empty."); } else { for (Iterator it = set.iterator(); it.hasNext();) { String key = (String)it.next(); out.println(key + " = " + variables.get(key)); } } }
|
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/f8e7058e4da417dc2b5f0c3c1fab691b7c1e11d4/InteractiveShell.java/clean/src/main/groovy/ui/InteractiveShell.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2562,
5250,
1435,
565,
288,
3639,
596,
18,
8222,
2932,
3769,
69,
649,
7119,
3152,
316,
326,
783,
5085,
8863,
3639,
15689,
819,
273,
5972,
18,
29120,
5621,
3639,
1635,
3152,
273,
819,
18,
588,
6158,
5621,
3639,
1000,
444,
273,
3152,
18,
856,
694,
5621,
3639,
309,
261,
542,
18,
291,
1921,
10756,
3639,
288,
5411,
596,
18,
8222,
2932,
1986,
783,
5085,
353,
1008,
1199,
1769,
3639,
289,
3639,
469,
3639,
288,
5411,
364,
261,
3198,
518,
273,
444,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
5411,
288,
7734,
514,
498,
273,
261,
780,
13,
305,
18,
4285,
5621,
7734,
596,
18,
8222,
12,
856,
397,
315,
273,
315,
397,
3152,
18,
588,
12,
856,
10019,
5411,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2562,
5250,
1435,
565,
288,
3639,
596,
18,
8222,
2932,
3769,
69,
649,
7119,
3152,
316,
326,
783,
5085,
8863,
3639,
15689,
819,
273,
5972,
18,
29120,
5621,
3639,
1635,
3152,
273,
819,
18,
588,
6158,
5621,
3639,
1000,
444,
273,
3152,
18,
856,
694,
5621,
3639,
309,
261,
542,
18,
291,
1921,
10756,
3639,
288,
5411,
596,
18,
8222,
2932,
1986,
783,
5085,
353,
1008,
1199,
1769,
3639,
289,
3639,
469,
3639,
288,
5411,
364,
261,
3198,
518,
273,
444,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
5411,
288,
7734,
514,
498,
273,
261,
780,
13,
305,
18,
4285,
5621,
7734,
596,
18,
8222,
12,
856,
397,
315,
273,
315,
397,
3152,
18,
2
] |
final BaseInspectionVisitor visitor = createVisitor(mgr, isOnTheFly);
|
final BaseInspectionVisitor visitor = createVisitor(manager, isOnTheFly);
|
public ProblemDescriptor[] doCheckMethod(PsiMethod method, InspectionManager mgr, boolean isOnTheFly) { final PsiClass containingClass = method.getContainingClass(); if (containingClass == null) { return super.doCheckMethod(method, mgr, isOnTheFly); } if (!containingClass.isPhysical()) { return super.doCheckMethod(method, mgr, isOnTheFly); } final BaseInspectionVisitor visitor = createVisitor(mgr, isOnTheFly); method.accept(visitor); return visitor.getErrors(); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/bd57f07c33c419f20715b114b71a7e93425b34c9/LocalVariableNamingConventionInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/naming/LocalVariableNamingConventionInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
21685,
3187,
8526,
741,
1564,
1305,
12,
52,
7722,
1305,
707,
16,
22085,
7017,
1318,
13333,
16,
1250,
28181,
1986,
42,
715,
13,
288,
3639,
727,
453,
7722,
797,
4191,
797,
273,
707,
18,
588,
24344,
797,
5621,
3639,
309,
261,
1213,
3280,
797,
422,
446,
13,
288,
5411,
327,
2240,
18,
2896,
1564,
1305,
12,
2039,
16,
13333,
16,
28181,
1986,
42,
715,
1769,
3639,
289,
3639,
309,
16051,
1213,
3280,
797,
18,
291,
18136,
10756,
288,
5411,
327,
2240,
18,
2896,
1564,
1305,
12,
2039,
16,
13333,
16,
28181,
1986,
42,
715,
1769,
3639,
289,
3639,
727,
3360,
14985,
7413,
8000,
273,
752,
7413,
12,
4181,
16,
28181,
1986,
42,
715,
1769,
3639,
707,
18,
9436,
12,
3516,
1811,
1769,
3639,
327,
8000,
18,
588,
4229,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
21685,
3187,
8526,
741,
1564,
1305,
12,
52,
7722,
1305,
707,
16,
22085,
7017,
1318,
13333,
16,
1250,
28181,
1986,
42,
715,
13,
288,
3639,
727,
453,
7722,
797,
4191,
797,
273,
707,
18,
588,
24344,
797,
5621,
3639,
309,
261,
1213,
3280,
797,
422,
446,
13,
288,
5411,
327,
2240,
18,
2896,
1564,
1305,
12,
2039,
16,
13333,
16,
28181,
1986,
42,
715,
1769,
3639,
289,
3639,
309,
16051,
1213,
3280,
797,
18,
291,
18136,
10756,
288,
5411,
327,
2240,
18,
2896,
1564,
1305,
12,
2039,
16,
13333,
16,
28181,
1986,
42,
715,
1769,
3639,
289,
3639,
727,
3360,
14985,
7413,
8000,
273,
752,
7413,
12,
4181,
16,
28181,
1986,
42,
715,
1769,
3639,
707,
18,
2
] |
public static String getKind(File file) { String name = file.getName(); int dotIndex = name.lastIndexOf("."); String extension = null; if (dotIndex > 0) { extension = name.substring(dotIndex + 1, name.length()); } if (extension.equalsIgnoreCase("odf")) { OdfParser parser = new OdfParser(); OdfHandler handler = new OdfHandler(); FileInputStream fis = null; parser.setHandler(handler); try { fis = new FileInputStream(file); parser.parse(fis); } catch (Exception e) { } finally { try { if (fis != null) { fis.close(); } } catch (IOException x) { } } return handler.model; } else { return extension.toLowerCase(); } }
|
57344 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57344/0161c60988acd0837b7392536c3eb6d76fbbefc9/SemanticUtil.java/buggy/src/org/genepattern/util/SemanticUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
780,
588,
5677,
12,
812,
768,
15329,
780,
529,
33,
768,
18,
17994,
5621,
474,
9811,
1016,
33,
529,
18,
2722,
31985,
2932,
1199,
1769,
780,
6447,
33,
2011,
31,
430,
12,
9811,
1016,
34,
20,
15329,
6447,
33,
529,
18,
28023,
12,
9811,
1016,
15,
21,
16,
529,
18,
2469,
10663,
97,
430,
12,
6447,
18,
14963,
5556,
2932,
369,
74,
6,
3719,
95,
51,
2180,
2678,
4288,
33,
2704,
51,
2180,
2678,
5621,
51,
2180,
1503,
4176,
33,
2704,
51,
2180,
1503,
5621,
812,
4348,
74,
291,
33,
2011,
31,
4288,
18,
542,
1503,
12,
4176,
1769,
698,
95,
74,
291,
33,
2704,
812,
4348,
12,
768,
1769,
4288,
18,
2670,
12,
74,
291,
1769,
97,
14683,
12,
503,
73,
13,
2916,
23417,
95,
698,
95,
430,
12,
74,
291,
5,
33,
2011,
15329,
74,
291,
18,
4412,
5621,
9090,
14683,
12,
14106,
92,
13,
2916,
97,
2463,
4176,
18,
2284,
31,
97,
12107,
95,
2463,
6447,
18,
869,
5630,
5621,
9090,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
780,
588,
5677,
12,
812,
768,
15329,
780,
529,
33,
768,
18,
17994,
5621,
474,
9811,
1016,
33,
529,
18,
2722,
31985,
2932,
1199,
1769,
780,
6447,
33,
2011,
31,
430,
12,
9811,
1016,
34,
20,
15329,
6447,
33,
529,
18,
28023,
12,
9811,
1016,
15,
21,
16,
529,
18,
2469,
10663,
97,
430,
12,
6447,
18,
14963,
5556,
2932,
369,
74,
6,
3719,
95,
51,
2180,
2678,
4288,
33,
2704,
51,
2180,
2678,
5621,
51,
2180,
1503,
4176,
33,
2704,
51,
2180,
1503,
5621,
812,
4348,
74,
291,
33,
2011,
31,
4288,
18,
542,
1503,
12,
4176,
1769,
698,
95,
74,
291,
33,
2704,
812,
4348,
12,
768,
1769,
4288,
18,
2670,
12,
74,
291,
1769,
2
] |
||
final PsiJavaToken sign = expression.getOperationSign(); if (sign == null) { return; }
|
public void visitBinaryExpression(PsiBinaryExpression expression) { super.visitBinaryExpression(expression); final PsiType expressionType = expression.getType(); if (expressionType == null) { return; } final PsiJavaToken sign = expression.getOperationSign(); if (sign == null) { return; } final PsiExpression rhs = expression.getROperand(); if (rhs == null) { return; } final PsiType rhsType = rhs.getType(); if (rhsType == null) { return; } if (rhsType.equals(PsiType.BOOLEAN) || "java.lang.Boolean".equals(rhsType.getCanonicalText())) { return; } final PsiExpression lhs = expression.getLOperand(); if (lhs == null) { return; } final PsiType lhsType = lhs.getType(); if (lhsType == null) { return; } if (lhsType.equals(PsiType.BOOLEAN) || "java.lang.Boolean".equals(lhsType.getCanonicalText())) { return; } final IElementType tokenType = sign.getTokenType(); final boolean isPointless; if (tokenType.equals(JavaTokenType.AND)) { isPointless = andExpressionIsPointless(lhs, rhs, expressionType); } else if (tokenType.equals(JavaTokenType.OR)) { isPointless = orExpressionIsPointless(lhs, rhs, expressionType); } else if (tokenType.equals(JavaTokenType.XOR)) { isPointless = xorExpressionIsPointless(lhs, rhs, expressionType); } else if (tokenType.equals(JavaTokenType.LTLT) || tokenType.equals(JavaTokenType.GTGT) || tokenType.equals(JavaTokenType.GTGTGT)) { isPointless = shiftExpressionIsPointless(rhs, expressionType); } else { isPointless = false; } if (!isPointless) { return; } registerError(expression); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/PointlessBitwiseExpressionInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/verbose/PointlessBitwiseExpressionInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
5905,
2300,
12,
52,
7722,
5905,
2300,
2652,
13,
288,
5411,
2240,
18,
11658,
5905,
2300,
12,
8692,
1769,
5411,
727,
453,
7722,
559,
2652,
559,
273,
2652,
18,
588,
559,
5621,
5411,
309,
261,
8692,
559,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
5852,
1345,
1573,
273,
2652,
18,
588,
2988,
2766,
5621,
5411,
309,
261,
2977,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
2300,
7711,
273,
2652,
18,
588,
1457,
457,
464,
5621,
5411,
309,
261,
86,
4487,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
559,
7711,
559,
273,
7711,
18,
588,
559,
5621,
5411,
309,
261,
86,
4487,
559,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
5411,
309,
261,
86,
4487,
559,
18,
14963,
12,
52,
7722,
559,
18,
17900,
13,
747,
10792,
315,
6290,
18,
4936,
18,
5507,
9654,
14963,
12,
86,
4487,
559,
18,
588,
15512,
1528,
1435,
3719,
288,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
2300,
8499,
273,
2652,
18,
588,
1502,
457,
464,
5621,
5411,
309,
261,
80,
4487,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
559,
8499,
559,
273,
8499,
18,
588,
559,
5621,
5411,
309,
261,
80,
4487,
559,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
5411,
309,
261,
80,
4487,
559,
18,
14963,
12,
52,
7722,
559,
18,
17900,
13,
747,
10792,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
5905,
2300,
12,
52,
7722,
5905,
2300,
2652,
13,
288,
5411,
2240,
18,
11658,
5905,
2300,
12,
8692,
1769,
5411,
727,
453,
7722,
559,
2652,
559,
273,
2652,
18,
588,
559,
5621,
5411,
309,
261,
8692,
559,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
5852,
1345,
1573,
273,
2652,
18,
588,
2988,
2766,
5621,
5411,
309,
261,
2977,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
2300,
7711,
273,
2652,
18,
588,
1457,
457,
464,
5621,
5411,
309,
261,
86,
4487,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
559,
7711,
559,
273,
7711,
18,
588,
559,
5621,
5411,
2
] |
|
private static void generateCtor(ClassFileWriter cfw, String genName, Class superClass) { cfw.startMethod("<init>", "(Lorg/mozilla/javascript/FlattenedObject;)V", ClassFileWriter.ACC_PUBLIC); // Invoke base class constructor cfw.add(ByteCode.ALOAD_0); // this cfw.add(ByteCode.INVOKESPECIAL, superClass.getName().replace('.', '/'), "<init>", "()", "V"); // save parameter in instance variable cfw.add(ByteCode.ALOAD_0); // this cfw.add(ByteCode.ALOAD_1); // first arg cfw.add(ByteCode.PUTFIELD, genName, "o", "Lorg/mozilla/javascript/FlattenedObject;"); // store Scriptable object in "self" a public instance variable, so scripts can read it. cfw.add(ByteCode.ALOAD_0); // this cfw.add(ByteCode.ALOAD_1); // first arg cfw.add(ByteCode.INVOKEVIRTUAL, "org/mozilla/javascript/FlattenedObject", "getObject", "()", "Lorg/mozilla/javascript/Scriptable;"); cfw.add(ByteCode.PUTFIELD, genName, "self", "Lorg/mozilla/javascript/Scriptable;"); cfw.add(ByteCode.RETURN); cfw.stopMethod((short)20, null); // TODO: magic number "20" }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/eb9dcf8b50d68e0bd092a827fa5808d341974237/JavaAdapter.java/buggy/js/rhino/org/mozilla/javascript/JavaAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
2103,
27425,
12,
797,
812,
2289,
6080,
91,
16,
514,
3157,
461,
16,
4766,
1377,
1659,
18846,
13,
377,
288,
3639,
6080,
91,
18,
1937,
1305,
2932,
32,
2738,
2984,
16,
7682,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
20237,
23016,
30943,
58,
3113,
13491,
30614,
2289,
18,
31414,
67,
14939,
1769,
7734,
368,
14373,
1026,
667,
3885,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
1013,
51,
1880,
67,
20,
1769,
225,
368,
333,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
706,
17691,
3991,
10106,
6365,
16,
7734,
18846,
18,
17994,
7675,
2079,
2668,
1093,
16,
2023,
3631,
1171,
3532,
2738,
2984,
16,
25605,
3113,
315,
58,
8863,
7734,
368,
1923,
1569,
316,
791,
2190,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
1013,
51,
1880,
67,
20,
1769,
225,
368,
333,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
1013,
51,
1880,
67,
21,
1769,
225,
368,
1122,
1501,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
4762,
6776,
16,
3157,
461,
16,
315,
83,
3113,
1171,
315,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
20237,
23016,
4868,
1769,
202,
202,
759,
1707,
22780,
733,
316,
315,
2890,
6,
279,
1071,
791,
2190,
16,
1427,
8873,
848,
855,
518,
18,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
1013,
51,
1880,
67,
20,
1769,
225,
368,
333,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
1013,
51,
1880,
67,
21,
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,
760,
918,
2103,
27425,
12,
797,
812,
2289,
6080,
91,
16,
514,
3157,
461,
16,
4766,
1377,
1659,
18846,
13,
377,
288,
3639,
6080,
91,
18,
1937,
1305,
2932,
32,
2738,
2984,
16,
7682,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
20237,
23016,
30943,
58,
3113,
13491,
30614,
2289,
18,
31414,
67,
14939,
1769,
7734,
368,
14373,
1026,
667,
3885,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
1013,
51,
1880,
67,
20,
1769,
225,
368,
333,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
706,
17691,
3991,
10106,
6365,
16,
7734,
18846,
18,
17994,
7675,
2079,
2668,
1093,
16,
2023,
3631,
1171,
3532,
2738,
2984,
16,
25605,
3113,
315,
58,
8863,
7734,
2
] |
||
Vector clones = new Vector();
|
Vector clones = (null != m_waiting) ? new Vector() : null;
|
public Object clone() throws CloneNotSupportedException { LocPathIterator clone = (LocPathIterator) super.clone();// clone.m_varStackPos = this.m_varStackPos;// clone.m_varStackContext = this.m_varStackContext; if (null != m_firstWalker) { Vector clones = new Vector(); // yuck clone.m_firstWalker = m_firstWalker.cloneDeep(clone, clones); if(null != m_waiting) { clone.m_waiting = (Vector)m_waiting.clone(); // or is new Vector faster? int n = m_waiting.size(); for (int i = 0; i < n; i++) { AxesWalker waiting = (AxesWalker)m_waiting.elementAt(i); clone.m_waiting.setElementAt(waiting.cloneDeep(clone, clones), i); } } if(null != m_lastUsedWalker) clone.m_lastUsedWalker = m_lastUsedWalker.cloneDeep(clone, clones); } return clone; }
|
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/ae559776b6bade54360096b41763bbb47f9ba793/LocPathIterator.java/clean/src/org/apache/xpath/axes/LocPathIterator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
3236,
1435,
1216,
12758,
25482,
225,
288,
3639,
2851,
743,
3198,
3236,
273,
261,
1333,
743,
3198,
13,
2240,
18,
14056,
5621,
759,
565,
3236,
18,
81,
67,
1401,
2624,
1616,
273,
333,
18,
81,
67,
1401,
2624,
1616,
31,
759,
565,
3236,
18,
81,
67,
1401,
2624,
1042,
273,
333,
18,
81,
67,
1401,
2624,
1042,
31,
565,
309,
261,
2011,
480,
312,
67,
3645,
16246,
13,
565,
288,
4202,
5589,
927,
5322,
273,
261,
2011,
480,
312,
67,
20241,
13,
692,
394,
5589,
1435,
294,
446,
31,
225,
368,
677,
9031,
1377,
3236,
18,
81,
67,
3645,
16246,
273,
312,
67,
3645,
16246,
18,
14056,
13980,
12,
14056,
16,
927,
5322,
1769,
5411,
309,
12,
2011,
480,
312,
67,
20241,
13,
1377,
288,
3639,
3236,
18,
81,
67,
20241,
273,
261,
5018,
13,
81,
67,
20241,
18,
14056,
5621,
368,
578,
353,
394,
5589,
12063,
35,
3639,
509,
290,
273,
312,
67,
20241,
18,
1467,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
290,
31,
277,
27245,
540,
288,
1850,
22516,
281,
16246,
7336,
273,
261,
26494,
16246,
13,
81,
67,
20241,
18,
2956,
861,
12,
77,
1769,
1850,
3236,
18,
81,
67,
20241,
18,
542,
1046,
861,
12,
20241,
18,
14056,
13980,
12,
14056,
16,
927,
5322,
3631,
277,
1769,
3639,
289,
1377,
289,
1377,
309,
12,
2011,
480,
312,
67,
2722,
6668,
16246,
13,
3639,
3236,
18,
81,
67,
2722,
6668,
16246,
273,
312,
67,
2722,
6668,
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,
1033,
3236,
1435,
1216,
12758,
25482,
225,
288,
3639,
2851,
743,
3198,
3236,
273,
261,
1333,
743,
3198,
13,
2240,
18,
14056,
5621,
759,
565,
3236,
18,
81,
67,
1401,
2624,
1616,
273,
333,
18,
81,
67,
1401,
2624,
1616,
31,
759,
565,
3236,
18,
81,
67,
1401,
2624,
1042,
273,
333,
18,
81,
67,
1401,
2624,
1042,
31,
565,
309,
261,
2011,
480,
312,
67,
3645,
16246,
13,
565,
288,
4202,
5589,
927,
5322,
273,
261,
2011,
480,
312,
67,
20241,
13,
692,
394,
5589,
1435,
294,
446,
31,
225,
368,
677,
9031,
1377,
3236,
18,
81,
67,
3645,
16246,
273,
312,
67,
3645,
16246,
18,
14056,
13980,
12,
14056,
16,
927,
5322,
1769,
5411,
309,
2
] |
public List constraints() throws RecognitionException { List constraints; constraints = new ArrayList(); try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:653:17: ( opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:653:17: opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol { following.push(FOLLOW_opt_eol_in_constraints1628); opt_eol(); following.pop(); // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:654:17: ( constraint[constraints] | predicate[constraints] ) int alt46=2; int LA46_0 = input.LA(1); if ( LA46_0==EOL||LA46_0==15 ) { alt46=1; } else if ( LA46_0==ID ) { int LA46_2 = input.LA(2); if ( LA46_2==30 ) { int LA46_3 = input.LA(3); if ( LA46_3==ID ) { int LA46_8 = input.LA(4); if ( LA46_8==50 ) { alt46=2; } else if ( LA46_8==EOL||LA46_8==15||(LA46_8>=22 && LA46_8<=23)||(LA46_8>=40 && LA46_8<=47) ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("654:17: ( constraint[constraints] | predicate[constraints] )", 46, 8, input); throw nvae; } } else if ( LA46_3==EOL||LA46_3==15 ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("654:17: ( constraint[constraints] | predicate[constraints] )", 46, 3, input); throw nvae; } } else if ( LA46_2==EOL||LA46_2==15||(LA46_2>=22 && LA46_2<=23)||(LA46_2>=40 && LA46_2<=47) ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("654:17: ( constraint[constraints] | predicate[constraints] )", 46, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("654:17: ( constraint[constraints] | predicate[constraints] )", 46, 0, input); throw nvae; } switch (alt46) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:654:18: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1633); constraint(constraints); following.pop(); } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:654:42: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1636); predicate(constraints); following.pop(); } break; } // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:655:17: ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* loop48: do { int alt48=2; alt48 = dfa48.predict(input); switch (alt48) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:655:19: opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) { following.push(FOLLOW_opt_eol_in_constraints1644); opt_eol(); following.pop(); match(input,22,FOLLOW_22_in_constraints1646); following.push(FOLLOW_opt_eol_in_constraints1648); opt_eol(); following.pop(); // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:655:39: ( constraint[constraints] | predicate[constraints] ) int alt47=2; int LA47_0 = input.LA(1); if ( LA47_0==EOL||LA47_0==15 ) { alt47=1; } else if ( LA47_0==ID ) { int LA47_2 = input.LA(2); if ( LA47_2==30 ) { int LA47_3 = input.LA(3); if ( LA47_3==ID ) { int LA47_8 = input.LA(4); if ( LA47_8==50 ) { alt47=2; } else if ( LA47_8==EOL||LA47_8==15||(LA47_8>=22 && LA47_8<=23)||(LA47_8>=40 && LA47_8<=47) ) { alt47=1; } else { NoViableAltException nvae = new NoViableAltException("655:39: ( constraint[constraints] | predicate[constraints] )", 47, 8, input); throw nvae; } } else if ( LA47_3==EOL||LA47_3==15 ) { alt47=1; } else { NoViableAltException nvae = new NoViableAltException("655:39: ( constraint[constraints] | predicate[constraints] )", 47, 3, input); throw nvae; } } else if ( LA47_2==EOL||LA47_2==15||(LA47_2>=22 && LA47_2<=23)||(LA47_2>=40 && LA47_2<=47) ) { alt47=1; } else { NoViableAltException nvae = new NoViableAltException("655:39: ( constraint[constraints] | predicate[constraints] )", 47, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("655:39: ( constraint[constraints] | predicate[constraints] )", 47, 0, input); throw nvae; } switch (alt47) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:655:40: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1651); constraint(constraints); following.pop(); } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:655:64: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1654); predicate(constraints); following.pop(); } break; } } break; default : break loop48; } } while (true); following.push(FOLLOW_opt_eol_in_constraints1662); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return constraints; }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/f206af510f937d389fa71f33abed691ac65aa4e3/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
6237,
1435,
1216,
9539,
288,
6647,
987,
6237,
31,
540,
202,
202,
11967,
273,
394,
2407,
5621,
540,
202,
3639,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
26,
8643,
30,
4033,
30,
261,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
261,
2153,
67,
30951,
3316,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
8618,
2153,
67,
30951,
262,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
26,
8643,
30,
4033,
30,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
261,
2153,
67,
30951,
3316,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
8618,
2153,
67,
30951,
5411,
288,
5411,
3751,
18,
6206,
12,
29890,
67,
3838,
67,
30951,
67,
267,
67,
11967,
2313,
6030,
1769,
5411,
2153,
67,
30951,
5621,
5411,
3751,
18,
5120,
5621,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
6237,
1435,
1216,
9539,
288,
6647,
987,
6237,
31,
540,
202,
202,
11967,
273,
394,
2407,
5621,
540,
202,
3639,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
26,
8643,
30,
4033,
30,
261,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
261,
2153,
67,
30951,
3316,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
8618,
2153,
67,
30951,
262,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
2
] |
||
previousFeatures = null;
|
Set previousFeatures = null;
|
private void initializeFeatureSets() { Assert.isTrue(currentFeatures == null); // retrieve list of installed feature from last session IDialogSettings settings = IDEWorkbenchPlugin.getDefault().getDialogSettings(); String[] previousFeaturesArray = settings.getArray(INSTALLED_FEATURES); previousFeatures = null; if (previousFeaturesArray != null) { previousFeatures = new HashSet(Arrays.asList(previousFeaturesArray)); } else { previousFeatures = new HashSet(0); } // store list of installed features for next session currentFeatures = computeFeatureSet(); String[] currentFeaturesArray = new String[currentFeatures.size()]; currentFeatures.toArray(currentFeaturesArray); settings.put(INSTALLED_FEATURES, currentFeaturesArray); // compute recently installed features - use TreeSet to get predictable order newlyAddedFeatures = new TreeSet(currentFeatures); newlyAddedFeatures.removeAll(previousFeatures); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1cbee43cfab5af4b895417b187eacf1e43b7ada9/IDEWorkbenchAdvisor.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchAdvisor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4046,
4595,
2785,
1435,
288,
202,
202,
8213,
18,
291,
5510,
12,
2972,
8696,
422,
446,
1769,
9506,
202,
759,
4614,
666,
434,
5876,
2572,
628,
1142,
1339,
1082,
202,
734,
3529,
2628,
1947,
273,
1599,
41,
2421,
22144,
3773,
18,
588,
1868,
7675,
588,
6353,
2628,
5621,
202,
202,
780,
8526,
2416,
8696,
1076,
273,
1947,
18,
588,
1076,
12,
19784,
27751,
67,
18257,
55,
1769,
202,
202,
11515,
8696,
273,
446,
31,
202,
202,
430,
261,
11515,
8696,
1076,
480,
446,
13,
288,
1082,
202,
11515,
8696,
273,
394,
6847,
12,
12726,
18,
345,
682,
12,
11515,
8696,
1076,
10019,
202,
202,
97,
469,
288,
1082,
202,
11515,
8696,
273,
394,
6847,
12,
20,
1769,
202,
202,
97,
202,
202,
759,
1707,
666,
434,
5876,
4467,
364,
1024,
1339,
202,
202,
2972,
8696,
273,
3671,
4595,
694,
5621,
202,
202,
780,
8526,
783,
8696,
1076,
273,
394,
514,
63,
2972,
8696,
18,
1467,
1435,
15533,
202,
202,
2972,
8696,
18,
31447,
12,
2972,
8696,
1076,
1769,
202,
202,
4272,
18,
458,
12,
19784,
27751,
67,
18257,
55,
16,
783,
8696,
1076,
1769,
9506,
202,
759,
3671,
19907,
5876,
4467,
300,
999,
19461,
358,
336,
7810,
429,
1353,
202,
202,
2704,
715,
8602,
8696,
273,
394,
19461,
12,
2972,
8696,
1769,
202,
202,
2704,
715,
8602,
8696,
18,
4479,
1595,
12,
11515,
8696,
1769,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4046,
4595,
2785,
1435,
288,
202,
202,
8213,
18,
291,
5510,
12,
2972,
8696,
422,
446,
1769,
9506,
202,
759,
4614,
666,
434,
5876,
2572,
628,
1142,
1339,
1082,
202,
734,
3529,
2628,
1947,
273,
1599,
41,
2421,
22144,
3773,
18,
588,
1868,
7675,
588,
6353,
2628,
5621,
202,
202,
780,
8526,
2416,
8696,
1076,
273,
1947,
18,
588,
1076,
12,
19784,
27751,
67,
18257,
55,
1769,
202,
202,
11515,
8696,
273,
446,
31,
202,
202,
430,
261,
11515,
8696,
1076,
480,
446,
13,
288,
1082,
202,
11515,
8696,
273,
394,
6847,
12,
12726,
18,
345,
682,
12,
11515,
8696,
1076,
10019,
202,
202,
97,
469,
288,
1082,
202,
11515,
8696,
273,
394,
6847,
12,
2
] |
private boolean getCatchClauseToThrowsProposals(IAssistContext context, ASTNode node, Collection resultingCollections) throws CoreException {
|
private boolean getCatchClauseToThrowsProposals(IInvocationContext context, ASTNode node, Collection resultingCollections) throws CoreException {
|
private boolean getCatchClauseToThrowsProposals(IAssistContext context, ASTNode node, Collection resultingCollections) throws CoreException { CatchClause catchClause= (CatchClause) ASTResolving.findAncestor(node, ASTNode.CATCH_CLAUSE); if (catchClause == null) { return false; } Type type= catchClause.getException().getType(); if (!type.isSimpleType()) { return false; } BodyDeclaration bodyDeclaration= ASTResolving.findParentBodyDeclaration(catchClause); if (!(bodyDeclaration instanceof MethodDeclaration)) { return false; } if (resultingCollections == null) { return true; } MethodDeclaration methodDeclaration= (MethodDeclaration) bodyDeclaration; ASTRewrite rewrite= new ASTRewrite(methodDeclaration); AST ast= methodDeclaration.getAST(); TryStatement tryStatement= (TryStatement) catchClause.getParent(); if (tryStatement.catchClauses().size() > 1 || tryStatement.getFinally() != null) { rewrite.markAsRemoved(catchClause); } else { List statements= tryStatement.getBody().statements(); if (statements.size() > 0) { ASTNode placeholder= rewrite.collapseNodes(statements, 0, statements.size()); rewrite.markAsReplaced(tryStatement, rewrite.createCopy(placeholder)); } else { rewrite.markAsRemoved(tryStatement); } } ITypeBinding binding= type.resolveBinding(); if (binding == null || isNotYetThrown(binding, methodDeclaration.thrownExceptions())) { Name name= ((SimpleType) type).getName(); Name newName= (Name) ASTNode.copySubtree(ast, name); rewrite.markAsInserted(newName); methodDeclaration.thrownExceptions().add(newName); } String label= CorrectionMessages.getString("QuickAssistProcessor.catchclausetothrows.description"); //$NON-NLS-1$ Image image= JavaPluginImages.get(JavaPluginImages.IMG_OBJS_EXCEPTION); ASTRewriteCorrectionProposal proposal= new ASTRewriteCorrectionProposal(label, context.getCompilationUnit(), rewrite, 1, image); proposal.ensureNoModifications(); resultingCollections.add(proposal); return true; }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/743c8e3c183622ead26220802483db7fbb3772ab/QuickAssistProcessor.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
1927,
505,
7044,
774,
21845,
626,
22536,
12,
45,
2610,
376,
1042,
819,
16,
9183,
907,
756,
16,
2200,
8156,
15150,
13,
1216,
30015,
288,
202,
202,
14842,
7044,
1044,
7044,
33,
261,
14842,
7044,
13,
9183,
2903,
6282,
18,
4720,
15637,
12,
2159,
16,
9183,
907,
18,
39,
5858,
67,
15961,
8001,
1769,
202,
202,
430,
261,
14683,
7044,
422,
446,
13,
288,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
559,
618,
33,
1044,
7044,
18,
588,
503,
7675,
588,
559,
5621,
202,
202,
430,
16051,
723,
18,
291,
5784,
559,
10756,
288,
1082,
202,
2463,
629,
31,
202,
202,
97,
9506,
202,
2250,
6094,
1417,
6094,
33,
9183,
2903,
6282,
18,
4720,
3054,
2250,
6094,
12,
14683,
7044,
1769,
202,
202,
430,
16051,
12,
3432,
6094,
1276,
2985,
6094,
3719,
288,
1082,
202,
2463,
629,
31,
202,
202,
97,
9506,
202,
430,
261,
2088,
310,
15150,
422,
446,
13,
288,
1082,
202,
2463,
638,
31,
202,
202,
97,
9506,
202,
1305,
6094,
707,
6094,
33,
261,
1305,
6094,
13,
1417,
6094,
31,
9506,
202,
37,
3902,
12341,
10738,
33,
394,
432,
3902,
12341,
12,
2039,
6094,
1769,
202,
202,
9053,
3364,
33,
707,
6094,
18,
588,
9053,
5621,
9506,
202,
7833,
3406,
775,
3406,
33,
261,
7833,
3406,
13,
1044,
7044,
18,
588,
3054,
5621,
202,
202,
430,
261,
698,
3406,
18,
14683,
22434,
7675,
1467,
1435,
405,
404,
747,
775,
3406,
18,
588,
29987,
1435,
480,
446,
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,
1250,
1927,
505,
7044,
774,
21845,
626,
22536,
12,
45,
2610,
376,
1042,
819,
16,
9183,
907,
756,
16,
2200,
8156,
15150,
13,
1216,
30015,
288,
202,
202,
14842,
7044,
1044,
7044,
33,
261,
14842,
7044,
13,
9183,
2903,
6282,
18,
4720,
15637,
12,
2159,
16,
9183,
907,
18,
39,
5858,
67,
15961,
8001,
1769,
202,
202,
430,
261,
14683,
7044,
422,
446,
13,
288,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
559,
618,
33,
1044,
7044,
18,
588,
503,
7675,
588,
559,
5621,
202,
202,
430,
16051,
723,
18,
291,
5784,
559,
10756,
288,
1082,
202,
2463,
629,
31,
202,
202,
97,
9506,
202,
2250,
6094,
1417,
6094,
33,
9183,
2903,
6282,
2
] |
else { lastKid = index; index = kidMatch; }
|
if (state.goForBroke && (state.complete != -1)) return state.complete; lastKid = index; index = kidMatch;
|
int matchRENodes(MatchState state, RENode ren, RENode stop, int index) { int num; char[] input = state.input; while ((ren != stop) && (ren != null)) { switch (ren.op) { case REOP_EMPTY: break; case REOP_ALT: { if (ren.next.op != REOP_ALT) { ren = (RENode)ren.kid; continue; } else { num = state.parenCount; int kidMatch = matchRENodes(state, (RENode)ren.kid, stop, index); if (kidMatch != -1) return kidMatch; for (int i = num; i < state.parenCount; i++) state.parens[i] = null; state.parenCount = num; } } break; case REOP_QUANT: { int lastKid = -1; for (num = 0; num < ren.min; num++) { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; else { lastKid = index; index = kidMatch; } } if (num == ren.max) // Have matched the exact count required, // need to match the rest of the regexp. break; if ((ren.flags & RENode.MINIMAL) == 0) { int kidMatch = matchGreedyKid(state, ren, stop, num, index, lastKid); if (kidMatch == -1) index = matchRENodes(state, (RENode)ren.kid, ren.next, index); else index = kidMatch; } else { index = matchNonGreedyKid(state, ren, num, ren.max, index); } if (index == -1) return -1; } break; case REOP_PLUS: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; if ((ren.flags & RENode.MINIMAL) == 0) { kidMatch = matchGreedyKid(state, ren, stop, 1, kidMatch, index); if (kidMatch == -1) index = matchRENodes(state,(RENode)ren.kid, ren.next, index); else index = kidMatch; } else index = matchNonGreedyKid(state, ren, 1, 0, kidMatch); if (index == -1) return -1; } break; case REOP_STAR: if ((ren.flags & RENode.MINIMAL) == 0) { int kidMatch = matchGreedyKid(state, ren, stop, 0, index, -1); if (kidMatch != -1) index = kidMatch; } else { index = matchNonGreedyKid(state, ren, 0, 0, index); if (index == -1) return -1; } break; case REOP_OPT: { int saveNum = state.parenCount; if (((ren.flags & RENode.MINIMAL) != 0)) { int restMatch = matchRENodes(state, ren.next, stop, index); if (restMatch != -1) return restMatch; } int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) { state.parenCount = saveNum; break; } else { int restMatch = matchRENodes(state, ren.next, stop, kidMatch); if (restMatch == -1) { // need to undo the result of running the kid state.parenCount = saveNum; break; } else return restMatch; } } case REOP_LPARENNON: ren = (RENode)ren.kid; continue; case REOP_RPARENNON: break; case REOP_LPAREN: { num = ren.num; ren = (RENode)ren.kid; SubString parsub = state.parens[num]; if (parsub == null) { parsub = state.parens[num] = new SubString(); parsub.charArray = input; } parsub.index = index; parsub.length = 0; if (num >= state.parenCount) state.parenCount = num + 1; continue; } case REOP_RPAREN: { num = ren.num; SubString parsub = state.parens[num]; if (parsub == null) throw new RuntimeException("Paren problem"); parsub.length = index - parsub.index; break; } case REOP_ASSERT: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; break; } case REOP_ASSERT_NOT: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch != -1) return -1; break; } case REOP_BACKREF: { num = ren.num; if (num >= state.parens.length) { Context.reportError( ScriptRuntime.getMessage( "msg.bad.backref", null)); return -1; } SubString parsub = state.parens[num]; if (parsub == null) parsub = state.parens[num] = new SubString(); int length = parsub.length; for (int i = 0; i < length; i++, index++) { if (index >= input.length) { return state.noMoreInput(); } if (!matchChar(state.flags, input[index], parsub.charArray[parsub.index + i])) return -1; } } break; case REOP_CCLASS: if (index >= input.length) { return state.noMoreInput(); } if (ren.bitmap == null) { char[] source = (ren.s != null) ? ren.s : this.source.toCharArray(); ren.buildBitmap(state, source, ((state.flags & FOLD) != 0)); } char c = input[index]; int b = (c >>> 3); if (b >= ren.bmsize) { if (ren.kid2 == -1) // a ^ class index++; else return -1; } else { int bit = c & 7; bit = 1 << bit; if ((ren.bitmap[b] & bit) != 0) index++; else return -1; } break; case REOP_DOT: if (index >= input.length) { return state.noMoreInput(); } if (input[index] != '\n') index++; else return -1; break; case REOP_DOTSTARMIN: { int cp2; for (cp2 = index; cp2 < input.length; cp2++) { int cp3 = matchRENodes(state, ren.next, stop, cp2); if (cp3 != -1) return cp3; if (input[cp2] == '\n') return -1; } return state.noMoreInput(); } case REOP_DOTSTAR: { int cp2; for (cp2 = index; cp2 < input.length; cp2++) if (input[cp2] == '\n') break; while (cp2 >= index) { int cp3 = matchRENodes(state, ren.next, stop, cp2); if (cp3 != -1) { index = cp2; break; } cp2--; } break; } case REOP_WBDRY: if (index == 0 || !isWord(input[index-1])) { if (index >= input.length) return state.noMoreInput(); if (!isWord(input[index])) return -1; } else { if (index < input.length && isWord(input[index])) return -1; } break; case REOP_WNONBDRY: if (index == 0 || !isWord(input[index-1])) { if (index < input.length && isWord(input[index])) return -1; } else { if (index >= input.length) return state.noMoreInput(); if (!isWord(input[index])) return -1; } break; case REOP_EOLONLY: case REOP_EOL: { if (index == input.length) ; // leave index; else { Context cx = Context.getCurrentContext(); RegExpImpl reImpl = getImpl(cx); if ((reImpl.multiline) || ((state.flags & MULTILINE) != 0)) if (input[index] == '\n') ;// leave index else return -1; else return -1; } } break; case REOP_BOL: { Context cx = Context.getCurrentContext(); RegExpImpl reImpl = getImpl(cx); if (index != 0) { if (reImpl.multiline || ((state.flags & MULTILINE) != 0)) { if (index >= input.length) { return state.noMoreInput(); } if (input[index - 1] == '\n') { break; } } return -1; } // leave index } break; case REOP_DIGIT: if (index >= input.length) { return state.noMoreInput(); } if (!isDigit(input[index])) return -1; index++; break; case REOP_NONDIGIT: if (index >= input.length) { return state.noMoreInput(); } if (isDigit(input[index])) return -1; index++; break; case REOP_ALNUM: if (index >= input.length) { return state.noMoreInput(); } if (!isWord(input[index])) return -1; index++; break; case REOP_NONALNUM: if (index >= input.length) { return state.noMoreInput(); } if (isWord(input[index])) return -1; index++; break; case REOP_SPACE: if (index >= input.length) { return state.noMoreInput(); } if (!(TokenStream.isJSSpace(input[index]) || TokenStream.isJSLineTerminator(input[index]))) return -1; index++; break; case REOP_NONSPACE: if (index >= input.length) { return state.noMoreInput(); } if (TokenStream.isJSSpace(input[index]) || TokenStream.isJSLineTerminator(input[index])) return -1; index++; break; case REOP_FLAT1: if (index >= input.length) { return state.noMoreInput(); } if (!matchChar(state.flags, ren.chr, input[index])) return -1; index++; break; case REOP_FLAT: { char[] source = (ren.s != null) ? ren.s : this.source.toCharArray(); int start = ((Integer)ren.kid).intValue(); int length = ren.kid2 - start; for (int i = 0; i < length; i++, index++) { if (index >= input.length) { return state.noMoreInput(); } if (!matchChar(state.flags, input[index], source[start + i])) return -1; } } break; case REOP_JUMP: break; case REOP_END: break; default : throw new RuntimeException("Unsupported by node matcher"); } ren = ren.next; } return index; }
|
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/b16d847568c4b6033672534e58b050c4923f9c31/NativeRegExp.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
845,
862,
3205,
12,
2060,
1119,
919,
16,
2438,
907,
1654,
16,
2438,
907,
2132,
16,
509,
770,
13,
288,
3639,
509,
818,
31,
3639,
1149,
8526,
810,
273,
919,
18,
2630,
31,
3639,
1323,
14015,
1187,
480,
2132,
13,
597,
261,
1187,
480,
446,
3719,
288,
7734,
1620,
261,
1187,
18,
556,
13,
288,
7734,
648,
2438,
3665,
67,
13625,
30,
10792,
898,
31,
7734,
648,
2438,
3665,
67,
18255,
30,
288,
10792,
309,
261,
1187,
18,
4285,
18,
556,
480,
2438,
3665,
67,
18255,
13,
288,
13491,
1654,
273,
261,
862,
907,
13,
1187,
18,
79,
350,
31,
13491,
1324,
31,
10792,
289,
10792,
469,
288,
13491,
818,
273,
919,
18,
13012,
1380,
31,
13491,
509,
17395,
2060,
273,
845,
862,
3205,
12,
2019,
16,
261,
862,
907,
13,
1187,
18,
79,
350,
16,
4766,
10792,
2132,
16,
770,
1769,
13491,
309,
261,
79,
350,
2060,
480,
300,
21,
13,
327,
17395,
2060,
31,
13491,
364,
261,
474,
277,
273,
818,
31,
277,
411,
919,
18,
13012,
1380,
31,
277,
27245,
18701,
919,
18,
1848,
2387,
63,
77,
65,
273,
446,
31,
13491,
919,
18,
13012,
1380,
273,
818,
31,
10792,
289,
7734,
289,
10792,
898,
31,
7734,
648,
2438,
3665,
67,
3500,
6856,
30,
288,
10792,
509,
1142,
47,
350,
273,
300,
21,
31,
10792,
364,
261,
2107,
273,
374,
31,
818,
411,
1654,
18,
1154,
31,
818,
27245,
288,
13491,
509,
17395,
2060,
273,
845,
862,
3205,
12,
2019,
16,
261,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
845,
862,
3205,
12,
2060,
1119,
919,
16,
2438,
907,
1654,
16,
2438,
907,
2132,
16,
509,
770,
13,
288,
3639,
509,
818,
31,
3639,
1149,
8526,
810,
273,
919,
18,
2630,
31,
3639,
1323,
14015,
1187,
480,
2132,
13,
597,
261,
1187,
480,
446,
3719,
288,
7734,
1620,
261,
1187,
18,
556,
13,
288,
7734,
648,
2438,
3665,
67,
13625,
30,
10792,
898,
31,
7734,
648,
2438,
3665,
67,
18255,
30,
288,
10792,
309,
261,
1187,
18,
4285,
18,
556,
480,
2438,
3665,
67,
18255,
13,
288,
13491,
1654,
273,
261,
862,
907,
13,
1187,
18,
79,
350,
31,
13491,
1324,
31,
10792,
289,
10792,
469,
288,
13491,
818,
273,
919,
18,
13012,
1380,
31,
13491,
2
] |
Account from, Account to, EntryType entryType, BigDecimal amount, PaymentMode paymentMode, DateTime whenRegistered) { return new AccountingTransaction(responsibleUser, event, makeEntry(entryType, amount.negate(), from), makeEntry(entryType, amount, to), paymentMode, whenRegistered);
|
Account from, Account to, EntryType entryType, BigDecimal amount, PaymentMode paymentMode, DateTime whenRegistered) { return new AccountingTransaction(responsibleUser, event, makeEntry(entryType, amount.negate(), from), makeEntry(entryType, amount, to), paymentMode, whenRegistered);
|
protected AccountingTransaction makeAccountingTransaction(User responsibleUser, Event event, Account from, Account to, EntryType entryType, BigDecimal amount, PaymentMode paymentMode, DateTime whenRegistered) { return new AccountingTransaction(responsibleUser, event, makeEntry(entryType, amount.negate(), from), makeEntry(entryType, amount, to), paymentMode, whenRegistered); }
|
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/119799af80bf5fcb84b46d31241d6fb85fb7298b/PostingRule.java/clean/src/net/sourceforge/fenixedu/domain/accounting/PostingRule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
6590,
310,
3342,
1221,
3032,
310,
3342,
12,
1299,
14549,
1299,
16,
2587,
871,
16,
5411,
6590,
628,
16,
6590,
358,
16,
3841,
559,
1241,
559,
16,
8150,
3844,
16,
12022,
2309,
5184,
2309,
16,
5411,
3716,
1347,
10868,
13,
288,
3639,
327,
394,
6590,
310,
3342,
12,
455,
500,
2736,
1299,
16,
871,
16,
1221,
1622,
12,
4099,
559,
16,
3844,
18,
82,
4784,
9334,
7734,
628,
3631,
1221,
1622,
12,
4099,
559,
16,
3844,
16,
358,
3631,
5184,
2309,
16,
1347,
10868,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
6590,
310,
3342,
1221,
3032,
310,
3342,
12,
1299,
14549,
1299,
16,
2587,
871,
16,
5411,
6590,
628,
16,
6590,
358,
16,
3841,
559,
1241,
559,
16,
8150,
3844,
16,
12022,
2309,
5184,
2309,
16,
5411,
3716,
1347,
10868,
13,
288,
3639,
327,
394,
6590,
310,
3342,
12,
455,
500,
2736,
1299,
16,
871,
16,
1221,
1622,
12,
4099,
559,
16,
3844,
18,
82,
4784,
9334,
7734,
628,
3631,
1221,
1622,
12,
4099,
559,
16,
3844,
16,
358,
3631,
5184,
2309,
16,
1347,
10868,
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
] |
public Tag createTag() {
|
public Tag createTag(String name, Attributes attributes) {
|
public Tag createTag() { return new TargetTag(); }
|
51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/b6602aaf4d7208bb6da73dca5bde745e332b0fa6/JeezTagLibrary.java/buggy/src/java/org/apache/commons/jelly/tags/jeez/JeezTagLibrary.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
4034,
752,
1805,
12,
780,
508,
16,
9055,
1677,
13,
288,
13491,
327,
394,
5916,
1805,
5621,
10792,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
4034,
752,
1805,
12,
780,
508,
16,
9055,
1677,
13,
288,
13491,
327,
394,
5916,
1805,
5621,
10792,
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
] |
catch (java.io.IOException e) { --bufpos; backup(0); if (tokenBegin == -1) { tokenBegin = bufpos; } throw e; } }
|
else maxNextCharInd += i; return; } catch(java.io.IOException e) { --bufpos; backup(0); if (tokenBegin == -1) tokenBegin = bufpos; throw e; } }
|
protected void FillBuff() throws java.io.IOException { if (maxNextCharInd == available) { if (available == bufsize) { if (tokenBegin > 2048) { bufpos = maxNextCharInd = 0; available = tokenBegin; } else if (tokenBegin < 0) { bufpos = maxNextCharInd = 0; } else { ExpandBuff(false); } } else if (available > tokenBegin) { available = bufsize; } else if ((tokenBegin - available) < 2048) { ExpandBuff(true); } else { available = tokenBegin; } } int i; try { if ((i = inputStream.read( buffer, maxNextCharInd, available - maxNextCharInd )) == -1) { inputStream.close(); throw new java.io.IOException(); } else { maxNextCharInd += i; } return; } catch (java.io.IOException e) { --bufpos; backup(0); if (tokenBegin == -1) { tokenBegin = bufpos; } throw e; } }
|
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/45c7db5b9c3d703ed4fabee51cebb349a8ffec67/SimpleCharStream.java/buggy/aspectwerkz2/src/main/org/codehaus/aspectwerkz/definition/expression/ast/SimpleCharStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
14192,
10642,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
3639,
309,
261,
1896,
2134,
2156,
3866,
422,
2319,
13,
288,
5411,
309,
261,
5699,
422,
1681,
1467,
13,
288,
7734,
309,
261,
2316,
8149,
405,
21907,
13,
288,
10792,
1681,
917,
273,
943,
2134,
2156,
3866,
273,
374,
31,
10792,
2319,
273,
1147,
8149,
31,
7734,
289,
7734,
469,
309,
261,
2316,
8149,
411,
374,
13,
288,
10792,
1681,
917,
273,
943,
2134,
2156,
3866,
273,
374,
31,
7734,
289,
7734,
469,
288,
10792,
16429,
10642,
12,
5743,
1769,
7734,
289,
5411,
289,
5411,
469,
309,
261,
5699,
405,
1147,
8149,
13,
288,
7734,
2319,
273,
1681,
1467,
31,
5411,
289,
5411,
469,
309,
14015,
2316,
8149,
300,
2319,
13,
411,
21907,
13,
288,
7734,
16429,
10642,
12,
3767,
1769,
5411,
289,
5411,
469,
288,
7734,
2319,
273,
1147,
8149,
31,
5411,
289,
3639,
289,
3639,
509,
277,
31,
3639,
775,
288,
5411,
309,
14015,
77,
273,
10010,
18,
896,
12,
10792,
1613,
16,
943,
2134,
2156,
3866,
16,
10792,
2319,
300,
943,
2134,
2156,
3866,
5411,
8623,
422,
300,
21,
13,
288,
7734,
10010,
18,
4412,
5621,
7734,
604,
394,
2252,
18,
1594,
18,
14106,
5621,
5411,
289,
5411,
469,
288,
7734,
943,
2134,
2156,
3866,
1011,
277,
31,
5411,
289,
5411,
327,
31,
3639,
289,
3639,
1044,
261,
6290,
18,
1594,
18,
14106,
425,
13,
288,
5411,
1493,
4385,
917,
31,
5411,
5114,
12,
20,
1769,
5411,
309,
261,
2316,
8149,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
14192,
10642,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
3639,
309,
261,
1896,
2134,
2156,
3866,
422,
2319,
13,
288,
5411,
309,
261,
5699,
422,
1681,
1467,
13,
288,
7734,
309,
261,
2316,
8149,
405,
21907,
13,
288,
10792,
1681,
917,
273,
943,
2134,
2156,
3866,
273,
374,
31,
10792,
2319,
273,
1147,
8149,
31,
7734,
289,
7734,
469,
309,
261,
2316,
8149,
411,
374,
13,
288,
10792,
1681,
917,
273,
943,
2134,
2156,
3866,
273,
374,
31,
7734,
289,
7734,
469,
288,
10792,
16429,
10642,
12,
5743,
1769,
7734,
289,
5411,
289,
5411,
469,
309,
261,
5699,
405,
1147,
8149,
13,
288,
7734,
2319,
273,
1681,
1467,
31,
5411,
289,
5411,
469,
309,
14015,
2
] |
if (user.indexOf("@") < 0) { user = user + defaultSuffix; } LOG.debug("User not found in email map. Mailing to: " + user); emails.add(user);
|
mappedUser = user;
|
protected String createUserList(XMLLogHelper logHelper) throws CruiseControlException { Set users = logHelper.getBuildParticipants(); if (skipUsers) { users = new HashSet(); } //add always addresses for (int i = 0; i < alwaysAddresses.length; i++) { users.add(alwaysAddresses[i].getAddress()); } //if build failed, add failure addresses if (!logHelper.isBuildSuccessful()) { for (int i = 0; i < failureAddresses.length; i++) { users.add(failureAddresses[i].getAddress()); } } //If build fixed, add failure addresses that want to know about the fix if (logHelper.isBuildFix()) { for (int i = 0; i < failureAddresses.length; i++) { if (failureAddresses[i].shouldReportWhenFixed()) { users.add(failureAddresses[i].getAddress()); } } } //if build succeeded, add success addresses if (logHelper.isBuildSuccessful()) { for (int i = 0; i < successAddresses.length; i++) { users.add(successAddresses[i].getAddress()); } } //move map to hashtable Set emails = new TreeSet(); Hashtable emailMappings = new Hashtable(); for (int i = 0; i < emailMap.length; i++) { EmailMapping mapping = emailMap[i]; LOG.debug( "Mapping alias: " + mapping.getAlias() + " to address: " + mapping.getAddress()); emailMappings.put(mapping.getAlias(), mapping.getAddress()); } Iterator userIterator = users.iterator(); while (userIterator.hasNext()) { String user = (String) userIterator.next(); if (emailMappings.containsKey(user)) { LOG.debug("User found in email map. Mailing to: " + emailMappings.get(user)); emails.add(emailMappings.get(user)); } else { if (user.indexOf("@") < 0) { user = user + defaultSuffix; } LOG.debug("User not found in email map. Mailing to: " + user); emails.add(user); } } //return set of emails as a comma delimited string StringBuffer commaDelimitedString = new StringBuffer(); int emailCount = 1; Iterator emailIterator = emails.iterator(); while (emailIterator.hasNext()) { commaDelimitedString.append((String) emailIterator.next()); if (emailCount < emails.size()) { commaDelimitedString.append(","); } emailCount++; } LOG.debug("Final list of emails: " + commaDelimitedString.toString()); return commaDelimitedString.toString(); }
|
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/da5374260c53b5c305e38f11aa1a482ed51c3304/EmailPublisher.java/buggy/main/src/net/sourceforge/cruisecontrol/publishers/EmailPublisher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
22992,
682,
12,
4201,
1343,
2276,
613,
2276,
13,
5411,
1216,
385,
8653,
784,
3367,
503,
288,
3639,
1000,
3677,
273,
613,
2276,
18,
588,
3116,
1988,
27620,
5621,
3639,
309,
261,
7457,
6588,
13,
288,
5411,
3677,
273,
394,
6847,
5621,
3639,
289,
3639,
368,
1289,
3712,
6138,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3712,
7148,
18,
2469,
31,
277,
27245,
288,
5411,
3677,
18,
1289,
12,
17737,
7148,
63,
77,
8009,
588,
1887,
10663,
3639,
289,
3639,
368,
430,
1361,
2535,
16,
527,
5166,
6138,
3639,
309,
16051,
1330,
2276,
18,
291,
3116,
14277,
10756,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5166,
7148,
18,
2469,
31,
277,
27245,
288,
7734,
3677,
18,
1289,
12,
12251,
7148,
63,
77,
8009,
588,
1887,
10663,
5411,
289,
3639,
289,
3639,
368,
2047,
1361,
5499,
16,
527,
5166,
6138,
716,
2545,
358,
5055,
2973,
326,
2917,
3639,
309,
261,
1330,
2276,
18,
291,
3116,
8585,
10756,
288,
2398,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5166,
7148,
18,
2469,
31,
277,
27245,
288,
1171,
309,
261,
12251,
7148,
63,
77,
8009,
13139,
4820,
9434,
7505,
10756,
288,
10792,
3677,
18,
1289,
12,
12251,
7148,
63,
77,
8009,
588,
1887,
10663,
1171,
289,
5411,
289,
3639,
289,
3639,
368,
430,
1361,
15784,
16,
527,
2216,
6138,
3639,
309,
261,
1330,
2276,
18,
291,
3116,
14277,
10756,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
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,
514,
22992,
682,
12,
4201,
1343,
2276,
613,
2276,
13,
5411,
1216,
385,
8653,
784,
3367,
503,
288,
3639,
1000,
3677,
273,
613,
2276,
18,
588,
3116,
1988,
27620,
5621,
3639,
309,
261,
7457,
6588,
13,
288,
5411,
3677,
273,
394,
6847,
5621,
3639,
289,
3639,
368,
1289,
3712,
6138,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3712,
7148,
18,
2469,
31,
277,
27245,
288,
5411,
3677,
18,
1289,
12,
17737,
7148,
63,
77,
8009,
588,
1887,
10663,
3639,
289,
3639,
368,
430,
1361,
2535,
16,
527,
5166,
6138,
3639,
309,
16051,
1330,
2276,
18,
291,
3116,
14277,
10756,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5166,
7148,
18,
2469,
2
] |
public synchronized void jobHasFinished() throws IOException { if (getRunState() == TaskStatus.State.RUNNING) {
|
public void jobHasFinished() throws IOException { boolean killTask = false; synchronized(this){ killTask = (getRunState() == TaskStatus.State.RUNNING); if (killTask) {
|
public synchronized void jobHasFinished() throws IOException { if (getRunState() == TaskStatus.State.RUNNING) { killAndCleanup(false); } else { cleanup(); } if (keepJobFiles) return; // Delete temp directory in case any task used PhasedFileSystem. try{ String systemDir = task.getConf().get("mapred.system.dir"); Path taskTempDir = new Path(systemDir + "/" + task.getJobId() + "/" + task.getTipId()); if( fs.exists(taskTempDir)){ fs.delete(taskTempDir) ; } }catch(IOException e){ LOG.warn("Error in deleting reduce temporary output",e); } // Delete the job directory for this // task if the job is done/failed if (purgeJobFiles) { this.defaultJobConf.deleteLocalFiles(SUBDIR + Path.SEPARATOR + JOBCACHE + Path.SEPARATOR + task.getJobId()); } }
|
48130 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48130/397e2b6c9d26c4f27b8d55ac61dae87d68ba1a0f/TaskTracker.java/buggy/src/java/org/apache/hadoop/mapred/TaskTracker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3852,
918,
1719,
5582,
10577,
1435,
1216,
1860,
288,
540,
202,
2398,
309,
261,
588,
1997,
1119,
1435,
422,
29628,
18,
1119,
18,
29358,
13,
288,
7734,
8673,
1876,
15007,
12,
5743,
1769,
5411,
289,
469,
288,
7734,
6686,
5621,
5411,
289,
5411,
309,
261,
10102,
2278,
2697,
13,
2868,
327,
31,
13491,
368,
2504,
1906,
1867,
316,
648,
1281,
1562,
1399,
4360,
8905,
11785,
18,
5411,
775,
95,
2868,
514,
2619,
1621,
273,
1562,
18,
588,
3976,
7675,
588,
2932,
1458,
1118,
18,
4299,
18,
1214,
8863,
2868,
2666,
1562,
7185,
1621,
273,
394,
2666,
12,
4299,
1621,
397,
4016,
397,
10402,
1562,
18,
588,
23378,
1435,
397,
4016,
397,
1562,
18,
588,
14189,
548,
10663,
2868,
309,
12,
2662,
18,
1808,
12,
4146,
7185,
1621,
3719,
95,
7734,
2662,
18,
3733,
12,
4146,
7185,
1621,
13,
274,
2868,
289,
5411,
289,
14683,
12,
14106,
425,
15329,
2868,
2018,
18,
8935,
2932,
668,
316,
12993,
5459,
6269,
876,
3113,
73,
1769,
2398,
289,
13491,
368,
2504,
326,
1719,
1867,
364,
333,
2868,
368,
1562,
309,
326,
1719,
353,
2731,
19,
7307,
5411,
309,
261,
26422,
2278,
2697,
13,
288,
2868,
333,
18,
1886,
2278,
3976,
18,
3733,
2042,
2697,
12,
8362,
4537,
397,
2666,
18,
4550,
397,
15604,
19647,
8495,
397,
2666,
18,
4550,
397,
225,
1562,
18,
588,
23378,
10663,
5411,
289,
3639,
289,
2,
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,
1,
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,
3852,
918,
1719,
5582,
10577,
1435,
1216,
1860,
288,
540,
202,
2398,
309,
261,
588,
1997,
1119,
1435,
422,
29628,
18,
1119,
18,
29358,
13,
288,
7734,
8673,
1876,
15007,
12,
5743,
1769,
5411,
289,
469,
288,
7734,
6686,
5621,
5411,
289,
5411,
309,
261,
10102,
2278,
2697,
13,
2868,
327,
31,
13491,
368,
2504,
1906,
1867,
316,
648,
1281,
1562,
1399,
4360,
8905,
11785,
18,
5411,
775,
95,
2868,
514,
2619,
1621,
273,
1562,
18,
588,
3976,
7675,
588,
2932,
1458,
1118,
18,
4299,
18,
1214,
8863,
2868,
2666,
1562,
7185,
1621,
273,
394,
2666,
12,
4299,
1621,
397,
4016,
397,
10402,
1562,
18,
588,
23378,
1435,
397,
4016,
397,
1562,
18,
588,
14189,
548,
10663,
2
] |
public String getEncoding() throws SQLException {
|
public Encoding getEncoding() throws SQLException {
|
public String getEncoding() throws SQLException { return encoding; }
|
52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/ff21a8e5c86457e205ff7c598b930efd711cb2dc/Connection.java/clean/src/interfaces/jdbc/org/postgresql/Connection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13400,
29505,
1435,
1216,
6483,
288,
3639,
327,
2688,
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,
13400,
29505,
1435,
1216,
6483,
288,
3639,
327,
2688,
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
] |
((FreechessConnection) getConn()).sendCommFromPlugin("=ch");
|
((FreechessConnection) getConn()).sendCommFromPlugin("=ch");
|
public void loginSucceeded(Connection conn) { ((FreechessConnection) getConn()).sendCommFromPlugin("=ch"); //getConn().sendCommand("inch " + getConn().getUsername()); firstTime = true; // }
|
50794 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50794/7ad97f640609065fb4cffaab0b5437105af2ce96/ChannelsManager.java/buggy/src/free/jin/channels/ChannelsManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3925,
30500,
12,
1952,
1487,
13,
288,
377,
202,
12443,
9194,
343,
403,
1952,
13,
336,
3543,
1435,
2934,
4661,
12136,
1265,
3773,
2932,
33,
343,
8863,
377,
202,
759,
588,
3543,
7675,
4661,
2189,
2932,
267,
343,
315,
397,
336,
3543,
7675,
588,
8575,
10663,
3639,
1122,
950,
273,
638,
31,
3639,
368,
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,
1071,
918,
3925,
30500,
12,
1952,
1487,
13,
288,
377,
202,
12443,
9194,
343,
403,
1952,
13,
336,
3543,
1435,
2934,
4661,
12136,
1265,
3773,
2932,
33,
343,
8863,
377,
202,
759,
588,
3543,
7675,
4661,
2189,
2932,
267,
343,
315,
397,
336,
3543,
7675,
588,
8575,
10663,
3639,
1122,
950,
273,
638,
31,
3639,
368,
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
] |
if (distanceFromEdge < MIN_FASTVIEW_SIZE) { distanceFromEdge = MIN_FASTVIEW_SIZE; }
|
public void widgetSelected(SelectionEvent e) { if (currentPane != null) { Rectangle bounds = clientComposite.getClientArea(); Point location = new Point(e.x, e.y); int distanceFromEdge = Geometry.getDistanceFromEdge(bounds, location, side); if (distanceFromEdge < MIN_FASTVIEW_SIZE) { distanceFromEdge = MIN_FASTVIEW_SIZE; } if (!(side == SWT.TOP || side == SWT.LEFT)) { distanceFromEdge -= SASH_SIZE; } setSize(distanceFromEdge); if (e.detail != SWT.DRAG) { updateFastViewSashBounds();// getPresentation().getControl().moveAbove(null);// currentPane.moveAbove(null); // sash.moveAbove(null); //currentPane.getControl().redraw(); sash.redraw(); } } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/8367ec8d82ef68c8daa2c2966aa8a908fd214f93/FastViewPane.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/FastViewPane.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
1082,
202,
430,
261,
2972,
8485,
480,
446,
13,
288,
9506,
202,
19463,
4972,
273,
1004,
9400,
18,
588,
1227,
5484,
5621,
9506,
202,
2148,
2117,
273,
394,
4686,
12,
73,
18,
92,
16,
425,
18,
93,
1769,
9506,
202,
474,
3888,
1265,
6098,
273,
8344,
18,
588,
7200,
1265,
6098,
12,
10576,
16,
2117,
16,
4889,
1769,
9506,
202,
430,
261,
8969,
1265,
6098,
411,
6989,
67,
2046,
882,
12145,
67,
4574,
13,
288,
6862,
202,
8969,
1265,
6098,
273,
6989,
67,
2046,
882,
12145,
67,
4574,
31,
9506,
202,
97,
6862,
9506,
202,
430,
16051,
12,
5564,
422,
348,
8588,
18,
10462,
747,
4889,
422,
348,
8588,
18,
10066,
3719,
288,
6862,
202,
8969,
1265,
6098,
3947,
348,
10793,
67,
4574,
31,
9506,
202,
97,
6862,
9506,
202,
542,
1225,
12,
8969,
1265,
6098,
1769,
6862,
9506,
202,
430,
261,
73,
18,
8992,
480,
348,
8588,
18,
6331,
1781,
13,
288,
6862,
202,
2725,
12305,
1767,
55,
961,
5694,
5621,
759,
6862,
202,
588,
6351,
367,
7675,
588,
3367,
7675,
8501,
25477,
12,
2011,
1769,
759,
6862,
202,
2972,
8485,
18,
8501,
25477,
12,
2011,
1769,
368,
6862,
202,
87,
961,
18,
8501,
25477,
12,
2011,
1769,
6862,
202,
759,
2972,
8485,
18,
588,
3367,
7675,
1118,
1899,
5621,
6862,
202,
87,
961,
18,
1118,
1899,
5621,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
1082,
202,
430,
261,
2972,
8485,
480,
446,
13,
288,
9506,
202,
19463,
4972,
273,
1004,
9400,
18,
588,
1227,
5484,
5621,
9506,
202,
2148,
2117,
273,
394,
4686,
12,
73,
18,
92,
16,
425,
18,
93,
1769,
9506,
202,
474,
3888,
1265,
6098,
273,
8344,
18,
588,
7200,
1265,
6098,
12,
10576,
16,
2117,
16,
4889,
1769,
9506,
202,
430,
261,
8969,
1265,
6098,
411,
6989,
67,
2046,
882,
12145,
67,
4574,
13,
288,
6862,
202,
8969,
1265,
6098,
273,
6989,
67,
2046,
882,
12145,
67,
4574,
31,
9506,
202,
97,
6862,
9506,
202,
430,
16051,
12,
5564,
422,
348,
8588,
18,
10462,
747,
4889,
422,
2
] |
|
public AbstractOpenWizardWorkbenchAction(IWorkbench workbench, String label, Class[] activatedOnTypes, boolean acceptEmptySelection) { super(workbench, label, null, acceptEmptySelection);
|
protected AbstractOpenWizardWorkbenchAction() {
|
public AbstractOpenWizardWorkbenchAction(IWorkbench workbench, String label, Class[] activatedOnTypes, boolean acceptEmptySelection) { super(workbench, label, null, acceptEmptySelection); }
|
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/92877881c60dbe9d268d55e932364742a450a0a8/AbstractOpenWizardWorkbenchAction.java/buggy/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/AbstractOpenWizardWorkbenchAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4115,
3678,
27130,
2421,
22144,
1803,
12,
45,
2421,
22144,
1440,
22144,
16,
514,
1433,
16,
1659,
8526,
14892,
1398,
2016,
16,
1250,
2791,
1921,
6233,
13,
288,
202,
202,
9565,
12,
1252,
22144,
16,
1433,
16,
446,
16,
2791,
1921,
6233,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
225,
202,
482,
4115,
3678,
27130,
2421,
22144,
1803,
12,
45,
2421,
22144,
1440,
22144,
16,
514,
1433,
16,
1659,
8526,
14892,
1398,
2016,
16,
1250,
2791,
1921,
6233,
13,
288,
202,
202,
9565,
12,
1252,
22144,
16,
1433,
16,
446,
16,
2791,
1921,
6233,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
throw new NoSuchElementException("This cursor isn't storing BackPointers.");
|
throw new NoSuchElementException("This cursor isn't storing BackPointers.");
|
public BackPointer[] getBackPointers(int[] coords) { throw new NoSuchElementException("This cursor isn't storing BackPointers."); }
|
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/dc7b3edc7f85e7b94903a263787fdbfcd26d71e3/PairwiseDP.java/buggy/src/org/biojava/bio/dp/PairwiseDP.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4297,
4926,
8526,
336,
2711,
27452,
12,
474,
8526,
6074,
13,
288,
202,
12849,
394,
23104,
2932,
2503,
3347,
5177,
1404,
15729,
4297,
27452,
1199,
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,
4297,
4926,
8526,
336,
2711,
27452,
12,
474,
8526,
6074,
13,
288,
202,
12849,
394,
23104,
2932,
2503,
3347,
5177,
1404,
15729,
4297,
27452,
1199,
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
] |
} }
|
} }
|
private void compute(SIRSplitJoin sj) { // fill in the execution count info for this HashMap[] execCount = SIRScheduler.getExecutionCounts(sj); for (int i=0; i<sj.size(); i++) { // get the steady-state count int[] count = (int[])execCount[1].get(sj.get(i)); if (count==null) { this.child[i] = 0; } else { this.child[i] = count[0]; } } // infer how many times the splitter, joiner runs int[] splitWeights = sj.getSplitter().getWeights(); int[] joinWeights = sj.getJoiner().getWeights(); // infer how many times the splitter, joiner runs // beware of sources in splits int index = -1; boolean nullSplit = false, nullJoin = false; for (int i=0; i<child.length;i++) { if (child[i]!=0 && splitWeights[i]!=0 && joinWeights[i]!=0) { index = i; break; } if (i==child.length-1) { // trying to fuse null split or join -- assume weight // on opposite is okay index = i; if (splitWeights[i]==0) { nullSplit = true; } else { nullJoin = true; } // Utils.fail("Think we're trying to fuse a null split or something--error"); } } if (nullSplit) { this.splitter = 0; } else { this.splitter = child[index] * ((SIRFilter)sj.get(index)).getPopInt() / splitWeights[index]; // make sure we came out even assert this.splitter * splitWeights[index] == this.child[index] * ((SIRFilter)sj.get(index)).getPopInt(); } // now for joiner if (nullJoin) { this.joiner = 0; } else { this.joiner = this.child[index] * ((SIRFilter)sj.get(index)).getPushInt() / joinWeights[index]; // make sure we come out even assert this.joiner * joinWeights[index] == this.child[index] * ((SIRFilter)sj.get(index)).getPushInt(); } }
|
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/03ef03e314c1f2eb8688316cfd664d255ee4592c/FuseSimpleSplit.java/buggy/streams/src/at/dms/kjc/sir/lowering/fusion/FuseSimpleSplit.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3671,
12,
2320,
54,
5521,
4572,
30252,
13,
288,
202,
565,
368,
3636,
316,
326,
4588,
1056,
1123,
364,
333,
202,
565,
4317,
8526,
1196,
1380,
273,
5705,
54,
11870,
18,
588,
3210,
9211,
12,
87,
78,
1769,
202,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
87,
78,
18,
1467,
5621,
277,
27245,
288,
202,
202,
759,
336,
326,
384,
684,
93,
17,
2019,
1056,
202,
202,
474,
8526,
1056,
273,
261,
474,
63,
5717,
4177,
1380,
63,
21,
8009,
588,
12,
87,
78,
18,
588,
12,
77,
10019,
202,
202,
430,
261,
1883,
631,
2011,
13,
288,
1082,
565,
333,
18,
3624,
63,
77,
65,
273,
374,
31,
202,
202,
97,
469,
288,
1082,
565,
333,
18,
3624,
63,
77,
65,
273,
1056,
63,
20,
15533,
202,
202,
97,
202,
565,
289,
202,
565,
368,
12455,
3661,
4906,
4124,
326,
21553,
16,
29620,
7597,
202,
565,
509,
8526,
1416,
16595,
273,
30252,
18,
588,
26738,
7675,
588,
16595,
5621,
202,
565,
509,
8526,
1233,
16595,
273,
30252,
18,
588,
4572,
264,
7675,
588,
16595,
5621,
202,
565,
368,
12455,
3661,
4906,
4124,
326,
21553,
16,
29620,
7597,
1082,
565,
368,
324,
359,
834,
434,
5550,
316,
11019,
202,
565,
509,
770,
273,
300,
21,
31,
202,
565,
1250,
446,
5521,
273,
629,
16,
446,
4572,
273,
629,
31,
202,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
3624,
18,
2469,
31,
77,
27245,
288,
202,
202,
430,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3671,
12,
2320,
54,
5521,
4572,
30252,
13,
288,
202,
565,
368,
3636,
316,
326,
4588,
1056,
1123,
364,
333,
202,
565,
4317,
8526,
1196,
1380,
273,
5705,
54,
11870,
18,
588,
3210,
9211,
12,
87,
78,
1769,
202,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
87,
78,
18,
1467,
5621,
277,
27245,
288,
202,
202,
759,
336,
326,
384,
684,
93,
17,
2019,
1056,
202,
202,
474,
8526,
1056,
273,
261,
474,
63,
5717,
4177,
1380,
63,
21,
8009,
588,
12,
87,
78,
18,
588,
12,
77,
10019,
202,
202,
430,
261,
1883,
631,
2011,
13,
288,
1082,
565,
333,
18,
3624,
63,
77,
65,
273,
374,
31,
202,
202,
97,
2
] |
state = gData.stateStack[gData.stateStackTop]; state.continuation_pc = currentContinuation_pc; state.continuation_op = currentContinuation_op; state.savedBackTrackLast = gData.backTrackLast; state.index = gData.cp; ++gData.stateStackTop;
|
executeREBytecode(REGlobalData gData, char[] chars, int end) { int pc = 0; byte program[] = gData.regexp.program; int op = program[pc++]; int currentContinuation_op; int currentContinuation_pc; boolean result = false; currentContinuation_pc = 0; currentContinuation_op = REOP_END;if (debug) {System.out.println("Input = \"" + new String(chars) + "\", start at " + gData.cp);} for (;;) {if (debug) {System.out.println("Testing at " + gData.cp + ", op = " + op);} switch (op) { case REOP_EMPTY: result = true; break; case REOP_BOL: if (gData.cp != 0) { if (gData.multiline || ((gData.regexp.flags & JSREG_MULTILINE) != 0)) { if (!isLineTerm(chars[gData.cp - 1])) { result = false; break; } } else { result = false; break; } } result = true; break; case REOP_EOL: if (gData.cp != end) { if (gData.multiline || ((gData.regexp.flags & JSREG_MULTILINE) != 0)) { if (!isLineTerm(chars[gData.cp])) { result = false; break; } } else { result = false; break; } } result = true; break; case REOP_WBDRY: result = ((gData.cp == 0 || !isWord(chars[gData.cp - 1])) ^ !((gData.cp < end) && isWord(chars[gData.cp]))); break; case REOP_WNONBDRY: result = ((gData.cp == 0 || !isWord(chars[gData.cp - 1])) ^ ((gData.cp < end) && isWord(chars[gData.cp]))); break; case REOP_DOT: result = (gData.cp != end && !isLineTerm(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_DIGIT: result = (gData.cp != end && isDigit(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONDIGIT: result = (gData.cp != end && !isDigit(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_SPACE: result = (gData.cp != end && isREWhiteSpace(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONSPACE: result = (gData.cp != end && !isREWhiteSpace(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_ALNUM: result = (gData.cp != end && isWord(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONALNUM: result = (gData.cp != end && !isWord(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_FLAT: { int offset = GET_ARG(program, pc); pc += ARG_LEN; int length = GET_ARG(program, pc); pc += ARG_LEN; result = flatNMatcher(gData, offset, length, chars, end); } break; case REOP_FLATi: { int offset = GET_ARG(program, pc); pc += ARG_LEN; int length = GET_ARG(program, pc); pc += ARG_LEN; result = flatNIMatcher(gData, offset, length, chars, end); } break; case REOP_FLAT1: { char matchCh = (char)(program[pc++] & 0xFF); result = (gData.cp != end && chars[gData.cp] == matchCh); if (result) { gData.cp++; } } break; case REOP_FLAT1i: { char matchCh = (char)(program[pc++] & 0xFF); result = (gData.cp != end && upcase(chars[gData.cp]) == upcase(matchCh)); if (result) { gData.cp++; } } break; case REOP_UCFLAT1: { char matchCh = (char)GET_ARG(program, pc); pc += ARG_LEN; result = (gData.cp != end && chars[gData.cp] == matchCh); if (result) { gData.cp++; } } break; case REOP_UCFLAT1i: { char matchCh = (char)GET_ARG(program, pc); pc += ARG_LEN; result = (gData.cp != end && upcase(chars[gData.cp]) == upcase(matchCh)); if (result) { gData.cp++; } } break; case REOP_ALT: { int nextpc; byte nextop; REProgState state; state = gData.stateStack[gData.stateStackTop]; state.continuation_pc = currentContinuation_pc; state.continuation_op = currentContinuation_op; ++gData.stateStackTop; nextpc = pc + GET_OFFSET(program, pc); nextop = program[nextpc++]; pushBackTrackState(gData, nextop, nextpc); pc += ARG_LEN; op = program[pc++]; } continue; case REOP_JUMP: { int offset; REProgState state; --gData.stateStackTop; state = gData.stateStack[gData.stateStackTop]; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; offset = GET_OFFSET(program, pc); pc += offset; op = program[pc++]; } continue; case REOP_LPAREN: { int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; gData.set_parens(parenIndex, gData.cp, 0); op = program[pc++]; } continue; case REOP_RPAREN: { int cap_index; int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; cap_index = gData.parens_index(parenIndex); gData.set_parens(parenIndex, cap_index, gData.cp - cap_index); if (parenIndex > gData.lastParen) gData.lastParen = parenIndex; op = program[pc++]; } continue; case REOP_BACKREF: { int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; result = backrefMatcher(gData, parenIndex, chars, end); } break; case REOP_CLASS: { int index = GET_ARG(program, pc); pc += ARG_LEN; if (gData.cp != end) { if (classMatcher(gData, gData.regexp.classList[index], chars[gData.cp])) { gData.cp++; result = true; break; } } result = false; } break; case REOP_ASSERT: case REOP_ASSERT_NOT: { byte testOp; REProgState state; if (op == REOP_ASSERT) { testOp = REOP_ASSERTTEST; } else { testOp = REOP_ASSERTNOTTEST; } state = gData.stateStack[gData.stateStackTop]; state.continuation_pc = currentContinuation_pc; state.continuation_op = currentContinuation_op; state.savedBackTrackLast = gData.backTrackLast; state.index = gData.cp; ++gData.stateStackTop; pushBackTrackState(gData, testOp, pc + GET_OFFSET(program, pc)); pc += ARG_LEN; op = program[pc++]; } continue; case REOP_ASSERTTEST: case REOP_ASSERTNOTTEST: { REProgState state; --gData.stateStackTop; state = gData.stateStack[gData.stateStackTop]; gData.cp = state.index; gData.backTrackLast = state.savedBackTrackLast; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; if (result) { if (op == REOP_ASSERTTEST) { result = true; } else { result = false; } } else { if (op == REOP_ASSERTTEST) { // Do nothing } else { result = true; } } } break; case REOP_STAR: case REOP_PLUS: case REOP_OPT: case REOP_QUANT: case REOP_MINIMALSTAR: case REOP_MINIMALPLUS: case REOP_MINIMALOPT: case REOP_MINIMALQUANT: { REProgState state; int min, max; boolean greedy = false; switch (op) { case REOP_STAR: greedy = true; // fallthrough case REOP_MINIMALSTAR: min = 0; max = -1; break; case REOP_PLUS: greedy = true; // fallthrough case REOP_MINIMALPLUS: min = 1; max = -1; break; case REOP_OPT: greedy = true; // fallthrough case REOP_MINIMALOPT: min = 0; max = 1; break; case REOP_QUANT: greedy = true; // fallthrough case REOP_MINIMALQUANT: min = GET_ARG(program, pc); pc += ARG_LEN; max = GET_ARG(program, pc); pc += ARG_LEN; break; default: throw Kit.codeBug(); } state = gData.stateStack[gData.stateStackTop]; state.min = min; state.max = max; state.index = gData.cp; state.continuation_pc = currentContinuation_pc; state.continuation_op = currentContinuation_op; ++gData.stateStackTop; if (greedy) { currentContinuation_op = REOP_REPEAT; currentContinuation_pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc); /* Step over <parencount>, <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { if (min != 0) { currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; /* <parencount> <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { pushBackTrackState(gData, REOP_MINIMALREPEAT, pc); --gData.stateStackTop; pc += 2 * ARG_LEN; // <parencount> & <parenindex> pc = pc + GET_OFFSET(program, pc); op = program[pc++]; } } } continue; case REOP_ENDCHILD: pc = currentContinuation_pc; op = currentContinuation_op; continue; case REOP_REPEAT: { REProgState state; --gData.stateStackTop; state = gData.stateStack[gData.stateStackTop]; if (!result) { // // There's been a failure, see if we have enough // children. // if (state.min == 0) result = true; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; /* <parencount> & <parenindex> */ pc = pc + GET_OFFSET(program, pc); break; } else { if (state.min == 0 && gData.cp == state.index) { // matched an empty string, that'll get us nowhere result = false; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); break; } if (state.min != 0) state.min--; if (state.max != -1) state.max--; if (state.max == 0) { result = true; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); break; } state.index = gData.cp; ++gData.stateStackTop; currentContinuation_op = REOP_REPEAT; currentContinuation_pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc); int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; op = program[pc++]; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } } } continue; case REOP_MINIMALREPEAT: { REProgState state; --gData.stateStackTop; state = gData.stateStack[gData.stateStackTop]; if (!result) { // // Non-greedy failure - try to consume another child. // if (state.max == -1 || state.max > 0) { state.index = gData.cp; currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } ++gData.stateStackTop; op = program[pc++]; continue; } else { // Don't need to adjust pc since we're going to pop. currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; break; } } else { if (state.min == 0 && gData.cp == state.index) { // Matched an empty string, that'll get us nowhere. result = false; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; break; } if (state.min != 0) state.min--; if (state.max != -1) state.max--; if (state.min != 0) { currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } state.index = gData.cp; ++gData.stateStackTop; op = program[pc++]; } else { currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; state.index = gData.cp; ++gData.stateStackTop; pushBackTrackState(gData, REOP_MINIMALREPEAT, pc); --gData.stateStackTop; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); op = program[pc++]; } continue; } } case REOP_END: return true; default: throw Kit.codeBug(); } /* * If the match failed and there's a backtrack option, take it. * Otherwise this is a complete and utter failure. */ if (!result) { REBackTrackData backTrackData = gData.backTrackLast; if (backTrackData != null) { gData.backTrackLast = backTrackData.previous; gData.lastParen = backTrackData.lastParen; // XXX: If backTrackData will no longer be used, then // there is no need to clone backTrackData.parens if (backTrackData.parens != null) { gData.parens = (long[])backTrackData.parens.clone(); } gData.cp = backTrackData.cp; for (int k = 0; k < backTrackData.precedingStateTop; k++) gData.stateStack[k] = backTrackData.precedingState[k]; gData.stateStackTop = backTrackData.precedingStateTop + 1; gData.stateStack[gData.stateStackTop - 1] = backTrackData.currentState; currentContinuation_op = gData.stateStack[gData.stateStackTop - 1].continuation_op; currentContinuation_pc = gData.stateStack[gData.stateStackTop - 1].continuation_pc; pc = backTrackData.continuation_pc; op = backTrackData.continuation_op; continue; } else return false; } /* * Continue with the expression. If this the end of the child, use * the current continuation. */ op = program[pc++]; if (op == REOP_ENDCHILD) { pc = currentContinuation_pc; op = currentContinuation_op; } } }
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/bfc17d4124cf8110e97525c9b240855202f5ac65/NativeRegExp.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1836,
862,
858,
16651,
12,
862,
5160,
751,
314,
751,
16,
1149,
8526,
5230,
16,
509,
679,
13,
565,
288,
3639,
509,
6125,
273,
374,
31,
3639,
1160,
5402,
8526,
273,
314,
751,
18,
17745,
18,
12890,
31,
3639,
509,
1061,
273,
5402,
63,
2436,
9904,
15533,
3639,
509,
783,
660,
23946,
67,
556,
31,
3639,
509,
783,
660,
23946,
67,
2436,
31,
3639,
1250,
563,
273,
629,
31,
3639,
783,
660,
23946,
67,
2436,
273,
374,
31,
3639,
783,
660,
23946,
67,
556,
273,
2438,
3665,
67,
4415,
31,
430,
261,
4148,
13,
288,
3163,
18,
659,
18,
8222,
2932,
1210,
273,
11843,
397,
394,
514,
12,
7549,
13,
397,
1548,
3113,
787,
622,
315,
397,
314,
751,
18,
4057,
1769,
97,
3639,
364,
261,
25708,
13,
288,
430,
261,
4148,
13,
288,
3163,
18,
659,
18,
8222,
2932,
22218,
622,
315,
397,
314,
751,
18,
4057,
397,
3104,
1061,
273,
315,
397,
1061,
1769,
97,
5411,
1620,
261,
556,
13,
288,
5411,
648,
2438,
3665,
67,
13625,
30,
7734,
563,
273,
638,
31,
7734,
898,
31,
5411,
648,
2438,
3665,
67,
38,
1741,
30,
7734,
309,
261,
75,
751,
18,
4057,
480,
374,
13,
288,
10792,
309,
261,
75,
751,
18,
5421,
12554,
747,
18701,
14015,
75,
751,
18,
17745,
18,
7133,
473,
6756,
5937,
67,
12845,
30690,
13,
480,
374,
3719,
288,
13491,
309,
16051,
291,
1670,
4065,
12,
7549,
63,
75,
751,
18,
4057,
300,
404,
22643,
288,
18701,
563,
273,
629,
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,
1836,
862,
858,
16651,
12,
862,
5160,
751,
314,
751,
16,
1149,
8526,
5230,
16,
509,
679,
13,
565,
288,
3639,
509,
6125,
273,
374,
31,
3639,
1160,
5402,
8526,
273,
314,
751,
18,
17745,
18,
12890,
31,
3639,
509,
1061,
273,
5402,
63,
2436,
9904,
15533,
3639,
509,
783,
660,
23946,
67,
556,
31,
3639,
509,
783,
660,
23946,
67,
2436,
31,
3639,
1250,
563,
273,
629,
31,
3639,
783,
660,
23946,
67,
2436,
273,
374,
31,
3639,
783,
660,
23946,
67,
556,
273,
2438,
3665,
67,
4415,
31,
430,
261,
4148,
13,
288,
3163,
18,
659,
18,
8222,
2932,
1210,
273,
11843,
397,
394,
514,
12,
7549,
13,
397,
1548,
3113,
787,
622,
315,
397,
314,
2
] |
|
public Box layout( Context c, Element parent, Node text ) {
|
public Box layout(Context c, Element parent, Node text) {
|
public Box layout( Context c, Element parent, Node text ) { this.parent = parent; this.text = text; //Box box = new AnonymousBlockBox(text); Box box = super.layout( c, parent ); //u.p("AnonymousBoxLayout.layout: returning: " + box); return box; }
|
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/a02f21737e5cac245dc17710370c9c1eda2116b3/AnonymousBoxLayout.java/buggy/src/java/org/xhtmlrenderer/layout/AnonymousBoxLayout.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8549,
3511,
12,
1042,
276,
16,
3010,
982,
16,
2029,
977,
13,
288,
3639,
333,
18,
2938,
273,
982,
31,
3639,
333,
18,
955,
273,
977,
31,
3639,
368,
3514,
3919,
273,
394,
29775,
1768,
3514,
12,
955,
1769,
3639,
8549,
3919,
273,
2240,
18,
6741,
12,
276,
16,
982,
11272,
3639,
368,
89,
18,
84,
2932,
18792,
3514,
3744,
18,
6741,
30,
5785,
30,
315,
397,
3919,
1769,
3639,
327,
3919,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8549,
3511,
12,
1042,
276,
16,
3010,
982,
16,
2029,
977,
13,
288,
3639,
333,
18,
2938,
273,
982,
31,
3639,
333,
18,
955,
273,
977,
31,
3639,
368,
3514,
3919,
273,
394,
29775,
1768,
3514,
12,
955,
1769,
3639,
8549,
3919,
273,
2240,
18,
6741,
12,
276,
16,
982,
11272,
3639,
368,
89,
18,
84,
2932,
18792,
3514,
3744,
18,
6741,
30,
5785,
30,
315,
397,
3919,
1769,
3639,
327,
3919,
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
] |
tmp_state=msg_listener.getState(); } catch(Throwable t) {
|
tmp_state = msg_listener.getState(); } catch (Throwable t) {
|
public void passUp(Event evt) { byte[] tmp_state=null; switch(evt.getType()) { case Event.MSG: if(msg_listener != null) msg_listener.receive((Message)evt.getArg()); break; case Event.GET_APPLSTATE: // reply with GET_APPLSTATE_OK if(msg_listener != null) { try { tmp_state=msg_listener.getState(); } catch(Throwable t) { log.error("failed getting state from message listener (" + msg_listener + ")", t); } } channel.returnState(tmp_state); break; case Event.GET_STATE_OK: if(msg_listener != null) { try { msg_listener.setState((byte[])evt.getArg()); } catch(ClassCastException cast_ex) { if(log.isErrorEnabled()) log.error("received SetStateEvent, but argument " + evt.getArg() + " is not serializable. Discarding message."); } } break; case Event.VIEW_CHANGE: View v=(View)evt.getArg(); Vector new_mbrs=v.getMembers(); if(new_mbrs != null) { members.removeAllElements(); for(int i=0; i < new_mbrs.size(); i++) members.addElement(new_mbrs.elementAt(i)); } if(membership_listener != null) membership_listener.viewAccepted(v); break;//// case Event.SET_LOCAL_ADDRESS:// local_addr=(Address)evt.getArg();// break; case Event.SUSPECT: if(membership_listener != null) membership_listener.suspect((Address)evt.getArg()); break; case Event.BLOCK: if(membership_listener != null) membership_listener.block(); break; } }
|
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/9b133caccdd70cd06c1674ee2a42e75071fdc287/MessageDispatcher.java/clean/src/org/jgroups/blocks/MessageDispatcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1342,
1211,
12,
1133,
6324,
13,
288,
5411,
1160,
8526,
1853,
67,
2019,
33,
2011,
31,
5411,
1620,
12,
73,
11734,
18,
588,
559,
10756,
288,
7734,
648,
2587,
18,
11210,
30,
10792,
309,
12,
3576,
67,
12757,
480,
446,
13,
13491,
1234,
67,
12757,
18,
18149,
12443,
1079,
13,
73,
11734,
18,
588,
4117,
10663,
10792,
898,
31,
7734,
648,
2587,
18,
3264,
67,
2203,
6253,
7998,
30,
368,
4332,
598,
4978,
67,
2203,
6253,
7998,
67,
3141,
10792,
309,
12,
3576,
67,
12757,
480,
446,
13,
288,
13491,
775,
288,
18701,
1853,
67,
2019,
33,
3576,
67,
12757,
18,
588,
1119,
5621,
13491,
289,
13491,
1044,
12,
15155,
268,
13,
288,
18701,
613,
18,
1636,
2932,
7307,
8742,
919,
628,
883,
2991,
7566,
397,
1234,
67,
12757,
397,
7310,
16,
268,
1769,
13491,
289,
10792,
289,
10792,
1904,
18,
2463,
1119,
12,
5645,
67,
2019,
1769,
10792,
898,
31,
7734,
648,
2587,
18,
3264,
67,
7998,
67,
3141,
30,
10792,
309,
12,
3576,
67,
12757,
480,
446,
13,
288,
13491,
775,
288,
18701,
1234,
67,
12757,
18,
542,
1119,
12443,
7229,
63,
5717,
73,
11734,
18,
588,
4117,
10663,
13491,
289,
13491,
1044,
12,
797,
22768,
4812,
67,
338,
13,
288,
18701,
309,
12,
1330,
18,
291,
668,
1526,
10756,
613,
18,
1636,
2932,
15213,
1000,
1119,
1133,
16,
1496,
1237,
315,
397,
4766,
565,
6324,
18,
588,
4117,
1435,
397,
315,
353,
486,
15635,
18,
21643,
310,
883,
1199,
1769,
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,
540,
1071,
918,
1342,
1211,
12,
1133,
6324,
13,
288,
5411,
1160,
8526,
1853,
67,
2019,
33,
2011,
31,
5411,
1620,
12,
73,
11734,
18,
588,
559,
10756,
288,
7734,
648,
2587,
18,
11210,
30,
10792,
309,
12,
3576,
67,
12757,
480,
446,
13,
13491,
1234,
67,
12757,
18,
18149,
12443,
1079,
13,
73,
11734,
18,
588,
4117,
10663,
10792,
898,
31,
7734,
648,
2587,
18,
3264,
67,
2203,
6253,
7998,
30,
368,
4332,
598,
4978,
67,
2203,
6253,
7998,
67,
3141,
10792,
309,
12,
3576,
67,
12757,
480,
446,
13,
288,
13491,
775,
288,
18701,
1853,
67,
2019,
33,
3576,
67,
12757,
18,
588,
1119,
5621,
13491,
289,
13491,
1044,
12,
15155,
268,
13,
288,
18701,
613,
18,
2
] |
return name + " " + (item != null ? item.toString() : "");
|
return name;
|
public String toString() { return name + " " + (item != null ? item.toString() : ""); }
|
49846 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49846/09de3b801384c87038866559a281bbef074f8374/Target.java/buggy/java/de/dfki/lt/mary/unitselection/Target.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
565,
288,
3639,
327,
508,
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,
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,
514,
1762,
1435,
565,
288,
3639,
327,
508,
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,
-100
] |
bcfgSelectAllButton.setText(AspectJUIPlugin.getResourceString("newResourcesWizard.selectAllConfigurations"));
|
bcfgSelectAllButton.setText(UIMessages.newResourcesWizard_selectAllConfigurations);
|
public void createControl(Composite composite) { // Initialize the top level container for the controls topLevel = new Composite(composite, SWT.NONE); topLevel.setLayout(new GridLayout()); // Inform the user what they have to do via a label Label l = new Label(topLevel, SWT.NONE); l.setText(AspectJUIPlugin.getResourceString("newResourcesWizard.instructions")); // Create a two column grid, left hand column is for resources, right hand column is for build config files GridLayout glayout = new GridLayout(); Group group = new Group(topLevel, SWT.SHADOW_NONE); group.setLayoutData(new GridData(GridData.FILL_BOTH)); glayout.numColumns = 2; group.setLayout(glayout); // Calculate the appropriate path to trim off the full resource paths, so that // they present nicely in the lists. IPath trimPath = AspectJPlugin.getDefault().getCurrentProject().getLocation(); trimPath = trimPath.removeLastSegments(1); String trimPathString = new String(trimPath.toOSString() + File.separator); // Populate the left hand group, a list and two buttons (selectAll/deselectAll) Group resGroup = new Group(group, SWT.NONE); GridLayout resLayout = new GridLayout(); resLayout.numColumns = 1; resGroup.setLayout(resLayout); resGroup.setLayoutData(new GridData(GridData.FILL_BOTH)); // The list of resources is presented as a checkbox tree newResourcesTree = new Tree(resGroup, SWT.CHECK | SWT.MULTI); newResourcesTree.setLayoutData(new GridData(GridData.FILL_BOTH)); ListIterator resIterator = newResourcesList.listIterator(); while (resIterator.hasNext()) { IResource iresource = (IResource) resIterator.next(); String absolutePath = iresource.getLocation().toOSString(); TreeItem titem = new TreeItem(newResourcesTree, SWT.NULL); titem.setText(absolutePath.substring(trimPathString.length())); titem.setData(iresource); // Store the iresource in the tree node for use later titem.setChecked(true); // Select all nodes by default } // Populate the right hand group, a list and two buttons (selectAll/deselectAll) Group bcfgGroup = new Group(group, SWT.NONE); GridLayout bcfgLayout = new GridLayout(); bcfgLayout.numColumns = 1; bcfgGroup.setLayout(bcfgLayout); bcfgGroup.setLayoutData(new GridData(GridData.FILL_BOTH)); // The list of resources is presented as a checkbox tree buildConfigFilesTree = new Tree(bcfgGroup, SWT.CHECK | SWT.MULTI); buildConfigFilesTree.setLayoutData(new GridData(GridData.FILL_BOTH)); ListIterator iterator = buildConfigFiles.listIterator(); while (iterator.hasNext()) { IResource iresource = (IResource) iterator.next(); String absolutePath = iresource.getLocation().toOSString(); TreeItem titem = new TreeItem(buildConfigFilesTree, SWT.NULL); titem.setText(absolutePath.substring(trimPathString.length())); titem.setData(iresource); titem.setChecked(true); } // Add the four buttons Button resSelectAllButton = new Button(group, SWT.NONE); resSelectAllButton.setText(AspectJUIPlugin.getResourceString("newResourcesWizard.selectAllResources")); resSelectAllButton.setLayoutData( new GridData(GridData.HORIZONTAL_ALIGN_CENTER)); resSelectAllButton.addSelectionListener(this); Button bcfgSelectAllButton = new Button(group, SWT.NONE); bcfgSelectAllButton.setText(AspectJUIPlugin.getResourceString("newResourcesWizard.selectAllConfigurations")); bcfgSelectAllButton.setLayoutData( new GridData(GridData.HORIZONTAL_ALIGN_CENTER)); bcfgSelectAllButton.addSelectionListener(this); Button resSelectNoneButton = new Button(group, SWT.NONE); resSelectNoneButton.setText(AspectJUIPlugin.getResourceString("newResourcesWizard.deselectAllResources")); resSelectNoneButton.setLayoutData( new GridData(GridData.HORIZONTAL_ALIGN_CENTER)); resSelectNoneButton.addSelectionListener(this); Button bcfgSelectNoneButton = new Button(group, SWT.NONE); bcfgSelectNoneButton.setText(AspectJUIPlugin.getResourceString("newResourcesWizard.deselectAllConfigurations")); bcfgSelectNoneButton.setLayoutData( new GridData(GridData.HORIZONTAL_ALIGN_CENTER)); bcfgSelectNoneButton.addSelectionListener(this); setErrorMessage(null); setMessage(null); setControl(topLevel); setPageComplete(true); }
|
13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/db7704a16405007af064b9eaf64639d601bcfc7c/ResourceAddedPage.java/buggy/org.eclipse.ajdt.ui/src/org/eclipse/ajdt/internal/ui/wizards/ResourceAddedPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
3367,
12,
9400,
9635,
13,
288,
202,
202,
759,
9190,
326,
1760,
1801,
1478,
364,
326,
11022,
202,
202,
3669,
2355,
273,
394,
14728,
12,
27676,
16,
348,
8588,
18,
9826,
1769,
202,
202,
3669,
2355,
18,
542,
3744,
12,
2704,
7145,
3744,
10663,
202,
202,
759,
657,
687,
326,
729,
4121,
2898,
1240,
358,
741,
3970,
279,
1433,
202,
202,
2224,
328,
273,
394,
5287,
12,
3669,
2355,
16,
348,
8588,
18,
9826,
1769,
202,
202,
80,
18,
542,
1528,
12,
17468,
46,
5370,
3773,
18,
588,
1420,
780,
2932,
2704,
3805,
27130,
18,
25758,
7923,
1769,
6862,
202,
759,
1788,
279,
2795,
1057,
3068,
16,
2002,
948,
1057,
353,
364,
2703,
16,
2145,
948,
1057,
353,
364,
1361,
642,
1390,
202,
202,
6313,
3744,
5118,
2012,
273,
394,
7145,
3744,
5621,
202,
202,
1114,
1041,
273,
394,
3756,
12,
3669,
2355,
16,
348,
8588,
18,
2664,
1880,
7306,
67,
9826,
1769,
202,
202,
1655,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
38,
18307,
10019,
202,
202,
75,
6741,
18,
2107,
3380,
273,
576,
31,
202,
202,
1655,
18,
542,
3744,
12,
75,
6741,
1769,
202,
202,
759,
9029,
326,
5505,
589,
358,
2209,
3397,
326,
1983,
1058,
2953,
16,
1427,
716,
202,
202,
759,
2898,
3430,
11562,
2357,
316,
326,
6035,
18,
202,
202,
45,
743,
2209,
743,
273,
2970,
1181,
46,
3773,
18,
588,
1868,
7675,
588,
3935,
4109,
7675,
588,
2735,
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,
3367,
12,
9400,
9635,
13,
288,
202,
202,
759,
9190,
326,
1760,
1801,
1478,
364,
326,
11022,
202,
202,
3669,
2355,
273,
394,
14728,
12,
27676,
16,
348,
8588,
18,
9826,
1769,
202,
202,
3669,
2355,
18,
542,
3744,
12,
2704,
7145,
3744,
10663,
202,
202,
759,
657,
687,
326,
729,
4121,
2898,
1240,
358,
741,
3970,
279,
1433,
202,
202,
2224,
328,
273,
394,
5287,
12,
3669,
2355,
16,
348,
8588,
18,
9826,
1769,
202,
202,
80,
18,
542,
1528,
12,
17468,
46,
5370,
3773,
18,
588,
1420,
780,
2932,
2704,
3805,
27130,
18,
25758,
7923,
1769,
6862,
202,
759,
1788,
279,
2795,
1057,
3068,
16,
2002,
948,
1057,
353,
364,
2703,
16,
2
] |
String message = (String) getCommandLine().getArgumentValue(SVNArgument.MESSAGE); String root = PathUtil.getCommonRoot(new String[] {destPath, srcPath});
|
String message = (String) getCommandLine().getArgumentValue(SVNArgument.MESSAGE); String root = PathUtil.getCommonRoot(new String[] { destPath, srcPath });
|
private void runRemote(PrintStream out) throws SVNException { String srcPath = getCommandLine().getURL(0); String destPath = getCommandLine().getURL(1); String message = (String) getCommandLine().getArgumentValue(SVNArgument.MESSAGE); String root = PathUtil.getCommonRoot(new String[] {destPath, srcPath}); SVNRepository repository = createRepository(root); long revNumber = -1; String revStr = (String) getCommandLine().getArgumentValue(SVNArgument.REVISION); if (revStr != null) { try { revNumber = Long.parseLong(revStr); } catch (NumberFormatException e) { revNumber = -1; } } if (revNumber < 0) { revNumber = repository.getLatestRevision(); } String deletePath = srcPath.substring(root.length()); destPath = destPath.substring(root.length()); deletePath = PathUtil.removeLeadingSlash(deletePath); destPath = PathUtil.removeLeadingSlash(destPath); destPath = PathUtil.decode(destPath); deletePath = PathUtil.decode(deletePath); ISVNEditor editor = repository.getCommitEditor(message, null); try { editor.openRoot(-1); DebugLog.log("adding: " + destPath + " from " + deletePath); editor.addDir(destPath, deletePath, revNumber); editor.closeDir(); DebugLog.log("deleting: " + deletePath + " at " + revNumber); editor.deleteEntry(deletePath, revNumber); editor.closeDir(); SVNCommitInfo info = editor.closeEdit(); out.println(); out.println("Committed revision " + info.getNewRevision() + "."); } catch (SVNException e) { if (editor != null) { try { editor.abortEdit(); } catch (SVNException inner) {} } throw e; } }
|
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/361abb3f2b60edf9d7118d2818fa082a63ad66ca/MoveCommand.java/buggy/javasvn/src/org/tmatesoft/svn/cli/command/MoveCommand.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1086,
5169,
12,
5108,
1228,
596,
13,
1216,
29537,
50,
503,
288,
3639,
514,
19497,
273,
12856,
1670,
7675,
588,
1785,
12,
20,
1769,
3639,
514,
22459,
273,
12856,
1670,
7675,
588,
1785,
12,
21,
1769,
202,
202,
780,
883,
273,
261,
780,
13,
12856,
1670,
7675,
588,
1379,
620,
12,
23927,
50,
1379,
18,
8723,
1769,
7734,
514,
1365,
273,
2666,
1304,
18,
588,
6517,
2375,
12,
2704,
514,
8526,
288,
10488,
743,
16,
19497,
22938,
3639,
29537,
50,
3305,
3352,
273,
752,
3305,
12,
3085,
1769,
3639,
1525,
5588,
1854,
273,
300,
21,
31,
3639,
514,
5588,
1585,
273,
261,
780,
13,
12856,
1670,
7675,
588,
1379,
620,
12,
23927,
50,
1379,
18,
862,
25216,
1769,
3639,
309,
261,
9083,
1585,
480,
446,
13,
288,
5411,
775,
288,
7734,
5588,
1854,
273,
3407,
18,
2670,
3708,
12,
9083,
1585,
1769,
5411,
289,
1044,
261,
1854,
9291,
425,
13,
288,
7734,
5588,
1854,
273,
300,
21,
31,
5411,
289,
3639,
289,
7734,
309,
261,
9083,
1854,
411,
374,
13,
288,
5411,
5588,
1854,
273,
3352,
18,
588,
18650,
7939,
5621,
3639,
289,
3639,
514,
1430,
743,
273,
19497,
18,
28023,
12,
3085,
18,
2469,
10663,
3639,
22459,
273,
22459,
18,
28023,
12,
3085,
18,
2469,
10663,
3639,
1430,
743,
273,
2666,
1304,
18,
4479,
19112,
11033,
12,
3733,
743,
1769,
3639,
22459,
273,
2666,
1304,
18,
4479,
19112,
11033,
12,
10488,
743,
1769,
3639,
22459,
273,
2666,
1304,
18,
3922,
12,
10488,
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,
1086,
5169,
12,
5108,
1228,
596,
13,
1216,
29537,
50,
503,
288,
3639,
514,
19497,
273,
12856,
1670,
7675,
588,
1785,
12,
20,
1769,
3639,
514,
22459,
273,
12856,
1670,
7675,
588,
1785,
12,
21,
1769,
202,
202,
780,
883,
273,
261,
780,
13,
12856,
1670,
7675,
588,
1379,
620,
12,
23927,
50,
1379,
18,
8723,
1769,
7734,
514,
1365,
273,
2666,
1304,
18,
588,
6517,
2375,
12,
2704,
514,
8526,
288,
10488,
743,
16,
19497,
22938,
3639,
29537,
50,
3305,
3352,
273,
752,
3305,
12,
3085,
1769,
3639,
1525,
5588,
1854,
273,
300,
21,
31,
3639,
514,
5588,
1585,
273,
261,
780,
13,
12856,
1670,
7675,
588,
1379,
620,
12,
23927,
50,
1379,
18,
2
] |
return aPolygon;
|
return aPolygon;
|
public java.awt.Polygon convertPolygon(SVGPolygonElementImpl svgpl, int x, int y) { java.awt.Polygon aPolygon = new java.awt.Polygon(); Vector points = svgpl.points; PathPoint p; for (int i = 0; i < points.size(); i++) { p = (PathPoint) points.elementAt(i); aPolygon.addPoint((int) (x / 1000f + p.x), pageHeight - (int) (y / 1000f - p.y)); } return aPolygon; }
|
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/e52ac744cd6cb7bf0ce3a82e6530680ed5180cbc/AWTRenderer.java/clean/src/org/apache/fop/render/awt/AWTRenderer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
2219,
88,
18,
11787,
1765,
11787,
12,
26531,
11787,
1046,
2828,
9804,
412,
16,
509,
619,
16,
509,
677,
13,
288,
565,
2252,
18,
2219,
88,
18,
11787,
279,
11787,
273,
394,
2252,
18,
2219,
88,
18,
11787,
5621,
565,
5589,
3143,
273,
9804,
412,
18,
4139,
31,
565,
2666,
2148,
293,
31,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3143,
18,
1467,
5621,
277,
27245,
288,
1377,
293,
273,
261,
743,
2148,
13,
3143,
18,
2956,
861,
12,
77,
1769,
1377,
279,
11787,
18,
1289,
2148,
12443,
474,
13,
261,
92,
342,
4336,
74,
397,
293,
18,
92,
3631,
1363,
2686,
300,
261,
474,
13,
261,
93,
342,
4336,
74,
300,
293,
18,
93,
10019,
565,
289,
565,
327,
279,
11787,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
2219,
88,
18,
11787,
1765,
11787,
12,
26531,
11787,
1046,
2828,
9804,
412,
16,
509,
619,
16,
509,
677,
13,
288,
565,
2252,
18,
2219,
88,
18,
11787,
279,
11787,
273,
394,
2252,
18,
2219,
88,
18,
11787,
5621,
565,
5589,
3143,
273,
9804,
412,
18,
4139,
31,
565,
2666,
2148,
293,
31,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3143,
18,
1467,
5621,
277,
27245,
288,
1377,
293,
273,
261,
743,
2148,
13,
3143,
18,
2956,
861,
12,
77,
1769,
1377,
279,
11787,
18,
1289,
2148,
12443,
474,
13,
261,
92,
342,
4336,
74,
397,
293,
18,
92,
3631,
1363,
2686,
300,
261,
474,
13,
261,
93,
342,
4336,
74,
300,
2
] |
int end;
|
protected void handlePPDirective(int pos) throws EndOfFileException { char[] buffer = bufferStack[bufferStackPos]; int limit = bufferLimit[bufferStackPos]; int startingLineNumber = getLineNumber(pos); skipOverWhiteSpace(); if (isLimitReached()) handleCompletionOnPreprocessorDirective("#"); //$NON-NLS-1$ // find the directive int start = ++bufferPos[bufferStackPos]; // if new line or end of buffer, we're done if (start >= limit || buffer[start] == '\n') return; boolean problem = false; char c = buffer[start]; if ((c >= 'a' && c <= 'z')) { while (++bufferPos[bufferStackPos] < limit) { c = buffer[bufferPos[bufferStackPos]]; if ((c >= 'a' && c <= 'z') || c == '_') continue; break; } --bufferPos[bufferStackPos]; int len = bufferPos[bufferStackPos] - start + 1; if (isLimitReached()) handleCompletionOnPreprocessorDirective(new String(buffer, pos, len + 1)); int type = ppKeywords.get(buffer, start, len); if (type != ppKeywords.undefined) { switch (type) { case ppInclude: handlePPInclude(pos, false, startingLineNumber); return; case ppInclude_next: handlePPInclude(pos, true, startingLineNumber); return; case ppDefine: handlePPDefine(pos, startingLineNumber); return; case ppUndef: handlePPUndef(pos); return; case ppIfdef: handlePPIfdef(pos, true); return; case ppIfndef: handlePPIfdef(pos, false); return; case ppIf: start = bufferPos[bufferStackPos] + 1; skipToNewLine(); len = bufferPos[bufferStackPos] - start; if (isLimitReached()) handleCompletionOnExpression(CharArrayUtils.extract( buffer, start, len)); branchState(BRANCH_IF); if (expressionEvaluator.evaluate(buffer, start, len, definitions, getLineNumber(bufferPos[bufferStackPos]), getCurrentFilename()) == 0) { processIf(pos, bufferPos[bufferStackPos], false); skipOverConditionalCode(true); if (isLimitReached()) handleInvalidCompletion(); } else { processIf(pos, bufferPos[bufferStackPos], true); } return; case ppElse: case ppElif: // Condition must have been true, skip over the rest if (branchState(type == ppElse ? BRANCH_ELSE : BRANCH_ELIF)) { if (type == ppElse) processElse(pos, bufferPos[bufferStackPos] + 1, false); else processElsif(pos, bufferPos[bufferStackPos], false); skipToNewLine(); skipOverConditionalCode(false); } else { handleProblem( IProblem.PREPROCESSOR_UNBALANCE_CONDITION, start, ppKeywords.findKey(buffer, start, len)); skipToNewLine(); } if (isLimitReached()) handleInvalidCompletion(); return; case ppError: skipOverWhiteSpace(); start = bufferPos[bufferStackPos] + 1; skipToNewLine(); if (bufferPos[bufferStackPos] - 1 > 0 && buffer[bufferPos[bufferStackPos] - 1] == '\r') len = bufferPos[bufferStackPos] - start - 1; else len = bufferPos[bufferStackPos] - start; handleProblem(IProblem.PREPROCESSOR_POUND_ERROR, start, CharArrayUtils.extract(buffer, start, len)); processError(pos, pos + len); break; case ppEndif: if (!branchState(BRANCH_END)) handleProblem( IProblem.PREPROCESSOR_UNBALANCE_CONDITION, start, ppKeywords.findKey(buffer, start, len)); processEndif(pos, bufferPos[bufferStackPos] + 1); break; case ppPragma: skipToNewLine(); processPragma(pos, bufferPos[bufferStackPos]); break; default: problem = true; break; } } } else problem = true; if (problem) handleProblem(IProblem.PREPROCESSOR_INVALID_DIRECTIVE, start, null); // don't know, chew up to the end of line // includes endif which is immatereal at this point skipToNewLine(); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/fdabd9645c02460b6cbe435e46247c1b6cd0db21/BaseScanner.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/BaseScanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
4750,
509,
679,
31,
918,
509,
679,
31,
1640,
6584,
13307,
12,
474,
509,
679,
31,
949,
13,
509,
679,
31,
1216,
509,
679,
31,
4403,
951,
812,
503,
509,
679,
31,
288,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
1149,
8526,
509,
679,
31,
1613,
509,
679,
31,
273,
509,
679,
31,
1613,
2624,
63,
4106,
2624,
1616,
15533,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
509,
509,
679,
31,
1800,
509,
679,
31,
273,
509,
679,
31,
1613,
3039,
63,
4106,
2624,
1616,
15533,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
509,
509,
679,
31,
5023,
31063,
509,
679,
31,
273,
509,
679,
31,
26089,
12,
917,
1769,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
2488,
4851,
23108,
5621,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
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,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
4750,
509,
679,
31,
918,
509,
679,
31,
1640,
6584,
13307,
12,
474,
509,
679,
31,
949,
13,
509,
679,
31,
1216,
509,
679,
31,
4403,
951,
812,
503,
509,
679,
31,
288,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
1149,
8526,
509,
679,
31,
1613,
509,
679,
31,
273,
509,
679,
31,
1613,
2624,
63,
4106,
2624,
1616,
15533,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
225,
509,
679,
31,
2
] |
|
File file = new File("resources/adventureData/saves/" + gameName + "." + target.channame + "." + loadSlot);
|
File file = new File("resources/adventureData/saves"); File[] files = file.listFiles(); for (int i = 0; i < files.length; i++) { String[] parts = files[i].getName().split("\\."); if (parts[0].equals(gameName)) if (parts[1].equals(target.channame)) if (parts[3].equals(Integer.toString(loadSlot))) file = files[i]; }
|
public byte[] Restore() { File file = new File("resources/adventureData/saves/" + gameName + "." + target.channame + "." + loadSlot); try { FileInputStream fis = new FileInputStream(file); byte[] data = new byte[fis.available()]; fis.read(data); return data; } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } return null; }
|
47073 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47073/51a359526ddf154c11219d8fd2e2deb0f1d3cc7a/Adventure.java/buggy/src/goat/module/Adventure.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1160,
8526,
11197,
1435,
288,
540,
1387,
585,
273,
394,
1387,
2932,
4683,
19,
361,
616,
594,
751,
19,
87,
6606,
8863,
1387,
8526,
1390,
273,
585,
18,
1098,
2697,
5621,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1390,
18,
2469,
31,
277,
27245,
288,
514,
8526,
2140,
273,
1390,
63,
77,
8009,
17994,
7675,
4939,
2932,
1695,
1199,
1769,
309,
261,
6019,
63,
20,
8009,
14963,
12,
13957,
461,
3719,
309,
261,
6019,
63,
21,
8009,
14963,
12,
3299,
18,
7472,
529,
3719,
309,
261,
6019,
63,
23,
8009,
14963,
12,
4522,
18,
10492,
12,
945,
8764,
20349,
585,
273,
1390,
63,
77,
15533,
289,
1850,
775,
288,
5411,
11907,
15324,
273,
394,
11907,
12,
768,
1769,
5411,
1160,
8526,
501,
273,
394,
1160,
63,
74,
291,
18,
5699,
1435,
15533,
5411,
15324,
18,
896,
12,
892,
1769,
5411,
327,
501,
31,
3639,
289,
1044,
261,
812,
3990,
425,
13,
288,
5411,
425,
18,
1188,
6332,
5621,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
425,
18,
1188,
6332,
5621,
3639,
289,
3639,
327,
446,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1160,
8526,
11197,
1435,
288,
540,
1387,
585,
273,
394,
1387,
2932,
4683,
19,
361,
616,
594,
751,
19,
87,
6606,
8863,
1387,
8526,
1390,
273,
585,
18,
1098,
2697,
5621,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1390,
18,
2469,
31,
277,
27245,
288,
514,
8526,
2140,
273,
1390,
63,
77,
8009,
17994,
7675,
4939,
2932,
1695,
1199,
1769,
309,
261,
6019,
63,
20,
8009,
14963,
12,
13957,
461,
3719,
309,
261,
6019,
63,
21,
8009,
14963,
12,
3299,
18,
7472,
529,
3719,
309,
261,
6019,
63,
23,
8009,
14963,
12,
4522,
18,
10492,
12,
945,
8764,
20349,
585,
273,
1390,
63,
77,
15533,
289,
1850,
775,
288,
5411,
11907,
15324,
273,
394,
2
] |
for (i=0;i<m_numAttributes;i++) if (feature_set.get(i))
|
for (i=0;i<m_numAttributes;i++) { if (feature_set.get(i)) {
|
private double estimateAccuracy(BitSet feature_set, int num_atts) throws Exception { int i; Instances newInstances; int [] fs = new int [num_atts]; double acc = 0.0; double [][] evalArray; double [] instA = new double [num_atts]; int classI = m_theInstances.classIndex(); int index = 0; for (i=0;i<m_numAttributes;i++) if (feature_set.get(i)) fs[index++] = i; // create new hash table m_entries = new Hashtable((int)(m_theInstances.numInstances() * 1.5)); // insert instances into the hash table for (i=0;i<m_numInstances;i++) { Instance inst = m_theInstances.instance(i); for (int j=0;j<fs.length;j++) if (fs[j] == classI) instA[j] = Double.MAX_VALUE; // missing for the class else if (inst.isMissing(fs[j])) instA[j] = Double.MAX_VALUE; else instA[j] = inst.value(fs[j]); insertIntoTable(inst, instA); } if (m_CVFolds == 1) { // calculate leave one out error for (i=0;i<m_numInstances;i++) { Instance inst = m_theInstances.instance(i); for (int j=0;j<fs.length;j++) if (fs[j] == classI) instA[j] = Double.MAX_VALUE; // missing for the class else if (inst.isMissing(fs[j])) instA[j] = Double.MAX_VALUE; else instA[j] = inst.value(fs[j]); double t = classifyInstanceLeaveOneOut(inst, instA); if (m_classIsNominal) { if (t == inst.classValue()) acc+=inst.weight(); } else acc += ((inst.weight() * (t - inst.classValue())) * (inst.weight() * (t - inst.classValue()))); // weight_sum += inst.weight(); } } else { m_theInstances.randomize(m_rr); m_theInstances.stratify(m_CVFolds); // calculate 10 fold cross validation error for (i=0;i<m_CVFolds;i++) { Instances insts = m_theInstances.testCV(m_CVFolds,i); acc += classifyFoldCV(insts, fs); } } if (m_classIsNominal) return (acc / m_theInstances.sumOfWeights()); else return -(Math.sqrt(acc / m_theInstances.sumOfWeights())); }
|
4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/9e72041e2204a61830b9cccfa8173a6ed2c39eb5/DecisionTable.java/buggy/weka/classifiers/DecisionTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1645,
11108,
37,
10988,
12,
5775,
694,
2572,
67,
542,
16,
509,
818,
67,
270,
3428,
13,
565,
1216,
1185,
225,
288,
565,
509,
277,
31,
565,
18357,
394,
5361,
31,
565,
509,
5378,
2662,
273,
394,
509,
306,
2107,
67,
270,
3428,
15533,
565,
1645,
4078,
273,
374,
18,
20,
31,
565,
1645,
5378,
8526,
5302,
1076,
31,
565,
1645,
5378,
1804,
37,
273,
394,
1645,
306,
2107,
67,
270,
3428,
15533,
565,
509,
667,
45,
273,
312,
67,
5787,
5361,
18,
1106,
1016,
5621,
3639,
509,
770,
273,
374,
31,
565,
364,
261,
77,
33,
20,
31,
77,
32,
81,
67,
2107,
2498,
31,
77,
27245,
1377,
309,
261,
7238,
67,
542,
18,
588,
12,
77,
3719,
202,
2556,
63,
1615,
9904,
65,
273,
277,
31,
3639,
368,
752,
394,
1651,
1014,
565,
312,
67,
8219,
273,
394,
18559,
12443,
474,
21433,
81,
67,
5787,
5361,
18,
2107,
5361,
1435,
380,
404,
18,
25,
10019,
565,
368,
2243,
3884,
1368,
326,
1651,
1014,
565,
364,
261,
77,
33,
20,
31,
77,
32,
81,
67,
2107,
5361,
31,
77,
27245,
565,
288,
1377,
5180,
1804,
273,
312,
67,
5787,
5361,
18,
1336,
12,
77,
1769,
1377,
364,
261,
474,
525,
33,
20,
31,
78,
32,
2556,
18,
2469,
31,
78,
27245,
202,
430,
261,
2556,
63,
78,
65,
422,
667,
45,
13,
202,
225,
1804,
37,
63,
78,
65,
273,
3698,
18,
6694,
67,
4051,
31,
368,
3315,
364,
326,
667,
202,
12107,
309,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1645,
11108,
37,
10988,
12,
5775,
694,
2572,
67,
542,
16,
509,
818,
67,
270,
3428,
13,
565,
1216,
1185,
225,
288,
565,
509,
277,
31,
565,
18357,
394,
5361,
31,
565,
509,
5378,
2662,
273,
394,
509,
306,
2107,
67,
270,
3428,
15533,
565,
1645,
4078,
273,
374,
18,
20,
31,
565,
1645,
5378,
8526,
5302,
1076,
31,
565,
1645,
5378,
1804,
37,
273,
394,
1645,
306,
2107,
67,
270,
3428,
15533,
565,
509,
667,
45,
273,
312,
67,
5787,
5361,
18,
1106,
1016,
5621,
3639,
509,
770,
273,
374,
31,
565,
364,
261,
77,
33,
20,
31,
77,
32,
81,
67,
2107,
2498,
31,
77,
27245,
1377,
309,
261,
7238,
67,
542,
18,
588,
12,
2
] |
indexer.getOutput().addRef(fileNumber, IndexEncoderUtil.encodeEntry( getFullyQualifiedName(binding), IIndexEncodingConstants.DERIVED, ICSearchConstants.DECLARATIONS),
|
indexer.getOutput().addDerivedDecl(fileNumber, getFullyQualifiedName(binding),
|
private void addDerivedAndFriendDeclaration(IASTName name, IBinding binding, IASTFileLocation loc, int fileNumber) throws DOMException { ASTNodeProperty prop = name.getPropertyInParent(); if (binding instanceof ICompositeType) { ICompositeType compBinding = (ICompositeType) binding; int compositeKey = compBinding.getKey(); if (compositeKey == ICPPClassType.k_class || compositeKey == ICompositeType.k_struct) { if (prop == ICPPASTBaseSpecifier.NAME) { // base class indexer.getOutput().addRef(fileNumber, IndexEncoderUtil.encodeEntry( getFullyQualifiedName(binding), IIndexEncodingConstants.DERIVED, ICSearchConstants.DECLARATIONS), loc.getNodeOffset(), loc.getNodeLength(), ICIndexStorageConstants.OFFSET); } else if (prop == IASTElaboratedTypeSpecifier.TYPE_NAME) { // friend indexer.getOutput().addRef(fileNumber, IndexEncoderUtil.encodeEntry( getFullyQualifiedName(binding), IIndexEncodingConstants.FRIEND, ICSearchConstants.DECLARATIONS), loc.getNodeOffset(), loc.getNodeLength(), ICIndexStorageConstants.OFFSET); } } } // TODO In case we want to add friend function declarations to index// else if (binding instanceof IFunction) {// IFunction funBinding = (IFunction) binding;// if (prop == IASTFunctionDeclarator.DECLARATOR_NAME) {// IASTFunctionDeclarator fDecl = (IASTFunctionDeclarator) name.getParent();// IASTNode fDeclParent = fDecl.getParent();// if (fDeclParent instanceof IASTSimpleDeclaration) {// IASTSimpleDeclaration sDecl = (IASTSimpleDeclaration) fDeclParent;// IASTDeclSpecifier declSpec = sDecl.getDeclSpecifier();// if (declSpec instanceof ICPPASTSimpleDeclSpecifier) {// ICPPASTSimpleDeclSpecifier fDeclSpec = (ICPPASTSimpleDeclSpecifier) declSpec;// if (fDeclSpec.isFriend()) {// // friend // indexer.getOutput().addRef(fileNumber, IndexEncoderUtil.encodeEntry(// getFullyQualifiedName(binding),// IIndexEncodingConstants.FRIEND,// ICSearchConstants.DECLARATIONS));// }// }// }// }// } }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/cf1d5bf0d12520585deffeb5e217fc8ff5159112/CPPGenerateIndexVisitor.java/buggy/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/index/domsourceindexer/CPPGenerateIndexVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
527,
21007,
1876,
42,
7522,
6094,
12,
45,
9053,
461,
508,
16,
467,
5250,
5085,
16,
467,
9053,
812,
2735,
1515,
16,
509,
585,
1854,
13,
1216,
4703,
503,
288,
3639,
9183,
907,
1396,
2270,
273,
508,
18,
588,
1396,
382,
3054,
5621,
3639,
309,
261,
7374,
1276,
467,
9400,
559,
13,
288,
5411,
467,
9400,
559,
1161,
5250,
273,
261,
45,
9400,
559,
13,
5085,
31,
5411,
509,
9635,
653,
273,
1161,
5250,
18,
588,
653,
5621,
5411,
309,
261,
27676,
653,
422,
467,
4258,
52,
18328,
18,
79,
67,
1106,
747,
10792,
9635,
653,
422,
467,
9400,
559,
18,
79,
67,
1697,
13,
288,
7734,
309,
261,
5986,
422,
467,
4258,
4066,
882,
2171,
21416,
18,
1985,
13,
288,
10792,
368,
1026,
667,
10792,
12635,
18,
588,
1447,
7675,
1289,
1957,
12,
768,
1854,
16,
3340,
7204,
1304,
18,
3015,
1622,
12,
27573,
10208,
93,
12345,
12,
7374,
3631,
27573,
467,
1016,
4705,
2918,
18,
30086,
16,
27573,
26899,
2979,
2918,
18,
23956,
985,
15297,
3631,
18701,
1515,
18,
588,
907,
2335,
9334,
18701,
1515,
18,
588,
907,
1782,
9334,
18701,
26899,
1016,
3245,
2918,
18,
11271,
1769,
7734,
289,
7734,
469,
309,
261,
5986,
422,
467,
9053,
4958,
378,
280,
690,
559,
21416,
18,
2399,
67,
1985,
13,
288,
10792,
368,
24271,
5397,
12635,
18,
588,
1447,
7675,
1289,
1957,
12,
768,
1854,
16,
3340,
7204,
1304,
18,
3015,
1622,
12,
27573,
10208,
93,
12345,
12,
7374,
3631,
27573,
467,
1016,
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,
527,
21007,
1876,
42,
7522,
6094,
12,
45,
9053,
461,
508,
16,
467,
5250,
5085,
16,
467,
9053,
812,
2735,
1515,
16,
509,
585,
1854,
13,
1216,
4703,
503,
288,
3639,
9183,
907,
1396,
2270,
273,
508,
18,
588,
1396,
382,
3054,
5621,
3639,
309,
261,
7374,
1276,
467,
9400,
559,
13,
288,
5411,
467,
9400,
559,
1161,
5250,
273,
261,
45,
9400,
559,
13,
5085,
31,
5411,
509,
9635,
653,
273,
1161,
5250,
18,
588,
653,
5621,
5411,
309,
261,
27676,
653,
422,
467,
4258,
52,
18328,
18,
79,
67,
1106,
747,
10792,
9635,
653,
422,
467,
9400,
559,
18,
79,
67,
1697,
13,
288,
7734,
309,
261,
5986,
422,
467,
4258,
4066,
882,
2171,
2
] |
rsvc = rs;
|
this.log = rs.getLog();
|
public JarHolder( RuntimeServices rs, String urlpath ) { rsvc = rs; this.urlpath=urlpath; init(); rsvc.info(" JarHolder : initialized JAR: " + urlpath ); }
|
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/f4adefb79ccda5d9df1f60719e0ede8f167e4089/JarHolder.java/buggy/src/java/org/apache/velocity/runtime/resource/loader/JarHolder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15644,
6064,
12,
2509,
5676,
3597,
16,
514,
880,
803,
262,
565,
288,
3639,
333,
18,
1330,
273,
3597,
18,
588,
1343,
5621,
3639,
333,
18,
718,
803,
33,
718,
803,
31,
3639,
1208,
5621,
7734,
3597,
4227,
18,
1376,
2932,
225,
15644,
6064,
294,
6454,
24728,
30,
315,
397,
880,
803,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15644,
6064,
12,
2509,
5676,
3597,
16,
514,
880,
803,
262,
565,
288,
3639,
333,
18,
1330,
273,
3597,
18,
588,
1343,
5621,
3639,
333,
18,
718,
803,
33,
718,
803,
31,
3639,
1208,
5621,
7734,
3597,
4227,
18,
1376,
2932,
225,
15644,
6064,
294,
6454,
24728,
30,
315,
397,
880,
803,
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
] |
public boolean isSet(org.quickfix.field.Symbol field)
|
public boolean isSet(quickfix.field.Symbol field)
|
public boolean isSet(org.quickfix.field.Symbol field) { return isSetField(field); }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/DerivativeSecurityList.java/clean/src/java/src/quickfix/fix43/DerivativeSecurityList.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
5335,
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,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
5335,
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,
-100,
-100
] |
this.iscFractionDigits.setEnabled( enabled
|
this.spnFractionDigits.setEnabled( enabled
|
public void setEnabled( boolean enabled ) { this.btnApproximate.setSelection( !getFormatSpecifier( ).isPrecise( ) ); this.btnApproximate.setEnabled( enabled ); this.txtDelimiter.setEnabled( enabled ); this.txtPrefix.setEnabled( enabled ); this.txtSuffix.setEnabled( enabled ); this.btnUseNumerator.setEnabled( enabled && btnApproximate.getSelection( ) ); this.btnUseDenorminator.setEnabled( enabled && btnApproximate.getSelection( ) ); if ( getFormatSpecifier( ).getNumerator( ) > 0 ) { this.btnUseNumerator.setSelection( true ); } else { this.btnUseDenorminator.setSelection( true ); } this.txtNumerator.setEnabled( enabled && btnApproximate.getSelection( ) && btnUseNumerator.getSelection( ) ); this.iscFractionDigits.setEnabled( enabled && btnApproximate.getSelection( ) && btnUseDenorminator.getSelection( ) ); super.setEnabled( enabled ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/2ad0f26f0a3c46f54066f852dc55a774ff5a1072/FormatSpecifierComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FormatSpecifierComposite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
12888,
12,
1250,
3696,
262,
202,
202,
95,
1082,
202,
2211,
18,
11898,
25789,
4988,
18,
542,
6233,
12,
401,
588,
1630,
21416,
12,
262,
18,
291,
1386,
30708,
12,
262,
11272,
1082,
202,
2211,
18,
11898,
25789,
4988,
18,
542,
1526,
12,
3696,
11272,
1082,
202,
2211,
18,
5830,
12007,
18,
542,
1526,
12,
3696,
11272,
1082,
202,
2211,
18,
5830,
2244,
18,
542,
1526,
12,
3696,
11272,
1082,
202,
2211,
18,
5830,
5791,
18,
542,
1526,
12,
3696,
11272,
1082,
202,
2211,
18,
11898,
3727,
2578,
7385,
18,
542,
1526,
12,
3696,
6862,
202,
10,
10,
10638,
25789,
4988,
18,
588,
6233,
12,
262,
11272,
1082,
202,
2211,
18,
11898,
3727,
8517,
535,
4240,
18,
542,
1526,
12,
3696,
6862,
202,
10,
10,
10638,
25789,
4988,
18,
588,
6233,
12,
262,
11272,
1082,
202,
430,
261,
10959,
21416,
12,
262,
18,
588,
2578,
7385,
12,
262,
405,
374,
262,
1082,
202,
95,
9506,
202,
2211,
18,
11898,
3727,
2578,
7385,
18,
542,
6233,
12,
638,
11272,
1082,
202,
97,
1082,
202,
12107,
1082,
202,
95,
9506,
202,
2211,
18,
11898,
3727,
8517,
535,
4240,
18,
542,
6233,
12,
638,
11272,
1082,
202,
97,
1082,
202,
2211,
18,
5830,
2578,
7385,
18,
542,
1526,
12,
3696,
6862,
202,
10,
10,
10638,
25789,
4988,
18,
588,
6233,
12,
262,
6862,
202,
10,
10,
10638,
3727,
2578,
7385,
18,
588,
6233,
12,
262,
11272,
1082,
202,
2211,
18,
291,
71,
13724,
9537,
18,
542,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
12888,
12,
1250,
3696,
262,
202,
202,
95,
1082,
202,
2211,
18,
11898,
25789,
4988,
18,
542,
6233,
12,
401,
588,
1630,
21416,
12,
262,
18,
291,
1386,
30708,
12,
262,
11272,
1082,
202,
2211,
18,
11898,
25789,
4988,
18,
542,
1526,
12,
3696,
11272,
1082,
202,
2211,
18,
5830,
12007,
18,
542,
1526,
12,
3696,
11272,
1082,
202,
2211,
18,
5830,
2244,
18,
542,
1526,
12,
3696,
11272,
1082,
202,
2211,
18,
5830,
5791,
18,
542,
1526,
12,
3696,
11272,
1082,
202,
2211,
18,
11898,
3727,
2578,
7385,
18,
542,
1526,
12,
3696,
6862,
202,
10,
10,
10638,
25789,
4988,
18,
588,
6233,
12,
262,
11272,
1082,
202,
2211,
18,
11898,
3727,
8517,
535,
2
] |
return children;
|
return this.children;
|
public AbstractPMDRecord[] getChildren() { return children; }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/360f19c4b900386d3c70a1e5c4e24aac836e05fd/PackageRecord.java/clean/pmd-eclipse-ui/src/net/sourceforge/pmd/ui/model/PackageRecord.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4115,
52,
6188,
2115,
8526,
10268,
1435,
288,
3639,
327,
333,
18,
5906,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4115,
52,
6188,
2115,
8526,
10268,
1435,
288,
3639,
327,
333,
18,
5906,
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
] |
return outerClass;
|
public static PsiClass getOutermostContainingClass(PsiClass aClass) { PsiClass outerClass = aClass; while (true) { final PsiClass containingClass = (PsiClass) PsiTreeUtil.getParentOfType(outerClass, PsiClass.class); if (containingClass != null) { outerClass = containingClass; } else { break; } } return outerClass; }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/ClassUtils.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/ClassUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
453,
7722,
797,
23141,
28055,
24344,
797,
12,
52,
7722,
797,
20148,
13,
288,
3639,
453,
7722,
797,
6390,
797,
273,
20148,
31,
3639,
1323,
261,
3767,
13,
288,
5411,
727,
453,
7722,
797,
4191,
797,
273,
261,
52,
7722,
797,
13,
453,
7722,
2471,
1304,
18,
588,
3054,
18859,
12,
14068,
797,
16,
453,
7722,
797,
18,
1106,
1769,
5411,
309,
261,
1213,
3280,
797,
480,
446,
13,
288,
7734,
6390,
797,
273,
4191,
797,
31,
5411,
289,
469,
288,
7734,
898,
31,
5411,
289,
3639,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1071,
760,
453,
7722,
797,
23141,
28055,
24344,
797,
12,
52,
7722,
797,
20148,
13,
288,
3639,
453,
7722,
797,
6390,
797,
273,
20148,
31,
3639,
1323,
261,
3767,
13,
288,
5411,
727,
453,
7722,
797,
4191,
797,
273,
261,
52,
7722,
797,
13,
453,
7722,
2471,
1304,
18,
588,
3054,
18859,
12,
14068,
797,
16,
453,
7722,
797,
18,
1106,
1769,
5411,
309,
261,
1213,
3280,
797,
480,
446,
13,
288,
7734,
6390,
797,
273,
4191,
797,
31,
5411,
289,
469,
288,
7734,
898,
31,
5411,
289,
3639,
289,
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
] |
|
desc.pluginDescriptor = null;
|
desc.pluginBundle = null;
|
public void addProvider(IConfigurationElement element) { Descriptor desc = new Descriptor(); desc.element = element; desc.pluginDescriptor = element.getDeclaringExtension() .getDeclaringPluginDescriptor(); desc.id = element.getAttribute(ATT_ID); desc.markerType = element.getAttribute(ATT_MARKER_TYPE); desc.imagePath = element.getAttribute(ATT_ICON); desc.className = element.getAttribute(ATT_PROVIDER_CLASS); if (desc.imagePath != null) { desc.imageDescriptor = getImageDescriptor(desc); } if (desc.className == null) { //Don't need to keep these references. desc.element = null; desc.pluginDescriptor = null; } descriptors.add(desc); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/42db139adc63f580638631e2801cb8a1ed81cfce/MarkerImageProviderRegistry.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/registry/MarkerImageProviderRegistry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
2249,
12,
45,
1750,
1046,
930,
13,
288,
3639,
12823,
3044,
273,
394,
12823,
5621,
3639,
3044,
18,
2956,
273,
930,
31,
3639,
3044,
18,
4094,
3187,
273,
930,
18,
588,
3456,
5968,
3625,
1435,
7734,
263,
588,
3456,
5968,
3773,
3187,
5621,
3639,
3044,
18,
350,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
734,
1769,
3639,
3044,
18,
11145,
559,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
25989,
67,
2399,
1769,
3639,
3044,
18,
2730,
743,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
21745,
1769,
3639,
3044,
18,
12434,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
26413,
67,
5237,
1769,
3639,
309,
261,
5569,
18,
2730,
743,
480,
446,
13,
288,
5411,
3044,
18,
2730,
3187,
273,
10567,
3187,
12,
5569,
1769,
3639,
289,
3639,
309,
261,
5569,
18,
12434,
422,
446,
13,
288,
5411,
368,
22293,
1404,
1608,
358,
3455,
4259,
5351,
18,
5411,
3044,
18,
2956,
273,
446,
31,
5411,
3044,
18,
4094,
3405,
273,
446,
31,
3639,
289,
3639,
14215,
18,
1289,
12,
5569,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
2249,
12,
45,
1750,
1046,
930,
13,
288,
3639,
12823,
3044,
273,
394,
12823,
5621,
3639,
3044,
18,
2956,
273,
930,
31,
3639,
3044,
18,
4094,
3187,
273,
930,
18,
588,
3456,
5968,
3625,
1435,
7734,
263,
588,
3456,
5968,
3773,
3187,
5621,
3639,
3044,
18,
350,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
734,
1769,
3639,
3044,
18,
11145,
559,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
25989,
67,
2399,
1769,
3639,
3044,
18,
2730,
743,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
21745,
1769,
3639,
3044,
18,
12434,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
26413,
67,
5237,
1769,
3639,
309,
261,
5569,
18,
2730,
2
] |
String eval(String expr) {
|
public String eval(String expr) {
|
String eval(String expr) { String result = "undefined"; if (expr == null) { return result; } ContextData contextData = currentContextData(); if (contextData == null || frameIndex >= contextData.frameCount()) { return result; } StackFrame frame = contextData.getFrame(frameIndex); if (contextData.eventThreadFlag) { Context cx = Context.getCurrentContext(); result = do_eval(cx, frame, expr); } else { synchronized (monitor) { if (insideInterruptLoop) { evalRequest = expr; evalFrame = frame; monitor.notify(); do { try { monitor.wait(); } catch (InterruptedException exc) { Thread.currentThread().interrupt(); break; } } while (evalRequest != null); result = evalResult; } } } return result; }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/2d4fc75b74d717c754829dde488ff0a7456682cc/Dim.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Dim.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
514,
5302,
12,
780,
3065,
13,
565,
288,
3639,
514,
563,
273,
315,
5978,
14432,
3639,
309,
261,
8638,
422,
446,
13,
288,
5411,
327,
563,
31,
3639,
289,
3639,
1772,
751,
819,
751,
273,
31184,
751,
5621,
3639,
309,
261,
2472,
751,
422,
446,
747,
2623,
1016,
1545,
819,
751,
18,
3789,
1380,
10756,
288,
5411,
327,
563,
31,
3639,
289,
3639,
7283,
3219,
2623,
273,
819,
751,
18,
588,
3219,
12,
3789,
1016,
1769,
3639,
309,
261,
2472,
751,
18,
2575,
3830,
4678,
13,
288,
5411,
1772,
9494,
273,
1772,
18,
588,
3935,
1042,
5621,
5411,
563,
273,
741,
67,
8622,
12,
71,
92,
16,
2623,
16,
3065,
1769,
3639,
289,
469,
288,
5411,
3852,
261,
10259,
13,
288,
7734,
309,
261,
28091,
14126,
6452,
13,
288,
10792,
5302,
691,
273,
3065,
31,
10792,
5302,
3219,
273,
2623,
31,
10792,
6438,
18,
12336,
5621,
10792,
741,
288,
13491,
775,
288,
18701,
6438,
18,
7048,
5621,
13491,
289,
1044,
261,
24485,
503,
3533,
13,
288,
18701,
4884,
18,
2972,
3830,
7675,
31847,
5621,
18701,
898,
31,
13491,
289,
10792,
289,
1323,
261,
8622,
691,
480,
446,
1769,
10792,
563,
273,
5302,
1253,
31,
7734,
289,
5411,
289,
3639,
289,
3639,
327,
563,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
514,
5302,
12,
780,
3065,
13,
565,
288,
3639,
514,
563,
273,
315,
5978,
14432,
3639,
309,
261,
8638,
422,
446,
13,
288,
5411,
327,
563,
31,
3639,
289,
3639,
1772,
751,
819,
751,
273,
31184,
751,
5621,
3639,
309,
261,
2472,
751,
422,
446,
747,
2623,
1016,
1545,
819,
751,
18,
3789,
1380,
10756,
288,
5411,
327,
563,
31,
3639,
289,
3639,
7283,
3219,
2623,
273,
819,
751,
18,
588,
3219,
12,
3789,
1016,
1769,
3639,
309,
261,
2472,
751,
18,
2575,
3830,
4678,
13,
288,
5411,
1772,
9494,
273,
1772,
18,
588,
3935,
1042,
5621,
5411,
563,
273,
741,
67,
8622,
12,
71,
92,
16,
2623,
16,
3065,
1769,
3639,
289,
469,
288,
5411,
3852,
261,
2
] |
public boolean saveSettings() {//throws IOException { File pr = _projRootSelector.getFileFromField(); if (_projRootSelector.getFileField().getText().equals("")) pr = null; _model.setProjectRoot(pr); File bd = _buildDirSelector.getFileFromField(); if (_buildDirSelector.getFileField().getText().equals("")) bd = null; _model.setBuildDirectory(bd); File wd = _workDirSelector.getFileFromField(); if (_workDirSelector.getFileField().getText().equals("")) wd = null; _model.setWorkingDirectory(wd); File mc = _mainDocumentSelector.getFileFromField(); if (_mainDocumentSelector.getFileField().getText().equals("")) mc = null; _model.setMainClass(mc); Vector<File> extras = _extraClassPathList.getValue(); ClassPathVector cpv = new ClassPathVector(); for (File cf : extras) { cpv.add(cf); } _model.setExtraClassPath(cpv); // _mainFrame.saveProject(); return true; }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/f65c5769a6637710f9e4e352487dd42cf3c9bcd0/ProjectPropertiesFrame.java/clean/drjava/src/edu/rice/cs/drjava/ui/ProjectPropertiesFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
1923,
2628,
1435,
288,
759,
15069,
1860,
288,
565,
1387,
846,
273,
389,
17995,
2375,
4320,
18,
29925,
1265,
974,
5621,
565,
309,
261,
67,
17995,
2375,
4320,
18,
29925,
974,
7675,
588,
1528,
7675,
14963,
2932,
6,
3719,
846,
273,
446,
31,
565,
389,
2284,
18,
542,
4109,
2375,
12,
683,
1769,
3639,
1387,
13837,
273,
389,
3510,
1621,
4320,
18,
29925,
1265,
974,
5621,
565,
309,
261,
67,
3510,
1621,
4320,
18,
29925,
974,
7675,
588,
1528,
7675,
14963,
2932,
6,
3719,
13837,
273,
446,
31,
565,
389,
2284,
18,
542,
3116,
2853,
12,
16410,
1769,
3639,
1387,
14452,
273,
389,
1252,
1621,
4320,
18,
29925,
1265,
974,
5621,
565,
309,
261,
67,
1252,
1621,
4320,
18,
29925,
974,
7675,
588,
1528,
7675,
14963,
2932,
6,
3719,
14452,
273,
446,
31,
565,
389,
2284,
18,
542,
14836,
2853,
12,
3623,
1769,
3639,
1387,
6108,
273,
389,
5254,
2519,
4320,
18,
29925,
1265,
974,
5621,
565,
309,
261,
67,
5254,
2519,
4320,
18,
29925,
974,
7675,
588,
1528,
7675,
14963,
2932,
6,
3719,
6108,
273,
446,
31,
565,
389,
2284,
18,
542,
6376,
797,
12,
13952,
1769,
3639,
5589,
32,
812,
34,
11875,
273,
389,
7763,
22158,
682,
18,
24805,
5621,
565,
1659,
743,
5018,
3283,
90,
273,
394,
1659,
743,
5018,
5621,
565,
364,
261,
812,
6080,
294,
11875,
13,
288,
3283,
90,
18,
1289,
12,
8522,
1769,
289,
565,
389,
2284,
18,
542,
7800,
22158,
12,
4057,
90,
1769,
377,
368,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
1923,
2628,
1435,
288,
759,
15069,
1860,
288,
565,
1387,
846,
273,
389,
17995,
2375,
4320,
18,
29925,
1265,
974,
5621,
565,
309,
261,
67,
17995,
2375,
4320,
18,
29925,
974,
7675,
588,
1528,
7675,
14963,
2932,
6,
3719,
846,
273,
446,
31,
565,
389,
2284,
18,
542,
4109,
2375,
12,
683,
1769,
3639,
1387,
13837,
273,
389,
3510,
1621,
4320,
18,
29925,
1265,
974,
5621,
565,
309,
261,
67,
3510,
1621,
4320,
18,
29925,
974,
7675,
588,
1528,
7675,
14963,
2932,
6,
3719,
13837,
273,
446,
31,
565,
389,
2284,
18,
542,
3116,
2853,
12,
16410,
1769,
3639,
1387,
14452,
273,
389,
1252,
1621,
4320,
18,
29925,
1265,
974,
5621,
565,
309,
261,
67,
1252,
2
] |
||
parse(0, 0, in.length());
|
allFound = false; foundPixels = false; numParsed = 0; in.mark(2); parse(0, 0, fileLength);
|
protected void initFile(String id) throws FormatException, IOException { super.initFile(id); in = new RandomAccessFile(id, "r"); offsets = new Vector(); chunkSizes = new Vector(); parse(0, 0, in.length()); numImages = offsets.size(); }
|
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/91859a26506b8a1d312b398da2c3ecd94e02fa60/QTReader.java/buggy/loci/formats/QTReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
316,
273,
394,
8072,
26933,
12,
350,
16,
315,
86,
8863,
565,
8738,
273,
394,
5589,
5621,
565,
2441,
11923,
273,
394,
5589,
5621,
565,
777,
2043,
273,
629,
31,
1392,
18079,
273,
629,
31,
818,
11257,
273,
374,
31,
316,
18,
3355,
12,
22,
1769,
1109,
12,
20,
16,
374,
16,
585,
1782,
1769,
565,
818,
8946,
273,
8738,
18,
1467,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
316,
273,
394,
8072,
26933,
12,
350,
16,
315,
86,
8863,
565,
8738,
273,
394,
5589,
5621,
565,
2441,
11923,
273,
394,
5589,
5621,
565,
777,
2043,
273,
629,
31,
1392,
18079,
273,
629,
31,
818,
11257,
273,
374,
31,
316,
18,
3355,
12,
22,
1769,
1109,
12,
20,
16,
374,
16,
585,
1782,
1769,
565,
818,
8946,
273,
8738,
18,
1467,
5621,
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
] |
public boolean isDoubleEscape() { return false; }
|
public boolean isDoubleEscape() { return false; }
|
public boolean isDoubleEscape() { return false; }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/e325016b29b8dde8e3ba0908ae34d55edb22c64f/Gap.java/buggy/drjava/src/edu/rice/cs/drjava/model/definitions/reducedmodel/Gap.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
5265,
8448,
1435,
202,
202,
95,
1082,
202,
2463,
629,
31,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
5265,
8448,
1435,
202,
202,
95,
1082,
202,
2463,
629,
31,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
kind = 18; jjCheckNAdd(2);
|
kind = 21; jjCheckNAdd(5);
|
private final int jjMoveNfa_2(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 3; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x9fffff7affffd9ffL & l) != 0L) { if (kind > 15) kind = 15; jjCheckNAdd(1); } else if ((0x100002600L & l) != 0L) { if (kind > 18) kind = 18; jjCheckNAdd(2); } break; case 1: if ((0xbffffffeffffd9ffL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(1); break; case 2: if ((0x100002600L & l) == 0L) break; kind = 18; jjCheckNAdd(2); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: case 1: if (kind > 15) kind = 15; jjCheckNAdd(1); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: case 1: if ((jjbitVec0[i2] & l2) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(1); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
|
1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/41ab0e084c55ebc2924ca4becd35fb57497b2a50/HTMLParserTokenManager.java/clean/src/demo/org/apache/lucene/demo/html/HTMLParserTokenManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
22,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,
273,
890,
31,
282,
509,
277,
273,
404,
31,
282,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
282,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
282,
364,
261,
25708,
13,
282,
288,
1377,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
540,
868,
2570,
54,
9284,
5621,
1377,
309,
261,
1397,
2156,
411,
5178,
13,
1377,
288,
540,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
540,
4639,
6452,
30,
741,
540,
288,
5411,
1620,
12,
78,
78,
2019,
694,
63,
413,
77,
5717,
5411,
288,
9079,
648,
374,
30,
5375,
309,
14015,
20,
92,
29,
9460,
74,
27,
7329,
1403,
72,
29,
1403,
48,
473,
328,
13,
480,
374,
48,
13,
5375,
288,
5397,
309,
261,
9224,
405,
4711,
13,
13491,
3846,
273,
4711,
31,
5397,
10684,
1564,
50,
986,
12,
21,
1769,
5375,
289,
5375,
469,
309,
14015,
20,
92,
23899,
5558,
713,
48,
473,
328,
13,
480,
374,
48,
13,
5375,
288,
5397,
309,
261,
9224,
405,
6549,
13,
13491,
3846,
273,
6549,
31,
5397,
10684,
1564,
50,
986,
12,
22,
1769,
5375,
289,
5375,
898,
31,
9079,
648,
404,
30,
5375,
309,
14015,
20,
6114,
18217,
73,
9460,
72,
29,
1403,
48,
473,
328,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
22,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,
273,
890,
31,
282,
509,
277,
273,
404,
31,
282,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
282,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
282,
364,
261,
25708,
13,
282,
288,
1377,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
540,
868,
2570,
54,
9284,
5621,
1377,
309,
261,
1397,
2156,
411,
5178,
13,
1377,
288,
540,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
540,
4639,
6452,
30,
2
] |
enum = __listeners.getListeners();
|
en = __listeners.getListeners();
|
public void fireCommandSent(String command, String message) { Enumeration enum; ProtocolCommandEvent event; ProtocolCommandListener listener; enum = __listeners.getListeners(); event = new ProtocolCommandEvent(__source, command, message); while (enum.hasMoreElements()) { listener = (ProtocolCommandListener)enum.nextElement(); listener.protocolCommandSent(event); }
|
50121 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50121/5fbc50a66288428e9487304a5609c5607bbb2e1f/ProtocolCommandSupport.java/buggy/src/java/org/apache/commons/net/ProtocolCommandSupport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4452,
2189,
7828,
12,
780,
1296,
16,
514,
883,
13,
565,
288,
3639,
13864,
2792,
31,
3639,
4547,
2189,
1133,
871,
31,
3639,
4547,
2189,
2223,
2991,
31,
3639,
570,
273,
1001,
16072,
18,
588,
5583,
5621,
3639,
871,
273,
394,
4547,
2189,
1133,
12,
972,
3168,
16,
1296,
16,
883,
1769,
3639,
1323,
261,
7924,
18,
5332,
7417,
3471,
10756,
3639,
288,
5411,
2991,
273,
261,
5752,
2189,
2223,
13,
7924,
18,
4285,
1046,
5621,
5411,
2991,
18,
8373,
2189,
7828,
12,
2575,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4452,
2189,
7828,
12,
780,
1296,
16,
514,
883,
13,
565,
288,
3639,
13864,
2792,
31,
3639,
4547,
2189,
1133,
871,
31,
3639,
4547,
2189,
2223,
2991,
31,
3639,
570,
273,
1001,
16072,
18,
588,
5583,
5621,
3639,
871,
273,
394,
4547,
2189,
1133,
12,
972,
3168,
16,
1296,
16,
883,
1769,
3639,
1323,
261,
7924,
18,
5332,
7417,
3471,
10756,
3639,
288,
5411,
2991,
273,
261,
5752,
2189,
2223,
13,
7924,
18,
4285,
1046,
5621,
5411,
2991,
18,
8373,
2189,
7828,
12,
2575,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
popBuffer[j] = makePopBuffer(filter, num[j], i);
|
popBuffer[j] = makePopBuffer(filter, peekBufferSize, num[j], i);
|
private static List makeFilterInfo(List filterList) { // make the result List result = new LinkedList(); // construct a schedule for <filterList> Schedule schedule = getSchedule(filterList); // get the schedules List initSched = schedule.getInitSchedule(); List steadySched = schedule.getSteadySchedule(); // DEBUGGING OUTPUT //SIRScheduler.printSchedule(initSched, "initialization"); //SIRScheduler.printSchedule(steadySched, "steady state"); // for each filter... ListIterator it = filterList.listIterator(); for (int i=0; it.hasNext(); i++) { // the filter SIRFilter filter = (SIRFilter)it.next(); // the peek buffer JVariableDefinition peekBufferVar = new JVariableDefinition(null, at.dms.kjc.Constants.ACC_FINAL, new CArrayType(voidToInt(filter. getInputType()), 1 /* dimension */ ), PEEK_BUFFER_NAME + "_" + i, null); JFieldDeclaration peekBuffer = new JFieldDeclaration(null, peekBufferVar, null, null); // number of executions (num[0] is init, num[1] is steady) int[] num = new int[2]; // for now, guard against empty/incomplete schedules // by assuming a count of zero. Talk to Michal about // have entries of zero-weight in schedule? FIXME. if (initSched.size()>i) { num[0] = ((SchedRepSchedule)initSched.get(i)). getTotalExecutions().intValue(); } else { num[0] = 0; } // do the same for the steady schedule if (steadySched.size()>i) { num[1] = ((SchedRepSchedule)steadySched.get(i)). getTotalExecutions().intValue(); } else { num[1] = 0; } // get ready to make rest of phase-specific info JVariableDefinition popBuffer[] = new JVariableDefinition[2]; JVariableDefinition popCounter[] = new JVariableDefinition[2]; JVariableDefinition pushCounter[] = new JVariableDefinition[2]; JVariableDefinition loopCounter[] = new JVariableDefinition[2]; for (int j=0; j<2; j++) { // the pop buffer popBuffer[j] = makePopBuffer(filter, num[j], i); // the pop counter. popCounter[j] = new JVariableDefinition(null, 0, CStdType.Integer, POP_INDEX_NAME + "_" + j + "_" + i, new JIntLiteral(//filter.getPeekInt() - filter.getPopInt() - 1 /* this is since we're starting at -1 and doing pre-inc instead of post-inc */ )); // the push counter. In the steady state, the initial // value of the push counter is the first slot after // the peek values are restored, which is peek-pop-1 // (-1 since we're pre-incing, not post-incing). In // the inital work function, the push counter starts // at -1 (since we're pre-incing, not post-incing). int pushInit = j==0 ? -1 : filter.getPeekInt() - filter.getPopInt() - 1; pushCounter[j] = new JVariableDefinition(null, 0, CStdType.Integer, PUSH_INDEX_NAME + "_" + j + "_" +i, new JIntLiteral(pushInit)); // the exec counter loopCounter[j] = new JVariableDefinition(null, 0, CStdType.Integer, COUNTER_NAME + "_" + j + "_" +i, null); } // add a filter info to <result> result.add(new FilterInfo(filter, peekBuffer, new PhaseInfo(num[0], popBuffer[0], popCounter[0], pushCounter[0], loopCounter[0]), new PhaseInfo(num[1], popBuffer[1], popCounter[1], pushCounter[1], loopCounter[1]) )); } // return result return result; }
|
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/ecda4670191cbfce0ea3b7ff25182a529c06cc3d/FusePipe.java/clean/streams/src/at/dms/kjc/sir/lowering/fusion/FusePipe.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
987,
1221,
1586,
966,
12,
682,
1034,
682,
13,
288,
202,
759,
1221,
326,
563,
202,
682,
563,
273,
394,
10688,
5621,
202,
759,
4872,
279,
4788,
364,
411,
2188,
682,
34,
202,
6061,
4788,
273,
30879,
12,
2188,
682,
1769,
202,
759,
336,
326,
26720,
202,
682,
1208,
55,
2049,
273,
4788,
18,
588,
2570,
6061,
5621,
202,
682,
384,
684,
93,
55,
2049,
273,
4788,
18,
588,
510,
684,
93,
6061,
5621,
202,
759,
6369,
19066,
11550,
202,
759,
2320,
54,
11870,
18,
1188,
6061,
12,
2738,
55,
2049,
16,
315,
6769,
1588,
8863,
202,
759,
2320,
54,
11870,
18,
1188,
6061,
12,
334,
684,
93,
55,
2049,
16,
315,
334,
684,
93,
919,
8863,
202,
759,
364,
1517,
1034,
2777,
202,
682,
3198,
518,
273,
1034,
682,
18,
1098,
3198,
5621,
202,
1884,
261,
474,
277,
33,
20,
31,
518,
18,
5332,
2134,
5621,
277,
27245,
288,
202,
565,
368,
326,
1034,
202,
565,
5705,
54,
1586,
1034,
273,
261,
2320,
54,
1586,
13,
305,
18,
4285,
5621,
202,
565,
368,
326,
8032,
1613,
202,
565,
804,
3092,
1852,
8032,
1892,
1537,
273,
3196,
202,
2704,
804,
3092,
1852,
12,
2011,
16,
6862,
202,
270,
18,
72,
959,
18,
79,
78,
71,
18,
2918,
18,
31414,
67,
7263,
1013,
16,
6862,
202,
2704,
385,
27182,
12,
6459,
17864,
12,
2188,
18,
6862,
1082,
4202,
12353,
559,
1435,
3631,
15106,
4202,
404,
1748,
4968,
1195,
262,
16,
6862,
202,
1423,
11325,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
987,
1221,
1586,
966,
12,
682,
1034,
682,
13,
288,
202,
759,
1221,
326,
563,
202,
682,
563,
273,
394,
10688,
5621,
202,
759,
4872,
279,
4788,
364,
411,
2188,
682,
34,
202,
6061,
4788,
273,
30879,
12,
2188,
682,
1769,
202,
759,
336,
326,
26720,
202,
682,
1208,
55,
2049,
273,
4788,
18,
588,
2570,
6061,
5621,
202,
682,
384,
684,
93,
55,
2049,
273,
4788,
18,
588,
510,
684,
93,
6061,
5621,
202,
759,
6369,
19066,
11550,
202,
759,
2320,
54,
11870,
18,
1188,
6061,
12,
2738,
55,
2049,
16,
315,
6769,
1588,
8863,
202,
759,
2320,
54,
11870,
18,
1188,
6061,
12,
334,
684,
93,
55,
2049,
16,
315,
334,
684,
93,
919,
2
] |
} catch (SAXException e) { throw new TransletException(e); }
|
if (_outputType == HTML) if (elementName.toLowerCase().equals("head")) _headTagOpen = true;
|
public void startElement(String elementName) throws TransletException { // bug fix # 1499, GTM. if (_outputType == TEXT) return; try { // Close any open start tag if (_startTagOpen) { closeStartTag(); } else if (_cdataTagOpen) { characters(ENDCDATA); _cdataTagOpen = false; } // If we don't know the output type yet we need to examine // the very first element to see if it is "html". if (_outputType == UNKNOWN) { if (elementName.toLowerCase().equals("html")) setTypeInternal(HTML); else setTypeInternal(XML); } _depth++; _elementName = elementName; _attributes.clear(); _startTagOpen = true; _qnameStack.push(elementName); // Insert <META> tag directly after <HEAD> element in HTML doc if (_outputType == HTML) { if (elementName.toLowerCase().equals("head")) { _headTagOpen = true; } } } catch (SAXException e) { throw new TransletException(e); } }
|
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/5812ba64ef7e43ebdaca65f1965e5b7ea57428d1/TextOutput.java/clean/src/org/apache/xalan/xsltc/runtime/TextOutput.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13591,
12,
780,
14453,
13,
202,
15069,
2604,
1810,
503,
288,
202,
759,
7934,
2917,
468,
5045,
2733,
16,
19688,
49,
18,
202,
430,
261,
67,
2844,
559,
422,
9204,
13,
327,
31,
225,
202,
698,
288,
202,
565,
368,
3527,
1281,
1696,
787,
1047,
202,
565,
309,
261,
67,
1937,
1805,
3678,
13,
288,
202,
202,
4412,
30512,
5621,
202,
565,
289,
5411,
469,
309,
261,
67,
71,
892,
1805,
3678,
13,
288,
7734,
3949,
12,
4415,
18375,
1769,
7734,
389,
71,
892,
1805,
3678,
273,
629,
31,
5411,
289,
202,
565,
368,
971,
732,
2727,
1404,
5055,
326,
876,
618,
4671,
732,
1608,
358,
19707,
558,
202,
565,
368,
326,
8572,
1122,
930,
358,
2621,
309,
518,
353,
315,
2620,
9654,
202,
565,
309,
261,
67,
2844,
559,
422,
13598,
13,
288,
202,
202,
430,
261,
2956,
461,
18,
869,
5630,
7675,
14963,
2932,
2620,
6,
3719,
1082,
565,
8811,
3061,
12,
4870,
1769,
202,
202,
12107,
1082,
565,
8811,
3061,
12,
4201,
1769,
202,
565,
289,
5411,
389,
5979,
9904,
31,
202,
565,
389,
2956,
461,
273,
14453,
31,
202,
565,
389,
4350,
18,
8507,
5621,
202,
565,
389,
1937,
1805,
3678,
273,
638,
31,
202,
565,
389,
85,
529,
2624,
18,
6206,
12,
2956,
461,
1769,
202,
565,
368,
8040,
411,
19294,
34,
1047,
5122,
1839,
411,
12458,
34,
930,
316,
3982,
997,
202,
565,
309,
261,
67,
2844,
559,
422,
3982,
13,
288,
202,
202,
430,
261,
2956,
461,
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,
13591,
12,
780,
14453,
13,
202,
15069,
2604,
1810,
503,
288,
202,
759,
7934,
2917,
468,
5045,
2733,
16,
19688,
49,
18,
202,
430,
261,
67,
2844,
559,
422,
9204,
13,
327,
31,
225,
202,
698,
288,
202,
565,
368,
3527,
1281,
1696,
787,
1047,
202,
565,
309,
261,
67,
1937,
1805,
3678,
13,
288,
202,
202,
4412,
30512,
5621,
202,
565,
289,
5411,
469,
309,
261,
67,
71,
892,
1805,
3678,
13,
288,
7734,
3949,
12,
4415,
18375,
1769,
7734,
389,
71,
892,
1805,
3678,
273,
629,
31,
5411,
289,
202,
565,
368,
971,
732,
2727,
1404,
5055,
326,
876,
618,
4671,
732,
1608,
358,
19707,
558,
202,
565,
368,
326,
8572,
1122,
930,
358,
2
] |
getImpl().setOption(SocketOptions.SO_OOBINLINE, new Boolean(on));
|
getImpl().setOption(SocketOptions.SO_OOBINLINE, Boolean.valueOf(on));
|
public void setOOBInline (boolean on) throws SocketException { if (isClosed()) throw new SocketException("socket is closed"); getImpl().setOption(SocketOptions.SO_OOBINLINE, new Boolean(on)); }
|
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/3e38401205b9ce29b86b1a8606095adabd35b585/Socket.java/buggy/libjava/java/net/Socket.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
51,
5704,
10870,
261,
6494,
603,
13,
1216,
8758,
503,
225,
288,
565,
309,
261,
291,
7395,
10756,
1377,
604,
394,
8758,
503,
2932,
7814,
353,
4375,
8863,
3639,
336,
2828,
7675,
542,
1895,
12,
4534,
1320,
18,
3584,
67,
51,
5704,
706,
5997,
16,
3411,
18,
1132,
951,
12,
265,
10019,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
918,
444,
51,
5704,
10870,
261,
6494,
603,
13,
1216,
8758,
503,
225,
288,
565,
309,
261,
291,
7395,
10756,
1377,
604,
394,
8758,
503,
2932,
7814,
353,
4375,
8863,
3639,
336,
2828,
7675,
542,
1895,
12,
4534,
1320,
18,
3584,
67,
51,
5704,
706,
5997,
16,
3411,
18,
1132,
951,
12,
265,
10019,
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
] |
int row = _table.rowAtPoint(e.getPoint()); _table.setRowSelectionInterval(row, row);
|
_lastRow = _table.rowAtPoint(e.getPoint()); _table.setRowSelectionInterval(_lastRow, _lastRow);
|
protected void _popupAction(MouseEvent e) { int row = _table.rowAtPoint(e.getPoint()); _table.setRowSelectionInterval(row, row); _showPopup(e); }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/da5a0dd68bcb282274a520304e64e7f255ef6c4e/DebugPanel.java/clean/drjava/src/edu/rice/cs/drjava/ui/DebugPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
389,
16086,
1803,
12,
9186,
1133,
425,
13,
288,
1377,
509,
1027,
273,
389,
2121,
18,
492,
861,
2148,
12,
73,
18,
588,
2148,
10663,
1377,
389,
2121,
18,
542,
1999,
6233,
4006,
12,
492,
16,
1027,
1769,
1377,
389,
4500,
13770,
12,
73,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
389,
16086,
1803,
12,
9186,
1133,
425,
13,
288,
1377,
509,
1027,
273,
389,
2121,
18,
492,
861,
2148,
12,
73,
18,
588,
2148,
10663,
1377,
389,
2121,
18,
542,
1999,
6233,
4006,
12,
492,
16,
1027,
1769,
1377,
389,
4500,
13770,
12,
73,
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
] |
factory.doBind("brokerId", new URI("ssl: } catch (Exception e) {
|
factory.doBind("brokerId", new URI("ssl: } catch (Exception e) {
|
public void testBindServerOptions() throws IOException { SslTransportServer sslTransportServer = null; for (int i = 0; i < 4; ++i) { final boolean wantClientAuth = ((i & 0x1) == 1); final boolean needClientAuth = ((i & 0x2) == 1); String options = "wantClientAuth=" + (wantClientAuth ? "true" : "false") + "&needClientAuth=" + (needClientAuth ? "true" : "false"); try { sslTransportServer = (SslTransportServer) factory.doBind("brokerId", new URI("ssl://localhost:61616?" + options)); } catch (Exception e) { fail("Unable to bind to address: " + e.getMessage()); } assertEquals("Created ServerSocket did not have correct wantClientAuth status.", sslTransportServer.getWantClientAuth(), wantClientAuth); assertEquals("Created ServerSocket did not have correct needClientAuth status.", sslTransportServer.getNeedClientAuth(), needClientAuth); try { sslTransportServer.stop(); } catch (Exception e) { fail("Unable to stop TransportServer: " + e.getMessage()); } } }
|
17032 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17032/6e34afc293d6a87963cf3613ada19c2d57b62184/SslTransportFactoryTest.java/buggy/activemq-core/src/test/java/org/apache/activemq/transport/tcp/SslTransportFactoryTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3357,
2081,
1320,
1435,
1216,
1860,
288,
13491,
23929,
6568,
2081,
5832,
6568,
2081,
273,
446,
31,
7734,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1059,
31,
965,
77,
13,
288,
5411,
727,
1250,
2545,
1227,
1730,
273,
14015,
77,
473,
374,
92,
21,
13,
422,
404,
1769,
5411,
727,
1250,
1608,
1227,
1730,
273,
14015,
77,
473,
374,
92,
22,
13,
422,
404,
1769,
13491,
514,
702,
273,
315,
17369,
1227,
1730,
1546,
397,
261,
17369,
1227,
1730,
692,
315,
3767,
6,
294,
315,
5743,
7923,
397,
7734,
7830,
14891,
1227,
1730,
1546,
397,
261,
14891,
1227,
1730,
692,
315,
3767,
6,
294,
315,
5743,
8863,
10792,
775,
288,
7734,
5832,
6568,
2081,
273,
261,
15840,
6568,
2081,
13,
10792,
3272,
18,
2896,
3357,
2932,
21722,
548,
3113,
394,
3699,
2932,
8157,
2207,
13014,
30,
26,
2313,
2313,
7225,
397,
702,
10019,
5411,
289,
1044,
261,
503,
425,
13,
288,
7734,
2321,
2932,
3370,
358,
1993,
358,
1758,
30,
315,
397,
425,
18,
24906,
10663,
5411,
289,
13491,
1815,
8867,
2932,
6119,
3224,
4534,
5061,
486,
1240,
3434,
2545,
1227,
1730,
1267,
1199,
16,
7734,
5832,
6568,
2081,
18,
588,
59,
970,
1227,
1730,
9334,
2545,
1227,
1730,
1769,
13491,
1815,
8867,
2932,
6119,
3224,
4534,
5061,
486,
1240,
3434,
1608,
1227,
1730,
1267,
1199,
16,
7734,
5832,
6568,
2081,
18,
588,
14112,
1227,
1730,
9334,
1608,
1227,
1730,
1769,
13491,
775,
288,
7734,
5832,
6568,
2081,
18,
5681,
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,
918,
1842,
3357,
2081,
1320,
1435,
1216,
1860,
288,
13491,
23929,
6568,
2081,
5832,
6568,
2081,
273,
446,
31,
7734,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1059,
31,
965,
77,
13,
288,
5411,
727,
1250,
2545,
1227,
1730,
273,
14015,
77,
473,
374,
92,
21,
13,
422,
404,
1769,
5411,
727,
1250,
1608,
1227,
1730,
273,
14015,
77,
473,
374,
92,
22,
13,
422,
404,
1769,
13491,
514,
702,
273,
315,
17369,
1227,
1730,
1546,
397,
261,
17369,
1227,
1730,
692,
315,
3767,
6,
294,
315,
5743,
7923,
397,
7734,
7830,
14891,
1227,
1730,
1546,
397,
261,
14891,
1227,
1730,
692,
315,
3767,
6,
294,
315,
5743,
8863,
10792,
775,
288,
7734,
5832,
6568,
2
] |
public void setAsText(String s) throws IllegalArgumentException { if(s.equals("null")) { setValue(null); } else { throw new IllegalArgumentException(); } }
|
public void setAsText(String s) throws IllegalArgumentException { if (s.equals("null")) setValue(null); else throw new IllegalArgumentException(); }
|
public void setAsText(String s) throws IllegalArgumentException { if(s.equals("null")) { setValue(null); } else { throw new IllegalArgumentException(); } }
|
1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/d1d54223348b2f353d3505c9de3cf685bdb5301f/PropertyEditorSupport.java/buggy/libjava/java/beans/PropertyEditorSupport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
1463,
1528,
12,
780,
272,
13,
1216,
2754,
288,
202,
202,
430,
12,
87,
18,
14963,
2932,
2011,
6,
3719,
288,
1082,
202,
542,
620,
12,
2011,
1769,
202,
202,
97,
469,
288,
1082,
202,
12849,
394,
2754,
5621,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
225,
202,
482,
918,
444,
1463,
1528,
12,
780,
272,
13,
1216,
2754,
288,
202,
202,
430,
12,
87,
18,
14963,
2932,
2011,
6,
3719,
288,
1082,
202,
542,
620,
12,
2011,
1769,
202,
202,
97,
469,
288,
1082,
202,
12849,
394,
2754,
5621,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
addWarning(pg_stream.ReceiveString(4096));
|
addWarning(pg_stream.ReceiveString(receive_sbuf, 4096, getEncoding()));
|
public java.sql.ResultSet ExecSQL(String sql) throws SQLException { // added Oct 7 1998 to give us thread safety. synchronized(pg_stream) { Field[] fields = null; Vector tuples = new Vector(); byte[] buf = null; int fqp = 0; boolean hfr = false; String recv_status = null, msg; int update_count = 1; int insert_oid = 0; SQLException final_error = null; // Commented out as the backend can now handle queries // larger than 8K. Peter June 6 2000 //if (sql.length() > 8192) //throw new PSQLException("postgresql.con.toolong",sql); if (getEncoding() == null) buf = sql.getBytes(); else { try { buf = sql.getBytes(getEncoding()); } catch (UnsupportedEncodingException unse) { throw new PSQLException("postgresql.con.encoding", unse); } } try { pg_stream.SendChar('Q'); buf = sql.getBytes(); pg_stream.Send(buf); pg_stream.SendChar(0); pg_stream.flush(); } catch (IOException e) { throw new PSQLException("postgresql.con.ioerror",e); } while (!hfr || fqp > 0) { Object tup=null; // holds rows as they are recieved int c = pg_stream.ReceiveChar(); switch (c) { case 'A': // Asynchronous Notify pid = pg_stream.ReceiveInteger(4); msg = pg_stream.ReceiveString(8192); break; case 'B': // Binary Data Transfer if (fields == null) throw new PSQLException("postgresql.con.tuple"); tup = pg_stream.ReceiveTuple(fields.length, true); // This implements Statement.setMaxRows() if(maxrows==0 || tuples.size()<maxrows) tuples.addElement(tup); break; case 'C': // Command Status recv_status = pg_stream.ReceiveString(8192); // Now handle the update count correctly. if(recv_status.startsWith("INSERT") || recv_status.startsWith("UPDATE") || recv_status.startsWith("DELETE")) { try { update_count = Integer.parseInt(recv_status.substring(1+recv_status.lastIndexOf(' '))); } catch(NumberFormatException nfe) { throw new PSQLException("postgresql.con.fathom",recv_status); } if(recv_status.startsWith("INSERT")) { try { insert_oid = Integer.parseInt(recv_status.substring(1+recv_status.indexOf(' '),recv_status.lastIndexOf(' '))); } catch(NumberFormatException nfe) { throw new PSQLException("postgresql.con.fathom",recv_status); } } } if (fields != null) hfr = true; else { try { pg_stream.SendChar('Q'); pg_stream.SendChar(' '); pg_stream.SendChar(0); pg_stream.flush(); } catch (IOException e) { throw new PSQLException("postgresql.con.ioerror",e); } fqp++; } break; case 'D': // Text Data Transfer if (fields == null) throw new PSQLException("postgresql.con.tuple"); tup = pg_stream.ReceiveTuple(fields.length, false); // This implements Statement.setMaxRows() if(maxrows==0 || tuples.size()<maxrows) tuples.addElement(tup); break; case 'E': // Error Message msg = pg_stream.ReceiveString(4096); final_error = new SQLException(msg); hfr = true; break; case 'I': // Empty Query int t = pg_stream.ReceiveChar(); if (t != 0) throw new PSQLException("postgresql.con.garbled"); if (fqp > 0) fqp--; if (fqp == 0) hfr = true; break; case 'N': // Error Notification addWarning(pg_stream.ReceiveString(4096)); break; case 'P': // Portal Name String pname = pg_stream.ReceiveString(8192); break; case 'T': // MetaData Field Description if (fields != null) throw new PSQLException("postgresql.con.multres"); fields = ReceiveFields(); break; case 'Z': // backend ready for query, ignore for now :-) break; default: throw new PSQLException("postgresql.con.type",new Character((char)c)); } } if (final_error != null) throw final_error; return getResultSet(this, fields, tuples, recv_status, update_count, insert_oid); } }
|
46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/5383b5d8ed6da5c90bcbdb63401b7d1d75db563d/Connection.java/clean/src/interfaces/jdbc/org/postgresql/Connection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2252,
18,
4669,
18,
13198,
3889,
3997,
12,
780,
1847,
13,
1216,
6483,
565,
288,
202,
759,
3096,
29482,
2371,
23673,
28,
358,
8492,
584,
2650,
24179,
18,
202,
22043,
12,
8365,
67,
3256,
13,
288,
202,
377,
202,
565,
2286,
8526,
1466,
273,
446,
31,
202,
565,
5589,
10384,
273,
394,
5589,
5621,
202,
565,
1160,
8526,
1681,
273,
446,
31,
202,
565,
509,
8508,
84,
273,
374,
31,
202,
565,
1250,
366,
4840,
273,
629,
31,
202,
565,
514,
10665,
67,
2327,
273,
446,
16,
1234,
31,
202,
565,
509,
1089,
67,
1883,
273,
404,
31,
202,
565,
509,
2243,
67,
839,
273,
374,
31,
202,
565,
6483,
727,
67,
1636,
273,
446,
31,
202,
377,
202,
565,
368,
9821,
329,
596,
487,
326,
4221,
848,
2037,
1640,
6218,
202,
565,
368,
10974,
2353,
1725,
47,
18,
453,
847,
804,
7556,
1666,
16291,
202,
565,
368,
430,
261,
4669,
18,
2469,
1435,
405,
26730,
13,
202,
565,
368,
12849,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
6738,
932,
3113,
4669,
1769,
3639,
309,
261,
588,
4705,
1435,
422,
446,
13,
5411,
1681,
273,
1847,
18,
588,
2160,
5621,
3639,
469,
288,
5411,
775,
288,
7734,
1681,
273,
1847,
18,
588,
2160,
12,
588,
4705,
10663,
5411,
289,
1044,
261,
8544,
13836,
640,
307,
13,
288,
1171,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
5999,
3113,
4766,
3639,
640,
307,
1769,
5411,
289,
3639,
289,
202,
565,
775,
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,
377,
1071,
2252,
18,
4669,
18,
13198,
3889,
3997,
12,
780,
1847,
13,
1216,
6483,
565,
288,
202,
759,
3096,
29482,
2371,
23673,
28,
358,
8492,
584,
2650,
24179,
18,
202,
22043,
12,
8365,
67,
3256,
13,
288,
202,
377,
202,
565,
2286,
8526,
1466,
273,
446,
31,
202,
565,
5589,
10384,
273,
394,
5589,
5621,
202,
565,
1160,
8526,
1681,
273,
446,
31,
202,
565,
509,
8508,
84,
273,
374,
31,
202,
565,
1250,
366,
4840,
273,
629,
31,
202,
565,
514,
10665,
67,
2327,
273,
446,
16,
1234,
31,
202,
565,
509,
1089,
67,
1883,
273,
404,
31,
202,
565,
509,
2243,
67,
839,
273,
374,
31,
202,
565,
6483,
727,
67,
1636,
273,
446,
31,
202,
2
] |
if (others.size() != 0) { IRuntimeClasspathEntry oe[] = (IRuntimeClasspathEntry[]) others.toArray( new IRuntimeClasspathEntry[others.size()] );
|
Pattern pattern = Pattern.compile("^*/(\\w+\\.framework)/Resources/Java/(.*\\.jar)$");
|
public IRuntimeClasspathEntry[] resolveClasspath( IRuntimeClasspathEntry[] entries, ILaunchConfiguration configuration) throws CoreException { List others = new ArrayList(); List resolved = new ArrayList(); // used for duplicate removal Set allEntries = new HashSet(); // looks like we need to let super do it's thing before // we start tinkering with things ourselves entries = super.resolveClasspath(entries, configuration); // resolve WO framework/application projects ourselves, let super do the rest for (int i = 0; i < entries.length; ++i) { IRuntimeClasspathEntry entry = entries[i]; IPath archive = _getWOJavaArchive(entry); if (null != archive) { // I think this line here breaks things: (hn3000) //resolved.add(entry); if (!allEntries.contains(archive.toString())) { resolved.add( JavaRuntime.newArchiveRuntimeClasspathEntry(archive)); allEntries.add(archive.toString()); } allEntries.add(entry.toString()); } else { others.add(entry); } } // ... let super do the rest but remove duplicates from the resulting // classpath ... if (others.size() != 0) { IRuntimeClasspathEntry oe[] = (IRuntimeClasspathEntry[]) others.toArray( new IRuntimeClasspathEntry[others.size()] ); for (int i = 0; i < oe.length; ++i) { IRuntimeClasspathEntry entry = oe[i]; String ls = entry.getLocation(); IPath loc = (null == ls) ? null : new Path(ls); if (null == loc) { resolved.add(entry); } else { if (!allEntries.contains(loc)) { resolved.add(entry); allEntries.add(loc); } } } } return (IRuntimeClasspathEntry[]) resolved.toArray( new IRuntimeClasspathEntry[resolved.size()]); }
|
50596 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50596/f242ccb537b802c24cf9ef5a1d402800bbbe648f/WORuntimeClasspathProvider.java/buggy/projects/wolips/plugins/org.objectstyle.wolips.launching/java/org/objectstyle/wolips/launching/classpath/WORuntimeClasspathProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
5576,
17461,
1622,
8526,
2245,
17461,
12,
202,
202,
45,
5576,
17461,
1622,
8526,
3222,
16,
202,
202,
2627,
4760,
1750,
1664,
13,
202,
202,
15069,
30015,
288,
202,
202,
682,
10654,
273,
394,
2407,
5621,
202,
202,
682,
4640,
273,
394,
2407,
5621,
202,
202,
759,
1399,
364,
6751,
14817,
202,
202,
694,
777,
5400,
273,
394,
6847,
5621,
9506,
202,
759,
10192,
3007,
732,
1608,
358,
2231,
2240,
741,
518,
1807,
7757,
1865,
202,
202,
759,
732,
787,
268,
754,
264,
310,
598,
9198,
19801,
202,
202,
8219,
273,
2240,
18,
10828,
17461,
12,
8219,
16,
1664,
1769,
202,
202,
759,
2245,
678,
51,
8257,
19,
3685,
10137,
19801,
16,
2231,
2240,
741,
326,
3127,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
3222,
18,
2469,
31,
965,
77,
13,
288,
1082,
202,
45,
5576,
17461,
1622,
1241,
273,
3222,
63,
77,
15533,
1082,
202,
45,
743,
5052,
273,
389,
588,
59,
51,
5852,
7465,
12,
4099,
1769,
1082,
202,
430,
261,
2011,
480,
5052,
13,
288,
9506,
202,
759,
467,
15507,
333,
980,
2674,
16217,
9198,
30,
261,
76,
82,
23,
3784,
13,
9506,
202,
759,
11792,
18,
1289,
12,
4099,
1769,
9506,
202,
430,
16051,
454,
5400,
18,
12298,
12,
10686,
18,
10492,
1435,
3719,
288,
6862,
202,
11792,
18,
1289,
12,
25083,
202,
5852,
5576,
18,
2704,
7465,
5576,
17461,
1622,
12,
10686,
10019,
6862,
202,
454,
5400,
18,
1289,
12,
10686,
18,
10492,
10663,
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,
467,
5576,
17461,
1622,
8526,
2245,
17461,
12,
202,
202,
45,
5576,
17461,
1622,
8526,
3222,
16,
202,
202,
2627,
4760,
1750,
1664,
13,
202,
202,
15069,
30015,
288,
202,
202,
682,
10654,
273,
394,
2407,
5621,
202,
202,
682,
4640,
273,
394,
2407,
5621,
202,
202,
759,
1399,
364,
6751,
14817,
202,
202,
694,
777,
5400,
273,
394,
6847,
5621,
9506,
202,
759,
10192,
3007,
732,
1608,
358,
2231,
2240,
741,
518,
1807,
7757,
1865,
202,
202,
759,
732,
787,
268,
754,
264,
310,
598,
9198,
19801,
202,
202,
8219,
273,
2240,
18,
10828,
17461,
12,
8219,
16,
1664,
1769,
202,
202,
759,
2245,
678,
51,
8257,
19,
3685,
10137,
19801,
16,
2231,
2240,
741,
2
] |
Logger.trace("StendhalRPZone::placeObjectAtZoneChangePoint","D","Best entry point: ("+px+","+py+") --> "+distance);
|
logger.debug("Best entry point: ("+px+","+py+") --> "+distance);
|
public void placeObjectAtZoneChangePoint(StendhalRPZone oldzone, Entity object) { if(zoneChangePoints.size()==0) { return; } String exitDirection=null; if(object.gety()<4) { exitDirection="N"; } else if(object.gety()>oldzone.getHeight()-4) { exitDirection="S"; } else if(object.getx()<4) { exitDirection="W"; } else if(object.getx()>oldzone.getWidth()-4) { exitDirection="E"; } else { // NOTE: If any of the above is true, then it just put object on the first zone change point. String[] components=zoneChangePoints.get(0).split(","); Logger.trace("StendhalRPZone::placeObjectAtZoneChangePoint","D","Player zone change default: "+components); object.setx(Integer.parseInt(components[0])); object.sety(Integer.parseInt(components[1])); return; } Logger.trace("StendhalRPZone::placeObjectAtZoneChangePoint","D","Player exit direction: "+exitDirection); int x=0; int y=0; int distance=Integer.MAX_VALUE; String minpoint=zoneChangePoints.get(0); if(exitDirection.equals("N")) { x=object.getx(); y=getHeight(); } else if(exitDirection.equals("S")) { x=object.getx(); y=0; } else if(exitDirection.equals("W")) { x=getWidth(); y=object.gety(); } else if(exitDirection.equals("E")) { x=0; y=object.gety(); } Logger.trace("StendhalRPZone::placeObjectAtZoneChangePoint","D","Player entry point: ("+x+","+y+")"); for(String point: zoneChangePoints) { String[] components=point.split(","); int px=Integer.parseInt(components[0]); int py=Integer.parseInt(components[1]); if((px-x)*(px-x)+(py-y)*(py-y)<distance) { Logger.trace("StendhalRPZone::placeObjectAtZoneChangePoint","D","Best entry point: ("+px+","+py+") --> "+distance); distance=(px-x)*(px-x)+(py-y)*(py-y); minpoint=point; } } Logger.trace("StendhalRPZone::placeObjectAtZoneChangePoint","D","Choosen entry point: ("+minpoint+") --> "+distance); String[] components=minpoint.split(","); object.setx(Integer.parseInt(components[0])); object.sety(Integer.parseInt(components[1])); }
|
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/2f5a2a4a5b59a172e667611127a4c633125829e5/StendhalRPZone.java/buggy/src/games/stendhal/server/StendhalRPZone.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3166,
921,
861,
4226,
3043,
2148,
12,
510,
409,
22314,
54,
52,
4226,
1592,
3486,
16,
3887,
733,
13,
565,
288,
565,
309,
12,
3486,
3043,
5636,
18,
1467,
1435,
631,
20,
13,
1377,
288,
1377,
327,
31,
1377,
289,
1850,
514,
2427,
8212,
33,
2011,
31,
565,
309,
12,
1612,
18,
588,
93,
1435,
32,
24,
13,
1377,
288,
1377,
2427,
8212,
1546,
50,
14432,
1377,
289,
565,
469,
309,
12,
1612,
18,
588,
93,
1435,
34,
1673,
3486,
18,
588,
2686,
1435,
17,
24,
13,
1377,
288,
1377,
2427,
8212,
1546,
55,
14432,
1377,
289,
565,
469,
309,
12,
1612,
18,
588,
92,
1435,
32,
24,
13,
1377,
288,
1377,
2427,
8212,
1546,
59,
14432,
1377,
289,
565,
469,
309,
12,
1612,
18,
588,
92,
1435,
34,
1673,
3486,
18,
588,
2384,
1435,
17,
24,
13,
1377,
288,
1377,
2427,
8212,
1546,
41,
14432,
1377,
289,
565,
469,
1377,
288,
1377,
368,
5219,
30,
971,
1281,
434,
326,
5721,
353,
638,
16,
1508,
518,
2537,
1378,
733,
603,
326,
1122,
4157,
2549,
1634,
18,
1377,
514,
8526,
4085,
33,
3486,
3043,
5636,
18,
588,
12,
20,
2934,
4939,
2932,
16,
8863,
1377,
4242,
18,
5129,
2932,
510,
409,
22314,
54,
52,
4226,
2866,
964,
921,
861,
4226,
3043,
2148,
15937,
40,
15937,
12148,
4157,
2549,
805,
30,
13773,
8119,
1769,
1377,
733,
18,
542,
92,
12,
4522,
18,
2670,
1702,
12,
8119,
63,
20,
5717,
1769,
1377,
733,
18,
542,
93,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3166,
921,
861,
4226,
3043,
2148,
12,
510,
409,
22314,
54,
52,
4226,
1592,
3486,
16,
3887,
733,
13,
565,
288,
565,
309,
12,
3486,
3043,
5636,
18,
1467,
1435,
631,
20,
13,
1377,
288,
1377,
327,
31,
1377,
289,
1850,
514,
2427,
8212,
33,
2011,
31,
565,
309,
12,
1612,
18,
588,
93,
1435,
32,
24,
13,
1377,
288,
1377,
2427,
8212,
1546,
50,
14432,
1377,
289,
565,
469,
309,
12,
1612,
18,
588,
93,
1435,
34,
1673,
3486,
18,
588,
2686,
1435,
17,
24,
13,
1377,
288,
1377,
2427,
8212,
1546,
55,
14432,
1377,
289,
565,
469,
309,
12,
1612,
18,
588,
92,
1435,
32,
24,
13,
1377,
288,
1377,
2427,
8212,
1546,
59,
2
] |
public InputStream getResourceAsStream(String name, BeanContextChild bcc) { // The resource name should not be null if(name == null) { throw new NullPointerException("Resource name can not be null"); } // The child should not be null if(bcc == null) { throw new NullPointerException("The child can not be null"); } // Load resource using the same ClassLoader as BeanContextChild specified // If NullPointerException occurs try to load it as system resource try { return bcc.getClass().getClassLoader().getResourceAsStream(name); } catch(NullPointerException e) { try { return ClassLoader.getSystemResourceAsStream(name); } catch(Exception ex) { // No success at all throw new IllegalArgumentException("Invalid resource"); } } }
|
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/2ff86cce7654955efea2913c35b44a8bb53879b5/BeanContextSupport.java/clean/modules/beans/src/main/java/java/beans/beancontext/BeanContextSupport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5037,
20216,
12,
780,
508,
16,
7704,
1042,
1763,
16915,
13,
288,
7734,
368,
1021,
1058,
508,
1410,
486,
506,
446,
3639,
309,
12,
529,
422,
446,
13,
288,
5411,
604,
394,
10108,
2932,
1420,
508,
848,
486,
506,
446,
8863,
3639,
289,
7734,
368,
1021,
1151,
1410,
486,
506,
446,
3639,
309,
12,
31345,
422,
446,
13,
288,
5411,
604,
394,
10108,
2932,
1986,
1151,
848,
486,
506,
446,
8863,
3639,
289,
7734,
368,
4444,
1058,
1450,
326,
1967,
9403,
487,
7704,
1042,
1763,
1269,
3639,
368,
971,
10108,
9938,
775,
358,
1262,
518,
487,
2619,
1058,
3639,
775,
288,
5411,
327,
16915,
18,
588,
797,
7675,
588,
7805,
7675,
588,
1420,
17052,
12,
529,
1769,
3639,
289,
1044,
12,
2041,
9992,
425,
13,
288,
5411,
775,
288,
7734,
327,
9403,
18,
588,
3163,
1420,
17052,
12,
529,
1769,
5411,
289,
1044,
12,
503,
431,
13,
288,
27573,
368,
2631,
2216,
622,
777,
7734,
604,
394,
2754,
2932,
1941,
1058,
8863,
5411,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5037,
20216,
12,
780,
508,
16,
7704,
1042,
1763,
16915,
13,
288,
7734,
368,
1021,
1058,
508,
1410,
486,
506,
446,
3639,
309,
12,
529,
422,
446,
13,
288,
5411,
604,
394,
10108,
2932,
1420,
508,
848,
486,
506,
446,
8863,
3639,
289,
7734,
368,
1021,
1151,
1410,
486,
506,
446,
3639,
309,
12,
31345,
422,
446,
13,
288,
5411,
604,
394,
10108,
2932,
1986,
1151,
848,
486,
506,
446,
8863,
3639,
289,
7734,
368,
4444,
1058,
1450,
326,
1967,
9403,
487,
7704,
1042,
1763,
1269,
3639,
368,
971,
10108,
9938,
775,
358,
1262,
518,
487,
2619,
1058,
3639,
775,
288,
5411,
327,
16915,
18,
588,
797,
7675,
588,
7805,
7675,
588,
1420,
17052,
12,
529,
1769,
2
] |
||
public IASTTranslationUnit parse() { long startTime = System.currentTimeMillis(); translationUnit(); // For the debuglog to take place, you have to call // Util.setDebugging(true); // Or set debug to true in the core plugin preference log.traceLog("Parse " //$NON-NLS-1$ + (++parseCount) + ": " //$NON-NLS-1$ + (System.currentTimeMillis() - startTime) + "ms" //$NON-NLS-1$ + (parsePassed ? "" : " - parse failure")); //$NON-NLS-1$ //$NON-NLS-2$ IASTTranslationUnit result = getTranslationUnit(); nullifyTranslationUnit(); return result; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/a65769ef8a2d061e23943a119d6ef9b44b0f2c30/AbstractGNUSourceCodeParser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/AbstractGNUSourceCodeParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
467,
9053,
6717,
2802,
1109,
1435,
288,
225,
1525,
8657,
273,
2332,
18,
2972,
28512,
5621,
225,
4794,
2802,
5621,
225,
368,
2457,
326,
1198,
1330,
358,
4862,
3166,
16,
1846,
1240,
358,
745,
225,
368,
3564,
18,
542,
2829,
1998,
12,
3767,
1769,
225,
368,
2965,
444,
1198,
358,
638,
316,
326,
2922,
1909,
11555,
225,
613,
18,
5129,
1343,
2932,
3201,
315,
4329,
3993,
17,
5106,
17,
21,
8,
397,
261,
9904,
2670,
1380,
13,
397,
6398,
315,
4329,
3993,
17,
5106,
17,
21,
8,
397,
261,
3163,
18,
2972,
28512,
1435,
300,
8657,
13,
397,
315,
959,
6,
4329,
3993,
17,
5106,
17,
21,
8,
397,
261,
2670,
22530,
692,
1408,
294,
315,
300,
1109,
5166,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
225,
467,
9053,
6717,
2802,
563,
273,
23316,
2802,
5621,
225,
446,
1164,
6717,
2802,
5621,
225,
327,
563,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
1071,
467,
9053,
6717,
2802,
1109,
1435,
288,
225,
1525,
8657,
273,
2332,
18,
2972,
28512,
5621,
225,
4794,
2802,
5621,
225,
368,
2457,
326,
1198,
1330,
358,
4862,
3166,
16,
1846,
1240,
358,
745,
225,
368,
3564,
18,
542,
2829,
1998,
12,
3767,
1769,
225,
368,
2965,
444,
1198,
358,
638,
316,
326,
2922,
1909,
11555,
225,
613,
18,
5129,
1343,
2932,
3201,
315,
4329,
3993,
17,
5106,
17,
21,
8,
397,
261,
9904,
2670,
1380,
13,
397,
6398,
315,
4329,
3993,
17,
5106,
17,
21,
8,
397,
261,
3163,
18,
2972,
28512,
1435,
300,
8657,
13,
397,
315,
959,
6,
4329,
3993,
17,
5106,
17,
21,
8,
397,
261,
2670,
22530,
692,
1408,
294,
315,
300,
2
] |
||
skipWhitespace (); dataBufferAppend (readNmtoken (isNames)); skipWhitespace (); while (!tryRead (')')) { require ('|'); dataBufferAppend ('|'); skipWhitespace (); dataBufferAppend (readNmtoken (isNames)); skipWhitespace (); } dataBufferAppend (')'); }
|
skipWhitespace(); dataBufferAppend(readNmtoken(isNames)); skipWhitespace(); while (!tryRead(')')) { require('|'); dataBufferAppend('|'); skipWhitespace(); dataBufferAppend(readNmtoken (isNames)); skipWhitespace(); } dataBufferAppend(')'); }
|
private void parseEnumeration (boolean isNames) throws Exception { dataBufferAppend ('('); // Read the first token. skipWhitespace (); dataBufferAppend (readNmtoken (isNames)); // Read the remaining tokens. skipWhitespace (); while (!tryRead (')')) { require ('|'); dataBufferAppend ('|'); skipWhitespace (); dataBufferAppend (readNmtoken (isNames)); skipWhitespace (); } dataBufferAppend (')'); }
|
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/7fb7568e63c3fe14af521de4699cb37898923ca7/XmlParser.java/buggy/libjava/gnu/xml/aelfred2/XmlParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1109,
21847,
261,
6494,
353,
1557,
13,
565,
1216,
1185,
565,
288,
202,
892,
1892,
5736,
7707,
2668,
1769,
202,
759,
2720,
326,
1122,
1147,
18,
202,
7457,
9431,
261,
1769,
202,
892,
1892,
5736,
261,
896,
50,
1010,
969,
261,
291,
1557,
10019,
202,
759,
2720,
326,
4463,
2430,
18,
202,
7457,
9431,
261,
1769,
202,
17523,
16051,
698,
1994,
7707,
2506,
3719,
288,
202,
565,
2583,
7707,
96,
8284,
202,
565,
501,
1892,
5736,
7707,
96,
8284,
202,
565,
2488,
9431,
261,
1769,
202,
565,
501,
1892,
5736,
261,
896,
50,
1010,
969,
261,
291,
1557,
10019,
202,
565,
2488,
9431,
261,
1769,
202,
97,
202,
892,
1892,
5736,
7707,
2506,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
3238,
918,
1109,
21847,
261,
6494,
353,
1557,
13,
565,
1216,
1185,
565,
288,
202,
892,
1892,
5736,
7707,
2668,
1769,
202,
759,
2720,
326,
1122,
1147,
18,
202,
7457,
9431,
261,
1769,
202,
892,
1892,
5736,
261,
896,
50,
1010,
969,
261,
291,
1557,
10019,
202,
759,
2720,
326,
4463,
2430,
18,
202,
7457,
9431,
261,
1769,
202,
17523,
16051,
698,
1994,
7707,
2506,
3719,
288,
202,
565,
2583,
7707,
96,
8284,
202,
565,
501,
1892,
5736,
7707,
96,
8284,
202,
565,
2488,
9431,
261,
1769,
202,
565,
501,
1892,
5736,
261,
896,
50,
1010,
969,
261,
291,
1557,
10019,
202,
565,
2488,
9431,
261,
1769,
202,
97,
202,
892,
1892,
5736,
7707,
2506,
1769,
565,
289,
2
] |
public int[] getRowsForPaths(TreePath[] value0) {
|
public int[] getRowsForPaths(TreePath[] paths) {
|
public int[] getRowsForPaths(TreePath[] value0) { return null; // TODO } // getRowsForPaths()
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/AbstractLayoutCache.java/buggy/core/src/classpath/javax/javax/swing/tree/AbstractLayoutCache.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
8526,
22594,
1290,
4466,
12,
2471,
743,
8526,
460,
20,
13,
288,
202,
202,
2463,
446,
31,
368,
2660,
202,
97,
368,
22594,
1290,
4466,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
509,
8526,
22594,
1290,
4466,
12,
2471,
743,
8526,
460,
20,
13,
288,
202,
202,
2463,
446,
31,
368,
2660,
202,
97,
368,
22594,
1290,
4466,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
}
|
codePoint = reader.getCodePoint();
|
private int parseACCSEC() throws DRDAProtocolException { int securityCheckCode = 0; int securityMechanism = 0; byte [] publicKeyIn = null; reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { switch(codePoint) { //optional case CodePoint.SECMGRNM: // this is defined to be 0 length if (reader.getDdmLength() != 0) badObjectLength(CodePoint.SECMGRNM); break; //required case CodePoint.SECMEC: checkLength(CodePoint.SECMEC, 2); securityMechanism = reader.readNetworkShort(); if (SanityManager.DEBUG) trace("Security mechanism = " + securityMechanism); // if Property.DRDA_PROP_SECURITYMECHANISM has been set, then // network server only accepts connections which use that // security mechanism. No other types of connections // are accepted. // Make check to see if this property has been set. // if set, and if the client requested security mechanism // is not the same, then return a security check code // that the server does not support/allow this security // mechanism if ( (server.getSecurityMechanism() != NetworkServerControlImpl.INVALID_OR_NOTSET_SECURITYMECHANISM) && securityMechanism != server.getSecurityMechanism()) securityCheckCode = CodePoint.SECCHKCD_NOTSUPPORTED; else { // for plain text userid,password USRIDPWD, and USRIDONL // no need of decryptionManager if (securityMechanism != CodePoint.SECMEC_USRIDPWD && securityMechanism != CodePoint.SECMEC_USRIDONL) { //this is the only other one we understand if (securityMechanism != CodePoint.SECMEC_EUSRIDPWD) securityCheckCode = CodePoint.SECCHKCD_NOTSUPPORTED; else { try { if (decryptionManager == null) decryptionManager = new DecryptionManager(); myPublicKey = decryptionManager.obtainPublicKey(); } catch (SQLException e) { println2Log(null, session.drdaID, e.getMessage()); // Local security service non-retryable error. securityCheckCode = CodePoint.SECCHKCD_0A; } } } } break; //optional (currently required for Cloudscape - may need to revisit) case CodePoint.RDBNAM: String dbname = parseRDBNAM(); Database d = session.getDatabase(dbname); if (d == null) addDatabase(dbname); else { // reset database for connection re-use d.reset(); database = d; } break; //optional - depending on security Mechanism case CodePoint.SECTKN: publicKeyIn = reader.readBytes(); break; default: invalidCodePoint(codePoint); } codePoint = reader.getCodePoint(); } // check for required CodePoint's if (securityMechanism == 0) missingCodePoint(CodePoint.SECMEC); // RESOLVE - when we look further into security we might want to // handle this part of the protocol at the session level without // requiring a database for when authentication is used but there // is no database level security if (database == null) missingCodePoint(CodePoint.RDBNAM); database.securityMechanism = securityMechanism; database.publicKeyIn = publicKeyIn; // need security token if (securityCheckCode == 0 && database.securityMechanism == CodePoint.SECMEC_EUSRIDPWD && database.publicKeyIn == null) securityCheckCode = CodePoint.SECCHKCD_SECTKNMISSING_OR_INVALID; // shouldn't have security token if (securityCheckCode == 0 && (database.securityMechanism == CodePoint.SECMEC_USRIDPWD || database.securityMechanism == CodePoint.SECMEC_USRIDONL) && database.publicKeyIn != null) securityCheckCode = CodePoint.SECCHKCD_SECTKNMISSING_OR_INVALID; if (SanityManager.DEBUG) trace("** ACCSECRD securityCheckCode is: "+securityCheckCode); // If the security check was successful set the session state to // security accesseed. Otherwise go back to attributes exchanged so we // require another ACCSEC if (securityCheckCode == 0) session.setState(session.SECACC); else session.setState(session.ATTEXC); return securityCheckCode; }
|
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/977561c9de22d12b40a3a2f79a8df22ba7fc7752/DRDAConnThread.java/buggy/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1109,
31414,
11944,
1435,
1216,
225,
16801,
9793,
5752,
503,
288,
202,
474,
4373,
1564,
1085,
273,
374,
31,
202,
474,
4373,
31546,
273,
374,
31,
202,
7229,
5378,
12085,
382,
273,
446,
31,
202,
10530,
18,
3355,
2532,
5621,
202,
474,
18614,
273,
2949,
18,
588,
31536,
5621,
202,
17523,
261,
710,
2148,
480,
300,
21,
13,
288,
202,
565,
1620,
12,
710,
2148,
13,
288,
202,
202,
759,
10444,
202,
565,
648,
3356,
2148,
18,
1090,
9611,
6997,
50,
49,
30,
202,
202,
759,
333,
353,
2553,
358,
506,
374,
769,
202,
202,
430,
261,
10530,
18,
588,
40,
10956,
1782,
1435,
480,
374,
13,
1082,
565,
5570,
921,
1782,
12,
31536,
18,
1090,
9611,
6997,
50,
49,
1769,
202,
202,
8820,
31,
202,
202,
759,
4718,
202,
565,
648,
3356,
2148,
18,
11944,
958,
39,
30,
202,
202,
1893,
1782,
12,
31536,
18,
11944,
958,
39,
16,
576,
1769,
202,
202,
7462,
31546,
273,
2949,
18,
896,
3906,
4897,
5621,
202,
202,
430,
261,
55,
10417,
1318,
18,
9394,
13,
1082,
565,
2606,
2932,
4368,
12860,
273,
315,
397,
4373,
31546,
1769,
5397,
202,
202,
759,
309,
4276,
18,
6331,
9793,
67,
15811,
67,
29209,
958,
1792,
1258,
5127,
49,
711,
2118,
444,
16,
1508,
202,
202,
759,
2483,
1438,
1338,
8104,
5921,
1492,
999,
716,
202,
202,
759,
4373,
12860,
18,
2631,
1308,
1953,
434,
5921,
3196,
202,
759,
854,
8494,
18,
202,
202,
759,
4344,
866,
358,
2621,
309,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1109,
31414,
11944,
1435,
1216,
225,
16801,
9793,
5752,
503,
288,
202,
474,
4373,
1564,
1085,
273,
374,
31,
202,
474,
4373,
31546,
273,
374,
31,
202,
7229,
5378,
12085,
382,
273,
446,
31,
202,
10530,
18,
3355,
2532,
5621,
202,
474,
18614,
273,
2949,
18,
588,
31536,
5621,
202,
17523,
261,
710,
2148,
480,
300,
21,
13,
288,
202,
565,
1620,
12,
710,
2148,
13,
288,
202,
202,
759,
10444,
202,
565,
648,
3356,
2148,
18,
1090,
9611,
6997,
50,
49,
30,
202,
202,
759,
333,
353,
2553,
358,
506,
374,
769,
202,
202,
430,
261,
10530,
18,
588,
40,
10956,
1782,
1435,
480,
374,
13,
1082,
565,
5570,
921,
1782,
12,
31536,
18,
1090,
2
] |
public static LinkedList getRoute(StaticStreamGraph ssg, FlatNode from, FlatNode to) { RawChip rawChip = ssg.getStreamGraph().getRawChip(); Layout layout = ssg.getStreamGraph().getLayout(); LinkedList route = new LinkedList(); RawTile fromCoord, toCoord; fromCoord = layout.getTile(from); toCoord = layout.getTile(to); route.add(layout.getTile(from)); if (fromCoord== null) System.out.println("From RawTile null"); int row = fromCoord.getY(); int column = fromCoord.getX(); //For now just route the packets in a stupid manner //row then column if (fromCoord.getY() != toCoord.getY()) { if (fromCoord.getY() < toCoord.getY()) { for (row = fromCoord.getY() + 1; row <= toCoord.getY(); row++) route.add(rawChip.getTile(column, row)); row--; } else { for (row = fromCoord.getY() - 1; row >= toCoord.getY(); row--) route.add(rawChip.getTile(column, row)); row++; } } //column if (fromCoord.getX() != toCoord.getX()) { if (fromCoord.getX() < toCoord.getX()) for (column = fromCoord.getX() + 1; column <= toCoord.getX(); column++) route.add(rawChip.getTile(column, row)); else for (column = fromCoord.getX() - 1; column >= toCoord.getX(); column--) route.add(rawChip.getTile(column, row)); } //printRoute(from, to, route); return route; }
|
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/9157186c2a764caf5864b9d5e7d1a1aa930239a6/Router.java/buggy/streams/src/at/dms/kjc/spacedynamic/Router.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
10688,
13245,
12,
5788,
1228,
4137,
272,
1055,
16,
20396,
907,
628,
16,
20396,
907,
358,
13,
288,
202,
4809,
782,
625,
1831,
782,
625,
273,
272,
1055,
18,
588,
1228,
4137,
7675,
588,
4809,
782,
625,
5621,
202,
3744,
3511,
273,
272,
1055,
18,
588,
1228,
4137,
7675,
588,
3744,
5621,
202,
13174,
682,
1946,
273,
394,
10688,
5621,
202,
4809,
9337,
628,
5401,
16,
358,
5401,
31,
202,
2080,
5401,
273,
3511,
18,
588,
9337,
12,
2080,
1769,
202,
869,
5401,
273,
3511,
18,
588,
9337,
12,
869,
1769,
202,
202,
5547,
18,
1289,
12,
6741,
18,
588,
9337,
12,
2080,
10019,
202,
202,
430,
261,
2080,
5401,
631,
446,
13,
202,
3163,
18,
659,
18,
8222,
2932,
1265,
6576,
9337,
446,
8863,
202,
474,
1027,
273,
628,
5401,
18,
588,
61,
5621,
202,
474,
1057,
273,
628,
5401,
18,
588,
60,
5621,
202,
759,
1290,
2037,
2537,
1946,
326,
12640,
316,
279,
384,
416,
350,
21296,
202,
759,
492,
1508,
1057,
202,
430,
261,
2080,
5401,
18,
588,
61,
1435,
480,
358,
5401,
18,
588,
61,
10756,
288,
202,
430,
261,
2080,
5401,
18,
588,
61,
1435,
411,
358,
5401,
18,
588,
61,
10756,
288,
202,
202,
1884,
261,
492,
273,
628,
5401,
18,
588,
61,
1435,
397,
404,
31,
1875,
1027,
1648,
358,
5401,
18,
588,
61,
5621,
1027,
27245,
202,
202,
5547,
18,
1289,
12,
1899,
782,
625,
18,
588,
9337,
12,
2827,
16,
1027,
10019,
202,
202,
492,
413,
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,
760,
10688,
13245,
12,
5788,
1228,
4137,
272,
1055,
16,
20396,
907,
628,
16,
20396,
907,
358,
13,
288,
202,
4809,
782,
625,
1831,
782,
625,
273,
272,
1055,
18,
588,
1228,
4137,
7675,
588,
4809,
782,
625,
5621,
202,
3744,
3511,
273,
272,
1055,
18,
588,
1228,
4137,
7675,
588,
3744,
5621,
202,
13174,
682,
1946,
273,
394,
10688,
5621,
202,
4809,
9337,
628,
5401,
16,
358,
5401,
31,
202,
2080,
5401,
273,
3511,
18,
588,
9337,
12,
2080,
1769,
202,
869,
5401,
273,
3511,
18,
588,
9337,
12,
869,
1769,
202,
202,
5547,
18,
1289,
12,
6741,
18,
588,
9337,
12,
2080,
10019,
202,
202,
430,
261,
2080,
5401,
631,
446,
13,
202,
3163,
18,
659,
2
] |
||
String referencedClassName = property.getReferencedDomainClass().getFullName();
|
String tableName = calculateTableForMany(property); Table t = mappings.addTable( mappings.getSchemaName(), mappings.getCatalogName(), tableName, null, false ); collection.setCollectionTable(t);
|
private static void bindCollection(GrailsDomainClassProperty property, Collection collection, PersistentClass owner, Mappings mappings) { // set role collection.setRole( StringHelper.qualify( property.getDomainClass().getFullName() , property.getName() ) ); // configure eager fetching if(property.getFetchMode() == GrailsDomainClassProperty.FETCH_EAGER) { collection.setFetchMode(FetchMode.JOIN); } else { collection.setFetchMode( FetchMode.DEFAULT ); } // if its a one-to-many mapping if(property.isOneToMany() || property.isManyToMany()) { OneToMany oneToMany = new OneToMany( collection.getOwner() ); collection.setElement( oneToMany );/* if(property.isBidirectional()) { collection.setReferencedPropertyName( property.getOtherSide().getName() ); }*/ bindOneToMany( property, oneToMany, mappings ); } else { String referencedClassName = property.getReferencedDomainClass().getFullName(); Table table = mappings.addTable( mappings.getSchemaName(), mappings.getCatalogName(), namingStrategy.classToTableName(referencedClassName), null, false ); collection.setCollectionTable(table); } // setup second pass mappings.addSecondPass( new GrailsCollectionSecondPass(property, mappings, collection) ); }
|
47932 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47932/8d95f969eac0dc682fb80db98ab561d14174c8f1/GrailsDomainBinder.java/buggy/grails/src/persistence/org/codehaus/groovy/grails/orm/hibernate/cfg/GrailsDomainBinder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1993,
2532,
12,
14571,
14573,
3748,
797,
1396,
1272,
16,
2200,
1849,
16,
11049,
797,
3410,
16,
1635,
4675,
7990,
13,
288,
9506,
202,
759,
444,
2478,
202,
202,
5548,
18,
542,
2996,
12,
21494,
18,
3369,
1164,
12,
1272,
18,
588,
3748,
797,
7675,
588,
19223,
1435,
269,
1272,
18,
17994,
1435,
262,
11272,
9506,
202,
759,
5068,
18853,
16191,
202,
202,
430,
12,
4468,
18,
588,
5005,
2309,
1435,
422,
10812,
14573,
3748,
797,
1396,
18,
20231,
67,
41,
16302,
13,
288,
1082,
202,
5548,
18,
542,
5005,
2309,
12,
5005,
2309,
18,
18800,
1769,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
5548,
18,
542,
5005,
2309,
12,
8065,
2309,
18,
5280,
11272,
202,
202,
97,
25083,
202,
759,
309,
2097,
279,
1245,
17,
869,
17,
9353,
2874,
202,
202,
430,
12,
4468,
18,
291,
3335,
12601,
1435,
747,
1272,
18,
291,
5594,
12601,
10756,
288,
25083,
202,
3335,
12601,
1245,
12601,
273,
394,
6942,
12601,
12,
1849,
18,
588,
5541,
1435,
11272,
1082,
202,
5548,
18,
542,
1046,
12,
1245,
12601,
11272,
20308,
1082,
202,
430,
12,
4468,
18,
291,
17763,
24699,
10756,
288,
9506,
202,
5548,
18,
542,
22344,
13073,
12,
1272,
18,
588,
8290,
8895,
7675,
17994,
1435,
11272,
1082,
202,
97,
5549,
25083,
202,
4376,
3335,
12601,
12,
1272,
16,
1245,
12601,
16,
7990,
11272,
6862,
202,
97,
202,
202,
12107,
288,
1082,
202,
780,
8042,
3834,
273,
1272,
18,
588,
22344,
3748,
797,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1993,
2532,
12,
14571,
14573,
3748,
797,
1396,
1272,
16,
2200,
1849,
16,
11049,
797,
3410,
16,
1635,
4675,
7990,
13,
288,
9506,
202,
759,
444,
2478,
202,
202,
5548,
18,
542,
2996,
12,
21494,
18,
3369,
1164,
12,
1272,
18,
588,
3748,
797,
7675,
588,
19223,
1435,
269,
1272,
18,
17994,
1435,
262,
11272,
9506,
202,
759,
5068,
18853,
16191,
202,
202,
430,
12,
4468,
18,
588,
5005,
2309,
1435,
422,
10812,
14573,
3748,
797,
1396,
18,
20231,
67,
41,
16302,
13,
288,
1082,
202,
5548,
18,
542,
5005,
2309,
12,
5005,
2309,
18,
18800,
1769,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
5548,
18,
542,
5005,
2309,
12,
8065,
2309,
2
] |
pushFollow(FOLLOW_opt_semicolon_in_import_statement217);
|
if (failed) return ; pushFollow(FOLLOW_opt_semicolon_in_import_statement224);
|
public void import_statement() throws RecognitionException { String name = null; try { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:325:4: ( 'import' name= import_name opt_semicolon ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:325:4: 'import' name= import_name opt_semicolon { match(input,29,FOLLOW_29_in_import_statement211); pushFollow(FOLLOW_import_name_in_import_statement215); name=import_name(); _fsp--; pushFollow(FOLLOW_opt_semicolon_in_import_statement217); opt_semicolon(); _fsp--; if (packageDescr != null) packageDescr.addImport( name ); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/6b34eb3854fdc06f31034567ebdf72ff28c6c11a/DRLParser.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1930,
67,
11516,
1435,
1216,
9539,
288,
6647,
514,
508,
273,
446,
31,
3639,
775,
288,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
1578,
25,
30,
24,
30,
261,
296,
5666,
11,
508,
33,
1930,
67,
529,
2153,
67,
12000,
17280,
262,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
1578,
25,
30,
24,
30,
296,
5666,
11,
508,
33,
1930,
67,
529,
2153,
67,
12000,
17280,
5411,
288,
5411,
845,
12,
2630,
16,
5540,
16,
29890,
67,
5540,
67,
267,
67,
5666,
67,
11516,
22,
2499,
1769,
2398,
10881,
12,
29890,
67,
5666,
67,
529,
67,
267,
67,
5666,
67,
11516,
22,
3600,
1769,
5411,
508,
33,
5666,
67,
529,
5621,
5411,
389,
10749,
413,
31,
6647,
309,
261,
7307,
13,
327,
274,
10881,
12,
29890,
67,
3838,
67,
12000,
17280,
67,
267,
67,
5666,
67,
11516,
23622,
1769,
5411,
2153,
67,
12000,
17280,
5621,
5411,
389,
10749,
413,
31,
7682,
1082,
202,
430,
261,
5610,
16198,
480,
446,
13,
2868,
9506,
202,
5610,
16198,
18,
1289,
5010,
12,
508,
11272,
2398,
1082,
5411,
289,
3639,
289,
3639,
1044,
261,
5650,
7909,
503,
283,
13,
288,
5411,
17887,
12,
266,
1769,
5411,
5910,
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,
1930,
67,
11516,
1435,
1216,
9539,
288,
6647,
514,
508,
273,
446,
31,
3639,
775,
288,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
1578,
25,
30,
24,
30,
261,
296,
5666,
11,
508,
33,
1930,
67,
529,
2153,
67,
12000,
17280,
262,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
1578,
25,
30,
24,
30,
296,
5666,
11,
508,
33,
1930,
67,
529,
2153,
67,
12000,
17280,
2
] |
nullLog);
|
nullLog, null);
|
private static CSearchPattern createNamespacePattern(String patternString, LimitTo limitTo, int matchMode, boolean caseSensitive) { if( limitTo == ALL_OCCURRENCES ){ OrPattern orPattern = new OrPattern(); orPattern.addPattern( createNamespacePattern( patternString, DECLARATIONS, matchMode, caseSensitive ) ); orPattern.addPattern( createNamespacePattern( patternString, DEFINITIONS, matchMode, caseSensitive ) ); orPattern.addPattern( createNamespacePattern( patternString, REFERENCES, matchMode, caseSensitive ) ); return orPattern; } IScanner scanner = null; try { scanner = ParserFactory.createScanner( new StringReader(patternString), "TEXT", //$NON-NLS-1$ new ScannerInfo(), ParserMode.QUICK_PARSE, ParserLanguage.CPP, callback, nullLog); } catch (ParserFactoryError e) { } LinkedList list = scanForNames( scanner, null ); char [] name = (char []) list.removeLast(); char [][] qualifications = new char [0][]; return new NamespaceDeclarationPattern( name, (char[][]) list.toArray( qualifications ), matchMode, limitTo, caseSensitive ); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/68365e4ac0dcf1f0e969c7f6ab7b763b87c43216/CSearchPattern.java/buggy/core/org.eclipse.cdt.core/search/org/eclipse/cdt/internal/core/search/matching/CSearchPattern.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
385,
2979,
3234,
752,
3402,
3234,
12,
780,
1936,
780,
16,
7214,
774,
1800,
774,
16,
509,
845,
2309,
16,
1250,
20975,
13,
288,
202,
202,
430,
12,
1800,
774,
422,
8061,
67,
51,
6743,
1099,
24296,
1441,
55,
262,
95,
1082,
202,
1162,
3234,
578,
3234,
273,
394,
2965,
3234,
5621,
1082,
202,
280,
3234,
18,
1289,
3234,
12,
752,
3402,
3234,
12,
1936,
780,
16,
2030,
5017,
985,
15297,
16,
845,
2309,
16,
20975,
262,
11272,
1082,
202,
280,
3234,
18,
1289,
3234,
12,
752,
3402,
3234,
12,
1936,
780,
16,
2030,
7263,
7022,
55,
16,
845,
2309,
16,
20975,
262,
11272,
1082,
202,
280,
3234,
18,
1289,
3234,
12,
752,
3402,
3234,
12,
1936,
780,
16,
22898,
55,
16,
845,
2309,
16,
20975,
262,
11272,
1082,
202,
2463,
578,
3234,
31,
202,
202,
97,
9506,
202,
45,
11338,
7683,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
26842,
273,
9506,
202,
2678,
1733,
18,
2640,
11338,
12,
6862,
202,
2704,
26227,
12,
4951,
780,
3631,
6862,
202,
6,
5151,
3113,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
2704,
19074,
966,
9334,
6862,
202,
2678,
2309,
18,
3500,
16656,
67,
21045,
16,
6862,
202,
2678,
3779,
18,
4258,
52,
16,
6862,
202,
3394,
16,
4405,
202,
2011,
1343,
1769,
202,
202,
97,
1044,
261,
2678,
1733,
668,
425,
13,
288,
202,
202,
97,
202,
202,
13174,
682,
666,
273,
4135,
1290,
1557,
12,
7683,
16,
446,
11272,
9506,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
385,
2979,
3234,
752,
3402,
3234,
12,
780,
1936,
780,
16,
7214,
774,
1800,
774,
16,
509,
845,
2309,
16,
1250,
20975,
13,
288,
202,
202,
430,
12,
1800,
774,
422,
8061,
67,
51,
6743,
1099,
24296,
1441,
55,
262,
95,
1082,
202,
1162,
3234,
578,
3234,
273,
394,
2965,
3234,
5621,
1082,
202,
280,
3234,
18,
1289,
3234,
12,
752,
3402,
3234,
12,
1936,
780,
16,
2030,
5017,
985,
15297,
16,
845,
2309,
16,
20975,
262,
11272,
1082,
202,
280,
3234,
18,
1289,
3234,
12,
752,
3402,
3234,
12,
1936,
780,
16,
2030,
7263,
7022,
55,
16,
845,
2309,
16,
20975,
262,
11272,
1082,
202,
280,
3234,
18,
1289,
3234,
12,
752,
3402,
3234,
2
] |
return new String[]{ ComponentCreationDataModel.PROJECT_NAME, ComponentCreationDataModel.COMPONENT_NAME, ComponentCreationDataModel.COMPONENT_VERSION, WTPOperationDataModel.NESTED_MODEL_VALIDATION_HOOK, J2EEComponentCreationDataModel.ADD_TO_EAR}; }
|
return new String[] { PROJECT_NAME, COMPONENT_NAME, COMPONENT_VERSION, ADD_TO_EAR }; }
|
protected String[] getValidationPropertyNames() { return new String[]{ ComponentCreationDataModel.PROJECT_NAME, ComponentCreationDataModel.COMPONENT_NAME, ComponentCreationDataModel.COMPONENT_VERSION, WTPOperationDataModel.NESTED_MODEL_VALIDATION_HOOK, J2EEComponentCreationDataModel.ADD_TO_EAR}; }
|
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/59b6004d2898a63ab8beb09f095b3e971307dd92/AppClientComponentCreationWizardPage.java/clean/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AppClientComponentCreationWizardPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
8526,
23315,
29932,
1435,
288,
202,
202,
2463,
394,
514,
63,
7073,
9506,
202,
1841,
9906,
26349,
18,
17147,
67,
1985,
16,
4697,
202,
1841,
9906,
26349,
18,
22922,
67,
1985,
16,
4697,
202,
1841,
9906,
26349,
18,
22922,
67,
5757,
16,
4697,
202,
8588,
2419,
1193,
26349,
18,
5407,
882,
2056,
67,
17391,
67,
5063,
2689,
67,
7995,
3141,
16,
4697,
202,
46,
22,
9383,
1841,
9906,
26349,
18,
8355,
67,
4296,
67,
9250,
20451,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
8526,
23315,
29932,
1435,
288,
202,
202,
2463,
394,
514,
63,
7073,
9506,
202,
1841,
9906,
26349,
18,
17147,
67,
1985,
16,
4697,
202,
1841,
9906,
26349,
18,
22922,
67,
1985,
16,
4697,
202,
1841,
9906,
26349,
18,
22922,
67,
5757,
16,
4697,
202,
8588,
2419,
1193,
26349,
18,
5407,
882,
2056,
67,
17391,
67,
5063,
2689,
67,
7995,
3141,
16,
4697,
202,
46,
22,
9383,
1841,
9906,
26349,
18,
8355,
67,
4296,
67,
9250,
20451,
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
] |
g.fillRect( 1 + x + iseq * gap, y, gap, height );
|
g.fillRect( 1 + x + iseq * gap, y, Math.max( gap, 1 ), height );
|
protected void drawBarShape( Graphics g, int x, int y, int width, int height, int iseq, int nseq ) { int gap = ( width - 2 ) / nseq; g.fillRect( 1 + x + iseq * gap, y, gap, height ); }
|
48494 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48494/0b67dd8cc49f492970063cf59eb19e0cd8f6346b/BarStyles.java/buggy/topcat/src/main/uk/ac/starlink/topcat/plot/BarStyles.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
4750,
918,
3724,
5190,
8500,
12,
16830,
314,
16,
509,
619,
16,
509,
677,
16,
29159,
509,
1835,
16,
509,
2072,
16,
29159,
509,
277,
5436,
16,
509,
290,
5436,
262,
288,
7734,
509,
9300,
273,
261,
1835,
300,
576,
262,
342,
290,
5436,
31,
7734,
314,
18,
5935,
6120,
12,
404,
397,
619,
397,
277,
5436,
380,
9300,
16,
677,
16,
2361,
18,
1896,
12,
9300,
16,
404,
262,
16,
2072,
11272,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
4750,
918,
3724,
5190,
8500,
12,
16830,
314,
16,
509,
619,
16,
509,
677,
16,
29159,
509,
1835,
16,
509,
2072,
16,
29159,
509,
277,
5436,
16,
509,
290,
5436,
262,
288,
7734,
509,
9300,
273,
261,
1835,
300,
576,
262,
342,
290,
5436,
31,
7734,
314,
18,
5935,
6120,
12,
404,
397,
619,
397,
277,
5436,
380,
9300,
16,
677,
16,
2361,
18,
1896,
12,
9300,
16,
404,
262,
16,
2072,
11272,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
printType((SnmpObjectType) type, indent);
|
printType((SnmpObjectType) type, indent, smiVersion);
|
private void printType(MibType type, String indent) { MibType refType; Constraint refCons; Constraint typeCons; SequenceType seqType; SequenceOfType seqOfType; if (type.getReferenceSymbol() != null) { os.print(type.getReferenceSymbol().getName()); refType = type.getReferenceSymbol().getType(); refCons = getConstraint(refType); typeCons = getConstraint(type); if (typeCons != null && typeCons != refCons) { printConstraint(type, indent); } } else if (type instanceof SequenceType) { seqType = (SequenceType) type; os.println("SEQUENCE {"); os.print(indent + " "); printTypeElements(seqType.getAllElements(), indent + " "); os.println(); os.print(indent); os.print("}"); } else if (type instanceof SequenceOfType) { seqOfType = (SequenceOfType) type; os.print("SEQUENCE "); if (seqOfType.getConstraint() != null) { os.print("("); os.print(seqOfType.getConstraint()); os.print(") "); } os.print("OF "); printType(seqOfType.getElementType(), indent); } else if (type instanceof IntegerType) { os.print("INTEGER"); printConstraint(type, indent); } else if (type instanceof BitSetType) { os.print("BITS"); printConstraint(type, indent); } else if (type instanceof StringType) { os.print("OCTET STRING"); printConstraint(type, indent); } else if (type.isPrimitive()) { os.print(type.getName()); } else if (type instanceof SnmpModuleIdentity) { printType((SnmpModuleIdentity) type, indent); } else if (type instanceof SnmpObjectIdentity) { printType((SnmpObjectIdentity) type, indent); } else if (type instanceof SnmpObjectType) { printType((SnmpObjectType) type, indent); } else if (type instanceof SnmpNotificationType) { printType((SnmpNotificationType) type, indent); } else if (type instanceof SnmpTrapType) { printType((SnmpTrapType) type, indent); } else if (type instanceof SnmpTextualConvention) { printType((SnmpTextualConvention) type, indent); } else if (type instanceof SnmpObjectGroup) { printType((SnmpObjectGroup) type, indent); } else if (type instanceof SnmpNotificationGroup) { printType((SnmpNotificationGroup) type, indent); } else if (type instanceof SnmpModuleCompliance) { printType((SnmpModuleCompliance) type, indent); } else if (type instanceof SnmpAgentCapabilities) { printType((SnmpAgentCapabilities) type, indent); } else { os.print("-- ERROR: type definition unknown"); } }
|
48557 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48557/5fbfded11460d18b8c6def8234ad564a8b2a50e4/MibWriter.java/buggy/src/java/net/percederberg/mibble/MibWriter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1172,
559,
12,
49,
495,
559,
618,
16,
514,
3504,
13,
288,
3639,
490,
495,
559,
540,
1278,
559,
31,
3639,
10770,
1377,
1278,
9054,
31,
3639,
10770,
1377,
618,
9054,
31,
3639,
8370,
559,
565,
3833,
559,
31,
3639,
8370,
18859,
225,
3833,
18859,
31,
3639,
309,
261,
723,
18,
588,
2404,
5335,
1435,
480,
446,
13,
288,
5411,
1140,
18,
1188,
12,
723,
18,
588,
2404,
5335,
7675,
17994,
10663,
5411,
1278,
559,
273,
618,
18,
588,
2404,
5335,
7675,
588,
559,
5621,
5411,
1278,
9054,
273,
336,
5806,
12,
1734,
559,
1769,
5411,
618,
9054,
273,
336,
5806,
12,
723,
1769,
5411,
309,
261,
723,
9054,
480,
446,
597,
618,
9054,
480,
1278,
9054,
13,
288,
7734,
1172,
5806,
12,
723,
16,
3504,
1769,
5411,
289,
3639,
289,
469,
309,
261,
723,
1276,
8370,
559,
13,
288,
13491,
3833,
559,
273,
261,
4021,
559,
13,
618,
31,
5411,
1140,
18,
8222,
2932,
25330,
288,
8863,
5411,
1140,
18,
1188,
12,
9355,
397,
315,
565,
315,
1769,
5411,
1172,
559,
3471,
12,
5436,
559,
18,
588,
1595,
3471,
9334,
3504,
397,
315,
565,
315,
1769,
5411,
1140,
18,
8222,
5621,
5411,
1140,
18,
1188,
12,
9355,
1769,
5411,
1140,
18,
1188,
2932,
1532,
1769,
3639,
289,
469,
309,
261,
723,
1276,
8370,
18859,
13,
288,
13491,
3833,
18859,
273,
261,
4021,
18859,
13,
618,
31,
5411,
1140,
18,
1188,
2932,
25330,
315,
1769,
5411,
309,
261,
5436,
18859,
18,
588,
5806,
1435,
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,
1172,
559,
12,
49,
495,
559,
618,
16,
514,
3504,
13,
288,
3639,
490,
495,
559,
540,
1278,
559,
31,
3639,
10770,
1377,
1278,
9054,
31,
3639,
10770,
1377,
618,
9054,
31,
3639,
8370,
559,
565,
3833,
559,
31,
3639,
8370,
18859,
225,
3833,
18859,
31,
3639,
309,
261,
723,
18,
588,
2404,
5335,
1435,
480,
446,
13,
288,
5411,
1140,
18,
1188,
12,
723,
18,
588,
2404,
5335,
7675,
17994,
10663,
5411,
1278,
559,
273,
618,
18,
588,
2404,
5335,
7675,
588,
559,
5621,
5411,
1278,
9054,
273,
336,
5806,
12,
1734,
559,
1769,
5411,
618,
9054,
273,
336,
5806,
12,
723,
1769,
5411,
309,
261,
723,
9054,
480,
446,
597,
618,
9054,
480,
1278,
2
] |
return RubyFloat.m_newFloat(getRuby(), getDoubleValue() + getDoubleValue());
|
return RubyFloat.m_newFloat(getRuby(), getDoubleValue() + other.getDoubleValue());
|
public RubyNumeric op_plus(RubyNumeric other) { return RubyFloat.m_newFloat(getRuby(), getDoubleValue() + getDoubleValue()); }
|
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/09d14a481cf7e28332c61c038c7d4b468854d38d/RubyFloat.java/clean/org/jruby/RubyFloat.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
9902,
1061,
67,
10103,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
327,
19817,
4723,
18,
81,
67,
2704,
4723,
12,
588,
54,
10340,
9334,
16097,
620,
1435,
397,
1308,
18,
588,
5265,
620,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
9902,
1061,
67,
10103,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
327,
19817,
4723,
18,
81,
67,
2704,
4723,
12,
588,
54,
10340,
9334,
16097,
620,
1435,
397,
1308,
18,
588,
5265,
620,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
l.update(o);
|
l.update(new MatcherEvent(o));
|
public void update(byte b) { buffer[ndx++] = b; count++; if (ndx < config.blockLength) { // We have not seen a full block since the last match. return; } else if (ndx == config.blockLength) { config.weakSum.check(buffer, 0, config.blockLength); } else { config.weakSum.roll(b); } Long oldOffset = hashSearch(buffer, ndx - config.blockLength, config.blockLength); if (oldOffset != null) { if (ndx > config.blockLength) { DataBlock d = new DataBlock(count - ndx, buffer, 0, ndx - config.blockLength); Offsets o = new Offsets(oldOffset.longValue(), count-config.blockLength, config.blockLength); for (Iterator it = listeners.listIterator(); it.hasNext(); ) { MatcherListener l = (MatcherListener) it.next(); l.update(d); l.update(o); } } else { Offsets o = new Offsets(oldOffset.longValue(), count-config.blockLength, config.blockLength); for (Iterator it = listeners.listIterator(); it.hasNext(); ) { MatcherListener l = (MatcherListener) it.next(); l.update(o); } } ndx = 0; } else if (ndx == buffer.length) { DataBlock d = new DataBlock(count - ndx, buffer, 0, buffer.length - (config.blockLength-1)); for (Iterator it = listeners.listIterator(); it.hasNext(); ) { MatcherListener l = (MatcherListener) it.next(); l.update(d); } System.arraycopy(buffer, buffer.length - (config.blockLength-1), buffer, 0, config.blockLength-1); ndx = config.blockLength - 1; } }
|
964 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/964/bf6794f2fe20539c6ad99b318920770e903ed128/MatcherStream.java/buggy/source/org/metastatic/rsync/MatcherStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1089,
12,
7229,
324,
13,
288,
1377,
1613,
63,
4880,
92,
9904,
65,
273,
324,
31,
1377,
1056,
9904,
31,
1377,
309,
261,
4880,
92,
411,
642,
18,
2629,
1782,
13,
288,
540,
368,
1660,
1240,
486,
5881,
279,
1983,
1203,
3241,
326,
1142,
845,
18,
540,
327,
31,
1377,
289,
469,
309,
261,
4880,
92,
422,
642,
18,
2629,
1782,
13,
288,
540,
642,
18,
26008,
3495,
18,
1893,
12,
4106,
16,
374,
16,
642,
18,
2629,
1782,
1769,
1377,
289,
469,
288,
540,
642,
18,
26008,
3495,
18,
2693,
12,
70,
1769,
1377,
289,
1377,
3407,
1592,
2335,
273,
1651,
2979,
12,
4106,
16,
5346,
92,
300,
642,
18,
2629,
1782,
16,
540,
642,
18,
2629,
1782,
1769,
1377,
309,
261,
1673,
2335,
480,
446,
13,
288,
540,
309,
261,
4880,
92,
405,
642,
18,
2629,
1782,
13,
288,
5411,
1910,
1768,
302,
273,
394,
1910,
1768,
12,
1883,
300,
5346,
92,
16,
1613,
16,
374,
16,
9079,
5346,
92,
300,
642,
18,
2629,
1782,
1769,
5411,
9874,
87,
320,
273,
394,
9874,
87,
12,
1673,
2335,
18,
5748,
620,
9334,
9079,
1056,
17,
1425,
18,
2629,
1782,
16,
642,
18,
2629,
1782,
1769,
5411,
364,
261,
3198,
518,
273,
4679,
18,
1098,
3198,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
9079,
9757,
2223,
328,
273,
261,
6286,
2223,
13,
518,
18,
4285,
5621,
9079,
328,
18,
2725,
12,
72,
1769,
9079,
328,
18,
2725,
12,
2704,
9757,
1133,
12,
83,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1089,
12,
7229,
324,
13,
288,
1377,
1613,
63,
4880,
92,
9904,
65,
273,
324,
31,
1377,
1056,
9904,
31,
1377,
309,
261,
4880,
92,
411,
642,
18,
2629,
1782,
13,
288,
540,
368,
1660,
1240,
486,
5881,
279,
1983,
1203,
3241,
326,
1142,
845,
18,
540,
327,
31,
1377,
289,
469,
309,
261,
4880,
92,
422,
642,
18,
2629,
1782,
13,
288,
540,
642,
18,
26008,
3495,
18,
1893,
12,
4106,
16,
374,
16,
642,
18,
2629,
1782,
1769,
1377,
289,
469,
288,
540,
642,
18,
26008,
3495,
18,
2693,
12,
70,
1769,
1377,
289,
1377,
3407,
1592,
2335,
273,
1651,
2979,
12,
4106,
16,
5346,
92,
300,
642,
18,
2629,
1782,
16,
540,
642,
2
] |
values.put(key, ((String)values.get(key))+";"+value);
|
values.put(key, ((String)values.get(key))+ ';' +value);
|
public synchronized void put(String key, String value) { int idx; if(value == null) return; if((idx = key.indexOf(MULTI_LEVEL_CHAR)) == -1) { String x = (String) values.get(key); if(x == null) { values.put(key, value); } else { values.put(key, ((String)values.get(key))+";"+value); } } else { String before = key.substring(0, idx); String after = key.substring(idx+1); SimpleFieldSet fs = null; if(subsets == null) subsets = new HashMap(); fs = (SimpleFieldSet) (subsets.get(before)); if(fs == null) { fs = new SimpleFieldSet(); subsets.put(before, fs); } fs.put(after, value); } }
|
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/62fd59041864b4ed1f43adc676de6bfb5ea977f3/SimpleFieldSet.java/clean/src/freenet/support/SimpleFieldSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
1378,
12,
780,
498,
16,
514,
460,
13,
288,
202,
202,
474,
2067,
31,
202,
202,
430,
12,
1132,
422,
446,
13,
327,
31,
202,
202,
430,
12443,
3465,
273,
498,
18,
31806,
12,
26588,
67,
10398,
67,
7305,
3719,
422,
300,
21,
13,
288,
1082,
202,
780,
619,
273,
261,
780,
13,
924,
18,
588,
12,
856,
1769,
25083,
202,
430,
12,
92,
422,
446,
13,
288,
9506,
202,
2372,
18,
458,
12,
856,
16,
460,
1769,
1082,
202,
97,
469,
288,
9506,
202,
2372,
18,
458,
12,
856,
16,
14015,
780,
13,
2372,
18,
588,
12,
856,
3719,
9078,
4868,
15,
1132,
1769,
1082,
202,
97,
202,
202,
97,
469,
288,
1082,
202,
780,
1865,
273,
498,
18,
28023,
12,
20,
16,
2067,
1769,
1082,
202,
780,
1839,
273,
498,
18,
28023,
12,
3465,
15,
21,
1769,
1082,
202,
5784,
974,
694,
2662,
273,
446,
31,
1082,
202,
430,
12,
1717,
4424,
422,
446,
13,
9506,
202,
1717,
4424,
273,
394,
4317,
5621,
1082,
202,
2556,
273,
261,
5784,
974,
694,
13,
261,
1717,
4424,
18,
588,
12,
5771,
10019,
1082,
202,
430,
12,
2556,
422,
446,
13,
288,
9506,
202,
2556,
273,
394,
4477,
974,
694,
5621,
9506,
202,
1717,
4424,
18,
458,
12,
5771,
16,
2662,
1769,
1082,
202,
97,
1082,
202,
2556,
18,
458,
12,
5205,
16,
460,
1769,
202,
202,
97,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
1378,
12,
780,
498,
16,
514,
460,
13,
288,
202,
202,
474,
2067,
31,
202,
202,
430,
12,
1132,
422,
446,
13,
327,
31,
202,
202,
430,
12443,
3465,
273,
498,
18,
31806,
12,
26588,
67,
10398,
67,
7305,
3719,
422,
300,
21,
13,
288,
1082,
202,
780,
619,
273,
261,
780,
13,
924,
18,
588,
12,
856,
1769,
25083,
202,
430,
12,
92,
422,
446,
13,
288,
9506,
202,
2372,
18,
458,
12,
856,
16,
460,
1769,
1082,
202,
97,
469,
288,
9506,
202,
2372,
18,
458,
12,
856,
16,
14015,
780,
13,
2372,
18,
588,
12,
856,
3719,
9078,
4868,
15,
1132,
1769,
1082,
202,
97,
202,
202,
97,
469,
288,
1082,
2
] |
public org.quickfix.field.UnderlyingSecurityAltID get(org.quickfix.field.UnderlyingSecurityAltID value)
|
public quickfix.field.UnderlyingSecurityAltID get(quickfix.field.UnderlyingSecurityAltID value)
|
public org.quickfix.field.UnderlyingSecurityAltID get(org.quickfix.field.UnderlyingSecurityAltID value) throws FieldNotFound { getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityStatus.java/clean/src/java/src/quickfix/fix44/SecurityStatus.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
14655,
6291,
4368,
10655,
734,
336,
12,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
10655,
734,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
14655,
6291,
4368,
10655,
734,
336,
12,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
10655,
734,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
returnAST = letVarBinding_AST; } finally { traceOut("letVarBinding");
|
letVarBinding_AST= (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(VARIABLE_BINDING,varName)).add(letVarBinding_AST)); currentAST.root = letVarBinding_AST; currentAST.child = letVarBinding_AST!=null &&letVarBinding_AST.getFirstChild()!=null ? letVarBinding_AST.getFirstChild() : letVarBinding_AST; currentAST.advanceChildToEnd();
|
public final void letVarBinding() throws RecognitionException, TokenStreamException { traceIn("letVarBinding"); try { // debugging returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST letVarBinding_AST = null; String varName; match(DOLLAR); varName=qName(); { switch ( LA(1)) { case LITERAL_as: { typeDeclaration(); astFactory.addASTChild(currentAST, returnAST); break; } case COLON: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } match(COLON); match(EQ); exprSingle(); astFactory.addASTChild(currentAST, returnAST); if ( inputState.guessing==0 ) { letVarBinding_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; letVarBinding_AST= (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(VARIABLE_BINDING,varName)).add(letVarBinding_AST)); currentAST.root = letVarBinding_AST; currentAST.child = letVarBinding_AST!=null &&letVarBinding_AST.getFirstChild()!=null ? letVarBinding_AST.getFirstChild() : letVarBinding_AST; currentAST.advanceChildToEnd(); } letVarBinding_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = letVarBinding_AST; } finally { // debugging traceOut("letVarBinding"); } }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/848376fedfdb64086be7a20004c255cefe7b1015/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2231,
1537,
5250,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
5129,
382,
2932,
1810,
1537,
5250,
8863,
202,
202,
698,
288,
368,
10450,
1082,
202,
2463,
9053,
273,
446,
31,
1082,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
1082,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
2231,
1537,
5250,
67,
9053,
273,
446,
31,
1082,
202,
780,
13722,
31,
25083,
202,
1916,
12,
40,
30922,
985,
1769,
1082,
202,
1401,
461,
33,
85,
461,
5621,
1082,
202,
95,
1082,
202,
9610,
261,
2928,
12,
21,
3719,
288,
1082,
202,
3593,
511,
18454,
67,
345,
30,
1082,
202,
95,
9506,
202,
723,
6094,
5621,
9506,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
9506,
202,
8820,
31,
1082,
202,
97,
1082,
202,
3593,
27856,
30,
1082,
202,
95,
9506,
202,
8820,
31,
1082,
202,
97,
1082,
202,
1886,
30,
1082,
202,
95,
9506,
202,
12849,
394,
17114,
12,
12050,
12,
21,
3631,
14632,
10663,
1082,
202,
97,
1082,
202,
97,
1082,
202,
97,
1082,
202,
1916,
12,
4935,
673,
1769,
1082,
202,
1916,
12,
27247,
1769,
1082,
202,
8638,
5281,
5621,
1082,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
1082,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
9506,
202,
1810,
1537,
5250,
67,
9053,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2231,
1537,
5250,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
5129,
382,
2932,
1810,
1537,
5250,
8863,
202,
202,
698,
288,
368,
10450,
1082,
202,
2463,
9053,
273,
446,
31,
1082,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
1082,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
2231,
1537,
5250,
67,
9053,
273,
446,
31,
1082,
202,
780,
13722,
31,
25083,
202,
1916,
12,
40,
30922,
985,
1769,
1082,
202,
1401,
461,
33,
85,
461,
5621,
1082,
202,
95,
1082,
202,
9610,
261,
2928,
12,
21,
3719,
288,
1082,
202,
3593,
511,
18454,
67,
345,
30,
1082,
202,
95,
9506,
202,
723,
6094,
2
] |
List<IntentionAction> result = new ArrayList<IntentionAction>();
|
public IntentionAction[] getFixes() { List<IntentionAction> result = new ArrayList<IntentionAction>(); final AntProject project = getElement().getAntProject(); result.add(new AntCreateTargetAction(this)); for (PsiElement child : project.getChildren()) { if (child instanceof AntImport) { AntFile importedFile = ((AntImport)child).getFile(); if (importedFile != null) { result.add(new AntCreateTargetAction(this, importedFile)); } } } return result.toArray(new IntentionAction[result.size()]); }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/79cbc21574a634defb76047f777774a75b5f20b3/AntTargetReference.java/clean/plugins/ant/src/com/intellij/lang/ant/psi/impl/reference/AntTargetReference.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3094,
5054,
1803,
8526,
2812,
697,
281,
1435,
288,
4202,
727,
18830,
4109,
1984,
273,
7426,
7675,
588,
14925,
4109,
5621,
565,
563,
18,
1289,
12,
2704,
18830,
1684,
2326,
1803,
12,
2211,
10019,
565,
364,
261,
52,
7722,
1046,
1151,
294,
1984,
18,
588,
4212,
10756,
288,
1377,
309,
261,
3624,
1276,
18830,
5010,
13,
288,
3639,
18830,
812,
9101,
812,
273,
14015,
14925,
5010,
13,
3624,
2934,
29925,
5621,
3639,
309,
261,
29266,
812,
480,
446,
13,
288,
1850,
563,
18,
1289,
12,
2704,
18830,
1684,
2326,
1803,
12,
2211,
16,
9101,
812,
10019,
3639,
289,
1377,
289,
565,
289,
565,
327,
563,
18,
31447,
12,
2704,
3094,
5054,
1803,
63,
2088,
18,
1467,
1435,
19226,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3094,
5054,
1803,
8526,
2812,
697,
281,
1435,
288,
4202,
727,
18830,
4109,
1984,
273,
7426,
7675,
588,
14925,
4109,
5621,
565,
563,
18,
1289,
12,
2704,
18830,
1684,
2326,
1803,
12,
2211,
10019,
565,
364,
261,
52,
7722,
1046,
1151,
294,
1984,
18,
588,
4212,
10756,
288,
1377,
309,
261,
3624,
1276,
18830,
5010,
13,
288,
3639,
18830,
812,
9101,
812,
273,
14015,
14925,
5010,
13,
3624,
2934,
29925,
5621,
3639,
309,
261,
29266,
812,
480,
446,
13,
288,
1850,
563,
18,
1289,
12,
2704,
18830,
1684,
2326,
1803,
12,
2211,
16,
9101,
812,
10019,
3639,
289,
1377,
289,
565,
289,
565,
327,
563,
18,
31447,
12,
2704,
3094,
5054,
1803,
63,
2088,
18,
1467,
1435,
2
] |
|
switch (token) { case IDENTIFIER:
|
if (token == IDENTIFIER)
|
private String parseIdentifier() throws IOException { int token = parseToken(); switch (token) { case IDENTIFIER: return _lexeme; case DEFAULT: case CLASS: case PROTECTED: case PUBLIC: case FUNCTION: case LIST: case CASE: case TRUE: case FALSE: case RETURN: case ECHO: case AND_RES: case OR_RES: case XOR_RES: case REQUIRE: return _lexeme; default: throw error(L.l("expected identifier at {0}.", tokenName(token))); } }
|
3863 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3863/44480f02dff82ba25e5643f2a5564399e6953d6e/PhpParser.java/clean/quercus/src/main/java/com/caucho/quercus/parser/PhpParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
514,
1109,
3004,
1435,
565,
1216,
1860,
225,
288,
565,
509,
1147,
273,
1109,
1345,
5621,
565,
1620,
261,
2316,
13,
288,
565,
648,
26765,
30,
1377,
327,
389,
4149,
4698,
31,
565,
648,
3331,
30,
565,
648,
7383,
30,
565,
648,
4629,
26729,
30,
565,
648,
17187,
30,
565,
648,
13690,
30,
565,
648,
15130,
30,
565,
648,
18403,
30,
565,
648,
5383,
30,
565,
648,
4934,
30,
565,
648,
14780,
30,
565,
648,
512,
22213,
30,
565,
648,
4116,
67,
7031,
30,
565,
648,
4869,
67,
7031,
30,
565,
648,
28086,
67,
7031,
30,
565,
648,
2438,
28689,
30,
1377,
327,
389,
4149,
4698,
31,
1850,
805,
30,
1377,
604,
555,
12,
48,
18,
80,
2932,
3825,
2756,
622,
288,
20,
13772,
16,
1147,
461,
12,
2316,
3719,
1769,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
514,
1109,
3004,
1435,
565,
1216,
1860,
225,
288,
565,
509,
1147,
273,
1109,
1345,
5621,
565,
1620,
261,
2316,
13,
288,
565,
648,
26765,
30,
1377,
327,
389,
4149,
4698,
31,
565,
648,
3331,
30,
565,
648,
7383,
30,
565,
648,
4629,
26729,
30,
565,
648,
17187,
30,
565,
648,
13690,
30,
565,
648,
15130,
30,
565,
648,
18403,
30,
565,
648,
5383,
30,
565,
648,
4934,
30,
565,
648,
14780,
30,
565,
648,
512,
22213,
30,
565,
648,
4116,
67,
7031,
30,
565,
648,
4869,
67,
7031,
30,
565,
648,
28086,
67,
7031,
30,
565,
648,
2438,
28689,
30,
1377,
327,
389,
4149,
4698,
31,
1850,
805,
30,
1377,
604,
555,
12,
48,
18,
80,
2
] |
public void mT34() throws RecognitionException { int T34_StartIndex = input.index(); try { int type = T34; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; if ( backtracking>0 && alreadyParsedRule(input, 20) ) { return ; } // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:25:7: ( 'no-loop' ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:25:7: 'no-loop' { match("no-loop"); if (failed) return ; } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { if ( backtracking>0 ) { memoize(input, 20, T34_StartIndex); } } }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/e3fb9256ae6e5fcb8c78a2c3dbd47f678d9b1287/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21115,
5026,
1435,
1216,
9539,
288,
3639,
509,
399,
5026,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
399,
5026,
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,
4200,
13,
262,
288,
327,
274,
289,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
2947,
30,
27,
30,
261,
296,
2135,
17,
6498,
11,
262,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
2947,
30,
27,
30,
296,
2135,
17,
6498,
11,
5411,
288,
5411,
845,
2932,
2135,
17,
6498,
8863,
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,
4200,
16,
399,
5026,
67,
16792,
1769,
289,
3639,
289,
565,
289,
2,
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,
1,
1,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21115,
5026,
1435,
1216,
9539,
288,
3639,
509,
399,
5026,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
399,
5026,
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,
4200,
13,
262,
288,
327,
274,
289,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
2947,
30,
2
] |
||
txtRadius = new TextEditorComposite( cmpContent, SWT.BORDER
|
txtRadius = new LocalizedNumberEditorComposite( cmpContent, SWT.BORDER
|
private void placeComponents( ) { // Layout for the content composite GridLayout glContent = new GridLayout( 2, true ); glContent.verticalSpacing = 0; glContent.horizontalSpacing = 10; glContent.marginHeight = 7; glContent.marginWidth = 7; // Main content composite this.setLayout( glContent ); // Composite for Content cmpContent = new Composite( this, SWT.NONE ); GridData gdCMPContent = new GridData( GridData.FILL_HORIZONTAL ); cmpContent.setLayoutData( gdCMPContent ); cmpContent.setLayout( new GridLayout( 2, false ) ); Label lblRadius = new Label( cmpContent, SWT.NONE ); GridData gdLBLRadius = new GridData( GridData.HORIZONTAL_ALIGN_END ); lblRadius.setLayoutData( gdLBLRadius ); lblRadius.setText( Messages.getString( "MeterSeriesAttributeComposite.Lbl.Radius" ) ); //$NON-NLS-1$ txtRadius = new TextEditorComposite( cmpContent, SWT.BORDER | SWT.SINGLE ); GridData gdTXTRadius = new GridData( GridData.FILL_HORIZONTAL ); txtRadius.setText( String.valueOf( series.getDial( ).getRadius( ) ) ); txtRadius.setLayoutData( gdTXTRadius ); txtRadius.addListener( this ); Label lblStartAngle = new Label( cmpContent, SWT.NONE ); GridData gdLBLStartAngle = new GridData( GridData.HORIZONTAL_ALIGN_END ); lblStartAngle.setLayoutData( gdLBLStartAngle ); lblStartAngle.setText( Messages.getString( "MeterSeriesAttributeComposite.Lbl.StartAngle" ) ); //$NON-NLS-1$ iscStartAngle = new IntegerSpinControl( cmpContent, SWT.NONE, (int) series.getDial( ).getStartAngle( ) ); GridData gdISCStartAngle = new GridData( GridData.FILL_HORIZONTAL ); iscStartAngle.setLayoutData( gdISCStartAngle ); iscStartAngle.setValue( (int) ( series.getDial( ).getStartAngle( ) ) ); iscStartAngle.setMinimum( -360 ); iscStartAngle.setMaximum( 360 ); iscStartAngle.addListener( this ); Label lblStopAngle = new Label( cmpContent, SWT.NONE ); GridData gdLBLStopAngle = new GridData( GridData.HORIZONTAL_ALIGN_END ); lblStopAngle.setLayoutData( gdLBLStopAngle ); lblStopAngle.setText( Messages.getString( "MeterSeriesAttributeComposite.Lbl.StopAngle" ) ); //$NON-NLS-1$ iscStopAngle = new IntegerSpinControl( cmpContent, SWT.NONE, (int) series.getDial( ).getStopAngle( ) ); GridData gdISCStopAngle = new GridData( GridData.FILL_HORIZONTAL ); iscStopAngle.setLayoutData( gdISCStopAngle ); iscStopAngle.setValue( (int) ( series.getDial( ).getStopAngle( ) ) ); iscStopAngle.setMinimum( -360 ); iscStopAngle.setMaximum( 360 ); iscStopAngle.addListener( this ); cmpButton = new Composite( cmpContent, SWT.NONE ); GridData gdCMPButton = new GridData( GridData.FILL_HORIZONTAL ); gdCMPButton.horizontalSpan = 2; cmpButton.setLayoutData( gdCMPButton ); cmpButton.setLayout( new GridLayout( 2, true ) ); btnTicks = new Button( cmpButton, SWT.PUSH ); GridData gdBTNTicks = new GridData( GridData.FILL_HORIZONTAL ); btnTicks.setLayoutData( gdBTNTicks ); btnTicks.setText( Messages.getString( "MeterSeriesAttributeComposite.Lbl.DialTicks" ) );//$NON-NLS-1$ btnTicks.addSelectionListener( this ); btnScale = new Button( cmpButton, SWT.PUSH ); GridData gdBTNScale = new GridData( GridData.FILL_HORIZONTAL ); btnScale.setLayoutData( gdBTNScale ); btnScale.setText( Messages.getString( "MeterSeriesAttributeComposite.Lbl.DialScale" ) );//$NON-NLS-1$ btnScale.addSelectionListener( this ); // Layout for the Needle group GridLayout glNeedle = new GridLayout( 1, true ); glNeedle.verticalSpacing = 0; glNeedle.marginWidth = 10; glNeedle.marginHeight = 0; // Needle grpNeedle = new Group( this, SWT.NONE ); GridData gdGRPNeedle = new GridData( GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING ); gdGRPNeedle.heightHint = 93; grpNeedle.setLayoutData( gdGRPNeedle ); grpNeedle.setText( Messages.getString( "MeterSeriesAttributeSheetImpl.Lbl.Needle" ) );//$NON-NLS-1$ grpNeedle.setLayout( glNeedle ); liacNeedle = new LineAttributesComposite( grpNeedle, SWT.NONE, wizardContext, series.getNeedle( ).getLineAttributes( ), true, true, false, false ); GridData gdLIACNeedle = new GridData( GridData.FILL_HORIZONTAL ); gdLIACNeedle.horizontalIndent = 24; liacNeedle.setLayoutData( gdLIACNeedle ); liacNeedle.addListener( this ); cmbHeadStyle = new HeadStyleAttributeComposite( grpNeedle, SWT.NONE, series.getNeedle( ).getDecorator( ) ); GridData gdCMBHeadStyle = new GridData( GridData.FILL_HORIZONTAL ); cmbHeadStyle.setLayoutData( gdCMBHeadStyle ); cmbHeadStyle.addListener( this ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/d2b70963deda52802fb91e4162be11f6dfa733e4/MeterSeriesAttributeComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/series/MeterSeriesAttributeComposite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3166,
7171,
12,
262,
202,
95,
202,
202,
759,
9995,
364,
326,
913,
9635,
202,
202,
6313,
3744,
5118,
1350,
273,
394,
7145,
3744,
12,
576,
16,
638,
11272,
202,
202,
7043,
1350,
18,
17824,
18006,
273,
374,
31,
202,
202,
7043,
1350,
18,
18396,
18006,
273,
1728,
31,
202,
202,
7043,
1350,
18,
10107,
2686,
273,
2371,
31,
202,
202,
7043,
1350,
18,
10107,
2384,
273,
2371,
31,
202,
202,
759,
12740,
913,
9635,
202,
202,
2211,
18,
542,
3744,
12,
5118,
1350,
11272,
202,
202,
759,
14728,
364,
3697,
202,
202,
9625,
1350,
273,
394,
14728,
12,
333,
16,
348,
8588,
18,
9826,
11272,
202,
202,
6313,
751,
15551,
39,
4566,
1350,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
11272,
202,
202,
9625,
1350,
18,
542,
3744,
751,
12,
15551,
39,
4566,
1350,
11272,
202,
202,
9625,
1350,
18,
542,
3744,
12,
394,
7145,
3744,
12,
576,
16,
629,
262,
11272,
202,
202,
2224,
14284,
10196,
273,
394,
5287,
12,
9411,
1350,
16,
348,
8588,
18,
9826,
11272,
202,
202,
6313,
751,
15551,
12995,
48,
10196,
273,
394,
7145,
751,
12,
7145,
751,
18,
44,
20344,
67,
26439,
67,
4415,
11272,
202,
202,
31885,
10196,
18,
542,
3744,
751,
12,
15551,
12995,
48,
10196,
11272,
202,
202,
31885,
10196,
18,
542,
1528,
12,
4838,
18,
588,
780,
12,
315,
16935,
6485,
1499,
9400,
18,
48,
3083,
18,
10196,
6,
262,
11272,
4329,
3993,
17,
5106,
17,
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,
3166,
7171,
12,
262,
202,
95,
202,
202,
759,
9995,
364,
326,
913,
9635,
202,
202,
6313,
3744,
5118,
1350,
273,
394,
7145,
3744,
12,
576,
16,
638,
11272,
202,
202,
7043,
1350,
18,
17824,
18006,
273,
374,
31,
202,
202,
7043,
1350,
18,
18396,
18006,
273,
1728,
31,
202,
202,
7043,
1350,
18,
10107,
2686,
273,
2371,
31,
202,
202,
7043,
1350,
18,
10107,
2384,
273,
2371,
31,
202,
202,
759,
12740,
913,
9635,
202,
202,
2211,
18,
542,
3744,
12,
5118,
1350,
11272,
202,
202,
759,
14728,
364,
3697,
202,
202,
9625,
1350,
273,
394,
14728,
12,
333,
16,
348,
8588,
18,
9826,
11272,
202,
202,
6313,
751,
15551,
39,
4566,
1350,
273,
2
] |
protected void openTaskEditor() { // get the active page so that we can reuse it IWorkbenchPage page = MylarTaskListPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow() .getActivePage(); // if we couldn't get a page, get out if (page == null) { return; } IEditorInput input = new TaskEditorInput(this); try { // try to open an editor on the input task page.openEditor(input, MylarTaskListPrefConstants.TASK_EDITOR_ID); } catch (PartInitException ex) { MylarStatusHandler.log(ex, "open failed"); } }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/1245a92f28a2990bae8373c09891556a69268c75/Task.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/Task.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
6459,
3190,
2174,
6946,
1435,
95,
202,
202,
759,
588,
5787,
3535,
7267,
10370,
270,
91,
557,
304,
266,
1202,
305,
202,
202,
45,
2421,
22144,
1964,
2433,
33,
12062,
7901,
2174,
682,
3773,
18,
588,
1868,
7675,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3829,
1435,
9506,
202,
18,
588,
3896,
1964,
5621,
202,
202,
759,
430,
91,
557,
1006,
82,
1404,
588,
438,
410,
16,
588,
659,
202,
202,
430,
12,
2433,
631,
2011,
15329,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
45,
6946,
1210,
2630,
33,
2704,
2174,
6946,
1210,
12,
2211,
1769,
202,
202,
698,
95,
1082,
202,
759,
698,
869,
3190,
304,
9177,
2152,
73,
2630,
4146,
1082,
202,
2433,
18,
3190,
6946,
12,
2630,
16,
12062,
7901,
2174,
682,
23218,
2918,
18,
15580,
67,
13208,
67,
734,
1769,
202,
202,
97,
14683,
12,
1988,
2570,
503,
338,
15329,
1082,
202,
12062,
7901,
1482,
1503,
18,
1330,
12,
338,
10837,
3190,
7307,
8863,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
6459,
3190,
2174,
6946,
1435,
95,
202,
202,
759,
588,
5787,
3535,
7267,
10370,
270,
91,
557,
304,
266,
1202,
305,
202,
202,
45,
2421,
22144,
1964,
2433,
33,
12062,
7901,
2174,
682,
3773,
18,
588,
1868,
7675,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3829,
1435,
9506,
202,
18,
588,
3896,
1964,
5621,
202,
202,
759,
430,
91,
557,
1006,
82,
1404,
588,
438,
410,
16,
588,
659,
202,
202,
430,
12,
2433,
631,
2011,
15329,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
45,
6946,
1210,
2630,
33,
2704,
2174,
6946,
1210,
12,
2211,
1769,
202,
202,
698,
95,
1082,
202,
759,
698,
869,
3190,
304,
9177,
2152,
73,
2630,
4146,
1082,
2
] |
||
if (arg.name == null) { getRuby().getClasses().getClassMap().foreach(new FindClassPathMapMethod(), arg); }
|
if (arg.name == null) { getRuby().getClasses().getClassMap().foreach(new FindClassPathMapMethod(), arg); }
|
public RubyObject findClassPath() { FindClassPathResult arg = new FindClassPathResult(); arg.klass = this; arg.track = getRuby().getClasses().getObjectClass(); arg.prev = null; if (getRuby().getClasses().getObjectClass().getInstanceVariables() != null) { getRuby().getClasses().getObjectClass().getInstanceVariables().foreach( new FindClassPathMapMethod(), arg); } if (arg.name == null) { getRuby().getClasses().getClassMap().foreach(new FindClassPathMapMethod(), arg); } if (arg.name != null) { getInstanceVariables().put(getRuby().intern("__classpath__"), arg.path); return arg.path; } return getRuby().getNil(); }
|
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
1104,
22158,
1435,
288,
202,
202,
3125,
22158,
1253,
1501,
273,
394,
4163,
22158,
1253,
5621,
202,
202,
3175,
18,
22626,
273,
333,
31,
202,
202,
3175,
18,
4101,
273,
4170,
10340,
7675,
588,
4818,
7675,
588,
921,
797,
5621,
202,
202,
3175,
18,
10001,
273,
446,
31,
202,
202,
430,
261,
588,
54,
10340,
7675,
588,
4818,
7675,
588,
921,
797,
7675,
588,
1442,
6158,
1435,
480,
446,
13,
288,
1082,
202,
588,
54,
10340,
7675,
588,
4818,
7675,
588,
921,
797,
7675,
588,
1442,
6158,
7675,
25055,
12,
9506,
202,
2704,
4163,
22158,
863,
1305,
9334,
9506,
202,
3175,
1769,
202,
202,
97,
202,
202,
430,
261,
3175,
18,
529,
422,
446,
13,
288,
1082,
202,
588,
54,
10340,
7675,
588,
4818,
7675,
588,
797,
863,
7675,
25055,
12,
2704,
4163,
22158,
863,
1305,
9334,
1501,
1769,
202,
202,
97,
202,
202,
430,
261,
3175,
18,
529,
480,
446,
13,
288,
1082,
202,
588,
1442,
6158,
7675,
458,
12,
588,
54,
10340,
7675,
267,
798,
2932,
972,
26302,
14437,
3631,
1501,
18,
803,
1769,
1082,
202,
2463,
1501,
18,
803,
31,
202,
202,
97,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
1104,
22158,
1435,
288,
202,
202,
3125,
22158,
1253,
1501,
273,
394,
4163,
22158,
1253,
5621,
202,
202,
3175,
18,
22626,
273,
333,
31,
202,
202,
3175,
18,
4101,
273,
4170,
10340,
7675,
588,
4818,
7675,
588,
921,
797,
5621,
202,
202,
3175,
18,
10001,
273,
446,
31,
202,
202,
430,
261,
588,
54,
10340,
7675,
588,
4818,
7675,
588,
921,
797,
7675,
588,
1442,
6158,
1435,
480,
446,
13,
288,
1082,
202,
588,
54,
10340,
7675,
588,
4818,
7675,
588,
921,
797,
7675,
588,
1442,
6158,
7675,
25055,
12,
9506,
202,
2704,
4163,
22158,
863,
1305,
9334,
9506,
202,
3175,
1769,
202,
202,
97,
202,
202,
430,
261,
3175,
18,
529,
422,
446,
2
] |
ArrayList lines = new ArrayList(); ArrayList errors = new ArrayList();
|
ArrayList<String> lines = new ArrayList<String>(); ArrayList<String> errors = new ArrayList<String>();
|
public boolean isLocallyModified(String filename) { String[] command = new String[] { "svn", "status", filename }; ArrayList lines = new ArrayList(); ArrayList errors = new ArrayList(); int status = ProcessUtilities.backQuote(getRoot(), command, lines, errors); for (int i = 0; i < lines.size(); ++i) { String line = (String) lines.get(i); if (line.startsWith("M")) { return true; } } return false; }
|
10883 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10883/f411b42ba4b57cdb26ef8b9350f88c2390902e52/Subversion.java/buggy/trunk/src/e/scm/Subversion.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
1333,
1230,
4575,
12,
780,
1544,
13,
288,
3639,
514,
8526,
1296,
273,
394,
514,
8526,
288,
315,
31505,
3113,
315,
2327,
3113,
1544,
289,
31,
3639,
2407,
2362,
273,
394,
2407,
5621,
3639,
2407,
1334,
273,
394,
2407,
5621,
3639,
509,
1267,
273,
4389,
11864,
18,
823,
10257,
12,
588,
2375,
9334,
1296,
16,
2362,
16,
1334,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2362,
18,
1467,
5621,
965,
77,
13,
288,
5411,
514,
980,
273,
261,
780,
13,
2362,
18,
588,
12,
77,
1769,
5411,
309,
261,
1369,
18,
17514,
1190,
2932,
49,
6,
3719,
288,
7734,
327,
638,
31,
5411,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
1333,
1230,
4575,
12,
780,
1544,
13,
288,
3639,
514,
8526,
1296,
273,
394,
514,
8526,
288,
315,
31505,
3113,
315,
2327,
3113,
1544,
289,
31,
3639,
2407,
2362,
273,
394,
2407,
5621,
3639,
2407,
1334,
273,
394,
2407,
5621,
3639,
509,
1267,
273,
4389,
11864,
18,
823,
10257,
12,
588,
2375,
9334,
1296,
16,
2362,
16,
1334,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2362,
18,
1467,
5621,
965,
77,
13,
288,
5411,
514,
980,
273,
261,
780,
13,
2362,
18,
588,
12,
77,
1769,
5411,
309,
261,
1369,
18,
17514,
1190,
2932,
49,
6,
3719,
288,
7734,
327,
638,
31,
5411,
289,
3639,
289,
3639,
327,
629,
31,
565,
2
] |
public void setupBuiltInMacros(IScannerData scannerData, ParserLanguage language) { this.language = language;
|
public void setupBuiltInMacros(IScannerData scannerData) {
|
public void setupBuiltInMacros(IScannerData scannerData, ParserLanguage language) { this.language = language; if( language == ParserLanguage.CPP ) if( scannerData.getScanner().getDefinition( IScanner.__CPLUSPLUS ) == null ) scannerData.getScanner().addDefinition( IScanner.__CPLUSPLUS, new ObjectMacroDescriptor( IScanner.__CPLUSPLUS, "1")); //$NON-NLS-1$ if( scannerData.getScanner().getDefinition(IScanner.__STDC_HOSTED__) == null ) scannerData.getScanner().addDefinition(IScanner.__STDC_HOSTED__, new ObjectMacroDescriptor( IScanner.__STDC_HOSTED__, "0")); //$NON-NLS-1$ if( scannerData.getScanner().getDefinition( IScanner.__STDC_VERSION__) == null ) scannerData.getScanner().addDefinition( IScanner.__STDC_VERSION__, new ObjectMacroDescriptor( IScanner.__STDC_VERSION__, "199001L")); //$NON-NLS-1$ //TODO - these macros should not be visible as macros in the scanner's definition list //need to make a public/private table i think if( scannerData.getScanner().getDefinition( __ATTRIBUTE__) == null ) scannerData.getScanner().addDefinition( __ATTRIBUTE__, new FunctionMacroDescriptor( __ATTRIBUTE__, simpleIdentifiersDeclSpec, EMPTY_LIST, "" )); //$NON-NLS-1$ $NON-NLS-2$ if( scannerData.getScanner().getDefinition( __DECLSPEC) == null ) scannerData.getScanner().addDefinition( __DECLSPEC, new FunctionMacroDescriptor( __ATTRIBUTE__, simpleIdentifiersDeclSpec, EMPTY_LIST, "" )); //$NON-NLS-1$ $NON-NLS-2$ setupAlternativeKeyword(scannerData, __CONST__, Keywords.CONST); setupAlternativeKeyword(scannerData, __CONST, Keywords.CONST); setupAlternativeKeyword(scannerData, __INLINE__, Keywords.INLINE); setupAlternativeKeyword(scannerData, __SIGNED__, Keywords.SIGNED); setupAlternativeKeyword(scannerData, __VOLATILE__, Keywords.VOLATILE); setupAlternativeKeyword( scannerData, __RESTRICT, Keywords.RESTRICT); setupAlternativeKeyword( scannerData, __RESTRICT__, Keywords.RESTRICT); setupAlternativeKeyword( scannerData, __TYPEOF__, GCCKeywords.TYPEOF ); if( language == ParserLanguage.CPP ) setupAlternativeKeyword( scannerData, __ASM__, Keywords.ASM ); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/03144000c42a4f600f030b2c1ea190c6b70acd6f/GCCScannerExtension.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/GCCScannerExtension.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3875,
16409,
382,
9990,
6973,
12,
45,
11338,
751,
7683,
751,
16,
6783,
3779,
2653,
13,
288,
202,
202,
2211,
18,
4923,
273,
2653,
31,
25083,
202,
430,
12,
2653,
422,
6783,
3779,
18,
4258,
52,
262,
1082,
202,
430,
12,
7683,
751,
18,
588,
11338,
7675,
588,
1852,
12,
467,
11338,
16186,
4258,
11778,
3118,
48,
3378,
262,
422,
446,
262,
9506,
202,
26842,
751,
18,
588,
11338,
7675,
1289,
1852,
12,
467,
11338,
16186,
4258,
11778,
3118,
48,
3378,
16,
394,
1033,
17392,
3187,
12,
467,
11338,
16186,
4258,
11778,
3118,
48,
3378,
16,
315,
21,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
430,
12,
7683,
751,
18,
588,
11338,
7675,
588,
1852,
12,
45,
11338,
16186,
882,
5528,
67,
8908,
2056,
972,
13,
422,
446,
262,
1082,
202,
26842,
751,
18,
588,
11338,
7675,
1289,
1852,
12,
45,
11338,
16186,
882,
5528,
67,
8908,
2056,
972,
16,
394,
1033,
17392,
3187,
12,
467,
11338,
16186,
882,
5528,
67,
8908,
2056,
972,
16,
315,
20,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
430,
12,
7683,
751,
18,
588,
11338,
7675,
588,
1852,
12,
467,
11338,
16186,
882,
5528,
67,
5757,
972,
13,
422,
446,
262,
1082,
202,
26842,
751,
18,
588,
11338,
7675,
1289,
1852,
12,
467,
11338,
16186,
882,
5528,
67,
5757,
972,
16,
394,
1033,
17392,
3187,
12,
467,
11338,
16186,
882,
5528,
67,
5757,
972,
16,
315,
19818,
11664,
48,
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,
3875,
16409,
382,
9990,
6973,
12,
45,
11338,
751,
7683,
751,
16,
6783,
3779,
2653,
13,
288,
202,
202,
2211,
18,
4923,
273,
2653,
31,
25083,
202,
430,
12,
2653,
422,
6783,
3779,
18,
4258,
52,
262,
1082,
202,
430,
12,
7683,
751,
18,
588,
11338,
7675,
588,
1852,
12,
467,
11338,
16186,
4258,
11778,
3118,
48,
3378,
262,
422,
446,
262,
9506,
202,
26842,
751,
18,
588,
11338,
7675,
1289,
1852,
12,
467,
11338,
16186,
4258,
11778,
3118,
48,
3378,
16,
394,
1033,
17392,
3187,
12,
467,
11338,
16186,
4258,
11778,
3118,
48,
3378,
16,
315,
21,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
430,
12,
7683,
751,
18,
588,
2
] |
if (ic_object_instance_id == -1) {
|
if ("-1".equals(instanceId) ) {
|
public IWPropertyList getMethods(int ic_object_instance_id, IWMainApplication iwma) throws Exception { String componentKey = null; IWBundle iwb = null; //Hardcoded -1 for the top page if (ic_object_instance_id == -1) { componentKey = "com.idega.presentation.Page"; iwb = iwma.getBundle(com.idega.presentation.Page.IW_BUNDLE_IDENTIFIER); } else { ICObjectInstance icoi = ((com.idega.core.component.data.ICObjectInstanceHome) com.idega.data.IDOLookup.getHomeLegacy(ICObjectInstance.class)).findByPrimaryKeyLegacy(ic_object_instance_id); ICObject obj = icoi.getObject(); iwb = obj.getBundle(iwma); componentKey = obj.getClassName(); } return getMethods(iwb, componentKey); }
|
54061 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54061/5e789efa8069f0a5684374a0aa2aa84e0b02c934/IBPropertyHandler.java/buggy/src/java/com/idega/builder/business/IBPropertyHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
59,
1396,
682,
15429,
12,
474,
13579,
67,
1612,
67,
1336,
67,
350,
16,
467,
59,
6376,
3208,
25522,
2540,
13,
1216,
1185,
288,
202,
202,
780,
1794,
653,
273,
446,
31,
202,
202,
45,
59,
3405,
277,
9464,
273,
446,
31,
202,
202,
759,
29601,
24808,
300,
21,
364,
326,
1760,
1363,
202,
202,
430,
261,
335,
67,
1612,
67,
1336,
67,
350,
422,
300,
21,
13,
288,
1082,
202,
4652,
653,
273,
315,
832,
18,
831,
15833,
18,
10364,
18,
1964,
14432,
1082,
202,
77,
9464,
273,
25522,
2540,
18,
588,
3405,
12,
832,
18,
831,
15833,
18,
10364,
18,
1964,
18,
45,
59,
67,
30245,
67,
16606,
1769,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
2871,
921,
1442,
277,
2894,
77,
273,
14015,
832,
18,
831,
15833,
18,
3644,
18,
4652,
18,
892,
18,
2871,
921,
1442,
8684,
13,
532,
18,
831,
15833,
18,
892,
18,
734,
1741,
4909,
18,
588,
8684,
12235,
12,
2871,
921,
1442,
18,
1106,
13,
2934,
4720,
858,
11575,
12235,
12,
335,
67,
1612,
67,
1336,
67,
350,
1769,
1082,
202,
2871,
921,
1081,
273,
277,
2894,
77,
18,
588,
921,
5621,
1082,
202,
77,
9464,
273,
1081,
18,
588,
3405,
12,
22315,
2540,
1769,
1082,
202,
4652,
653,
273,
1081,
18,
588,
3834,
5621,
202,
202,
97,
202,
202,
2463,
15429,
12,
77,
9464,
16,
1794,
653,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
59,
1396,
682,
15429,
12,
474,
13579,
67,
1612,
67,
1336,
67,
350,
16,
467,
59,
6376,
3208,
25522,
2540,
13,
1216,
1185,
288,
202,
202,
780,
1794,
653,
273,
446,
31,
202,
202,
45,
59,
3405,
277,
9464,
273,
446,
31,
202,
202,
759,
29601,
24808,
300,
21,
364,
326,
1760,
1363,
202,
202,
430,
261,
335,
67,
1612,
67,
1336,
67,
350,
422,
300,
21,
13,
288,
1082,
202,
4652,
653,
273,
315,
832,
18,
831,
15833,
18,
10364,
18,
1964,
14432,
1082,
202,
77,
9464,
273,
25522,
2540,
18,
588,
3405,
12,
832,
18,
831,
15833,
18,
10364,
18,
1964,
18,
45,
59,
67,
30245,
67,
16606,
1769,
202,
202,
97,
202,
2
] |
System.out.println("Opening file "+dir+"/"+name);
|
public void run() { // Now the real import stuff if(name!=null && dir!=null) { Statement stat = null; try { // fetch the large object manager LargeObjectManager lom = ((org.postgresql.Connection)db).getLargeObjectAPI(); System.out.println("Importing file"); // A temporary buffer - this can be as large as you like byte buf[] = new byte[2048]; // Open the file System.out.println("Opening file "+dir+"/"+name); FileInputStream fis = new FileInputStream(new File(dir,name)); // Gain access to large objects System.out.println("Gaining LOAPI"); // Now create the large object System.out.println("creating blob"); int oid = lom.create(); System.out.println("Opening "+oid); LargeObject blob = lom.open(oid); // Now copy the file into the object. // // Note: we dont use write(buf), as the last block is rarely the same // size as our buffer, so we have to use the amount read. System.out.println("Importing file"); int s,t=0; while((s=fis.read(buf,0,buf.length))>0) { System.out.println("Block s="+s+" t="+t);t+=s; blob.write(buf,0,s); } // Close the object System.out.println("Closing blob"); blob.close(); // Now store the entry into the table // As we are a different thread to the other window, we must use // our own thread stat = db.createStatement(); stat.executeUpdate("insert into images values ('"+name+"',"+oid+")"); db.commit(); // Finally refresh the names list, and display the current image ImageViewer.this.refreshList(); ImageViewer.this.displayImage(name); } catch(Exception ex) { label.setText(ex.toString()); } finally { // ensure the statement is closed after us try { if(stat != null) stat.close(); } catch(SQLException se) { System.err.println("closing of Statement failed"); } } } }
|
46597 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46597/02faee5eaa0ed93364446f5c186fa6904899dca6/ImageViewer.java/clean/src/interfaces/jdbc/example/ImageViewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
5411,
368,
4494,
326,
2863,
1930,
10769,
1377,
309,
12,
529,
5,
33,
2011,
597,
1577,
5,
33,
2011,
13,
288,
202,
3406,
610,
273,
446,
31,
202,
202,
698,
288,
202,
225,
368,
2158,
326,
7876,
733,
3301,
202,
225,
16236,
908,
921,
1318,
328,
362,
273,
14015,
3341,
18,
2767,
24330,
18,
1952,
13,
1966,
2934,
588,
20020,
921,
2557,
5621,
202,
21114,
225,
2332,
18,
659,
18,
8222,
2932,
5010,
310,
585,
8863,
202,
225,
368,
432,
6269,
1613,
300,
333,
848,
506,
487,
7876,
487,
1846,
3007,
202,
225,
1160,
1681,
8526,
273,
394,
1160,
63,
21573,
28,
15533,
202,
21114,
225,
368,
3502,
326,
585,
202,
225,
2332,
18,
659,
18,
8222,
2932,
21378,
585,
13773,
1214,
9078,
4898,
15,
529,
1769,
202,
225,
11907,
15324,
273,
394,
11907,
12,
2704,
1387,
12,
1214,
16,
529,
10019,
202,
21114,
225,
368,
611,
530,
2006,
358,
7876,
2184,
202,
225,
2332,
18,
659,
18,
8222,
2932,
43,
3280,
1806,
2557,
8863,
202,
21114,
225,
368,
4494,
752,
326,
7876,
733,
202,
225,
2332,
18,
659,
18,
8222,
2932,
23799,
4795,
8863,
202,
225,
509,
7764,
273,
328,
362,
18,
2640,
5621,
202,
21114,
225,
2332,
18,
659,
18,
8222,
2932,
21378,
13773,
839,
1769,
202,
225,
16236,
908,
921,
4795,
273,
328,
362,
18,
3190,
12,
839,
1769,
202,
21114,
225,
368,
4494,
1610,
326,
585,
1368,
326,
733,
18,
202,
225,
368,
202,
225,
368,
3609,
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,
5411,
368,
4494,
326,
2863,
1930,
10769,
1377,
309,
12,
529,
5,
33,
2011,
597,
1577,
5,
33,
2011,
13,
288,
202,
3406,
610,
273,
446,
31,
202,
202,
698,
288,
202,
225,
368,
2158,
326,
7876,
733,
3301,
202,
225,
16236,
908,
921,
1318,
328,
362,
273,
14015,
3341,
18,
2767,
24330,
18,
1952,
13,
1966,
2934,
588,
20020,
921,
2557,
5621,
202,
21114,
225,
2332,
18,
659,
18,
8222,
2932,
5010,
310,
585,
8863,
202,
225,
368,
432,
6269,
1613,
300,
333,
848,
506,
487,
7876,
487,
1846,
3007,
202,
225,
1160,
1681,
8526,
273,
394,
1160,
63,
21573,
28,
15533,
202,
21114,
225,
368,
3502,
326,
585,
202,
225,
2332,
2
] |
|
assertEquals("Ross", ((Person) result.getPayload()).getFirstName()); assertEquals("Mason", ((Person) result.getPayload()).getLastName());
|
assertEquals("Betty", ((Person) result.getPayload()).getFirstName()); assertEquals("Rubble", ((Person) result.getPayload()).getLastName());
|
public void testRequestResponseComplex2() throws Exception { MuleClient client = new MuleClient(); String[] args = new String[] { "Ross", "Mason" }; UMOMessage result = client.send("glue:http://localhost:38004/mule/mycomponent3?method=addPerson", args, null); assertNotNull(result); assertTrue(result.getPayload() instanceof Person); assertEquals("Ross", ((Person) result.getPayload()).getFirstName()); assertEquals("Mason", ((Person) result.getPayload()).getLastName()); // do a receive result = client.send("glue:http://localhost:38004/mule/mycomponent3?method=getPerson", "Ross", null); assertNotNull(result); assertTrue(result.getPayload() instanceof Person); assertEquals("Ross", ((Person) result.getPayload()).getFirstName()); assertEquals("Mason", ((Person) result.getPayload()).getLastName()); }
|
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/b656e0806058d87c5db05880209b51a8d57416d0/MuleSoapClientTestCase.java/buggy/tests/integration/src/test/java/org/mule/test/integration/client/MuleSoapClientTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
691,
1064,
12795,
22,
1435,
1216,
1185,
565,
288,
3639,
490,
725,
1227,
1004,
273,
394,
490,
725,
1227,
5621,
3639,
514,
8526,
833,
273,
394,
514,
8526,
288,
315,
54,
8464,
3113,
315,
49,
2753,
6,
289,
31,
3639,
587,
5980,
1079,
563,
273,
1004,
18,
4661,
2932,
7043,
344,
30,
2505,
2207,
13014,
30,
7414,
26565,
19,
81,
725,
19,
4811,
4652,
23,
35,
2039,
33,
1289,
8346,
3113,
833,
16,
446,
1769,
3639,
25395,
12,
2088,
1769,
3639,
1815,
5510,
12,
2088,
18,
588,
6110,
1435,
1276,
11573,
1769,
3639,
1815,
8867,
2932,
54,
8464,
3113,
14015,
8346,
13,
563,
18,
588,
6110,
1435,
2934,
588,
3759,
461,
10663,
3639,
1815,
8867,
2932,
49,
2753,
3113,
14015,
8346,
13,
563,
18,
588,
6110,
1435,
2934,
588,
3024,
461,
10663,
3639,
368,
741,
279,
6798,
3639,
563,
273,
1004,
18,
4661,
2932,
7043,
344,
30,
2505,
2207,
13014,
30,
7414,
26565,
19,
81,
725,
19,
4811,
4652,
23,
35,
2039,
33,
588,
8346,
3113,
315,
54,
8464,
3113,
446,
1769,
3639,
25395,
12,
2088,
1769,
3639,
1815,
5510,
12,
2088,
18,
588,
6110,
1435,
1276,
11573,
1769,
3639,
1815,
8867,
2932,
54,
8464,
3113,
14015,
8346,
13,
563,
18,
588,
6110,
1435,
2934,
588,
3759,
461,
10663,
3639,
1815,
8867,
2932,
49,
2753,
3113,
14015,
8346,
13,
563,
18,
588,
6110,
1435,
2934,
588,
3024,
461,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
691,
1064,
12795,
22,
1435,
1216,
1185,
565,
288,
3639,
490,
725,
1227,
1004,
273,
394,
490,
725,
1227,
5621,
3639,
514,
8526,
833,
273,
394,
514,
8526,
288,
315,
54,
8464,
3113,
315,
49,
2753,
6,
289,
31,
3639,
587,
5980,
1079,
563,
273,
1004,
18,
4661,
2932,
7043,
344,
30,
2505,
2207,
13014,
30,
7414,
26565,
19,
81,
725,
19,
4811,
4652,
23,
35,
2039,
33,
1289,
8346,
3113,
833,
16,
446,
1769,
3639,
25395,
12,
2088,
1769,
3639,
1815,
5510,
12,
2088,
18,
588,
6110,
1435,
1276,
11573,
1769,
3639,
1815,
8867,
2932,
54,
8464,
3113,
14015,
8346,
13,
563,
18,
588,
6110,
1435,
2934,
588,
3759,
461,
10663,
3639,
1815,
8867,
2
] |
_loop647:
|
_loop651:
|
public final void buffercopystate(AST _t) throws RecognitionException { AST buffercopystate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t643 = _t; AST tmp579_AST_in = (AST)_t; match(_t,BUFFERCOPY); _t = _t.getFirstChild(); AST tmp580_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: { AST __t645 = _t; AST tmp581_AST_in = (AST)_t; match(_t,EXCEPT); _t = _t.getFirstChild(); { _loop647: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Field_ref)) { field(_t); _t = _retTree; } else { break _loop647; } } while (true); } _t = __t645; _t = _t.getNextSibling(); break; } case USING: { AST __t648 = _t; AST tmp582_AST_in = (AST)_t; match(_t,USING); _t = _t.getFirstChild(); { int _cnt650=0; _loop650: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Field_ref)) { field(_t); _t = _retTree; } else { if ( _cnt650>=1 ) { break _loop650; } else {throw new NoViableAltException(_t);} } _cnt650++; } while (true); } _t = __t648; _t = _t.getNextSibling(); break; } case TO: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp583_AST_in = (AST)_t; match(_t,TO); _t = _t.getNextSibling(); AST tmp584_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ASSIGN: { AST __t652 = _t; AST tmp585_AST_in = (AST)_t; match(_t,ASSIGN); _t = _t.getFirstChild(); assignment_list(_t); _t = _retTree; _t = __t652; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case NOERROR_KW: case NOLOBS: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOLOBS: { AST tmp586_AST_in = (AST)_t; match(_t,NOLOBS); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case NOERROR_KW: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOERROR_KW: { AST tmp587_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t643; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1613,
22295,
1094,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1613,
22295,
1094,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
1105,
23,
273,
389,
88,
31,
202,
202,
9053,
1853,
25,
7235,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
11302,
24875,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
25,
3672,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
22261,
67,
1985,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
5675,
14514,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
1105,
25,
273,
389,
88,
31,
1082,
202,
9053,
1853,
8204,
21,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
2294,
14514,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
95,
1082,
202,
67,
6498,
30792,
30,
1082,
202,
2896,
288,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1613,
22295,
1094,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1613,
22295,
1094,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
1105,
23,
273,
389,
88,
31,
202,
202,
9053,
1853,
25,
7235,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
11302,
24875,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
25,
3672,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
22261,
67,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.