rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
public ZFolderBean getTrash() { return getFolderBeanById(ZFolder.ID_TRASH); }
|
public ZFolderBean getTrash() throws ServiceException { return getFolderBeanById(ZFolder.ID_TRASH); }
|
public ZFolderBean getTrash() { return getFolderBeanById(ZFolder.ID_TRASH); }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/b6c57620eaf20479918db544f2acb559dd15880d/ZMailboxBean.java/clean/ZimbraTagLib/src/java/com/zimbra/cs/taglib/bean/ZMailboxBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2285,
3899,
3381,
336,
29420,
1435,
288,
327,
29001,
3381,
5132,
12,
62,
3899,
18,
734,
67,
20060,
2664,
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,
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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
setStartingOffset(startingOffset); setEndingOffset(endOffset);
|
setStartingOffsetAndLineNumber(startingOffset, startingLine); setEndingOffsetAndLineNumber(endOffset, endingLine);
|
public ASTNamespaceAlias(ISymbol s, String alias, IASTNamespaceDefinition namespaceDefinition, int startingOffset, int nameOffset, int nameEndOffset, int endOffset, List references) { super( s ); this.alias = alias; this.namespace = namespaceDefinition; setStartingOffset(startingOffset); setEndingOffset(endOffset); setNameOffset(nameOffset); setNameEndOffset(nameEndOffset); store = new ASTReferenceStore( references); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/a38f5c4f0dd1208b4df07f8a318b103677fbf77a/ASTNamespaceAlias.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/ASTNamespaceAlias.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9183,
3402,
2936,
12,
5127,
3284,
272,
16,
514,
2308,
16,
467,
9053,
3402,
1852,
1981,
1852,
16,
509,
5023,
2335,
16,
509,
508,
2335,
16,
509,
508,
1638,
2335,
16,
509,
25507,
16,
987,
5351,
13,
565,
288,
3639,
2240,
12,
272,
11272,
3639,
333,
18,
4930,
273,
2308,
31,
540,
333,
18,
4937,
273,
1981,
1852,
31,
3639,
444,
11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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9183,
3402,
2936,
12,
5127,
3284,
272,
16,
514,
2308,
16,
467,
9053,
3402,
1852,
1981,
1852,
16,
509,
5023,
2335,
16,
509,
508,
2335,
16,
509,
508,
1638,
2335,
16,
509,
25507,
16,
987,
5351,
13,
565,
288,
3639,
2240,
12,
272,
11272,
3639,
333,
18,
4930,
273,
2308,
31,
540,
333,
18,
4937,
273,
1981,
1852,
31,
3639,
444,
11715,
2335,
12,
18526,
2335,
1769,
3639,
19743,
310,
2335,
12,
409,
2335,
1769,
3639,
6788,
2335,
12,
529,
2335,
1769,
540,
6788,
1638,
2335,
12,
529,
1638,
2335,
1769,
3639,
1707,
273,
394,
9183,
2404,
2257,
12,
5351,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if ((current == first && current.getTreeNext() != lastChild) || current.getElementType() != ElementType.WHITE_SPACE) { if (leaf != null && leaf.getElementType() == ElementType.WHITE_SPACE) { if (leaf == result) result = leaf.getTreeNext(); delete(leaf);
|
if (current.getElementType() != ElementType.XML_TEXT) { LeafElement leaf = TreeUtil.findFirstLeaf(current); if (((current == first && current.getTreeNext() != lastChild) || current.getElementType() != ElementType.WHITE_SPACE)) { if (leaf != null && leaf.getElementType() == ElementType.WHITE_SPACE) { if (leaf == result) result = leaf.getTreeNext(); delete(leaf); }
|
private static ASTNode trimWhiteSpaces(final ASTNode first, final ASTNode lastChild) { ASTNode current = first; ASTNode result = first; while(current != null && current != lastChild) { LeafElement leaf = TreeUtil.findFirstLeaf(current); if ((current == first && current.getTreeNext() != lastChild) || current.getElementType() != ElementType.WHITE_SPACE) { if (leaf != null && leaf.getElementType() == ElementType.WHITE_SPACE) { if (leaf == result) result = leaf.getTreeNext(); delete(leaf); } } leaf = TreeUtil.findLastLeaf(current); if (current.getElementType() != ElementType.WHITE_SPACE) { if (leaf != null && leaf.getElementType() == ElementType.WHITE_SPACE) { if (leaf == result) result = leaf.getTreeNext(); delete(leaf); } } current = current.getTreeNext(); } return result; }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/8a6c5c5c1ec9d2be7260a45f8dd45b30a5c48334/CodeEditUtil.java/clean/source/com/intellij/psi/impl/source/codeStyle/CodeEditUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
9183,
907,
2209,
13407,
12077,
12,
6385,
9183,
907,
1122,
16,
727,
9183,
907,
30006,
13,
288,
565,
9183,
907,
783,
273,
1122,
31,
565,
9183,
907,
563,
273,
1122,
31,
565,
1323,
12,
2972,
480,
446,
597,
783,
480,
30006,
13,
288,
1377,
23383,
1046,
7839,
273,
4902,
1304,
18,
4720,
3759,
9858,
12,
2972,
1769,
1377,
309,
14015,
2972,
422,
1122,
597,
783,
18,
588,
2471,
2134,
1435,
480,
30006,
13,
747,
783,
18,
588,
17481,
1435,
480,
3010,
559,
18,
16861,
67,
6616,
13,
288,
3639,
309,
261,
12070,
480,
446,
597,
7839,
18,
588,
17481,
1435,
422,
3010,
559,
18,
16861,
67,
6616,
13,
288,
1850,
309,
261,
12070,
422,
563,
13,
563,
273,
7839,
18,
588,
2471,
2134,
5621,
1850,
1430,
12,
12070,
1769,
3639,
289,
1377,
289,
1377,
7839,
273,
4902,
1304,
18,
4720,
3024,
9858,
12,
2972,
1769,
1377,
309,
261,
2972,
18,
588,
17481,
1435,
480,
3010,
559,
18,
16861,
67,
6616,
13,
288,
3639,
309,
261,
12070,
480,
446,
597,
7839,
18,
588,
17481,
1435,
422,
3010,
559,
18,
16861,
67,
6616,
13,
288,
1850,
309,
261,
12070,
422,
563,
13,
563,
273,
7839,
18,
588,
2471,
2134,
5621,
1850,
1430,
12,
12070,
1769,
3639,
289,
1377,
289,
1377,
783,
273,
783,
18,
588,
2471,
2134,
5621,
565,
289,
565,
327,
563,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
9183,
907,
2209,
13407,
12077,
12,
6385,
9183,
907,
1122,
16,
727,
9183,
907,
30006,
13,
288,
565,
9183,
907,
783,
273,
1122,
31,
565,
9183,
907,
563,
273,
1122,
31,
565,
1323,
12,
2972,
480,
446,
597,
783,
480,
30006,
13,
288,
1377,
23383,
1046,
7839,
273,
4902,
1304,
18,
4720,
3759,
9858,
12,
2972,
1769,
1377,
309,
14015,
2972,
422,
1122,
597,
783,
18,
588,
2471,
2134,
1435,
480,
30006,
13,
747,
783,
18,
588,
17481,
1435,
480,
3010,
559,
18,
16861,
67,
6616,
13,
288,
3639,
309,
261,
12070,
480,
446,
597,
7839,
18,
588,
17481,
1435,
422,
3010,
559,
18,
16861,
67,
6616,
13,
288,
1850,
309,
261,
12070,
422,
563,
13,
2
] |
public SampleBean() { }
|
46992 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46992/193fa330789714e036f7cfe33fe2d04000cf3aeb/SampleBean.java/clean/src/gov/nih/nci/calab/dto/administration/SampleBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
11474,
3381,
1435,
288,
1082,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
11474,
3381,
1435,
288,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
node = new XSCMLeaf(leaf.type(), leaf.getLeaf(), leaf.getParticleId(), fLeafCount++);
|
node = fNodeFactory.getCMLeafNode(leaf.type(), leaf.getLeaf(), leaf.getParticleId(), fLeafCount++);
|
private CMNode copyNode(CMNode node) { int type = node.type(); // for choice or sequence, copy the two subtrees, and combine them if (type == XSModelGroupImpl.MODELGROUP_CHOICE || type == XSModelGroupImpl.MODELGROUP_SEQUENCE) { XSCMBinOp bin = (XSCMBinOp)node; node = new XSCMBinOp(type, copyNode(bin.getLeft()), copyNode(bin.getRight())); } // for ?+*, copy the subtree, and put it in a new ?+* node else if (type == XSParticleDecl.PARTICLE_ZERO_OR_MORE || type == XSParticleDecl.PARTICLE_ONE_OR_MORE || type == XSParticleDecl.PARTICLE_ZERO_OR_ONE) { XSCMUniOp uni = (XSCMUniOp)node; node = new XSCMUniOp(type, copyNode(uni.getChild())); } // for element/wildcard (leaf), make a new leaf node, // with a distinct position else if (type == XSParticleDecl.PARTICLE_ELEMENT || type == XSParticleDecl.PARTICLE_WILDCARD) { XSCMLeaf leaf = (XSCMLeaf)node; node = new XSCMLeaf(leaf.type(), leaf.getLeaf(), leaf.getParticleId(), fLeafCount++); } return node; }
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/e65c5ac35572e7128402faf30f4127f7dfae653b/CMBuilder.java/clean/src/org/apache/xerces/impl/xs/models/CMBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
15871,
907,
1610,
907,
12,
9611,
907,
756,
13,
288,
3639,
509,
618,
273,
756,
18,
723,
5621,
3639,
368,
364,
6023,
578,
3102,
16,
1610,
326,
2795,
720,
17204,
16,
471,
8661,
2182,
3639,
309,
261,
723,
422,
1139,
55,
1488,
1114,
2828,
18,
17391,
8468,
67,
22213,
11774,
747,
5411,
618,
422,
1139,
55,
1488,
1114,
2828,
18,
17391,
8468,
67,
25330,
13,
288,
5411,
1139,
2312,
7969,
267,
3817,
4158,
273,
261,
60,
2312,
7969,
267,
3817,
13,
2159,
31,
5411,
756,
273,
394,
1139,
2312,
7969,
267,
3817,
12,
723,
16,
1610,
907,
12,
4757,
18,
588,
3910,
1435,
3631,
4766,
1610,
907,
12,
4757,
18,
588,
4726,
1435,
10019,
3639,
289,
3639,
368,
364,
692,
15,
14,
16,
1610,
326,
12773,
16,
471,
1378,
518,
316,
279,
394,
692,
15,
14,
756,
3639,
469,
309,
261,
723,
422,
1139,
55,
1988,
3711,
3456,
18,
15055,
2871,
900,
67,
24968,
67,
916,
67,
31078,
747,
1171,
618,
422,
1139,
55,
1988,
3711,
3456,
18,
15055,
2871,
900,
67,
5998,
67,
916,
67,
31078,
747,
1171,
618,
422,
1139,
55,
1988,
3711,
3456,
18,
15055,
2871,
900,
67,
24968,
67,
916,
67,
5998,
13,
288,
5411,
1139,
2312,
49,
984,
77,
3817,
7738,
273,
261,
60,
2312,
49,
984,
77,
3817,
13,
2159,
31,
5411,
756,
273,
394,
1139,
2312,
49,
984,
77,
3817,
12,
723,
16,
1610,
907,
12,
318,
77,
18,
588,
1763,
1435,
10019,
3639,
289,
3639,
368,
364,
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,
15871,
907,
1610,
907,
12,
9611,
907,
756,
13,
288,
3639,
509,
618,
273,
756,
18,
723,
5621,
3639,
368,
364,
6023,
578,
3102,
16,
1610,
326,
2795,
720,
17204,
16,
471,
8661,
2182,
3639,
309,
261,
723,
422,
1139,
55,
1488,
1114,
2828,
18,
17391,
8468,
67,
22213,
11774,
747,
5411,
618,
422,
1139,
55,
1488,
1114,
2828,
18,
17391,
8468,
67,
25330,
13,
288,
5411,
1139,
2312,
7969,
267,
3817,
4158,
273,
261,
60,
2312,
7969,
267,
3817,
13,
2159,
31,
5411,
756,
273,
394,
1139,
2312,
7969,
267,
3817,
12,
723,
16,
1610,
907,
12,
4757,
18,
588,
3910,
1435,
3631,
4766,
1610,
907,
12,
4757,
18,
588,
4726,
1435,
10019,
3639,
289,
3639,
2
] |
annotatedByList.clearSelection();
|
if (userIndex != -1) annotatedByList.setSelectedIndex(userIndex);
|
void showAnnotations() { deleteBox.setSelected(false); ExperimenterData userDetails = model.getUserDetails(); if (userDetails == null) return; Map annotations = model.getAnnotations(); String[] owners = new String[annotations.size()]; Iterator i = annotations.keySet().iterator(); Long id; int index = 0; ownersMap = new HashMap(); List list; ExperimenterData data; while (i.hasNext()) { id = (Long) i.next(); list = (List) annotations.get(id); data = ((AnnotationData) list.get(0)).getOwner(); if (userDetails.getId() == id.intValue()) userIndex = index; String n = "Name not available"; //TODO: REMOVE ASAP try { n = data.getLastName(); } catch (Exception e) {} owners[index] = n; ownersMap.put(new Integer(index), id); index++; } //No annotation for the current user, so allow creation. if (userIndex != -1) annotatedByList.setSelectedIndex(userIndex); setComponentsEnabled(true); formatUsersList(owners); annotatedByList.clearSelection(); //annotatedByList.setSelectedIndex(userIndex); showSingleAnnotation(); }
|
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/c4a5cadc1b56f30311b66cf2fbcf6e3ad950328a/AnnotationPaneUI.java/clean/SRC/org/openmicroscopy/shoola/agents/hiviewer/clipboard/annotator/AnnotationPaneUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
2405,
5655,
1435,
565,
288,
3639,
1430,
3514,
18,
542,
7416,
12,
5743,
1769,
3639,
1312,
457,
381,
2328,
751,
729,
3790,
273,
938,
18,
588,
1299,
3790,
5621,
3639,
309,
261,
1355,
3790,
422,
446,
13,
327,
31,
3639,
1635,
5617,
273,
938,
18,
588,
5655,
5621,
3639,
514,
8526,
25937,
273,
394,
514,
63,
14670,
18,
1467,
1435,
15533,
3639,
4498,
277,
273,
5617,
18,
856,
694,
7675,
9838,
5621,
3639,
3407,
612,
31,
3639,
509,
770,
273,
374,
31,
3639,
25937,
863,
273,
394,
4317,
5621,
3639,
987,
666,
31,
3639,
1312,
457,
381,
2328,
751,
501,
31,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
5411,
612,
273,
261,
3708,
13,
277,
18,
4285,
5621,
5411,
666,
273,
261,
682,
13,
5617,
18,
588,
12,
350,
1769,
5411,
501,
273,
14015,
3257,
751,
13,
666,
18,
588,
12,
20,
13,
2934,
588,
5541,
5621,
5411,
309,
261,
1355,
3790,
18,
26321,
1435,
422,
612,
18,
474,
620,
10756,
729,
1016,
273,
770,
31,
5411,
514,
290,
273,
315,
461,
486,
2319,
14432,
368,
6241,
30,
26056,
5355,
2203,
5411,
775,
288,
7734,
290,
273,
501,
18,
588,
3024,
461,
5621,
5411,
289,
1044,
261,
503,
425,
13,
2618,
5411,
25937,
63,
1615,
65,
273,
290,
31,
5411,
25937,
863,
18,
458,
12,
2704,
2144,
12,
1615,
3631,
612,
1769,
5411,
770,
9904,
31,
3639,
289,
3639,
368,
2279,
3204,
364,
326,
783,
729,
16,
1427,
1699,
6710,
18,
3639,
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,
918,
2405,
5655,
1435,
565,
288,
3639,
1430,
3514,
18,
542,
7416,
12,
5743,
1769,
3639,
1312,
457,
381,
2328,
751,
729,
3790,
273,
938,
18,
588,
1299,
3790,
5621,
3639,
309,
261,
1355,
3790,
422,
446,
13,
327,
31,
3639,
1635,
5617,
273,
938,
18,
588,
5655,
5621,
3639,
514,
8526,
25937,
273,
394,
514,
63,
14670,
18,
1467,
1435,
15533,
3639,
4498,
277,
273,
5617,
18,
856,
694,
7675,
9838,
5621,
3639,
3407,
612,
31,
3639,
509,
770,
273,
374,
31,
3639,
25937,
863,
273,
394,
4317,
5621,
3639,
987,
666,
31,
3639,
1312,
457,
381,
2328,
751,
501,
31,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
5411,
612,
273,
261,
3708,
13,
277,
2
] |
return reason;
|
return reason == null ? "" : reason;
|
public String getReason() { return reason; }
|
47643 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47643/e50259f0ee0c2012cc72ec0d12cba25070f0c062/MUCUser.java/buggy/source/org/jivesoftware/smackx/packet/MUCUser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
26521,
1435,
288,
5411,
327,
3971,
422,
446,
692,
1408,
294,
3971,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
540,
1071,
514,
26521,
1435,
288,
5411,
327,
3971,
422,
446,
692,
1408,
294,
3971,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
map.put( taskid, task );
|
{ BaseTaskBean bean = new BaseTaskBean( taskid, task ); map.put( taskid, bean ); }
|
public static void addTask( HttpServletRequest request, IEngineTask task ) { if ( request == null || task == null ) return; // get task id BaseAttributeBean attrBean = (BaseAttributeBean) request .getAttribute( IBirtConstants.ATTRIBUTE_BEAN ); if ( attrBean == null ) return; String taskid = attrBean.getTaskId( ); // get task map HttpSession session = request.getSession( true ); Map map = (Map) session.getAttribute( IBirtConstants.TASK_MAP ); if ( map == null ) { map = new HashMap( ); session.setAttribute( IBirtConstants.TASK_MAP, map ); } // add task synchronized ( map ) { if ( taskid != null ) map.put( taskid, task ); } }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/2591dfb188879f4c0d3e0302096700c9326b5fdb/BirtUtility.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/BirtUtility.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
527,
2174,
12,
9984,
590,
16,
467,
4410,
2174,
1562,
262,
202,
95,
202,
202,
430,
261,
590,
422,
446,
747,
1562,
422,
446,
262,
1082,
202,
2463,
31,
202,
202,
759,
336,
1562,
612,
202,
202,
2171,
1499,
3381,
1604,
3381,
273,
261,
2171,
1499,
3381,
13,
590,
9506,
202,
18,
588,
1499,
12,
23450,
2714,
2918,
18,
11616,
67,
23703,
11272,
202,
202,
430,
261,
1604,
3381,
422,
446,
262,
1082,
202,
2463,
31,
202,
202,
780,
29035,
273,
1604,
3381,
18,
588,
30182,
12,
11272,
202,
202,
759,
336,
1562,
852,
202,
202,
2940,
2157,
1339,
273,
590,
18,
588,
2157,
12,
638,
11272,
202,
202,
863,
852,
273,
261,
863,
13,
1339,
18,
588,
1499,
12,
23450,
2714,
2918,
18,
15580,
67,
8352,
11272,
202,
202,
430,
261,
852,
422,
446,
262,
202,
202,
95,
1082,
202,
1458,
273,
394,
4317,
12,
11272,
1082,
202,
3184,
18,
542,
1499,
12,
23450,
2714,
2918,
18,
15580,
67,
8352,
16,
852,
11272,
202,
202,
97,
202,
202,
759,
527,
1562,
202,
202,
22043,
261,
852,
262,
202,
202,
95,
1082,
202,
430,
261,
29035,
480,
446,
262,
9506,
202,
1458,
18,
458,
12,
29035,
16,
1562,
11272,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
527,
2174,
12,
9984,
590,
16,
467,
4410,
2174,
1562,
262,
202,
95,
202,
202,
430,
261,
590,
422,
446,
747,
1562,
422,
446,
262,
1082,
202,
2463,
31,
202,
202,
759,
336,
1562,
612,
202,
202,
2171,
1499,
3381,
1604,
3381,
273,
261,
2171,
1499,
3381,
13,
590,
9506,
202,
18,
588,
1499,
12,
23450,
2714,
2918,
18,
11616,
67,
23703,
11272,
202,
202,
430,
261,
1604,
3381,
422,
446,
262,
1082,
202,
2463,
31,
202,
202,
780,
29035,
273,
1604,
3381,
18,
588,
30182,
12,
11272,
202,
202,
759,
336,
1562,
852,
202,
202,
2940,
2157,
1339,
273,
590,
18,
588,
2157,
12,
638,
11272,
202,
202,
863,
852,
273,
261,
863,
2
] |
public org.quickfix.field.UnderlyingCouponRate getUnderlyingCouponRate() throws FieldNotFound { org.quickfix.field.UnderlyingCouponRate value = new org.quickfix.field.UnderlyingCouponRate();
|
public quickfix.field.UnderlyingCouponRate getUnderlyingCouponRate() throws FieldNotFound { quickfix.field.UnderlyingCouponRate value = new quickfix.field.UnderlyingCouponRate();
|
public org.quickfix.field.UnderlyingCouponRate getUnderlyingCouponRate() throws FieldNotFound { org.quickfix.field.UnderlyingCouponRate value = new org.quickfix.field.UnderlyingCouponRate(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderMassCancelReport.java/clean/src/java/src/quickfix/fix44/OrderMassCancelReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
22744,
4727,
10833,
765,
6291,
22744,
4727,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
22744,
4727,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
22744,
4727,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
22744,
4727,
10833,
765,
6291,
22744,
4727,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
22744,
4727,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
22744,
4727,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
connector.updateOfflineState(repositoryTask, downloadedTaskData, forceSync);
|
TasksUiPlugin.getSynchronizationManager().updateOfflineState(connector, repositoryTask, downloadedTaskData, forceSync);
|
public IStatus run(IProgressMonitor monitor) { try { monitor.beginTask(LABEL_SYNCHRONIZE_TASK, repositoryTasks.size()); setProperty(IProgressConstants.ICON_PROPERTY, TaskListImages.REPOSITORY_SYNCHRONIZE); for (final AbstractRepositoryTask repositoryTask : repositoryTasks) { if (monitor.isCanceled()) throw new OperationCanceledException(); // TODO: refactor conditions boolean canNotSynch = repositoryTask.isDirty();// || // repositoryTask.isSynchronizing(); boolean hasLocalChanges = repositoryTask.getSyncState() == RepositoryTaskSyncState.OUTGOING || repositoryTask.getSyncState() == RepositoryTaskSyncState.CONFLICT; if (forceSync || (!canNotSynch && !hasLocalChanges) || !repositoryTask.isDownloaded()) { monitor.setTaskName(LABEL_SYNCHRONIZING + repositoryTask.getDescription()); // repositoryTask.setCurrentlySynchronizing(true); TasksUiPlugin.getTaskListManager().getTaskList().notifyRepositoryInfoChanged(repositoryTask); IOfflineTaskHandler offlineHandler = connector.getOfflineTaskHandler(); if (offlineHandler != null) { RepositoryTaskData downloadedTaskData = null; try { downloadedTaskData = offlineHandler.downloadTaskData(repositoryTask); } catch (final CoreException e) { if (!(e.getStatus().getException() instanceof IOException)) { MylarStatusHandler.log(e.getStatus()); } else if(e.getStatus().getException() instanceof FileNotFoundException){ // can be casue by empty urlbase parameter on bugzilla server MylarStatusHandler.log(e.getStatus()); } else { // ignore, assume working offline } continue; } if (downloadedTaskData != null) { connector.updateOfflineState(repositoryTask, downloadedTaskData, forceSync); connector.updateTaskState(repositoryTask); refreshEditors(repositoryTask); } } repositoryTask.setCurrentlySynchronizing(false); TasksUiPlugin.getTaskListManager().getTaskList().notifyRepositoryInfoChanged(repositoryTask); } else { repositoryTask.setCurrentlySynchronizing(false); } monitor.worked(1); } // TasksUiPlugin.getDefault().getTaskListNotificationManager().startNotification(1); } catch (Exception e) { MylarStatusHandler.fail(e, "Could not download report", false); } finally { monitor.done(); } return Status.OK_STATUS; }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/72d80f551ca060c2734122d72e119e0cdf881f12/SynchronizeTaskJob.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/SynchronizeTaskJob.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1482,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
202,
202,
698,
288,
1082,
202,
10259,
18,
10086,
2174,
12,
13545,
67,
7474,
50,
1792,
19359,
15641,
67,
15580,
16,
3352,
6685,
18,
1467,
10663,
1082,
202,
542,
1396,
12,
45,
5491,
2918,
18,
21745,
67,
9900,
16,
3837,
682,
8946,
18,
862,
30986,
67,
7474,
50,
1792,
19359,
15641,
1769,
1082,
202,
1884,
261,
6385,
4115,
3305,
2174,
3352,
2174,
294,
3352,
6685,
13,
288,
9506,
202,
430,
261,
10259,
18,
291,
23163,
10756,
6862,
202,
12849,
394,
4189,
23163,
503,
5621,
9506,
202,
759,
2660,
30,
26627,
4636,
9506,
202,
6494,
848,
1248,
55,
2515,
273,
3352,
2174,
18,
291,
10785,
5621,
759,
747,
9506,
202,
759,
3352,
2174,
18,
291,
19298,
6894,
5621,
9506,
202,
6494,
711,
2042,
7173,
273,
3352,
2174,
18,
588,
4047,
1119,
1435,
422,
6281,
2174,
4047,
1119,
18,
5069,
16387,
1360,
25083,
202,
20081,
3352,
2174,
18,
588,
4047,
1119,
1435,
422,
6281,
2174,
4047,
1119,
18,
14497,
29280,
31,
9506,
202,
430,
261,
5734,
4047,
747,
16051,
4169,
1248,
55,
2515,
597,
401,
5332,
2042,
7173,
13,
747,
401,
9071,
2174,
18,
291,
4164,
4230,
10756,
288,
6862,
202,
10259,
18,
542,
2174,
461,
12,
13545,
67,
7474,
50,
1792,
19359,
6867,
1360,
397,
3352,
2174,
18,
588,
3291,
10663,
6862,
202,
759,
3352,
2174,
18,
542,
3935,
715,
19298,
6894,
12,
3767,
1769,
6862,
202,
6685,
13943,
3773,
18,
588,
2174,
682,
1318,
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,
1482,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
202,
202,
698,
288,
1082,
202,
10259,
18,
10086,
2174,
12,
13545,
67,
7474,
50,
1792,
19359,
15641,
67,
15580,
16,
3352,
6685,
18,
1467,
10663,
1082,
202,
542,
1396,
12,
45,
5491,
2918,
18,
21745,
67,
9900,
16,
3837,
682,
8946,
18,
862,
30986,
67,
7474,
50,
1792,
19359,
15641,
1769,
1082,
202,
1884,
261,
6385,
4115,
3305,
2174,
3352,
2174,
294,
3352,
6685,
13,
288,
9506,
202,
430,
261,
10259,
18,
291,
23163,
10756,
6862,
202,
12849,
394,
4189,
23163,
503,
5621,
9506,
202,
759,
2660,
30,
26627,
4636,
9506,
202,
6494,
848,
1248,
55,
2515,
273,
3352,
2174,
18,
291,
10785,
5621,
759,
2
] |
public void visitModuleNode(Node iVisited) { visit(iVisited); leave(iVisited); }
|
public void visitModuleNode(Node iVisited) { visit(iVisited); leave(iVisited); }
|
public void visitModuleNode(Node iVisited) { visit(iVisited); leave(iVisited); }
|
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/clean/org/jruby/nodes/NodeVisitorAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
3120,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
3120,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
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
] |
this.query = query;
|
this.query = query;
|
public void setSQLQuery(String query){ this.query = query; this.displayForm = false; }
|
11362 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11362/3ca1d274c003725a3259e54bc06f6d9925e3fd23/SQLQueryer.java/buggy/src/java/com/idega/development/presentation/SQLQueryer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3997,
1138,
12,
780,
843,
15329,
1377,
333,
18,
2271,
273,
843,
31,
1377,
333,
18,
5417,
1204,
273,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3997,
1138,
12,
780,
843,
15329,
1377,
333,
18,
2271,
273,
843,
31,
1377,
333,
18,
5417,
1204,
273,
629,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
{ if (glob) { inTag = true; } else if (compact) { out.print(">"); } else { out.println(">"); } out.flush(); tagStack.addElement(tagName); indent++; tagsWritten++; }
|
{ if (glob) { inTag = true; } else if (compact) { out.print(">"); } else { out.println(">"); } out.flush(); tagStack.addElement(tagName); indent++; tagsWritten++; }
|
public void endBeginTag(String tagName) { if (glob) { inTag = true; } else if (compact) { out.print(">"); } else { out.println(">"); } out.flush(); tagStack.addElement(tagName); indent++; tagsWritten++; }
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/XMLOutput.java/buggy/src/main/mondrian/xom/XMLOutput.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
679,
8149,
1805,
12,
780,
7196,
13,
202,
95,
202,
202,
430,
261,
10581,
13,
288,
1082,
202,
267,
1805,
273,
638,
31,
202,
202,
97,
469,
309,
261,
21038,
13,
288,
1082,
202,
659,
18,
1188,
2932,
2984,
1769,
202,
202,
97,
469,
288,
1082,
202,
659,
18,
8222,
2932,
2984,
1769,
202,
202,
97,
202,
202,
659,
18,
11330,
5621,
202,
202,
2692,
2624,
18,
1289,
1046,
12,
2692,
461,
1769,
202,
202,
9355,
9904,
31,
202,
202,
4156,
12643,
9904,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
679,
8149,
1805,
12,
780,
7196,
13,
202,
95,
202,
202,
430,
261,
10581,
13,
288,
1082,
202,
267,
1805,
273,
638,
31,
202,
202,
97,
469,
309,
261,
21038,
13,
288,
1082,
202,
659,
18,
1188,
2932,
2984,
1769,
202,
202,
97,
469,
288,
1082,
202,
659,
18,
8222,
2932,
2984,
1769,
202,
202,
97,
202,
202,
659,
18,
11330,
5621,
202,
202,
2692,
2624,
18,
1289,
1046,
12,
2692,
461,
1769,
202,
202,
9355,
9904,
31,
202,
202,
4156,
12643,
9904,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static SVGPaintDescriptor toSVG(Color color, SVGGeneratorContext gc) { String cssColor = (String)colorMap.get(color); if (cssColor==null) { StringBuffer cssColorBuffer = new StringBuffer(RGB_PREFIX); cssColorBuffer.append(color.getRed()); cssColorBuffer.append(COMMA); cssColorBuffer.append(color.getGreen()); cssColorBuffer.append(COMMA); cssColorBuffer.append(color.getBlue()); cssColorBuffer.append(RGB_SUFFIX); cssColor = cssColorBuffer.toString(); } int alphaInt = color.getAlpha(); float alpha = color.getAlpha()/255f; String alphaString = gc.doubleString(alpha); return new SVGPaintDescriptor(cssColor, alphaString);
|
public SVGDescriptor toSVG(GraphicContext gc) { Paint paint = gc.getPaint(); return toSVG((Color)paint, generatorContext);
|
public static SVGPaintDescriptor toSVG(Color color, SVGGeneratorContext gc) { // // First, convert the color value // String cssColor = (String)colorMap.get(color); if (cssColor==null) { // color is not one of the predefined colors StringBuffer cssColorBuffer = new StringBuffer(RGB_PREFIX); cssColorBuffer.append(color.getRed()); cssColorBuffer.append(COMMA); cssColorBuffer.append(color.getGreen()); cssColorBuffer.append(COMMA); cssColorBuffer.append(color.getBlue()); cssColorBuffer.append(RGB_SUFFIX); cssColor = cssColorBuffer.toString(); } // // Now, convert the alpha value, if needed // int alphaInt = color.getAlpha(); float alpha = color.getAlpha()/255f; String alphaString = gc.doubleString(alpha); return new SVGPaintDescriptor(cssColor, alphaString); }
|
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/1738c7c3105d8c2ad8b1dd94e89bcbce7aa866f5/SVGColor.java/buggy/sources/org/apache/batik/svggen/SVGColor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
11281,
12699,
3187,
358,
26531,
12,
2957,
2036,
16,
11281,
3908,
1042,
8859,
13,
288,
3639,
368,
3639,
368,
5783,
16,
1765,
326,
2036,
460,
3639,
368,
3639,
514,
3747,
2957,
273,
261,
780,
13,
3266,
863,
18,
588,
12,
3266,
1769,
3639,
309,
261,
5212,
2957,
631,
2011,
13,
288,
5411,
368,
2036,
353,
486,
1245,
434,
326,
19555,
5740,
5411,
6674,
3747,
2957,
1892,
273,
394,
6674,
12,
11343,
67,
6307,
1769,
5411,
3747,
2957,
1892,
18,
6923,
12,
3266,
18,
588,
3715,
10663,
5411,
3747,
2957,
1892,
18,
6923,
12,
4208,
5535,
1769,
5411,
3747,
2957,
1892,
18,
6923,
12,
3266,
18,
588,
21453,
10663,
5411,
3747,
2957,
1892,
18,
6923,
12,
4208,
5535,
1769,
5411,
3747,
2957,
1892,
18,
6923,
12,
3266,
18,
588,
27986,
10663,
5411,
3747,
2957,
1892,
18,
6923,
12,
11343,
67,
14964,
1769,
5411,
3747,
2957,
273,
3747,
2957,
1892,
18,
10492,
5621,
3639,
289,
3639,
368,
3639,
368,
4494,
16,
1765,
326,
4190,
460,
16,
309,
3577,
3639,
368,
3639,
509,
4190,
1702,
273,
2036,
18,
588,
9690,
5621,
3639,
1431,
4190,
273,
2036,
18,
588,
9690,
1435,
19,
10395,
74,
31,
3639,
514,
4190,
780,
273,
8859,
18,
9056,
780,
12,
5429,
1769,
3639,
327,
394,
11281,
12699,
3187,
12,
5212,
2957,
16,
4190,
780,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
11281,
12699,
3187,
358,
26531,
12,
2957,
2036,
16,
11281,
3908,
1042,
8859,
13,
288,
3639,
368,
3639,
368,
5783,
16,
1765,
326,
2036,
460,
3639,
368,
3639,
514,
3747,
2957,
273,
261,
780,
13,
3266,
863,
18,
588,
12,
3266,
1769,
3639,
309,
261,
5212,
2957,
631,
2011,
13,
288,
5411,
368,
2036,
353,
486,
1245,
434,
326,
19555,
5740,
5411,
6674,
3747,
2957,
1892,
273,
394,
6674,
12,
11343,
67,
6307,
1769,
5411,
3747,
2957,
1892,
18,
6923,
12,
3266,
18,
588,
3715,
10663,
5411,
3747,
2957,
1892,
18,
6923,
12,
4208,
5535,
1769,
5411,
3747,
2957,
1892,
18,
6923,
12,
3266,
18,
588,
21453,
10663,
5411,
3747,
2957,
1892,
18,
6923,
12,
4208,
2
] |
} else
|
} else
|
public String calcSize( int fieldNumber, String fieldName, String size, String type) { String result = fieldNumber == 1 ? "" : " + "; if ("var".equals(size)) { String javaFieldName = RecordUtil.getFieldName(fieldNumber,fieldName,0); return result + " ("+javaFieldName + ".length() *2)"; } else if ("varword".equals(size)) { String javaFieldName = RecordUtil.getFieldName(fieldNumber,fieldName,0); return result + javaFieldName + ".length * 2 + 2"; } else { return result + size; } }
|
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/7b158ebef0d135bc7e894453c99a62982e2bde77/FieldIterator.java/buggy/src/scratchpad/src/org/apache/poi/generator/FieldIterator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
7029,
1225,
12,
509,
652,
1854,
16,
514,
4289,
16,
514,
963,
16,
514,
618,
13,
565,
288,
3639,
514,
563,
273,
652,
1854,
422,
404,
692,
1408,
294,
315,
397,
13636,
3639,
309,
7566,
1401,
9654,
14963,
12,
1467,
3719,
3639,
288,
5411,
514,
2252,
7287,
273,
5059,
1304,
18,
588,
7287,
12,
1518,
1854,
16,
16163,
16,
20,
1769,
5411,
327,
563,
397,
315,
7566,
15,
6290,
7287,
397,
3552,
2469,
1435,
380,
22,
2225,
31,
3639,
289,
3639,
469,
309,
7566,
1401,
1095,
9654,
14963,
12,
1467,
3719,
3639,
288,
5411,
514,
2252,
7287,
273,
5059,
1304,
18,
588,
7287,
12,
1518,
1854,
16,
16163,
16,
20,
1769,
5411,
327,
563,
397,
2252,
7287,
397,
3552,
2469,
380,
576,
397,
576,
14432,
3639,
289,
3639,
469,
3639,
288,
5411,
327,
563,
397,
963,
31,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
7029,
1225,
12,
509,
652,
1854,
16,
514,
4289,
16,
514,
963,
16,
514,
618,
13,
565,
288,
3639,
514,
563,
273,
652,
1854,
422,
404,
692,
1408,
294,
315,
397,
13636,
3639,
309,
7566,
1401,
9654,
14963,
12,
1467,
3719,
3639,
288,
5411,
514,
2252,
7287,
273,
5059,
1304,
18,
588,
7287,
12,
1518,
1854,
16,
16163,
16,
20,
1769,
5411,
327,
563,
397,
315,
7566,
15,
6290,
7287,
397,
3552,
2469,
1435,
380,
22,
2225,
31,
3639,
289,
3639,
469,
309,
7566,
1401,
1095,
9654,
14963,
12,
1467,
3719,
3639,
288,
5411,
514,
2252,
7287,
273,
5059,
1304,
18,
588,
7287,
12,
1518,
1854,
16,
16163,
16,
20,
1769,
5411,
327,
563,
397,
2252,
2
] |
setPreviewText( previewTextBox.getText( ) );
|
updatePreview( );
|
public void modifyText( ModifyEvent e ) { if ( hasLoaded ) { setPreviewText( previewTextBox.getText( ) ); } if ( StringUtil.isBlank( previewTextBox.getText( ) ) ) { guideLabel.setText( "" ); //$NON-NLS-1$ } else { guideLabel .setText( Messages .getString( "FormatDateTimePage.label.guide.text" ) ); //$NON-NLS-1$ } }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/1123f2b44bade54e4b5714c702c79b94bb65dca3/FormatDateTimePage.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FormatDateTimePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
918,
5612,
1528,
12,
9518,
1133,
425,
262,
9506,
202,
95,
6862,
202,
430,
261,
711,
8835,
262,
6862,
202,
95,
25083,
202,
542,
11124,
1528,
12,
10143,
1528,
3514,
18,
588,
1528,
12,
262,
11272,
6862,
202,
97,
6862,
202,
430,
261,
14205,
18,
291,
7796,
12,
10143,
1528,
3514,
18,
588,
1528,
12,
262,
262,
262,
6862,
202,
95,
25083,
202,
12118,
2224,
18,
542,
1528,
12,
1408,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
97,
6862,
202,
12107,
6862,
202,
95,
25083,
202,
12118,
2224,
6862,
9506,
202,
18,
542,
1528,
12,
4838,
6862,
25083,
202,
18,
588,
780,
12,
315,
1630,
5096,
1964,
18,
1925,
18,
12118,
18,
955,
6,
262,
11272,
4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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
918,
5612,
1528,
12,
9518,
1133,
425,
262,
9506,
202,
95,
6862,
202,
430,
261,
711,
8835,
262,
6862,
202,
95,
25083,
202,
542,
11124,
1528,
12,
10143,
1528,
3514,
18,
588,
1528,
12,
262,
11272,
6862,
202,
97,
6862,
202,
430,
261,
14205,
18,
291,
7796,
12,
10143,
1528,
3514,
18,
588,
1528,
12,
262,
262,
262,
6862,
202,
95,
25083,
202,
12118,
2224,
18,
542,
1528,
12,
1408,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
97,
6862,
202,
12107,
6862,
202,
95,
25083,
202,
12118,
2224,
6862,
9506,
202,
18,
542,
1528,
12,
4838,
6862,
25083,
202,
18,
588,
780,
12,
315,
1630,
5096,
1964,
18,
1925,
18,
12118,
18,
955,
2
] |
if (toChange == null && !toChange.equals("")) {
|
if (toChange == null || toChange.equals("")) {
|
public void setToChange(String toChange) throws BuildException { if (toChange == null && !toChange.equals("")) { throw new BuildException("P4Reopen: tochange cannot be null or empty"); } this.toChange = toChange; }
|
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/1322703b20ee6cddb815655c7bf15ce1b5279706/P4Reopen.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Reopen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19892,
3043,
12,
780,
358,
3043,
13,
1216,
18463,
288,
3639,
309,
261,
869,
3043,
422,
446,
747,
358,
3043,
18,
14963,
2932,
6,
3719,
288,
5411,
604,
394,
18463,
2932,
52,
24,
426,
3190,
30,
358,
3427,
2780,
506,
446,
578,
1008,
8863,
3639,
289,
3639,
333,
18,
869,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19892,
3043,
12,
780,
358,
3043,
13,
1216,
18463,
288,
3639,
309,
261,
869,
3043,
422,
446,
747,
358,
3043,
18,
14963,
2932,
6,
3719,
288,
5411,
604,
394,
18463,
2932,
52,
24,
426,
3190,
30,
358,
3427,
2780,
506,
446,
578,
1008,
8863,
3639,
289,
3639,
333,
18,
869,
3043,
273,
358,
3043,
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
] |
public PropertyListConfiguration() { }
|
public PropertyListConfiguration() { }
|
public PropertyListConfiguration() { }
|
56523 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56523/ba56170cdef32565fbab23e81ee88d58dea918c2/PropertyListConfiguration.java/buggy/src/java/org/apache/commons/configuration/plist/PropertyListConfiguration.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4276,
682,
1750,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4276,
682,
1750,
1435,
288,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public Collection read(InputStream stream, String URI, RefPackage extent)
|
public Collection read(InputStream stream, String URI, RefPackage extent)
|
public Collection read(InputStream stream, String URI, RefPackage extent) throws IOException, MalformedXMIException;
|
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/XmiReader.java/clean/src/main/javax/jmi/xmi/XmiReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2200,
855,
12,
4348,
1407,
16,
514,
3699,
16,
3941,
2261,
11933,
13,
540,
1216,
1860,
16,
13311,
60,
7492,
503,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2200,
855,
12,
4348,
1407,
16,
514,
3699,
16,
3941,
2261,
11933,
13,
540,
1216,
1860,
16,
13311,
60,
7492,
503,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
configureMojo( pluginManager.getMojoDescriptor( pluginId + ":" + goal.getId() ) );
|
String mojoId = pluginId + ":" + goal.getId(); MojoDescriptor mojoDescriptor = pluginManager.getMojoDescriptor( mojoId ); configureMojo( mojoDescriptor );
|
private void processPluginPhases( Plugin plugin, MavenSession mavenSession ) throws Exception { String groupId = plugin.getGroupId(); String artifactId = plugin.getArtifactId(); pluginManager.verifyPlugin( groupId, artifactId, mavenSession ); PluginDescriptor pluginDescriptor = pluginManager.getPluginDescriptor( groupId, artifactId ); // ---------------------------------------------------------------------- // Look to see if the plugin configuration specifies particular mojos // within the plugin. If this is the case then simply configure the // mojos the user has specified and ignore the rest. // ---------------------------------------------------------------------- if ( plugin.getGoals().size() > 0 ) { String pluginId = pluginDescriptor.getArtifactId(); pluginId = pluginId.substring( 6 ).substring( 0, 7 ); for ( Iterator i = plugin.getGoals().iterator(); i.hasNext(); ) { Goal goal = (Goal) i.next(); configureMojo( pluginManager.getMojoDescriptor( pluginId + ":" + goal.getId() ) ); } } else { for ( Iterator j = pluginDescriptor.getMojos().iterator(); j.hasNext(); ) { MojoDescriptor mojoDescriptor = (MojoDescriptor) j.next(); configureMojo( mojoDescriptor ); } } }
|
1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/9d2c2d6d51e5c881de72c985df8879aee34e1dd7/DefaultLifecycleExecutor.java/buggy/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
3773,
3731,
3304,
12,
6258,
1909,
16,
17176,
2157,
20499,
2157,
262,
3639,
1216,
1185,
565,
288,
3639,
514,
6612,
273,
1909,
18,
588,
8722,
5621,
3639,
514,
25496,
273,
1909,
18,
588,
7581,
548,
5621,
3639,
1909,
1318,
18,
8705,
3773,
12,
6612,
16,
25496,
16,
20499,
2157,
11272,
3639,
6258,
3187,
1909,
3187,
273,
1909,
1318,
18,
588,
3773,
3187,
12,
6612,
16,
25496,
11272,
3639,
368,
8879,
13465,
3639,
368,
10176,
358,
2621,
309,
326,
1909,
1664,
11470,
6826,
312,
6311,
538,
3639,
368,
3470,
326,
1909,
18,
971,
333,
353,
326,
648,
1508,
8616,
5068,
326,
3639,
368,
312,
6311,
538,
326,
729,
711,
1269,
471,
2305,
326,
3127,
18,
3639,
368,
8879,
13465,
3639,
309,
261,
1909,
18,
588,
5741,
1031,
7675,
1467,
1435,
405,
374,
262,
3639,
288,
5411,
514,
1909,
548,
273,
1909,
3187,
18,
588,
7581,
548,
5621,
5411,
1909,
548,
273,
1909,
548,
18,
28023,
12,
1666,
262,
18,
28023,
12,
374,
16,
2371,
11272,
5411,
364,
261,
4498,
277,
273,
1909,
18,
588,
5741,
1031,
7675,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
5411,
288,
7734,
4220,
287,
17683,
273,
261,
27716,
13,
277,
18,
4285,
5621,
7734,
514,
312,
10007,
548,
273,
1909,
548,
397,
6153,
397,
17683,
18,
26321,
5621,
225,
15931,
3187,
312,
10007,
3187,
273,
1909,
1318,
18,
588,
49,
10007,
3187,
12,
312,
10007,
548,
11272,
225,
5068,
49,
10007,
12,
312,
10007,
3187,
11272,
5411,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
3773,
3731,
3304,
12,
6258,
1909,
16,
17176,
2157,
20499,
2157,
262,
3639,
1216,
1185,
565,
288,
3639,
514,
6612,
273,
1909,
18,
588,
8722,
5621,
3639,
514,
25496,
273,
1909,
18,
588,
7581,
548,
5621,
3639,
1909,
1318,
18,
8705,
3773,
12,
6612,
16,
25496,
16,
20499,
2157,
11272,
3639,
6258,
3187,
1909,
3187,
273,
1909,
1318,
18,
588,
3773,
3187,
12,
6612,
16,
25496,
11272,
3639,
368,
8879,
13465,
3639,
368,
10176,
358,
2621,
309,
326,
1909,
1664,
11470,
6826,
312,
6311,
538,
3639,
368,
3470,
326,
1909,
18,
971,
333,
353,
326,
648,
1508,
8616,
5068,
326,
3639,
368,
312,
6311,
538,
326,
729,
711,
1269,
471,
2305,
326,
3127,
18,
3639,
2
] |
((TechnicalReportBean)newBean).setAddress(oldBean.getAddress());
|
((TechnicalReportBean) newBean).setAddress(oldBean.getAddress());
|
public static ResultPublicationBean inbookTo(InbookBean oldBean, ResultPublicationType type) { ResultPublicationBean newBean = null; switch(type) { case Article: newBean = new ArticleBean(oldBean); ((ArticleBean)newBean).setFirstPage(oldBean.getFirstPage()); ((ArticleBean)newBean).setLastPage(oldBean.getLastPage()); ((ArticleBean)newBean).setVolume(oldBean.getVolume()); return newBean; case Book: newBean = new BookBean(oldBean); ((BookBean)newBean).setAddress(oldBean.getAddress()); ((BookBean)newBean).setVolume(oldBean.getVolume()); ((BookBean)newBean).setSeries(oldBean.getSeries()); ((BookBean)newBean).setEdition(oldBean.getEdition()); return newBean; case Incollection: newBean = new IncollectionBean(oldBean); ((IncollectionBean)newBean).setAddress(oldBean.getAddress()); ((IncollectionBean)newBean).setFirstPage(oldBean.getFirstPage()); ((IncollectionBean)newBean).setLastPage(oldBean.getLastPage()); return newBean; case Inproceedings: newBean = new InproceedingsBean(oldBean); ((InproceedingsBean)newBean).setAddress(oldBean.getAddress()); ((InproceedingsBean)newBean).setFirstPage(oldBean.getFirstPage()); ((InproceedingsBean)newBean).setLastPage(oldBean.getLastPage()); return newBean; case Manual: newBean = new ManualBean(oldBean); ((ManualBean)newBean).setAddress(oldBean.getAddress()); ((ManualBean)newBean).setEdition(oldBean.getEdition()); return newBean; case OtherPublication: newBean = new OtherPublicationBean(oldBean); ((OtherPublicationBean)newBean).setAddress(oldBean.getAddress()); return newBean; case Proceedings: newBean = new ProceedingsBean(oldBean); ((ProceedingsBean)newBean).setAddress(oldBean.getAddress()); return newBean; case TechnicalReport: newBean = new TechnicalReportBean(oldBean); ((TechnicalReportBean)newBean).setAddress(oldBean.getAddress()); return newBean; case Thesis: newBean = new ThesisBean(oldBean); ((ThesisBean)newBean).setAddress(oldBean.getAddress()); return newBean; default: return oldBean; } }
|
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/f2ed60b5417a9a7d4bcf5fcf0cdc3f70cc3c9b8f/ResultPublicationBeanConversions.java/buggy/src/net/sourceforge/fenixedu/dataTransferObject/research/result/publication/ResultPublicationBeanConversions.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
3438,
4782,
367,
3381,
316,
3618,
774,
12,
382,
3618,
3381,
1592,
3381,
16,
3438,
4782,
367,
559,
618,
13,
288,
202,
1253,
4782,
367,
3381,
394,
3381,
273,
446,
31,
202,
9610,
12,
723,
13,
288,
202,
3593,
17889,
30,
202,
565,
394,
3381,
273,
394,
17889,
3381,
12,
1673,
3381,
1769,
202,
565,
14015,
7880,
3381,
13,
2704,
3381,
2934,
542,
3759,
1964,
12,
1673,
3381,
18,
588,
3759,
1964,
10663,
202,
565,
14015,
7880,
3381,
13,
2704,
3381,
2934,
542,
3024,
1964,
12,
1673,
3381,
18,
588,
3024,
1964,
10663,
202,
565,
14015,
7880,
3381,
13,
2704,
3381,
2934,
542,
4545,
12,
1673,
3381,
18,
588,
4545,
10663,
202,
565,
327,
394,
3381,
31,
202,
3593,
20258,
30,
3196,
565,
394,
3381,
273,
394,
20258,
3381,
12,
1673,
3381,
1769,
202,
565,
14015,
9084,
3381,
13,
2704,
3381,
2934,
542,
1887,
12,
1673,
3381,
18,
588,
1887,
10663,
202,
565,
14015,
9084,
3381,
13,
2704,
3381,
2934,
542,
4545,
12,
1673,
3381,
18,
588,
4545,
10663,
202,
565,
14015,
9084,
3381,
13,
2704,
3381,
2934,
542,
6485,
12,
1673,
3381,
18,
588,
6485,
10663,
202,
565,
14015,
9084,
3381,
13,
2704,
3381,
2934,
542,
41,
1460,
12,
1673,
3381,
18,
588,
41,
1460,
10663,
202,
565,
327,
394,
3381,
31,
202,
3593,
657,
5548,
30,
202,
565,
394,
3381,
273,
394,
657,
5548,
3381,
12,
1673,
3381,
1769,
202,
565,
14015,
382,
5548,
3381,
13,
2704,
3381,
2934,
542,
1887,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
3438,
4782,
367,
3381,
316,
3618,
774,
12,
382,
3618,
3381,
1592,
3381,
16,
3438,
4782,
367,
559,
618,
13,
288,
202,
1253,
4782,
367,
3381,
394,
3381,
273,
446,
31,
202,
9610,
12,
723,
13,
288,
202,
3593,
17889,
30,
202,
565,
394,
3381,
273,
394,
17889,
3381,
12,
1673,
3381,
1769,
202,
565,
14015,
7880,
3381,
13,
2704,
3381,
2934,
542,
3759,
1964,
12,
1673,
3381,
18,
588,
3759,
1964,
10663,
202,
565,
14015,
7880,
3381,
13,
2704,
3381,
2934,
542,
3024,
1964,
12,
1673,
3381,
18,
588,
3024,
1964,
10663,
202,
565,
14015,
7880,
3381,
13,
2704,
3381,
2934,
542,
4545,
12,
1673,
3381,
18,
588,
4545,
10663,
202,
565,
327,
394,
3381,
2
] |
if (progress != null) { progress.setStatus("Copying"); }
|
public static boolean copyStream(int bufferSize, ProgressObserver progress, InputStream in, OutputStream out, boolean canStop) throws IOException { if (progress != null) { progress.setStatus("Copying"); } byte[] buffer = new byte[bufferSize]; int n; long copied = 0; while (-1 != (n = in.read(buffer))) { out.write(buffer, 0, n); copied += n; if(progress != null) progress.setValue(copied); if(canStop && Thread.interrupted()) return false; } return true; } //}}}
|
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/ee4b4990e4668dcbcd3d4d68bafe15553c1e51da/MiscUtilities.java/buggy/org/gjt/sp/jedit/MiscUtilities.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
1610,
1228,
12,
474,
16939,
16,
10980,
11048,
4007,
16,
202,
202,
4348,
316,
16,
8962,
596,
16,
1250,
848,
4947,
13,
202,
15069,
1860,
202,
95,
202,
202,
430,
261,
8298,
480,
446,
13,
202,
202,
95,
1082,
202,
8298,
18,
542,
1482,
2932,
2951,
310,
8863,
202,
202,
97,
202,
202,
7229,
8526,
1613,
273,
394,
1160,
63,
4106,
1225,
15533,
202,
202,
474,
290,
31,
202,
202,
5748,
9268,
273,
374,
31,
202,
202,
17523,
24927,
21,
480,
261,
82,
273,
316,
18,
896,
12,
4106,
20349,
202,
202,
95,
1082,
202,
659,
18,
2626,
12,
4106,
16,
374,
16,
290,
1769,
1082,
202,
22295,
2092,
1011,
290,
31,
1082,
202,
430,
12,
8298,
480,
446,
13,
9506,
202,
8298,
18,
542,
620,
12,
22295,
2092,
1769,
1082,
202,
430,
12,
4169,
4947,
597,
4884,
18,
474,
5954,
10756,
327,
629,
31,
202,
202,
97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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
1610,
1228,
12,
474,
16939,
16,
10980,
11048,
4007,
16,
202,
202,
4348,
316,
16,
8962,
596,
16,
1250,
848,
4947,
13,
202,
15069,
1860,
202,
95,
202,
202,
430,
261,
8298,
480,
446,
13,
202,
202,
95,
1082,
202,
8298,
18,
542,
1482,
2932,
2951,
310,
8863,
202,
202,
97,
202,
202,
7229,
8526,
1613,
273,
394,
1160,
63,
4106,
1225,
15533,
202,
202,
474,
290,
31,
202,
202,
5748,
9268,
273,
374,
31,
202,
202,
17523,
24927,
21,
480,
261,
82,
273,
316,
18,
896,
12,
4106,
20349,
202,
202,
95,
1082,
202,
659,
18,
2626,
12,
4106,
16,
374,
16,
290,
1769,
1082,
202,
22295,
2092,
1011,
290,
31,
1082,
202,
2
] |
|
double[] torender = (double[])torendero;
|
double[] torender = (double[]) torendero;
|
public CharWrap render(Object torendero, CharWrap renderinto) { double[] torender = (double[])torendero; renderinto.append(Integer.toString(torender.length) + ": "); for (int i = 0; i < torender.length; ++ i) { renderinto.append(Double.toString(torender[i]) + " "); } return renderinto; }
|
29 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/29/cb5b69095c2bbd3717b1a194558df509d56eaa21/SAXLeafParser.java/clean/rsf-core/ponderutilcore/src/uk/org/ponder/saxalizer/SAXLeafParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3703,
2964,
1743,
12,
921,
358,
5902,
83,
16,
3703,
2964,
1743,
18591,
13,
288,
565,
1645,
8526,
358,
5902,
273,
261,
9056,
63,
5717,
358,
5902,
83,
31,
565,
1743,
18591,
18,
6923,
12,
4522,
18,
10492,
12,
88,
479,
82,
765,
18,
2469,
13,
397,
6398,
315,
1769,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
358,
5902,
18,
2469,
31,
965,
277,
13,
288,
1377,
1743,
18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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3703,
2964,
1743,
12,
921,
358,
5902,
83,
16,
3703,
2964,
1743,
18591,
13,
288,
565,
1645,
8526,
358,
5902,
273,
261,
9056,
63,
5717,
358,
5902,
83,
31,
565,
1743,
18591,
18,
6923,
12,
4522,
18,
10492,
12,
88,
479,
82,
765,
18,
2469,
13,
397,
6398,
315,
1769,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
358,
5902,
18,
2469,
31,
965,
277,
13,
288,
1377,
1743,
18591,
18,
6923,
12,
5265,
18,
10492,
12,
88,
479,
82,
765,
63,
77,
5717,
397,
315,
315,
1769,
565,
289,
565,
327,
1743,
18591,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return initString;
|
return _initString;
|
public String getInitString() { return initString; } //-- getInitString
|
57307 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57307/639ed93115321ad51c2450f306c4d50d146ede46/JField.java/buggy/src/main/java/org/exolab/javasource/JField.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
26458,
780,
1435,
288,
3639,
327,
389,
2738,
780,
31,
565,
289,
368,
413,
26458,
780,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
26458,
780,
1435,
288,
3639,
327,
389,
2738,
780,
31,
565,
289,
368,
413,
26458,
780,
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
] |
new StartedCompressionMessage(identifier, ((StartedCompressionEvent)ce).codec);
|
new StartedCompressionMessage(identifier, global, ((StartedCompressionEvent)ce).codec);
|
public void receive(ClientEvent ce) { if(finished) return; if(ce instanceof SplitfileProgressEvent) { if((verbosity & VERBOSITY_SPLITFILE_PROGRESS) == VERBOSITY_SPLITFILE_PROGRESS) { SimpleProgressMessage progress = new SimpleProgressMessage(identifier, (SplitfileProgressEvent)ce); trySendProgressMessage(progress, VERBOSITY_SPLITFILE_PROGRESS, null); } } else if(ce instanceof StartedCompressionEvent) { if((verbosity & VERBOSITY_COMPRESSION_START_END) == VERBOSITY_COMPRESSION_START_END) { StartedCompressionMessage msg = new StartedCompressionMessage(identifier, ((StartedCompressionEvent)ce).codec); trySendProgressMessage(msg, VERBOSITY_COMPRESSION_START_END, null); } } else if(ce instanceof FinishedCompressionEvent) { if((verbosity & VERBOSITY_COMPRESSION_START_END) == VERBOSITY_COMPRESSION_START_END) { FinishedCompressionMessage msg = new FinishedCompressionMessage(identifier, (FinishedCompressionEvent)ce); trySendProgressMessage(msg, VERBOSITY_COMPRESSION_START_END, null); } } }
|
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/bbb3c23ec38ea1c7abb48040a17f5fc7932248bc/ClientPutBase.java/clean/src/freenet/node/fcp/ClientPutBase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
6798,
12,
1227,
1133,
5898,
13,
288,
202,
202,
430,
12,
13527,
13,
327,
31,
202,
202,
430,
12,
311,
1276,
5385,
768,
5491,
1133,
13,
288,
1082,
202,
430,
12443,
16629,
8807,
473,
26884,
67,
17482,
3776,
67,
24022,
13,
422,
26884,
67,
17482,
3776,
67,
24022,
13,
288,
9506,
202,
5784,
5491,
1079,
4007,
273,
4405,
202,
2704,
4477,
5491,
1079,
12,
5644,
16,
261,
5521,
768,
5491,
1133,
13,
311,
1769,
9506,
202,
698,
3826,
5491,
1079,
12,
8298,
16,
26884,
67,
17482,
3776,
67,
24022,
16,
446,
1769,
1082,
202,
97,
202,
202,
97,
469,
309,
12,
311,
1276,
29386,
15270,
1133,
13,
288,
1082,
202,
430,
12443,
16629,
8807,
473,
26884,
67,
4208,
14227,
67,
7570,
67,
4415,
13,
422,
26884,
67,
4208,
14227,
67,
7570,
67,
4415,
13,
288,
9506,
202,
9217,
15270,
1079,
1234,
273,
6862,
202,
2704,
29386,
15270,
1079,
12,
5644,
16,
14015,
9217,
15270,
1133,
13,
311,
2934,
21059,
1769,
9506,
202,
698,
3826,
5491,
1079,
12,
3576,
16,
26884,
67,
4208,
14227,
67,
7570,
67,
4415,
16,
446,
1769,
1082,
202,
97,
202,
202,
97,
469,
309,
12,
311,
1276,
29745,
15270,
1133,
13,
288,
1082,
202,
430,
12443,
16629,
8807,
473,
26884,
67,
4208,
14227,
67,
7570,
67,
4415,
13,
422,
26884,
67,
4208,
14227,
67,
7570,
67,
4415,
13,
288,
9506,
202,
10577,
15270,
1079,
1234,
273,
4405,
202,
2704,
29745,
15270,
1079,
12,
5644,
16,
261,
10577,
15270,
1133,
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,
6798,
12,
1227,
1133,
5898,
13,
288,
202,
202,
430,
12,
13527,
13,
327,
31,
202,
202,
430,
12,
311,
1276,
5385,
768,
5491,
1133,
13,
288,
1082,
202,
430,
12443,
16629,
8807,
473,
26884,
67,
17482,
3776,
67,
24022,
13,
422,
26884,
67,
17482,
3776,
67,
24022,
13,
288,
9506,
202,
5784,
5491,
1079,
4007,
273,
4405,
202,
2704,
4477,
5491,
1079,
12,
5644,
16,
261,
5521,
768,
5491,
1133,
13,
311,
1769,
9506,
202,
698,
3826,
5491,
1079,
12,
8298,
16,
26884,
67,
17482,
3776,
67,
24022,
16,
446,
1769,
1082,
202,
97,
202,
202,
97,
469,
309,
12,
311,
1276,
29386,
15270,
1133,
13,
288,
1082,
202,
430,
12443,
16629,
8807,
473,
2
] |
MapOutputCopier[] copiers = new MapOutputCopier[numCopiers];
|
copiers = new MapOutputCopier[numCopiers];
|
public boolean prepare() throws IOException { // cleanup from failures this.mapOutputFile.removeAll(reduceTask.getTaskId()); final int numOutputs = reduceTask.getNumMaps(); List neededOutputs = new ArrayList(numOutputs); List knownOutputs = new ArrayList(100); int numInFlight = 0, numCopied = 0; int lowThreshold = numCopiers*2; long bytesTransferred = 0; DecimalFormat mbpsFormat = new DecimalFormat("0.00"); Random backoff = new Random(); final Progress copyPhase = getTask().getProgress().phase(); for (int i = 0; i < numOutputs; i++) { neededOutputs.add(new Integer(i)); copyPhase.addPhase(); // add sub-phase per file } InterTrackerProtocol jobClient = getTracker().getJobClient(); MapOutputCopier[] copiers = new MapOutputCopier[numCopiers]; // start all the copying threads for (int i=0; i < copiers.length; i++) { copiers[i] = new MapOutputCopier(); copiers[i].start(); } // start the clock for bandwidth measurement long startTime = System.currentTimeMillis(); long currentTime = startTime; // loop until we get all required outputs or are killed while (!killed && numCopied < numOutputs) { LOG.info(reduceTask.getTaskId() + " Need " + (numOutputs-numCopied) + " map output(s)"); if (!neededOutputs.isEmpty()) { LOG.info(reduceTask.getTaskId() + " Need " + neededOutputs.size() + " map output location(s)"); try { MapOutputLocation[] locs = queryJobTracker(neededOutputs, jobClient); // remove discovered outputs from needed list // and put them on the known list for (int i=0; i < locs.length; i++) { neededOutputs.remove(new Integer(locs[i].getMapId())); knownOutputs.add(locs[i]); } LOG.info(reduceTask.getTaskId() + " Got " + (locs == null ? 0 : locs.length) + " map outputs from jobtracker"); } catch (IOException ie) { LOG.warning(reduceTask.getTaskId() + " Problem locating map outputs: " + StringUtils.stringifyException(ie)); } } // now walk through the cache and schedule what we can int numKnown = knownOutputs.size(), numScheduled = 0; int numSlow = 0, numDups = 0; LOG.info(reduceTask.getTaskId() + " Got " + numKnown + " known map output location(s); scheduling..."); synchronized (scheduledCopies) { ListIterator locIt = knownOutputs.listIterator(); currentTime = System.currentTimeMillis(); while (locIt.hasNext()) { MapOutputLocation loc = (MapOutputLocation)locIt.next(); Long penaltyEnd = (Long)penaltyBox.get(loc.getHost()); boolean penalized = false, duplicate = false; if (penaltyEnd != null && currentTime < penaltyEnd.longValue()) { penalized = true; numSlow++; } if (uniqueHosts.contains(loc.getHost())) { duplicate = true; numDups++; } if (!penalized && !duplicate) { uniqueHosts.add(loc.getHost()); scheduledCopies.add(loc); locIt.remove(); // remove from knownOutputs numInFlight++; numScheduled++; } } scheduledCopies.notifyAll(); } LOG.info(reduceTask.getTaskId() + " Scheduled " + numScheduled + " of " + numKnown + " known outputs (" + numSlow + " slow hosts and " + numDups + " dup hosts)"); // if we have no copies in flight and we can't schedule anything // new, just wait for a bit try { if (numInFlight == 0 && numScheduled == 0) { Thread.sleep(5000); } } catch (InterruptedException e) { } // IGNORE while (!killed && numInFlight > 0) { CopyResult cr = getCopyResult(); if (cr.getSuccess()) { // a successful copy numCopied++; bytesTransferred += cr.getSize(); long secsSinceStart = (System.currentTimeMillis()-startTime)/1000+1; float mbs = ((float)bytesTransferred)/(1024*1024); float transferRate = mbs/secsSinceStart; copyPhase.startNextPhase(); copyPhase.setStatus("copy (" + numCopied + " of " + numOutputs + " at " + mbpsFormat.format(transferRate) + " MB/s)"); getTask().reportProgress(getTracker()); } else { // this copy failed, put it back onto neededOutputs neededOutputs.add(new Integer(cr.getMapId())); // wait a random amount of time for next contact currentTime = System.currentTimeMillis(); long nextContact = currentTime + 60 * 1000 + backoff.nextInt(maxBackoff*1000); penaltyBox.put(cr.getHost(), new Long(nextContact)); LOG.warning(reduceTask.getTaskId() + " adding host " + cr.getHost() + " to penalty box, next contact in " + ((nextContact-currentTime)/1000) + " seconds"); } uniqueHosts.remove(cr.getHost()); numInFlight--; // ensure we have enough to keep us busy if (numInFlight < lowThreshold && (numOutputs-numCopied) > PROBE_SAMPLE_SIZE) { break; } } } // all done, inform the copiers to exit synchronized (scheduledCopies) { for (int i=0; i < copiers.length; i++) { copiers[i].interrupt(); } } return numCopied == numOutputs && !killed; }
|
50331 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50331/c2a4ca97744572ae677bc3bd90afb73a558e8067/ReduceTaskRunner.java/clean/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
2911,
1435,
1216,
1860,
288,
3639,
368,
6686,
628,
11720,
565,
333,
18,
1458,
1447,
812,
18,
4479,
1595,
12,
12498,
2174,
18,
588,
30182,
10663,
3639,
727,
509,
1377,
818,
13856,
273,
5459,
2174,
18,
588,
2578,
8903,
5621,
565,
987,
6647,
3577,
13856,
273,
394,
2407,
12,
2107,
13856,
1769,
565,
987,
6647,
4846,
13856,
273,
394,
2407,
12,
6625,
1769,
565,
509,
5411,
818,
382,
24243,
273,
374,
16,
818,
28127,
273,
374,
31,
565,
509,
5411,
4587,
7614,
273,
818,
11635,
20778,
14,
22,
31,
565,
1525,
6647,
1731,
1429,
4193,
273,
374,
31,
565,
29665,
225,
4903,
1121,
1630,
273,
394,
29665,
2932,
20,
18,
713,
8863,
565,
8072,
540,
12260,
273,
394,
8072,
5621,
565,
727,
10980,
1610,
11406,
273,
11478,
7675,
588,
5491,
7675,
13961,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
818,
13856,
31,
277,
27245,
288,
1377,
3577,
13856,
18,
1289,
12,
2704,
2144,
12,
77,
10019,
1377,
1610,
11406,
18,
1289,
11406,
5621,
4202,
368,
527,
720,
17,
13961,
1534,
585,
565,
289,
565,
5294,
8135,
5752,
1719,
1227,
273,
336,
8135,
7675,
588,
2278,
1227,
5621,
565,
6529,
20778,
273,
394,
1635,
1447,
11635,
2453,
63,
2107,
11635,
20778,
15533,
565,
368,
787,
777,
326,
8933,
7403,
565,
364,
261,
474,
277,
33,
20,
31,
277,
411,
6529,
20778,
18,
2469,
31,
277,
27245,
288,
1377,
6529,
20778,
63,
77,
65,
273,
394,
1635,
1447,
11635,
2453,
5621,
1377,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
2911,
1435,
1216,
1860,
288,
3639,
368,
6686,
628,
11720,
565,
333,
18,
1458,
1447,
812,
18,
4479,
1595,
12,
12498,
2174,
18,
588,
30182,
10663,
3639,
727,
509,
1377,
818,
13856,
273,
5459,
2174,
18,
588,
2578,
8903,
5621,
565,
987,
6647,
3577,
13856,
273,
394,
2407,
12,
2107,
13856,
1769,
565,
987,
6647,
4846,
13856,
273,
394,
2407,
12,
6625,
1769,
565,
509,
5411,
818,
382,
24243,
273,
374,
16,
818,
28127,
273,
374,
31,
565,
509,
5411,
4587,
7614,
273,
818,
11635,
20778,
14,
22,
31,
565,
1525,
6647,
1731,
1429,
4193,
273,
374,
31,
565,
29665,
225,
4903,
1121,
1630,
273,
394,
29665,
2932,
20,
18,
713,
8863,
565,
8072,
540,
12260,
2
] |
fFilesToIndex= changed.size() + removed.size();
|
fTotalTasks= changed.size() + removed.size();
|
public PDOMFullHandleDelta(PDOMFullIndexer indexer, ICElementDelta delta) throws CoreException { super(indexer); processDelta(delta, changed, changed, removed); fFilesToIndex= changed.size() + removed.size(); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/2d8f966f3b06d96391a0bfd91b2bae084e95bcda/PDOMFullHandleDelta.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/full/PDOMFullHandleDelta.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
453,
8168,
5080,
3259,
9242,
12,
52,
8168,
5080,
20877,
12635,
16,
26899,
1046,
9242,
3622,
13,
1216,
30015,
288,
202,
202,
9565,
12,
24541,
1769,
202,
202,
2567,
9242,
12,
9878,
16,
3550,
16,
3550,
16,
3723,
1769,
202,
202,
74,
2697,
19418,
33,
3550,
18,
1467,
1435,
397,
3723,
18,
1467,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
453,
8168,
5080,
3259,
9242,
12,
52,
8168,
5080,
20877,
12635,
16,
26899,
1046,
9242,
3622,
13,
1216,
30015,
288,
202,
202,
9565,
12,
24541,
1769,
202,
202,
2567,
9242,
12,
9878,
16,
3550,
16,
3550,
16,
3723,
1769,
202,
202,
74,
2697,
19418,
33,
3550,
18,
1467,
1435,
397,
3723,
18,
1467,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static boolean joinJobs(long minTime, long maxTime, long intervalTime) { long startTime= System.currentTimeMillis() + minTime; runEventQueue(); while (System.currentTimeMillis() < startTime) runEventQueue(intervalTime); long endTime= maxTime > 0 ? System.currentTimeMillis() + maxTime : Long.MAX_VALUE; boolean calm= allJobsQuiet(); while (!calm && System.currentTimeMillis() < endTime) { runEventQueue(intervalTime); calm= allJobsQuiet(); }// System.out.println("--------------------------------------------------"); return calm; }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/92a3c3590bf80c7a404ff1bdeabf01ee9a6f6fe6/EditorTestHelper.java/buggy/org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/EditorTestHelper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3845,
6494,
5701,
7276,
12,
5748,
1154,
950,
16,
5748,
1896,
950,
16,
5748,
6624,
950,
15329,
202,
202,
5748,
1937,
950,
33,
3163,
18,
2972,
28512,
1435,
15,
1154,
950,
31,
202,
202,
2681,
1133,
3183,
5621,
202,
202,
17523,
12,
3163,
18,
2972,
28512,
1435,
32,
1937,
950,
13,
1082,
202,
2681,
1133,
3183,
12,
6624,
950,
1769,
9506,
202,
5748,
409,
950,
33,
1896,
950,
34,
20,
35,
3163,
18,
2972,
28512,
1435,
15,
1896,
950,
30,
3708,
18,
6694,
67,
4051,
31,
202,
202,
6494,
771,
81,
33,
454,
7276,
16457,
5621,
202,
202,
17523,
12,
5,
771,
81,
10,
10,
3163,
18,
2972,
28512,
1435,
32,
409,
950,
15329,
1082,
202,
2681,
1133,
3183,
12,
6624,
950,
1769,
1082,
202,
771,
81,
33,
454,
7276,
16457,
5621,
202,
202,
97,
759,
202,
202,
3163,
18,
659,
18,
8222,
2932,
9634,
413,
8863,
202,
202,
2463,
771,
81,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
22398,
316,
326,
981,
30,
225,
202,
482,
3845,
6494,
5701,
7276,
12,
5748,
1154,
950,
16,
5748,
1896,
950,
16,
5748,
6624,
950,
15329,
202,
202,
5748,
1937,
950,
33,
3163,
18,
2972,
28512,
1435,
15,
1154,
950,
31,
202,
202,
2681,
1133,
3183,
5621,
202,
202,
17523,
12,
3163,
18,
2972,
28512,
1435,
32,
1937,
950,
13,
1082,
202,
2681,
1133,
3183,
12,
6624,
950,
1769,
9506,
202,
5748,
409,
950,
33,
1896,
950,
34,
20,
35,
3163,
18,
2972,
28512,
1435,
15,
1896,
950,
30,
3708,
18,
6694,
67,
4051,
31,
202,
202,
6494,
771,
81,
33,
454,
7276,
16457,
5621,
202,
202,
17523,
12,
5,
771,
81,
10,
10,
3163,
18,
2972,
28512,
1435,
32,
409,
950,
15329,
1082,
202,
2
] |
||
try { uiJob.join(); } catch (InterruptedException e) { monitor.done(); }
|
private void internalRefresh(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { int markerLimit = getMarkerLimit(); monitor.beginTask(Messages.getString("MarkerView.19"), markerLimit == -1? 60 : 100); //$NON-NLS-1$ haltTableUpdates(); try { monitor.subTask(WAITING_FOR_WORKSPACE_CHANGES_TO_FINISH); SubProgressMonitor subMonitor = new SubProgressMonitor(monitor, 10); ResourcesPlugin.getWorkspace().run(new IWorkspaceRunnable() { public void run(IProgressMonitor innerMonitor) throws CoreException { if (innerMonitor.isCanceled()) return; innerMonitor.subTask(SEARCHING_FOR_MARKERS); currentMarkers = MarkerList.compute(getFilter(), innerMonitor, true); if (innerMonitor.isCanceled()) return; if (totalMarkers == -1) { innerMonitor.subTask(REFRESHING_MARKER_COUNTS); totalMarkers = MarkerList.compute(getMarkerTypes()).length; } } }, subMonitor); } catch (CoreException e1) { throw new InvocationTargetException(e1); } if (monitor.isCanceled()) { return; } // Exit immediately if the markers have changed in the meantime. Collection markers = Arrays.asList(currentMarkers.toArray()); if (markerLimit != -1) { monitor.subTask(FILTERING_ON_MARKER_LIMIT); SubProgressMonitor mon = new SubProgressMonitor(monitor, 40); markers = SortUtil.getFirst(markers, getSorter(), markerLimit, mon); if (monitor.isCanceled()) return; currentMarkers = new MarkerList(markers); } monitor.subTask(QUEUEING_VIEWER_UPDATES); SubProgressMonitor sub = new SubProgressMonitor(monitor, 50); setContents(markers, sub); if (monitor.isCanceled()) return; uiJob.schedule(); try { uiJob.join(); } catch (InterruptedException e) { monitor.done(); } monitor.done(); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/386f57cbd90f7f13615d6b25487d4c4b6505ac0d/MarkerView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2713,
8323,
12,
45,
5491,
7187,
6438,
13,
1216,
15342,
16,
7558,
288,
202,
202,
474,
5373,
3039,
273,
23232,
264,
3039,
5621,
202,
202,
10259,
18,
10086,
2174,
12,
5058,
18,
588,
780,
2932,
7078,
1767,
18,
3657,
6,
3631,
5373,
3039,
422,
300,
21,
35,
4752,
294,
2130,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
76,
2390,
1388,
5121,
5621,
202,
202,
698,
288,
1082,
202,
10259,
18,
1717,
2174,
12,
19046,
1360,
67,
7473,
67,
10566,
6616,
67,
1792,
3388,
3991,
67,
4296,
67,
23259,
1769,
1082,
202,
1676,
5491,
7187,
720,
7187,
273,
394,
2592,
5491,
7187,
12,
10259,
16,
1728,
1769,
1082,
202,
3805,
3773,
18,
588,
8241,
7675,
2681,
12,
2704,
467,
8241,
20013,
1435,
288,
9506,
202,
482,
918,
1086,
12,
45,
5491,
7187,
3443,
7187,
13,
1216,
30015,
288,
6862,
202,
430,
261,
7872,
7187,
18,
291,
23163,
10756,
327,
31,
6862,
202,
7872,
7187,
18,
1717,
2174,
12,
17251,
1360,
67,
7473,
67,
12693,
11367,
1769,
6862,
202,
2972,
21644,
273,
14742,
682,
18,
9200,
12,
588,
1586,
9334,
3443,
7187,
16,
638,
1769,
6862,
25083,
202,
430,
261,
7872,
7187,
18,
291,
23163,
10756,
327,
31,
6862,
6862,
6862,
202,
430,
261,
4963,
21644,
422,
300,
21,
13,
288,
25083,
202,
7872,
7187,
18,
1717,
2174,
12,
10771,
14753,
1360,
67,
25989,
67,
7240,
55,
1769,
25083,
202,
4963,
21644,
273,
14742,
682,
18,
9200,
12,
588,
7078,
2016,
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,
225,
202,
1152,
918,
2713,
8323,
12,
45,
5491,
7187,
6438,
13,
1216,
15342,
16,
7558,
288,
202,
202,
474,
5373,
3039,
273,
23232,
264,
3039,
5621,
202,
202,
10259,
18,
10086,
2174,
12,
5058,
18,
588,
780,
2932,
7078,
1767,
18,
3657,
6,
3631,
5373,
3039,
422,
300,
21,
35,
4752,
294,
2130,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
76,
2390,
1388,
5121,
5621,
202,
202,
698,
288,
1082,
202,
10259,
18,
1717,
2174,
12,
19046,
1360,
67,
7473,
67,
10566,
6616,
67,
1792,
3388,
3991,
67,
4296,
67,
23259,
1769,
1082,
202,
1676,
5491,
7187,
720,
7187,
273,
394,
2592,
5491,
7187,
12,
10259,
16,
1728,
1769,
1082,
202,
3805,
3773,
18,
588,
2
] |
|
public void setInit(IASTDeclaration declaration);
|
public void setInit(IASTExpression expression);
|
public void setInit(IASTDeclaration declaration);
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/14feb82cc2497313fe8f6f8f49e2bdc5a01ee5e8/IASTForStatement.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTForStatement.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
2570,
12,
45,
9053,
6094,
8266,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
2570,
12,
45,
9053,
6094,
8266,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
propertySet.setBoolProperty( KILLED_BY_SUBSEQUENT_STORE, llsaDataflow.getAnalysis().killedByStore(liveStoreSet, local));
|
if (llsaDataflow.getAnalysis().killedByStore(liveStoreSet, local)) propertySet.addProperty(DeadLocalStoreProperty.KILLED_BY_SUBSEQUENT_STORE);
|
private void analyzeMethod(ClassContext classContext, Method method) throws DataflowAnalysisException, CFGBuilderException { JavaClass javaClass = classContext.getJavaClass(); Dataflow<BitSet, LiveLocalStoreAnalysis> llsaDataflow = classContext.getLiveLocalStoreDataflow(method); int numLocals = method.getCode().getMaxLocals(); int [] localStoreCount = new int[numLocals]; int [] localLoadCount = new int[numLocals]; int [] localIncrementCount = new int[numLocals]; MethodGen methodGen = classContext.getMethodGen(method); CFG cfg = classContext.getCFG(method); BitSet liveStoreSetAtEntry = llsaDataflow.getAnalysis().getResultFact(cfg.getEntry()); BitSet complainedAbout = new BitSet(); // Get number of locals that are parameters. int localsThatAreParameters = method.getArgumentTypes().length; if (!method.isStatic()) localsThatAreParameters++; // Scan method to determine number of loads, stores, and increments // of local variables. countLocalStoresLoadsAndIncrements( localStoreCount, localLoadCount, localIncrementCount, cfg); // Scan method for // - dead stores // - stores to parameters that are dead upon entry to the method for (Iterator<Location> i = cfg.locationIterator(); i.hasNext(); ) { Location location = i.next(); // Skip any instruction which is not a store if (!isStore(location)) continue; // Heuristic: exception handler blocks often contain // dead stores generated by the compiler. propertySet.setBoolProperty( EXCEPTION_HANDLER, location.getBasicBlock().isExceptionHandler()); IndexedInstruction ins = (IndexedInstruction) location.getHandle().getInstruction(); int local = ins.getIndex(); // Heuristic: name of local variable. checkLocalVariableName( method.getLocalVariableTable(), local, location.getHandle().getPosition()); // Is this a store to a parameter which was dead on entry to the method? boolean parameterThatIsDeadAtEntry = local < localsThatAreParameters && !llsaDataflow.getAnalysis().isStoreAlive(liveStoreSetAtEntry, local); if (parameterThatIsDeadAtEntry && !complainedAbout.get(local)) { BugInstance bugInstance = new BugInstance(this, "IP_PARAMETER_IS_DEAD_BUT_OVERWRITTEN", NORMAL_PRIORITY) .addClassAndMethod(methodGen, javaClass.getSourceFileName()) .addSourceLine(methodGen, javaClass.getSourceFileName(), location.getHandle()); bugReporter.reportBug(bugInstance); complainedAbout.set(local); } // Get live stores at this instruction. // Note that the analysis also computes which stores were // killed by a subsequent unconditional store. BitSet liveStoreSet = llsaDataflow.getAnalysis().getFactAtLocation(location); // Is store alive? if (llsaDataflow.getAnalysis().isStoreAlive(liveStoreSet, local)) continue; // Store is dead // Ignore assignments that were killed by a subsequent assignment. propertySet.setBoolProperty( KILLED_BY_SUBSEQUENT_STORE, llsaDataflow.getAnalysis().killedByStore(liveStoreSet, local)); // Ignore dead assignments of null and 0. // These often indicate defensive programming. InstructionHandle prev = location.getBasicBlock().getPredecessorOf(location.getHandle()); propertySet.setBoolProperty( DEFENSIVE_CONSTANT_OPCODE, prev != null && defensiveConstantValueOpcodes.get(prev.getInstruction().getOpcode()) ); if (ins instanceof IINC) { // special handling of IINC propertySet.setBoolProperty(DEAD_INCREMENT, true); if (localIncrementCount[local] == 1) propertySet.setBoolProperty(SINGLE_DEAD_INCREMENT, true); } else if (ins instanceof ASTORE && prev != null) { // Look for objects created but never used Instruction prevIns = prev.getInstruction(); if ((prevIns instanceof INVOKESPECIAL && ((INVOKESPECIAL)prevIns).getMethodName(methodGen.getConstantPool()).equals("<init>")) || prevIns instanceof ANEWARRAY || prevIns instanceof NEWARRAY || prevIns instanceof MULTIANEWARRAY) { propertySet.setBoolProperty(DEAD_OBJECT_STORE, true); } } else if (localStoreCount[local] == 2 && localLoadCount[local] > 0) { // TODO: why is this significant? propertySet.setBoolProperty(TWO_STORES_MULTIPLE_LOADS, true); } else if (localStoreCount[local] == 1) { // TODO: why is this significant? propertySet.setBoolProperty(SINGLE_STORE, true); } else if (localLoadCount[local] == 0) { // TODO: why is this significant? propertySet.setBoolProperty(NO_LOADS, true); } if (parameterThatIsDeadAtEntry) { if (DEBUG) System.out.println("Raising priority"); propertySet.setBoolProperty(PARAM_DEAD_ON_ENTRY, true); } int priority = determineWarningPriority(); if (priority >= 0) { // Report the warning BugInstance bugInstance = new BugInstance(this, "DLS_DEAD_LOCAL_STORE", priority) .addClassAndMethod(methodGen, javaClass.getSourceFileName()) .addSourceLine(methodGen, javaClass.getSourceFileName(), location.getHandle()); if (DEBUG) System.out.println("Reporting " + bugInstance); // If in relaxed reporting mode, encode heuristic information. if (AnalysisContext.currentAnalysisContext().getBoolProperty( FindBugsAnalysisProperties.RELAXED_REPORTING_MODE)) { propertySet.decorateBugInstance(bugInstance, schema); } bugReporter.reportBug(bugInstance); } } }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/b9bcac8a334c2cd7b816ee39131cc1c6f23064d3/FindDeadLocalStores.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/FindDeadLocalStores.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
12375,
1305,
12,
797,
1042,
667,
1042,
16,
2985,
707,
13,
1082,
202,
15069,
1910,
2426,
9418,
503,
16,
7577,
1263,
503,
288,
9506,
202,
5852,
797,
2252,
797,
273,
667,
1042,
18,
588,
5852,
797,
5621,
9506,
202,
751,
2426,
32,
5775,
694,
16,
21559,
2042,
2257,
9418,
34,
328,
3251,
69,
751,
2426,
273,
1082,
202,
1106,
1042,
18,
588,
12328,
2042,
2257,
751,
2426,
12,
2039,
1769,
9506,
202,
474,
818,
1333,
1031,
273,
707,
18,
588,
1085,
7675,
588,
2747,
1333,
1031,
5621,
202,
202,
474,
5378,
1191,
2257,
1380,
273,
394,
509,
63,
2107,
1333,
1031,
15533,
202,
202,
474,
5378,
1191,
2563,
1380,
273,
394,
509,
63,
2107,
1333,
1031,
15533,
202,
202,
474,
5378,
1191,
10798,
1380,
273,
394,
509,
63,
2107,
1333,
1031,
15533,
202,
202,
1305,
7642,
707,
7642,
273,
667,
1042,
18,
588,
1305,
7642,
12,
2039,
1769,
202,
202,
19727,
2776,
273,
667,
1042,
18,
588,
19727,
12,
2039,
1769,
202,
202,
5775,
694,
8429,
2257,
694,
861,
1622,
273,
328,
3251,
69,
751,
2426,
18,
588,
9418,
7675,
588,
1253,
9766,
12,
7066,
18,
588,
1622,
10663,
202,
202,
5775,
694,
532,
7446,
329,
24813,
273,
394,
21199,
5621,
9506,
202,
759,
968,
1300,
434,
8985,
716,
854,
1472,
18,
202,
202,
474,
8985,
18163,
4704,
2402,
273,
707,
18,
588,
1379,
2016,
7675,
2469,
31,
202,
202,
430,
16051,
2039,
18,
291,
5788,
10756,
8985,
18163,
4704,
2402,
9904,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
12375,
1305,
12,
797,
1042,
667,
1042,
16,
2985,
707,
13,
1082,
202,
15069,
1910,
2426,
9418,
503,
16,
7577,
1263,
503,
288,
9506,
202,
5852,
797,
2252,
797,
273,
667,
1042,
18,
588,
5852,
797,
5621,
9506,
202,
751,
2426,
32,
5775,
694,
16,
21559,
2042,
2257,
9418,
34,
328,
3251,
69,
751,
2426,
273,
1082,
202,
1106,
1042,
18,
588,
12328,
2042,
2257,
751,
2426,
12,
2039,
1769,
9506,
202,
474,
818,
1333,
1031,
273,
707,
18,
588,
1085,
7675,
588,
2747,
1333,
1031,
5621,
202,
202,
474,
5378,
1191,
2257,
1380,
273,
394,
509,
63,
2107,
1333,
1031,
15533,
202,
202,
474,
5378,
1191,
2563,
1380,
273,
394,
509,
63,
2107,
1333,
2
] |
new LemRelationshipCreationEvent( object_id1, class_name1, object_id2, class_name2, association_id, obj.getObjectId().intValue()).notifyAll( c );
|
new LemRelationshipCreationEvent( active_id, passive_id, a.getAssociation().getName(), obj.getObjectId().intValue()).notifyAll( c );
|
public void executeRelateAction( RelateAction a, Context c ) throws LemRuntimeException { // check both ends of the association to see if the classes are of // correct type boolean valid_active, valid_passive; valid_active = valid_passive = false; Instance active = null; Instance passive = null; runtime.Object obj = null; runtime.Object aP = (runtime.Object)(( ObjectReferenceVariable ) c.getVariable( a.getActiveObjectName() )).getValue(); runtime.Object pP = (runtime.Object)(( ObjectReferenceVariable ) c.getVariable( a.getPassiveObjectName() )).getValue(); // retrieve the names of the classes participating in the association metamodel.Class aP_class = a.getAssociation().getActivePerspective().getDomainClass(); metamodel.Class pP_class = a.getAssociation().getPassivePerspective().getDomainClass(); Collection ac = aP.getInstances(); Collection pc = pP.getInstances(); Iterator i = ac.iterator(); while ( i.hasNext() && !( valid_passive || valid_active ) ) { active = ( Instance ) i.next(); if ( active.getInstanceClass() == aP_class ) valid_active = true; else if ( ( active.getInstanceClass() == pP_class ) && !( a.getVerbClause() ) ) valid_passive = true; } if ( !( valid_active || valid_passive ) ) throw new LemRuntimeException( "Objects does not have the required instances for association " + a.getAssociation().getName() ); i = pc.iterator(); while ( i.hasNext() && !( valid_passive && valid_active ) ) { passive = ( Instance ) i.next(); if ( passive.getInstanceClass() == pP_class ) valid_passive = true; else if ( ( passive.getInstanceClass() == aP_class ) && !( a.getVerbClause() ) ) valid_active = true; } if ( !( valid_active && valid_passive ) ) throw new LemRuntimeException( "Objects does not have the required instances for association " + a.getAssociation().getName() ); AssociationInstance aInst = new AssociationInstance( a.getAssociation() ); aInst.setActiveInstance( active ); aInst.setPassiveInstance( passive ); // creating clause is present if(a.getLinkObjectName() != null) { CreateAction ca = new CreateAction(); LinkedList l = new LinkedList(); l.add(a.getAssociation().getAssociationClassRole().getAssociationClass()); ca.setClasses((Collection)l); obj = executeCreateAction(ca, c); if(obj == null) throw new LemRuntimeException("Exception occurred in creating link object."); aInst.setLinkObjectInstance(obj); } if ( c.containsAssociationInstance( aInst ) != null ) throw new LemRuntimeException( "The association already exist between the two objects" ); c.addAssociationInstance( aInst ); // create a new LemEvent and notify all listeners int object_id1 = aP.getObjectId().intValue(); Collection class_name1 = aP.getClassNames(); int object_id2 = pP.getObjectId().intValue(); Collection class_name2 = pP.getClassNames(); int association_id = aInst.getAssociationId().intValue(); if(obj == null) new LemRelationshipCreationEvent( object_id1, class_name1, object_id2, class_name2, association_id ).notifyAll( c ); else new LemRelationshipCreationEvent( object_id1, class_name1, object_id2, class_name2, association_id, obj.getObjectId().intValue()).notifyAll( c ); }
|
10434 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10434/c3ecf85f0c3a90ddd9e5617f6cc50c5a702956c7/Interpreter.java/buggy/trunk/src/runtime/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1971,
340,
1803,
12,
4275,
340,
1803,
279,
16,
1772,
276,
262,
1216,
511,
351,
11949,
288,
3639,
368,
866,
3937,
3930,
434,
326,
6384,
358,
2621,
309,
326,
3318,
854,
434,
3639,
368,
3434,
618,
3639,
1250,
923,
67,
3535,
16,
923,
67,
5466,
688,
31,
3639,
923,
67,
3535,
273,
923,
67,
5466,
688,
273,
629,
31,
3639,
5180,
2695,
273,
446,
31,
3639,
5180,
23697,
273,
446,
31,
3639,
3099,
18,
921,
1081,
273,
446,
31,
7734,
3099,
18,
921,
279,
52,
273,
261,
9448,
18,
921,
13,
12443,
31321,
3092,
262,
276,
18,
588,
3092,
12,
279,
18,
588,
3896,
16707,
1435,
262,
2934,
24805,
5621,
3639,
3099,
18,
921,
293,
52,
273,
261,
9448,
18,
921,
13,
12443,
31321,
3092,
262,
276,
18,
588,
3092,
12,
279,
18,
588,
6433,
688,
16707,
1435,
262,
2934,
24805,
5621,
7734,
368,
4614,
326,
1257,
434,
326,
3318,
30891,
1776,
316,
326,
6384,
3639,
5100,
13474,
18,
797,
279,
52,
67,
1106,
273,
279,
18,
588,
7174,
7675,
588,
3896,
14781,
16772,
7675,
588,
3748,
797,
5621,
3639,
5100,
13474,
18,
797,
293,
52,
67,
1106,
273,
279,
18,
588,
7174,
7675,
588,
6433,
688,
14781,
16772,
7675,
588,
3748,
797,
5621,
7734,
2200,
1721,
273,
279,
52,
18,
588,
5361,
5621,
3639,
2200,
6125,
273,
293,
52,
18,
588,
5361,
5621,
13491,
4498,
277,
273,
1721,
18,
9838,
5621,
3639,
1323,
261,
277,
18,
5332,
2134,
1435,
597,
401,
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,
1836,
1971,
340,
1803,
12,
4275,
340,
1803,
279,
16,
1772,
276,
262,
1216,
511,
351,
11949,
288,
3639,
368,
866,
3937,
3930,
434,
326,
6384,
358,
2621,
309,
326,
3318,
854,
434,
3639,
368,
3434,
618,
3639,
1250,
923,
67,
3535,
16,
923,
67,
5466,
688,
31,
3639,
923,
67,
3535,
273,
923,
67,
5466,
688,
273,
629,
31,
3639,
5180,
2695,
273,
446,
31,
3639,
5180,
23697,
273,
446,
31,
3639,
3099,
18,
921,
1081,
273,
446,
31,
7734,
3099,
18,
921,
279,
52,
273,
261,
9448,
18,
921,
13,
12443,
31321,
3092,
262,
276,
18,
588,
3092,
12,
279,
18,
588,
3896,
16707,
1435,
262,
2934,
24805,
5621,
3639,
3099,
18,
921,
293,
2
] |
this.imcmsText.setType(TextDocumentDomainObject.Text.TEXT_TYPE_HTML);
|
this.imcmsText.setType(TextDomainObject.TEXT_TYPE_HTML);
|
public void setHtmlFormat() { this.imcmsText.setType(TextDocumentDomainObject.Text.TEXT_TYPE_HTML); }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/384aa6673a2d85962105b70af94204908f253f18/TextDocument.java/buggy/server/src/com/imcode/imcms/api/TextDocument.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
444,
4353,
1630,
1435,
288,
5411,
333,
18,
381,
6851,
1528,
18,
542,
559,
12,
1528,
3748,
921,
18,
5151,
67,
2399,
67,
4870,
1769,
3639,
289,
2,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
444,
4353,
1630,
1435,
288,
5411,
333,
18,
381,
6851,
1528,
18,
542,
559,
12,
1528,
3748,
921,
18,
5151,
67,
2399,
67,
4870,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 ( date1[utc]=='Z' ) {
|
if ( date1.utc=='Z' ) {
|
protected short compareDates(int[] date1, int[] date2, boolean strict) { if ( date1[utc]==date2[utc] ) { return compareOrder(date1, date2); } short c1, c2; int[] tempDate = new int[TOTAL_SIZE]; int[] timeZone = new int[2]; if ( date1[utc]=='Z' ) { //compare date1<=date1<=(date2 with time zone -14) // cloneDate(date2, tempDate); //clones date1 value to global temporary storage: fTempDate timeZone[hh]=14; timeZone[mm]=0; tempDate[utc]='+'; normalize(tempDate, timeZone); c1 = compareOrder(date1, tempDate); if (c1 == LESS_THAN) return c1; //compare date1>=(date2 with time zone +14) // cloneDate(date2, tempDate); //clones date1 value to global temporary storage: tempDate timeZone[hh]=14; timeZone[mm]=0; tempDate[utc]='-'; normalize(tempDate, timeZone); c2 = compareOrder(date1, tempDate); if (c2 == GREATER_THAN) return c2; return INDETERMINATE; } else if ( date2[utc]=='Z' ) { //compare (date1 with time zone -14)<=date2 // cloneDate(date1, tempDate); //clones date1 value to global temporary storage: tempDate timeZone[hh]=14; timeZone[mm]=0; tempDate[utc]='-'; if (DEBUG) { System.out.println("tempDate=" + dateToString(tempDate)); } normalize(tempDate, timeZone); c1 = compareOrder(tempDate, date2); if (DEBUG) { System.out.println("date=" + dateToString(date2)); System.out.println("tempDate=" + dateToString(tempDate)); } if (c1 == LESS_THAN) return c1; //compare (date1 with time zone +14)<=date2 // cloneDate(date1, tempDate); //clones date1 value to global temporary storage: tempDate timeZone[hh]=14; timeZone[mm]=0; tempDate[utc]='+'; normalize(tempDate, timeZone); c2 = compareOrder(tempDate, date2); if (DEBUG) { System.out.println("tempDate=" + dateToString(tempDate)); } if (c2 == GREATER_THAN) return c2; return INDETERMINATE; } return INDETERMINATE; }
|
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/bcc8fb199cd33a4cd9d32cea6d8fcaaf38720890/AbstractDateTimeDV.java/clean/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3025,
3400,
15578,
12,
474,
8526,
1509,
21,
16,
509,
8526,
1509,
22,
16,
1250,
5490,
13,
288,
3639,
309,
261,
1509,
21,
63,
17892,
65,
631,
712,
22,
63,
17892,
65,
262,
288,
5411,
327,
3400,
2448,
12,
712,
21,
16,
1509,
22,
1769,
3639,
289,
3639,
3025,
276,
21,
16,
276,
22,
31,
7734,
509,
8526,
1906,
1626,
273,
394,
509,
63,
28624,
67,
4574,
15533,
3639,
509,
8526,
17512,
273,
394,
509,
63,
22,
15533,
3639,
309,
261,
1509,
21,
18,
17892,
18920,
62,
11,
262,
288,
5411,
368,
9877,
1509,
21,
32,
33,
712,
21,
32,
28657,
712,
22,
598,
813,
4157,
300,
3461,
13,
5411,
368,
5411,
3236,
1626,
12,
712,
22,
16,
1906,
1626,
1769,
368,
830,
5322,
1509,
21,
460,
358,
2552,
6269,
2502,
30,
284,
7185,
1626,
5411,
17512,
63,
21622,
65,
33,
3461,
31,
5411,
17512,
63,
7020,
65,
33,
20,
31,
5411,
1906,
1626,
63,
17892,
65,
2218,
6797,
31,
5411,
3883,
12,
5814,
1626,
16,
17512,
1769,
5411,
276,
21,
273,
3400,
2448,
12,
712,
21,
16,
1906,
1626,
1769,
5411,
309,
261,
71,
21,
422,
21216,
67,
22408,
13,
7734,
327,
276,
21,
31,
5411,
368,
9877,
1509,
21,
34,
28657,
712,
22,
598,
813,
4157,
397,
3461,
13,
5411,
368,
5411,
3236,
1626,
12,
712,
22,
16,
1906,
1626,
1769,
368,
830,
5322,
1509,
21,
460,
358,
2552,
6269,
2502,
30,
1906,
1626,
5411,
17512,
63,
21622,
65,
33,
3461,
31,
5411,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3025,
3400,
15578,
12,
474,
8526,
1509,
21,
16,
509,
8526,
1509,
22,
16,
1250,
5490,
13,
288,
3639,
309,
261,
1509,
21,
63,
17892,
65,
631,
712,
22,
63,
17892,
65,
262,
288,
5411,
327,
3400,
2448,
12,
712,
21,
16,
1509,
22,
1769,
3639,
289,
3639,
3025,
276,
21,
16,
276,
22,
31,
7734,
509,
8526,
1906,
1626,
273,
394,
509,
63,
28624,
67,
4574,
15533,
3639,
509,
8526,
17512,
273,
394,
509,
63,
22,
15533,
3639,
309,
261,
1509,
21,
18,
17892,
18920,
62,
11,
262,
288,
5411,
368,
9877,
1509,
21,
32,
33,
712,
21,
32,
28657,
712,
22,
598,
813,
4157,
300,
3461,
13,
5411,
368,
5411,
3236,
1626,
12,
712,
22,
2
] |
public boolean isCurrent(RubyId rubyId) { if (id == null || id.intValue() == 0) { return false; } else if (rubyId.equals(id)) { return true; } else if (next != null) { return next.isCurrent(rubyId);
|
public static boolean isCurrent(Ruby ruby, RubyId rubyId) { RubyVarmap vars = ruby.getDynamicVars(); while (vars != null) { if (vars.id == null || vars.id.intValue() == 0) { break; } if (vars.id == rubyId) { return true; } vars = vars.next;
|
public boolean isCurrent(RubyId rubyId) { if (id == null || id.intValue() == 0) { return false; } else if (rubyId.equals(id)) { return true; } else if (next != null) { return next.isCurrent(rubyId); } return false; }
|
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyVarmap.java/buggy/org/jruby/interpreter/RubyVarmap.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
25694,
12,
54,
10340,
548,
22155,
548,
13,
288,
3639,
309,
261,
350,
422,
446,
747,
612,
18,
474,
620,
1435,
422,
374,
13,
288,
5411,
327,
629,
31,
3639,
289,
469,
309,
261,
27768,
548,
18,
14963,
12,
350,
3719,
288,
5411,
327,
638,
31,
3639,
289,
469,
309,
261,
4285,
480,
446,
13,
288,
5411,
327,
1024,
18,
291,
3935,
12,
27768,
548,
1769,
3639,
289,
3639,
327,
629,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1250,
25694,
12,
54,
10340,
548,
22155,
548,
13,
288,
3639,
309,
261,
350,
422,
446,
747,
612,
18,
474,
620,
1435,
422,
374,
13,
288,
5411,
327,
629,
31,
3639,
289,
469,
309,
261,
27768,
548,
18,
14963,
12,
350,
3719,
288,
5411,
327,
638,
31,
3639,
289,
469,
309,
261,
4285,
480,
446,
13,
288,
5411,
327,
1024,
18,
291,
3935,
12,
27768,
548,
1769,
3639,
289,
3639,
327,
629,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
buf.append("<font color=\"green\">FOREVER</font>");
|
buf.append("<span class=\"persistence_forever\">forever</span>");
|
private void writePersistenceCell(ClientRequest p, StringBuffer buf) { buf.append("<td>"); if(!p.isPersistent()) buf.append("<font color=\"black\">NONE</font>"); else if(!p.isPersistentForever()) buf.append("<font color=\"blue\">REBOOT</font>"); else buf.append("<font color=\"green\">FOREVER</font>"); buf.append("</td>\n"); }
|
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/2a50af2c7d1c8c3a5ad945e6a509003db2cd8d7f/QueueToadlet.java/buggy/src/freenet/clients/http/QueueToadlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1045,
13182,
4020,
12,
1227,
691,
293,
16,
6674,
1681,
13,
288,
202,
202,
4385,
18,
6923,
2932,
32,
4465,
2984,
1769,
202,
202,
430,
12,
5,
84,
18,
291,
11906,
10756,
1082,
202,
4385,
18,
6923,
2932,
32,
5776,
2036,
5189,
11223,
24735,
9826,
1757,
5776,
2984,
1769,
202,
202,
12107,
309,
12,
5,
84,
18,
291,
11906,
13573,
502,
10756,
1082,
202,
4385,
18,
6923,
2932,
32,
5776,
2036,
5189,
14081,
24735,
862,
30124,
1757,
5776,
2984,
1769,
202,
202,
12107,
1082,
202,
4385,
18,
6923,
2932,
32,
5776,
2036,
5189,
11571,
24735,
11701,
2204,
1757,
5776,
2984,
1769,
202,
202,
4385,
18,
6923,
2932,
1757,
4465,
5333,
82,
8863,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1045,
13182,
4020,
12,
1227,
691,
293,
16,
6674,
1681,
13,
288,
202,
202,
4385,
18,
6923,
2932,
32,
4465,
2984,
1769,
202,
202,
430,
12,
5,
84,
18,
291,
11906,
10756,
1082,
202,
4385,
18,
6923,
2932,
32,
5776,
2036,
5189,
11223,
24735,
9826,
1757,
5776,
2984,
1769,
202,
202,
12107,
309,
12,
5,
84,
18,
291,
11906,
13573,
502,
10756,
1082,
202,
4385,
18,
6923,
2932,
32,
5776,
2036,
5189,
14081,
24735,
862,
30124,
1757,
5776,
2984,
1769,
202,
202,
12107,
1082,
202,
4385,
18,
6923,
2932,
32,
5776,
2036,
5189,
11571,
24735,
11701,
2204,
1757,
5776,
2984,
1769,
202,
202,
4385,
18,
6923,
2932,
1757,
4465,
5333,
82,
8863,
202,
97,
2,
-100
] |
public org.quickfix.field.EncodedIssuer getEncodedIssuer() throws FieldNotFound { org.quickfix.field.EncodedIssuer value = new org.quickfix.field.EncodedIssuer();
|
public quickfix.field.EncodedIssuer getEncodedIssuer() throws FieldNotFound { quickfix.field.EncodedIssuer value = new quickfix.field.EncodedIssuer();
|
public org.quickfix.field.EncodedIssuer getEncodedIssuer() throws FieldNotFound { org.quickfix.field.EncodedIssuer value = new org.quickfix.field.EncodedIssuer(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderMassCancelRequest.java/buggy/src/java/src/quickfix/fix43/OrderMassCancelRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
16667,
28799,
16667,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
16667,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
16667,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public org.quickfix.field.LegInterestAccrualDate getLegInterestAccrualDate() throws FieldNotFound { org.quickfix.field.LegInterestAccrualDate value = new org.quickfix.field.LegInterestAccrualDate();
|
public quickfix.field.LegInterestAccrualDate getLegInterestAccrualDate() throws FieldNotFound { quickfix.field.LegInterestAccrualDate value = new quickfix.field.LegInterestAccrualDate();
|
public org.quickfix.field.LegInterestAccrualDate getLegInterestAccrualDate() throws FieldNotFound { org.quickfix.field.LegInterestAccrualDate value = new org.quickfix.field.LegInterestAccrualDate(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityDefinition.java/clean/src/java/src/quickfix/fix44/SecurityDefinition.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
29281,
8973,
86,
1462,
1626,
336,
8329,
29281,
8973,
86,
1462,
1626,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
29281,
8973,
86,
1462,
1626,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
29281,
8973,
86,
1462,
1626,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
29281,
8973,
86,
1462,
1626,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
29281,
8973,
86,
1462,
1626,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.techType = tech;
|
this.techLevel = tech;
|
public UACAmmoType(int size, int tech) { this.techType = tech; this.rackSize = size; this.damagePerShot = this.rackSize; if ( tech == TechConstants.T_IS_LEVEL_2) { switch(size) { case 2: this.heat = 1; this.range = new RangeType(3, 8, 17, 25); this.shots = 45; this.bv = 7; break; case 5: this.heat = 1; this.range = new RangeType(2, 6, 13, 20); this.shots = 20; this.bv = 14; break; case 10: this.heat = 4; this.range = new RangeType(6, 12, 18); this.shots = 10; this.bv = 29; break; case 20: this.heat = 8; this.range = new RangeType(3, 7, 10); this.shots = 5; this.bv = 32; break; } } else { // CLAN switch(size) { case 2: this.heat = 1; this.range = new RangeType(2, 9, 18, 27); this.shots = 45; this.bv = 6; break; case 5: this.heat = 1; this.range = new RangeType(7, 14, 21); this.shots = 20; this.bv = 15; break; case 10: this.heat = 3; this.range = new RangeType(6, 12, 18); this.shots = 10; this.bv = 26; break; case 20: this.heat = 7; this.range = new RangeType(4, 8, 12); this.shots = 5; this.bv = 35; break; } } }
|
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/2a8ee4c2253f0c0f3d13b49f9c1d4c077cd44dc7/UACAmmoType.java/buggy/megamek/src/megamek/common/equip/UACAmmoType.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
587,
2226,
37,
7020,
83,
559,
12,
474,
963,
16,
509,
13878,
13,
288,
3639,
333,
18,
28012,
2355,
273,
13878,
31,
3639,
333,
18,
21580,
1225,
273,
963,
31,
3639,
333,
18,
72,
301,
410,
2173,
1555,
352,
273,
333,
18,
21580,
1225,
31,
7734,
309,
261,
13878,
422,
399,
8987,
2918,
18,
56,
67,
5127,
67,
10398,
67,
22,
13,
288,
5411,
1620,
12,
1467,
13,
288,
5411,
648,
576,
30,
7734,
333,
18,
580,
270,
273,
404,
31,
7734,
333,
18,
3676,
273,
394,
8086,
559,
12,
23,
16,
1725,
16,
8043,
16,
6969,
1769,
7734,
333,
18,
2415,
87,
273,
12292,
31,
7734,
333,
18,
70,
90,
273,
2371,
31,
7734,
898,
31,
5411,
648,
1381,
30,
1171,
333,
18,
580,
270,
273,
404,
31,
7734,
333,
18,
3676,
273,
394,
8086,
559,
12,
22,
16,
1666,
16,
5958,
16,
4200,
1769,
7734,
333,
18,
2415,
87,
273,
4200,
31,
7734,
333,
18,
70,
90,
273,
5045,
31,
7734,
898,
31,
5411,
648,
1728,
30,
7734,
333,
18,
580,
270,
273,
1059,
31,
7734,
333,
18,
3676,
273,
394,
8086,
559,
12,
26,
16,
2593,
16,
6549,
1769,
7734,
333,
18,
2415,
87,
273,
1728,
31,
7734,
333,
18,
70,
90,
273,
12899,
31,
7734,
898,
31,
5411,
648,
4200,
30,
7734,
333,
18,
580,
270,
273,
1725,
31,
7734,
333,
18,
3676,
273,
394,
8086,
559,
12,
23,
16,
2371,
16,
1728,
1769,
7734,
333,
18,
2415,
87,
273,
1381,
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,
587,
2226,
37,
7020,
83,
559,
12,
474,
963,
16,
509,
13878,
13,
288,
3639,
333,
18,
28012,
2355,
273,
13878,
31,
3639,
333,
18,
21580,
1225,
273,
963,
31,
3639,
333,
18,
72,
301,
410,
2173,
1555,
352,
273,
333,
18,
21580,
1225,
31,
7734,
309,
261,
13878,
422,
399,
8987,
2918,
18,
56,
67,
5127,
67,
10398,
67,
22,
13,
288,
5411,
1620,
12,
1467,
13,
288,
5411,
648,
576,
30,
7734,
333,
18,
580,
270,
273,
404,
31,
7734,
333,
18,
3676,
273,
394,
8086,
559,
12,
23,
16,
1725,
16,
8043,
16,
6969,
1769,
7734,
333,
18,
2415,
87,
273,
12292,
31,
7734,
333,
18,
70,
90,
273,
2371,
31,
7734,
898,
31,
2
] |
int firstSlash = CharOperation.indexOf(IIndexConstants.SEPARATOR, word, 0);
|
int firstSlash = CharOperation.indexOf(IndexerOutput.SEPARATOR, word, 0);
|
private void updateTypes(IndexInput input, IProject project, IProgressMonitor monitor) throws InterruptedException, IOException { if (monitor.isCanceled()) throw new InterruptedException(); IEntryResult[] typeEntries = input.queryEntriesPrefixedBy(IIndexConstants.TYPE_DECL); if (typeEntries != null) { //TODO subprogress monitor for (int i = 0; i < typeEntries.length; ++i) { if (monitor.isCanceled()) throw new InterruptedException(); IEntryResult entry = typeEntries[i]; char[] word = entry.getWord(); int firstSlash = CharOperation.indexOf(IIndexConstants.SEPARATOR, word, 0); char decodedType = word[firstSlash + 1]; int type = getElementType(decodedType); if (type != 0) { firstSlash += 2; int slash = CharOperation.indexOf(IIndexConstants.SEPARATOR, word, firstSlash + 1); String name = String.valueOf(CharOperation.subarray(word, firstSlash + 1, slash)); if (name.length() != 0) { // skip anonymous structs String[] enclosingNames = getEnclosingNames(word, slash); addType(input, project, entry, type, name, enclosingNames, monitor); } } else if (decodedType == IIndexConstants.DERIVED_SUFFIX) { firstSlash += 2; int slash = CharOperation.indexOf(IIndexConstants.SEPARATOR, word, firstSlash + 1); String name = String.valueOf(CharOperation.subarray(word, firstSlash + 1, slash)); if (name.length() != 0) { // skip anonymous structs String[] enclosingNames = getEnclosingNames(word, slash); addSuperTypeReference(input, project, entry, name, enclosingNames, monitor); } } } } }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/cf1d5bf0d12520585deffeb5e217fc8ff5159112/IndexerTypesJob.java/clean/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/internal/core/browser/cache/IndexerTypesJob.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
2016,
12,
1016,
1210,
810,
16,
467,
4109,
1984,
16,
467,
5491,
7187,
6438,
13,
202,
202,
15069,
7558,
16,
1860,
288,
202,
202,
430,
261,
10259,
18,
291,
23163,
10756,
1082,
202,
12849,
394,
7558,
5621,
202,
202,
45,
1622,
1253,
8526,
618,
5400,
273,
810,
18,
2271,
5400,
2244,
18696,
12,
45,
1016,
2918,
18,
2399,
67,
23956,
1769,
202,
202,
430,
261,
723,
5400,
480,
446,
13,
288,
1082,
202,
759,
6241,
720,
8298,
6438,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
618,
5400,
18,
2469,
31,
965,
77,
13,
288,
9506,
202,
430,
261,
10259,
18,
291,
23163,
10756,
6862,
202,
12849,
394,
7558,
5621,
6862,
9506,
202,
45,
1622,
1253,
1241,
273,
618,
5400,
63,
77,
15533,
9506,
202,
3001,
8526,
2076,
273,
1241,
18,
588,
3944,
5621,
9506,
202,
474,
1122,
11033,
273,
3703,
2988,
18,
31806,
12,
45,
1016,
2918,
18,
4550,
16,
2076,
16,
374,
1769,
9506,
202,
3001,
6383,
559,
273,
2076,
63,
3645,
11033,
397,
404,
15533,
9506,
202,
474,
618,
273,
7426,
559,
12,
26646,
559,
1769,
9506,
202,
430,
261,
723,
480,
374,
13,
288,
6862,
202,
3645,
11033,
1011,
576,
31,
6862,
202,
474,
9026,
273,
3703,
2988,
18,
31806,
12,
45,
1016,
2918,
18,
4550,
16,
2076,
16,
1122,
11033,
397,
404,
1769,
6862,
202,
780,
508,
273,
514,
18,
1132,
951,
12,
2156,
2988,
18,
1717,
1126,
12,
1095,
16,
1122,
11033,
397,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
2016,
12,
1016,
1210,
810,
16,
467,
4109,
1984,
16,
467,
5491,
7187,
6438,
13,
202,
202,
15069,
7558,
16,
1860,
288,
202,
202,
430,
261,
10259,
18,
291,
23163,
10756,
1082,
202,
12849,
394,
7558,
5621,
202,
202,
45,
1622,
1253,
8526,
618,
5400,
273,
810,
18,
2271,
5400,
2244,
18696,
12,
45,
1016,
2918,
18,
2399,
67,
23956,
1769,
202,
202,
430,
261,
723,
5400,
480,
446,
13,
288,
1082,
202,
759,
6241,
720,
8298,
6438,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
618,
5400,
18,
2469,
31,
965,
77,
13,
288,
9506,
202,
430,
261,
10259,
18,
291,
23163,
10756,
6862,
202,
12849,
394,
7558,
5621,
6862,
2
] |
public void dispose() {
|
public void dispose() {
|
public void dispose() { sourceActionBars.dispose(); super.dispose(); }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/3cadf1d4fe7ee5bfe2841c88dcb73dc0d1c1f333/TaskEditorActionContributor.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorActionContributor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
15825,
1435,
288,
202,
202,
3168,
1803,
5190,
87,
18,
2251,
4150,
5621,
202,
202,
9565,
18,
2251,
4150,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
15825,
1435,
288,
202,
202,
3168,
1803,
5190,
87,
18,
2251,
4150,
5621,
202,
202,
9565,
18,
2251,
4150,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (isSubMenuManagerCreated())
|
if (isSubMenuManagerCreated()) {
|
private void setActive(boolean set, boolean forceVisibility) { basicSetActive(set); if (isSubMenuManagerCreated()) ((EditorMenuManager) getMenuManager()).setVisible(set, forceVisibility); if (isSubStatusLineManagerCreated()) ((SubStatusLineManager) getStatusLineManager()).setVisible(set); setVisible(set, forceVisibility); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/EditorActionBars.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorActionBars.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
20669,
12,
6494,
444,
16,
1250,
2944,
10135,
13,
288,
202,
202,
13240,
694,
3896,
12,
542,
1769,
202,
202,
430,
261,
291,
1676,
4599,
1318,
6119,
10756,
1082,
202,
12443,
6946,
4599,
1318,
13,
25877,
1318,
1435,
2934,
542,
6207,
12,
542,
16,
6862,
202,
5734,
10135,
1769,
202,
202,
430,
261,
291,
1676,
1482,
1670,
1318,
6119,
10756,
1082,
202,
12443,
1676,
1482,
1670,
1318,
13,
5870,
1670,
1318,
1435,
2934,
542,
6207,
12,
542,
1769,
202,
202,
542,
6207,
12,
542,
16,
2944,
10135,
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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,
444,
16,
1250,
2944,
10135,
13,
288,
202,
202,
13240,
694,
3896,
12,
542,
1769,
202,
202,
430,
261,
291,
1676,
4599,
1318,
6119,
10756,
1082,
202,
12443,
6946,
4599,
1318,
13,
25877,
1318,
1435,
2934,
542,
6207,
12,
542,
16,
6862,
202,
5734,
10135,
1769,
202,
202,
430,
261,
291,
1676,
1482,
1670,
1318,
6119,
10756,
1082,
202,
12443,
1676,
1482,
1670,
1318,
13,
5870,
1670,
1318,
1435,
2934,
542,
6207,
12,
542,
1769,
202,
202,
542,
6207,
12,
542,
16,
2944,
10135,
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
] |
public String getDatabaseName() {
|
public String getDatabaseName() {
|
public String getDatabaseName() { return databaseName; }
|
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/e8af2c48b4bb9af3bc99d369178e1dff05a8b2cb/TdsDataSource.java/clean/src/main/net/sourceforge/jtds/jdbcx/TdsDataSource.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
11263,
461,
1435,
565,
288,
3639,
327,
15165,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
11263,
461,
1435,
565,
288,
3639,
327,
15165,
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
] |
String part = string.substring(lastPos, i); addVariable(part, part);
|
VARIABLES.getPart(string.substring(lastPos, i), weights);
|
private void getParts(String string) { currentVariables.clear(); if (string.length() == 0) return; int start = 1; int lastPos = 0; char last = string.charAt(lastPos); for (int i = 1; i < string.length(); ++i) { char ch = string.charAt(i); if (ch == last) continue; String part = string.substring(lastPos, i); addVariable(part, part); lastPos = i; last = ch; } String part = string.substring(lastPos, string.length()); addVariable(part, part); }
|
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/843c807154d91ca6d3938c56e9ce9ef408592334/FlexibleDateTime.java/buggy/tools/java/org/unicode/cldr/test/FlexibleDateTime.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
13657,
87,
12,
780,
533,
13,
288,
202,
202,
2972,
6158,
18,
8507,
5621,
202,
202,
430,
261,
1080,
18,
2469,
1435,
422,
374,
13,
327,
31,
202,
202,
474,
787,
273,
404,
31,
202,
202,
474,
1142,
1616,
273,
374,
31,
202,
202,
3001,
1142,
273,
533,
18,
3001,
861,
12,
2722,
1616,
1769,
202,
202,
1884,
261,
474,
277,
273,
404,
31,
277,
411,
533,
18,
2469,
5621,
965,
77,
13,
288,
1082,
202,
3001,
462,
273,
533,
18,
3001,
861,
12,
77,
1769,
1082,
202,
430,
261,
343,
422,
1142,
13,
1324,
31,
1082,
202,
780,
1087,
273,
533,
18,
28023,
12,
2722,
1616,
16,
277,
1769,
1082,
202,
1289,
3092,
12,
2680,
16,
1087,
1769,
1082,
202,
2722,
1616,
273,
277,
31,
1082,
202,
2722,
273,
462,
31,
6862,
202,
97,
202,
202,
780,
1087,
273,
533,
18,
28023,
12,
2722,
1616,
16,
533,
18,
2469,
10663,
202,
202,
1289,
3092,
12,
2680,
16,
1087,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
1152,
918,
13657,
87,
12,
780,
533,
13,
288,
202,
202,
2972,
6158,
18,
8507,
5621,
202,
202,
430,
261,
1080,
18,
2469,
1435,
422,
374,
13,
327,
31,
202,
202,
474,
787,
273,
404,
31,
202,
202,
474,
1142,
1616,
273,
374,
31,
202,
202,
3001,
1142,
273,
533,
18,
3001,
861,
12,
2722,
1616,
1769,
202,
202,
1884,
261,
474,
277,
273,
404,
31,
277,
411,
533,
18,
2469,
5621,
965,
77,
13,
288,
1082,
202,
3001,
462,
273,
533,
18,
3001,
861,
12,
77,
1769,
1082,
202,
430,
261,
343,
422,
1142,
13,
1324,
31,
1082,
202,
780,
1087,
273,
533,
18,
28023,
12,
2722,
1616,
16,
277,
1769,
1082,
202,
1289,
3092,
12,
2
] |
public long getCompressedSize() { if (compressedSize != null) {
|
public long getCompressedSize() { if ( compressedSize != null ) {
|
public long getCompressedSize() { if (compressedSize != null) { // has been set explicitly and we are running in a 1.1 VM return compressedSize.longValue(); } return super.getCompressedSize(); }
|
55907 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55907/4da7a225ba9c01ca94805923e06e3fb2d46bf201/ZipEntry.java/clean/plexus-archiver/src/main/java/org/codehaus/plexus/archiver/zip/ZipEntry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1525,
336,
16841,
1225,
1435,
288,
3639,
309,
261,
15385,
1225,
480,
446,
13,
288,
5411,
368,
711,
2118,
444,
8122,
471,
732,
854,
3549,
316,
279,
404,
18,
21,
8251,
5411,
327,
8968,
1225,
18,
5748,
620,
5621,
3639,
289,
3639,
327,
2240,
18,
588,
16841,
1225,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1525,
336,
16841,
1225,
1435,
288,
3639,
309,
261,
15385,
1225,
480,
446,
13,
288,
5411,
368,
711,
2118,
444,
8122,
471,
732,
854,
3549,
316,
279,
404,
18,
21,
8251,
5411,
327,
8968,
1225,
18,
5748,
620,
5621,
3639,
289,
3639,
327,
2240,
18,
588,
16841,
1225,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return RubyFixnum.newFixnum(runtime, cal.get(Calendar.YEAR));
|
return getRuntime().newFixnum(cal.get(Calendar.YEAR));
|
public RubyInteger year() { return RubyFixnum.newFixnum(runtime, cal.get(Calendar.YEAR)); }
|
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyTime.java/clean/src/org/jruby/RubyTime.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
4522,
3286,
1435,
288,
3639,
327,
18814,
7675,
2704,
8585,
2107,
12,
771,
18,
588,
12,
7335,
18,
15137,
10019,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
GL11.glRasterPos2i(wt.getX() + xAdjustment, wt.getY() + yAdjustment); } else {
|
GL11 .glRasterPos2i(wt.getX() + xAdjustment, wt.getY() + yAdjustment); } else {
|
public void render() { WidgetImage wt = (WidgetImage) getWidget(); initWidgetProjection(wt); // TODO: clip drawing to widget bounds. Image image = wt.getImage(); int imageWidth = image.getWidth(); int imageHeight = image.getHeight(); int widgetWidth = wt.getWidth(); int widgetHeight = wt.getHeight(); int newImageWidth = -1; int newImageHeight = -1; boolean needsAlignment = (wt.getAlignment() != WidgetAlignmentType.ALIGN_NONE); if (WidgetImage.SCALE_MODE_SIZE_TO_FIT == wt.getScaleMode()) { float xfactor = ((float)widgetWidth) / ((float)imageWidth); float yfactor = ((float)widgetHeight) / ((float)imageHeight); GL11.glPixelZoom(xfactor, yfactor); newImageWidth = widgetWidth; newImageHeight = widgetHeight; } else if (WidgetImage.SCALE_MODE_ABSOLUTE == wt.getScaleMode()) { GL11.glPixelZoom(wt.getHorizontalScale(), wt.getVerticalScale()); newImageWidth = (int)(imageWidth * wt.getHorizontalScale()); newImageHeight = (int)(imageHeight * wt.getVerticalScale()); } else if (WidgetImage.SCALE_MODE_NONE == wt.getScaleMode()) { GL11.glPixelZoom(1f, 1f); newImageWidth = imageWidth; newImageHeight = imageHeight; } else if (WidgetImage.SCALE_MODE_RELATIVE == wt.getScaleMode()) { float xfactor = ((float)widgetWidth) / ((float)imageWidth) * wt.getHorizontalScale(); float yfactor = ((float)widgetHeight) / ((float)imageHeight) * wt.getVerticalScale(); GL11.glPixelZoom(xfactor, yfactor); newImageWidth = (int)(imageWidth * xfactor); newImageHeight = (int)(imageHeight * yfactor); } needsAlignment = needsAlignment && ((newImageWidth < widgetWidth) || (newImageHeight < widgetHeight)); if (needsAlignment) { int xAdjustment = 0; int yAdjustment = 0; if (WidgetAlignmentType.ALIGN_NORTHWEST == wt.getAlignment()) { xAdjustment = 0; yAdjustment = widgetHeight - newImageHeight; } else if (WidgetAlignmentType.ALIGN_NORTH == wt.getAlignment()) { xAdjustment = (int) ((widgetWidth - newImageWidth) / 2); yAdjustment = widgetHeight - newImageHeight; } else if (WidgetAlignmentType.ALIGN_NORTHEAST == wt.getAlignment()) { xAdjustment = widgetWidth - newImageWidth; yAdjustment = widgetHeight - newImageHeight; } else if (WidgetAlignmentType.ALIGN_WEST == wt.getAlignment()) { xAdjustment = 0; yAdjustment = (int) ((widgetHeight - newImageHeight) / 2); } if (WidgetAlignmentType.ALIGN_CENTER == wt.getAlignment()) { xAdjustment = (int) ((widgetWidth - newImageWidth) / 2); yAdjustment = (int) ((widgetHeight - newImageHeight) / 2); } else if (WidgetAlignmentType.ALIGN_EAST == wt.getAlignment()) { xAdjustment = widgetWidth - newImageWidth; yAdjustment = (int) ((widgetHeight - newImageHeight) / 2); } else if (WidgetAlignmentType.ALIGN_SOUTHWEST == wt.getAlignment()) { xAdjustment = 0; yAdjustment = 0; } if (WidgetAlignmentType.ALIGN_SOUTH == wt.getAlignment()) { xAdjustment = (int) ((widgetWidth - newImageWidth) / 2); yAdjustment = 0; } else if (WidgetAlignmentType.ALIGN_SOUTHEAST == wt.getAlignment()) { xAdjustment = widgetWidth - newImageWidth; yAdjustment = 0; } else if (WidgetAlignmentType.ALIGN_NONE == wt.getAlignment()) { // should never get here } GL11.glRasterPos2i(wt.getX() + xAdjustment, wt.getY() + yAdjustment); } else { GL11.glRasterPos2i(wt.getX(), wt.getY()); } GL11.glDrawPixels(imageWidth, imageHeight, GL11.GL_RGB, GL11.GL_UNSIGNED_BYTE, image.getData()); // reset pixel zoom GL11.glPixelZoom(1f, 1f); resetWidgetProjection(); }
|
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/fadf2d0b2e2aef5bd761e5ece6c319dacc20cfb3/WidgetLWJGLImage.java/clean/src/com/jme/widget/impl/lwjgl/WidgetLWJGLImage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1743,
1435,
288,
3639,
11103,
2040,
18201,
273,
261,
4609,
2040,
13,
23434,
5621,
3639,
1208,
4609,
14789,
12,
6046,
1769,
3639,
368,
2660,
30,
6807,
16327,
358,
3604,
4972,
18,
3639,
3421,
1316,
273,
18201,
18,
588,
2040,
5621,
3639,
509,
1316,
2384,
273,
1316,
18,
588,
2384,
5621,
3639,
509,
1316,
2686,
273,
1316,
18,
588,
2686,
5621,
3639,
509,
3604,
2384,
273,
18201,
18,
588,
2384,
5621,
3639,
509,
3604,
2686,
273,
18201,
18,
588,
2686,
5621,
3639,
509,
394,
2040,
2384,
273,
300,
21,
31,
3639,
509,
394,
2040,
2686,
273,
300,
21,
31,
3639,
1250,
4260,
11535,
273,
261,
6046,
18,
588,
11535,
1435,
480,
11103,
11535,
559,
18,
26439,
67,
9826,
1769,
7734,
309,
261,
4609,
2040,
18,
19378,
67,
7038,
67,
4574,
67,
4296,
67,
42,
1285,
422,
18201,
18,
588,
5587,
2309,
10756,
3639,
288,
5411,
1431,
619,
6812,
273,
14015,
5659,
13,
6587,
2384,
13,
342,
14015,
5659,
13,
2730,
2384,
1769,
5411,
1431,
677,
6812,
273,
14015,
5659,
13,
6587,
2686,
13,
342,
14015,
5659,
13,
2730,
2686,
1769,
5411,
10252,
2499,
18,
7043,
9037,
11497,
12,
92,
6812,
16,
677,
6812,
1769,
5411,
394,
2040,
2384,
273,
3604,
2384,
31,
5411,
394,
2040,
2686,
273,
3604,
2686,
31,
3639,
289,
3639,
469,
309,
261,
4609,
2040,
18,
19378,
67,
7038,
67,
2090,
26786,
422,
18201,
18,
588,
5587,
2309,
10756,
3639,
288,
5411,
10252,
2499,
18,
7043,
9037,
11497,
12,
6046,
18,
588,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1743,
1435,
288,
3639,
11103,
2040,
18201,
273,
261,
4609,
2040,
13,
23434,
5621,
3639,
1208,
4609,
14789,
12,
6046,
1769,
3639,
368,
2660,
30,
6807,
16327,
358,
3604,
4972,
18,
3639,
3421,
1316,
273,
18201,
18,
588,
2040,
5621,
3639,
509,
1316,
2384,
273,
1316,
18,
588,
2384,
5621,
3639,
509,
1316,
2686,
273,
1316,
18,
588,
2686,
5621,
3639,
509,
3604,
2384,
273,
18201,
18,
588,
2384,
5621,
3639,
509,
3604,
2686,
273,
18201,
18,
588,
2686,
5621,
3639,
509,
394,
2040,
2384,
273,
300,
21,
31,
3639,
509,
394,
2040,
2686,
273,
300,
21,
31,
3639,
1250,
4260,
11535,
273,
261,
6046,
18,
588,
11535,
1435,
480,
11103,
11535,
559,
18,
26439,
67,
2
] |
System.out.println(" foo2: " + foo2);
|
System.out.println(" foo2: " + sourceIsTopOfLoop);
|
public void meetInto(UnconditionalValueDerefSet fact, Edge edge, UnconditionalValueDerefSet result) throws DataflowAnalysisException { if (ignoreThisEdge(edge)) { return; } // Edge transfer function if (isFactValid(fact)) { fact = propagateDerefSetsToMergeInputValues(fact, edge); if (invDataflow != null) { fact = clearDerefsOnNonNullBranch(fact, edge); } } boolean isBackEdge = edge.isBackwardInBytecode(); boolean foo2 = edge.foo(ClassContext.getLoopExitBranches(methodGen)); if (foo2 && edge.getType() == EdgeTypes.FALL_THROUGH_EDGE) isBackEdge = true; if (DEBUG && (edge.getType() == EdgeTypes.IFCMP_EDGE || foo2)) { System.out.println("Meet into " + edge); System.out.println(" foo2: " + foo2); System.out.println(" getType: " + edge.getType() ); System.out.println(" Backedge according to bytecode: " + isBackEdge); System.out.println(" Fact hashCode: " + System.identityHashCode(result)); System.out.println(" Initial fact: " + result); System.out.println(" Edge fact: " + fact); } if (result.isTop() || fact.isBottom()) { // Make result identical to other fact copy(fact, result); if (isBackEdge && !fact.isTop()) result.resultsFromBackEdge = true; } else if (false && isBackEdge && !fact.isTop()) { result.makeSameAs(fact); result.resultsFromBackEdge = true; System.out.println("Found special edge"); } else if (result.isBottom() || fact.isTop()) { // No change in result fact } else { // Dataflow merge // (intersection of unconditional deref values) if (false && result.resultsFromBackEdge) { if (DEBUG) System.out.println("Skipping update of " + System.identityHashCode(result) + " due to backedge info"); return; } result.mergeWith(fact, vnaDataflow.getAnalysis().getFactory()); if (DEBUG) { System.out.println(" updated: " + System.identityHashCode(result)); System.out.println(" result: " + result); return; } } if (DEBUG && isBackEdge && edge.getType() == EdgeTypes.IFCMP_EDGE) { System.out.println(" result: " + result); } }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/ec72cb8b2fda968b6184eae17381d31e435e631b/UnconditionalValueDerefAnalysis.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/deref/UnconditionalValueDerefAnalysis.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
18721,
5952,
12,
984,
22019,
620,
40,
822,
74,
694,
5410,
16,
11342,
3591,
16,
1082,
202,
984,
22019,
620,
40,
822,
74,
694,
563,
13,
1216,
1910,
2426,
9418,
503,
288,
9506,
202,
430,
261,
6185,
2503,
6098,
12,
7126,
3719,
288,
1082,
202,
2463,
31,
202,
202,
97,
9506,
202,
759,
11342,
7412,
445,
202,
202,
430,
261,
291,
9766,
1556,
12,
3493,
3719,
288,
1082,
202,
3493,
273,
13551,
40,
822,
74,
2785,
774,
6786,
1210,
1972,
12,
3493,
16,
3591,
1769,
1082,
202,
430,
261,
5768,
751,
2426,
480,
446,
13,
288,
9506,
202,
3493,
273,
2424,
40,
822,
2556,
1398,
8921,
7108,
12,
3493,
16,
3591,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
6494,
353,
2711,
6098,
273,
3591,
18,
291,
26283,
382,
858,
16651,
5621,
202,
202,
6494,
8431,
22,
273,
3591,
18,
11351,
12,
797,
1042,
18,
588,
6452,
6767,
24246,
12,
2039,
7642,
10019,
202,
202,
430,
261,
11351,
22,
597,
3591,
18,
588,
559,
1435,
422,
11342,
2016,
18,
42,
4685,
67,
2455,
1457,
57,
16715,
67,
27732,
13,
1082,
202,
291,
2711,
6098,
273,
638,
31,
202,
202,
430,
261,
9394,
597,
261,
7126,
18,
588,
559,
1435,
422,
11342,
2016,
18,
45,
4488,
4566,
67,
27732,
747,
8431,
22,
3719,
288,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
4667,
278,
1368,
315,
397,
3591,
1769,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
225,
8431,
22,
30,
315,
397,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
18721,
5952,
12,
984,
22019,
620,
40,
822,
74,
694,
5410,
16,
11342,
3591,
16,
1082,
202,
984,
22019,
620,
40,
822,
74,
694,
563,
13,
1216,
1910,
2426,
9418,
503,
288,
9506,
202,
430,
261,
6185,
2503,
6098,
12,
7126,
3719,
288,
1082,
202,
2463,
31,
202,
202,
97,
9506,
202,
759,
11342,
7412,
445,
202,
202,
430,
261,
291,
9766,
1556,
12,
3493,
3719,
288,
1082,
202,
3493,
273,
13551,
40,
822,
74,
2785,
774,
6786,
1210,
1972,
12,
3493,
16,
3591,
1769,
1082,
202,
430,
261,
5768,
751,
2426,
480,
446,
13,
288,
9506,
202,
3493,
273,
2424,
40,
822,
2556,
1398,
8921,
7108,
12,
3493,
16,
3591,
1769,
1082,
202,
97,
2
] |
&& expressionsAreEquivalent(rhs1, rhs2);
|
&& expressionsAreEquivalent(rhs1, rhs2);
|
private static boolean assignmentExpressionsAreEquivalent(PsiAssignmentExpression assignExp1, PsiAssignmentExpression assignExp2){ final PsiJavaToken sign1 = assignExp1.getOperationSign(); final PsiJavaToken sign2 = assignExp2.getOperationSign(); if(!sign1.getTokenType().equals(sign2.getTokenType())){ return false; } final PsiExpression lhs1 = assignExp1.getLExpression(); final PsiExpression lhs2 = assignExp2.getLExpression(); final PsiExpression rhs1 = assignExp1.getRExpression(); final PsiExpression rhs2 = assignExp2.getRExpression(); return expressionsAreEquivalent(lhs1, lhs2) && expressionsAreEquivalent(rhs1, rhs2); }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/e4329a48065fe37b7b5d3d9883a02a38ec8f42fa/EquivalenceChecker.java/buggy/plugins/IntentionPowerPak/src/com/siyeh/ipp/psiutils/EquivalenceChecker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
6661,
8927,
4704,
22606,
12,
52,
7722,
7729,
2300,
2683,
2966,
21,
16,
4766,
17311,
453,
7722,
7729,
2300,
2683,
2966,
22,
15329,
3639,
727,
453,
7722,
5852,
1345,
1573,
21,
273,
2683,
2966,
21,
18,
588,
2988,
2766,
5621,
3639,
727,
453,
7722,
5852,
1345,
1573,
22,
273,
2683,
2966,
22,
18,
588,
2988,
2766,
5621,
3639,
309,
12,
5,
2977,
21,
18,
588,
28675,
7675,
14963,
12,
2977,
22,
18,
588,
28675,
1435,
3719,
95,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
2300,
8499,
21,
273,
2683,
2966,
21,
18,
588,
48,
2300,
5621,
3639,
727,
453,
7722,
2300,
8499,
22,
273,
2683,
2966,
22,
18,
588,
48,
2300,
5621,
3639,
727,
453,
7722,
2300,
7711,
21,
273,
2683,
2966,
21,
18,
588,
54,
2300,
5621,
3639,
727,
453,
7722,
2300,
7711,
22,
273,
2683,
2966,
22,
18,
588,
54,
2300,
5621,
3639,
327,
8041,
4704,
22606,
12,
80,
4487,
21,
16,
8499,
22,
13,
15604,
597,
8041,
4704,
22606,
12,
86,
4487,
21,
16,
7711,
22,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
6661,
8927,
4704,
22606,
12,
52,
7722,
7729,
2300,
2683,
2966,
21,
16,
4766,
17311,
453,
7722,
7729,
2300,
2683,
2966,
22,
15329,
3639,
727,
453,
7722,
5852,
1345,
1573,
21,
273,
2683,
2966,
21,
18,
588,
2988,
2766,
5621,
3639,
727,
453,
7722,
5852,
1345,
1573,
22,
273,
2683,
2966,
22,
18,
588,
2988,
2766,
5621,
3639,
309,
12,
5,
2977,
21,
18,
588,
28675,
7675,
14963,
12,
2977,
22,
18,
588,
28675,
1435,
3719,
95,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
2300,
8499,
21,
273,
2683,
2966,
21,
18,
588,
48,
2300,
5621,
3639,
727,
453,
7722,
2300,
8499,
22,
273,
2683,
2966,
22,
18,
588,
48,
2300,
5621,
2
] |
else if (owner != null) { q = session.getNamedQuery(DELETE_PREFERENCES__NAME_NULL); q.setParameter(PARAM_OWNER, name); } else { q = session.getNamedQuery(DELETE_PREFERENCES__BOTH_NULL); } q.executeUpdate(); session.flush();
|
public void removePreferences(String owner, String name) { try { final Session session = this.getSession(false); final Query q; if (owner != null && name != null) { q = session.getNamedQuery(DELETE_PREFERENCES__NO_NULL); q.setParameter(PARAM_NAME, name); q.setParameter(PARAM_OWNER, owner); } else if (name != null) { q = session.getNamedQuery(DELETE_PREFERENCES__OWNER_NULL); q.setParameter(PARAM_NAME, name); } else if (owner != null) { q = session.getNamedQuery(DELETE_PREFERENCES__NAME_NULL); q.setParameter(PARAM_OWNER, name); } else { q = session.getNamedQuery(DELETE_PREFERENCES__BOTH_NULL); } q.executeUpdate(); session.flush(); } catch (HibernateException ex) { throw convertHibernateAccessException(ex); } }
|
53163 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53163/ac001c44bb9d32e33be469e7f1fc1588c0c485a1/HibernatePreferencesStore.java/buggy/src/edu/wisc/my/portlets/bookmarks/dao/hibernate/HibernatePreferencesStore.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
12377,
12,
780,
3410,
16,
514,
508,
13,
288,
3639,
775,
288,
5411,
727,
3877,
1339,
273,
333,
18,
588,
2157,
12,
5743,
1769,
5411,
727,
2770,
1043,
31,
5411,
309,
261,
8443,
480,
446,
597,
508,
480,
446,
13,
288,
7734,
1043,
273,
1339,
18,
588,
7604,
1138,
12,
6460,
67,
3670,
10830,
55,
972,
3417,
67,
8560,
1769,
7734,
1043,
18,
542,
1662,
12,
8388,
67,
1985,
16,
508,
1769,
7734,
1043,
18,
542,
1662,
12,
8388,
67,
29602,
16,
3410,
1769,
5411,
289,
5411,
469,
309,
261,
529,
480,
446,
13,
288,
7734,
1043,
273,
1339,
18,
588,
7604,
1138,
12,
6460,
67,
3670,
10830,
55,
972,
29602,
67,
8560,
1769,
7734,
1043,
18,
542,
1662,
12,
8388,
67,
1985,
16,
508,
1769,
5411,
289,
5411,
469,
309,
261,
8443,
480,
446,
13,
288,
7734,
1043,
273,
1339,
18,
588,
7604,
1138,
12,
6460,
67,
3670,
10830,
55,
972,
1985,
67,
8560,
1769,
7734,
1043,
18,
542,
1662,
12,
8388,
67,
29602,
16,
508,
1769,
5411,
289,
5411,
469,
288,
7734,
1043,
273,
1339,
18,
588,
7604,
1138,
12,
6460,
67,
3670,
10830,
55,
972,
38,
18307,
67,
8560,
1769,
5411,
289,
5411,
1043,
18,
8837,
1891,
5621,
5411,
1339,
18,
11330,
5621,
3639,
289,
3639,
1044,
261,
44,
24360,
503,
431,
13,
288,
5411,
604,
1765,
44,
24360,
9773,
12,
338,
1769,
3639,
289,
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,
377,
1071,
918,
1206,
12377,
12,
780,
3410,
16,
514,
508,
13,
288,
3639,
775,
288,
5411,
727,
3877,
1339,
273,
333,
18,
588,
2157,
12,
5743,
1769,
5411,
727,
2770,
1043,
31,
5411,
309,
261,
8443,
480,
446,
597,
508,
480,
446,
13,
288,
7734,
1043,
273,
1339,
18,
588,
7604,
1138,
12,
6460,
67,
3670,
10830,
55,
972,
3417,
67,
8560,
1769,
7734,
1043,
18,
542,
1662,
12,
8388,
67,
1985,
16,
508,
1769,
7734,
1043,
18,
542,
1662,
12,
8388,
67,
29602,
16,
3410,
1769,
5411,
289,
5411,
469,
309,
261,
529,
480,
446,
13,
288,
7734,
1043,
273,
1339,
18,
588,
7604,
1138,
12,
6460,
67,
3670,
10830,
55,
972,
29602,
67,
8560,
1769,
7734,
2
] |
|
public void actionPerformed(ActionEvent e) { project proj_class=(project)project.oClass; if (e.getSource() == edit_house) { System.out.println("editing the house"); proj_class.draw_mouse_state =4; aScreen.temp_house=new house(); aScreen.temp_house.copyHouse((house)(proj_class.houses.get_object(proj_class.selected_index))); } else if (e.getSource() == edit_stage) { System.out.println("editing the stage"); proj_class.draw_mouse_state =5; aScreen.temp_stage=new stage(); aScreen.temp_stage.copyStage((stage)(proj_class.stages.get_object(proj_class.selected_index))); } else if (e.getSource() == edit_bar) { System.out.println("editing the bar"); proj_class.draw_mouse_state =3; aScreen.temp_bar=new bar(); aScreen.temp_bar.copyBar((bar)(proj_class.bars.get_object(proj_class.selected_index))); } else if(e.getSource()==add_bar) { //System.out.println("adding a bar"); proj_class.draw_mouse_state =1; aScreen.temp_bar = new bar(); } else if(e.getSource()==move_bar) { System.out.println("moving a bar"); proj_class.draw_mouse_state =6; } else if(e.getSource()==add_instrument) { System.out.println("Adding an instrument"); proj_class.draw_mouse_state =2; aScreen.temp_instrument = new instrument(); //temporarily hardcode the nodes for the instruments aScreen.temp_instrument.add_node(0,0); aScreen.temp_instrument.add_node(20,0); aScreen.temp_instrument.add_node(15,5); aScreen.temp_instrument.add_node(15,20); aScreen.temp_instrument.add_node(5,20); aScreen.temp_instrument.add_node(5,5); aScreen.temp_instrument.setBarID(proj_class.selected_index); } else if(e.getSource()==add_stage) { //ADD STAGE //System.out.println("adding a stage"); proj_class.draw_mouse_state =8; aScreen.temp_stage = new stage(); } else if(e.getSource()==add_set) { //ADD SET PIECE //System.out.println("adding a stage"); proj_class.draw_mouse_state =9; aScreen.temp_set = new setobject(); } else if (e.getSource() == edit_set) { System.out.println("editing a set object"); proj_class.draw_mouse_state =10; aScreen.temp_set=new setobject(); aScreen.temp_set.copySetObject((setobject)(proj_class.sets.get_object(proj_class.selected_index))); } else if(e.getSource() == zoom_in) { if(proj_class.zoom_factor<100){ proj_class.zoom_factor+=1; aScreen.horiz.setMaximum(600*proj_class.zoom_factor); aScreen.vert.setMaximum(600*proj_class.zoom_factor); aScreen.repaint(); } } else if(e.getSource() == zoom_out) { if(proj_class.zoom_factor>1){ proj_class.zoom_factor-=.5; aScreen.horiz.setMaximum(600*proj_class.zoom_factor); aScreen.vert.setMaximum(600*proj_class.zoom_factor); aScreen.repaint(); } } else if(e.getSource() == cancel) { if(aScreen.temp_bar!=null){ aScreen.temp_bar=null; } if(aScreen.temp_stage!=null){ aScreen.temp_stage=null; } if(aScreen.temp_instrument!=null){ aScreen.temp_instrument=null; } if(aScreen.temp_set!=null){ aScreen.temp_set=null; } if(aScreen.temp_house!=null){ aScreen.temp_house=null; } proj_class.draw_mouse_state=0; } else if(e.getSource()==confirm){ if(proj_class.draw_mouse_state==8){ //commit the adding of the stage proj_class.addStage(aScreen.temp_stage); aScreen.temp_stage=null; proj_class.draw_mouse_state=0; }else if(proj_class.draw_mouse_state==9){ proj_class.addSet(aScreen.temp_set); aScreen.temp_set=null; proj_class.draw_mouse_state=0; }else if(proj_class.draw_mouse_state==3){ //editing a bar proj_class.SetBar(aScreen.temp_bar,proj_class.selected_index); aScreen.temp_bar=null; proj_class.draw_mouse_state=0; }else if(proj_class.draw_mouse_state==4){ //editing a house proj_class.SetHouse(aScreen.temp_house,proj_class.selected_index); aScreen.temp_house=null; proj_class.draw_mouse_state=0; }else if(proj_class.draw_mouse_state==5){ //editing a stage proj_class.SetStage(aScreen.temp_stage,proj_class.selected_index); aScreen.temp_stage=null; proj_class.draw_mouse_state=0; }else if(proj_class.draw_mouse_state==10){ //editing a set object proj_class.SetSetObject(aScreen.temp_set,proj_class.selected_index); aScreen.temp_set=null; proj_class.draw_mouse_state=0; } } aScreen.repaint(); }
|
11744 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11744/dce5cce5932e176249945ec35e1a6959e1877534/PopUpMenu.java/clean/src/drawing_prog/PopUpMenu.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
1128,
13889,
12,
1803,
1133,
73,
15329,
4406,
17995,
67,
1106,
28657,
4406,
13,
4406,
18,
83,
797,
31,
202,
430,
12,
73,
18,
588,
1830,
1435,
631,
4619,
67,
13028,
13,
202,
95,
202,
3163,
18,
659,
18,
8222,
2932,
4619,
310,
5787,
13028,
8863,
202,
17995,
67,
1106,
18,
9446,
67,
11697,
67,
2019,
33,
24,
31,
69,
7956,
18,
5814,
67,
13028,
33,
2704,
13028,
5621,
69,
7956,
18,
5814,
67,
13028,
18,
3530,
44,
3793,
12443,
13028,
21433,
17995,
67,
1106,
18,
76,
1481,
281,
18,
588,
67,
1612,
12,
17995,
67,
1106,
18,
8109,
67,
1615,
3719,
1769,
202,
97,
202,
12107,
430,
12,
73,
18,
588,
1830,
1435,
631,
4619,
67,
12869,
13,
202,
95,
202,
3163,
18,
659,
18,
8222,
2932,
4619,
310,
29201,
410,
8863,
202,
17995,
67,
1106,
18,
9446,
67,
11697,
67,
2019,
33,
25,
31,
69,
7956,
18,
5814,
67,
12869,
33,
2704,
12869,
5621,
69,
7956,
18,
5814,
67,
12869,
18,
3530,
8755,
12443,
12869,
21433,
17995,
67,
1106,
18,
334,
1023,
18,
588,
67,
1612,
12,
17995,
67,
1106,
18,
8109,
67,
1615,
3719,
1769,
202,
97,
202,
12107,
430,
12,
73,
18,
588,
1830,
1435,
631,
4619,
67,
3215,
13,
202,
95,
202,
3163,
18,
659,
18,
8222,
2932,
4619,
310,
5787,
3215,
8863,
202,
17995,
67,
1106,
18,
9446,
67,
11697,
67,
2019,
33,
23,
31,
69,
7956,
18,
5814,
67,
3215,
33,
2704,
3215,
5621,
69,
7956,
18,
5814,
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,
6459,
1128,
13889,
12,
1803,
1133,
73,
15329,
4406,
17995,
67,
1106,
28657,
4406,
13,
4406,
18,
83,
797,
31,
202,
430,
12,
73,
18,
588,
1830,
1435,
631,
4619,
67,
13028,
13,
202,
95,
202,
3163,
18,
659,
18,
8222,
2932,
4619,
310,
5787,
13028,
8863,
202,
17995,
67,
1106,
18,
9446,
67,
11697,
67,
2019,
33,
24,
31,
69,
7956,
18,
5814,
67,
13028,
33,
2704,
13028,
5621,
69,
7956,
18,
5814,
67,
13028,
18,
3530,
44,
3793,
12443,
13028,
21433,
17995,
67,
1106,
18,
76,
1481,
281,
18,
588,
67,
1612,
12,
17995,
67,
1106,
18,
8109,
67,
1615,
3719,
1769,
202,
97,
202,
12107,
430,
12,
73,
18,
588,
1830,
1435,
631,
4619,
67,
2
] |
||
throws InvalidDatatypeValueException { StringTokenizer parsedList = new StringTokenizer( content ); int numberOfTokens = parsedList.countTokens(); if (fBaseValidator instanceof ListDatatypeValidator) {
|
throws InvalidDatatypeValueException { StringTokenizer parsedList = new StringTokenizer( content ); int numberOfTokens = parsedList.countTokens(); if (fBaseValidator instanceof ListDatatypeValidator) {
|
protected void checkContentEnum( String content, Object state, Vector enumeration ) throws InvalidDatatypeValueException { //REVISIT: attemt to make enumeration to be validated against value space. //a redesign of Datatypes might help to reduce complexity of this validation StringTokenizer parsedList = new StringTokenizer( content ); int numberOfTokens = parsedList.countTokens(); if (fBaseValidator instanceof ListDatatypeValidator) { //<simpleType name="fRestriction"><restriction base="fList">...</restriction></simpleType> try { if ( (fFacetsDefined & DatatypeValidator.FACET_MAXLENGTH) != 0 ) { if ( numberOfTokens > fMaxLength ) { throw new InvalidDatatypeValueException("Value '"+content+ "' with length ='"+ numberOfTokens + "' tokens"+ "' exceeds maximum length facet of '"+fMaxLength+"' tokens."); } } if ( (fFacetsDefined & DatatypeValidator.FACET_MINLENGTH) != 0 ) { if ( numberOfTokens < fMinLength ) { throw new InvalidDatatypeValueException("Value '"+content+ "' with length ='"+ numberOfTokens+ "' tokens" + "' is less than minimum length facet of '"+fMinLength+"' tokens." ); } } if ( (fFacetsDefined & DatatypeValidator.FACET_LENGTH) != 0 ) { if ( numberOfTokens != fLength ) { throw new InvalidDatatypeValueException("Value '"+content+ "' with length ='"+ numberOfTokens+ "' tokens" + "' is not equal to length facet of '"+fLength+"' tokens."); } } if (enumeration!=null) { if (!verifyEnum(enumeration)) { String msg = getErrorString( DatatypeMessageProvider.fgMessageKeys[DatatypeMessageProvider.NOT_ENUM_VALUE], new Object [] { enumeration }); throw new InvalidDatatypeValueException(msg); } }else { enumeration = (fEnumeration!=null) ? fEnumeration : null; } // enumeration must be passed till we know what "itemType" is // to be able to validate against value space ((ListDatatypeValidator)this.fBaseValidator).checkContentEnum( content, state, enumeration ); } catch ( NoSuchElementException e ) { e.printStackTrace(); } } else { //the case: //<simpleType name="fList"><list itemType="float"/></simpleType> if (enumeration !=null) { StringTokenizer eTokens = null; //temporary list of enumeration tokens StringTokenizer cTokens = null; //list of content tokens String token= null; //content token String eToken= null; //enumeration token boolean valid = true; int eSize = enumeration.size(); Vector enumTemp = new Vector(); //temporary vector to store enumeration token enumTemp.setSize(1); String currentEnumeration = null; //enum value: <enumeration value="1 2 3"/> for (int i=0;i<eSize;i++) { //loop through each enumeration currentEnumeration = (String)enumeration.elementAt(i); eTokens = new StringTokenizer (currentEnumeration); valid = true; cTokens = (i==0)?parsedList:new StringTokenizer( content ); if (numberOfTokens == eTokens.countTokens()) { try { //try string comparison first if (currentEnumeration.equals(content)) { for (int k=0; k<numberOfTokens;k++) { //validate against base type each token if ( this.fBaseValidator != null ) { this.fBaseValidator.validate( cTokens.nextToken(), state ); } } } else { //content="1.0 2" ; enumeration = "1 2" for (int j=0;j<numberOfTokens;j++) { token = cTokens.nextToken(); eToken = eTokens.nextToken(); enumTemp.setElementAt(eToken,0); //REVISIT: date/time enumeration support if (fBaseValidator instanceof AbstractNumericValidator) { ((AbstractNumericValidator)fBaseValidator).checkContentEnum(token, state, enumTemp); } else { if (!token.equals(eToken)) { //validate enumeration for all other types throw new InvalidDatatypeValueException("Value '"+content+ "' must be one of "+enumeration); } this.fBaseValidator.validate( token, state ); } } } } catch (InvalidDatatypeValueException e) { valid = false; } } else //numOfTokens in enumeration != numOfTokens in content valid = false; if (valid) break; } //end for loop if (!valid) { throw new InvalidDatatypeValueException("Value '"+content+ "' does not match list type"); } }//enumeration != null else { //no enumeration for (int k=0; k<numberOfTokens;k++) { if ( this.fBaseValidator != null ) {//validate against parent type if any this.fBaseValidator.validate( parsedList.nextToken(), state ); } } } } //end native list type } //end checkContentEnum
|
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/8973a4e0a87c8b8fcad9e9b1f2a9f9b642609e45/ListDatatypeValidator.java/clean/src/org/apache/xerces/impl/v2/datatypes/ListDatatypeValidator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
4750,
918,
866,
1350,
3572,
12,
514,
913,
16,
225,
1033,
919,
16,
5589,
16836,
262,
27573,
1216,
1962,
20228,
9738,
288,
13491,
368,
862,
26780,
1285,
30,
3547,
88,
358,
1221,
16836,
358,
506,
10266,
5314,
460,
3476,
18,
5411,
368,
69,
1755,
281,
724,
434,
6168,
13373,
4825,
2809,
358,
5459,
21610,
434,
333,
3379,
1171,
16370,
2707,
682,
273,
394,
16370,
12,
913,
11272,
540,
509,
7922,
5157,
273,
2707,
682,
18,
1883,
5157,
5621,
5375,
309,
261,
74,
2171,
5126,
1276,
987,
20228,
5126,
13,
288,
2398,
368,
32,
9647,
559,
508,
1546,
74,
11670,
14050,
23954,
1026,
1546,
74,
682,
6441,
2777,
1757,
23954,
4695,
9647,
559,
34,
5411,
775,
288,
7734,
309,
261,
261,
74,
6645,
2413,
8116,
473,
21168,
5126,
18,
11300,
56,
67,
6694,
7096,
13,
480,
374,
262,
288,
10792,
309,
261,
7922,
5157,
405,
284,
29346,
262,
288,
13491,
604,
394,
1962,
20228,
9738,
2932,
620,
2119,
15,
1745,
15,
13491,
2491,
598,
769,
273,
4970,
15,
225,
7922,
5157,
397,
2491,
2430,
6,
15,
13491,
2491,
14399,
4207,
769,
11082,
434,
2119,
15,
74,
29346,
15,
5187,
2430,
1199,
1769,
10792,
289,
7734,
289,
7734,
309,
261,
261,
74,
6645,
2413,
8116,
473,
21168,
5126,
18,
11300,
56,
67,
6236,
7096,
13,
480,
374,
262,
288,
10792,
309,
261,
7922,
5157,
411,
284,
2930,
1782,
262,
288,
13491,
604,
394,
1962,
20228,
9738,
2932,
620,
2119,
15,
1745,
15,
13491,
2491,
598,
769,
273,
4970,
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,
1377,
4750,
918,
866,
1350,
3572,
12,
514,
913,
16,
225,
1033,
919,
16,
5589,
16836,
262,
27573,
1216,
1962,
20228,
9738,
288,
13491,
368,
862,
26780,
1285,
30,
3547,
88,
358,
1221,
16836,
358,
506,
10266,
5314,
460,
3476,
18,
5411,
368,
69,
1755,
281,
724,
434,
6168,
13373,
4825,
2809,
358,
5459,
21610,
434,
333,
3379,
1171,
16370,
2707,
682,
273,
394,
16370,
12,
913,
11272,
540,
509,
7922,
5157,
273,
2707,
682,
18,
1883,
5157,
5621,
5375,
309,
261,
74,
2171,
5126,
1276,
987,
20228,
5126,
13,
288,
2398,
368,
32,
9647,
559,
508,
1546,
74,
11670,
14050,
23954,
1026,
1546,
74,
682,
6441,
2777,
1757,
23954,
4695,
9647,
559,
34,
5411,
775,
288,
7734,
309,
2
] |
System.out.println();
|
public void setMapData(Reader reader) throws IOException { Logger.trace("TileRenderer::setMapData",">"); BufferedReader file=new BufferedReader(reader); String text; text=file.readLine(); String[] size=text.split(" "); width=Integer.parseInt(size[0]); height=Integer.parseInt(size[1]); System.out.println("Width="+width+"\tHeight="+height); map=new int[width*height]; int j=0; while((text=file.readLine())!=null) { if(text.trim().equals("")) { break; } String[] items=text.split(","); for(String item: items) { map[j]=Integer.parseInt(item); System.out.print(map[j]+","); j++; } System.out.println(); } Logger.trace("TileRenderer::setMapData","<"); }
|
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/43191e82f96e28a068eaf68f8e43c950d93a0347/TileRenderer.java/clean/src/games/stendhal/client/TileRenderer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
863,
751,
12,
2514,
2949,
13,
1216,
1860,
565,
288,
565,
4242,
18,
5129,
2932,
9337,
6747,
2866,
542,
863,
751,
15937,
2984,
1769,
5411,
10633,
585,
33,
2704,
10633,
12,
10530,
1769,
565,
514,
977,
31,
3639,
977,
33,
768,
18,
896,
1670,
5621,
565,
514,
8526,
963,
33,
955,
18,
4939,
2932,
315,
1769,
565,
1835,
33,
4522,
18,
2670,
1702,
12,
1467,
63,
20,
19226,
565,
2072,
33,
4522,
18,
2670,
1702,
12,
1467,
63,
21,
19226,
3639,
2332,
18,
659,
18,
8222,
2932,
2384,
1546,
15,
2819,
9078,
64,
88,
2686,
1546,
15,
4210,
1769,
3639,
852,
33,
2704,
509,
63,
2819,
14,
4210,
15533,
3639,
509,
525,
33,
20,
31,
3639,
1323,
12443,
955,
33,
768,
18,
896,
1670,
10756,
5,
33,
2011,
13,
1377,
288,
1377,
309,
12,
955,
18,
5290,
7675,
14963,
2932,
6,
3719,
3639,
288,
3639,
898,
31,
3639,
289,
2868,
514,
8526,
1516,
33,
955,
18,
4939,
2932,
16,
8863,
1377,
364,
12,
780,
761,
30,
1516,
13,
3639,
288,
3639,
852,
63,
78,
65,
33,
4522,
18,
2670,
1702,
12,
1726,
1769,
3639,
2332,
18,
659,
18,
1188,
12,
1458,
63,
78,
3737,
3113,
8863,
3639,
525,
9904,
31,
2868,
289,
6647,
289,
565,
4242,
18,
5129,
2932,
9337,
6747,
2866,
542,
863,
751,
15937,
32,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
863,
751,
12,
2514,
2949,
13,
1216,
1860,
565,
288,
565,
4242,
18,
5129,
2932,
9337,
6747,
2866,
542,
863,
751,
15937,
2984,
1769,
5411,
10633,
585,
33,
2704,
10633,
12,
10530,
1769,
565,
514,
977,
31,
3639,
977,
33,
768,
18,
896,
1670,
5621,
565,
514,
8526,
963,
33,
955,
18,
4939,
2932,
315,
1769,
565,
1835,
33,
4522,
18,
2670,
1702,
12,
1467,
63,
20,
19226,
565,
2072,
33,
4522,
18,
2670,
1702,
12,
1467,
63,
21,
19226,
3639,
2332,
18,
659,
18,
8222,
2932,
2384,
1546,
15,
2819,
9078,
64,
88,
2686,
1546,
15,
4210,
1769,
3639,
852,
33,
2704,
509,
63,
2819,
14,
4210,
15533,
3639,
509,
525,
33,
20,
31,
2
] |
|
throws Exception {
|
throws Exception {
|
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
] |
out.count = converter.count;
|
out.write(work_bytes, 0, converter.count);
|
private void writeChars(char[] buf, int offset, int count) throws IOException { while (count > 0) { // We must flush if out.count == out.buf.length. // It is probably a good idea to flush if out.buf is almost full. // This test is an approximation for "almost full". if (out.count + count >= out.buf.length) { out.flush(); if (out.count != 0) throw new IOException("unable to flush output byte buffer"); } converter.setOutput(out.buf, out.count); int converted = converter.write(buf, offset, count); offset += converted; count -= converted; out.count = converter.count; } }
|
45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/07b389269b71520778c555c24488284c9186012e/PrintStream.java/buggy/libjava/java/io/PrintStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1045,
7803,
12,
3001,
8526,
1681,
16,
509,
1384,
16,
509,
1056,
13,
565,
1216,
1860,
225,
288,
565,
1323,
261,
1883,
405,
374,
13,
1377,
288,
202,
759,
1660,
1297,
3663,
309,
596,
18,
1883,
422,
596,
18,
4385,
18,
2469,
18,
202,
759,
2597,
353,
8656,
279,
7494,
21463,
358,
3663,
309,
596,
18,
4385,
353,
23889,
1983,
18,
202,
759,
1220,
1842,
353,
392,
24769,
364,
315,
287,
10329,
1983,
9654,
202,
430,
261,
659,
18,
1883,
397,
1056,
1545,
596,
18,
4385,
18,
2469,
13,
202,
225,
288,
202,
565,
596,
18,
11330,
5621,
202,
565,
309,
261,
659,
18,
1883,
480,
374,
13,
202,
1377,
604,
394,
1860,
2932,
18828,
358,
3663,
876,
1160,
1613,
8863,
202,
225,
289,
202,
15747,
18,
542,
1447,
12,
659,
18,
4385,
16,
596,
18,
1883,
1769,
202,
474,
5970,
273,
6027,
18,
2626,
12,
4385,
16,
1384,
16,
1056,
1769,
202,
3348,
1011,
5970,
31,
202,
1883,
3947,
5970,
31,
202,
659,
18,
2626,
12,
1252,
67,
3890,
16,
374,
16,
6027,
18,
1883,
1769,
1377,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0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
565,
1216,
1860,
225,
288,
565,
1323,
261,
1883,
405,
374,
13,
1377,
288,
202,
759,
1660,
1297,
3663,
309,
596,
18,
1883,
422,
596,
18,
4385,
18,
2469,
18,
202,
759,
2597,
353,
8656,
279,
7494,
21463,
358,
3663,
309,
596,
18,
4385,
353,
23889,
1983,
18,
202,
759,
1220,
1842,
353,
392,
24769,
364,
315,
287,
10329,
1983,
9654,
202,
430,
261,
659,
18,
1883,
397,
1056,
1545,
596,
18,
4385,
18,
2469,
13,
202,
225,
288,
202,
565,
596,
18,
11330,
5621,
202,
565,
309,
261,
659,
18,
1883,
480,
374,
13,
202,
1377,
604,
394,
1860,
2932,
18828,
358,
2
] |
String projectName = "<<project " + (++projectCount) + ">>";
|
String projectName = "<<unnamed project>>";
|
private void newProjectItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_newProjectItemActionPerformed String projectName = "<<project " + (++projectCount) + ">>"; Project project = new Project(projectName); addProject(project); }//GEN-LAST:event_newProjectItemActionPerformed
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/85f20338ebda30dff9193d377f5ce398f306279e/FindBugsFrame.java/clean/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
394,
4109,
1180,
19449,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
759,
16652,
17,
15354,
30,
2575,
67,
2704,
4109,
1180,
19449,
202,
780,
17234,
273,
3532,
32,
4406,
315,
397,
261,
9904,
4406,
1380,
13,
397,
14402,
2984,
31,
202,
4109,
1984,
273,
394,
5420,
12,
4406,
461,
1769,
3639,
527,
4109,
12,
4406,
1769,
565,
289,
759,
16652,
17,
14378,
30,
2575,
67,
2704,
4109,
1180,
19449,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
394,
4109,
1180,
19449,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
759,
16652,
17,
15354,
30,
2575,
67,
2704,
4109,
1180,
19449,
202,
780,
17234,
273,
3532,
32,
4406,
315,
397,
261,
9904,
4406,
1380,
13,
397,
14402,
2984,
31,
202,
4109,
1984,
273,
394,
5420,
12,
4406,
461,
1769,
3639,
527,
4109,
12,
4406,
1769,
565,
289,
759,
16652,
17,
14378,
30,
2575,
67,
2704,
4109,
1180,
19449,
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
] |
public void endElement(String namespace, String name, String qname) { // if(namespace != null && namespace.length() > 0 && // qname.indexOf(':') < 0) // qname = '#' + namespace + ':' + qname; final ElementImpl last = (ElementImpl) stack.peek(); if (last.getNodeName().equals(qname)) { if (charBuf != null && charBuf.length() > 0) { final String normalized = charBuf.getNormalizedString(normalize); if (normalized.length() > 0) { //TextImpl text = // new TextImpl( normalized ); text.setData(normalized); text.setOwnerDocument(document); charBuf.setLength(0); //charBuf = new FastStringBuffer( 6, 6, 3 ); last.appendChildInternal(text); if (!validate) broker.store(text, currentPath.toString()); text.clear(); } } stack.pop(); currentPath.delete(currentPath.lastIndexOf("/"), currentPath.length()); // currentPath.substring(0, currentPath.lastIndexOf('/')); if (validate) { if (document.getTreeLevelOrder(level) < last.getChildCount()) { document.setTreeLevelOrder(level, last.getChildCount() + SPARSE_IDENTIFIERS); } } else { document.setOwnerDocument(document); if (broker.getDatabaseType() == DBBroker.DBM || broker.getDatabaseType() == DBBroker.NATIVE) { if (last.getChildCount() > 0) broker.update(last); } else broker.store(last, currentPath.toString()); } level--; if (last != rootNode) { last.clear(); usedElements.push(last); } } }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/59ca20fa7f3d75ce3217db0a6b9b6203354d1fa8/Parser.java/clean/src/org/exist/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
14840,
12,
780,
1981,
16,
514,
508,
16,
514,
12621,
13,
288,
202,
202,
759,
202,
202,
430,
12,
4937,
480,
446,
597,
1981,
18,
2469,
1435,
405,
374,
597,
202,
202,
759,
1082,
202,
85,
529,
18,
31806,
2668,
2497,
13,
411,
374,
13,
202,
202,
759,
1082,
202,
85,
529,
273,
6501,
397,
1981,
397,
3921,
397,
12621,
31,
202,
202,
6385,
3010,
2828,
1142,
273,
261,
1046,
2828,
13,
2110,
18,
347,
3839,
5621,
202,
202,
430,
261,
2722,
18,
588,
18948,
7675,
14963,
12,
85,
529,
3719,
288,
1082,
202,
430,
261,
3001,
5503,
480,
446,
597,
1149,
5503,
18,
2469,
1435,
405,
374,
13,
288,
9506,
202,
6385,
514,
5640,
273,
1149,
5503,
18,
588,
15577,
780,
12,
12237,
1769,
9506,
202,
430,
261,
17762,
18,
2469,
1435,
405,
374,
13,
288,
6862,
202,
759,
1528,
2828,
977,
273,
6862,
202,
759,
2704,
3867,
2828,
12,
5640,
11272,
6862,
202,
955,
18,
542,
751,
12,
17762,
1769,
6862,
202,
955,
18,
542,
5541,
2519,
12,
5457,
1769,
6862,
202,
3001,
5503,
18,
542,
1782,
12,
20,
1769,
6862,
202,
759,
3001,
5503,
273,
394,
9545,
780,
1892,
12,
1666,
16,
1666,
16,
890,
11272,
6862,
202,
2722,
18,
6923,
1763,
3061,
12,
955,
1769,
6862,
202,
430,
16051,
5662,
13,
25083,
202,
21722,
18,
2233,
12,
955,
16,
18027,
18,
10492,
10663,
6862,
202,
955,
18,
8507,
5621,
9506,
202,
97,
1082,
202,
97,
1082,
202,
3772,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
14840,
12,
780,
1981,
16,
514,
508,
16,
514,
12621,
13,
288,
202,
202,
759,
202,
202,
430,
12,
4937,
480,
446,
597,
1981,
18,
2469,
1435,
405,
374,
597,
202,
202,
759,
1082,
202,
85,
529,
18,
31806,
2668,
2497,
13,
411,
374,
13,
202,
202,
759,
1082,
202,
85,
529,
273,
6501,
397,
1981,
397,
3921,
397,
12621,
31,
202,
202,
6385,
3010,
2828,
1142,
273,
261,
1046,
2828,
13,
2110,
18,
347,
3839,
5621,
202,
202,
430,
261,
2722,
18,
588,
18948,
7675,
14963,
12,
85,
529,
3719,
288,
1082,
202,
430,
261,
3001,
5503,
480,
446,
597,
1149,
5503,
18,
2469,
1435,
405,
374,
13,
288,
9506,
202,
6385,
514,
5640,
2
] |
||
if (doc != null) restoreState(doc.getDocumentElement());
|
Element el = doc == null ? null : doc.getDocumentElement(); if (el != null) restoreState(el);
|
public void readIni() { if (!CONFIG_FILE.exists()) return; try { Document doc = XMLUtil.parseXML(CONFIG_FILE); if (doc != null) restoreState(doc.getDocumentElement()); bio.generateEvent(this, "read ini file", false); } catch (SaveException exc) { exc.printStackTrace(); } }
|
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/e337973bbd9a995f388b69a3e4bd4a2579e0a5d8/OptionManager.java/buggy/loci/visbio/state/OptionManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
855,
22129,
1435,
288,
565,
309,
16051,
7203,
67,
3776,
18,
1808,
10756,
327,
31,
565,
775,
288,
1377,
4319,
997,
273,
3167,
1304,
18,
2670,
4201,
12,
7203,
67,
3776,
1769,
1377,
3010,
415,
273,
997,
422,
446,
692,
446,
294,
997,
18,
588,
2519,
1046,
5621,
309,
261,
292,
480,
446,
13,
5217,
1119,
12,
292,
1769,
1377,
25091,
18,
7163,
1133,
12,
2211,
16,
315,
896,
6896,
585,
3113,
629,
1769,
565,
289,
565,
1044,
261,
4755,
503,
3533,
13,
288,
3533,
18,
1188,
6332,
5621,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
855,
22129,
1435,
288,
565,
309,
16051,
7203,
67,
3776,
18,
1808,
10756,
327,
31,
565,
775,
288,
1377,
4319,
997,
273,
3167,
1304,
18,
2670,
4201,
12,
7203,
67,
3776,
1769,
1377,
3010,
415,
273,
997,
422,
446,
692,
446,
294,
997,
18,
588,
2519,
1046,
5621,
309,
261,
292,
480,
446,
13,
5217,
1119,
12,
292,
1769,
1377,
25091,
18,
7163,
1133,
12,
2211,
16,
315,
896,
6896,
585,
3113,
629,
1769,
565,
289,
565,
1044,
261,
4755,
503,
3533,
13,
288,
3533,
18,
1188,
6332,
5621,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
u2 = newValueNode; }
|
u2 = newValueNode; }
|
public void setValueNode(Node newValueNode) { u2 = newValueNode; }
|
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/clean/org/jruby/nodes/Node.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5524,
907,
12,
907,
6129,
907,
13,
288,
202,
202,
89,
22,
273,
6129,
907,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5524,
907,
12,
907,
6129,
907,
13,
288,
202,
202,
89,
22,
273,
6129,
907,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
StepMeta inf = null; if (rename && transMeta.findStep(name)!=null) { int i=2; String newname = name+" "+i; while (transMeta.findStep(newname)!=null) { i++; newname = name+" "+i; } name=newname; } StepLoader steploader = StepLoader.getInstance(); StepPlugin stepPlugin = null; try { stepPlugin = steploader.findStepPluginWithDescription(description); if (stepPlugin!=null) { StepMetaInterface info = BaseStep.getStepInfo(stepPlugin, steploader); info.setDefault(); if (openit) { StepDialogInterface dialog = info.getDialog(shell, info, transMeta, name); name = dialog.open(); } inf=new StepMeta(stepPlugin.getID()[0], name, info); if (name!=null) { String newname=name; StepMeta stepMeta = transMeta.findStep(newname); int nr=2; while (stepMeta!=null) { newname = name+" "+nr; stepMeta = transMeta.findStep(newname); nr++; } if (nr>2) { inf.setName(newname); MessageBox mb = new MessageBox(shell, SWT.OK | SWT.ICON_INFORMATION); mb.setMessage(Messages.getString("Spoon.Dialog.ChangeStepname.Message",newname)); mb.setText(Messages.getString("Spoon.Dialog.ChangeStepname.Title")); mb.open(); } inf.setLocation(20, 20); transMeta.addStep(inf); if (openit) { addUndoNew(new StepMeta[] { inf }, new int[] { transMeta.indexOfStep(inf) }); } props.addPluginHistory(stepPlugin.getID()[0]); refreshTree(); } else { return null; } setShellText(); } } catch(KettleException e) { String filename = stepPlugin.getErrorHelpFile(); if (stepPlugin!=null && filename!=null) { try { StringBuffer content=new StringBuffer(); System.out.println("Filename = "+filename); FileInputStream fis = new FileInputStream(new File(filename)); int ch = fis.read(); while (ch>=0) { content.append( (char)ch); ch = fis.read(); } System.out.println("Content = "+content); ShowBrowserDialog sbd = new ShowBrowserDialog(shell, Messages.getString("Spoon.Dialog.ErrorHelpText.Title"), content.toString()); sbd.open(); } catch(Exception ex) { new ErrorDialog(shell, Messages.getString("Spoon.Dialog.ErrorShowingHelpText.Title"), Messages.getString("Spoon.Dialog.ErrorShowingHelpText.Message"), ex); } } else { new ErrorDialog(shell, Messages.getString("Spoon.Dialog.UnableCreateNewStep.Title"),Messages.getString("Spoon.Dialog.UnableCreateNewStep.Message") , e); } return null; } catch(Throwable e) { if (!shell.isDisposed()) new ErrorDialog(shell, Messages.getString("Spoon.Dialog.ErrorCreatingStep.Title"), Messages.getString("Spoon.Dialog.UnableCreateNewStep.Message"), new Exception(e)); return null; } return inf;
|
return newStep(true, true);
|
public StepMeta newStep(String name, String description, boolean openit, boolean rename) { StepMeta inf = null; // See if we need to rename the step to avoid doubles! if (rename && transMeta.findStep(name)!=null) { int i=2; String newname = name+" "+i; while (transMeta.findStep(newname)!=null) { i++; newname = name+" "+i; } name=newname; } StepLoader steploader = StepLoader.getInstance(); StepPlugin stepPlugin = null; try { stepPlugin = steploader.findStepPluginWithDescription(description); if (stepPlugin!=null) { StepMetaInterface info = BaseStep.getStepInfo(stepPlugin, steploader); info.setDefault(); if (openit) { StepDialogInterface dialog = info.getDialog(shell, info, transMeta, name); name = dialog.open(); } inf=new StepMeta(stepPlugin.getID()[0], name, info); if (name!=null) // OK pressed in the dialog: we have a step-name { String newname=name; StepMeta stepMeta = transMeta.findStep(newname); int nr=2; while (stepMeta!=null) { newname = name+" "+nr; stepMeta = transMeta.findStep(newname); nr++; } if (nr>2) { inf.setName(newname); MessageBox mb = new MessageBox(shell, SWT.OK | SWT.ICON_INFORMATION); mb.setMessage(Messages.getString("Spoon.Dialog.ChangeStepname.Message",newname));//"This stepname already exists. Spoon changed the stepname to ["+newname+"]" mb.setText(Messages.getString("Spoon.Dialog.ChangeStepname.Title"));//"Info!" mb.open(); } inf.setLocation(20, 20); // default location at (20,20) transMeta.addStep(inf); // Save for later: // if openit is false: we drag&drop it onto the canvas! if (openit) { addUndoNew(new StepMeta[] { inf }, new int[] { transMeta.indexOfStep(inf) }); } // Also store it in the pluginHistory list... props.addPluginHistory(stepPlugin.getID()[0]); refreshTree(); } else { return null; // Cancel pressed in dialog. } setShellText(); } } catch(KettleException e) { String filename = stepPlugin.getErrorHelpFile(); if (stepPlugin!=null && filename!=null) { // OK, in stead of a normal error message, we give back the content of the error help file... (HTML) try { StringBuffer content=new StringBuffer(); System.out.println("Filename = "+filename); FileInputStream fis = new FileInputStream(new File(filename)); int ch = fis.read(); while (ch>=0) { content.append( (char)ch); ch = fis.read(); } System.out.println("Content = "+content); ShowBrowserDialog sbd = new ShowBrowserDialog(shell, Messages.getString("Spoon.Dialog.ErrorHelpText.Title"), content.toString());//"Error help text" sbd.open(); } catch(Exception ex) { new ErrorDialog(shell, Messages.getString("Spoon.Dialog.ErrorShowingHelpText.Title"), Messages.getString("Spoon.Dialog.ErrorShowingHelpText.Message"), ex);//"Error showing help text" } } else { new ErrorDialog(shell, Messages.getString("Spoon.Dialog.UnableCreateNewStep.Title"),Messages.getString("Spoon.Dialog.UnableCreateNewStep.Message") , e);//"Error creating step" "I was unable to create a new step" } return null; } catch(Throwable e) { if (!shell.isDisposed()) new ErrorDialog(shell, Messages.getString("Spoon.Dialog.ErrorCreatingStep.Title"), Messages.getString("Spoon.Dialog.UnableCreateNewStep.Message"), new Exception(e));//"Error creating step" return null; } return inf; }
|
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/0c82d05ca9c04ff640d2506be9b6c66a95174021/Spoon.java/buggy/kettle/src/be/ibridge/kettle/spoon/Spoon.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8693,
2781,
394,
4160,
12,
780,
508,
16,
514,
2477,
16,
1250,
1696,
305,
16,
1250,
6472,
13,
565,
288,
3639,
8693,
2781,
8286,
273,
446,
31,
7734,
368,
2164,
309,
732,
1608,
358,
6472,
326,
2235,
358,
4543,
31446,
5,
3639,
309,
261,
18539,
597,
906,
2781,
18,
4720,
4160,
12,
529,
13,
5,
33,
2011,
13,
3639,
288,
5411,
509,
277,
33,
22,
31,
5411,
514,
26722,
273,
508,
9078,
13773,
77,
31,
5411,
1323,
261,
2338,
2781,
18,
4720,
4160,
12,
2704,
529,
13,
5,
33,
2011,
13,
5411,
288,
7734,
277,
9904,
31,
7734,
26722,
273,
508,
9078,
13773,
77,
31,
5411,
289,
5411,
508,
33,
2704,
529,
31,
3639,
289,
3639,
8693,
2886,
2235,
6714,
273,
8693,
2886,
18,
588,
1442,
5621,
3639,
8693,
3773,
2235,
3773,
273,
446,
31,
7734,
775,
3639,
288,
5411,
2235,
3773,
273,
2235,
6714,
18,
4720,
4160,
3773,
1190,
3291,
12,
3384,
1769,
5411,
309,
261,
4119,
3773,
5,
33,
2011,
13,
5411,
288,
7734,
8693,
2781,
1358,
1123,
273,
3360,
4160,
18,
588,
4160,
966,
12,
4119,
3773,
16,
2235,
6714,
1769,
10792,
1123,
18,
542,
1868,
5621,
27573,
309,
261,
3190,
305,
13,
7734,
288,
10792,
8693,
6353,
1358,
6176,
273,
1123,
18,
588,
6353,
12,
10304,
16,
1123,
16,
906,
2781,
16,
508,
1769,
10792,
508,
273,
6176,
18,
3190,
5621,
7734,
289,
7734,
8286,
33,
2704,
8693,
2781,
12,
4119,
3773,
18,
588,
734,
1435,
63,
20,
6487,
508,
16,
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,
8693,
2781,
394,
4160,
12,
780,
508,
16,
514,
2477,
16,
1250,
1696,
305,
16,
1250,
6472,
13,
565,
288,
3639,
8693,
2781,
8286,
273,
446,
31,
7734,
368,
2164,
309,
732,
1608,
358,
6472,
326,
2235,
358,
4543,
31446,
5,
3639,
309,
261,
18539,
597,
906,
2781,
18,
4720,
4160,
12,
529,
13,
5,
33,
2011,
13,
3639,
288,
5411,
509,
277,
33,
22,
31,
5411,
514,
26722,
273,
508,
9078,
13773,
77,
31,
5411,
1323,
261,
2338,
2781,
18,
4720,
4160,
12,
2704,
529,
13,
5,
33,
2011,
13,
5411,
288,
7734,
277,
9904,
31,
7734,
26722,
273,
508,
9078,
13773,
77,
31,
5411,
289,
5411,
508,
33,
2704,
529,
31,
3639,
289,
3639,
8693,
2
] |
if (name != null && this.name.equals(name)) {
|
if (name != null && name.equals(this.name)) {
|
public void setName(String name) { // Do nothing if the name hasn't changed. if (name != null && this.name.equals(name)) { return; } this.name = name; RosterPacket packet = new RosterPacket(); packet.setType(IQ.Type.SET); packet.addRosterItem(toRosterItem(this)); connection.sendPacket(packet); }
|
47643 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47643/5d628f4d36cb1d33fd722f721216518f20067bb9/RosterEntry.java/clean/source/org/jivesoftware/smack/RosterEntry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6788,
12,
780,
508,
13,
288,
3639,
368,
2256,
5083,
309,
326,
508,
13342,
1404,
3550,
18,
3639,
309,
261,
529,
480,
446,
597,
508,
18,
14963,
12,
2211,
18,
529,
3719,
288,
5411,
327,
31,
3639,
289,
3639,
333,
18,
529,
273,
508,
31,
3639,
534,
29811,
6667,
4414,
273,
394,
534,
29811,
6667,
5621,
3639,
4414,
18,
542,
559,
12,
45,
53,
18,
559,
18,
4043,
1769,
3639,
4414,
18,
1289,
54,
29811,
1180,
12,
869,
54,
29811,
1180,
12,
2211,
10019,
3639,
1459,
18,
4661,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6788,
12,
780,
508,
13,
288,
3639,
368,
2256,
5083,
309,
326,
508,
13342,
1404,
3550,
18,
3639,
309,
261,
529,
480,
446,
597,
508,
18,
14963,
12,
2211,
18,
529,
3719,
288,
5411,
327,
31,
3639,
289,
3639,
333,
18,
529,
273,
508,
31,
3639,
534,
29811,
6667,
4414,
273,
394,
534,
29811,
6667,
5621,
3639,
4414,
18,
542,
559,
12,
45,
53,
18,
559,
18,
4043,
1769,
3639,
4414,
18,
1289,
54,
29811,
1180,
12,
869,
54,
29811,
1180,
12,
2211,
10019,
3639,
1459,
18,
4661,
6667,
12,
11482,
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
] |
final Vector whenElements = new Vector();
|
final List whenElements = new ArrayList();
|
public void translate(ClassGenerator classGen, MethodGenerator methodGen) { final Vector whenElements = new Vector(); Otherwise otherwise = null; Enumeration elements = elements(); // These two are for reporting errors only ErrorMsg error = null; final int line = getLineNumber(); // Traverse all child nodes - must be either When or Otherwise while (elements.hasMoreElements()) { Object element = elements.nextElement(); // Add a When child element if (element instanceof When) { whenElements.addElement(element); } // Add an Otherwise child element else if (element instanceof Otherwise) { if (otherwise == null) { otherwise = (Otherwise)element; } else { error = new ErrorMsg(ErrorMsg.MULTIPLE_OTHERWISE_ERR, this); getParser().reportError(Constants.ERROR, error); } } else if (element instanceof Text) { ((Text)element).ignore(); } // It is an error if we find some other element here else { error = new ErrorMsg(ErrorMsg.WHEN_ELEMENT_ERR, this); getParser().reportError(Constants.ERROR, error); } } // Make sure that there is at least one <xsl:when> element if (whenElements.size() == 0) { error = new ErrorMsg(ErrorMsg.MISSING_WHEN_ERR, this); getParser().reportError(Constants.ERROR, error); return; } InstructionList il = methodGen.getInstructionList(); // next element will hold a handle to the beginning of next // When/Otherwise if test on current When fails BranchHandle nextElement = null; Vector exitHandles = new Vector(); InstructionHandle exit = null; Enumeration whens = whenElements.elements(); while (whens.hasMoreElements()) { final When when = (When)whens.nextElement(); final Expression test = when.getTest(); InstructionHandle truec = il.getEnd(); if (nextElement != null) nextElement.setTarget(il.append(NOP)); test.translateDesynthesized(classGen, methodGen); if (test instanceof FunctionCall) { FunctionCall call = (FunctionCall)test; try { Type type = call.typeCheck(getParser().getSymbolTable()); if (type != Type.Boolean) { test._falseList.add(il.append(new IFEQ(null))); } } catch (TypeCheckError e) { // handled later! } } // remember end of condition truec = il.getEnd(); // The When object should be ignored completely in case it tests // for the support of a non-available element if (!when.ignore()) when.translateContents(classGen, methodGen); // goto exit after executing the body of when exitHandles.addElement(il.append(new GOTO(null))); if (whens.hasMoreElements() || otherwise != null) { nextElement = il.append(new GOTO(null)); test.backPatchFalseList(nextElement); } else test.backPatchFalseList(exit = il.append(NOP)); test.backPatchTrueList(truec.getNext()); } // Translate any <xsl:otherwise> element if (otherwise != null) { nextElement.setTarget(il.append(NOP)); otherwise.translateContents(classGen, methodGen); exit = il.append(NOP); } // now that end is known set targets of exit gotos Enumeration exitGotos = exitHandles.elements(); while (exitGotos.hasMoreElements()) { BranchHandle gotoExit = (BranchHandle)exitGotos.nextElement(); gotoExit.setTarget(exit); } }
|
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/e7c45b504f6bd71f4b598a65c546f09c95bef9f5/Choose.java/clean/src/org/apache/xalan/xsltc/compiler/Choose.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4204,
12,
797,
3908,
667,
7642,
16,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
5589,
1347,
3471,
273,
394,
5589,
5621,
202,
8290,
2460,
3541,
273,
446,
31,
202,
21847,
2186,
273,
2186,
5621,
202,
759,
8646,
2795,
854,
364,
16096,
1334,
1338,
202,
668,
3332,
555,
273,
446,
31,
202,
6385,
509,
980,
273,
26089,
5621,
202,
759,
2197,
2476,
777,
1151,
2199,
300,
1297,
506,
3344,
5203,
578,
5272,
202,
17523,
261,
6274,
18,
5332,
7417,
3471,
10756,
288,
202,
565,
1033,
930,
273,
2186,
18,
4285,
1046,
5621,
202,
565,
368,
1436,
279,
5203,
1151,
930,
202,
565,
309,
261,
2956,
1276,
5203,
13,
288,
202,
202,
13723,
3471,
18,
1289,
1046,
12,
2956,
1769,
202,
565,
289,
202,
565,
368,
1436,
392,
5272,
1151,
930,
202,
565,
469,
309,
261,
2956,
1276,
5272,
13,
288,
202,
202,
430,
261,
29778,
422,
446,
13,
288,
1082,
565,
3541,
273,
261,
8290,
2460,
13,
2956,
31,
202,
202,
97,
202,
202,
12107,
288,
1082,
565,
555,
273,
394,
1068,
3332,
12,
668,
3332,
18,
24683,
900,
67,
23940,
23109,
1090,
67,
9712,
16,
333,
1769,
1082,
565,
20804,
7675,
6006,
668,
12,
2918,
18,
3589,
16,
555,
1769,
202,
202,
97,
202,
565,
289,
202,
565,
469,
309,
261,
2956,
1276,
3867,
13,
288,
202,
202,
12443,
1528,
13,
2956,
2934,
6185,
5621,
202,
565,
289,
202,
565,
368,
2597,
353,
392,
555,
309,
732,
1104,
2690,
1308,
930,
2674,
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,
918,
4204,
12,
797,
3908,
667,
7642,
16,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
5589,
1347,
3471,
273,
394,
5589,
5621,
202,
8290,
2460,
3541,
273,
446,
31,
202,
21847,
2186,
273,
2186,
5621,
202,
759,
8646,
2795,
854,
364,
16096,
1334,
1338,
202,
668,
3332,
555,
273,
446,
31,
202,
6385,
509,
980,
273,
26089,
5621,
202,
759,
2197,
2476,
777,
1151,
2199,
300,
1297,
506,
3344,
5203,
578,
5272,
202,
17523,
261,
6274,
18,
5332,
7417,
3471,
10756,
288,
202,
565,
1033,
930,
273,
2186,
18,
4285,
1046,
5621,
202,
565,
368,
1436,
279,
5203,
1151,
930,
202,
565,
309,
261,
2956,
1276,
5203,
13,
288,
202,
202,
13723,
3471,
18,
1289,
1046,
2
] |
public void setRuby(org.jruby.Ruby ruby) {
|
public void setRuby(Ruby ruby) {
|
public void setRuby(org.jruby.Ruby ruby) { this.ruby = ruby; }
|
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/cf644c556d410c47305ebeba5728efa25f7756dc/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
54,
10340,
12,
54,
10340,
22155,
13,
288,
3639,
333,
18,
27768,
273,
22155,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
54,
10340,
12,
54,
10340,
22155,
13,
288,
3639,
333,
18,
27768,
273,
22155,
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
] |
super(p, id);
|
super(id);
|
public ASTStringLiteral(Parser p, int id) { super(p, id); }
|
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/bbf32a11e27e5f17b8082ff65c164c3214d2de7f/ASTStringLiteral.java/buggy/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9183,
28565,
12,
2678,
293,
16,
509,
612,
13,
565,
288,
3639,
2240,
12,
350,
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,
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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
highPriorityButton.setSelected(false); lowPriorityButton.setSelected(false); setPriorityThreshold(Detector.NORMAL_PRIORITY); }
|
highPriorityButton.setSelected(false); lowPriorityButton.setSelected(false); setPriorityThreshold(Detector.NORMAL_PRIORITY); }
|
private void mediumPriorityButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mediumPriorityButtonActionPerformed highPriorityButton.setSelected(false); lowPriorityButton.setSelected(false); setPriorityThreshold(Detector.NORMAL_PRIORITY); }//GEN-LAST:event_mediumPriorityButtonActionPerformed
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
16212,
8183,
3616,
19449,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
759,
16652,
17,
15354,
30,
2575,
67,
19011,
8183,
3616,
19449,
3639,
3551,
8183,
3616,
18,
542,
7416,
12,
5743,
1769,
3639,
4587,
8183,
3616,
18,
542,
7416,
12,
5743,
1769,
3639,
444,
8183,
7614,
12,
12594,
18,
15480,
67,
19804,
1769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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
16212,
8183,
3616,
19449,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
759,
16652,
17,
15354,
30,
2575,
67,
19011,
8183,
3616,
19449,
3639,
3551,
8183,
3616,
18,
542,
7416,
12,
5743,
1769,
3639,
4587,
8183,
3616,
18,
542,
7416,
12,
5743,
1769,
3639,
444,
8183,
7614,
12,
12594,
18,
15480,
67,
19804,
1769,
565,
289,
759,
16652,
17,
14378,
30,
2575,
67,
19011,
8183,
3616,
19449,
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
] |
public Session createAttachSession(ILaunchConfiguration config, IBinaryExecutable exe, IProgressMonitor monitor) throws CoreException {
|
public Session createAttachSession(ILaunchConfiguration config, IBinaryObject exe, IProgressMonitor monitor) throws CoreException {
|
public Session createAttachSession(ILaunchConfiguration config, IBinaryExecutable exe, IProgressMonitor monitor) throws CoreException { Session session = null; boolean failed = false; try { String gdb = config.getAttribute(IMILaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb"); //$NON-NLS-1$ int pid = config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_ATTACH_PROCESS_ID, -1); File cwd = getProjectPath(config).toFile(); String gdbinit = config.getAttribute(IMILaunchConfigurationConstants.ATTR_GDB_INIT, ".gdbinit"); //$NON-NLS-1$ session = MIPlugin.getDefault().createCSession(gdb, exe.getPath().toFile(), pid, null, cwd, gdbinit, monitor); initializeLibraries(config, session); return session; } catch (Exception e) { // Catch all wrap them up and rethrow failed = true; if (e instanceof CoreException) { throw (CoreException)e; } throw newCoreException(e); } finally { if (failed) { if (session != null) { try { session.terminate(); } catch (Exception ex) { // ignore the exception here. } } } } }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/176c7265677179a23f56d08515beed62629ad5eb/GDBCDIDebugger.java/buggy/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/GDBCDIDebugger.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3877,
752,
4761,
2157,
12,
2627,
4760,
1750,
642,
16,
467,
5905,
17709,
15073,
16,
467,
5491,
7187,
6438,
13,
1216,
30015,
288,
202,
202,
2157,
1339,
273,
446,
31,
202,
202,
6494,
2535,
273,
629,
31,
202,
202,
698,
288,
1082,
202,
780,
314,
1966,
273,
642,
18,
588,
1499,
12,
3445,
2627,
4760,
1750,
2918,
18,
12043,
67,
9394,
67,
1985,
16,
315,
75,
1966,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
474,
4231,
273,
642,
18,
588,
1499,
12,
2871,
40,
5967,
4760,
1750,
2918,
18,
12043,
67,
789,
9833,
1792,
67,
16560,
67,
734,
16,
300,
21,
1769,
1082,
202,
812,
7239,
273,
11080,
743,
12,
1425,
2934,
869,
812,
5621,
1082,
202,
780,
314,
1966,
2738,
273,
642,
18,
588,
1499,
12,
3445,
2627,
4760,
1750,
2918,
18,
12043,
67,
43,
2290,
67,
12919,
16,
3552,
75,
1966,
2738,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
3184,
273,
20806,
3773,
18,
588,
1868,
7675,
2640,
39,
2157,
12,
75,
1966,
16,
15073,
18,
588,
743,
7675,
869,
812,
9334,
4231,
16,
446,
16,
7239,
16,
314,
1966,
2738,
16,
6438,
1769,
1082,
202,
11160,
31909,
12,
1425,
16,
1339,
1769,
1082,
202,
2463,
1339,
31,
202,
202,
97,
1044,
261,
503,
425,
13,
288,
1082,
202,
759,
21984,
777,
2193,
2182,
731,
471,
22225,
1082,
202,
7307,
273,
638,
31,
1082,
202,
430,
261,
73,
1276,
30015,
13,
288,
9506,
202,
12849,
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,
225,
202,
482,
3877,
752,
4761,
2157,
12,
2627,
4760,
1750,
642,
16,
467,
5905,
17709,
15073,
16,
467,
5491,
7187,
6438,
13,
1216,
30015,
288,
202,
202,
2157,
1339,
273,
446,
31,
202,
202,
6494,
2535,
273,
629,
31,
202,
202,
698,
288,
1082,
202,
780,
314,
1966,
273,
642,
18,
588,
1499,
12,
3445,
2627,
4760,
1750,
2918,
18,
12043,
67,
9394,
67,
1985,
16,
315,
75,
1966,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
474,
4231,
273,
642,
18,
588,
1499,
12,
2871,
40,
5967,
4760,
1750,
2918,
18,
12043,
67,
789,
9833,
1792,
67,
16560,
67,
734,
16,
300,
21,
1769,
1082,
202,
812,
7239,
273,
11080,
743,
12,
1425,
2934,
869,
2
] |
names.add(name);
|
names.add(generatedClassName);
|
generateCode(ScriptOrFnNode scriptOrFn, ObjArray names, ObjArray classFiles) { this.scriptOrFn = scriptOrFn; int functionCount = scriptOrFn.getFunctionCount(); for (int i = 0; i != functionCount; ++i) { OptFunctionNode fn = (OptFunctionNode)scriptOrFn.getFunctionNode(i); Codegen codegen = new Codegen(this); codegen.generateCode(fn, names, classFiles); } Context cx = Context.getCurrentContext(); itsUseDynamicScope = cx.hasCompileFunctionsWithDynamicScope(); itsSourceFile = null; // default is to generate debug info if (!cx.isGeneratingDebugChanged() || cx.isGeneratingDebug()) { itsSourceFile = scriptOrFn.getSourceName(); } version = cx.getLanguageVersion(); optLevel = cx.getOptimizationLevel(); inFunction = scriptOrFn.getType() == TokenStream.FUNCTION; superClassName = inFunction ? functionSuperClassName : scriptSuperClassName; superClassSlashName = superClassName.replace('.', '/'); Node codegenBase; if (inFunction) { fnCurrent = (OptFunctionNode)scriptOrFn; inDirectCallFunction = fnCurrent.isTargetOfDirectCall(); this.name = fnCurrent.getClassName(); classFile = new ClassFileWriter(name, superClassName, itsSourceFile); String name = fnCurrent.getFunctionName(); generateInit(cx, "<init>", name); if (fnCurrent.isTargetOfDirectCall()) { classFile.startMethod("call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)Ljava/lang/Object;", (short)(ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_FINAL)); addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.ALOAD_1); addByteCode(ByteCode.ALOAD_2); addByteCode(ByteCode.ALOAD_3); for (int i = 0; i < scriptOrFn.getParamCount(); i++) { push(i); addByteCode(ByteCode.ALOAD, 4); addByteCode(ByteCode.ARRAYLENGTH); int undefArg = acquireLabel(); int beyond = acquireLabel(); addByteCode(ByteCode.IF_ICMPGE, undefArg); addByteCode(ByteCode.ALOAD, 4); push(i); addByteCode(ByteCode.AALOAD); push(0.0); addByteCode(ByteCode.GOTO, beyond); markLabel(undefArg); pushUndefined(); push(0.0); markLabel(beyond); } addByteCode(ByteCode.ALOAD, 4); addVirtualInvoke(this.name, "callDirect", fnCurrent.getDirectCallParameterSignature(), "Ljava/lang/Object;"); addByteCode(ByteCode.ARETURN); classFile.stopMethod((short)5, null); // 1 for this, 1 for js this, 1 for args[] emitDirectConstructor(); startNewMethod("callDirect", fnCurrent.getDirectCallParameterSignature() + "Ljava/lang/Object;", 1, false, true); assignParameterJRegs(fnCurrent); if (!fnCurrent.getParameterNumberContext()) { // make sure that all parameters are objects itsForcedObjectParameters = true; for (int i = 0; i < fnCurrent.getParamCount(); i++) { OptLocalVariable lVar = fnCurrent.getVar(i); aload(lVar.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); int isObjectLabel = acquireLabel(); addByteCode(ByteCode.IF_ACMPNE, isObjectLabel); addByteCode(ByteCode.NEW,"java/lang/Double"); addByteCode(ByteCode.DUP); dload((short)(lVar.getJRegister() + 1)); addDoubleConstructor(); astore(lVar.getJRegister()); markLabel(isObjectLabel); } } generatePrologue(cx, true, scriptOrFn.getParamCount()); } else { startNewMethod("call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)Ljava/lang/Object;", 1, false, true); generatePrologue(cx, true, -1); } codegenBase = scriptOrFn.getLastChild(); } else { // better be a script if (scriptOrFn.getType() != TokenStream.SCRIPT) badTree(); boolean isPrimary = nameHelper.getTargetExtends() == null && nameHelper.getTargetImplements() == null; this.name = getScriptClassName(null, isPrimary); classFile = new ClassFileWriter(name, superClassName, itsSourceFile); classFile.addInterface("org/mozilla/javascript/Script"); generateScriptCtor(cx); generateMain(cx); generateInit(cx, "initScript", ""); generateExecute(cx); startNewMethod("call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)Ljava/lang/Object;", 1, false, true); generatePrologue(cx, false, -1); int linenum = scriptOrFn.getEndLineno(); if (linenum != -1) classFile.addLineNumberEntry((short)linenum); scriptOrFn.addChildToBack(new Node(TokenStream.RETURN)); codegenBase = scriptOrFn; } generateCodeFromNode(codegenBase, null, -1, -1); generateEpilogue(); finishMethod(cx, debugVars); emitConstantDudeInitializers(); byte[] bytes = classFile.toByteArray(); names.add(name); classFiles.add(bytes); classFile = null; return name; }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/9d6bb8957ead2c95a3562b84a47b63afc8cfc761/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
2103,
1085,
12,
3651,
1162,
5372,
907,
2728,
1162,
5372,
16,
18760,
1076,
1257,
16,
18760,
1076,
667,
2697,
13,
565,
288,
3639,
333,
18,
4263,
1162,
5372,
273,
2728,
1162,
5372,
31,
3639,
509,
445,
1380,
273,
2728,
1162,
5372,
18,
588,
2083,
1380,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
480,
445,
1380,
31,
965,
77,
13,
288,
5411,
12056,
2083,
907,
2295,
273,
261,
6179,
2083,
907,
13,
4263,
1162,
5372,
18,
588,
2083,
907,
12,
77,
1769,
5411,
3356,
4507,
23198,
273,
394,
3356,
4507,
12,
2211,
1769,
5411,
23198,
18,
7163,
1085,
12,
4293,
16,
1257,
16,
667,
2697,
1769,
3639,
289,
3639,
1772,
9494,
273,
1772,
18,
588,
3935,
1042,
5621,
3639,
2097,
3727,
9791,
3876,
273,
9494,
18,
5332,
9937,
7503,
1190,
9791,
3876,
5621,
3639,
2097,
31150,
273,
446,
31,
3639,
368,
805,
353,
358,
2103,
1198,
1123,
3639,
309,
16051,
71,
92,
18,
291,
21755,
2829,
5033,
1435,
747,
9494,
18,
291,
21755,
2829,
10756,
288,
5411,
2097,
31150,
273,
2728,
1162,
5372,
18,
588,
1830,
461,
5621,
3639,
289,
3639,
1177,
273,
9494,
18,
588,
3779,
1444,
5621,
3639,
2153,
2355,
273,
9494,
18,
588,
13930,
1588,
2355,
5621,
3639,
316,
2083,
273,
2728,
1162,
5372,
18,
588,
559,
1435,
422,
3155,
1228,
18,
7788,
31,
3639,
2240,
3834,
273,
316,
2083,
7682,
692,
445,
8051,
3834,
7682,
294,
2728,
8051,
3834,
31,
3639,
18846,
11033,
461,
273,
2240,
3834,
18,
2079,
2668,
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,
2103,
1085,
12,
3651,
1162,
5372,
907,
2728,
1162,
5372,
16,
18760,
1076,
1257,
16,
18760,
1076,
667,
2697,
13,
565,
288,
3639,
333,
18,
4263,
1162,
5372,
273,
2728,
1162,
5372,
31,
3639,
509,
445,
1380,
273,
2728,
1162,
5372,
18,
588,
2083,
1380,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
480,
445,
1380,
31,
965,
77,
13,
288,
5411,
12056,
2083,
907,
2295,
273,
261,
6179,
2083,
907,
13,
4263,
1162,
5372,
18,
588,
2083,
907,
12,
77,
1769,
5411,
3356,
4507,
23198,
273,
394,
3356,
4507,
12,
2211,
1769,
5411,
23198,
18,
7163,
1085,
12,
4293,
16,
1257,
16,
667,
2697,
1769,
3639,
289,
3639,
1772,
9494,
273,
1772,
18,
588,
3935,
2
] |
dumpObject(RubySymbol.newSymbol(ruby, value.getInternalClass().getClassname()));
|
dumpObject(RubySymbol.newSymbol(runtime, value.getInternalClass().getClassname()));
|
private void userMarshal(IRubyObject value) throws IOException { out.write('u'); dumpObject(RubySymbol.newSymbol(ruby, value.getInternalClass().getClassname())); RubyInteger depth = RubyFixnum.newFixnum(ruby, depthLimit); RubyString marshaled = (RubyString) value.callMethod("_dump", depth); dumpString(marshaled.getValue()); }
|
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/034747585fcabe56272dd07acab0ab42ce8450d5/MarshalStream.java/buggy/org/jruby/runtime/marshal/MarshalStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
729,
8105,
12,
7937,
10340,
921,
460,
13,
1216,
1860,
288,
3639,
596,
18,
2626,
2668,
89,
8284,
3639,
4657,
921,
12,
54,
10340,
5335,
18,
2704,
5335,
12,
9448,
16,
460,
18,
588,
3061,
797,
7675,
588,
20531,
1435,
10019,
3639,
19817,
4522,
3598,
273,
19817,
8585,
2107,
18,
2704,
8585,
2107,
12,
27768,
16,
3598,
3039,
1769,
3639,
19817,
780,
27957,
273,
261,
54,
10340,
780,
13,
460,
18,
1991,
1305,
2932,
67,
8481,
3113,
3598,
1769,
3639,
4657,
780,
12,
3108,
329,
18,
24805,
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,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448,
16,
460,
18,
588,
3061,
797,
7675,
588,
20531,
1435,
10019,
3639,
19817,
4522,
3598,
273,
19817,
8585,
2107,
18,
2704,
8585,
2107,
12,
27768,
16,
3598,
3039,
1769,
3639,
19817,
780,
27957,
273,
261,
54,
10340,
780,
13,
460,
18,
1991,
1305,
2932,
67,
8481,
3113,
3598,
1769,
3639,
4657,
780,
12,
3108,
329,
18,
24805,
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
] |
Iterator iter = ((Collection)st).iterator();
|
Iterator iter = ((Collection) st).iterator();
|
public String generateStereotype(Object st) { if (st == null) return ""; if (ModelFacade.isAModelElement(st)) { if (ModelFacade.getName(st) == null) return ""; // Patch by Jeremy Bennett if (ModelFacade.getName(st).length() == 0) return ""; return NotationHelper.getLeftGuillemot() + generateName(ModelFacade.getName(st)) + NotationHelper.getRightGuillemot(); } if (st instanceof Collection) { Object o; StringBuffer sb = new StringBuffer(10); boolean first = true; Iterator iter = ((Collection)st).iterator(); while (iter.hasNext()) { if (!first) sb.append(','); o = iter.next(); if (o != null) { sb.append(generateName(ModelFacade.getName(o))); first = false; } } if (!first) return NotationHelper.getLeftGuillemot() + sb.toString() + NotationHelper.getRightGuillemot(); } return ""; }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/a59243616215667027a2b2aa1b644354f7961f20/Generator2.java/buggy/src_new/org/argouml/uml/generator/Generator2.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2103,
55,
387,
73,
10570,
12,
921,
384,
13,
288,
3639,
309,
261,
334,
422,
446,
13,
5411,
327,
1408,
31,
3639,
309,
261,
1488,
12467,
18,
291,
37,
1488,
1046,
12,
334,
3719,
288,
5411,
309,
261,
1488,
12467,
18,
17994,
12,
334,
13,
422,
446,
13,
7734,
327,
1408,
31,
368,
12042,
635,
804,
264,
351,
93,
605,
275,
2758,
88,
5411,
309,
261,
1488,
12467,
18,
17994,
12,
334,
2934,
2469,
1435,
422,
374,
13,
7734,
327,
1408,
31,
5411,
327,
2288,
367,
2276,
18,
588,
3910,
6099,
330,
3269,
352,
1435,
5411,
397,
2103,
461,
12,
1488,
12467,
18,
17994,
12,
334,
3719,
5411,
397,
2288,
367,
2276,
18,
588,
4726,
6099,
330,
3269,
352,
5621,
3639,
289,
3639,
309,
261,
334,
1276,
2200,
13,
288,
5411,
1033,
320,
31,
5411,
6674,
2393,
273,
394,
6674,
12,
2163,
1769,
5411,
1250,
1122,
273,
638,
31,
5411,
4498,
1400,
273,
14015,
2532,
13,
384,
2934,
9838,
5621,
5411,
1323,
261,
2165,
18,
5332,
2134,
10756,
288,
7734,
309,
16051,
3645,
13,
10792,
2393,
18,
6923,
12,
2187,
8284,
7734,
320,
273,
1400,
18,
4285,
5621,
7734,
309,
261,
83,
480,
446,
13,
288,
10792,
2393,
18,
6923,
12,
7163,
461,
12,
1488,
12467,
18,
17994,
12,
83,
3719,
1769,
10792,
1122,
273,
629,
31,
7734,
289,
5411,
289,
5411,
309,
16051,
3645,
13,
7734,
327,
2288,
367,
2276,
18,
588,
3910,
6099,
330,
3269,
352,
1435,
7734,
397,
2393,
18,
10492,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2103,
55,
387,
73,
10570,
12,
921,
384,
13,
288,
3639,
309,
261,
334,
422,
446,
13,
5411,
327,
1408,
31,
3639,
309,
261,
1488,
12467,
18,
291,
37,
1488,
1046,
12,
334,
3719,
288,
5411,
309,
261,
1488,
12467,
18,
17994,
12,
334,
13,
422,
446,
13,
7734,
327,
1408,
31,
368,
12042,
635,
804,
264,
351,
93,
605,
275,
2758,
88,
5411,
309,
261,
1488,
12467,
18,
17994,
12,
334,
2934,
2469,
1435,
422,
374,
13,
7734,
327,
1408,
31,
5411,
327,
2288,
367,
2276,
18,
588,
3910,
6099,
330,
3269,
352,
1435,
5411,
397,
2103,
461,
12,
1488,
12467,
18,
17994,
12,
334,
3719,
5411,
397,
2288,
367,
2276,
18,
588,
4726,
6099,
2
] |
if (index < 0) { throw new IllegalArgumentException(); } }
|
if (index < 0) { throw new IllegalArgumentException(); } }
|
public void backup(int occurrences) { index -= occurrences; if (index < 0) { throw new IllegalArgumentException(); } }
|
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/415b1e0db282c02d672a7e34a34a2bea0f69ccb2/Pack.java/clean/src/org/jruby/util/Pack.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
5114,
12,
474,
15698,
13,
288,
1082,
565,
770,
3947,
15698,
31,
1082,
565,
309,
261,
1615,
411,
374,
13,
288,
1082,
3639,
604,
394,
2754,
5621,
1082,
565,
289,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
5114,
12,
474,
15698,
13,
288,
1082,
565,
770,
3947,
15698,
31,
1082,
565,
309,
261,
1615,
411,
374,
13,
288,
1082,
3639,
604,
394,
2754,
5621,
1082,
565,
289,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 MyOrdinance() { }
|
6190 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6190/7b30da2f47cbda6e16406770c133332adb1b4079/MyOrdinance.java/buggy/MacPAF/src/com/redbugz/macpaf/MyOrdinance.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
8005,
15383,
267,
1359,
1435,
288,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
8005,
15383,
267,
1359,
1435,
288,
282,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
catch (IOException ex) {
|
catch (RESyntaxException ex) {
|
public void run() { try { mConfig.setHeaderFile(aName.getAbsolutePath()); } catch (IOException ex) { throw new BuildException( "Unable to read headerfile - ", ex); } }
|
31427 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31427/f6c9d83def3c381d7485186b36e8c1d5e17a13ca/CheckStyleTask.java/buggy/src/checkstyle/com/puppycrawl/tools/checkstyle/CheckStyleTask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
1086,
1435,
7734,
288,
10792,
775,
288,
13491,
312,
809,
18,
542,
1864,
812,
12,
69,
461,
18,
588,
10368,
743,
10663,
10792,
289,
10792,
1044,
261,
7031,
5392,
503,
431,
13,
288,
13491,
604,
394,
18463,
12,
18701,
315,
3370,
358,
855,
1446,
768,
300,
3104,
431,
1769,
10792,
289,
7734,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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542,
1864,
812,
12,
69,
461,
18,
588,
10368,
743,
10663,
10792,
289,
10792,
1044,
261,
7031,
5392,
503,
431,
13,
288,
13491,
604,
394,
18463,
12,
18701,
315,
3370,
358,
855,
1446,
768,
300,
3104,
431,
1769,
10792,
289,
7734,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 width = Utilities.getTabbedTextWidth(txt, g.getFontMetrics(), bounds.x, tabEx, txt.offset);
|
public void paint(GlyphView view, Graphics g, Shape a, int p0, int p1) { int height = (int) getHeight(view); Segment txt = view.getText(p0, p1); Rectangle bounds = a.getBounds(); TabExpander tabEx = null; View parent = view.getParent(); if (parent instanceof TabExpander) tabEx = (TabExpander) parent; // Fill the background of the text run. Color background = view.getBackground(); g.setColor(background); int width = Utilities.getTabbedTextWidth(txt, g.getFontMetrics(), bounds.x, tabEx, txt.offset); g.fillRect(bounds.x, bounds.y, width, height); // Draw the actual text. g.setColor(view.getForeground()); g.setFont(view.getFont()); if (view.isSuperscript()) // TODO: Adjust font for superscripting. Utilities.drawTabbedText(txt, bounds.x, bounds.y - height / 2, g, tabEx, txt.offset); else if (view.isSubscript()) // TODO: Adjust font for subscripting. Utilities.drawTabbedText(txt, bounds.x, bounds.y + height / 2, g, tabEx, txt.offset); else Utilities.drawTabbedText(txt, bounds.x, bounds.y, g, tabEx, txt.offset); if (view.isStikeThrough()) { int strikeHeight = (int) (getAscent(view) / 2); g.drawLine(bounds.x, bounds.y + strikeHeight, bounds.height + width, bounds.y + strikeHeight); } if (view.isUnderline()) { int lineHeight = (int) getAscent(view); g.drawLine(bounds.x, bounds.y + lineHeight, bounds.height + width, bounds.y + lineHeight); } }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/GlyphView.java/buggy/core/src/classpath/javax/javax/swing/text/GlyphView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
12,
15141,
1767,
1476,
16,
16830,
314,
16,
12383,
279,
16,
509,
293,
20,
16,
8227,
509,
293,
21,
13,
565,
288,
1377,
509,
2072,
273,
261,
474,
13,
9263,
12,
1945,
1769,
1377,
10807,
6463,
273,
1476,
18,
588,
1528,
12,
84,
20,
16,
293,
21,
1769,
1377,
13264,
4972,
273,
279,
18,
588,
5694,
5621,
1377,
9483,
12271,
264,
3246,
424,
273,
446,
31,
1377,
4441,
982,
273,
1476,
18,
588,
3054,
5621,
1377,
309,
261,
2938,
1276,
9483,
12271,
264,
13,
3639,
3246,
424,
273,
261,
5661,
12271,
264,
13,
982,
31,
1377,
368,
14192,
326,
5412,
434,
326,
977,
1086,
18,
1377,
5563,
5412,
273,
1476,
18,
588,
8199,
5621,
1377,
314,
18,
542,
2957,
12,
9342,
1769,
1377,
509,
1835,
273,
26703,
18,
588,
5661,
2992,
1528,
2384,
12,
5830,
16,
314,
18,
588,
5711,
5653,
9334,
4766,
9079,
4972,
18,
92,
16,
3246,
424,
16,
6463,
18,
3348,
1769,
1377,
314,
18,
5935,
6120,
12,
10576,
18,
92,
16,
4972,
18,
93,
16,
1835,
16,
2072,
1769,
1377,
368,
10184,
326,
3214,
977,
18,
1377,
314,
18,
542,
2957,
12,
1945,
18,
588,
23206,
10663,
1377,
314,
18,
542,
5711,
12,
1945,
18,
588,
5711,
10663,
1377,
309,
261,
1945,
18,
291,
3088,
414,
9118,
10756,
3639,
368,
2660,
30,
17720,
3512,
364,
1169,
414,
9118,
310,
18,
3639,
26703,
18,
9446,
5661,
2992,
1528,
12,
5830,
16,
4972,
18,
92,
16,
4972,
18,
93,
300,
2072,
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,
12574,
12,
15141,
1767,
1476,
16,
16830,
314,
16,
12383,
279,
16,
509,
293,
20,
16,
8227,
509,
293,
21,
13,
565,
288,
1377,
509,
2072,
273,
261,
474,
13,
9263,
12,
1945,
1769,
1377,
10807,
6463,
273,
1476,
18,
588,
1528,
12,
84,
20,
16,
293,
21,
1769,
1377,
13264,
4972,
273,
279,
18,
588,
5694,
5621,
1377,
9483,
12271,
264,
3246,
424,
273,
446,
31,
1377,
4441,
982,
273,
1476,
18,
588,
3054,
5621,
1377,
309,
261,
2938,
1276,
9483,
12271,
264,
13,
3639,
3246,
424,
273,
261,
5661,
12271,
264,
13,
982,
31,
1377,
368,
14192,
326,
5412,
434,
326,
977,
1086,
18,
1377,
5563,
5412,
273,
1476,
18,
588,
8199,
5621,
1377,
2
] |
|
return recv;
|
return RubyFixnum.newFixnum(recv.getRuntime(), Math.round(((double)(System.currentTimeMillis() - currentTime))/1000));
|
public static IRubyObject sleep(IRubyObject recv, RubyNumeric seconds) { try { Thread.sleep((long) (seconds.getDoubleValue() * 1000.0)); } catch (InterruptedException iExcptn) { } return recv; }
|
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/fe758a7c8ed9be7b679b8aef938333d27e876035/KernelModule.java/buggy/src/org/jruby/KernelModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
5329,
12,
7937,
10340,
921,
10665,
16,
19817,
9902,
3974,
13,
288,
3639,
775,
288,
5411,
4884,
18,
19607,
12443,
5748,
13,
261,
7572,
18,
588,
5265,
620,
1435,
380,
4336,
18,
20,
10019,
3639,
289,
1044,
261,
24485,
503,
277,
29924,
337,
82,
13,
288,
3639,
289,
3639,
327,
19817,
8585,
2107,
18,
2704,
8585,
2107,
12,
18334,
18,
588,
5576,
9334,
2361,
18,
2260,
12443,
12,
9056,
21433,
3163,
18,
2972,
28512,
1435,
300,
6680,
3719,
19,
18088,
10019,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
5329,
12,
7937,
10340,
921,
10665,
16,
19817,
9902,
3974,
13,
288,
3639,
775,
288,
5411,
4884,
18,
19607,
12443,
5748,
13,
261,
7572,
18,
588,
5265,
620,
1435,
380,
4336,
18,
20,
10019,
3639,
289,
1044,
261,
24485,
503,
277,
29924,
337,
82,
13,
288,
3639,
289,
3639,
327,
19817,
8585,
2107,
18,
2704,
8585,
2107,
12,
18334,
18,
588,
5576,
9334,
2361,
18,
2260,
12443,
12,
9056,
21433,
3163,
18,
2972,
28512,
1435,
300,
6680,
3719,
19,
18088,
10019,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
getComponents (b, 0);
|
int i; for (i = 0; i < map_size; i++) b[i] = (byte) (0x000000FF & rgb[i]);
|
public final void getBlues (byte[] b) { getComponents (b, 0); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/IndexColorModel.java/buggy/core/src/classpath/java/java/awt/image/IndexColorModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
918,
28373,
3610,
261,
7229,
8526,
324,
13,
225,
288,
565,
336,
7171,
261,
70,
16,
374,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
918,
28373,
3610,
261,
7229,
8526,
324,
13,
225,
288,
565,
336,
7171,
261,
70,
16,
374,
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
] |
void updateAllRenderMolecule(Renderer rdr, Canvas3D cv) {
|
void updateAllRenderMolecule(Canvas3D cv) {
|
void updateAllRenderMolecule(Renderer rdr, Canvas3D cv) { int i; boolean setCtx = false; GeometryArrayRetained geo; int size = renderMoleculeList.size(); if (size > 0) { RenderMolecule[] rmArr = (RenderMolecule[]) renderMoleculeList.toArray(false); cv.makeCtxCurrent(rdr.sharedCtx); setCtx = true; for (i = size-1 ; i >= 0; i--) { rmArr[i].updateAllPrimaryDisplayLists(cv); } } size = sharedDList.size(); if (size > 0) { RenderAtomListInfo arr[] = (RenderAtomListInfo []) sharedDList.toArray(false); RenderAtomListInfo ra; if (!setCtx) { cv.makeCtxCurrent(rdr.sharedCtx); setCtx = true; } // We need two passes to avoid extra buildDisplayList // when geo are the same. The first pass clean the // rendererBit. int bitMask = cv.screen.renderer.rendererBit; long timeStamp = cv.screen.renderer.sharedCtxTimeStamp; for (i = size-1; i >= 0; i--) { geo = (GeometryArrayRetained) arr[i].geometry(); geo.resourceCreationMask &= ~bitMask; } for (i = size-1; i >= 0; i--) { ra = arr[i]; geo = (GeometryArrayRetained) ra.geometry(); if ((geo.resourceCreationMask & bitMask) == 0) { dlistRenderMethod.buildIndividualDisplayList(ra, cv, rdr.sharedCtx); geo.resourceCreationMask |= bitMask; geo.setDlistTimeStamp(bitMask, timeStamp); } } } if (setCtx) { cv.makeCtxCurrent(cv.ctx); } }
|
8698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8698/48706d71f20645ca81e3ee474c7b899b0828cba8/RenderBin.java/buggy/src/classes/share/javax/media/j3d/RenderBin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1089,
1595,
3420,
29669,
12,
6747,
436,
3069,
16,
20966,
23,
40,
8951,
13,
288,
202,
474,
277,
31,
202,
6494,
444,
6442,
273,
629,
31,
202,
9823,
1076,
7055,
8707,
7856,
31,
202,
474,
963,
273,
1743,
29669,
682,
18,
1467,
5621,
202,
430,
261,
1467,
405,
374,
13,
288,
202,
565,
6987,
29669,
8526,
6692,
5715,
273,
261,
3420,
29669,
63,
5717,
202,
202,
5902,
29669,
682,
18,
31447,
12,
5743,
1769,
202,
565,
8951,
18,
6540,
6442,
3935,
12,
86,
3069,
18,
11574,
6442,
1769,
202,
565,
444,
6442,
273,
638,
31,
202,
565,
364,
261,
77,
273,
963,
17,
21,
274,
277,
1545,
374,
31,
277,
413,
13,
288,
202,
202,
8864,
5715,
63,
77,
8009,
2725,
1595,
6793,
4236,
7432,
12,
19774,
1769,
202,
565,
289,
202,
97,
202,
1467,
273,
225,
5116,
40,
682,
18,
1467,
5621,
202,
430,
261,
1467,
405,
374,
13,
288,
202,
565,
6987,
3641,
682,
966,
2454,
8526,
273,
202,
202,
12,
3420,
3641,
682,
966,
5378,
13,
5116,
40,
682,
18,
31447,
12,
5743,
1769,
1082,
565,
6987,
3641,
682,
966,
767,
31,
202,
565,
309,
16051,
542,
6442,
13,
288,
202,
202,
19774,
18,
6540,
6442,
3935,
12,
86,
3069,
18,
11574,
6442,
1769,
9506,
202,
542,
6442,
273,
638,
31,
202,
565,
289,
202,
565,
368,
1660,
1608,
2795,
11656,
358,
4543,
2870,
1361,
4236,
682,
202,
565,
368,
1347,
7856,
854,
326,
1967,
18,
1021,
1122,
1342,
2721,
326,
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,
918,
1089,
1595,
3420,
29669,
12,
6747,
436,
3069,
16,
20966,
23,
40,
8951,
13,
288,
202,
474,
277,
31,
202,
6494,
444,
6442,
273,
629,
31,
202,
9823,
1076,
7055,
8707,
7856,
31,
202,
474,
963,
273,
1743,
29669,
682,
18,
1467,
5621,
202,
430,
261,
1467,
405,
374,
13,
288,
202,
565,
6987,
29669,
8526,
6692,
5715,
273,
261,
3420,
29669,
63,
5717,
202,
202,
5902,
29669,
682,
18,
31447,
12,
5743,
1769,
202,
565,
8951,
18,
6540,
6442,
3935,
12,
86,
3069,
18,
11574,
6442,
1769,
202,
565,
444,
6442,
273,
638,
31,
202,
565,
364,
261,
77,
273,
963,
17,
21,
274,
277,
1545,
374,
31,
277,
413,
13,
288,
202,
202,
8864,
5715,
2
] |
enableButton.setFont(font);
|
CheckboxEnumGroup(Composite parent, String text, EnumType type) { Font font = parent.getFont(); this.type = type; // although not needed for layout, this composite is needed to get the tab order right Composite enableComposite = new Composite(parent, SWT.NONE); enableComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); enableComposite.setLayout(new FillLayout()); enableButton = new Button(enableComposite, SWT.CHECK); enableButton.addSelectionListener(selectionListener); enableButton.setText(text); enableButton.setFont(font); Composite valueComposite = new Composite(parent, SWT.NONE); valueComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); valueComposite.setLayout(new FillLayout()); EnumValue[] values = type.getValues(); valueButtons = new Button[values.length]; for (int i = 0; i < values.length; ++i) { Button valueButton = new Button(valueComposite, SWT.CHECK); valueButton.setText(values[i].getText());// valueButton.setImage(values[i].getImage()); valueButton.setFont(font); valueButtons[i] = valueButton; } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e365c8c256fc9bd61d9d458bb74ff408ae201fd1/FiltersDialog.java/clean/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/tasklist/FiltersDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
21272,
3572,
1114,
12,
9400,
982,
16,
514,
977,
16,
6057,
559,
618,
13,
288,
1082,
202,
5711,
3512,
273,
982,
18,
588,
5711,
5621,
1082,
202,
2211,
18,
723,
273,
618,
31,
1082,
202,
759,
26347,
486,
3577,
364,
3511,
16,
333,
9635,
353,
3577,
358,
336,
326,
3246,
1353,
2145,
1082,
202,
9400,
4237,
9400,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
1082,
202,
7589,
9400,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
1082,
202,
7589,
9400,
18,
542,
3744,
12,
2704,
14192,
3744,
10663,
1082,
202,
7589,
3616,
273,
394,
12569,
12,
7589,
9400,
16,
348,
8588,
18,
10687,
1769,
1082,
202,
7589,
3616,
18,
1289,
6233,
2223,
12,
10705,
2223,
1769,
1082,
202,
7589,
3616,
18,
542,
1528,
12,
955,
1769,
1082,
202,
7589,
3616,
18,
542,
5711,
12,
5776,
1769,
1082,
202,
9400,
460,
9400,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
1082,
202,
1132,
9400,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
1082,
202,
1132,
9400,
18,
542,
3744,
12,
2704,
14192,
3744,
10663,
1082,
202,
3572,
620,
8526,
924,
273,
618,
18,
588,
1972,
5621,
1082,
202,
1132,
14388,
273,
394,
12569,
63,
2372,
18,
2469,
15533,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
924,
18,
2469,
31,
965,
77,
13,
288,
9506,
202,
3616,
460,
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,
21272,
3572,
1114,
12,
9400,
982,
16,
514,
977,
16,
6057,
559,
618,
13,
288,
1082,
202,
5711,
3512,
273,
982,
18,
588,
5711,
5621,
1082,
202,
2211,
18,
723,
273,
618,
31,
1082,
202,
759,
26347,
486,
3577,
364,
3511,
16,
333,
9635,
353,
3577,
358,
336,
326,
3246,
1353,
2145,
1082,
202,
9400,
4237,
9400,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
1082,
202,
7589,
9400,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
1082,
202,
7589,
9400,
18,
542,
3744,
12,
2704,
14192,
3744,
10663,
1082,
202,
7589,
3616,
273,
394,
12569,
12,
7589,
9400,
16,
348,
8588,
18,
10687,
1769,
2
] |
|
match(input,34,FOLLOW_34_in_word3526);
|
match(input,34,FOLLOW_34_in_word3535);
|
public String word() throws RecognitionException { String word; Token id=null; Token str=null; word = null; try { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1212:17: (id= ID | 'import' | 'use' | 'rule' | 'query' | 'salience' | 'no-loop' | 'when' | 'then' | 'end' | str= STRING ) int alt75=11; switch ( input.LA(1) ) { case ID: alt75=1; break; case 17: alt75=2; break; case 56: alt75=3; break; case 31: alt75=4; break; case 28: alt75=5; break; case 36: alt75=6; break; case 37: alt75=7; break; case 32: alt75=8; break; case 34: alt75=9; break; case 29: alt75=10; break; case STRING: alt75=11; break; default: NoViableAltException nvae = new NoViableAltException("1208:1: word returns [String word] : (id= ID | \'import\' | \'use\' | \'rule\' | \'query\' | \'salience\' | \'no-loop\' | \'when\' | \'then\' | \'end\' | str= STRING );", 75, 0, input); throw nvae; } switch (alt75) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1212:17: id= ID { id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_word3445); word=id.getText(); } break; case 2 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1213:17: 'import' { match(input,17,FOLLOW_17_in_word3457); word="import"; } break; case 3 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1214:17: 'use' { match(input,56,FOLLOW_56_in_word3466); word="use"; } break; case 4 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1215:17: 'rule' { match(input,31,FOLLOW_31_in_word3478); word="rule"; } break; case 5 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1216:17: 'query' { match(input,28,FOLLOW_28_in_word3489); word="query"; } break; case 6 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1217:17: 'salience' { match(input,36,FOLLOW_36_in_word3499); word="salience"; } break; case 7 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1218:17: 'no-loop' { match(input,37,FOLLOW_37_in_word3507); word="no-loop"; } break; case 8 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1219:17: 'when' { match(input,32,FOLLOW_32_in_word3515); word="when"; } break; case 9 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1220:17: 'then' { match(input,34,FOLLOW_34_in_word3526); word="then"; } break; case 10 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1221:17: 'end' { match(input,29,FOLLOW_29_in_word3537); word="end"; } break; case 11 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1222:17: str= STRING { str=(Token)input.LT(1); match(input,STRING,FOLLOW_STRING_in_word3551); word=getString(str); } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return word; }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/d7954b0ad5c135d35db2bb329a4a335275a5b5a2/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2076,
1435,
1216,
9539,
288,
6647,
514,
2076,
31,
3639,
3155,
612,
33,
2011,
31,
3639,
3155,
609,
33,
2011,
31,
540,
202,
202,
1095,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
2138,
2138,
30,
4033,
30,
261,
350,
33,
1599,
571,
296,
5666,
11,
571,
296,
1202,
11,
571,
296,
5345,
11,
571,
296,
2271,
11,
571,
296,
21982,
6254,
11,
571,
296,
2135,
17,
6498,
11,
571,
296,
13723,
11,
571,
296,
15991,
11,
571,
296,
409,
11,
571,
609,
33,
9469,
262,
5411,
509,
3770,
5877,
33,
2499,
31,
5411,
1620,
261,
810,
18,
2534,
12,
21,
13,
262,
288,
5411,
648,
1599,
30,
7734,
3770,
5877,
33,
21,
31,
7734,
898,
31,
5411,
648,
8043,
30,
7734,
3770,
5877,
33,
22,
31,
7734,
898,
31,
5411,
648,
13850,
30,
7734,
3770,
5877,
33,
23,
31,
7734,
898,
31,
5411,
648,
8231,
30,
7734,
3770,
5877,
33,
24,
31,
7734,
898,
31,
5411,
648,
9131,
30,
7734,
3770,
5877,
33,
25,
31,
7734,
898,
31,
5411,
648,
6580,
30,
7734,
3770,
5877,
33,
26,
31,
7734,
898,
31,
5411,
648,
18091,
30,
7734,
3770,
5877,
33,
27,
31,
7734,
898,
31,
5411,
648,
3847,
30,
7734,
3770,
5877,
33,
28,
31,
7734,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2076,
1435,
1216,
9539,
288,
6647,
514,
2076,
31,
3639,
3155,
612,
33,
2011,
31,
3639,
3155,
609,
33,
2011,
31,
540,
202,
202,
1095,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
2138,
2138,
30,
4033,
30,
261,
350,
33,
1599,
571,
296,
5666,
11,
571,
296,
1202,
11,
571,
296,
5345,
11,
571,
296,
2271,
11,
571,
296,
21982,
6254,
11,
571,
296,
2135,
17,
6498,
11,
571,
296,
13723,
11,
571,
296,
15991,
11,
571,
2
] |
public IGateway login(String userName, byte[] password, IClient client)
|
public boolean login(String userName, byte[] password, IClient client)
|
public IGateway login(String userName, byte[] password, IClient client) throws RemoteException;
|
7710 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7710/d184c18c5f90928b55c4040b5548f1b8dc1aa12d/ILoginManager.java/buggy/Boo/src/boo/server/ILoginManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
5197,
3925,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
5197,
3925,
12,
780,
12065,
16,
1160,
8526,
2201,
16,
467,
1227,
1004,
13,
1082,
202,
15069,
18361,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
helpSupport.displayHelp(topic, href);
|
helpSupport.displayHelpResource(href);
|
private void openHelpTopic(String topic, String href) { IHelp helpSupport = WorkbenchHelp.getHelpSupport(); if (helpSupport != null) { if (href != null) helpSupport.displayHelp(topic, href); else helpSupport.displayHelp(topic); }}
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/5cbc0ac4420d415d20fff4d9a79bde065fc58a84/WelcomeItem.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/WelcomeItem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
1696,
6696,
6657,
12,
780,
3958,
16,
514,
3897,
13,
288,
202,
45,
6696,
2809,
6289,
273,
4147,
22144,
6696,
18,
588,
6696,
6289,
5621,
202,
430,
261,
5201,
6289,
480,
446,
13,
288,
202,
202,
430,
261,
7547,
480,
446,
13,
1875,
202,
5201,
6289,
18,
5417,
6696,
12,
10476,
16,
3897,
1769,
202,
202,
12107,
1082,
202,
5201,
6289,
18,
5417,
6696,
12,
10476,
1769,
202,
9090,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
1696,
6696,
6657,
12,
780,
3958,
16,
514,
3897,
13,
288,
202,
45,
6696,
2809,
6289,
273,
4147,
22144,
6696,
18,
588,
6696,
6289,
5621,
202,
430,
261,
5201,
6289,
480,
446,
13,
288,
202,
202,
430,
261,
7547,
480,
446,
13,
1875,
202,
5201,
6289,
18,
5417,
6696,
12,
10476,
16,
3897,
1769,
202,
202,
12107,
1082,
202,
5201,
6289,
18,
5417,
6696,
12,
10476,
1769,
202,
9090,
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
] |
public void setUrlPatterns(Set urlPatterns) {
|
public void setUrlPatterns(List urlPatterns) {
|
public void setUrlPatterns(Set urlPatterns) { this.urlPatterns = urlPatterns; }
|
51810 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51810/740cae7bd11a50ff71ee60bf8fa10057b0188797/WebResourceCollectionDD.java/clean/descriptors/src/java/org/apache/pluto/descriptors/servlet/WebResourceCollectionDD.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20211,
11268,
12,
682,
880,
11268,
13,
288,
3639,
333,
18,
718,
11268,
273,
880,
11268,
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,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,
20211,
11268,
12,
682,
880,
11268,
13,
288,
3639,
333,
18,
718,
11268,
273,
880,
11268,
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
] |
firstParameter = firstParameter.replaceAll("\\.", "\\\\."); firstParameter = firstParameter.replaceAll("\\*", "\\.*"); firstParameter = firstParameter.replaceAll("\\[", "\\\\["); firstParameter = firstParameter.replaceAll("\\]", "\\\\]");
|
firstParameter = escapeString(firstParameter);
|
protected void parserParameterTypesPattern(final String pattern) { final int startIndexParameterTypes = pattern.indexOf('(') + 1; final int endIndexParameterTypes = pattern.indexOf(')'); String parameterTypesPattern = pattern.substring( startIndexParameterTypes, endIndexParameterTypes); m_parameterTypePatterns = new ArrayList(); final StringTokenizer tokenizer = new StringTokenizer(parameterTypesPattern, ","); if (tokenizer.hasMoreTokens()) { // if the first parameter is (..) set it A return String firstParameter = tokenizer.nextToken().trim(); if (m_abbreviations.containsKey(firstParameter)) { firstParameter = (String)m_abbreviations.get(firstParameter); } if (firstParameter.equals(SINGLE_WILDCARD)) { firstParameter = "\\b.*\\b"; } else if (firstParameter.equals(MULTIPLE_WILDCARD)) { firstParameter = MULTIPLE_WILDCARD_KEY; } else { firstParameter = firstParameter.replaceAll("\\.", "\\\\."); firstParameter = firstParameter.replaceAll("\\*", "\\.*"); firstParameter = firstParameter.replaceAll("\\[", "\\\\["); firstParameter = firstParameter.replaceAll("\\]", "\\\\]"); } m_parameterTypePatterns.add( java.util.regex.Pattern.compile(firstParameter)); } // handle the remaining parameters while (tokenizer.hasMoreTokens()) { String parameter = tokenizer.nextToken().trim(); if (m_abbreviations.containsKey(parameter)) { parameter = (String)m_abbreviations.get(parameter); } if (parameter.equals(SINGLE_WILDCARD)) { parameter = "\\b.*\\b"; } else if (parameter.equals(MULTIPLE_WILDCARD)) { parameter = MULTIPLE_WILDCARD_KEY; } else { parameter = parameter.replaceAll("\\.", "\\\\."); parameter = parameter.replaceAll("\\*", "\\.*"); parameter = parameter.replaceAll("\\[", "\\\\["); parameter = parameter.replaceAll("\\]", "\\\\]"); } m_parameterTypePatterns.add( java.util.regex.Pattern.compile(parameter)); } }
|
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/797e662bcd4bca47d6ac84f41fbf32bf15013a33/MethodPattern.java/clean/aspectwerkz/src/main/org/codehaus/aspectwerkz/regexp/MethodPattern.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
2082,
1662,
2016,
3234,
12,
6385,
514,
1936,
13,
288,
3639,
727,
509,
10588,
1662,
2016,
273,
1936,
18,
31806,
2668,
2668,
13,
397,
404,
31,
3639,
727,
509,
13818,
1662,
2016,
273,
1936,
18,
31806,
2668,
2506,
1769,
3639,
514,
20173,
3234,
273,
1936,
18,
28023,
12,
7734,
10588,
1662,
2016,
16,
13818,
1662,
2016,
1769,
3639,
312,
67,
6775,
559,
11268,
273,
394,
2407,
5621,
3639,
727,
16370,
10123,
273,
7734,
394,
16370,
12,
6775,
2016,
3234,
16,
5753,
1769,
3639,
309,
261,
2316,
1824,
18,
5332,
7417,
5157,
10756,
288,
5411,
368,
309,
326,
1122,
1569,
353,
261,
838,
13,
444,
518,
432,
327,
5411,
514,
1122,
1662,
273,
10123,
18,
4285,
1345,
7675,
5290,
5621,
5411,
309,
261,
81,
67,
378,
7379,
1012,
18,
12298,
653,
12,
3645,
1662,
3719,
288,
7734,
1122,
1662,
273,
261,
780,
13,
81,
67,
378,
7379,
1012,
18,
588,
12,
3645,
1662,
1769,
5411,
289,
5411,
309,
261,
3645,
1662,
18,
14963,
12,
20184,
67,
59,
29067,
3719,
288,
7734,
1122,
1662,
273,
8422,
70,
4509,
1695,
70,
14432,
5411,
289,
5411,
469,
309,
261,
3645,
1662,
18,
14963,
12,
24683,
900,
67,
59,
29067,
3719,
288,
7734,
1122,
1662,
273,
31385,
900,
67,
59,
29067,
67,
3297,
31,
5411,
289,
5411,
469,
288,
7734,
1122,
1662,
273,
1122,
1662,
18,
2079,
1595,
2932,
1695,
1199,
16,
1548,
19662,
1199,
1769,
7734,
1122,
1662,
273,
1122,
1662,
18,
2079,
1595,
2932,
1695,
14,
3113,
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,
2082,
1662,
2016,
3234,
12,
6385,
514,
1936,
13,
288,
3639,
727,
509,
10588,
1662,
2016,
273,
1936,
18,
31806,
2668,
2668,
13,
397,
404,
31,
3639,
727,
509,
13818,
1662,
2016,
273,
1936,
18,
31806,
2668,
2506,
1769,
3639,
514,
20173,
3234,
273,
1936,
18,
28023,
12,
7734,
10588,
1662,
2016,
16,
13818,
1662,
2016,
1769,
3639,
312,
67,
6775,
559,
11268,
273,
394,
2407,
5621,
3639,
727,
16370,
10123,
273,
7734,
394,
16370,
12,
6775,
2016,
3234,
16,
5753,
1769,
3639,
309,
261,
2316,
1824,
18,
5332,
7417,
5157,
10756,
288,
5411,
368,
309,
326,
1122,
1569,
353,
261,
838,
13,
444,
518,
432,
327,
5411,
514,
1122,
1662,
273,
10123,
18,
4285,
1345,
2
] |
public void onSuccess(BaseClientPutter state);
|
public void onSuccess(FetchResult result, ClientGetter state);
|
public void onSuccess(BaseClientPutter state);
|
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/463e1c2814ef80eab9cbef79e58a1594fa8ec102/ClientCallback.java/buggy/src/freenet/client/async/ClientCallback.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
20613,
12,
2171,
1227,
6426,
387,
919,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
20613,
12,
2171,
1227,
6426,
387,
919,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
int size = proj_class.instruments.object_list.size(), i = 0;
|
int size = proj_class.instruments.get_num_objects(), i = 0;
|
public void actionPerformed(ActionEvent e) { project proj_class=(project)project.oClass; if (e.getSource() == edit_house) { //System.out.println("editing the house"); proj_class.draw_mouse_state =4; aScreen.temp_house=new house(); aScreen.temp_house.copyHouse((house)(proj_class.houses.get_object(proj_class.selected_index))); } else if (e.getSource() == edit_stage) { //System.out.println("editing the stage"); proj_class.draw_mouse_state =5; aScreen.temp_stage=new stage(); aScreen.temp_stage.copyStage((stage)(proj_class.stages.get_object(proj_class.selected_index))); } else if (e.getSource() == edit_bar) { //System.out.println("editing the bar"); proj_class.draw_mouse_state =3; aScreen.temp_bar=new bar(); aScreen.temp_bar.copyBar((bar)(proj_class.bars.get_object(proj_class.selected_index))); } else if(e.getSource()==add_bar) { //System.out.println("adding a bar"); proj_class.draw_mouse_state =1; aScreen.temp_bar = new bar(); } else if(e.getSource()==move_bar) { //System.out.println("moving a bar"); proj_class.draw_mouse_state =6; } else if(e.getSource()==add_instrument) { //System.out.println("Adding an instrument"); proj_class.draw_mouse_state =2; aScreen.temp_instrument = new instrument(); //temporarily hardcode the nodes for the instruments aScreen.temp_instrument.add_node(0,0); aScreen.temp_instrument.add_node(20,0); aScreen.temp_instrument.add_node(15,5); aScreen.temp_instrument.add_node(15,20); aScreen.temp_instrument.add_node(5,20); aScreen.temp_instrument.add_node(5,5); aScreen.temp_instrument.setBarID(proj_class.selected_index); } else if(e.getSource()==add_stage) { //ADD STAGE //System.out.println("adding a stage"); proj_class.draw_mouse_state =8; aScreen.temp_stage = new stage(); } else if(e.getSource()==add_set) { //ADD SET PIECE //System.out.println("adding a stage"); proj_class.draw_mouse_state =9; aScreen.temp_set = new setobject(); } else if (e.getSource() == edit_set) { //System.out.println("editing a set object"); proj_class.draw_mouse_state =10; aScreen.temp_set=new setobject(); aScreen.temp_set.copySetObject((setobject)(proj_class.sets.get_object(proj_class.selected_index))); }else if(e.getSource()==move_bar){ //move a set object proj_class.draw_mouse_state =6; }else if(e.getSource()==move_stage){ //move stage proj_class.draw_mouse_state=11; }else if(e.getSource()==move_house){ //move house proj_class.draw_mouse_state=12; }else if(e.getSource()==move_set){ //move a set proj_class.draw_mouse_state=13; }else if(e.getSource()==aim_instrument){ //aim an instrument proj_class.draw_mouse_state=14; } else if (e.getSource() == remove_stage) {//begin chaplin edit. //proj_class.stages.object_list.removeElementAt(proj_class.stages.object_list.indexOf(proj_class.stages.object_list.get(proj_class.selected_index))); //proj_class.stages.set_num_objects(proj_class.stages.object_list.size()); proj_class.stages.remove_object(proj_class.selected_index); proj_class.selected_index = -1; proj_class.selected_type = -1; proj_class.draw_mouse_state = 0; proj_class.stageadded = false; //proj_class.draw_mouse_state = 15; } else if (e.getSource() == remove_set) { //proj_class.sets.object_list.removeElementAt(proj_class.sets.object_list.indexOf(proj_class.sets.object_list.get(proj_class.selected_index))); //proj_class.sets.set_num_objects(proj_class.sets.object_list.size()); proj_class.sets.remove_object(proj_class.selected_index); proj_class.selected_index = -1; proj_class.selected_type = -1; proj_class.draw_mouse_state = 0; } else if (e.getSource() == remove_bar) { int barIndex = 0; if(proj_class.instruments.object_list.size() > 0)//then there are instruments in array. { int size = proj_class.instruments.object_list.size(), i = 0; barIndex = proj_class.selected_index; while(i < size) { instrument aInstrument =(instrument)proj_class.instruments.object_list.get(i); int barId = aInstrument.getBarID(); if(aInstrument.getBarID() >= 0) { if(barId==barIndex) { //proj_class.instruments.object_list.removeElementAt(proj_class.instruments.object_list.indexOf(proj_class.instruments.object_list.get(i))); //proj_class.instruments.set_num_objects(proj_class.instruments.object_list.size()-1); proj_class.instruments.remove_object(i); size -= 1; } else { i++; } } } } proj_class.bars.remove_object(proj_class.selected_index); //proj_class.bars.set_num_objects(proj_class.bars.get_num_objects()-1); //remove the bar itself for(int j = 0; j < proj_class.instruments.object_list.size(); j++) { //need the start point. instrument tempInst = (instrument)proj_class.instruments.get_object(j); if(tempInst.Associated_barID > barIndex) tempInst.Associated_barID -= 1; } //mod bar id as well. for(int k = 0; k < proj_class.bars.object_list.size(); k++) { bar tempBar = (bar)proj_class.bars.object_list.get(k); if(tempBar.index > barIndex) tempBar.index -= 1; } proj_class.selected_index = -1; proj_class.selected_type = -1; proj_class.draw_mouse_state = 0; System.out.println("Selected Type action performed: "+proj_class.selected_type+"\n"); System.out.println("Selected Index action performed: "+proj_class.selected_index+"\n"); System.out.println("Draw mouse state action performed: "+proj_class.draw_mouse_state); } else if (e.getSource() == remove_instr) { //System.out.println("Size is: "+proj_class.instruments.object_list.size()); //System.out.println("Number of objects: "+proj_class.instruments.get_num_objects()+"\n"); //proj_class.instruments.object_list.removeElementAt(proj_class.instruments.object_list.indexOf(proj_class.instruments.object_list.get(proj_class.selected_index))); //proj_class.instruments.set_num_objects(proj_class.instruments.object_list.size()); //System.out.println("Size is: "+proj_class.instruments.object_list.size()); //System.out.println("Number of objects: "+proj_class.instruments.get_num_objects()+"\n"); int index=proj_class.getInstrumentByID(((instrument)proj_class.instruments.get_object(proj_class.selected_index)).getInventoryID()); proj_class.inventories.setItemUsed(index,false); proj_class.instruments.remove_object(proj_class.selected_index); proj_class.selected_index = -1; proj_class.selected_type = -1; proj_class.draw_mouse_state = 0; //proj_class.draw_mouse_state = 18; } else if (e.getSource() == remove_house) { //loop over instruments, bars, stage et. to get rid of. System.out.println("*Before* Instr size is: "+proj_class.instruments.object_list.size()); while(proj_class.instruments.object_list.size() > 0) { //proj_class.instruments.object_list.remove(0); //proj_class.instruments.set_num_objects(proj_class.instruments.object_list.size()); int inv_index=proj_class.getInstrumentByID(((instrument)proj_class.instruments.get_object(0)).getInventoryID()); proj_class.inventories.setItemUsed(inv_index,false); proj_class.instruments.remove_object(0); } System.out.println("*After* Instr size is: "+proj_class.instruments.object_list.size()); while(proj_class.bars.object_list.size() > 0) { proj_class.bars.remove_object(0); //proj_class.bars.set_num_objects(proj_class.bars.object_list.size()); } while(proj_class.sets.object_list.size() > 0) { proj_class.sets.remove_object(0); //proj_class.sets.set_num_objects(proj_class.sets.object_list.size()); } while(proj_class.stages.object_list.size() > 0) { proj_class.stages.remove_object(0); //proj_class.stages.set_num_objects(proj_class.stages.object_list.size()); } proj_class.stageadded = false; while(proj_class.houses.object_list.size() > 0) { proj_class.houses.remove_object(0); //proj_class.houses.set_num_objects(proj_class.houses.object_list.size()); } proj_class.selected_type = -1; proj_class.selected_index = -1; proj_class.houseadded = false; //proj_class.draw_mouse_state = 19; }else if(e.getSource()==setStageInfo) { //launch stage edit window StageInfoWindow sw=new StageInfoWindow(); }else if(e.getSource()==setSetInfo) { //launch set edit window SetInfoWindow sw = new SetInfoWindow(); }else if(e.getSource()==setLightInfo) { //launch light edit info InstrumentInfoWindow iw=new InstrumentInfoWindow(); }else if(e.getSource()==info_bar) { //launch bar edit info window BarInfoWindow bw=new BarInfoWindow(); }else if(e.getSource() == zoom_in) { //begin chaplin edit. if(proj_class.zoom_factor<1){ proj_class.zoom_factor+=.1; aScreen.vert.setUnitIncrement((int)((1/(double)proj_class.zoom_factor)*(.05 * aScreen.vert.getHeight()))); aScreen.horiz.setUnitIncrement((int)((1/(double)proj_class.zoom_factor)*(.05 * aScreen.horiz.getWidth()))); aScreen.vert.setBlockIncrement((int)((1/(double)proj_class.zoom_factor)*(.25 * aScreen.vert.getHeight()))); aScreen.horiz.setBlockIncrement((int)((1/(double)proj_class.zoom_factor)*(.25 * aScreen.horiz.getWidth()))); aScreen.repaint(); }else if(proj_class.zoom_factor<100){ proj_class.zoom_factor+=1; aScreen.vert.setUnitIncrement((int)((1/(double)proj_class.zoom_factor)*(.05 * aScreen.vert.getHeight()))); aScreen.horiz.setUnitIncrement((int)((1/(double)proj_class.zoom_factor)*(.05 * aScreen.horiz.getWidth()))); aScreen.vert.setBlockIncrement((int)((1/(double)proj_class.zoom_factor)*(.25 * aScreen.vert.getHeight()))); aScreen.horiz.setBlockIncrement((int)((1/(double)proj_class.zoom_factor)*(.25 * aScreen.horiz.getWidth()))); aScreen.repaint(); } } else if(e.getSource() == zoom_out) { if(proj_class.zoom_factor>1){ proj_class.zoom_factor-=1; //aScreen.horiz.setMaximum(600*proj_class.zoom_factor); //aScreen.vert.setMaximum(600*proj_class.zoom_factor); aScreen.vert.setUnitIncrement((int)((double)(proj_class.zoom_factor)*(.05 * aScreen.vert.getHeight()))); aScreen.horiz.setUnitIncrement((int)((double)(proj_class.zoom_factor)*(.05 * aScreen.horiz.getWidth()))); aScreen.vert.setBlockIncrement((int)((double)(proj_class.zoom_factor)*(.25 * aScreen.vert.getHeight()))); aScreen.horiz.setBlockIncrement((int)((double)(proj_class.zoom_factor)*(.25 * aScreen.horiz.getWidth()))); //System.out.println("Inside zoom out.\n The zoom factor is: "+proj_class.zoom_factor); //System.out.println("the vert unit increment is: "+aScreen.vert.getUnitIncrement()+" the horizontal unit increment"+aScreen.horiz.getUnitIncrement()); //System.out.println("the vert block increment is: "+aScreen.vert.getBlockIncrement()+"the horizontal unit block increment is:"+aScreen.horiz.getBlockIncrement()); //end chaplin edit. aScreen.repaint(); }else if((proj_class.zoom_factor<=1)&&(proj_class.zoom_factor>.2)){ proj_class.zoom_factor-=.1; //aScreen.horiz.setMaximum(600*proj_class.zoom_factor); //aScreen.vert.setMaximum(600*proj_class.zoom_factor); aScreen.vert.setUnitIncrement((int)((double)(proj_class.zoom_factor)*(.05 * aScreen.vert.getHeight()))); aScreen.horiz.setUnitIncrement((int)((double)(proj_class.zoom_factor)*(.05 * aScreen.horiz.getWidth()))); aScreen.vert.setBlockIncrement((int)((double)(proj_class.zoom_factor)*(.25 * aScreen.vert.getHeight()))); aScreen.horiz.setBlockIncrement((int)((double)(proj_class.zoom_factor)*(.25 * aScreen.horiz.getWidth()))); //System.out.println("Inside zoom out.\n The zoom factor is: "+proj_class.zoom_factor); //System.out.println("the vert unit increment is: "+aScreen.vert.getUnitIncrement()+" the horizontal unit increment"+aScreen.horiz.getUnitIncrement()); //System.out.println("the vert block increment is: "+aScreen.vert.getBlockIncrement()+"the horizontal unit block increment is:"+aScreen.horiz.getBlockIncrement()); //end chaplin edit. aScreen.repaint(); } } else if(e.getSource() == cancel) { if(aScreen.temp_bar!=null){ aScreen.temp_bar=null; } if(aScreen.temp_stage!=null){ aScreen.temp_stage=null; } if(aScreen.temp_instrument!=null){ aScreen.temp_instrument=null; } if(aScreen.temp_set!=null){ aScreen.temp_set=null; } if(aScreen.temp_house!=null){ aScreen.temp_house=null; } proj_class.draw_mouse_state=0; } else if(e.getSource()==confirm) { if(proj_class.draw_mouse_state==8) { //commit the adding of the stage proj_class.addStage(aScreen.temp_stage); aScreen.temp_stage=null; proj_class.draw_mouse_state=0; } else if(proj_class.draw_mouse_state==9) { proj_class.addSet(aScreen.temp_set); aScreen.temp_set=null; proj_class.draw_mouse_state=0; } else if(proj_class.draw_mouse_state==3){ //editing a bar proj_class.SetBar(aScreen.temp_bar,proj_class.selected_index); aScreen.temp_bar=null; proj_class.draw_mouse_state=0; } else if(proj_class.draw_mouse_state==4) { //editing a house proj_class.SetHouse(aScreen.temp_house,proj_class.selected_index); aScreen.temp_house=null; proj_class.draw_mouse_state=0; } else if(proj_class.draw_mouse_state==5) { //editing a stage proj_class.SetStage(aScreen.temp_stage,proj_class.selected_index); aScreen.temp_stage=null; proj_class.draw_mouse_state=0; } else if(proj_class.draw_mouse_state==10) { //editing a set object proj_class.SetSetObject(aScreen.temp_set,proj_class.selected_index); aScreen.temp_set=null; proj_class.draw_mouse_state=0; } } aScreen.repaint(); ExplorerBrowser eb=(ExplorerBrowser)ExplorerBrowser.oClass; eb.reloadChildren(); }
|
11744 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11744/46862c061ff15842a8f0cc8e101728aa44d215a5/PopUpMenu.java/buggy/src/drawing_prog/PopUpMenu.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
1984,
10296,
67,
1106,
28657,
4406,
13,
4406,
18,
83,
797,
31,
3639,
309,
261,
73,
18,
588,
1830,
1435,
422,
3874,
67,
13028,
13,
288,
5411,
368,
3163,
18,
659,
18,
8222,
2932,
4619,
310,
326,
23867,
8863,
5411,
10296,
67,
1106,
18,
9446,
67,
11697,
67,
2019,
273,
24,
31,
5411,
279,
7956,
18,
5814,
67,
13028,
33,
2704,
23867,
5621,
5411,
279,
7956,
18,
5814,
67,
13028,
18,
3530,
44,
3793,
12443,
13028,
21433,
17995,
67,
1106,
18,
76,
1481,
281,
18,
588,
67,
1612,
12,
17995,
67,
1106,
18,
8109,
67,
1615,
3719,
1769,
3639,
289,
469,
309,
261,
73,
18,
588,
1830,
1435,
422,
3874,
67,
12869,
13,
288,
5411,
368,
3163,
18,
659,
18,
8222,
2932,
4619,
310,
326,
6009,
8863,
5411,
10296,
67,
1106,
18,
9446,
67,
11697,
67,
2019,
273,
25,
31,
5411,
279,
7956,
18,
5814,
67,
12869,
33,
2704,
6009,
5621,
5411,
279,
7956,
18,
5814,
67,
12869,
18,
3530,
8755,
12443,
12869,
21433,
17995,
67,
1106,
18,
334,
1023,
18,
588,
67,
1612,
12,
17995,
67,
1106,
18,
8109,
67,
1615,
3719,
1769,
3639,
289,
469,
309,
261,
73,
18,
588,
1830,
1435,
422,
3874,
67,
3215,
13,
288,
5411,
368,
3163,
18,
659,
18,
8222,
2932,
4619,
310,
326,
4653,
8863,
5411,
10296,
67,
1106,
18,
9446,
67,
11697,
67,
2019,
273,
23,
31,
5411,
279,
7956,
18,
5814,
67,
3215,
33,
2704,
4653,
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,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
1984,
10296,
67,
1106,
28657,
4406,
13,
4406,
18,
83,
797,
31,
3639,
309,
261,
73,
18,
588,
1830,
1435,
422,
3874,
67,
13028,
13,
288,
5411,
368,
3163,
18,
659,
18,
8222,
2932,
4619,
310,
326,
23867,
8863,
5411,
10296,
67,
1106,
18,
9446,
67,
11697,
67,
2019,
273,
24,
31,
5411,
279,
7956,
18,
5814,
67,
13028,
33,
2704,
23867,
5621,
5411,
279,
7956,
18,
5814,
67,
13028,
18,
3530,
44,
3793,
12443,
13028,
21433,
17995,
67,
1106,
18,
76,
1481,
281,
18,
588,
67,
1612,
12,
17995,
67,
1106,
18,
8109,
67,
1615,
3719,
1769,
3639,
289,
469,
309,
261,
73,
18,
588,
1830,
1435,
2
] |
Driver.debug("getDriverName" + driverName);
|
if (Driver.logDebug) Driver.debug("getDriverName" + driverName);
|
public String getDriverName() throws SQLException { String driverName = "PostgreSQL Native Driver"; Driver.debug("getDriverName" + driverName); return driverName; }
|
49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/3c0896638bbf35fd0d5888f8c50dae91759a8f12/DatabaseMetaData.java/buggy/org/postgresql/jdbc2/DatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
15885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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
15885,
461,
1435,
1216,
6483,
202,
95,
202,
202,
780,
27119,
273,
315,
3349,
23896,
16717,
9396,
14432,
202,
202,
4668,
18,
4148,
2932,
588,
4668,
461,
6,
397,
27119,
1769,
202,
202,
2463,
27119,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.queueManager.getQueryManager().writeMessage(msg);
|
queueManager.getQueryManager().writeMessage(msg);
|
public void updatePersistentRequest(boolean clientToken) { if(!this.isPersistent()) return; FCPMessage msg = new FCPMessage(); msg.setMessageName("ModifyPersistentRequest"); msg.setValue("Global", Boolean.toString(this.globalQueue)); msg.setValue("Identifier", this.identifier); msg.setValue("PriorityClass", Integer.toString(this.priority)); if(clientToken && this.destinationDir != null) msg.setValue("ClientToken", this.destinationDir); this.queueManager.getQueryManager().writeMessage(msg); }
|
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/0458430a0dc8a713aa2b4d64f000cbbaaeb4adea/FCPClientGet.java/buggy/src/thaw/fcp/FCPClientGet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
11906,
691,
12,
6494,
1004,
1345,
13,
288,
202,
202,
430,
12,
5,
2211,
18,
291,
11906,
10756,
1082,
202,
2463,
31,
202,
202,
42,
4258,
1079,
1234,
273,
394,
478,
4258,
1079,
5621,
202,
202,
3576,
18,
542,
1079,
461,
2932,
11047,
11906,
691,
8863,
202,
202,
3576,
18,
542,
620,
2932,
5160,
3113,
3411,
18,
10492,
12,
2211,
18,
6347,
3183,
10019,
202,
202,
3576,
18,
542,
620,
2932,
3004,
3113,
333,
18,
5644,
1769,
202,
202,
3576,
18,
542,
620,
2932,
8183,
797,
3113,
2144,
18,
10492,
12,
2211,
18,
8457,
10019,
202,
202,
430,
12,
2625,
1345,
597,
333,
18,
10590,
1621,
480,
446,
13,
1082,
202,
3576,
18,
542,
620,
2932,
1227,
1345,
3113,
333,
18,
10590,
1621,
1769,
202,
202,
2211,
18,
4000,
1318,
18,
588,
1138,
1318,
7675,
2626,
1079,
12,
3576,
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,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1082,
202,
2463,
31,
202,
202,
42,
4258,
1079,
1234,
273,
394,
478,
4258,
1079,
5621,
202,
202,
3576,
18,
542,
1079,
461,
2932,
11047,
11906,
691,
8863,
202,
202,
3576,
18,
542,
620,
2932,
5160,
3113,
3411,
18,
10492,
12,
2211,
18,
6347,
3183,
10019,
202,
202,
3576,
18,
542,
620,
2932,
3004,
3113,
333,
18,
5644,
1769,
202,
202,
3576,
18,
542,
620,
2932,
8183,
797,
3113,
2144,
18,
10492,
12,
2211,
18,
8457,
10019,
202,
202,
430,
12,
2625,
1345,
597,
333,
18,
10590,
1621,
480,
446,
13,
1082,
202,
3576,
18,
542,
2
] |
System.out.println("Cannot read Rubyfile: \"" + fname.getValue() + "\""); System.out.println("IOEception: " + ioExcptn.getMessage());
|
getErrorStream().println("Cannot read Rubyfile: \"" + fname.getValue() + "\""); getErrorStream().println("IOEception: " + ioExcptn.getMessage());
|
public void loadFile(RubyString fname, boolean wrap) { // fname = findFile(fname); if (fname == null) { throw new RuntimeException("No such file to load -- " + fname.getValue()); } try { File rubyFile = new File(fname.getValue()); StringBuffer source = new StringBuffer((int)rubyFile.length()); BufferedReader br = new BufferedReader(new FileReader(rubyFile)); String line; while ((line = br.readLine()) != null) { source.append(line).append('\n'); } br.close(); loadScript(fname, RubyString.m_newString(ruby, source.toString()), wrap); } catch (IOException ioExcptn) { System.out.println("Cannot read Rubyfile: \"" + fname.getValue() + "\""); System.out.println("IOEception: " + ioExcptn.getMessage()); } }
|
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/2c6d31ae5651a0a0c68c2bb382ab68cea34c67d7/RubyRuntime.java/clean/org/jruby/runtime/RubyRuntime.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26953,
12,
54,
10340,
780,
5299,
16,
1250,
2193,
13,
288,
3639,
368,
5299,
273,
1104,
812,
12,
12749,
1769,
3639,
309,
261,
12749,
422,
446,
13,
288,
5411,
604,
394,
3235,
2932,
2279,
4123,
585,
358,
1262,
1493,
315,
397,
5299,
18,
24805,
10663,
3639,
289,
7734,
775,
288,
5411,
1387,
22155,
812,
273,
394,
1387,
12,
12749,
18,
24805,
10663,
5411,
6674,
1084,
273,
394,
6674,
12443,
474,
13,
27768,
812,
18,
2469,
10663,
5411,
10633,
5186,
273,
394,
10633,
12,
2704,
23010,
12,
27768,
812,
10019,
5411,
514,
980,
31,
5411,
1323,
14015,
1369,
273,
5186,
18,
896,
1670,
10756,
480,
446,
13,
288,
7734,
1084,
18,
6923,
12,
1369,
2934,
6923,
2668,
64,
82,
8284,
5411,
289,
5411,
5186,
18,
4412,
5621,
13491,
1262,
3651,
12,
12749,
16,
19817,
780,
18,
81,
67,
2704,
780,
12,
27768,
16,
1084,
18,
10492,
1435,
3631,
2193,
1769,
10792,
289,
1044,
261,
14106,
2527,
29924,
337,
82,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
4515,
855,
19817,
768,
30,
11843,
397,
5299,
18,
24805,
1435,
397,
11143,
1769,
5411,
2332,
18,
659,
18,
8222,
2932,
4294,
41,
472,
30,
315,
397,
2527,
29924,
337,
82,
18,
24906,
10663,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26953,
12,
54,
10340,
780,
5299,
16,
1250,
2193,
13,
288,
3639,
368,
5299,
273,
1104,
812,
12,
12749,
1769,
3639,
309,
261,
12749,
422,
446,
13,
288,
5411,
604,
394,
3235,
2932,
2279,
4123,
585,
358,
1262,
1493,
315,
397,
5299,
18,
24805,
10663,
3639,
289,
7734,
775,
288,
5411,
1387,
22155,
812,
273,
394,
1387,
12,
12749,
18,
24805,
10663,
5411,
6674,
1084,
273,
394,
6674,
12443,
474,
13,
27768,
812,
18,
2469,
10663,
5411,
10633,
5186,
273,
394,
10633,
12,
2704,
23010,
12,
27768,
812,
10019,
5411,
514,
980,
31,
5411,
1323,
14015,
1369,
273,
5186,
18,
896,
1670,
10756,
480,
446,
13,
288,
7734,
1084,
18,
6923,
12,
1369,
2934,
6923,
2668,
2
] |
Object val = matchOrReplace(cx, thisObj, args, funObj, rdata, true);
|
Object val = matchOrReplace(cx, thisObj, args, funObj, this, rdata, true);
|
public Object replace(Context cx, Scriptable thisObj, Object[] args, Function funObj) throws JavaScriptException { Object arg1 = args.length < 2 ? Undefined.instance : args[1]; String repstr = null; Function lambda = null; if (arg1 instanceof Function) { lambda = (Function) arg1; } else { repstr = ScriptRuntime.toString(arg1); } ReplaceData rdata = new ReplaceData(); rdata.optarg = 2; rdata.mode = GlobData.GLOB_REPLACE; rdata.lambda = lambda; rdata.repstr = repstr == null ? null : repstr.toCharArray(); rdata.dollar = repstr == null ? -1 : repstr.indexOf('$'); rdata.charArray = null; rdata.length = 0; rdata.index = 0; rdata.leftIndex = 0; Object val = matchOrReplace(cx, thisObj, args, funObj, rdata, true); char[] charArray; if (rdata.charArray == null) { if (rdata.global || val == null || !val.equals(Boolean.TRUE)) { /* Didn't match even once. */ return rdata.str; } int leftlen = this.leftContext.length; int length = leftlen + rdata.findReplen(this); charArray = new char[length]; SubString leftContext = this.leftContext; System.arraycopy(leftContext.charArray, leftContext.index, charArray, 0, leftlen); rdata.doReplace(this, charArray, leftlen); rdata.charArray = charArray; rdata.length = length; } SubString rc = this.rightContext; int rightlen = rc.length; int length = rdata.length + rightlen; charArray = new char[length]; System.arraycopy(rdata.charArray, 0, charArray, 0, rdata.charArray.length); System.arraycopy(rc.charArray, rc.index, charArray, rdata.length, rightlen); return new String(charArray, 0, length); }
|
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/8b34980fb3adc3beae5bcea5913d426dc2e366c8/RegExpImpl.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/RegExpImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1453,
12,
1042,
9494,
16,
22780,
15261,
16,
1033,
8526,
833,
16,
21821,
4284,
9831,
2675,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1033,
1501,
21,
273,
833,
18,
2469,
411,
576,
692,
22243,
18,
1336,
294,
833,
63,
21,
15533,
3639,
514,
2071,
701,
273,
446,
31,
3639,
4284,
3195,
273,
446,
31,
3639,
309,
261,
3175,
21,
1276,
4284,
13,
288,
5411,
3195,
273,
261,
2083,
13,
1501,
21,
31,
3639,
289,
469,
288,
5411,
2071,
701,
273,
7739,
5576,
18,
10492,
12,
3175,
21,
1769,
3639,
289,
3639,
6910,
751,
24291,
273,
394,
6910,
751,
5621,
3639,
24291,
18,
3838,
3175,
273,
576,
31,
3639,
24291,
18,
3188,
273,
18901,
751,
18,
43,
6038,
67,
21726,
31,
3639,
24291,
18,
14661,
273,
3195,
31,
3639,
24291,
18,
14462,
701,
273,
2071,
701,
422,
446,
692,
446,
294,
2071,
701,
18,
869,
15936,
5621,
3639,
24291,
18,
72,
25442,
273,
2071,
701,
422,
446,
692,
300,
21,
294,
2071,
701,
18,
31806,
2668,
8,
8284,
3639,
24291,
18,
3001,
1076,
273,
446,
31,
3639,
24291,
18,
2469,
273,
374,
31,
3639,
24291,
18,
1615,
273,
374,
31,
3639,
24291,
18,
4482,
1016,
273,
374,
31,
3639,
1033,
1244,
273,
845,
1162,
5729,
12,
71,
92,
16,
15261,
16,
833,
16,
9831,
2675,
16,
333,
16,
24291,
16,
638,
1769,
3639,
1149,
8526,
1149,
1076,
31,
3639,
309,
261,
86,
892,
18,
3001,
1076,
422,
446,
13,
288,
5411,
309,
261,
86,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1453,
12,
1042,
9494,
16,
22780,
15261,
16,
1033,
8526,
833,
16,
21821,
4284,
9831,
2675,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1033,
1501,
21,
273,
833,
18,
2469,
411,
576,
692,
22243,
18,
1336,
294,
833,
63,
21,
15533,
3639,
514,
2071,
701,
273,
446,
31,
3639,
4284,
3195,
273,
446,
31,
3639,
309,
261,
3175,
21,
1276,
4284,
13,
288,
5411,
3195,
273,
261,
2083,
13,
1501,
21,
31,
3639,
289,
469,
288,
5411,
2071,
701,
273,
7739,
5576,
18,
10492,
12,
3175,
21,
1769,
3639,
289,
3639,
6910,
751,
24291,
273,
394,
6910,
751,
5621,
3639,
24291,
18,
3838,
3175,
273,
576,
31,
3639,
24291,
18,
3188,
273,
18901,
751,
18,
2
] |
public void bindingManagerChanged(BindingManagerEvent event) {
|
public final void bindingManagerChanged(final BindingManagerEvent event) { final boolean schemeDefinitionsChanged = event.isSchemeIdDefined() || event.isSchemeIdUndefined(); final Set previousSchemeIds; if (schemeDefinitionsChanged) { previousSchemeIds = new HashSet(event.getManager() .getDefinedSchemeIds()); final String schemeId = event.getSchemeId(); if (event.isSchemeIdDefined()) { previousSchemeIds.remove(schemeId); } else { previousSchemeIds.add(schemeId); } } else { previousSchemeIds = null; } fireCommandManagerChanged(new CommandManagerEvent(this, false, event .hasActiveSchemeChanged(), event.hasLocaleChanged(), event .hasPlatformChanged(), false, false, event.isSchemeIdDefined() || event.isSchemeIdUndefined(), null, null, previousSchemeIds));
|
public void bindingManagerChanged(BindingManagerEvent event) { // TODO Fire a command manager event. }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/d0ca4f6e890fc7bedf11500955918b44567292ab/CommandManagerWrapper.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/CommandManagerWrapper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5085,
1318,
5033,
12,
5250,
1318,
1133,
871,
13,
288,
202,
202,
759,
2660,
10151,
279,
1296,
3301,
871,
18,
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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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public EventListener[] getListeners(Class listenerClass) { return listenerList.getListeners(listenerClass); }
|
public EventListener[] getListeners (Class listenerClass) { return listenerList.getListeners (listenerClass); }
|
public EventListener[] getListeners(Class listenerClass) { return listenerList.getListeners(listenerClass); } // getListeners()
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
22090,
8526,
336,
5583,
12,
797,
2991,
797,
13,
288,
202,
202,
2463,
2991,
682,
18,
588,
5583,
12,
12757,
797,
1769,
202,
97,
368,
336,
5583,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
22090,
8526,
336,
5583,
12,
797,
2991,
797,
13,
288,
202,
202,
2463,
2991,
682,
18,
588,
5583,
12,
12757,
797,
1769,
202,
97,
368,
336,
5583,
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
] |
String imcserver = Utility.getDomainPref("userserver",host) ;
|
IMCServiceInterface imcref = IMCServiceRMI.getIMCServiceInterfaceByHost(host) ;
|
static protected imcode.server.User allowUser( String user_name, String passwd, String host ) throws IOException { String imcserver = Utility.getDomainPref("userserver",host) ; // user information String fieldNames[] = {"user_id","login_name","login_password","first_name", "last_name","title","user","address","city","zip","country", "county_council","email","admin_mode","last_page","archive_mode" ,"lang_id" ,"user_type","active", "create_date"} ; return IMCServiceRMI.verifyUser( imcserver, new imcode.server.LoginUser( user_name,passwd ),fieldNames ) ; }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/5809d66a25d58d7ffad1cd1d9aa41c714fbcef76/StartDoc.java/buggy/servlets/StartDoc.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
4750,
709,
710,
18,
3567,
18,
1299,
1699,
1299,
12,
514,
729,
67,
529,
16,
514,
19093,
16,
514,
1479,
262,
1216,
1860,
288,
202,
780,
709,
71,
3567,
1082,
202,
33,
13134,
18,
588,
3748,
23218,
2932,
5577,
12330,
3113,
2564,
13,
274,
202,
759,
729,
1779,
202,
780,
16902,
8526,
273,
12528,
1355,
67,
350,
15937,
5819,
67,
529,
15937,
5819,
67,
3664,
15937,
3645,
67,
529,
3113,
9506,
4202,
315,
2722,
67,
529,
15937,
2649,
15937,
1355,
15937,
2867,
15937,
14240,
15937,
4450,
15937,
9082,
3113,
9506,
4202,
315,
1883,
93,
67,
71,
465,
71,
330,
15937,
3652,
15937,
3666,
67,
3188,
15937,
2722,
67,
2433,
15937,
10686,
67,
3188,
6,
269,
6,
4936,
67,
350,
6,
269,
6,
1355,
67,
723,
15937,
3535,
3113,
315,
2640,
67,
712,
6,
97,
274,
202,
2463,
6246,
39,
1179,
54,
7492,
18,
8705,
1299,
12,
709,
71,
3567,
16,
394,
709,
710,
18,
3567,
18,
5358,
1299,
12,
729,
67,
529,
16,
24002,
262,
16,
1518,
1557,
262,
274,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
4750,
709,
710,
18,
3567,
18,
1299,
1699,
1299,
12,
514,
729,
67,
529,
16,
514,
19093,
16,
514,
1479,
262,
1216,
1860,
288,
202,
780,
709,
71,
3567,
1082,
202,
33,
13134,
18,
588,
3748,
23218,
2932,
5577,
12330,
3113,
2564,
13,
274,
202,
759,
729,
1779,
202,
780,
16902,
8526,
273,
12528,
1355,
67,
350,
15937,
5819,
67,
529,
15937,
5819,
67,
3664,
15937,
3645,
67,
529,
3113,
9506,
4202,
315,
2722,
67,
529,
15937,
2649,
15937,
1355,
15937,
2867,
15937,
14240,
15937,
4450,
15937,
9082,
3113,
9506,
4202,
315,
1883,
93,
67,
71,
465,
71,
330,
15937,
3652,
15937,
3666,
67,
3188,
15937,
2722,
67,
2433,
15937,
10686,
67,
3188,
6,
269,
6,
4936,
2
] |
Node n = getXblParentNode((Node) target); while (n != null) {
|
for (Node n = ((Node) target).getParentNode(); n != null; n = n.getParentNode()) {
|
public void handleEvent(Event evt) { EventTarget target = evt.getTarget(); if (target instanceof XBLOMDefinitionElement) { // only handle definition elements in document-level scope if (getXblBoundElement((Node) target) == null) { XBLOMDefinitionElement def = (XBLOMDefinitionElement) target; if (def.getAttributeNS(null, XBL_REF_ATTRIBUTE).length() == 0) { addDefinition(def.getElementNamespaceURI(), def.getElementLocalName(), def, null); } else { addDefinitionRef(def); } } } else if (target instanceof XBLOMImportElement) { // only handle import elements in document-level scope if (getXblBoundElement((Node) target) == null) { addImport((Element) target); } } else { evt = XBLEventSupport.getUltimateOriginalEvent(evt); target = evt.getTarget(); if (target instanceof BindableElement) { // only bind it if it's not the child of a bound element Node n = getXblParentNode((Node) target); while (n != null) { if (n instanceof BindableElement && getRecord(n).definitionElement != null) { return; } } bind((Element) target); } } }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/f27e4bc1cd64feccca495d423e727c4c32b963db/DefaultXBLManager.java/clean/sources/org/apache/batik/bridge/svg12/DefaultXBLManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1640,
1133,
12,
1133,
6324,
13,
288,
5411,
2587,
2326,
1018,
273,
6324,
18,
588,
2326,
5621,
5411,
309,
261,
3299,
1276,
1139,
38,
1502,
49,
1852,
1046,
13,
288,
7734,
368,
1338,
1640,
2379,
2186,
316,
1668,
17,
2815,
2146,
7734,
309,
261,
588,
60,
3083,
3499,
1046,
12443,
907,
13,
1018,
13,
422,
446,
13,
288,
10792,
1139,
38,
1502,
49,
1852,
1046,
1652,
13491,
273,
261,
60,
38,
1502,
49,
1852,
1046,
13,
1018,
31,
10792,
309,
261,
536,
18,
588,
1499,
3156,
12,
2011,
16,
1139,
14618,
67,
10771,
67,
11616,
2934,
2469,
1435,
18701,
422,
374,
13,
288,
13491,
527,
1852,
12,
536,
18,
21336,
3402,
3098,
9334,
4766,
1377,
1652,
18,
21336,
29583,
9334,
4766,
1377,
1652,
16,
4766,
1377,
446,
1769,
10792,
289,
469,
288,
13491,
527,
1852,
1957,
12,
536,
1769,
10792,
289,
7734,
289,
5411,
289,
469,
309,
261,
3299,
1276,
1139,
38,
1502,
49,
5010,
1046,
13,
288,
7734,
368,
1338,
1640,
1930,
2186,
316,
1668,
17,
2815,
2146,
7734,
309,
261,
588,
60,
3083,
3499,
1046,
12443,
907,
13,
1018,
13,
422,
446,
13,
288,
10792,
527,
5010,
12443,
1046,
13,
1018,
1769,
7734,
289,
5411,
289,
469,
288,
7734,
6324,
273,
1139,
38,
900,
616,
6289,
18,
588,
57,
5618,
4988,
8176,
1133,
12,
73,
11734,
1769,
7734,
1018,
273,
6324,
18,
588,
2326,
5621,
7734,
309,
261,
3299,
1276,
6936,
429,
1046,
13,
288,
10792,
368,
1338,
1993,
518,
309,
518,
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,
1640,
1133,
12,
1133,
6324,
13,
288,
5411,
2587,
2326,
1018,
273,
6324,
18,
588,
2326,
5621,
5411,
309,
261,
3299,
1276,
1139,
38,
1502,
49,
1852,
1046,
13,
288,
7734,
368,
1338,
1640,
2379,
2186,
316,
1668,
17,
2815,
2146,
7734,
309,
261,
588,
60,
3083,
3499,
1046,
12443,
907,
13,
1018,
13,
422,
446,
13,
288,
10792,
1139,
38,
1502,
49,
1852,
1046,
1652,
13491,
273,
261,
60,
38,
1502,
49,
1852,
1046,
13,
1018,
31,
10792,
309,
261,
536,
18,
588,
1499,
3156,
12,
2011,
16,
1139,
14618,
67,
10771,
67,
11616,
2934,
2469,
1435,
18701,
422,
374,
13,
288,
13491,
527,
1852,
12,
536,
18,
21336,
3402,
3098,
9334,
4766,
1377,
1652,
2
] |
assertNode( root, "<synthetic>", Token.SYNTH_PARAMETER_DECLARATION, 2 );
|
assertNode(root, "<synthetic>", Token.SYNTH_PARAMETER_DECLARATION, 2);
|
public void testParameterDeclarationWithDatatype_Qualified() throws Exception { Parser parser = newParser( "java.lang.String cheese" ); CSTNode root = parser.parameterDeclarationWithDatatype(); assertNode( root, "<synthetic>", Token.SYNTH_PARAMETER_DECLARATION, 2 ); { assertNode( root.getChild( 0 ), ".", Token.DOT, 2 ); { assertNode( root.getChild( 0 ).getChild( 0 ), ".", Token.DOT, 2 ); { assertNode( root.getChild( 0 ).getChild( 0 ).getChild( 0 ), "java", Token.IDENTIFIER, 0 ); assertNode( root.getChild( 0 ).getChild( 0 ).getChild( 1 ), "lang", Token.IDENTIFIER, 0 ); } assertNode( root.getChild( 0 ).getChild( 1 ), "String", Token.IDENTIFIER, 0 ); } assertNode( root.getChild( 1 ), "cheese", Token.IDENTIFIER, 0 ); } }
|
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/3d37acd34fcf44c4a51bd104ef70043af62c7d99/ParserTest.java/clean/src/test/org/codehaus/groovy/syntax/parser/ParserTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1662,
6094,
1190,
20228,
67,
8708,
1435,
3639,
1216,
1185,
565,
288,
3639,
6783,
2082,
273,
394,
2678,
12,
315,
6290,
18,
4936,
18,
780,
19315,
3392,
6,
11272,
3639,
385,
882,
907,
1365,
273,
2082,
18,
6775,
6094,
1190,
20228,
5621,
3639,
1815,
907,
12,
1365,
16,
10792,
3532,
11982,
16466,
2984,
16,
10792,
3155,
18,
7474,
1784,
44,
67,
9819,
67,
23956,
985,
2689,
16,
10792,
576,
11272,
3639,
288,
5411,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
16,
13491,
4585,
16,
13491,
3155,
18,
17591,
16,
13491,
576,
11272,
5411,
288,
7734,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
374,
262,
16,
18701,
4585,
16,
18701,
3155,
18,
17591,
16,
18701,
576,
11272,
7734,
288,
10792,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
374,
262,
16,
27573,
315,
6290,
3113,
27573,
3155,
18,
16606,
16,
27573,
374,
11272,
10792,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
404,
262,
16,
27573,
315,
4936,
3113,
27573,
3155,
18,
16606,
16,
27573,
374,
11272,
7734,
289,
7734,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
404,
262,
16,
18701,
315,
780,
3113,
18701,
3155,
18,
16606,
16,
18701,
374,
11272,
5411,
289,
5411,
1815,
907,
12,
1365,
18,
588,
1763,
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,
1842,
1662,
6094,
1190,
20228,
67,
8708,
1435,
3639,
1216,
1185,
565,
288,
3639,
6783,
2082,
273,
394,
2678,
12,
315,
6290,
18,
4936,
18,
780,
19315,
3392,
6,
11272,
3639,
385,
882,
907,
1365,
273,
2082,
18,
6775,
6094,
1190,
20228,
5621,
3639,
1815,
907,
12,
1365,
16,
10792,
3532,
11982,
16466,
2984,
16,
10792,
3155,
18,
7474,
1784,
44,
67,
9819,
67,
23956,
985,
2689,
16,
10792,
576,
11272,
3639,
288,
5411,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
16,
13491,
4585,
16,
13491,
3155,
18,
17591,
16,
13491,
576,
11272,
5411,
288,
7734,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
374,
262,
16,
2
] |
void damageLayout()
|
private void damageLayout()
|
void damageLayout() { updateLayoutStateNeeded = 1; list.revalidate(); }
|
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/7878167de36c868f3f4b0f507094bb155efbb199/BasicListUI.java/clean/libjava/javax/swing/plaf/basic/BasicListUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
302,
301,
410,
3744,
1435,
225,
288,
565,
1089,
3744,
1119,
11449,
273,
404,
31,
565,
666,
18,
266,
5662,
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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,
282,
3238,
918,
302,
301,
410,
3744,
1435,
225,
288,
565,
1089,
3744,
1119,
11449,
273,
404,
31,
565,
666,
18,
266,
5662,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
{ switch ( buttonId )
|
protected void buttonPressed( int buttonId ) { switch ( buttonId ) { case 0 : pref = PREF_OVERWRITE; break; case 1 : pref = PREF_NOT_OVERWRITE; break; default : break; } if ( saveDecision ) { ReportPlugin.getDefault( ).getPreferenceStore( ) .setValue( PREF_KEY, pref ); } super.buttonPressed( buttonId ); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/692aa8480b4c3be59ae890f1379c68d3af72dc73/ExportToLibraryAction.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/views/actions/ExportToLibraryAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
9944,
202,
1117,
918,
3568,
24624,
12,
509,
3568,
548,
262,
25083,
202,
95,
6862,
1082,
202,
9610,
261,
3568,
548,
262,
6862,
1082,
202,
95,
6862,
9506,
202,
3593,
374,
294,
6862,
6862,
202,
25724,
273,
7071,
42,
67,
12959,
11677,
31,
6862,
6862,
202,
8820,
31,
6862,
9506,
202,
3593,
404,
294,
6862,
6862,
202,
25724,
273,
7071,
42,
67,
4400,
67,
12959,
11677,
31,
6862,
6862,
202,
8820,
31,
6862,
9506,
202,
1886,
294,
6862,
6862,
202,
8820,
31,
6862,
1082,
202,
97,
6862,
1082,
202,
430,
261,
1923,
15861,
262,
6862,
1082,
202,
95,
6862,
9506,
202,
4820,
3773,
18,
588,
1868,
12,
262,
18,
588,
9624,
2257,
12,
262,
6862,
25083,
202,
18,
542,
620,
12,
7071,
42,
67,
3297,
16,
11307,
11272,
6862,
1082,
202,
97,
6862,
1082,
202,
9565,
18,
5391,
24624,
12,
3568,
548,
11272,
25083,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
9944,
202,
1117,
918,
3568,
24624,
12,
509,
3568,
548,
262,
25083,
202,
95,
6862,
1082,
202,
9610,
261,
3568,
548,
262,
6862,
1082,
202,
95,
6862,
9506,
202,
3593,
374,
294,
6862,
6862,
202,
25724,
273,
7071,
42,
67,
12959,
11677,
31,
6862,
6862,
202,
8820,
31,
6862,
9506,
202,
3593,
404,
294,
6862,
6862,
202,
25724,
273,
7071,
42,
67,
4400,
67,
12959,
11677,
31,
6862,
6862,
202,
8820,
31,
6862,
9506,
202,
1886,
294,
6862,
6862,
202,
8820,
31,
6862,
1082,
202,
97,
6862,
1082,
202,
430,
261,
1923,
15861,
262,
6862,
1082,
202,
95,
6862,
9506,
202,
4820,
3773,
18,
588,
1868,
12,
262,
18,
588,
9624,
2257,
12,
262,
6862,
25083,
202,
18,
542,
2
] |
|
Path fullClasspath = classpath != null ? classpath.concatSystemClasspath( "ignore" ) : null; if( fullClasspath != null && fullClasspath.toString().trim().length() > 0 )
|
if( classpath != null && classpath.toString().trim().length() > 0 )
|
public int size() throws TaskException { int size = getActualVMCommand().size() + javaCommand.size() + sysProperties.size(); // classpath is "-classpath <classpath>" -> 2 args Path fullClasspath = classpath != null ? classpath.concatSystemClasspath( "ignore" ) : null; if( fullClasspath != null && fullClasspath.toString().trim().length() > 0 ) { size += 2; } // jar execution requires an additional -jar option if( executeJar ) { size++; } return size; }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/29cd889775d70bb1dad99b6bbfb08e826feda1f4/CommandlineJava.java/buggy/proposal/myrmidon/src/main/org/apache/tools/ant/types/CommandlineJava.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
963,
1435,
3639,
1216,
3837,
503,
565,
288,
3639,
509,
963,
273,
20208,
7397,
2189,
7675,
1467,
1435,
397,
2252,
2189,
18,
1467,
1435,
397,
2589,
2297,
18,
1467,
5621,
3639,
368,
10006,
353,
3701,
26302,
411,
26302,
2984,
317,
576,
833,
3639,
2666,
1983,
17461,
273,
10006,
480,
446,
692,
10006,
18,
16426,
3163,
17461,
12,
315,
6185,
6,
262,
294,
446,
31,
3639,
309,
12,
1983,
17461,
480,
446,
597,
1983,
17461,
18,
10492,
7675,
5290,
7675,
2469,
1435,
405,
374,
262,
3639,
288,
5411,
963,
1011,
576,
31,
3639,
289,
3639,
368,
7334,
4588,
4991,
392,
3312,
300,
11930,
1456,
3639,
309,
12,
1836,
10813,
262,
3639,
288,
5411,
963,
9904,
31,
3639,
289,
3639,
327,
963,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
963,
1435,
3639,
1216,
3837,
503,
565,
288,
3639,
509,
963,
273,
20208,
7397,
2189,
7675,
1467,
1435,
397,
2252,
2189,
18,
1467,
1435,
397,
2589,
2297,
18,
1467,
5621,
3639,
368,
10006,
353,
3701,
26302,
411,
26302,
2984,
317,
576,
833,
3639,
2666,
1983,
17461,
273,
10006,
480,
446,
692,
10006,
18,
16426,
3163,
17461,
12,
315,
6185,
6,
262,
294,
446,
31,
3639,
309,
12,
1983,
17461,
480,
446,
597,
1983,
17461,
18,
10492,
7675,
5290,
7675,
2469,
1435,
405,
374,
262,
3639,
288,
5411,
963,
1011,
576,
31,
3639,
289,
3639,
368,
7334,
4588,
4991,
392,
3312,
300,
11930,
1456,
3639,
309,
12,
1836,
10813,
262,
3639,
288,
5411,
963,
9904,
31,
3639,
2
] |
currentTracker.disconnected();
|
currentTracker.disconnected();
|
public void disconnected() { Logger.normal(this, "Disconnected "+this); node.usm.onDisconnect(this); node.peers.disconnected(this); synchronized(this) { isConnected = false; if(currentTracker != null) currentTracker.disconnected(); if(previousTracker != null) previousTracker.disconnected(); if(unverifiedTracker != null) unverifiedTracker.disconnected(); // Must null out to make other side prove it can // *receive* from us as well as send *to* us before // sending any more packets. currentTracker = previousTracker = unverifiedTracker = null; } node.lm.lostOrRestartedNode(this); sendHandshakeTime = System.currentTimeMillis(); }
|
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/b56544432e78796bec51263917f81ad95f9853d3/PeerNode.java/buggy/src/freenet/node/PeerNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
17853,
1435,
288,
3639,
4242,
18,
6130,
12,
2211,
16,
315,
26303,
13773,
2211,
1769,
3639,
756,
18,
407,
81,
18,
265,
18895,
12,
2211,
1769,
3639,
756,
18,
30502,
18,
2251,
8537,
12,
2211,
1769,
3639,
3852,
12,
2211,
13,
288,
5411,
20854,
273,
629,
31,
5411,
309,
12,
2972,
8135,
480,
446,
13,
7734,
783,
8135,
18,
2251,
8537,
5621,
5411,
309,
12,
11515,
8135,
480,
446,
13,
7734,
2416,
8135,
18,
2251,
8537,
5621,
5411,
309,
12,
318,
19685,
8135,
480,
446,
13,
7734,
640,
19685,
8135,
18,
2251,
8537,
5621,
5411,
368,
6753,
446,
596,
358,
1221,
1308,
4889,
450,
537,
518,
848,
5411,
368,
380,
18149,
14,
628,
584,
487,
5492,
487,
1366,
380,
869,
14,
584,
1865,
5411,
368,
5431,
1281,
1898,
12640,
18,
5411,
783,
8135,
273,
2416,
8135,
273,
640,
19685,
8135,
273,
446,
31,
3639,
289,
3639,
756,
18,
25972,
18,
383,
334,
1162,
15057,
329,
907,
12,
2211,
1769,
3639,
1366,
14545,
950,
273,
2332,
18,
2972,
28512,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
17853,
1435,
288,
3639,
4242,
18,
6130,
12,
2211,
16,
315,
26303,
13773,
2211,
1769,
3639,
756,
18,
407,
81,
18,
265,
18895,
12,
2211,
1769,
3639,
756,
18,
30502,
18,
2251,
8537,
12,
2211,
1769,
3639,
3852,
12,
2211,
13,
288,
5411,
20854,
273,
629,
31,
5411,
309,
12,
2972,
8135,
480,
446,
13,
7734,
783,
8135,
18,
2251,
8537,
5621,
5411,
309,
12,
11515,
8135,
480,
446,
13,
7734,
2416,
8135,
18,
2251,
8537,
5621,
5411,
309,
12,
318,
19685,
8135,
480,
446,
13,
7734,
640,
19685,
8135,
18,
2251,
8537,
5621,
5411,
368,
6753,
446,
596,
358,
1221,
1308,
4889,
450,
537,
518,
848,
5411,
368,
380,
18149,
14,
628,
584,
487,
5492,
2
] |
public NewsgroupInfo[] listNewsgroups(String wildmat) throws IOException
|
public NewsgroupInfo[] listNewsgroups() throws IOException
|
public NewsgroupInfo[] listNewsgroups(String wildmat) throws IOException { if(!NNTPReply.isPositiveCompletion(listActive(wildmat))) return null; return __readNewsgroupListing(); }
|
50121 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50121/00f771359d6b1a09e660fbcad4e3ced0296c3e59/NNTPClient.java/buggy/src/main/java/org/apache/commons/net/nntp/NNTPClient.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1166,
1055,
656,
966,
8526,
666,
1908,
1055,
656,
87,
1435,
1216,
1860,
565,
288,
3639,
309,
12,
5,
50,
1784,
52,
7817,
18,
291,
14900,
11238,
12,
1098,
3896,
12,
91,
545,
7373,
20349,
5411,
327,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1166,
1055,
656,
966,
8526,
666,
1908,
1055,
656,
87,
1435,
1216,
1860,
565,
288,
3639,
309,
12,
5,
50,
1784,
52,
7817,
18,
291,
14900,
11238,
12,
1098,
3896,
12,
91,
545,
7373,
20349,
5411,
327,
446,
31,
3639,
327,
1001,
896,
1908,
1055,
656,
19081,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (jj_scan_token(DOT)) return true; if (jj_scan_token(IDENTIFIER)) return true;
|
if (jj_scan_token(LBRACKET)) return true; if (jj_3R_84()) return true; if (jj_scan_token(RBRACKET)) return true;
|
final private boolean jj_3R_130() { if (jj_scan_token(DOT)) return true; if (jj_scan_token(IDENTIFIER)) return true; return false; }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/a180e9b19197c7613f1e73c6ec8a574a17011e5e/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
24417,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
17591,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
16606,
3719,
327,
638,
31,
565,
327,
629,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
24417,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
17591,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
16606,
3719,
327,
638,
31,
565,
327,
629,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 (!opSysAttribute.getOptionValues().values().contains(bugzillaOS)) {
|
if (opSysAttribute != null && !opSysAttribute.getOptionValues().values().contains(bugzillaOS)) {
|
public void setPlatformOptions(NewBugModel newBugModel) { try { // A Map from Java's OS and Platform to Buzilla's Map<String, String> java2buzillaOSMap = new HashMap<String, String>(); Map<String, String> java2buzillaPlatformMap = new HashMap<String, String>(); java2buzillaPlatformMap.put("x86", "PC"); java2buzillaPlatformMap.put("x86_64", "PC"); java2buzillaPlatformMap.put("ia64", "PC"); java2buzillaPlatformMap.put("ia64_32", "PC"); java2buzillaPlatformMap.put("sparc", "Sun"); java2buzillaPlatformMap.put("ppc", "Power"); java2buzillaOSMap.put("aix", "AIX"); java2buzillaOSMap.put("hpux", "HP-UX"); java2buzillaOSMap.put("linux", "Linux"); java2buzillaOSMap.put("macosx", "MacOS X"); java2buzillaOSMap.put("qnx", "QNX-Photon"); java2buzillaOSMap.put("solaris", "Solaris"); java2buzillaOSMap.put("win32", "Windows All"); // Get OS Lookup Map // Check that the result is in Values, if it is not, set it to other Attribute opSysAttribute = newBugModel.getAttribute(BugReport.ATTRIBUTE_OS); Attribute platformAttribute = newBugModel.getAttribute(BugReport.ATTRIBUTE_PLATFORM); String OS = Platform.getOS(); String platform = Platform.getOSArch(); String bugzillaOS = null; // Bugzilla String for OS String bugzillaPlatform = null; // Bugzilla String for Platform if (java2buzillaOSMap != null && java2buzillaOSMap.containsKey(OS) && opSysAttribute != null && opSysAttribute.getOptionValues() != null) { bugzillaOS = java2buzillaOSMap.get(OS); if (!opSysAttribute.getOptionValues().values().contains(bugzillaOS)) { // If the OS we found is not in the list of available // options, set bugzillaOS // to null, and just use "other" bugzillaOS = null; } } else { // If we have a strangeOS, then just set buzillaOS to null, and // use "other" bugzillaOS = null; } if (platform != null && java2buzillaPlatformMap.containsKey(platform)) { bugzillaPlatform = java2buzillaPlatformMap.get(platform); if (!platformAttribute.getOptionValues().values().contains(bugzillaPlatform)) { // If the platform we found is not int the list of available // optinos, set the // Bugzilla Platform to null, and juse use "other" bugzillaPlatform = null; } } else { // If we have a strange platform, then just set bugzillaPatforrm // to null, and use "other" bugzillaPlatform = null; } // Set the OS and the Platform in the model if (bugzillaOS != null) opSysAttribute.setValue(bugzillaOS); if (bugzillaPlatform != null) platformAttribute.setValue(bugzillaPlatform); } catch (Exception e) { MylarStatusHandler.fail(e, "could not set platform options", false); } }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/f1139ff3ef8fb300ddb7165093efb198f93dc7f2/AbstractBugzillaWizardPage.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/AbstractBugzillaWizardPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
8201,
1320,
12,
1908,
19865,
1488,
394,
19865,
1488,
13,
288,
202,
202,
698,
288,
1082,
202,
759,
432,
1635,
628,
5110,
1807,
5932,
471,
11810,
358,
605,
89,
15990,
1807,
1082,
202,
863,
32,
780,
16,
514,
34,
2252,
22,
70,
89,
15990,
4618,
863,
273,
394,
4317,
32,
780,
16,
514,
34,
5621,
1082,
202,
863,
32,
780,
16,
514,
34,
2252,
22,
70,
89,
15990,
8201,
863,
273,
394,
4317,
32,
780,
16,
514,
34,
5621,
1082,
202,
6290,
22,
70,
89,
15990,
8201,
863,
18,
458,
2932,
92,
5292,
3113,
315,
3513,
8863,
1082,
202,
6290,
22,
70,
89,
15990,
8201,
863,
18,
458,
2932,
92,
5292,
67,
1105,
3113,
315,
3513,
8863,
1082,
202,
6290,
22,
70,
89,
15990,
8201,
863,
18,
458,
2932,
1155,
1105,
3113,
315,
3513,
8863,
1082,
202,
6290,
22,
70,
89,
15990,
8201,
863,
18,
458,
2932,
1155,
1105,
67,
1578,
3113,
315,
3513,
8863,
1082,
202,
6290,
22,
70,
89,
15990,
8201,
863,
18,
458,
2932,
87,
1065,
71,
3113,
315,
29636,
8863,
1082,
202,
6290,
22,
70,
89,
15990,
8201,
863,
18,
458,
2932,
84,
2436,
3113,
315,
13788,
8863,
1082,
202,
6290,
22,
70,
89,
15990,
4618,
863,
18,
458,
2932,
69,
697,
3113,
315,
37,
12507,
8863,
1082,
202,
6290,
22,
70,
89,
15990,
4618,
863,
18,
458,
2932,
15373,
2616,
3113,
315,
2500,
17,
57,
60,
8863,
1082,
202,
6290,
22,
70,
89,
15990,
4618,
863,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
8201,
1320,
12,
1908,
19865,
1488,
394,
19865,
1488,
13,
288,
202,
202,
698,
288,
1082,
202,
759,
432,
1635,
628,
5110,
1807,
5932,
471,
11810,
358,
605,
89,
15990,
1807,
1082,
202,
863,
32,
780,
16,
514,
34,
2252,
22,
70,
89,
15990,
4618,
863,
273,
394,
4317,
32,
780,
16,
514,
34,
5621,
1082,
202,
863,
32,
780,
16,
514,
34,
2252,
22,
70,
89,
15990,
8201,
863,
273,
394,
4317,
32,
780,
16,
514,
34,
5621,
1082,
202,
6290,
22,
70,
89,
15990,
8201,
863,
18,
458,
2932,
92,
5292,
3113,
315,
3513,
8863,
1082,
202,
6290,
22,
70,
89,
15990,
8201,
863,
18,
458,
2932,
92,
5292,
67,
1105,
3113,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.