rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
return;
public static void getContentAncestryValues(GenericDelegator delegator, String contentId, String contentAssocTypeId, String direction, List contentAncestorList) throws GenericEntityException { String contentIdField = null; String contentIdOtherField = null; if (direction != null && direction.equalsIgnoreCase("to")) { contentIdField = "contentId"; contentIdOtherField = "contentIdTo"; } else { contentIdField = "contentIdTo"; contentIdOtherField = "contentId"; } //if (Debug.infoOn()) Debug.logInfo("getContentAncestry, contentId:" + contentId, ""); try { List lst = delegator.findByAndCache("ContentAssoc", UtilMisc.toMap(contentIdField, contentId, "contentAssocTypeId", contentAssocTypeId)); //if (Debug.infoOn()) Debug.logInfo("getContentAncestry, lst:" + lst, ""); List lst2 = EntityUtil.filterByDate(lst); //if (Debug.infoOn()) Debug.logInfo("getContentAncestry, lst2:" + lst2, ""); if (lst2.size() > 0) { GenericValue contentAssoc = (GenericValue)lst2.get(0); getContentAncestryValues(delegator, contentAssoc.getString(contentIdOtherField), contentAssocTypeId, direction, contentAncestorList); GenericValue content = delegator.findByPrimaryKeyCache("Content", UtilMisc.toMap("contentId", contentAssoc.getString(contentIdOtherField))); contentAncestorList.add(content); } } catch(GenericEntityException e) { Debug.logError(e,module); return; } return; }
45953 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45953/084ff1b883fa2b123482e9a10ad279bdedf0f8fe/ContentWorker.java/buggy/applications/content/src/org/ofbiz/content/content/ContentWorker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 5154, 979, 27626, 1972, 12, 7014, 15608, 639, 11158, 639, 16, 514, 16095, 16, 514, 913, 16974, 11731, 16, 514, 4068, 16, 987, 913, 15637, 682, 13, 1216, 7928, 1943, 503, 288, 3639, 514, 16095, 974, 273, 446, 31, 3639, 514, 16095, 8290, 974, 273, 446, 31, 3639, 309, 261, 9855, 480, 446, 597, 4068, 18, 14963, 5556, 2932, 869, 6, 3719, 288, 5411, 16095, 974, 273, 315, 1745, 548, 14432, 5411, 16095, 8290, 974, 273, 315, 1745, 28803, 14432, 3639, 289, 469, 288, 5411, 16095, 974, 273, 315, 1745, 28803, 14432, 5411, 16095, 8290, 974, 273, 315, 1745, 548, 14432, 3639, 289, 10792, 368, 430, 261, 2829, 18, 1376, 1398, 10756, 4015, 18, 1330, 966, 2932, 588, 1350, 979, 27626, 16, 16095, 2773, 397, 16095, 16, 1408, 1769, 3639, 775, 288, 5411, 987, 9441, 273, 11158, 639, 18, 4720, 858, 1876, 1649, 2932, 1350, 16974, 3113, 3564, 11729, 71, 18, 869, 863, 12, 1745, 548, 974, 16, 16095, 16, 315, 1745, 16974, 11731, 3113, 913, 16974, 11731, 10019, 5411, 368, 430, 261, 2829, 18, 1376, 1398, 10756, 4015, 18, 1330, 966, 2932, 588, 1350, 979, 27626, 16, 9441, 2773, 397, 9441, 16, 1408, 1769, 5411, 987, 9441, 22, 273, 3887, 1304, 18, 2188, 858, 1626, 12, 16923, 1769, 5411, 368, 430, 261, 2829, 18, 1376, 1398, 10756, 4015, 18, 1330, 966, 2932, 588, 1350, 979, 27626, 16, 9441, 22, 2773, 397, 9441, 22, 16, 1408, 1769, 5411, 309, 261, 16923, 22, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 5154, 979, 27626, 1972, 12, 7014, 15608, 639, 11158, 639, 16, 514, 16095, 16, 514, 913, 16974, 11731, 16, 514, 4068, 16, 987, 913, 15637, 682, 13, 1216, 7928, 1943, 503, 288, 3639, 514, 16095, 974, 273, 446, 31, 3639, 514, 16095, 8290, 974, 273, 446, 31, 3639, 309, 261, 9855, 480, 446, 597, 4068, 18, 14963, 5556, 2932, 869, 6, 3719, 288, 5411, 16095, 974, 273, 315, 1745, 548, 14432, 5411, 16095, 8290, 974, 273, 315, 1745, 28803, 14432, 3639, 289, 469, 288, 5411, 16095, 974, 273, 315, 1745, 28803, 14432, 5411, 16095, 8290, 974, 273, 315, 1745, 548, 14432, 3639, 289, 10792, 368, 430, 261, 2829, 18, 1376, 1398, 10756, 4015, 18, 1330, 2 ]
public SipStack createSipStack(Properties properties) throws PeerUnavailableException { String ipAddress = properties.getProperty("javax.sip.IP_ADDRESS"); // IP address was not specified in the properties. // this means that the architecture supports a single sip stack // and each listening point is assinged its own IP address. if ( ipAddress == null) { if (mySipStack == null) { mySipStack = createStack(properties); } return mySipStack; } else { // Check to see if a stack with that IP Address is already // created, if so select it to be returned int i = 0; for (i = 0; i < sipStackList.size(); i++) { if (((SipStack) sipStackList.get(i)).getIPAddress().equals( ipAddress )) { return (SipStack) sipStackList.get(i); } } return createStack(properties); } }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/96660c39afafbc0a1321aeb0bd2525ec08ab39b0/SipFactory.java/clean/src/javax/sip/SipFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 225, 13475, 2624, 225, 752, 17550, 2624, 12, 2297, 225, 1790, 13, 1082, 202, 15069, 225, 10669, 15357, 225, 288, 202, 202, 780, 225, 17138, 225, 273, 225, 1790, 18, 588, 1396, 2932, 28384, 18, 28477, 18, 2579, 67, 15140, 8863, 202, 202, 759, 225, 2971, 225, 1758, 225, 1703, 225, 486, 225, 1269, 225, 316, 225, 326, 225, 1790, 18, 202, 202, 759, 225, 333, 225, 4696, 225, 716, 225, 326, 225, 27418, 225, 6146, 225, 279, 225, 2202, 225, 10341, 225, 2110, 21114, 202, 759, 225, 471, 225, 1517, 225, 13895, 225, 1634, 225, 353, 225, 1551, 310, 329, 225, 2097, 225, 4953, 225, 2971, 225, 1758, 18, 202, 202, 430, 225, 261, 225, 17138, 225, 422, 225, 446, 13, 225, 288, 1082, 202, 430, 225, 261, 4811, 17550, 2624, 225, 422, 225, 446, 13, 225, 288, 9506, 202, 4811, 17550, 2624, 225, 273, 225, 752, 2624, 12, 4738, 1769, 1082, 202, 97, 1082, 202, 2463, 225, 3399, 17550, 2624, 31, 202, 202, 97, 225, 469, 225, 288, 1082, 202, 759, 225, 2073, 225, 358, 225, 2621, 225, 309, 225, 279, 225, 2110, 225, 598, 225, 716, 225, 2971, 225, 5267, 225, 353, 225, 1818, 1082, 202, 759, 225, 2522, 16, 225, 309, 225, 1427, 225, 2027, 225, 518, 225, 358, 225, 506, 225, 2106, 1082, 202, 474, 225, 277, 225, 273, 225, 374, 31, 1082, 202, 1884, 225, 261, 77, 225, 273, 225, 374, 31, 225, 277, 225, 411, 225, 10341, 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, 225, 13475, 2624, 225, 752, 17550, 2624, 12, 2297, 225, 1790, 13, 1082, 202, 15069, 225, 10669, 15357, 225, 288, 202, 202, 780, 225, 17138, 225, 273, 225, 1790, 18, 588, 1396, 2932, 28384, 18, 28477, 18, 2579, 67, 15140, 8863, 202, 202, 759, 225, 2971, 225, 1758, 225, 1703, 225, 486, 225, 1269, 225, 316, 225, 326, 225, 1790, 18, 202, 202, 759, 225, 333, 225, 4696, 225, 716, 225, 326, 225, 27418, 225, 6146, 225, 279, 225, 2202, 225, 10341, 225, 2110, 21114, 202, 759, 225, 471, 225, 1517, 225, 13895, 225, 1634, 225, 353, 225, 1551, 310, 329, 225, 2097, 225, 4953, 225, 2971, 225, 1758, 18, 202, 202, 430, 225, 261, 225, 2 ]
TreeUtil.addChildren(element, chameleon); return element;
return chameleon;
public static TreeElement createTokenElement(Lexer lexer, CharTable table) { IElementType tokenType = lexer.getTokenType(); if (tokenType == null) return null; if (tokenType == DOC_COMMENT) { CompositeElement element = Factory.createCompositeElement(tokenType); LeafElement chameleon = Factory.createLeafElement(DOC_COMMENT_TEXT, lexer.getBuffer(), lexer.getTokenStart(), lexer.getTokenEnd(), lexer.getState(), table); TreeUtil.addChildren(element, chameleon); return element; } else { final LeafElement leafElement = Factory.createLeafElement(tokenType, lexer.getBuffer(), lexer.getTokenStart(), lexer.getTokenEnd(), lexer.getState(), table); leafElement.setState(lexer.getState()); return leafElement; } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/7cc49f57fd75f032b80560ecde54c4a99bda9ac7/ParseUtil.java/buggy/source/com/intellij/psi/impl/source/parsing/ParseUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 4902, 1046, 752, 1345, 1046, 12, 13356, 8512, 16, 3703, 1388, 1014, 13, 288, 565, 467, 17481, 22302, 273, 8512, 18, 588, 28675, 5621, 565, 309, 261, 2316, 559, 422, 446, 13, 327, 446, 31, 565, 309, 261, 2316, 559, 422, 5467, 39, 67, 12200, 13, 288, 1377, 14728, 1046, 930, 273, 7822, 18, 2640, 9400, 1046, 12, 2316, 559, 1769, 1377, 23383, 1046, 462, 301, 6516, 265, 273, 7822, 18, 2640, 9858, 1046, 12, 19693, 67, 12200, 67, 5151, 16, 8512, 18, 588, 1892, 9334, 8512, 18, 588, 1345, 1685, 9334, 4766, 13491, 8512, 18, 588, 1345, 1638, 9334, 8512, 18, 588, 1119, 9334, 1014, 1769, 1377, 4902, 1304, 18, 1289, 4212, 12, 2956, 16, 462, 301, 6516, 265, 1769, 1377, 327, 930, 31, 565, 289, 565, 469, 288, 1377, 727, 23383, 1046, 7839, 1046, 273, 7822, 18, 2640, 9858, 1046, 12, 2316, 559, 16, 8512, 18, 588, 1892, 9334, 8512, 18, 588, 1345, 1685, 9334, 8512, 18, 588, 1345, 1638, 9334, 4766, 27573, 8512, 18, 588, 1119, 9334, 1014, 1769, 1377, 7839, 1046, 18, 542, 1119, 12, 31731, 18, 588, 1119, 10663, 1377, 327, 7839, 1046, 31, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 4902, 1046, 752, 1345, 1046, 12, 13356, 8512, 16, 3703, 1388, 1014, 13, 288, 565, 467, 17481, 22302, 273, 8512, 18, 588, 28675, 5621, 565, 309, 261, 2316, 559, 422, 446, 13, 327, 446, 31, 565, 309, 261, 2316, 559, 422, 5467, 39, 67, 12200, 13, 288, 1377, 14728, 1046, 930, 273, 7822, 18, 2640, 9400, 1046, 12, 2316, 559, 1769, 1377, 23383, 1046, 462, 301, 6516, 265, 273, 7822, 18, 2640, 9858, 1046, 12, 19693, 67, 12200, 67, 5151, 16, 8512, 18, 588, 1892, 9334, 8512, 18, 588, 1345, 1685, 9334, 4766, 13491, 8512, 18, 588, 1345, 1638, 9334, 8512, 18, 588, 1119, 9334, 1014, 1769, 1377, 4902, 1304, 18, 1289, 4212, 12, 2956, 16, 2 ]
if (PC == switchPC + switchOffsets[nextIndex] && switchOffsets[nextIndex] != defaultSwitchOffset
if (getPC() == switchPC + switchOffsets[nextIndex] && switchOffsets[nextIndex] != getDefaultSwitchOffset()
public void sawOpcode(int seen) { switch (seen) { case TABLESWITCH: case LOOKUPSWITCH: switchPC = PC; inSwitch = true; reachable = false; nextIndex = 0; break; default: } if (inSwitch && nextIndex >= switchOffsets.length) inSwitch = false; if (inSwitch) { if (PC == switchPC + switchOffsets[nextIndex] && switchOffsets[nextIndex] != defaultSwitchOffset ) { if ( nextIndex>0 && reachable) { int endOfPreviousCase = lineNumbers.getSourceLine(PC-1); int startOfNextCase = lineNumbers.getSourceLine(PC); int previousLabel = switchLabels[nextIndex-1]; int nextLabel = switchLabels[nextIndex]; if (!(previousLabel == 10 && nextLabel == 13) && !(previousLabel == 13 && nextLabel == 10) && startOfNextCase - endOfPreviousCase <= 2) { System.out.println("Reached the switch for " + switchLabels[nextIndex] + " at line number " + startOfNextCase + " in " + betterMethodName); } /* System.out.println("switchPC: " + switchPC); System.out.println("nextIndex: " + nextIndex); System.out.println("switchOffset[nextIndex]: " + switchOffsets[nextIndex]); for(int i = 0; i < switchOffsets.length; i++) System.out.println(" " + switchLabels[i] + " " + (switchPC + switchOffsets[i])); */ } do { nextIndex++; if (nextIndex >= switchOffsets.length) { inSwitch = false; break; } } while (PC == switchPC + switchOffsets[nextIndex]); } } switch (seen) { case TABLESWITCH: case LOOKUPSWITCH: case ATHROW: case RETURN: case ARETURN: case IRETURN: case LRETURN: case DRETURN: case FRETURN: case GOTO_W: case GOTO: reachable = false; break; default: reachable = true; } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/576aefec1a0617bbdee3170c52071027f9fe03db/SwitchFallthrough.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/SwitchFallthrough.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19821, 22808, 12, 474, 5881, 13, 288, 202, 9610, 261, 15156, 13, 288, 202, 202, 3593, 7567, 18746, 25588, 30, 202, 202, 3593, 1806, 31581, 18746, 25588, 30, 202, 202, 9610, 3513, 273, 26300, 31, 202, 202, 267, 10200, 273, 638, 31, 202, 202, 17246, 273, 629, 31, 202, 202, 4285, 1016, 273, 374, 31, 202, 202, 8820, 31, 202, 202, 1886, 30, 202, 202, 97, 202, 430, 261, 267, 10200, 597, 22262, 1545, 1620, 13830, 18, 2469, 13, 3196, 202, 267, 10200, 273, 629, 31, 202, 430, 261, 267, 10200, 13, 288, 202, 225, 309, 261, 3513, 422, 1620, 3513, 397, 1620, 13830, 63, 4285, 1016, 65, 202, 202, 10, 10, 1620, 13830, 63, 4285, 1016, 65, 480, 805, 10200, 2335, 202, 202, 13, 288, 202, 202, 430, 261, 22262, 34, 20, 597, 19234, 13, 288, 1082, 565, 509, 20706, 8351, 2449, 273, 980, 10072, 18, 588, 1830, 1670, 12, 3513, 17, 21, 1769, 1082, 565, 509, 787, 951, 2134, 2449, 273, 980, 10072, 18, 588, 1830, 1670, 12, 3513, 1769, 1082, 565, 509, 2416, 2224, 273, 1620, 5888, 63, 4285, 1016, 17, 21, 15533, 1082, 565, 509, 1024, 2224, 273, 1620, 5888, 63, 4285, 1016, 15533, 1082, 225, 309, 16051, 12, 11515, 2224, 422, 1728, 597, 1024, 2224, 422, 5958, 13, 1082, 4202, 597, 401, 12, 11515, 2224, 422, 5958, 597, 1024, 2224, 422, 1728, 13, 1082, 4202, 597, 787, 951, 2134, 2449, 300, 20706, 8351, 2449, 1648, 576, 13, 288, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19821, 22808, 12, 474, 5881, 13, 288, 202, 9610, 261, 15156, 13, 288, 202, 202, 3593, 7567, 18746, 25588, 30, 202, 202, 3593, 1806, 31581, 18746, 25588, 30, 202, 202, 9610, 3513, 273, 26300, 31, 202, 202, 267, 10200, 273, 638, 31, 202, 202, 17246, 273, 629, 31, 202, 202, 4285, 1016, 273, 374, 31, 202, 202, 8820, 31, 202, 202, 1886, 30, 202, 202, 97, 202, 430, 261, 267, 10200, 597, 22262, 1545, 1620, 13830, 18, 2469, 13, 3196, 202, 267, 10200, 273, 629, 31, 202, 430, 261, 267, 10200, 13, 288, 202, 225, 309, 261, 3513, 422, 1620, 3513, 397, 1620, 13830, 63, 4285, 1016, 65, 202, 202, 10, 10, 1620, 13830, 63, 4285, 2 ]
if (lastBuild == null) { command.createArgument().setValue("HEAD:COMMITTED"); } else { command.createArgument().setValue( "{" + SVN_DATE_FORMAT_IN.format(lastBuild) + "}" + ":" + headRevision); }
command.createArgument().setValue("{" + formatSVNDate(lastBuild) + "}" + ":" + "{" + formatSVNDate(checkTime) + "}");
Commandline buildHistoryCommand(Date lastBuild, String headRevision) throws CruiseControlException { Commandline command = new Commandline(); command.setExecutable("svn"); if (localWorkingCopy != null) { command.setWorkingDirectory(localWorkingCopy); } command.createArgument().setValue("log"); command.createArgument().setValue("--non-interactive"); command.createArgument().setValue("--xml"); command.createArgument().setValue("-v"); command.createArgument().setValue("-r"); if (lastBuild == null) { command.createArgument().setValue("HEAD:COMMITTED"); } else { command.createArgument().setValue( "{" + SVN_DATE_FORMAT_IN.format(lastBuild) + "}" + ":" + headRevision); } if (userName != null) { command.createArgument().setValue("--username"); command.createArgument().setValue(userName); } if (password != null) { command.createArgument().setValue("--password"); command.createArgument().setValue(password); } if (repositoryLocation != null) { command.createArgument().setValue(repositoryLocation); } LOG.debug("Executing command: " + command); return command; }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/b603dd3085c9561352af61ffdc9bbb7fc55816d6/SVN.java/buggy/main/src/net/sourceforge/cruisecontrol/sourcecontrols/SVN.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3498, 1369, 1361, 5623, 2189, 12, 1626, 1142, 3116, 16, 514, 910, 7939, 13, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 3498, 1369, 1296, 273, 394, 3498, 1369, 5621, 3639, 1296, 18, 542, 17709, 2932, 31505, 8863, 3639, 309, 261, 3729, 14836, 2951, 480, 446, 13, 288, 5411, 1296, 18, 542, 14836, 2853, 12, 3729, 14836, 2951, 1769, 3639, 289, 3639, 1296, 18, 2640, 1379, 7675, 542, 620, 2932, 1330, 8863, 3639, 1296, 18, 2640, 1379, 7675, 542, 620, 2932, 413, 5836, 17, 24761, 8863, 3639, 1296, 18, 2640, 1379, 7675, 542, 620, 2932, 413, 2902, 8863, 3639, 1296, 18, 2640, 1379, 7675, 542, 620, 2932, 17, 90, 8863, 3639, 1296, 18, 2640, 1379, 7675, 542, 620, 2932, 17, 86, 8863, 3639, 309, 261, 2722, 3116, 422, 446, 13, 288, 5411, 1296, 18, 2640, 1379, 7675, 542, 620, 2932, 12458, 30, 18658, 6404, 8863, 3639, 289, 469, 288, 5411, 1296, 18, 2640, 1379, 7675, 542, 620, 12, 7734, 18173, 397, 29537, 50, 67, 4594, 67, 7254, 67, 706, 18, 2139, 12, 2722, 3116, 13, 397, 11883, 397, 6153, 397, 910, 7939, 1769, 3639, 289, 3639, 309, 261, 1355, 461, 480, 446, 13, 288, 5411, 1296, 18, 2640, 1379, 7675, 542, 620, 2932, 413, 5053, 8863, 5411, 1296, 18, 2640, 1379, 7675, 542, 620, 12, 1355, 461, 1769, 3639, 289, 3639, 309, 261, 3664, 480, 446, 13, 288, 5411, 1296, 18, 2640, 1379, 7675, 542, 620, 2932, 413, 3664, 8863, 5411, 1296, 18, 2640, 1379, 7675, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3498, 1369, 1361, 5623, 2189, 12, 1626, 1142, 3116, 16, 514, 910, 7939, 13, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 3498, 1369, 1296, 273, 394, 3498, 1369, 5621, 3639, 1296, 18, 542, 17709, 2932, 31505, 8863, 3639, 309, 261, 3729, 14836, 2951, 480, 446, 13, 288, 5411, 1296, 18, 542, 14836, 2853, 12, 3729, 14836, 2951, 1769, 3639, 289, 3639, 1296, 18, 2640, 1379, 7675, 542, 620, 2932, 1330, 8863, 3639, 1296, 18, 2640, 1379, 7675, 542, 620, 2932, 413, 5836, 17, 24761, 8863, 3639, 1296, 18, 2640, 1379, 7675, 542, 620, 2932, 413, 2902, 8863, 3639, 1296, 18, 2640, 1379, 7675, 542, 620, 2932, 17, 90, 8863, 3639, 1296, 18, 2640, 1379, 7675, 542, 620, 2 ]
ins = new FileInputStream(l_BundleFile);
ins = new FileInputStream(propsFile);
private void processBundle(final String bundleFile, final int i, final boolean checkLoaded) throws BuildException { String l_BundleFile = bundleFile + ".properties"; FileInputStream ins = null; try { ins = new FileInputStream(l_BundleFile); loaded = true; bundleLastModified[i] = new File(l_BundleFile).lastModified(); log("Using " + l_BundleFile, Project.MSG_DEBUG); loadResourceMap(ins); } catch (IOException ioe) { log(l_BundleFile + " not found.", Project.MSG_DEBUG); //if all resource files associated with this bundle //have been scanned for and still not able to //find a single resrouce file, throw exception if (!loaded && checkLoaded) { throw new BuildException(ioe.getMessage(), location); } } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/5c43f6c93edfa3d34075b59a4ae199eb7257dab9/Translate.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/i18n/Translate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 3405, 12, 6385, 514, 3440, 812, 16, 727, 509, 277, 16, 1171, 9079, 727, 1250, 866, 8835, 13, 1216, 18463, 288, 3639, 514, 328, 67, 3405, 812, 273, 3440, 812, 397, 3552, 4738, 14432, 3639, 11907, 2763, 273, 446, 31, 3639, 775, 288, 5411, 2763, 273, 394, 11907, 12, 9693, 812, 1769, 5411, 4203, 273, 638, 31, 5411, 3440, 14747, 63, 77, 65, 273, 394, 1387, 12, 80, 67, 3405, 812, 2934, 2722, 4575, 5621, 5411, 613, 2932, 7736, 315, 397, 328, 67, 3405, 812, 16, 5420, 18, 11210, 67, 9394, 1769, 5411, 1262, 1420, 863, 12, 2679, 1769, 3639, 289, 1044, 261, 14106, 10847, 13, 288, 5411, 613, 12, 80, 67, 3405, 812, 397, 315, 486, 1392, 1199, 16, 5420, 18, 11210, 67, 9394, 1769, 5411, 368, 430, 777, 1058, 1390, 3627, 598, 333, 3440, 5411, 368, 21516, 2118, 22711, 364, 471, 4859, 486, 7752, 358, 5411, 368, 4720, 279, 2202, 400, 303, 3965, 585, 16, 604, 1520, 5411, 309, 16051, 4230, 597, 866, 8835, 13, 288, 7734, 604, 394, 18463, 12, 1594, 73, 18, 24906, 9334, 2117, 1769, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 3405, 12, 6385, 514, 3440, 812, 16, 727, 509, 277, 16, 1171, 9079, 727, 1250, 866, 8835, 13, 1216, 18463, 288, 3639, 514, 328, 67, 3405, 812, 273, 3440, 812, 397, 3552, 4738, 14432, 3639, 11907, 2763, 273, 446, 31, 3639, 775, 288, 5411, 2763, 273, 394, 11907, 12, 9693, 812, 1769, 5411, 4203, 273, 638, 31, 5411, 3440, 14747, 63, 77, 65, 273, 394, 1387, 12, 80, 67, 3405, 812, 2934, 2722, 4575, 5621, 5411, 613, 2932, 7736, 315, 397, 328, 67, 3405, 812, 16, 5420, 18, 11210, 67, 9394, 1769, 5411, 1262, 1420, 863, 12, 2679, 1769, 3639, 289, 1044, 261, 14106, 10847, 13, 288, 5411, 613, 12, 80, 67, 3405, 812, 397, 2 ]
assertFalse("Unexcepted exception : " + e.getMessage(), true);
assertFalse("Unexpected exception : " + e.getMessage(), true);
public void testExportToClipboard_background() { TransferHandler handler = new TransferHandler("background"); JTextArea textArea = new JTextArea("ABCD"); textArea.setBackground(Color.RED); Clipboard clip = new Clipboard("non system"); handler.exportToClipboard(textArea, clip, TransferHandler.COPY); DataFlavor flavor = null; try { flavor = new DataFlavor("application/x-java-jvm-local-objectref;" + "class=java.awt.Color"); } catch (ClassNotFoundException e) { assertFalse("Unexcepted exception : " + e.getMessage(), true); } try { Transferable trans = clip.getContents(null); Object obj = trans.getTransferData(flavor); assertEquals(Color.RED, obj); } catch (IOException e) { } catch (UnsupportedFlavorException e) { } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/87f9b296c72b9c79e26774019e145f4b43632216/TransferHandlerTest.java/clean/modules/swing/src/test/api/java/common/javax/swing/TransferHandlerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6144, 774, 15339, 3752, 67, 9342, 1435, 288, 3639, 12279, 1503, 1838, 273, 394, 12279, 1503, 2932, 9342, 8863, 3639, 804, 1528, 5484, 977, 5484, 273, 394, 804, 1528, 5484, 2932, 2090, 10160, 8863, 3639, 977, 5484, 18, 542, 8199, 12, 2957, 18, 5879, 1769, 3639, 385, 3169, 3752, 6807, 273, 394, 385, 3169, 3752, 2932, 5836, 2619, 8863, 3639, 1838, 18, 6530, 774, 15339, 3752, 12, 955, 5484, 16, 4766, 1850, 6807, 16, 4766, 1850, 12279, 1503, 18, 24875, 1769, 3639, 1910, 2340, 9444, 19496, 273, 446, 31, 3639, 775, 288, 5411, 19496, 273, 394, 1910, 2340, 9444, 2932, 3685, 19, 92, 17, 6290, 17, 78, 3489, 17, 3729, 17, 1612, 1734, 4868, 7682, 397, 315, 1106, 33, 6290, 18, 2219, 88, 18, 2957, 8863, 3639, 289, 1044, 261, 797, 3990, 425, 13, 288, 5411, 1815, 8381, 2932, 7762, 1520, 294, 315, 397, 425, 18, 24906, 9334, 638, 1769, 3639, 289, 3639, 775, 288, 5411, 12279, 429, 906, 273, 6807, 18, 588, 6323, 12, 2011, 1769, 5411, 1033, 1081, 273, 906, 18, 588, 5912, 751, 12, 2242, 9444, 1769, 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, 6144, 774, 15339, 3752, 67, 9342, 1435, 288, 3639, 12279, 1503, 1838, 273, 394, 12279, 1503, 2932, 9342, 8863, 3639, 804, 1528, 5484, 977, 5484, 273, 394, 804, 1528, 5484, 2932, 2090, 10160, 8863, 3639, 977, 5484, 18, 542, 8199, 12, 2957, 18, 5879, 1769, 3639, 385, 3169, 3752, 6807, 273, 394, 385, 3169, 3752, 2932, 5836, 2619, 8863, 3639, 1838, 18, 6530, 774, 15339, 3752, 12, 955, 5484, 16, 4766, 1850, 6807, 16, 4766, 1850, 12279, 1503, 18, 24875, 1769, 3639, 1910, 2340, 9444, 19496, 273, 446, 31, 3639, 775, 288, 5411, 19496, 273, 394, 1910, 2340, 9444, 2932, 3685, 19, 92, 17, 6290, 17, 78, 3489, 17, 3729, 17, 1612, 1734, 4868, 7682, 2 ]
assert false;
assert false : "Can't get stack offset " + stackOffset + " from " + stack.toString();
public Item getStackItem(int stackOffset) { if (stackOffset < 0 || stackOffset >= stack.size()) { assert false; return new Item("Lfindbugs/OpcodeStackError;"); } int tos = stack.size() - 1; int pos = tos - stackOffset; try { return stack.get(pos); } catch (ArrayIndexOutOfBoundsException e) { throw new ArrayIndexOutOfBoundsException( "Requested item at offset " + stackOffset + " in a stack of size " + stack.size() +", made request for position " + pos); } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/a78d632d2871d5db5c1262cb2bef1b8d9225ecc8/OpcodeStack.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/OpcodeStack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 202, 482, 4342, 18457, 1180, 12, 474, 2110, 2335, 13, 288, 202, 202, 430, 261, 3772, 2335, 411, 374, 747, 2110, 2335, 1545, 2110, 18, 1467, 10756, 288, 1082, 202, 11231, 629, 31, 1082, 202, 2463, 394, 4342, 2932, 48, 4720, 19381, 19, 22808, 2624, 668, 4868, 1769, 6862, 202, 97, 3196, 202, 474, 358, 87, 273, 2110, 18, 1467, 1435, 300, 404, 31, 3196, 202, 474, 949, 273, 358, 87, 300, 2110, 2335, 31, 3196, 202, 698, 288, 3196, 202, 2463, 2110, 18, 588, 12, 917, 1769, 3196, 202, 97, 1044, 261, 1076, 30548, 425, 13, 288, 1875, 202, 12849, 394, 1510, 30548, 12, 4697, 202, 6, 11244, 761, 622, 1384, 315, 397, 2110, 2335, 397, 315, 316, 279, 2110, 434, 963, 315, 397, 2110, 18, 1467, 1435, 4697, 202, 15, 3113, 7165, 590, 364, 1754, 315, 397, 949, 1769, 3196, 202, 97, 225, 202, 97, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 202, 482, 4342, 18457, 1180, 12, 474, 2110, 2335, 13, 288, 202, 202, 430, 261, 3772, 2335, 411, 374, 747, 2110, 2335, 1545, 2110, 18, 1467, 10756, 288, 1082, 202, 11231, 629, 31, 1082, 202, 2463, 394, 4342, 2932, 48, 4720, 19381, 19, 22808, 2624, 668, 4868, 1769, 6862, 202, 97, 3196, 202, 474, 358, 87, 273, 2110, 18, 1467, 1435, 300, 404, 31, 3196, 202, 474, 949, 273, 358, 87, 300, 2110, 2335, 31, 3196, 202, 698, 288, 3196, 202, 2463, 2110, 18, 588, 12, 917, 1769, 3196, 202, 97, 1044, 261, 1076, 30548, 425, 13, 288, 1875, 202, 12849, 394, 1510, 30548, 12, 4697, 202, 6, 11244, 761, 622, 1384, 315, 397, 2110, 2335, 397, 315, 2 ]
if (expandedCategoryPaths == null || expandedCategoryPaths.length == 0) return;
if (expandedCategoryPaths == null || expandedCategoryPaths.length == 0) { return; }
protected void expandPreviouslyExpandedCategories() { String[] expandedCategoryPaths = settings .getArray(STORE_EXPANDED_CATEGORIES_ID); if (expandedCategoryPaths == null || expandedCategoryPaths.length == 0) return; List categoriesToExpand = new ArrayList(expandedCategoryPaths.length); if (wizardCategories != null) { for (int i = 0; i < expandedCategoryPaths.length; i++) { IWizardCategory category = wizardCategories .findCategory(new Path(expandedCategoryPaths[i])); if (category != null) // ie.- it still exists categoriesToExpand.add(category); } } if (!categoriesToExpand.isEmpty()) filteredTree.getViewer().setExpandedElements(categoriesToExpand.toArray()); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/NewWizardNewPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/NewWizardNewPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4542, 8351, 715, 17957, 10487, 1435, 288, 3639, 514, 8526, 8406, 4457, 4466, 273, 1947, 7734, 263, 588, 1076, 12, 13651, 67, 16109, 1258, 7660, 67, 13000, 17562, 8805, 67, 734, 1769, 3639, 309, 261, 17336, 4457, 4466, 422, 446, 747, 8406, 4457, 4466, 18, 2469, 422, 374, 13, 5411, 327, 31, 3639, 987, 6477, 774, 12271, 273, 394, 2407, 12, 17336, 4457, 4466, 18, 2469, 1769, 3639, 309, 261, 31837, 10487, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 8406, 4457, 4466, 18, 2469, 31, 277, 27245, 288, 7734, 467, 27130, 4457, 3150, 273, 24204, 10487, 13491, 263, 4720, 4457, 12, 2704, 2666, 12, 17336, 4457, 4466, 63, 77, 5717, 1769, 7734, 309, 261, 4743, 480, 446, 13, 368, 9228, 18, 17, 518, 4859, 1704, 10792, 6477, 774, 12271, 18, 1289, 12, 4743, 1769, 5411, 289, 3639, 289, 3639, 309, 16051, 8995, 774, 12271, 18, 291, 1921, 10756, 540, 202, 12071, 2471, 18, 588, 18415, 7675, 542, 17957, 3471, 12, 8995, 774, 12271, 18, 31447, 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, 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, 1769, 3639, 309, 261, 17336, 4457, 4466, 422, 446, 747, 8406, 4457, 4466, 18, 2469, 422, 374, 13, 5411, 327, 31, 3639, 987, 6477, 774, 12271, 273, 394, 2407, 12, 17336, 4457, 4466, 18, 2469, 1769, 3639, 309, 261, 31837, 10487, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 8406, 4457, 4466, 18, 2469, 31, 277, 27245, 288, 7734, 467, 27130, 4457, 3150, 273, 24204, 10487, 13491, 263, 4720, 4457, 12, 2704, 2666, 12, 17336, 4457, 4466, 63, 77, 2 ]
public void update(ICDescriptor cproject, String extensionID) throws CoreException {
public void update(ICDescriptor cDescriptor, String extensionID) throws CoreException { if ( extensionID.equals(CCorePlugin.BUILD_SCANNER_INFO_UNIQ_ID)) { cDescriptor.create(CCorePlugin.BUILD_SCANNER_INFO_UNIQ_ID, TestScannerProvider.SCANNER_ID); }
public void update(ICDescriptor cproject, String extensionID) throws CoreException { }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/e05e298eb23f361786b2c04860d393c1f504873b/TestProject.java/buggy/core/org.eclipse.cdt.core.tests/suite/org/eclipse/cdt/testplugin/TestProject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 12, 2871, 3187, 276, 4406, 16, 514, 2710, 734, 13, 1216, 30015, 288, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 12, 2871, 3187, 276, 4406, 16, 514, 2710, 734, 13, 1216, 30015, 288, 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 ]
log.info("Started "+ deployer.getClass().getName() +" gbean.");
log.debug("Started "+ deployer.getClass().getName() +" gbean.");
public void doStart() throws Exception { log.info("Started "+ deployer.getClass().getName() +" gbean."); }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/a2608ecf073f21457f97954cda18ce59a88fe2c6/ClusterDeployerGBean.java/buggy/modules/tomcat/src/java/org/apache/geronimo/tomcat/cluster/ClusterDeployerGBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 1685, 1435, 1216, 1185, 288, 3639, 613, 18, 4148, 2932, 9217, 13773, 7286, 264, 18, 588, 797, 7675, 17994, 1435, 397, 6, 314, 14496, 1199, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 1685, 1435, 1216, 1185, 288, 3639, 613, 18, 4148, 2932, 9217, 13773, 7286, 264, 18, 588, 797, 7675, 17994, 1435, 397, 6, 314, 14496, 1199, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new SocketException("DatagramSocket.setSoTimeout - not yet implemented");
if (timeout < 0) throw new IllegalArgumentException("Invalid timeout: " + timeout); impl.setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout));
public synchronized void setSoTimeout(int timeout) throws SocketException { // FIXME: TODO - DatagramSocket.setSoTimeout throw new SocketException("DatagramSocket.setSoTimeout - not yet implemented"); }
1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/9378f999718203e09ed4e030ad6ef70f9d666322/DatagramSocket.java/clean/libjava/java/net/DatagramSocket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 918, 444, 10225, 2694, 12, 474, 2021, 13, 1216, 8758, 503, 225, 288, 565, 368, 9852, 30, 2660, 300, 6168, 17049, 4534, 18, 542, 10225, 2694, 282, 309, 261, 4538, 411, 374, 13, 604, 394, 2754, 2932, 1941, 2021, 30, 315, 397, 2021, 1769, 225, 9380, 18, 542, 1895, 12, 4534, 1320, 18, 3584, 67, 9503, 16, 394, 2144, 12, 4538, 10019, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 918, 444, 10225, 2694, 12, 474, 2021, 13, 1216, 8758, 503, 225, 288, 565, 368, 9852, 30, 2660, 300, 6168, 17049, 4534, 18, 542, 10225, 2694, 282, 309, 261, 4538, 411, 374, 13, 604, 394, 2754, 2932, 1941, 2021, 30, 315, 397, 2021, 1769, 225, 9380, 18, 542, 1895, 12, 4534, 1320, 18, 3584, 67, 9503, 16, 394, 2144, 12, 4538, 10019, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
jPopupMenu.add(new DeclineAllKeyRequests(application));
private void triggerOnline(final Browser application, final JPopupMenu jPopupMenu, final MouseEvent e) { if(document.isUrgent()) { final List<KeyRequest> keyRequests = document.getKeyRequests(); if(keyRequests.size() >= 1) { final Set<JabberId> requestedBySet = new HashSet<JabberId>(); for(final KeyRequest keyRequest : keyRequests) { // if a single user has requested more than once; we only // display one menu item. if(!requestedBySet.contains(keyRequest.getRequestedBy())) { jPopupMenu.add(new AcceptKeyRequest(application, keyRequest.getId(), keyRequest.getRequestedByName())); requestedBySet.add(keyRequest.getRequestedBy()); } } jPopupMenu.addSeparator(); jPopupMenu.add(new DeclineAllKeyRequests(application)); } } jPopupMenu.add(new Open(application)); jPopupMenu.add(new AddNewTeamMember(application)); if(document.isKeyHolder()) { if(!document.isWorkingVersionEqual()) jPopupMenu.add(new Publish(application)); final Set<User> team = document.getTeam(); System.out.println("[LBROWSER] [APPLICATION] [BROWSER] [DISPLAY] [AVATAR] [POPUP DOCUMENT] [TRIGGER ONLINE] [TEAM SIZE] [" + team.size() + "]"); if(0 < team.size()) { final JMenu jMenu = MenuFactory.create(getString("SendKey")); for(final User teamMember : team) jMenu.add(new SendKey(application, teamMember)); jPopupMenu.add(jMenu); } } else { jPopupMenu.add(new RequestKey(application)); } jPopupMenu.add(new Close(application)); jPopupMenu.addSeparator(); jPopupMenu.add(new Delete(application)); // DEBUG Document Menu Options if(e.isShiftDown()) { final Clipboard systemClipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); final ActionListener debugActionListener = new ActionListener() { public void actionPerformed(final ActionEvent e) { final StringSelection stringSelection = new StringSelection(((JComponent) e.getSource()).getClientProperty("COPY_ME").toString()); systemClipboard.setContents(stringSelection, null); } }; final JMenuItem idJMenuItem = new JMenuItem("Id - " + document.getId()); idJMenuItem.putClientProperty("COPY_ME", document.getId()); idJMenuItem.addActionListener(debugActionListener); final JMenuItem uidJMenuItem = new JMenuItem("Unique id - " + document.getUniqueId()); uidJMenuItem.putClientProperty("COPY_ME", document.getUniqueId()); uidJMenuItem.addActionListener(debugActionListener); jPopupMenu.addSeparator(); jPopupMenu.add(idJMenuItem); jPopupMenu.add(uidJMenuItem); } }
53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/b3d4982cdabd044f031d9ebb0e142c1461d723ab/PopupDocument.java/clean/local/browser/src/main/java/com/thinkparity/browser/application/browser/display/avatar/main/popup/PopupDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3080, 16860, 12, 6385, 15408, 2521, 16, 727, 804, 13770, 4599, 525, 13770, 4599, 16, 727, 17013, 1133, 425, 13, 288, 3639, 309, 12, 5457, 18, 291, 57, 26876, 319, 10756, 288, 5411, 727, 987, 32, 653, 691, 34, 498, 6421, 273, 1668, 18, 588, 653, 6421, 5621, 5411, 309, 12, 856, 6421, 18, 1467, 1435, 1545, 404, 13, 288, 7734, 727, 1000, 32, 46, 378, 744, 548, 34, 3764, 858, 694, 273, 394, 6847, 32, 46, 378, 744, 548, 34, 5621, 7734, 364, 12, 6385, 1929, 691, 498, 691, 294, 498, 6421, 13, 288, 10792, 368, 309, 279, 2202, 729, 711, 3764, 1898, 2353, 3647, 31, 732, 1338, 10792, 368, 2562, 1245, 3824, 761, 18, 10792, 309, 12, 5, 2293, 18696, 694, 18, 12298, 12, 856, 691, 18, 588, 11244, 858, 1435, 3719, 288, 13491, 525, 13770, 4599, 18, 1289, 12, 2704, 8662, 653, 691, 12, 3685, 16, 498, 691, 18, 26321, 9334, 498, 691, 18, 588, 11244, 5911, 1435, 10019, 13491, 3764, 858, 694, 18, 1289, 12, 856, 691, 18, 588, 11244, 858, 10663, 10792, 289, 7734, 289, 7734, 525, 13770, 4599, 18, 1289, 6581, 5621, 21821, 289, 3639, 289, 3639, 525, 13770, 4599, 18, 1289, 12, 2704, 3502, 12, 3685, 10019, 3639, 525, 13770, 4599, 18, 1289, 12, 2704, 1436, 1908, 8689, 4419, 12, 3685, 10019, 3639, 309, 12, 5457, 18, 291, 653, 6064, 10756, 288, 5411, 309, 12, 5, 5457, 18, 291, 14836, 1444, 5812, 10756, 7734, 525, 13770, 4599, 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, 3080, 16860, 12, 6385, 15408, 2521, 16, 727, 804, 13770, 4599, 525, 13770, 4599, 16, 727, 17013, 1133, 425, 13, 288, 3639, 309, 12, 5457, 18, 291, 57, 26876, 319, 10756, 288, 5411, 727, 987, 32, 653, 691, 34, 498, 6421, 273, 1668, 18, 588, 653, 6421, 5621, 5411, 309, 12, 856, 6421, 18, 1467, 1435, 1545, 404, 13, 288, 7734, 727, 1000, 32, 46, 378, 744, 548, 34, 3764, 858, 694, 273, 394, 6847, 32, 46, 378, 744, 548, 34, 5621, 7734, 364, 12, 6385, 1929, 691, 498, 691, 294, 498, 6421, 13, 288, 10792, 368, 309, 279, 2202, 729, 711, 3764, 1898, 2353, 3647, 31, 732, 1338, 10792, 368, 2562, 1245, 3824, 761, 18, 2 ]
if ( pattern.getSymPos( ) != "" )
if ( !StringUtil.isBlank( fmtPattern.getSymPos( ) ) )
private void refreshCurrencySetting( FormatCurrencyNumPattern pattern ) { cPlacesChoice.setText( String.valueOf( pattern.getDecPlaces( ) ) ); cUseSep.setSelection( pattern.getUseSep( ) ); if ( pattern.getSymbol( ) != "" ) //$NON-NLS-1$ { cSymbolChoice.setText( pattern.getSymbol( ) ); } if ( pattern.getSymPos( ) != "" ) //$NON-NLS-1$ { cSymPosChoice.setText( pattern.getSymPos( ) ); cSymPosChoice.setEnabled( true ); } if ( pattern.getUseBracket( ) ) { cNegNumChoice.select( 1 ); } else { cNegNumChoice.select( 0 ); } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/68e6e831ed1a7d01155ecde63d74c89397dae569/FormatNumberPage.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FormatNumberPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4460, 7623, 5568, 12, 4077, 7623, 2578, 3234, 1936, 262, 202, 95, 202, 202, 71, 24791, 10538, 18, 542, 1528, 12, 514, 18, 1132, 951, 12, 1936, 18, 588, 1799, 24791, 12, 262, 262, 11272, 202, 202, 71, 3727, 5097, 18, 542, 6233, 12, 1936, 18, 588, 3727, 5097, 12, 262, 11272, 202, 202, 430, 261, 1936, 18, 588, 5335, 12, 262, 480, 1408, 262, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 71, 5335, 10538, 18, 542, 1528, 12, 1936, 18, 588, 5335, 12, 262, 11272, 202, 202, 97, 202, 202, 430, 261, 401, 13565, 18, 291, 7796, 12, 1325, 3234, 18, 588, 11901, 1616, 12, 262, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 71, 11901, 1616, 10538, 18, 542, 1528, 12, 1936, 18, 588, 11901, 1616, 12, 262, 11272, 1082, 202, 71, 11901, 1616, 10538, 18, 542, 1526, 12, 638, 11272, 202, 202, 97, 202, 202, 430, 261, 1936, 18, 588, 3727, 11450, 12, 262, 262, 202, 202, 95, 1082, 202, 71, 14337, 2578, 10538, 18, 4025, 12, 404, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 71, 14337, 2578, 10538, 18, 4025, 12, 374, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4460, 7623, 5568, 12, 4077, 7623, 2578, 3234, 1936, 262, 202, 95, 202, 202, 71, 24791, 10538, 18, 542, 1528, 12, 514, 18, 1132, 951, 12, 1936, 18, 588, 1799, 24791, 12, 262, 262, 11272, 202, 202, 71, 3727, 5097, 18, 542, 6233, 12, 1936, 18, 588, 3727, 5097, 12, 262, 11272, 202, 202, 430, 261, 1936, 18, 588, 5335, 12, 262, 480, 1408, 262, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 71, 5335, 10538, 18, 542, 1528, 12, 1936, 18, 588, 5335, 12, 262, 11272, 202, 202, 97, 202, 202, 430, 261, 401, 13565, 18, 291, 7796, 12, 1325, 3234, 18, 588, 11901, 1616, 12, 262, 262, 262, 4329, 2 ]
Util.discard(segment); }
Util.discard(segment); }
SparseSegmentDataset(Segment segment) { Util.discard(segment); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/SparseSegmentDataset.java/buggy/src/main/mondrian/rolap/agg/SparseSegmentDataset.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 20565, 4131, 10656, 12, 4131, 3267, 13, 288, 202, 202, 1304, 18, 31992, 12, 9273, 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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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, 20565, 4131, 10656, 12, 4131, 3267, 13, 288, 202, 202, 1304, 18, 31992, 12, 9273, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
results = compare(retEnv, tempPath); assertTrue(results);
compareXML(retEnv, tempPath);
public void testR2GCEchoVoid() throws AxisFault { url = "http://easysoap.sourceforge.net/cgi-bin/interopserver"; soapAction = "http://soapinterop.org/"; util = new GroupcVoidUtil(); retEnv = SunRound2Client.sendMsg(util, url, soapAction); tempPath = resFilePath + "ESGroupcVoidRes.xml"; results = compare(retEnv, tempPath); assertTrue(results); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/adabba9fc5cefa2d978a1abe4543c86a61d36cbd/ESRound2InteropTest.java/buggy/modules/integration/itest/test/interop/whitemesa/round2/ESRound2InteropTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 22, 43, 1441, 2599, 19038, 1435, 1216, 15509, 7083, 288, 3639, 880, 273, 315, 2505, 2207, 73, 345, 1900, 83, 438, 18, 3168, 1884, 908, 18, 2758, 19, 19062, 17, 4757, 19, 30376, 3567, 14432, 3639, 9930, 1803, 273, 315, 2505, 2207, 19215, 30376, 18, 3341, 4898, 31, 3639, 1709, 273, 394, 3756, 71, 19038, 1304, 5621, 3639, 325, 3491, 273, 31608, 11066, 22, 1227, 18, 4661, 3332, 12, 1367, 16, 880, 16, 9930, 1803, 1769, 3639, 1906, 743, 273, 400, 5598, 397, 315, 3991, 1114, 71, 19038, 607, 18, 2902, 14432, 3639, 1686, 273, 3400, 12, 1349, 3491, 16, 1906, 743, 1769, 3639, 1815, 5510, 12, 4717, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 22, 43, 1441, 2599, 19038, 1435, 1216, 15509, 7083, 288, 3639, 880, 273, 315, 2505, 2207, 73, 345, 1900, 83, 438, 18, 3168, 1884, 908, 18, 2758, 19, 19062, 17, 4757, 19, 30376, 3567, 14432, 3639, 9930, 1803, 273, 315, 2505, 2207, 19215, 30376, 18, 3341, 4898, 31, 3639, 1709, 273, 394, 3756, 71, 19038, 1304, 5621, 3639, 325, 3491, 273, 31608, 11066, 22, 1227, 18, 4661, 3332, 12, 1367, 16, 880, 16, 9930, 1803, 1769, 3639, 1906, 743, 273, 400, 5598, 397, 315, 3991, 1114, 71, 19038, 607, 18, 2902, 14432, 3639, 1686, 273, 3400, 12, 1349, 3491, 16, 1906, 743, 1769, 3639, 1815, 5510, 12, 4717, 1769, 565, 289, 2, -100, -100, -100 ]
PropertyDescriptor[] descriptors = beanInfo.getPropertyDescriptors(); if(descriptors != null)
if(beanInfo != null)
public Object getObject(Component component) { BeanInfo beanInfo = getBeanInfo(component); PropertyDescriptor[] descriptors = beanInfo.getPropertyDescriptors(); if(descriptors != null) { List all = new ArrayList(); int len = descriptors.length; for(int i = 0; i < len; i++) { if(shouldAdd(descriptors[i])) { all.add(descriptors[i]); } } return all; } return Collections.EMPTY_LIST; }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/c9b5e12260165630e958020025a0a316761ef7da/BeanPropertiesListModel.java/buggy/wicket-examples/src/java/wicket/examples/wizard/framework/beanedit/BeanPropertiesListModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 6455, 12, 1841, 1794, 13, 202, 95, 202, 202, 3381, 966, 3931, 966, 273, 16485, 966, 12, 4652, 1769, 202, 202, 1396, 3187, 8526, 14215, 273, 3931, 966, 18, 588, 1396, 12705, 5621, 202, 202, 430, 12, 72, 8379, 480, 446, 13, 202, 202, 95, 1082, 202, 682, 777, 273, 394, 2407, 5621, 1082, 202, 474, 562, 273, 14215, 18, 2469, 31, 1082, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 562, 31, 277, 27245, 1082, 202, 95, 9506, 202, 430, 12, 13139, 986, 12, 72, 8379, 63, 77, 22643, 9506, 202, 95, 6862, 202, 454, 18, 1289, 12, 72, 8379, 63, 77, 19226, 9506, 202, 97, 1082, 202, 97, 1082, 202, 2463, 777, 31, 202, 202, 97, 202, 202, 2463, 5737, 18, 13625, 67, 7085, 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, 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794, 13, 202, 95, 202, 202, 3381, 966, 3931, 966, 273, 16485, 966, 12, 4652, 1769, 202, 202, 1396, 3187, 8526, 14215, 273, 3931, 966, 18, 588, 1396, 12705, 5621, 202, 202, 430, 12, 72, 8379, 480, 446, 13, 202, 202, 95, 1082, 202, 682, 777, 273, 394, 2407, 5621, 1082, 202, 474, 562, 273, 14215, 18, 2469, 31, 1082, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 562, 31, 277, 27245, 1082, 202, 95, 9506, 202, 430, 12, 13139, 986, 12, 72, 8379, 63, 77, 22643, 9506, 202, 95, 6862, 202, 454, 18, 1289, 12, 72, 8379, 63, 77, 19226, 9506, 202, 97, 1082, 202, 97, 1082, 202, 2463, 2 ]
private static void removeCommonFrames(List causeFrames, List wrapperFrames) {
public static void removeCommonFrames(List causeFrames, List wrapperFrames) {
private static void removeCommonFrames(List causeFrames, List wrapperFrames) { int causeFrameIndex = causeFrames.size() - 1; int wrapperFrameIndex = wrapperFrames.size() - 1; while (causeFrameIndex >= 0 && wrapperFrameIndex >= 0) { // Remove the frame from the cause trace if it is the same // as in the wrapper trace String causeFrame = (String) causeFrames.get(causeFrameIndex); String wrapperFrame = (String) wrapperFrames.get(wrapperFrameIndex); if (causeFrame.equals(wrapperFrame)) { causeFrames.remove(causeFrameIndex); } causeFrameIndex--; wrapperFrameIndex--; } }
4554 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4554/82c5dada6f7b369b69c383aa995f45578325e139/ExceptionUtils.java/clean/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1206, 6517, 15162, 12, 682, 4620, 15162, 16, 987, 4053, 15162, 13, 288, 3639, 509, 4620, 3219, 1016, 273, 4620, 15162, 18, 1467, 1435, 300, 404, 31, 3639, 509, 4053, 3219, 1016, 273, 4053, 15162, 18, 1467, 1435, 300, 404, 31, 3639, 1323, 261, 2700, 3219, 1016, 1545, 374, 597, 4053, 3219, 1016, 1545, 374, 13, 288, 5411, 368, 3581, 326, 2623, 628, 326, 4620, 2606, 309, 518, 353, 326, 1967, 5411, 368, 487, 316, 326, 4053, 2606, 5411, 514, 4620, 3219, 273, 261, 780, 13, 4620, 15162, 18, 588, 12, 2700, 3219, 1016, 1769, 5411, 514, 4053, 3219, 273, 261, 780, 13, 4053, 15162, 18, 588, 12, 8376, 3219, 1016, 1769, 5411, 309, 261, 2700, 3219, 18, 14963, 12, 8376, 3219, 3719, 288, 7734, 4620, 15162, 18, 4479, 12, 2700, 3219, 1016, 1769, 5411, 289, 5411, 4620, 3219, 1016, 413, 31, 5411, 4053, 3219, 1016, 413, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1206, 6517, 15162, 12, 682, 4620, 15162, 16, 987, 4053, 15162, 13, 288, 3639, 509, 4620, 3219, 1016, 273, 4620, 15162, 18, 1467, 1435, 300, 404, 31, 3639, 509, 4053, 3219, 1016, 273, 4053, 15162, 18, 1467, 1435, 300, 404, 31, 3639, 1323, 261, 2700, 3219, 1016, 1545, 374, 597, 4053, 3219, 1016, 1545, 374, 13, 288, 5411, 368, 3581, 326, 2623, 628, 326, 4620, 2606, 309, 518, 353, 326, 1967, 5411, 368, 487, 316, 326, 4053, 2606, 5411, 514, 4620, 3219, 273, 261, 780, 13, 4620, 15162, 18, 588, 12, 2700, 3219, 1016, 1769, 5411, 514, 4053, 3219, 273, 261, 780, 13, 4053, 15162, 18, 588, 12, 8376, 3219, 1016, 1769, 5411, 309, 261, 2 ]
return true;
private boolean failsEnablement(Object object) { if (enablement == null) return false; if (enablement.isEnabledFor(object)) return false; if (adaptable) { String[] classNames = getObjectClasses(); for (int i = 0; i < classNames.length; i++) { Object adapted = LegacyResourceSupport.getAdapter(object, classNames[i]); if (enablement.isEnabledFor(adapted)) return false; } } return true; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/69c125bdfb442751d64d5190cbbefa5a11da242c/RegistryPageContributor.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/RegistryPageContributor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 6684, 8317, 475, 12, 921, 733, 13, 288, 202, 202, 430, 261, 7589, 475, 422, 446, 13, 1082, 202, 2463, 629, 31, 202, 202, 430, 261, 7589, 475, 18, 291, 1526, 1290, 12, 1612, 3719, 1082, 202, 2463, 629, 31, 202, 202, 430, 261, 19195, 429, 13, 288, 1082, 202, 780, 8526, 19407, 273, 6455, 4818, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 19407, 18, 2469, 31, 277, 27245, 288, 9506, 202, 921, 28345, 273, 22781, 1420, 6289, 18, 588, 4216, 12, 1612, 16, 25083, 202, 1106, 1557, 63, 77, 19226, 9506, 202, 430, 261, 7589, 475, 18, 291, 1526, 1290, 12, 19195, 329, 3719, 6862, 202, 2463, 629, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 6684, 8317, 475, 12, 921, 733, 13, 288, 202, 202, 430, 261, 7589, 475, 422, 446, 13, 1082, 202, 2463, 629, 31, 202, 202, 430, 261, 7589, 475, 18, 291, 1526, 1290, 12, 1612, 3719, 1082, 202, 2463, 629, 31, 202, 202, 430, 261, 19195, 429, 13, 288, 1082, 202, 780, 8526, 19407, 273, 6455, 4818, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 19407, 18, 2469, 31, 277, 27245, 288, 9506, 202, 921, 28345, 273, 22781, 1420, 6289, 18, 588, 4216, 12, 1612, 16, 25083, 202, 1106, 1557, 63, 77, 19226, 9506, 202, 430, 261, 7589, 475, 18, 291, 1526, 1290, 12, 19195, 329, 3719, 6862, 202, 2463, 629, 31, 2 ]
case TotalHeader.TOTAL_BCAST: handleBCastMessage( msg, hdr.seq_id ); break;
case TotalHeader.TOTAL_BCAST: handleBCastMessage(msg, hdr.seq_id); break;
public void up(Event evt) { Message msg; //System.out.println("UP: " + evt); Object temp_obj; // used for type checking before performing casts switch( evt.getType() ) { case Event.SET_LOCAL_ADDRESS: temp_obj = evt.getArg(); if ( temp_obj instanceof Address ) { local_addr = (Address) temp_obj; } else { log.error( "Error: Total.up() - could not cast local address to an Address object" ); } break; case Event.MSG: // get the message and the header for the TOTAL_OLD layer temp_obj = evt.getArg(); if ( temp_obj instanceof Message ) { msg = (Message) temp_obj; temp_obj = msg.removeHeader(getName()); if ( temp_obj instanceof TotalHeader ) { TotalHeader hdr = (TotalHeader) temp_obj; // switch on the "command" defined by the header switch( hdr.total_header_type ) { case TotalHeader.TOTAL_UNICAST: // don't process this message, just pass it up (TotalHeader header already removed) passUp(evt); return; case TotalHeader.TOTAL_BCAST: handleBCastMessage( msg, hdr.seq_id ); break; case TotalHeader.TOTAL_REQUEST: // if we are the sequencer, respond to this request if ( isSequencer() ) { handleRequestMessage( msg ); } break; case TotalHeader.TOTAL_NEW_VIEW: // store the sequence id that we should expect next next_seq_id = hdr.seq_id; // TODO: need to send some sort of ACK or something to the sequencer (maybe) break; case TotalHeader.TOTAL_CUM_SEQ_ACK: // if we are the sequencer, update state if ( isSequencer() ) { temp_obj = msg.getSrc(); if ( temp_obj instanceof Address ) { ack_history.setSeq( (Address) temp_obj, hdr.seq_id ); } else { log.error( "Error: TOTAL_OLD.Up() - could not cast source of message to an Address object (case TotalHeader.TOTAL_CUM_SEQ_ACK)" ); } } break; case TotalHeader.TOTAL_RESEND: // if we are the sequencer, respond to this request if ( isSequencer() ) { handleResendRequest( msg, hdr.seq_id ); } break; default: // unrecognized header type - discard message log.error( "Error: TOTAL_OLD.up() - unrecognized TotalHeader in message - " + hdr.toString() ); return; // don't let it call passUp() } // switch( hdr.total_header_type ) } else { log.error( "Error: TOTAL_OLD.up() - could not cast message header to TotalHeader (case Event.MSG)" ); } // if ( temp_obj instanceof TotalHeader ) } else { log.error( "Error: TOTAL_OLD.up() - could not cast argument of Event to a Message (case Event.MSG)" ); } // if ( temp_obj instanceof Address ) //System.out.println("The message is " + msg); return; // don't blindly pass up messages immediately (if at all) // begin mms21 /* case Event.BECOME_SERVER: System.out.println( "Become Server event passed up to TOTAL_OLD (debug - mms21)" ); break; */ case Event.TMP_VIEW: // TODO: this may be temporary case Event.VIEW_CHANGE: System.out.println( "View Change event passed up to TOTAL_OLD (debug - mms21)" ); View new_view = (View) evt.getArg(); members = new_view.getMembers(); { // print the members of this new view System.out.println( "New view members (printed in TOTAL_OLD):" ); int view_size = members.size(); for( int i=0; i<view_size; i++ ) { System.out.println( " " + members.elementAt(i).toString() ); } } // reset the state for total ordering for this new view reset(); // if we are the sequencer in this new view, send a new // TOTAL_NEW_VIEW message to the group if ( isSequencer() ) { // we are the sequencer in this new view log.error( "TOTAL_OLD.up() - I am the sequencer of this new view" ); // we need to keep track of acknowledgements messages ack_history = new MessageAcks( members ); // start assigning messages with this sequence id next_seq_id_to_assign = INIT_SEQ_ID; // send a message to the group with the initial sequence id to expect Message new_view_msg = new Message( null, local_addr, null ); new_view_msg.putHeader(getName(), new TotalHeader( TotalHeader.TOTAL_NEW_VIEW, next_seq_id_to_assign ) ); passDown( new Event( Event.MSG, new_view_msg ) ); } break; // end mms21 default: break; } // switch( evt.getType() ) passUp(evt); // Pass up to the layer above us }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/13de68466e3cf7fde6ee0bde0cee09a33e837e89/TOTAL_OLD.java/buggy/src/org/jgroups/protocols/TOTAL_OLD.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 731, 12, 1133, 6324, 13, 288, 3639, 2350, 1234, 31, 3639, 368, 3163, 18, 659, 18, 8222, 2932, 3079, 30, 315, 397, 6324, 1769, 202, 921, 1906, 67, 2603, 31, 225, 368, 1399, 364, 618, 6728, 1865, 14928, 4812, 87, 3639, 1620, 12, 6324, 18, 588, 559, 1435, 262, 288, 202, 3593, 2587, 18, 4043, 67, 14922, 67, 15140, 30, 202, 565, 1906, 67, 2603, 273, 6324, 18, 588, 4117, 5621, 202, 565, 309, 261, 1906, 67, 2603, 1276, 5267, 262, 288, 202, 202, 3729, 67, 4793, 273, 261, 1887, 13, 1906, 67, 2603, 31, 202, 565, 289, 469, 288, 202, 202, 1330, 18, 1636, 12, 315, 668, 30, 10710, 18, 416, 1435, 300, 3377, 486, 4812, 1191, 1758, 358, 392, 5267, 733, 6, 11272, 202, 565, 289, 202, 565, 898, 31, 3639, 648, 2587, 18, 11210, 30, 202, 565, 368, 336, 326, 883, 471, 326, 1446, 364, 326, 399, 19851, 67, 11846, 3018, 202, 565, 1906, 67, 2603, 273, 6324, 18, 588, 4117, 5621, 202, 565, 309, 261, 1906, 67, 2603, 1276, 2350, 262, 288, 202, 202, 3576, 273, 261, 1079, 13, 1906, 67, 2603, 31, 202, 202, 5814, 67, 2603, 273, 1234, 18, 4479, 1864, 12, 17994, 10663, 202, 202, 430, 261, 1906, 67, 2603, 1276, 10710, 1864, 262, 288, 1082, 565, 10710, 1864, 7723, 273, 261, 5269, 1864, 13, 1906, 67, 2603, 31, 1082, 565, 368, 1620, 603, 326, 315, 3076, 6, 2553, 635, 326, 1446, 1082, 565, 1620, 12, 7723, 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, 731, 12, 1133, 6324, 13, 288, 3639, 2350, 1234, 31, 3639, 368, 3163, 18, 659, 18, 8222, 2932, 3079, 30, 315, 397, 6324, 1769, 202, 921, 1906, 67, 2603, 31, 225, 368, 1399, 364, 618, 6728, 1865, 14928, 4812, 87, 3639, 1620, 12, 6324, 18, 588, 559, 1435, 262, 288, 202, 3593, 2587, 18, 4043, 67, 14922, 67, 15140, 30, 202, 565, 1906, 67, 2603, 273, 6324, 18, 588, 4117, 5621, 202, 565, 309, 261, 1906, 67, 2603, 1276, 5267, 262, 288, 202, 202, 3729, 67, 4793, 273, 261, 1887, 13, 1906, 67, 2603, 31, 202, 565, 289, 469, 288, 202, 202, 1330, 18, 1636, 12, 315, 668, 30, 10710, 18, 416, 1435, 300, 3377, 486, 2 ]
public static Context getURLContext (String scheme, Hashtable environment) throws NamingException
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException
public static Context getURLContext (String scheme, Hashtable environment) throws NamingException { return getURLContext (null, null, null, scheme, environment); }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/26c8632036a9ebf9f8272bd5bb95c522aa180453/NamingManager.java/clean/libraries/javalib/javax/naming/spi/NamingManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1772, 19341, 1042, 261, 780, 4355, 16, 6862, 4202, 18559, 3330, 13, 3639, 1216, 26890, 225, 288, 565, 327, 19341, 1042, 261, 2011, 16, 446, 16, 446, 16, 4355, 16, 3330, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 760, 1772, 19341, 1042, 261, 780, 4355, 16, 6862, 4202, 18559, 3330, 13, 3639, 1216, 26890, 225, 288, 565, 327, 19341, 1042, 261, 2011, 16, 446, 16, 446, 16, 4355, 16, 3330, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new IllegalEventParameterException(e.getMessage());
throw new IllegalEventParameterException( this, Level.FINE, e.getMessage());
private void hackyStatValidate() throws IllegalEventParameterException { logger.entering(this.getClass().getName(), "hackyStatValidate"); logger.log(ECGLevel.PACKET, this.toString()); List<String> entryList = new ArrayList<String>(); List argList = this.getArgList(); entryList.add(Long.toString(this.getTimeStamp().getTime())); for (Object elem : argList) { if (elem instanceof String) { String str = (String) elem; entryList.add(str); } else { logger.log(Level.FINE, "The event is not valid in repspect to validity level: " + VALIDATION_LEVEL.HACKYSTAT); logger.log(Level.FINE, "The argList contains non-String elements."); logger.exiting(this.getClass().getName(), "hackyStatValidate"); throw new IllegalEventParameterException( "The argList contains non-String elements."); } } try { SensorDataEntryFactory .getEntry(this.getSensorDataType(), entryList); } catch (SensorDataTypeException e) { logger.log(Level.FINE, "The event is not valid in respect to validity level: " + VALIDATION_LEVEL.HACKYSTAT); logger.log(Level.FINE, e.getMessage()); logger.exiting(this.getClass().getName(), "hackyStatValidate"); throw new IllegalEventParameterException(e.getMessage()); } }
10374 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10374/c1a09940fd120b01f782c3ff137e1dd16e968124/ValidEventPacket.java/buggy/trunk/lab/ECG_Lab/src/org/electrocodeogram/event/ValidEventPacket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 11769, 93, 5000, 4270, 1435, 1216, 2141, 1133, 14819, 288, 3639, 1194, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 76, 484, 93, 5000, 4270, 8863, 3639, 1194, 18, 1330, 12, 7228, 43, 2355, 18, 12231, 1584, 16, 333, 18, 10492, 10663, 3639, 987, 32, 780, 34, 1241, 682, 273, 394, 2407, 32, 780, 34, 5621, 3639, 987, 1501, 682, 273, 333, 18, 588, 4117, 682, 5621, 3639, 1241, 682, 18, 1289, 12, 3708, 18, 10492, 12, 2211, 18, 588, 21536, 7675, 588, 950, 1435, 10019, 3639, 364, 261, 921, 3659, 294, 1501, 682, 13, 288, 5411, 309, 261, 10037, 1276, 514, 13, 288, 7734, 514, 609, 273, 261, 780, 13, 3659, 31, 7734, 1241, 682, 18, 1289, 12, 701, 1769, 5411, 289, 469, 288, 7734, 1194, 18, 1330, 12, 2355, 18, 42, 3740, 16, 10792, 315, 1986, 871, 353, 486, 923, 316, 283, 1121, 1181, 358, 13800, 1801, 30, 315, 4766, 565, 397, 15093, 2689, 67, 10398, 18, 44, 3649, 61, 28549, 1769, 7734, 1194, 18, 1330, 12, 2355, 18, 42, 3740, 16, 10792, 315, 1986, 1501, 682, 1914, 1661, 17, 780, 2186, 1199, 1769, 7734, 1194, 18, 8593, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 76, 484, 93, 5000, 4270, 8863, 7734, 604, 394, 2141, 1133, 14819, 12, 10792, 315, 1986, 1501, 682, 1914, 1661, 17, 780, 2186, 1199, 1769, 5411, 289, 3639, 289, 3639, 775, 288, 5411, 28903, 751, 1622, 1733, 7734, 263, 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, 3238, 918, 11769, 93, 5000, 4270, 1435, 1216, 2141, 1133, 14819, 288, 3639, 1194, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 76, 484, 93, 5000, 4270, 8863, 3639, 1194, 18, 1330, 12, 7228, 43, 2355, 18, 12231, 1584, 16, 333, 18, 10492, 10663, 3639, 987, 32, 780, 34, 1241, 682, 273, 394, 2407, 32, 780, 34, 5621, 3639, 987, 1501, 682, 273, 333, 18, 588, 4117, 682, 5621, 3639, 1241, 682, 18, 1289, 12, 3708, 18, 10492, 12, 2211, 18, 588, 21536, 7675, 588, 950, 1435, 10019, 3639, 364, 261, 921, 3659, 294, 1501, 682, 13, 288, 5411, 309, 261, 10037, 1276, 514, 13, 288, 7734, 514, 609, 273, 261, 780, 13, 3659, 2 ]
def = testF2(file, offset);
def = testCtrl_F3(file, offset);
public void testCPPSpecDeclsDefs() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("int a; // defines a\n"); //$NON-NLS-1$ buffer.append("extern const int c = 1; // defines c\n"); //$NON-NLS-1$ buffer.append("int f(int x) { return x+a; } // defines f and defines x\n"); //$NON-NLS-1$ buffer.append("struct S { int a; int b; }; // defines S, S::a, and S::b\n"); //$NON-NLS-1$ buffer.append("struct X { // defines X\n"); //$NON-NLS-1$ buffer.append("int x; // defines nonstatic data member x\n"); //$NON-NLS-1$ buffer.append("};\n"); //$NON-NLS-1$ buffer.append("enum { up, down }; // defines up and down\n"); //$NON-NLS-1$ buffer.append("struct X anX; // defines anX\n"); //$NON-NLS-1$ buffer.append("extern int a; // declares a\n"); //$NON-NLS-1$ buffer.append("extern const int c; // declares c\n"); //$NON-NLS-1$ buffer.append("int f(int); // declares f\n"); //$NON-NLS-1$ buffer.append("struct S; // declares S\n"); //$NON-NLS-1$ buffer.append("typedef int Int; // declares Int\n"); //$NON-NLS-1$ buffer.append("extern struct X anotherX; // declares anotherX\n"); //$NON-NLS-1$ String code = buffer.toString(); IFile file = importFile("testCPPSpecDeclsDefs.c", code); //$NON-NLS-1$ int offset = code.indexOf("a; // defines a"); //$NON-NLS-1$ IASTNode def = testF2(file, offset); IASTNode decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 4); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 4); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("c = 1; // defines c"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "c"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 37); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "c"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 37); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("f(int x) { return x+a; } // defines f and defines x"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "f"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 61); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "f"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 61); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("x) { return x+a; } // defines f and defines x"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 67); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 67); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("x+a; } // defines f and defines x"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 67); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 67); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("x+a; } // defines f and defines x"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 67); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 67); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("a; } // defines f and defines x"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 4); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 4); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("S { int a; int b; }; // defines S, S::a, and S::b"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "S"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 120); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "S"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 120); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("a; int b; }; // defines S, S::a, and S::b"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 128); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 128); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("b; }; // defines S, S::a, and S::b"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "b"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 135); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "b"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 135); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("X { // defines X"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "X"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 177); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "X"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 177); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("x; // defines nonstatic data member x"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 198); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 198); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("up, down }; // defines up and down"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "up"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 246); assertEquals(((ASTNode)decl).getLength(), 2); assertEquals(((IASTName)def).toString(), "up"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 246); assertEquals(((ASTNode)def).getLength(), 2); offset = code.indexOf("down }; // defines up and down"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "down"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 250); assertEquals(((ASTNode)decl).getLength(), 4); assertEquals(((IASTName)def).toString(), "down"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 250); assertEquals(((ASTNode)def).getLength(), 4); offset = code.indexOf("X anX; // defines anX"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "X"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 177); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "X"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 177); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("anX; // defines anX"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "anX"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 290); assertEquals(((ASTNode)decl).getLength(), 3); assertEquals(((IASTName)def).toString(), "anX"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 290); assertEquals(((ASTNode)def).getLength(), 3); offset = code.indexOf("a; // declares a"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 4); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 4); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("c; // declares c"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "c"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 37); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "c"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 37); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("f(int); // declares f"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "f"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 61); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "f"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 61); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("S; // declares S"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "S"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 120); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "S"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 120); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("Int; // declares Int"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "Int"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 434); assertEquals(((ASTNode)decl).getLength(), 3); assertEquals(((IASTName)def).toString(), "Int"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 434); assertEquals(((ASTNode)def).getLength(), 3); offset = code.indexOf("X anotherX; // declares anotherX"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "X"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 177); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "X"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 177); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("anotherX; // declares anotherX"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertNull(def); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "anotherX"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 471); assertEquals(((ASTNode)decl).getLength(), 8); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/a80f774ac034fed44b578ede9c708e773e1fabcf/CSelectionTestsNoIndexer.java/buggy/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selectiontests/CSelectionTestsNoIndexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4258, 52, 1990, 1799, 3251, 14554, 1435, 1216, 1185, 288, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 3639, 1613, 18, 6923, 2932, 474, 279, 31, 368, 11164, 279, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 338, 798, 1866, 509, 276, 273, 404, 31, 368, 11164, 276, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 474, 284, 12, 474, 619, 13, 288, 327, 619, 15, 69, 31, 289, 368, 11164, 284, 471, 11164, 619, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 1697, 348, 288, 509, 279, 31, 509, 324, 31, 289, 31, 368, 11164, 348, 16, 348, 2866, 69, 16, 471, 348, 2866, 70, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 1697, 1139, 288, 368, 11164, 1139, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 474, 619, 31, 368, 11164, 1661, 3845, 501, 3140, 619, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 97, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 7924, 288, 731, 16, 2588, 289, 31, 368, 11164, 731, 471, 2588, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 1697, 1139, 392, 60, 31, 368, 11164, 392, 60, 64, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4258, 52, 1990, 1799, 3251, 14554, 1435, 1216, 1185, 288, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 3639, 1613, 18, 6923, 2932, 474, 279, 31, 368, 11164, 279, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 338, 798, 1866, 509, 276, 273, 404, 31, 368, 11164, 276, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 474, 284, 12, 474, 619, 13, 288, 327, 619, 15, 69, 31, 289, 368, 11164, 284, 471, 11164, 619, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 1697, 348, 288, 509, 279, 31, 509, 324, 31, 2 ]
public synchronized void receivedPacket(int seqNumber) {
public void receivedPacket(int seqNumber) { Logger.minor(this, "Received packet "+seqNumber);
public synchronized void receivedPacket(int seqNumber) { try { pn.receivedPacket(); } catch (NotConnectedException e) { Logger.minor(this, "Ignoring, because disconnected"); return; } if(seqNumber == -1) return; receivedPacketNumber(seqNumber); if(packetNumbersReceived.contains(seqNumber)) { // They resent it // Lets re-ack it. queueAck(seqNumber); } else { receivedPacketNumber(seqNumber); queueAck(seqNumber); } }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/b4ecaa4055b5835413830d4125c72de27d68e306/KeyTracker.java/buggy/src/freenet/node/KeyTracker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5079, 6667, 12, 474, 3833, 1854, 13, 288, 4242, 18, 17364, 12, 2211, 16, 315, 8872, 4414, 13773, 5436, 1854, 1769, 3639, 775, 288, 1082, 202, 7449, 18, 15213, 6667, 5621, 202, 202, 97, 1044, 261, 1248, 8932, 503, 425, 13, 288, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 21702, 16, 2724, 17853, 8863, 1082, 202, 2463, 31, 202, 202, 97, 3639, 309, 12, 5436, 1854, 422, 300, 21, 13, 327, 31, 3639, 5079, 6667, 1854, 12, 5436, 1854, 1769, 3639, 309, 12, 11482, 10072, 8872, 18, 12298, 12, 5436, 1854, 3719, 288, 5411, 368, 16448, 400, 319, 518, 5411, 368, 511, 2413, 283, 17, 484, 518, 18, 5411, 2389, 11931, 12, 5436, 1854, 1769, 3639, 289, 469, 288, 5411, 5079, 6667, 1854, 12, 5436, 1854, 1769, 5411, 2389, 11931, 12, 5436, 1854, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5079, 6667, 12, 474, 3833, 1854, 13, 288, 4242, 18, 17364, 12, 2211, 16, 315, 8872, 4414, 13773, 5436, 1854, 1769, 3639, 775, 288, 1082, 202, 7449, 18, 15213, 6667, 5621, 202, 202, 97, 1044, 261, 1248, 8932, 503, 425, 13, 288, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 21702, 16, 2724, 17853, 8863, 1082, 202, 2463, 31, 202, 202, 97, 3639, 309, 12, 5436, 1854, 422, 300, 21, 13, 327, 31, 3639, 5079, 6667, 1854, 12, 5436, 1854, 1769, 3639, 309, 12, 11482, 10072, 8872, 18, 12298, 12, 5436, 1854, 3719, 288, 5411, 368, 16448, 400, 319, 518, 5411, 368, 511, 2413, 283, 17, 484, 518, 18, 5411, 2389, 11931, 12, 5436, 1854, 2 ]
rc = RrCSG.intersection(rc, sc);
rc = RrCSG.intersection(sc, rc);
public static void main(String[] args) { Rr2Point p = new Rr2Point(0.1, 0.15); Rr2Point q = new Rr2Point(0.2, 0.85); Rr2Point r = new Rr2Point(1, 0.89); Rr2Point s = new Rr2Point(0.95, 0.03); Rr2Point pp = new Rr2Point(0.35, 0.62); Rr2Point qq = new Rr2Point(0.55, 0.95); Rr2Point rr = new Rr2Point(0.45, 0.5); Rr2Point ss = new Rr2Point(0.4, 0.3); RrLine x = new RrLine(new Rr2Point(-1, -1), new Rr2Point(1, 1)); RrHalfPlane ph = new RrHalfPlane(p, q); RrHalfPlane qh = new RrHalfPlane(q, r); RrHalfPlane rh = new RrHalfPlane(r, s); RrHalfPlane sh = new RrHalfPlane(s, p); RrHalfPlane pph = new RrHalfPlane(pp, qq); RrHalfPlane qqh = new RrHalfPlane(qq, rr); RrHalfPlane rrh = new RrHalfPlane(rr, pp); RrCSG pc = new RrCSG(ph); RrCSG qc = new RrCSG(qh); RrCSG rc = new RrCSG(rh); RrCSG sc = new RrCSG(sh); pc = RrCSG.intersection(pc, qc); rc = RrCSG.intersection(rc, sc); pc = RrCSG.intersection(pc, rc); //pc = RrCSG.union(pc, rc); // !! RrCSG ppc = new RrCSG(pph); RrCSG qqc = new RrCSG(qqh); RrCSG rrc = new RrCSG(rrh); ppc = RrCSG.intersection(ppc, qqc); ppc = RrCSG.intersection(ppc, rrc); ppc = RrCSG.difference(pc, ppc); pc = ppc.offset(-0.15); ppc = RrCSG.difference(ppc, pc); ppc = RrCSG.union(ppc, rc); //System.out.println(ppc.toString()); ppc = ppc.simplify(1.0e-6); //System.out.println(ppc.toString()); RrCSGPolygon cp = new RrCSGPolygon(ppc, new RrBox(new Rr2Point(0,-0.732), new Rr2Point(1,1))); cp.divide(1.0e-6, 1.0); System.out.println(cp.toString()); new RrGraphics(cp, true); // RrPolygon h = cp.hatch_join(x, 0.005, 1, 3);// RrPolygonList hp = new RrPolygonList();// RrPolygon a = new RrPolygon();// a.append(p, 5);// a.append(q, 5);// a.append(r, 5);// a.append(s, 5);// hp.append(h);// //hp.append(a);// new RrGraphics(hp, false); }
14824 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14824/82f6054b2a8e68f52b808151bf7e3ddbefc35a9d/TestMain.java/buggy/reprap/host/src/org/reprap/geometry/polygons/TestMain.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 202, 95, 202, 202, 54, 86, 22, 2148, 293, 273, 394, 534, 86, 22, 2148, 12, 20, 18, 21, 16, 374, 18, 3600, 1769, 202, 202, 54, 86, 22, 2148, 1043, 273, 394, 534, 86, 22, 2148, 12, 20, 18, 22, 16, 374, 18, 7140, 1769, 202, 202, 54, 86, 22, 2148, 436, 273, 394, 534, 86, 22, 2148, 12, 21, 16, 374, 18, 6675, 1769, 202, 202, 54, 86, 22, 2148, 272, 273, 394, 534, 86, 22, 2148, 12, 20, 18, 8778, 16, 374, 18, 4630, 1769, 9506, 202, 54, 86, 22, 2148, 8228, 273, 394, 534, 86, 22, 2148, 12, 20, 18, 4763, 16, 374, 18, 8898, 1769, 202, 202, 54, 86, 22, 2148, 20708, 273, 394, 534, 86, 22, 2148, 12, 20, 18, 2539, 16, 374, 18, 8778, 1769, 202, 202, 54, 86, 22, 2148, 8354, 273, 394, 534, 86, 22, 2148, 12, 20, 18, 7950, 16, 374, 18, 25, 1769, 202, 202, 54, 86, 22, 2148, 5202, 273, 394, 534, 86, 22, 2148, 12, 20, 18, 24, 16, 374, 18, 23, 1769, 377, 202, 202, 54, 86, 1670, 619, 273, 394, 534, 86, 1670, 12, 2704, 534, 86, 22, 2148, 19236, 21, 16, 300, 21, 3631, 394, 534, 86, 22, 2148, 12, 21, 16, 404, 10019, 9506, 202, 54, 86, 16168, 19505, 1844, 273, 394, 534, 86, 16168, 19505, 12, 84, 16, 1043, 1769, 202, 202, 54, 86, 16168, 19505, 1043, 76, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 202, 95, 202, 202, 54, 86, 22, 2148, 293, 273, 394, 534, 86, 22, 2148, 12, 20, 18, 21, 16, 374, 18, 3600, 1769, 202, 202, 54, 86, 22, 2148, 1043, 273, 394, 534, 86, 22, 2148, 12, 20, 18, 22, 16, 374, 18, 7140, 1769, 202, 202, 54, 86, 22, 2148, 436, 273, 394, 534, 86, 22, 2148, 12, 21, 16, 374, 18, 6675, 1769, 202, 202, 54, 86, 22, 2148, 272, 273, 394, 534, 86, 22, 2148, 12, 20, 18, 8778, 16, 374, 18, 4630, 1769, 9506, 202, 54, 86, 22, 2148, 8228, 273, 394, 534, 86, 22, 2148, 12, 20, 18, 4763, 16, 374, 18, 2 ]
if(ma.count() != count())
if(ma.count() != count() || ma.hashCode() != hashCode())
public boolean equals(Object obj) { if(obj instanceof IPersistentArray) { IPersistentArray ma = (IPersistentArray) obj; if(ma.count() != count()) return false; for(int i=0;i<count();i++) { if(!RT.equal(nth(i),ma.nth(i))) return false; } } else { if(!(obj instanceof Sequential)) return false; for(ISeq s = seq(), ms = ((IPersistentCollection)obj).seq();s!=null;s = s.rest(), ms = ms.rest()) { if(ms == null || !RT.equal(s.first(),ms.first())) return false; } } return true;}
51883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51883/be12a746746c53c1f00758df7daa1fa5edc03935/APersistentArray.java/clean/src/jvm/clojure/lang/APersistentArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1250, 1606, 12, 921, 1081, 13, 288, 565, 309, 12, 2603, 1276, 2971, 6572, 1076, 13, 3639, 288, 3639, 2971, 6572, 1076, 10843, 273, 261, 2579, 6572, 1076, 13, 1081, 31, 3639, 309, 12, 2540, 18, 1883, 1435, 480, 1056, 1435, 225, 747, 10843, 18, 2816, 1085, 1435, 480, 13374, 10756, 5411, 327, 629, 31, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 1883, 5621, 77, 27245, 5411, 288, 5411, 309, 12, 5, 12185, 18, 9729, 12, 82, 451, 12, 77, 3631, 2540, 18, 82, 451, 12, 77, 20349, 7734, 327, 629, 31, 5411, 289, 3639, 289, 565, 469, 3639, 288, 3639, 309, 12, 5, 12, 2603, 1276, 3265, 13628, 3719, 5411, 327, 629, 31, 3639, 364, 12, 45, 6926, 272, 273, 3833, 9334, 4086, 273, 14015, 2579, 6572, 2532, 13, 2603, 2934, 5436, 5621, 87, 5, 33, 2011, 31, 87, 273, 272, 18, 8792, 9334, 4086, 273, 4086, 18, 8792, 10756, 5411, 288, 5411, 309, 12, 959, 422, 446, 747, 401, 12185, 18, 9729, 12, 87, 18, 3645, 9334, 959, 18, 3645, 1435, 3719, 7734, 327, 629, 31, 5411, 289, 3639, 289, 565, 327, 638, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1250, 1606, 12, 921, 1081, 13, 288, 565, 309, 12, 2603, 1276, 2971, 6572, 1076, 13, 3639, 288, 3639, 2971, 6572, 1076, 10843, 273, 261, 2579, 6572, 1076, 13, 1081, 31, 3639, 309, 12, 2540, 18, 1883, 1435, 480, 1056, 1435, 225, 747, 10843, 18, 2816, 1085, 1435, 480, 13374, 10756, 5411, 327, 629, 31, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 1883, 5621, 77, 27245, 5411, 288, 5411, 309, 12, 5, 12185, 18, 9729, 12, 82, 451, 12, 77, 3631, 2540, 18, 82, 451, 12, 77, 20349, 7734, 327, 629, 31, 5411, 289, 3639, 289, 565, 469, 3639, 288, 3639, 309, 12, 5, 12, 2603, 1276, 3265, 13628, 3719, 5411, 327, 629, 31, 3639, 2 ]
}
protected void setupForVerification(final PublicKey k) throws IllegalArgumentException { if (!(k instanceof RSAPublicKey)) { throw new IllegalArgumentException(); } publicKey = k; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPKCS1V1_5Signature.java/buggy/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 3875, 1290, 13483, 12, 6385, 11951, 417, 13, 1377, 1216, 2754, 225, 288, 565, 309, 16051, 12, 79, 1276, 14746, 2203, 24312, 3719, 1377, 288, 3639, 604, 394, 2754, 5621, 1850, 12085, 273, 417, 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, 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, 282, 4750, 918, 3875, 1290, 13483, 12, 6385, 11951, 417, 13, 1377, 1216, 2754, 225, 288, 565, 309, 16051, 12, 79, 1276, 14746, 2203, 24312, 3719, 1377, 288, 3639, 604, 394, 2754, 5621, 1850, 12085, 273, 417, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.PartySubIDType getPartySubIDType() throws FieldNotFound { org.quickfix.field.PartySubIDType value = new org.quickfix.field.PartySubIDType();
public quickfix.field.PartySubIDType getPartySubIDType() throws FieldNotFound { quickfix.field.PartySubIDType value = new quickfix.field.PartySubIDType();
public org.quickfix.field.PartySubIDType getPartySubIDType() throws FieldNotFound { org.quickfix.field.PartySubIDType value = new org.quickfix.field.PartySubIDType(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderCancelReplaceRequest.java/buggy/src/java/src/quickfix/fix44/OrderCancelReplaceRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 17619, 1676, 734, 559, 1689, 7325, 1676, 734, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 17619, 1676, 734, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 17619, 1676, 734, 559, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 17619, 1676, 734, 559, 1689, 7325, 1676, 734, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 17619, 1676, 734, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 17619, 1676, 734, 559, 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 ]
}
}
public void testHashCode() { assertEquals("Should be equal hashcodes", new MapEntry("A", "A".getBytes()).hashCode(), new MapEntry("A", "A".getBytes()).hashCode()); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/a917aff361c58c31c5dce12a5e8052df6803dbe1/MapEntryTest.java/clean/jmock/core/src/test/jmock/expectation/MapEntryTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 21952, 1435, 288, 202, 202, 11231, 8867, 2932, 14309, 506, 3959, 1651, 7000, 3113, 1082, 2398, 394, 1635, 1622, 2932, 37, 3113, 315, 37, 9654, 588, 2160, 1435, 2934, 2816, 1085, 9334, 1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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 21952, 1435, 288, 202, 202, 11231, 8867, 2932, 14309, 506, 3959, 1651, 7000, 3113, 1082, 2398, 394, 1635, 1622, 2932, 37, 3113, 315, 37, 9654, 588, 2160, 1435, 2934, 2816, 1085, 9334, 1082, 2398, 394, 1635, 1622, 2932, 37, 3113, 315, 37, 9654, 588, 2160, 1435, 2934, 2816, 1085, 10663, 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 ]
if (! threadLocalVariables.containsKey(name)) {
if (!threadLocalVariables.containsKey(name)) {
public IRubyObject aref(IRubyObject key) { String name = keyName(key); if (! threadLocalVariables.containsKey(name)) { return getRuntime().getNil(); } return (IRubyObject) threadLocalVariables.get(name); }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/76b67f896c21898620856bc161264cfbe0aa810b/RubyThread.java/clean/org/jruby/RubyThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 854, 74, 12, 7937, 10340, 921, 498, 13, 288, 3639, 514, 508, 273, 13564, 12, 856, 1769, 3639, 309, 16051, 5930, 2042, 6158, 18, 12298, 653, 12, 529, 3719, 288, 5411, 327, 18814, 7675, 588, 12616, 5621, 3639, 289, 3639, 327, 261, 7937, 10340, 921, 13, 2650, 2042, 6158, 18, 588, 12, 529, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 854, 74, 12, 7937, 10340, 921, 498, 13, 288, 3639, 514, 508, 273, 13564, 12, 856, 1769, 3639, 309, 16051, 5930, 2042, 6158, 18, 12298, 653, 12, 529, 3719, 288, 5411, 327, 18814, 7675, 588, 12616, 5621, 3639, 289, 3639, 327, 261, 7937, 10340, 921, 13, 2650, 2042, 6158, 18, 588, 12, 529, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
result.put("message", result, cx.toString(args[0]));
result.messageValue = ScriptRuntime.toString(args[0]);
private static Object jsConstructor(Context cx, Object[] args, Function funObj, boolean inNewExpr) { NativeError result = new NativeError(); if (args.length >= 1) result.put("message", result, cx.toString(args[0])); result.setPrototype(getClassPrototype(funObj, "Error")); return result; }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/e4294421c96037633e3d651b946adf866242da03/NativeError.java/clean/js/rhino/src/org/mozilla/javascript/NativeError.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1033, 3828, 6293, 12, 1042, 9494, 16, 1033, 8526, 833, 16, 29159, 4284, 9831, 2675, 16, 1250, 316, 1908, 4742, 13, 565, 288, 3639, 16717, 668, 563, 273, 394, 16717, 668, 5621, 3639, 309, 261, 1968, 18, 2469, 1545, 404, 13, 2398, 563, 18, 2150, 620, 273, 7739, 5576, 18, 10492, 12, 1968, 63, 20, 19226, 3639, 563, 18, 542, 15846, 12, 588, 797, 15846, 12, 12125, 2675, 16, 315, 668, 7923, 1769, 3639, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1033, 3828, 6293, 12, 1042, 9494, 16, 1033, 8526, 833, 16, 29159, 4284, 9831, 2675, 16, 1250, 316, 1908, 4742, 13, 565, 288, 3639, 16717, 668, 563, 273, 394, 16717, 668, 5621, 3639, 309, 261, 1968, 18, 2469, 1545, 404, 13, 2398, 563, 18, 2150, 620, 273, 7739, 5576, 18, 10492, 12, 1968, 63, 20, 19226, 3639, 563, 18, 542, 15846, 12, 588, 797, 15846, 12, 12125, 2675, 16, 315, 668, 7923, 1769, 3639, 327, 563, 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 ]
startExperimentBuilder();
startBuilder();
public void actionPerformed(ActionEvent e) { startExperimentBuilder(); }
9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/89b1f45f6381b746e998e9454be5b3224b61d0a8/Organizer.java/clean/csmart/src/org/cougaar/tools/csmart/ui/viewer/Organizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 288, 202, 225, 787, 22338, 1263, 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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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 ]
if (pageLayout.checkPartInLayout(viewId))
if (!pageLayout.checkValidPlaceholderId(viewId)) {
public void addPlaceholder(String viewId) { if (pageLayout.checkPartInLayout(viewId)) return; // Get the view's label. // @issue: why do we need to ask the registry for the view?? if (viewId.indexOf(PartPlaceholder.WILD_CARD) == -1) { //$NON-NLS-1$ IViewRegistry reg = WorkbenchPlugin.getDefault().getViewRegistry(); IViewDescriptor desc = reg.find(viewId); if (desc == null) { // cannot safely open the dialog so log the problem WorkbenchPlugin.log("Unable to find view label: " + viewId); //$NON-NLS-1$ return; } } // Create the placeholder. PartPlaceholder newPart = new PartPlaceholder(viewId); linkPartToPageLayout(viewId, newPart); // Add it to the folder layout. folder.add(newPart); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/4166787995dfeaf1790f1f06ca070d0bc9425d5a/FolderLayout.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/FolderLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 14038, 12, 780, 1476, 548, 13, 288, 3639, 309, 16051, 2433, 3744, 18, 1893, 1556, 14038, 548, 12, 1945, 548, 3719, 288, 5411, 327, 31, 3639, 368, 968, 326, 1476, 1807, 1433, 18, 3639, 368, 632, 13882, 30, 11598, 741, 732, 1608, 358, 6827, 326, 4023, 364, 326, 1476, 14646, 3639, 309, 261, 1945, 548, 18, 31806, 12, 1988, 14038, 18, 59, 11382, 67, 28760, 13, 422, 300, 21, 13, 288, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 467, 1767, 4243, 960, 273, 4147, 22144, 3773, 18, 588, 1868, 7675, 588, 1767, 4243, 5621, 5411, 467, 1767, 3187, 3044, 273, 960, 18, 4720, 12, 1945, 548, 1769, 5411, 309, 261, 5569, 422, 446, 13, 288, 7734, 368, 2780, 15303, 1696, 326, 6176, 1427, 613, 326, 6199, 7734, 4147, 22144, 3773, 18, 1330, 2932, 3370, 358, 1104, 1476, 1433, 30, 315, 397, 1476, 548, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 327, 31, 5411, 289, 3639, 289, 3639, 368, 1788, 326, 6695, 18, 3639, 6393, 14038, 394, 1988, 273, 394, 6393, 14038, 12, 1945, 548, 1769, 3639, 1692, 1988, 774, 1964, 3744, 12, 1945, 548, 16, 394, 1988, 1769, 3639, 368, 1436, 518, 358, 326, 3009, 3511, 18, 3639, 3009, 18, 1289, 12, 2704, 1988, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 14038, 12, 780, 1476, 548, 13, 288, 3639, 309, 16051, 2433, 3744, 18, 1893, 1556, 14038, 548, 12, 1945, 548, 3719, 288, 5411, 327, 31, 3639, 368, 968, 326, 1476, 1807, 1433, 18, 3639, 368, 632, 13882, 30, 11598, 741, 732, 1608, 358, 6827, 326, 4023, 364, 326, 1476, 14646, 3639, 309, 261, 1945, 548, 18, 31806, 12, 1988, 14038, 18, 59, 11382, 67, 28760, 13, 422, 300, 21, 13, 288, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 467, 1767, 4243, 960, 273, 4147, 22144, 3773, 18, 588, 1868, 7675, 588, 1767, 4243, 5621, 5411, 467, 1767, 3187, 3044, 273, 960, 18, 4720, 12, 1945, 548, 1769, 5411, 309, 261, 5569, 422, 446, 13, 2 ]
final ChildElementsIterator iterator = getChildElementsIterator();
final DescendantElementsIterator iterator = getAllHtmlChildElements();
public HtmlRadioButtonInput getRadioButtonInput( final String name, final String value ) throws ElementNotFoundException { //final Iterator iterator = getRadioButtonsByName( name ).iterator(); final ChildElementsIterator iterator = getChildElementsIterator(); while( iterator.hasNext() ) { final HtmlElement element = iterator.nextElement(); if( element instanceof HtmlRadioButtonInput && element.getAttributeValue("name").equals( name ) ) { HtmlRadioButtonInput input = (HtmlRadioButtonInput)element; if( input.getValueAttribute().equals( value ) ) { return input; } } } throw new ElementNotFoundException( "input", "value", value ); }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/ce99fcca50661f4cd79ef9006d4b8feee441f21a/HtmlForm.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HtmlForm.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5430, 19984, 3616, 1210, 4170, 361, 1594, 3616, 1210, 12, 727, 514, 508, 16, 727, 514, 460, 262, 3639, 1216, 5411, 3010, 3990, 288, 3639, 368, 6385, 4498, 2775, 273, 4170, 361, 1594, 14388, 5911, 12, 508, 262, 18, 9838, 5621, 4202, 727, 13913, 409, 970, 3471, 3198, 2775, 273, 5514, 4353, 1763, 3471, 5621, 3639, 1323, 12, 2775, 18, 5332, 2134, 1435, 262, 288, 5411, 727, 5430, 1046, 930, 273, 2775, 18, 4285, 1046, 5621, 5411, 309, 12, 930, 1276, 5430, 19984, 3616, 1210, 10792, 597, 930, 18, 588, 14942, 2932, 529, 20387, 14963, 12, 508, 262, 262, 288, 7734, 5430, 19984, 3616, 1210, 810, 273, 261, 4353, 19984, 3616, 1210, 13, 2956, 31, 7734, 309, 12, 810, 18, 24805, 1499, 7675, 14963, 12, 460, 262, 262, 288, 10792, 327, 810, 31, 7734, 289, 5411, 289, 3639, 289, 3639, 604, 394, 3010, 3990, 12, 315, 2630, 3113, 315, 1132, 3113, 460, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5430, 19984, 3616, 1210, 4170, 361, 1594, 3616, 1210, 12, 727, 514, 508, 16, 727, 514, 460, 262, 3639, 1216, 5411, 3010, 3990, 288, 3639, 368, 6385, 4498, 2775, 273, 4170, 361, 1594, 14388, 5911, 12, 508, 262, 18, 9838, 5621, 4202, 727, 13913, 409, 970, 3471, 3198, 2775, 273, 5514, 4353, 1763, 3471, 5621, 3639, 1323, 12, 2775, 18, 5332, 2134, 1435, 262, 288, 5411, 727, 5430, 1046, 930, 273, 2775, 18, 4285, 1046, 5621, 5411, 309, 12, 930, 1276, 5430, 19984, 3616, 1210, 10792, 597, 930, 18, 588, 14942, 2932, 529, 20387, 14963, 12, 508, 262, 262, 288, 7734, 5430, 19984, 3616, 1210, 810, 273, 261, 4353, 19984, 3616, 1210, 13, 2956, 31, 7734, 309, 2 ]
return UNCHANGED;
return DefUseEffect.UNCHANGED;
private static byte intCondMove(OPT_Instruction s) { { OPT_Operand val1 = CondMove.getVal1(s); OPT_Operand val2 = CondMove.getVal2(s); int cond = CondMove.getCond(s).evaluate(val1, val2); if (cond != OPT_ConditionOperand.UNKNOWN) { // BOTH CONSTANTS OR SIMILAR: FOLD OPT_Operand val = (cond == OPT_ConditionOperand.TRUE) ? CondMove.getClearTrueValue(s) : CondMove.getClearFalseValue(s); Move.mutate(s, INT_MOVE, CondMove.getClearResult(s), val); return val.isConstant() ? MOVE_FOLDED : MOVE_REDUCED; } if (val1.isConstant() && !val2.isConstant()) { // Canonicalize by switching operands and fliping code. OPT_Operand tmp = CondMove.getClearVal1(s); CondMove.setVal1(s, CondMove.getClearVal2(s)); CondMove.setVal2(s, tmp); CondMove.getCond(s).flipOperands(); } OPT_Operand tv = CondMove.getTrueValue(s); OPT_Operand fv = CondMove.getFalseValue(s); if (tv.similar(fv)) { Move.mutate(s, INT_MOVE, CondMove.getClearResult(s), tv); return tv.isConstant() ? MOVE_FOLDED : MOVE_REDUCED; } if (tv.isIntConstant() && fv.isIntConstant() && !CondMove.getCond(s).isFLOATINGPOINT()) { int itv = tv.asIntConstant().value; int ifv = fv.asIntConstant().value; OPT_Operator op = null; if(val1.isLong()) { op = BOOLEAN_CMP_LONG; } else if(val1.isFloat()) { op = BOOLEAN_CMP_FLOAT; } else if(val1.isDouble()) { op = BOOLEAN_CMP_DOUBLE; } else { op = BOOLEAN_CMP_INT; } if (itv == 1 && ifv == 0) { BooleanCmp.mutate(s, op, CondMove.getClearResult(s), CondMove.getClearVal1(s), CondMove.getClearVal2(s), CondMove.getClearCond(s), new OPT_BranchProfileOperand()); return REDUCED; } if (itv == 0 && ifv == 1) { BooleanCmp.mutate(s, op, CondMove.getClearResult(s), CondMove.getClearVal1(s), CondMove.getClearVal2(s), CondMove.getClearCond(s).flipCode(), new OPT_BranchProfileOperand()); return REDUCED; } } } return UNCHANGED; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/582eb14323a5e74a2c99b6035e34aa59e229d896/OPT_Simplifier.java/clean/rvm/src/com/ibm/jikesrvm/opt/OPT_Simplifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1160, 509, 12441, 7607, 12, 15620, 67, 11983, 272, 13, 288, 282, 288, 1377, 16456, 67, 10265, 1244, 21, 273, 735, 72, 7607, 18, 588, 3053, 21, 12, 87, 1769, 1377, 16456, 67, 10265, 1244, 22, 273, 735, 72, 7607, 18, 588, 3053, 22, 12, 87, 1769, 1377, 509, 6941, 273, 735, 72, 7607, 18, 588, 12441, 12, 87, 2934, 21024, 12, 1125, 21, 16, 1244, 22, 1769, 1377, 309, 261, 10013, 480, 16456, 67, 3418, 10265, 18, 14737, 13, 288, 3639, 368, 29370, 24023, 55, 4869, 31433, 2627, 985, 30, 478, 11846, 3639, 16456, 67, 10265, 1244, 273, 6647, 261, 10013, 422, 16456, 67, 3418, 10265, 18, 18724, 13, 692, 735, 72, 7607, 18, 588, 9094, 5510, 620, 12, 87, 13, 6647, 294, 735, 72, 7607, 18, 588, 9094, 8381, 620, 12, 87, 1769, 3639, 9933, 18, 10735, 340, 12, 87, 16, 6137, 67, 16537, 16, 735, 72, 7607, 18, 588, 9094, 1253, 12, 87, 3631, 1244, 1769, 3639, 327, 1244, 18, 291, 6902, 1435, 692, 16070, 3412, 67, 42, 1741, 7660, 294, 16070, 3412, 67, 5879, 57, 23552, 31, 1377, 289, 1377, 309, 261, 1125, 21, 18, 291, 6902, 1435, 597, 401, 1125, 22, 18, 291, 6902, 10756, 288, 3639, 368, 19413, 554, 635, 30882, 14883, 471, 284, 549, 1382, 981, 18, 3639, 16456, 67, 10265, 1853, 273, 735, 72, 7607, 18, 588, 9094, 3053, 21, 12, 87, 1769, 3639, 735, 72, 7607, 18, 542, 3053, 21, 12, 87, 16, 735, 72, 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, 760, 1160, 509, 12441, 7607, 12, 15620, 67, 11983, 272, 13, 288, 282, 288, 1377, 16456, 67, 10265, 1244, 21, 273, 735, 72, 7607, 18, 588, 3053, 21, 12, 87, 1769, 1377, 16456, 67, 10265, 1244, 22, 273, 735, 72, 7607, 18, 588, 3053, 22, 12, 87, 1769, 1377, 509, 6941, 273, 735, 72, 7607, 18, 588, 12441, 12, 87, 2934, 21024, 12, 1125, 21, 16, 1244, 22, 1769, 1377, 309, 261, 10013, 480, 16456, 67, 3418, 10265, 18, 14737, 13, 288, 3639, 368, 29370, 24023, 55, 4869, 31433, 2627, 985, 30, 478, 11846, 3639, 16456, 67, 10265, 1244, 273, 6647, 261, 10013, 422, 16456, 67, 3418, 10265, 18, 18724, 13, 692, 735, 72, 7607, 18, 588, 2 ]
int count =-1;
public void loadCmbCurrentProject() { Module modules[] = cogenbean.getModules(); int count =-1; if (modules != null) { for (count = 0; count < modules.length; count++) { cmbCurrentProject.addItem(modules[count].getName()); } } if (count == -1) { radCurrentProject.setEnabled(false); radCustomLocation.setSelected(true); txtoutput.setEnabled(true); btwBrowse.setEnabled(true); } else{ radCurrentProject.setEnabled(true); radCurrentProject.setSelected(true); txtoutput.setEnabled(false); btwBrowse.setEnabled(false); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/9d8b243488921dd415dc0169bcc72f4d0edc5cc5/OutPutPane.java/clean/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/idea/OutPutPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 39, 1627, 3935, 4109, 1435, 288, 3639, 5924, 4381, 8526, 273, 276, 19409, 14496, 18, 588, 7782, 5621, 7734, 309, 261, 6400, 480, 446, 13, 288, 5411, 364, 261, 1883, 273, 374, 31, 1056, 411, 4381, 18, 2469, 31, 1056, 27245, 288, 7734, 276, 1627, 3935, 4109, 18, 1289, 1180, 12, 6400, 63, 1883, 8009, 17994, 10663, 5411, 289, 3639, 289, 3639, 309, 261, 1883, 422, 300, 21, 13, 288, 5411, 6719, 3935, 4109, 18, 542, 1526, 12, 5743, 1769, 5411, 6719, 3802, 2735, 18, 542, 7416, 12, 3767, 1769, 5411, 6463, 2844, 18, 542, 1526, 12, 3767, 1769, 5411, 10921, 91, 27304, 18, 542, 1526, 12, 3767, 1769, 3639, 289, 3639, 469, 95, 5411, 6719, 3935, 4109, 18, 542, 1526, 12, 3767, 1769, 5411, 6719, 3935, 4109, 18, 542, 7416, 12, 3767, 1769, 5411, 6463, 2844, 18, 542, 1526, 12, 5743, 1769, 5411, 10921, 91, 27304, 18, 542, 1526, 12, 5743, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 39, 1627, 3935, 4109, 1435, 288, 3639, 5924, 4381, 8526, 273, 276, 19409, 14496, 18, 588, 7782, 5621, 7734, 309, 261, 6400, 480, 446, 13, 288, 5411, 364, 261, 1883, 273, 374, 31, 1056, 411, 4381, 18, 2469, 31, 1056, 27245, 288, 7734, 276, 1627, 3935, 4109, 18, 1289, 1180, 12, 6400, 63, 1883, 8009, 17994, 10663, 5411, 289, 3639, 289, 3639, 309, 261, 1883, 422, 300, 21, 13, 288, 5411, 6719, 3935, 4109, 18, 542, 1526, 12, 5743, 1769, 5411, 6719, 3802, 2735, 18, 542, 7416, 12, 3767, 1769, 5411, 6463, 2844, 18, 542, 1526, 12, 3767, 1769, 5411, 10921, 91, 27304, 18, 542, 1526, 12, 3767, 1769, 3639, 289, 3639, 469, 95, 5411, 2 ]
attr.setNodeValue(attributes.getValue(i));
String attrValue = attributes.getValue(i); attr.setNodeValue(attrValue); el.setAttributeNode(attr);
public void startElement(QName element, XMLAttributes attributes) throws XNIException { if (!fDeferNodeExpansion) { Element el = element.prefix != null ? fDocument.createElementNS(element.uri, element.rawname) : fDocument.createElement(element.rawname); int attrCount = attributes.getLength(); for (int i = 0; i < attrCount; i++) { attributes.getName(i, fAttrQName); Attr attr = fAttrQName.prefix != null ? fDocument.createAttributeNS(fAttrQName.uri, fAttrQName.rawname) : fDocument.createAttribute(fAttrQName.rawname); attr.setNodeValue(attributes.getValue(i)); // REVISIT: Handle entities in attribute value. el.setAttributeNode(attr); // build entity references int entityCount = attributes.getEntityCount(i); if (entityCount > 0) { Text text = (Text)attr.getFirstChild(); buildAttrEntityRefs(text, attributes, i, entityCount, 0, 0); } } fCurrentNode.appendChild(el); fCurrentNode = el; } else { int el = fDeferredDocumentImpl. createDeferredElement(element.prefix != null ? element.uri : null, element.rawname, attributes); fDeferredDocumentImpl.appendChild(fCurrentNodeIndex, el); fCurrentNodeIndex = el; } } // startElement(QName,XMLAttributes)
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/e95521568fc7ff2a8e6ccdf55f06713a410730ae/AbstractDOMParser.java/clean/src/org/apache/xerces/parsers/AbstractDOMParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 13688, 930, 16, 3167, 2498, 1677, 13, 3639, 1216, 1139, 50, 45, 503, 288, 3639, 309, 16051, 74, 758, 586, 907, 2966, 12162, 13, 288, 5411, 3010, 415, 273, 930, 18, 3239, 480, 446, 7734, 692, 284, 2519, 18, 2640, 1046, 3156, 12, 2956, 18, 1650, 16, 930, 18, 1899, 529, 13, 7734, 294, 284, 2519, 18, 2640, 1046, 12, 2956, 18, 1899, 529, 1769, 5411, 509, 1604, 1380, 273, 1677, 18, 588, 1782, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1604, 1380, 31, 277, 27245, 288, 7734, 1677, 18, 17994, 12, 77, 16, 284, 3843, 13688, 1769, 7734, 11289, 1604, 273, 284, 3843, 13688, 18, 3239, 480, 446, 10792, 692, 284, 2519, 18, 2640, 1499, 3156, 12, 74, 3843, 13688, 18, 1650, 16, 4766, 5375, 284, 3843, 13688, 18, 1899, 529, 13, 10792, 294, 284, 2519, 18, 2640, 1499, 12, 74, 3843, 13688, 18, 1899, 529, 1769, 7734, 514, 21676, 273, 1677, 18, 24805, 12, 77, 1769, 1604, 18, 542, 907, 620, 12, 1747, 620, 1769, 415, 18, 542, 1499, 907, 12, 1747, 1769, 7734, 368, 2438, 26780, 1285, 30, 5004, 5140, 316, 1566, 460, 18, 7734, 415, 18, 542, 1499, 907, 12, 1747, 1769, 7734, 368, 1361, 1522, 5351, 7734, 509, 1522, 1380, 273, 1677, 18, 588, 1943, 1380, 12, 77, 1769, 7734, 309, 261, 1096, 1380, 405, 374, 13, 288, 10792, 3867, 977, 273, 261, 1528, 13, 1747, 18, 588, 3759, 1763, 5621, 10792, 1361, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 13688, 930, 16, 3167, 2498, 1677, 13, 3639, 1216, 1139, 50, 45, 503, 288, 3639, 309, 16051, 74, 758, 586, 907, 2966, 12162, 13, 288, 5411, 3010, 415, 273, 930, 18, 3239, 480, 446, 7734, 692, 284, 2519, 18, 2640, 1046, 3156, 12, 2956, 18, 1650, 16, 930, 18, 1899, 529, 13, 7734, 294, 284, 2519, 18, 2640, 1046, 12, 2956, 18, 1899, 529, 1769, 5411, 509, 1604, 1380, 273, 1677, 18, 588, 1782, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1604, 1380, 31, 277, 27245, 288, 7734, 1677, 18, 17994, 12, 77, 16, 284, 3843, 13688, 1769, 7734, 11289, 1604, 273, 284, 3843, 13688, 18, 3239, 480, 446, 10792, 2 ]
return DbUser.listAllUsers ();
return getBubble().listAllUsers ();
public User[] listAllUsers() throws jdoPersistenceEx { try { return DbUser.listAllUsers (); } catch (PersistenceException e) { throw new jdoPersistenceEx(e.getMessage()); } }
10370 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10370/bebd5a272637a13e71b3d4f57f16e67f1410042c/DisicalUser.java/buggy/disical/src/de/cwrose/disical/corba/DisicalUser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2177, 8526, 27204, 6588, 1435, 202, 202, 15069, 525, 2896, 13182, 424, 202, 95, 202, 202, 698, 288, 1082, 202, 2463, 8408, 1299, 18, 1098, 1595, 6588, 261, 1769, 202, 202, 97, 202, 202, 14683, 261, 13182, 503, 425, 13, 288, 1082, 202, 12849, 394, 525, 2896, 13182, 424, 12, 73, 18, 24906, 10663, 202, 202, 97, 9506, 202, 97, 2, 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, 2177, 8526, 27204, 6588, 1435, 202, 202, 15069, 525, 2896, 13182, 424, 202, 95, 202, 202, 698, 288, 1082, 202, 2463, 8408, 1299, 18, 1098, 1595, 6588, 261, 1769, 202, 202, 97, 202, 202, 14683, 261, 13182, 503, 425, 13, 288, 1082, 202, 12849, 394, 525, 2896, 13182, 424, 12, 73, 18, 24906, 10663, 202, 202, 97, 9506, 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 ]
suite.addTest(new ClassFileReaderTest("test068"));
suite.addTest(new ClassFileReaderTest("test069"));
public static Test suite() { if (false) { TestSuite suite = new TestSuite(); suite.addTest(new ClassFileReaderTest("test068")); return suite; } return setupSuite(testClass()); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/b3bdb44776faa860f50f450670f79dfc874cc5b3/ClassFileReaderTest.java/buggy/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/ClassFileReaderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 7766, 11371, 1435, 288, 202, 202, 430, 261, 5743, 13, 288, 1082, 202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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 7766, 11371, 1435, 288, 202, 202, 430, 261, 5743, 13, 288, 1082, 202, 4709, 13587, 11371, 273, 394, 7766, 13587, 5621, 1082, 202, 30676, 18, 1289, 4709, 12, 2704, 30614, 2514, 4709, 2932, 3813, 7677, 28, 7923, 1769, 1082, 202, 2463, 11371, 31, 202, 202, 97, 202, 202, 2463, 3875, 13587, 12, 3813, 797, 10663, 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 ]
public TimestampedValue(final Object value, final Timestamp timestamp) { this.value = value; this.loadTime = timestamp; }
public TimestampedValue( final Object value, final Timestamp timestamp ) { this.value = value; this.loadTime = timestamp; }
public TimestampedValue(final Object value, final Timestamp timestamp) { this.value = value; this.loadTime = timestamp; }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/4aaf60d8fa76687c3492c508dd98678fbbd3d935/TimedCache.java/buggy/jmock/examples/timed-cache/src/org/jmock/examples/timedcache/TimedCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 8159, 329, 620, 12, 6385, 1033, 460, 16, 727, 8159, 2858, 13, 288, 5411, 333, 18, 1132, 273, 460, 31, 5411, 333, 18, 945, 950, 273, 2858, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 8159, 329, 620, 12, 6385, 1033, 460, 16, 727, 8159, 2858, 13, 288, 5411, 333, 18, 1132, 273, 460, 31, 5411, 333, 18, 945, 950, 273, 2858, 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 ]
doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALLOW_UNASSIGNED, null);
public void TestToUnicode() throws Exception{ for(int i=0; i<TestData.asciiIn.length; i++){ // test StringBuffer toUnicode doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); //doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); //doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALLOW_UNASSIGNED, null); } }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/a145d66a174f37e9b69a199835911ca4c280f3d3/TestIDNA.java/clean/icu4j/src/com/ibm/icu/dev/test/stringprep/TestIDNA.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 741, 4709, 774, 16532, 12, 4709, 751, 18, 9184, 382, 63, 77, 6487, 2704, 514, 12, 4709, 751, 18, 9124, 382, 63, 77, 65, 3631, 734, 11277, 18, 8001, 67, 882, 40, 23, 67, 14920, 55, 16, 446, 1769, 741, 4709, 774, 16532, 12, 4709, 751, 18, 9184, 382, 63, 77, 6487, 2704, 514, 12, 4709, 751, 18, 9124, 382, 63, 77, 65, 3631, 734, 11277, 18, 8001, 67, 882, 40, 23, 67, 14920, 55, 96, 734, 11277, 18, 13511, 67, 2124, 23289, 2056, 16, 446, 1769, 741, 4709, 774, 16532, 12, 4709, 751, 18, 9184, 382, 63, 77, 6487, 2704, 514, 12, 4709, 751, 18, 9124, 382, 63, 77, 65, 3631, 734, 11277, 18, 8001, 67, 882, 40, 23, 67, 14920, 55, 16, 446, 1769, 741, 4709, 774, 16532, 12, 4709, 751, 18, 9184, 382, 63, 77, 6487, 2704, 514, 12, 4709, 751, 18, 9124, 382, 63, 77, 65, 3631, 734, 11277, 18, 8001, 67, 882, 40, 23, 67, 14920, 55, 96, 734, 11277, 18, 13511, 67, 2124, 23289, 2056, 16, 446, 1769, 1071, 918, 7766, 774, 16532, 1435, 1216, 1185, 95, 2896, 4709, 774, 16532, 12, 4709, 751, 18, 9184, 382, 63, 77, 6487, 2704, 514, 12, 4709, 751, 18, 9124, 382, 63, 77, 65, 3631, 734, 11277, 18, 8001, 67, 882, 40, 23, 67, 14920, 55, 16, 446, 1769, 741, 4709, 774, 16532, 12, 4709, 751, 18, 9184, 382, 63, 77, 6487, 2704, 514, 12, 4709, 751, 18, 9124, 382, 63, 77, 65, 3631, 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, 741, 4709, 774, 16532, 12, 4709, 751, 18, 9184, 382, 63, 77, 6487, 2704, 514, 12, 4709, 751, 18, 9124, 382, 63, 77, 65, 3631, 734, 11277, 18, 8001, 67, 882, 40, 23, 67, 14920, 55, 16, 446, 1769, 741, 4709, 774, 16532, 12, 4709, 751, 18, 9184, 382, 63, 77, 6487, 2704, 514, 12, 4709, 751, 18, 9124, 382, 63, 77, 65, 3631, 734, 11277, 18, 8001, 67, 882, 40, 23, 67, 14920, 55, 96, 734, 11277, 18, 13511, 67, 2124, 23289, 2056, 16, 446, 1769, 741, 4709, 774, 16532, 12, 4709, 751, 18, 9184, 382, 63, 77, 6487, 2704, 514, 12, 4709, 751, 18, 9124, 382, 63, 77, 65, 3631, 734, 11277, 18, 8001, 67, 882, 40, 2 ]
cp.addExtdirs( m_extdirs );
addExtdirs( cp );
protected Commandline setupKjcCommand() throws TaskException { Commandline cmd = new Commandline(); // generate classpath, because kjc does't support sourcepath. Path classpath = getCompileClasspath(); if( m_deprecation == true ) { cmd.createArgument().setValue( "-deprecation" ); } if( m_destDir != null ) { cmd.createArgument().setValue( "-d" ); cmd.createArgument().setFile( m_destDir ); } // generate the clsspath cmd.createArgument().setValue( "-classpath" ); Path cp = new Path(); // kjc don't have bootclasspath option. if( m_bootclasspath != null ) { cp.append( m_bootclasspath ); } if( m_extdirs != null ) { cp.addExtdirs( m_extdirs ); } cp.append( classpath ); cp.append( src ); cmd.createArgument().setPath( cp ); // kjc-1.5A doesn't support -encoding option now. // but it will be supported near the feature. if( m_encoding != null ) { cmd.createArgument().setValue( "-encoding" ); cmd.createArgument().setValue( m_encoding ); } if( m_debug ) { cmd.createArgument().setValue( "-g" ); } if( m_optimize ) { cmd.createArgument().setValue( "-O2" ); } if( m_verbose ) { cmd.createArgument().setValue( "-verbose" ); } addCurrentCompilerArgs( cmd ); logAndAddFilesToCompile( cmd ); return cmd; }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/1bd4167603ad1a6b613bb73d5e5631e37ea511d0/Kjc.java/buggy/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/compilers/Kjc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 3498, 1369, 3875, 47, 78, 71, 2189, 1435, 3639, 1216, 3837, 503, 565, 288, 3639, 3498, 1369, 1797, 273, 394, 3498, 1369, 5621, 3639, 368, 2103, 10006, 16, 2724, 417, 78, 71, 1552, 1404, 2865, 1084, 803, 18, 3639, 2666, 10006, 273, 336, 9937, 17461, 5621, 3639, 309, 12, 312, 67, 29263, 422, 638, 262, 3639, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 3701, 29263, 6, 11272, 3639, 289, 3639, 309, 12, 312, 67, 10488, 1621, 480, 446, 262, 3639, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 3701, 72, 6, 11272, 5411, 1797, 18, 2640, 1379, 7675, 542, 812, 12, 312, 67, 10488, 1621, 11272, 3639, 289, 3639, 368, 2103, 326, 927, 1049, 803, 3639, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 3701, 26302, 6, 11272, 3639, 2666, 3283, 273, 394, 2666, 5621, 3639, 368, 417, 78, 71, 2727, 1404, 1240, 4835, 26302, 1456, 18, 3639, 309, 12, 312, 67, 7137, 26302, 480, 446, 262, 3639, 288, 5411, 3283, 18, 6923, 12, 312, 67, 7137, 26302, 11272, 3639, 289, 3639, 309, 12, 312, 67, 408, 8291, 480, 446, 262, 3639, 288, 5411, 527, 2482, 8291, 12, 3283, 11272, 3639, 289, 3639, 3283, 18, 6923, 12, 10006, 11272, 3639, 3283, 18, 6923, 12, 1705, 11272, 3639, 1797, 18, 2640, 1379, 7675, 542, 743, 12, 3283, 11272, 3639, 368, 417, 78, 71, 17, 21, 18, 25, 37, 3302, 1404, 2865, 300, 5999, 1456, 2037, 18, 3639, 368, 1496, 518, 903, 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, 3498, 1369, 3875, 47, 78, 71, 2189, 1435, 3639, 1216, 3837, 503, 565, 288, 3639, 3498, 1369, 1797, 273, 394, 3498, 1369, 5621, 3639, 368, 2103, 10006, 16, 2724, 417, 78, 71, 1552, 1404, 2865, 1084, 803, 18, 3639, 2666, 10006, 273, 336, 9937, 17461, 5621, 3639, 309, 12, 312, 67, 29263, 422, 638, 262, 3639, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 3701, 29263, 6, 11272, 3639, 289, 3639, 309, 12, 312, 67, 10488, 1621, 480, 446, 262, 3639, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 3701, 72, 6, 11272, 5411, 1797, 18, 2640, 1379, 7675, 542, 812, 12, 312, 67, 10488, 1621, 11272, 3639, 289, 3639, 368, 2103, 326, 2 ]
System.arraycopy(super.toArray(), position, array, 0, len);
Object[] array = new Object[len]; System.arraycopy(delegate.toArray(), position, array, 0, len);
public Object[] toArray(Object[] array) { int len = size(); System.arraycopy(super.toArray(), position, array, 0, len); return array; }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/d31a76ee29d5978a9bec41e3ac9134cee024bcab/DefaultPointer.java/clean/org/jruby/util/DefaultPointer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 8526, 4434, 12, 921, 8526, 526, 13, 288, 3639, 509, 562, 273, 963, 5621, 3639, 1033, 8526, 526, 273, 394, 1033, 63, 1897, 15533, 2332, 18, 1126, 3530, 12, 22216, 18, 31447, 9334, 1754, 16, 526, 16, 374, 16, 562, 1769, 3639, 327, 526, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 8526, 4434, 12, 921, 8526, 526, 13, 288, 3639, 509, 562, 273, 963, 5621, 3639, 1033, 8526, 526, 273, 394, 1033, 63, 1897, 15533, 2332, 18, 1126, 3530, 12, 22216, 18, 31447, 9334, 1754, 16, 526, 16, 374, 16, 562, 1769, 3639, 327, 526, 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 ]
expectation1.needsMoreInvocations = true;
expectation1.isSatisfied = false;
public void testDoesNotMatchIfFirstMemberDoesNotMatchAndIsNotSatisfied() { expectation1.matches = false; expectation1.needsMoreInvocations = true; assertTrue("group should not match", !group.matches(invocation)); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/010013813a0e057e0715a4d31490eefcfa353062/OrderedExpectationGroupTests.java/clean/jmock2/test/org/jmock/test/unit/lib/OrderedExpectationGroupTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10154, 1248, 2060, 2047, 3759, 4419, 10154, 1248, 2060, 1876, 28041, 15163, 21501, 1435, 288, 3639, 17733, 21, 18, 8436, 273, 629, 31, 3639, 17733, 21, 18, 291, 15163, 21501, 273, 629, 31, 7734, 1815, 5510, 2932, 1655, 1410, 486, 845, 3113, 401, 1655, 18, 8436, 12, 5768, 4431, 10019, 565, 289, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10154, 1248, 2060, 2047, 3759, 4419, 10154, 1248, 2060, 1876, 28041, 15163, 21501, 1435, 288, 3639, 17733, 21, 18, 8436, 273, 629, 31, 3639, 17733, 21, 18, 291, 15163, 21501, 273, 629, 31, 7734, 1815, 5510, 2932, 1655, 1410, 486, 845, 3113, 401, 1655, 18, 8436, 12, 5768, 4431, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (extra > 0) { if (extra > 1) { s.append(" for (int i=0; i<"); s.append(extra); s.append("; i++) {\n ");
int init_pop_count = extra; { if (f instanceof SIRTwoStageFilter) { SIRTwoStageFilter ff = (SIRTwoStageFilter)f; int init_peek = ff.getInitPeekInt(); int init_pop = ff.getInitPopInt(); if (init_pop > init_peek) init_peek = init_pop; init_pop_count = init_peek; if (extra > (init_peek - init_pop)) init_pop_count += extra - (init_peek - init_pop); } } if (init_pop_count > 0) { if (init_pop_count > 1) { s.append(" for (int i=0; i<"); s.append(init_pop_count); s.append("; i++) {\n ");
public String downstreamDeclaration() { StringBuffer s = new StringBuffer(); FlatNode source_node = NodeEnumerator.getFlatNode(src); FlatNode my_node = NodeEnumerator.getFlatNode(dst); if (my_node.contents instanceof SIRFilter) { SIRFilter f = (SIRFilter)my_node.contents; int peek_n = f.getPeekInt(); int pop_n = f.getPopInt(); // String pop_expr = null; int peek_buf_size = 1; while (peek_buf_size < peek_n) { peek_buf_size *= 2; } /* __pop_buf_DST, __head__DST, __tail__DST, __init_pop_buf__DST * seem to have to do with copying out any data items that are * in the input buffer that are not popped in the current iteration */ String headName = "__head__" + dst; String tailName = "__tail__" + dst; String bufName = "__pop_buf__" + dst; s.append(typeString); s.append(" "); s.append(bufName); s.append("["); s.append(peek_buf_size); s.append("];\n"); s.append("int "); s.append(headName); s.append(";\n"); s.append("int "); s.append(tailName); s.append(";\n"); s.append("\n"); int extra = FixedBufferTape.getRemaining(src,dst); s.append("inline void __init_pop_buf__"); s.append(dst); s.append("() {\n"); if (extra > 0) { if (extra > 1) { s.append(" for (int i=0; i<"); s.append(extra); s.append("; i++) {\n "); s.append(bufName); s.append("[i]="); s.append(popExpr()); s.append(";\n"); s.append(" }\n"); } else { s.append(" "); s.append(bufName); s.append("[0]="); s.append(popExpr()); s.append(";\n"); } } s.append(" "); s.append(tailName); s.append("=0;\n"); s.append(" "); s.append(headName); s.append("="); s.append(extra); s.append(";\n"); s.append("}\n"); s.append("\n"); // save_peek_buffer__DST and load_peek_buffer__DST // presumably something to do with checkpointing... // but using buffer called "__pop_buf__"DST above // and using different size and modular arithmetic. // XXX: presumably does not work any longer. s.append( "void save_peek_buffer__" + dst + "(object_write_buffer *buf) {\n" + " int i = 0, offs = " + tailName + ";\n" + " while (offs != " + headName + ") {\n" + " buf->write(&" + bufName + "[offs], sizeof(" + typeString + "));\n offs++;\n offs&=" + (peek_buf_size - 1) + ";\n i++;\n" + " }\n"); // p.print(" fprintf(stderr,\"buf size: %d\\n\", i);\n"); s.append(" assert(i == " + extra + ");\n"); s.append("}\n"); s.append("\n"); s.append("void load_peek_buffer__" + dst + "(object_write_buffer *buf) {\n"); if (extra > 0) { if (extra > 1) { s.append(" for (int i = 0; i < " + extra + "; i++) {\n"); s.append(" buf->read(&" + bufName + "[i] , sizeof(" + typeString + "));\n"); s.append(" }\n"); } else { s.append(" buf->read(&" + bufName + "[0] , sizeof(" + typeString + "));\n"); } } s.append(" " + tailName + "=0;\n"); s.append(" " + headName + "=" + extra + ";\n"); s.append("}\n\n"); s.append("inline void __update_pop_buf__" + dst + "() {\n"); if (peek_n <= pop_n) { // no peek beyond pop // TODO: candidate for partial unrolling? // complete unrolls of buffer updates were removed // as caused excessive file size to C++ if (pop_n > 0) { if (pop_n > 1) { s.append("for (int i = 0; i < " + pop_n + "; i++) {\n"); s.append(" " + bufName + "[i]="); } else { s.append(" " + bufName + "[0]="); } s.append(popExpr()+";\n"); if (pop_n > 1) { s.append("}\n"); } } s.append(" " + tailName + " = 0;\n"); s.append(" " + headName + " = " + pop_n + ";\n"); } else { // peek beyond pop => circular buffer // TODO: candidate for partial unrolling? if (pop_n > 0) { if (pop_n > 1) { s.append(" for (int i = 0; i < " + pop_n + "; i++) {\n"); } s.append(" " + bufName + "[" + headName + "]="); s.append(popExpr()+";\n"); s.append(" " + headName + "++;"); s.append(" " + headName + "&=" + (peek_buf_size - 1) + ";\n"); if (pop_n > 1) { s.append("}\n"); } } } s.append("}\n\n"); // pop s.append("\n"); s.append("inline " + typeString + " " + ClusterUtils.popName(dst) + "() {\n"); //p.indent(); if (peek_n <= pop_n) { s.append("return __pop_buf__" + dst + "[__tail__" + dst + "++];\n"); } else { s.append(typeString + " res=__pop_buf__" + dst + "[__tail__" + dst + "];"); s.append("__tail__" + dst + "++;"); s.append("__tail__" + dst + "&=" + (peek_buf_size - 1) + ";\n"); s.append("return res;\n"); } //p.outdent(); s.append("}\n"); s.append("\n"); // pop with argument (the source is not fused) s.append("inline " + typeString + " " + ClusterUtils.popName(dst) + "(int n) {\n"); //p.indent(); if (peek_n <= pop_n) { s.append("" + typeString + " result = __pop_buf__" + dst + "[__tail__" + dst + "];\n"); s.append("__tail__" + dst + "+=n;\n"); s.append("return result;\n"); } else { s.append(typeString + " res=__pop_buf__" + dst + "[__tail__" + dst + "];"); s.append("__tail__" + dst + "+=n;"); s.append("__tail__" + dst + "&=" + (peek_buf_size - 1) + ";\n"); s.append("return res;\n"); } //p.outdent(); s.append("}\n"); s.append("\n"); s.append("inline " + typeString + " " + ClusterUtils.peekName(dst) + "(int offs) {\n"); //p.indent(); if (peek_n <= pop_n) { s.append("return __pop_buf__" + dst + "[(__tail__" + dst + "+offs)];\n"); } else { s.append("return __pop_buf__" + dst + "[(__tail__" + dst + "+offs)&" + (peek_buf_size - 1) + "];\n"); } //p.outdent(); s.append(" }\n"); s.append("\n"); s.append("\n"); } else if (my_node.contents instanceof SIRSplitter) { // Splitter: push through from upstream to output tapes. SIRSplitter splitter = (SIRSplitter)my_node.contents; int sum_of_weights = splitter.getSumOfWeights(); // List of tapes with upstream end == downstream end of this. List<Tape> out = RegisterStreams.getNodeOutStreams(my_node.contents); if (splitter.getType().equals(SIRSplitType.DUPLICATE)) { // Duplicate splitter: push routine pushes "data" // on every output tape. s.append("void " + push_name +"("+ typeString +" data) {\n"); for (Tape to : out) { if (s != null) { s.append(" " + to.pushPrefix() + "data" + to.pushSuffix() + ";\n"); } } s.append("}\n"); s.append("\n"); } else { // RoundRobin splitter: push routine puts data in push_buffer // if push_buffer is full then copies correct portion to each output tapes. s.append(typeString + " " + push_buffer + "[" + sum_of_weights + "];\n"); s.append("int " + push_index + " = 0;\n"); s.append("\n"); s.append("void " + push_name +"("+ typeString +" data) {\n"); s.append(" " + push_buffer + "[" + push_index + "++] = data;\n"); s.append(" if (" + push_index + " == " + sum_of_weights + ") {\n"); int offs = 0; for (int i = 0; i < out.size(); i++) { int num = splitter.getWeight(i); if (num != 0) { Tape to = out.get(i); s.append(to.pushManyItems(push_buffer,offs,num)); s.append("\n"); offs += num; } } s.append(" " + push_index + " = 0;\n"); s.append(" }\n"); s.append("}\n"); } } return s.toString(); }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/46cd7fa2dd6e4d70cb7bf549f8e7d01c9c19f32d/TapeCluster.java/clean/streams/src/at/dms/kjc/cluster/TapeCluster.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 18186, 6094, 1435, 288, 3639, 6674, 272, 273, 394, 6674, 5621, 7734, 20396, 907, 1084, 67, 2159, 273, 2029, 3572, 7385, 18, 588, 16384, 907, 12, 4816, 1769, 3639, 20396, 907, 3399, 67, 2159, 273, 2029, 3572, 7385, 18, 588, 16384, 907, 12, 11057, 1769, 1377, 309, 261, 4811, 67, 2159, 18, 3980, 1276, 5705, 54, 1586, 13, 288, 1850, 5705, 54, 1586, 284, 273, 261, 2320, 54, 1586, 13, 4811, 67, 2159, 18, 3980, 31, 1850, 509, 8032, 67, 82, 273, 284, 18, 588, 30950, 1702, 5621, 1850, 509, 1843, 67, 82, 273, 284, 18, 588, 7049, 1702, 5621, 5375, 368, 514, 1843, 67, 8638, 273, 446, 31, 3639, 509, 8032, 67, 4385, 67, 1467, 273, 404, 31, 3639, 1323, 261, 347, 3839, 67, 4385, 67, 1467, 411, 8032, 67, 82, 13, 288, 5411, 8032, 67, 4385, 67, 1467, 6413, 576, 31, 3639, 289, 3639, 1748, 1001, 5120, 67, 4385, 67, 40, 882, 16, 1001, 1978, 972, 40, 882, 16, 1001, 13101, 972, 40, 882, 16, 225, 1001, 2738, 67, 5120, 67, 4385, 972, 40, 882, 540, 380, 19264, 358, 1240, 358, 741, 598, 8933, 596, 1281, 501, 1516, 716, 854, 540, 380, 316, 326, 810, 1613, 716, 854, 486, 30766, 316, 326, 783, 6532, 1195, 3639, 514, 910, 461, 273, 10425, 1978, 14437, 397, 3046, 31, 3639, 514, 5798, 461, 273, 10425, 13101, 14437, 397, 3046, 31, 3639, 514, 1681, 461, 273, 10425, 5120, 67, 4385, 14437, 397, 3046, 31, 7734, 272, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 18186, 6094, 1435, 288, 3639, 6674, 272, 273, 394, 6674, 5621, 7734, 20396, 907, 1084, 67, 2159, 273, 2029, 3572, 7385, 18, 588, 16384, 907, 12, 4816, 1769, 3639, 20396, 907, 3399, 67, 2159, 273, 2029, 3572, 7385, 18, 588, 16384, 907, 12, 11057, 1769, 1377, 309, 261, 4811, 67, 2159, 18, 3980, 1276, 5705, 54, 1586, 13, 288, 1850, 5705, 54, 1586, 284, 273, 261, 2320, 54, 1586, 13, 4811, 67, 2159, 18, 3980, 31, 1850, 509, 8032, 67, 82, 273, 284, 18, 588, 30950, 1702, 5621, 1850, 509, 1843, 67, 82, 273, 284, 18, 588, 7049, 1702, 5621, 5375, 368, 514, 1843, 67, 8638, 273, 446, 31, 3639, 509, 8032, 67, 4385, 67, 1467, 2 ]
public static void main(String[] args) { DataInputStream ls = null; try { System.out.println("open socket"); if (args.length == 0) { Socket lissConnect = new Socket("anmo.iu.liss.org", 4000); ls = new DataInputStream( new BufferedInputStream( lissConnect.getInputStream(), 1024)); } else { ls = new DataInputStream( new BufferedInputStream( new FileInputStream(args[0]))); } MiniSeedRead rf = new MiniSeedRead(ls); for (int i=0; i<10; i++) { SeedRecord sr = rf.getNextRecord(); System.out.println(sr); Codec codec = new Codec(); if (sr instanceof DataRecord) { DataRecord dr = (DataRecord)sr; byte[] data = dr.getData(); Blockette[] blockettes = dr.getBlockettes(1000); Blockette1000 b1000 = (Blockette1000)blockettes[0]; boolean swapNeeded = false; if (b1000.getWordOrder() == 0) swapNeeded = true; try { if ((int)b1000.getEncodingFormat() == 0) { String s = new String(data); System.out.println(s); } else { DecompressedData decomp = codec.decompress((int)b1000.getEncodingFormat(), data, dr.getHeader().getNumSamples(), swapNeeded); int[] outData = decomp.getAsInt(); for (int j = 0; j < 10 && j < outData.length; j++) { System.out.print(" "+outData[j]); } System.out.println(); } } catch (UnsupportedCompressionType ex) { System.out.println("compression type not supported"+b1000.getEncodingFormat()); } } } } catch (Exception e) { System.out.println(e); e.printStackTrace(); } finally { try { if (ls != null) ls.close(); } catch (Exception ee) {} } }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/7c5843a08d9307848195c83c3dcfc86682330691/MiniSeedRead.java/clean/src/edu/sc/seis/fissuresUtil/mseed/MiniSeedRead.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 29382, 7180, 273, 446, 31, 3639, 775, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 3190, 2987, 8863, 5411, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 7734, 8758, 328, 1054, 5215, 273, 394, 8758, 2932, 304, 8683, 18, 30063, 18, 80, 1054, 18, 3341, 3113, 1059, 3784, 1769, 3639, 7180, 273, 394, 29382, 12, 9079, 394, 24742, 12, 5397, 328, 1054, 5215, 18, 588, 4348, 9334, 6250, 10019, 5411, 289, 469, 288, 7734, 7180, 273, 394, 29382, 12, 394, 24742, 12, 10402, 394, 11907, 12, 1968, 63, 20, 22643, 1769, 5411, 289, 3639, 27987, 12702, 1994, 9075, 273, 394, 27987, 12702, 1994, 12, 3251, 1769, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2163, 31, 277, 27245, 288, 3639, 28065, 2115, 9133, 273, 9075, 18, 588, 2134, 2115, 5621, 3639, 2332, 18, 659, 18, 8222, 12, 11254, 1769, 7734, 17321, 9196, 273, 394, 17321, 5621, 3639, 309, 261, 11254, 1276, 1910, 2115, 13, 288, 10792, 1910, 2115, 5081, 273, 261, 751, 2115, 13, 11254, 31, 10792, 1160, 8526, 501, 273, 5081, 18, 588, 751, 5621, 10792, 3914, 7637, 8526, 1203, 278, 1078, 273, 5081, 18, 588, 1768, 278, 1078, 12, 18088, 1769, 10792, 3914, 7637, 18088, 324, 18088, 273, 261, 1768, 7637, 18088, 13, 2629, 278, 1078, 63, 20, 15533, 10792, 1250, 7720, 11449, 273, 629, 31, 10792, 309, 261, 70, 18088, 18, 588, 3944, 2448, 1435, 422, 374, 13, 7720, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 29382, 7180, 273, 446, 31, 3639, 775, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 3190, 2987, 8863, 5411, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 7734, 8758, 328, 1054, 5215, 273, 394, 8758, 2932, 304, 8683, 18, 30063, 18, 80, 1054, 18, 3341, 3113, 1059, 3784, 1769, 3639, 7180, 273, 394, 29382, 12, 9079, 394, 24742, 12, 5397, 328, 1054, 5215, 18, 588, 4348, 9334, 6250, 10019, 5411, 289, 469, 288, 7734, 7180, 273, 394, 29382, 12, 394, 24742, 12, 10402, 394, 11907, 12, 1968, 63, 20, 22643, 1769, 5411, 289, 3639, 27987, 12702, 1994, 9075, 273, 394, 27987, 12702, 1994, 12, 3251, 1769, 2 ]
super.rejectValue(errors,MIN_CONSTRAINT,args,MessageFormat.format( DEFAULT_INVALID_MIN_MESSAGE, args ));
super.rejectValue(errors,MIN_CONSTRAINT + INVALID_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_MIN_MESSAGE, args ));
protected void processValidate(Object propertyValue, Errors errors) { if(minValue.compareTo((Comparable)propertyValue) < 0) { Object[] args = new Object[] { constraintPropertyName, constraintOwningClass, propertyValue, minValue }; super.rejectValue(errors,MIN_CONSTRAINT,args,MessageFormat.format( DEFAULT_INVALID_MIN_MESSAGE, args )); } }
50670 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50670/27fec428b45b70114ce42879d6de1197d360f5e2/ConstrainedProperty.java/clean/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 918, 1207, 4270, 12, 921, 12337, 16, 9372, 1334, 13, 202, 202, 95, 1082, 202, 430, 12, 1154, 620, 18, 9877, 774, 12443, 799, 10207, 13, 4468, 620, 13, 411, 374, 13, 288, 9506, 202, 921, 8526, 833, 273, 394, 1033, 8526, 288, 4954, 13073, 16, 4954, 3494, 2093, 797, 16, 12337, 16, 20533, 225, 289, 31, 9506, 202, 9565, 18, 24163, 620, 12, 4324, 16, 6236, 67, 15199, 16, 1968, 16, 1079, 1630, 18, 2139, 12, 3331, 67, 9347, 67, 6236, 67, 8723, 16, 833, 262, 1769, 1082, 202, 97, 202, 202, 97, 1082, 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, 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196, 202, 1117, 918, 1207, 4270, 12, 921, 12337, 16, 9372, 1334, 13, 202, 202, 95, 1082, 202, 430, 12, 1154, 620, 18, 9877, 774, 12443, 799, 10207, 13, 4468, 620, 13, 411, 374, 13, 288, 9506, 202, 921, 8526, 833, 273, 394, 1033, 8526, 288, 4954, 13073, 16, 4954, 3494, 2093, 797, 16, 12337, 16, 20533, 225, 289, 31, 9506, 202, 9565, 18, 24163, 620, 12, 4324, 16, 6236, 67, 15199, 16, 1968, 16, 1079, 1630, 18, 2139, 12, 3331, 67, 9347, 67, 6236, 67, 8723, 16, 833, 262, 1769, 1082, 202, 97, 202, 202, 97, 1082, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (isCarbon) new Label(top, SWT.NONE).setLayoutData(new GridData(4, 4));
if (isCarbon) { new Label(top, SWT.NONE).setLayoutData(new GridData(4, 4)); }
protected Control createAnimationItem(Composite parent) { if (okImage == null) { Display display = parent.getDisplay(); noneImage = WorkbenchImages.getWorkbenchImageDescriptor("progress/progress_none.gif").createImage(display); //$NON-NLS-1$ okImage = WorkbenchImages.getWorkbenchImageDescriptor("progress/progress_ok.gif").createImage(display); //$NON-NLS-1$ errorImage = WorkbenchImages.getWorkbenchImageDescriptor("progress/progress_error.gif").createImage(display); //$NON-NLS-1$ } top = new Composite(parent, SWT.NULL); top.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent e) { FinishedJobs.getInstance().removeListener( ProgressAnimationItem.this); noneImage.dispose(); okImage.dispose(); errorImage.dispose(); } }); boolean isCarbon = "carbon".equals(SWT.getPlatform()); //$NON-NLS-1$ GridLayout gl = new GridLayout(); gl.numColumns = isCarbon ? 3 : 2; gl.marginHeight = 0; gl.marginWidth = 0; gl.horizontalSpacing = 2; top.setLayout(gl); bar = new ProgressBar(top, SWT.HORIZONTAL | SWT.INDETERMINATE); bar.setVisible(false); bar.addMouseListener(mouseListener); GridData gd = new GridData(GridData.FILL_HORIZONTAL); gd.heightHint = 12; bar.setLayoutData(gd); toolbar = new ToolBar(top, SWT.FLAT); toolbar.setVisible(false); toolButton = new ToolItem(toolbar, SWT.NONE); toolButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { doAction(); } }); if (isCarbon) // prevent that Mac growbox overlaps with toolbar item new Label(top, SWT.NONE).setLayoutData(new GridData(4, 4)); refresh(); return top; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ProgressAnimationItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressAnimationItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 8888, 752, 10816, 1180, 12, 9400, 982, 13, 288, 3639, 309, 261, 601, 2040, 422, 446, 13, 288, 5411, 9311, 2562, 273, 982, 18, 588, 4236, 5621, 5411, 6555, 2040, 273, 4147, 22144, 8946, 18, 588, 2421, 22144, 2040, 3187, 2932, 8298, 19, 8298, 67, 6102, 18, 13905, 20387, 2640, 2040, 12, 5417, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 1529, 2040, 273, 4147, 22144, 8946, 18, 588, 2421, 22144, 2040, 3187, 2932, 8298, 19, 8298, 67, 601, 18, 13905, 20387, 2640, 2040, 12, 5417, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 555, 2040, 273, 4147, 22144, 8946, 18, 588, 2421, 22144, 2040, 3187, 2932, 8298, 19, 8298, 67, 1636, 18, 13905, 20387, 2640, 2040, 12, 5417, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 289, 3639, 1760, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 3639, 1760, 18, 1289, 1669, 4150, 2223, 12, 2704, 3035, 4150, 2223, 1435, 288, 5411, 1071, 918, 3604, 1669, 7423, 12, 1669, 4150, 1133, 425, 13, 288, 7734, 29745, 7276, 18, 588, 1442, 7675, 4479, 2223, 12, 13491, 10980, 10816, 1180, 18, 2211, 1769, 7734, 6555, 2040, 18, 2251, 4150, 5621, 7734, 1529, 2040, 18, 2251, 4150, 5621, 7734, 555, 2040, 18, 2251, 4150, 5621, 5411, 289, 3639, 15549, 3639, 1250, 25249, 11801, 273, 315, 71, 11801, 9654, 14963, 12, 55, 8588, 18, 588, 8201, 10663, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 7145, 3744, 5118, 273, 394, 7145, 3744, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 8888, 752, 10816, 1180, 12, 9400, 982, 13, 288, 3639, 309, 261, 601, 2040, 422, 446, 13, 288, 5411, 9311, 2562, 273, 982, 18, 588, 4236, 5621, 5411, 6555, 2040, 273, 4147, 22144, 8946, 18, 588, 2421, 22144, 2040, 3187, 2932, 8298, 19, 8298, 67, 6102, 18, 13905, 20387, 2640, 2040, 12, 5417, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 1529, 2040, 273, 4147, 22144, 8946, 18, 588, 2421, 22144, 2040, 3187, 2932, 8298, 19, 8298, 67, 601, 18, 13905, 20387, 2640, 2040, 12, 5417, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 555, 2040, 273, 4147, 22144, 8946, 18, 588, 2421, 22144, 2040, 3187, 2932, 8298, 19, 8298, 67, 1636, 18, 13905, 20387, 2 ]
public void createControl( Composite parent ) { container = new Composite(parent , SWT.NONE); GridLayout layout = new GridLayout(); layout.marginWidth = layout.marginHeight = 0; container.setLayout( layout ); title = new TabbedPropertyTitle( container, FormWidgetFactory.getInstance( ) ); title.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); Composite viewerContainer = new Composite(container , SWT.NONE); layout = new GridLayout(); layout.marginWidth = 10; layout.marginHeight = 3; viewerContainer.setLayout( layout ); viewerContainer.setLayoutData( new GridData( GridData.FILL_BOTH ) ); viewer = new TreeViewer( viewerContainer, SWT.FULL_SELECTION ); tableTree = viewer.getTree( ); tableTree.setLayoutData( new GridData( GridData.FILL_BOTH ) ); tableTree.setHeaderVisible( true ); tableTree.setLinesVisible( true ); // configure the columns addColumns( ); contentProvider = new ReportPropertySheetContentProvider( ); viewer.setContentProvider( contentProvider ); labelProvider = new ReportPropertySheetLabelProvider( ); viewer.setLabelProvider( labelProvider ); viewer.setColumnProperties( new String[]{ COLUMN_TITLE_PROPERTY, COLUMN_TITLE_VALUE } ); AlphabeticallyViewSorter sorter = new AlphabeticallyViewSorter( ); sorter.setAscending( true ); viewer.setSorter( sorter ); hookControl( ); // create a new table tree editor tableTreeEditor = new TreeEditor( tableTree ); // create the editor listener createEditorListener( ); handleGlobalAction( ); // suport the mediator SessionHandleAdapter.getInstance( ).getMediator( ).addColleague( this ); expandToDefaultLevel( ); FormWidgetFactory.getInstance( ).paintFormStyle( parent ); FormWidgetFactory.getInstance( ).adapt( parent ); IWorkbenchPage page = getSite( ).getPage( ); handleSelectionChanged( page.getSelection( )); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/4a02c746af9cd43e31a2b882cd63c484ba236fc1/ReportPropertySheetPage.java/buggy/UI/org.eclipse.birt.report.designer.ui.editors/src/org/eclipse/birt/report/designer/internal/ui/views/property/ReportPropertySheetPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 3367, 12, 14728, 982, 262, 202, 95, 202, 202, 3782, 273, 394, 14728, 12, 2938, 269, 348, 8588, 18, 9826, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 10107, 2384, 273, 3511, 18, 10107, 2686, 273, 374, 31, 202, 202, 3782, 18, 542, 3744, 12, 3511, 11272, 202, 202, 2649, 273, 394, 9483, 2992, 1396, 4247, 12, 1478, 16, 9506, 202, 1204, 4609, 1733, 18, 588, 1442, 12, 262, 11272, 202, 202, 2649, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 9506, 202, 9400, 14157, 2170, 273, 394, 14728, 12, 3782, 269, 348, 8588, 18, 9826, 1769, 202, 202, 6741, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 10107, 2384, 273, 1728, 31, 202, 202, 6741, 18, 10107, 2686, 273, 890, 31, 202, 202, 25256, 2170, 18, 542, 3744, 12, 3511, 11272, 202, 202, 25256, 2170, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 262, 11272, 9506, 202, 25256, 273, 394, 4902, 18415, 12, 14157, 2170, 16, 348, 8588, 18, 18111, 67, 1090, 15445, 11272, 202, 202, 2121, 2471, 273, 14157, 18, 588, 2471, 12, 11272, 202, 202, 2121, 2471, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 262, 11272, 202, 202, 2121, 2471, 18, 542, 1864, 6207, 12, 638, 11272, 202, 202, 2121, 2471, 18, 542, 5763, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 3367, 12, 14728, 982, 262, 202, 95, 202, 202, 3782, 273, 394, 14728, 12, 2938, 269, 348, 8588, 18, 9826, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 10107, 2384, 273, 3511, 18, 10107, 2686, 273, 374, 31, 202, 202, 3782, 18, 542, 3744, 12, 3511, 11272, 202, 202, 2649, 273, 394, 9483, 2992, 1396, 4247, 12, 1478, 16, 9506, 202, 1204, 4609, 1733, 18, 588, 1442, 12, 262, 11272, 202, 202, 2649, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 9506, 202, 9400, 14157, 2170, 273, 394, 14728, 12, 3782, 269, 348, 8588, 18, 9826, 1769, 2 ]
"Default Deletion Policy", truePredicate, deletionDelay, DeletionPolicy.MIN_PRIORITY);
"Default Deletion Policy", truePredicate, deletionDelay, DeletionPolicy.MIN_PRIORITY);
protected void checkDeletionPolicies(long deletionDelay) { for (Iterator i = deletionPolicies.iterator(); i.hasNext();) { DeletionPolicy policy = (DeletionPolicy) i.next(); if (policy instanceof SimpleDeletionPolicy) { if (policy.getDeletionDelay() == deletionDelay) return; // ok blackboard.publishRemove(policy); } } SimpleDeletionPolicy policy = new SimpleDeletionPolicy( "Default Deletion Policy", truePredicate, deletionDelay, DeletionPolicy.MIN_PRIORITY); blackboard.publishAdd(policy); }
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/46a0952e9d0258158e45e411efd95f01195b7c17/DeletionPlugin.java/buggy/core/src/org/cougaar/core/plugin/deletion/DeletionPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 866, 13064, 8825, 12, 5748, 10899, 6763, 13, 288, 565, 364, 261, 3198, 277, 273, 10899, 8825, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1377, 31642, 2582, 3329, 273, 261, 13064, 2582, 13, 277, 18, 4285, 5621, 1377, 309, 261, 5086, 1276, 4477, 13064, 2582, 13, 288, 3639, 309, 261, 5086, 18, 588, 13064, 6763, 1435, 422, 10899, 6763, 13, 1850, 327, 31, 368, 1529, 3639, 7721, 3752, 18, 6543, 3288, 12, 5086, 1769, 1377, 289, 565, 289, 565, 4477, 13064, 2582, 3329, 273, 1377, 394, 4477, 13064, 2582, 12, 3639, 315, 1868, 31642, 7436, 3113, 3639, 638, 8634, 16, 3639, 10899, 6763, 16, 3639, 31642, 2582, 18, 6236, 67, 19804, 1769, 565, 7721, 3752, 18, 6543, 986, 12, 5086, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 866, 13064, 8825, 12, 5748, 10899, 6763, 13, 288, 565, 364, 261, 3198, 277, 273, 10899, 8825, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1377, 31642, 2582, 3329, 273, 261, 13064, 2582, 13, 277, 18, 4285, 5621, 1377, 309, 261, 5086, 1276, 4477, 13064, 2582, 13, 288, 3639, 309, 261, 5086, 18, 588, 13064, 6763, 1435, 422, 10899, 6763, 13, 1850, 327, 31, 368, 1529, 3639, 7721, 3752, 18, 6543, 3288, 12, 5086, 1769, 1377, 289, 565, 289, 565, 4477, 13064, 2582, 3329, 273, 1377, 394, 4477, 13064, 2582, 12, 3639, 315, 1868, 31642, 7436, 3113, 3639, 638, 8634, 16, 3639, 10899, 6763, 16, 3639, 31642, 2582, 18, 6236, 67, 19804, 1769, 565, 2 ]
Class objectClass = object.getClass(); IResource adapted = getAdaptedResource(object);
List objectList = null;
protected List getContributors(Object object){ Class objectClass = object.getClass(); IResource adapted = getAdaptedResource(object); if (adapted == null) return getContributors(objectClass); else return getContributors(objectClass, adapted.getClass());}
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/28d8670f77309f0077e68aa30805856d44c1440a/ObjectContributorManager.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/ObjectContributorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 987, 336, 442, 665, 13595, 12, 921, 733, 15329, 202, 797, 23992, 273, 733, 18, 588, 797, 5621, 202, 45, 1420, 28345, 273, 336, 13716, 329, 1420, 12, 1612, 1769, 202, 202, 430, 261, 19195, 329, 422, 446, 13, 202, 202, 2463, 336, 442, 665, 13595, 12, 1612, 797, 1769, 202, 12107, 202, 202, 2463, 336, 442, 665, 13595, 12, 1612, 797, 16, 28345, 18, 588, 797, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 987, 336, 442, 665, 13595, 12, 921, 733, 15329, 202, 797, 23992, 273, 733, 18, 588, 797, 5621, 202, 45, 1420, 28345, 273, 336, 13716, 329, 1420, 12, 1612, 1769, 202, 202, 430, 261, 19195, 329, 422, 446, 13, 202, 202, 2463, 336, 442, 665, 13595, 12, 1612, 797, 1769, 202, 12107, 202, 202, 2463, 336, 442, 665, 13595, 12, 1612, 797, 16, 28345, 18, 588, 797, 10663, 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 ]
public org.quickfix.field.UnderlyingCreditRating getUnderlyingCreditRating() throws FieldNotFound { org.quickfix.field.UnderlyingCreditRating value = new org.quickfix.field.UnderlyingCreditRating();
public quickfix.field.UnderlyingCreditRating getUnderlyingCreditRating() throws FieldNotFound { quickfix.field.UnderlyingCreditRating value = new quickfix.field.UnderlyingCreditRating();
public org.quickfix.field.UnderlyingCreditRating getUnderlyingCreditRating() throws FieldNotFound { org.quickfix.field.UnderlyingCreditRating value = new org.quickfix.field.UnderlyingCreditRating(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteResponse.java/buggy/src/java/src/quickfix/fix44/QuoteResponse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 16520, 20388, 10833, 765, 6291, 16520, 20388, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 16520, 20388, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 16520, 20388, 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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0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 16520, 20388, 10833, 765, 6291, 16520, 20388, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 16520, 20388, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 16520, 20388, 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 ]
Member member = executeAxis("[Time].[1997].[Q4].LastChild");
Member member = executeSingletonAxis("[Time].[1997].[Q4].LastChild");
public void testLastChildLastInLevel() { Member member = executeAxis("[Time].[1997].[Q4].LastChild"); Assert.assertEquals("12", member.getName()); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/bb703add381acf854e2d5aed1045911b7ab143b4/FunctionTest.java/buggy/testsrc/main/mondrian/olap/fun/FunctionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3024, 1763, 3024, 382, 2355, 1435, 288, 3639, 8596, 3140, 273, 1836, 19571, 6558, 2932, 63, 950, 8009, 63, 19818, 27, 8009, 63, 53, 24, 8009, 3024, 1763, 8863, 3639, 5452, 18, 11231, 8867, 2932, 2138, 3113, 3140, 18, 17994, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3024, 1763, 3024, 382, 2355, 1435, 288, 3639, 8596, 3140, 273, 1836, 19571, 6558, 2932, 63, 950, 8009, 63, 19818, 27, 8009, 63, 53, 24, 8009, 3024, 1763, 8863, 3639, 5452, 18, 11231, 8867, 2932, 2138, 3113, 3140, 18, 17994, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static Element encodeApptAsMP(Element parent, Appointment appt, int invId, boolean wantHTML, String part) throws ServiceException { boolean wholeMessage = (part == null || part.trim().equals("")); Element m; if (wholeMessage) { m = encodeMessageCommon(parent, appt, Change.ALL_FIELDS); ParsedItemID pid = ParsedItemID.create(appt.getId(), invId); m.addAttribute(MailService.A_ID, pid.toString()); } else { m = parent.addElement(MailService.E_MSG); ParsedItemID pid = ParsedItemID.create(appt.getId(), invId); m.addAttribute(MailService.A_ID, pid.toString()); m.addAttribute(MailService.A_PART, part); } try { MimeMessage mm = appt.getMimeMessage(invId); if (!wholeMessage) { MimePart mp = Mime.getMimePart(mm, part); if (mp == null) throw MailServiceException.NO_SUCH_PART(part); Object content = mp.getContent(); if (!(content instanceof MimeMessage)) throw MailServiceException.NO_SUCH_PART(part); mm = (MimeMessage) content; } else part = ""; EmailElementCache eecache = new EmailElementCache(); HashSet unique = new HashSet(); addEmails(m, eecache, Mime.parseAddressHeader(mm, "From"), EmailElementCache.EMAIL_TYPE_FROM, unique); addEmails(m, eecache, Mime.parseAddressHeader(mm, "Reply-To"), EmailElementCache.EMAIL_TYPE_REPLY_TO, unique); addEmails(m, eecache, Mime.parseAddressHeader(mm, "To"), EmailElementCache.EMAIL_TYPE_TO); addEmails(m, eecache, Mime.parseAddressHeader(mm, "Cc"), EmailElementCache.EMAIL_TYPE_CC); addEmails(m, eecache, Mime.parseAddressHeader(mm, "Bcc"), EmailElementCache.EMAIL_TYPE_BCC); String subject = mm.getSubject(); if (subject != null) m.addAttribute(MailService.E_SUBJECT, StringUtil.stripControlCharacters(subject), Element.DISP_CONTENT); String messageID = mm.getMessageID(); if (messageID != null && !messageID.trim().equals("")) m.addAttribute(MailService.E_MSG_ID_HDR, StringUtil.stripControlCharacters(messageID), Element.DISP_CONTENT);// if (wholeMessage && msg.isDraft()) {// if (msg.getDraftOrigId() > 0)// m.addAttribute(MailService.A_ORIG_ID, msg.getDraftOrigId());// if (!msg.getDraftReplyType().equals(""))// m.addAttribute(MailService.A_REPLY_TYPE, msg.getDraftReplyType());// String inReplyTo = mm.getHeader("In-Reply-To", null);// if (inReplyTo != null && !inReplyTo.equals(""))// m.addAttribute(MailService.E_IN_REPLY_TO, StringUtil.stripControlCharacters(inReplyTo), Element.DISP_CONTENT);// } if (!wholeMessage) m.addAttribute(MailService.A_SIZE, mm.getSize()); java.util.Date sent = mm.getSentDate(); if (sent != null) m.addAttribute(MailService.A_SENT_DATE, sent.getTime()); Element invElt = m.addElement(MailService.E_INVITE); Invite[] invs = appt.getInvites(invId); for (int i = 0; i < invs.length; i++) { encodeInvite(invElt, invs[i], Change.ALL_FIELDS); } // if (msg.isInvite())// encodeInvitesForMessage(m, msg, Change.ALL_FIELDS); List parts = Mime.getParts(mm); if (parts != null && !parts.isEmpty()) { MPartInfo body = Mime.getBody(parts, wantHTML); addParts(m, (MPartInfo) parts.get(0), body, part); } } catch (IOException ex) { throw ServiceException.FAILURE(ex.getMessage(), ex); } catch (MessagingException ex) { throw ServiceException.FAILURE(ex.getMessage(), ex); } return m; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/da86f8e257d553be686fd6c8c25e8809d7daf5e1/ToXML.java/clean/ZimbraServer/src/java/com/zimbra/cs/service/mail/ToXML.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3010, 2017, 1294, 337, 1463, 4566, 12, 1046, 982, 16, 1716, 29815, 513, 337, 16, 509, 2198, 548, 16, 1250, 2545, 4870, 16, 514, 1087, 13, 565, 1216, 16489, 288, 3639, 1250, 7339, 1079, 273, 261, 2680, 422, 446, 747, 1087, 18, 5290, 7675, 14963, 2932, 7923, 1769, 7734, 3010, 312, 31, 3639, 309, 261, 3350, 790, 1079, 13, 288, 5411, 312, 273, 2017, 1079, 6517, 12, 2938, 16, 513, 337, 16, 7576, 18, 4685, 67, 12683, 1769, 5411, 19244, 1180, 734, 4231, 273, 19244, 1180, 734, 18, 2640, 12, 438, 337, 18, 26321, 9334, 2198, 548, 1769, 5411, 312, 18, 1289, 1499, 12, 6759, 1179, 18, 37, 67, 734, 16, 4231, 18, 10492, 10663, 3639, 289, 469, 288, 5411, 312, 273, 982, 18, 1289, 1046, 12, 6759, 1179, 18, 41, 67, 11210, 1769, 5411, 19244, 1180, 734, 4231, 273, 19244, 1180, 734, 18, 2640, 12, 438, 337, 18, 26321, 9334, 2198, 548, 1769, 5411, 312, 18, 1289, 1499, 12, 6759, 1179, 18, 37, 67, 734, 16, 4231, 18, 10492, 10663, 5411, 312, 18, 1289, 1499, 12, 6759, 1179, 18, 37, 67, 15055, 16, 1087, 1769, 3639, 289, 3639, 775, 288, 5411, 22059, 1079, 9740, 273, 513, 337, 18, 588, 13320, 1079, 12, 5768, 548, 1769, 5411, 309, 16051, 3350, 790, 1079, 13, 288, 7734, 22059, 1988, 6749, 273, 22059, 18, 588, 13320, 1988, 12, 7020, 16, 1087, 1769, 7734, 309, 261, 1291, 422, 446, 13, 10792, 604, 11542, 15133, 18, 3417, 67, 19958, 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, 3010, 2017, 1294, 337, 1463, 4566, 12, 1046, 982, 16, 1716, 29815, 513, 337, 16, 509, 2198, 548, 16, 1250, 2545, 4870, 16, 514, 1087, 13, 565, 1216, 16489, 288, 3639, 1250, 7339, 1079, 273, 261, 2680, 422, 446, 747, 1087, 18, 5290, 7675, 14963, 2932, 7923, 1769, 7734, 3010, 312, 31, 3639, 309, 261, 3350, 790, 1079, 13, 288, 5411, 312, 273, 2017, 1079, 6517, 12, 2938, 16, 513, 337, 16, 7576, 18, 4685, 67, 12683, 1769, 5411, 19244, 1180, 734, 4231, 273, 19244, 1180, 734, 18, 2640, 12, 438, 337, 18, 26321, 9334, 2198, 548, 1769, 5411, 312, 18, 1289, 1499, 12, 6759, 1179, 18, 37, 67, 734, 16, 4231, 18, 10492, 10663, 3639, 2 ]
addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { closeDialog(evt); } });
addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { closeDialog(evt); } });
private void initComponents() {//GEN-BEGIN:initComponents java.awt.GridBagConstraints gridBagConstraints; aboutTabPane = new javax.swing.JTabbedPane(); aboutScrollPane = new javax.swing.JScrollPane(); aboutEditorPane = new javax.swing.JEditorPane(); licenseScrollPane = new javax.swing.JScrollPane(); licenseEditorPane = new javax.swing.JEditorPane(); acknowledgmentsScrollPane = new javax.swing.JScrollPane(); acknowldgementsEditorPane = new javax.swing.JEditorPane(); jSeparator1 = new javax.swing.JSeparator(); okButton = new javax.swing.JButton(); getContentPane().setLayout(new java.awt.GridBagLayout()); addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { closeDialog(evt); } }); aboutEditorPane.setEditable(false); aboutScrollPane.setViewportView(aboutEditorPane); aboutTabPane.addTab("About", aboutScrollPane); licenseEditorPane.setEditable(false); licenseScrollPane.setViewportView(licenseEditorPane); aboutTabPane.addTab("License", licenseScrollPane); acknowldgementsEditorPane.setEditable(false); acknowledgmentsScrollPane.setViewportView(acknowldgementsEditorPane); aboutTabPane.addTab("Acknowledgments", acknowledgmentsScrollPane); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.weightx = 1.0; gridBagConstraints.weighty = 1.0; getContentPane().add(aboutTabPane, gridBagConstraints); { aboutTabPane.setTitleAt(0, L10N.getLocalString("dlg.about_tab", "About")); aboutTabPane.setTitleAt(1, L10N.getLocalString("dlg.license_tab", "License")); aboutTabPane.setTitleAt(2, L10N.getLocalString("dlg.acknowledgements_tab", "Acknowledgements")); } gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; getContentPane().add(jSeparator1, gridBagConstraints); okButton.setMnemonic('O'); okButton.setText("OK"); okButton.setText(L10N.getLocalString("dlg.ok_btn", "OK")); okButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { okButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; gridBagConstraints.insets = new java.awt.Insets(3, 0, 3, 0); getContentPane().add(okButton, gridBagConstraints); pack(); }//GEN-END:initComponents
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/975e3e63db83b7c5ae3bcf968f01538cfadd556b/AboutDialog.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/AboutDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1208, 7171, 1435, 288, 759, 16652, 17, 16061, 30, 2738, 7171, 202, 202, 6290, 18, 2219, 88, 18, 6313, 6852, 8747, 31, 202, 202, 21071, 5661, 8485, 273, 394, 6863, 18, 5328, 310, 18, 46, 5661, 2992, 8485, 5621, 202, 202, 21071, 26360, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 202, 202, 21071, 6946, 8485, 273, 394, 6863, 18, 5328, 310, 18, 46, 6946, 8485, 5621, 202, 202, 12687, 26360, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 202, 202, 12687, 6946, 8485, 273, 394, 6863, 18, 5328, 310, 18, 46, 6946, 8485, 5621, 202, 202, 484, 10378, 75, 1346, 26360, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 202, 202, 484, 3338, 1236, 75, 17110, 6946, 8485, 273, 394, 6863, 18, 5328, 310, 18, 46, 6946, 8485, 5621, 202, 202, 78, 6581, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 6581, 5621, 202, 202, 601, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 202, 202, 588, 1350, 8485, 7675, 542, 3744, 12, 2704, 2252, 18, 2219, 88, 18, 6313, 5013, 3744, 10663, 202, 202, 1289, 3829, 2223, 12, 2704, 2252, 18, 2219, 88, 18, 2575, 18, 3829, 4216, 1435, 288, 1082, 202, 482, 918, 2742, 15745, 12, 6290, 18, 2219, 88, 18, 2575, 18, 3829, 1133, 6324, 13, 288, 9506, 202, 4412, 6353, 12, 73, 11734, 1769, 1082, 202, 97, 202, 202, 22938, 202, 202, 21071, 6946, 8485, 18, 542, 15470, 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, 1208, 7171, 1435, 288, 759, 16652, 17, 16061, 30, 2738, 7171, 202, 202, 6290, 18, 2219, 88, 18, 6313, 6852, 8747, 31, 202, 202, 21071, 5661, 8485, 273, 394, 6863, 18, 5328, 310, 18, 46, 5661, 2992, 8485, 5621, 202, 202, 21071, 26360, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 202, 202, 21071, 6946, 8485, 273, 394, 6863, 18, 5328, 310, 18, 46, 6946, 8485, 5621, 202, 202, 12687, 26360, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 202, 202, 12687, 6946, 8485, 273, 394, 6863, 18, 5328, 310, 18, 46, 6946, 8485, 5621, 202, 202, 484, 10378, 75, 1346, 26360, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 2 ]
throw new BuildException( e );
throw new BuildException(e);
public void stop() { super.stop(); try { getErr().close(); getOut().close(); } catch( final IOException e ) { // plain impossible throw new BuildException( e ); } }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/c6c232893c39257745a8f7a618bcdb5c59791cae/RedirectingStreamHandler.java/buggy/src/main/org/apache/tools/ant/taskdefs/cvslib/RedirectingStreamHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2132, 1435, 377, 288, 3639, 2240, 18, 5681, 5621, 3639, 775, 3639, 288, 5411, 336, 2524, 7675, 4412, 5621, 5411, 23141, 7675, 4412, 5621, 3639, 289, 540, 1044, 12, 727, 1860, 425, 262, 3639, 288, 5411, 368, 7351, 23343, 5411, 604, 394, 18463, 12, 73, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Rectangle r = new Rectangle(x, y, w, h);
if (! rectCache.isEmpty()) {
public void addDirtyRegion(JComponent component, int x, int y, int w, int h) { if (w <= 0 || h <= 0 || !component.isShowing()) return; Rectangle r = new Rectangle(x, y, w, h); if (dirtyComponents.containsKey(component)) r = r.union((Rectangle) dirtyComponents.get(component)); synchronized (dirtyComponents) { dirtyComponents.put(component, r); } if (! repaintWorker.isLive()) { repaintWorker.setLive(true); SwingUtilities.invokeLater(repaintWorker); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8a78b0a127a68dcc6823fee2b8bdb1cbb7ec268d/RepaintManager.java/clean/core/src/classpath/javax/javax/swing/RepaintManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 10785, 5165, 12, 46, 1841, 1794, 16, 509, 619, 16, 509, 677, 16, 4766, 1850, 509, 341, 16, 509, 366, 13, 225, 288, 565, 309, 261, 91, 1648, 374, 747, 366, 1648, 374, 747, 401, 4652, 18, 291, 5706, 310, 10756, 1377, 327, 31, 565, 309, 16051, 4917, 1649, 18, 291, 1921, 10756, 288, 565, 309, 261, 18013, 7171, 18, 12298, 653, 12, 4652, 3719, 1377, 436, 273, 436, 18, 18910, 12443, 19463, 13, 9603, 7171, 18, 588, 12, 4652, 10019, 565, 3852, 261, 18013, 7171, 13, 1377, 288, 565, 9603, 7171, 18, 458, 12, 4652, 16, 436, 1769, 1377, 289, 565, 309, 16051, 24962, 6671, 18, 291, 12328, 10756, 1377, 288, 3639, 24962, 6671, 18, 542, 12328, 12, 3767, 1769, 3639, 26145, 11864, 18, 14407, 20607, 12, 14462, 1598, 6671, 1769, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 10756, 1377, 327, 31, 565, 309, 16051, 4917, 1649, 18, 291, 1921, 10756, 288, 565, 309, 261, 18013, 7171, 18, 12298, 653, 12, 4652, 3719, 1377, 436, 273, 436, 18, 18910, 12443, 19463, 13, 9603, 7171, 18, 588, 12, 4652, 10019, 565, 3852, 261, 18013, 7171, 13, 1377, 288, 565, 9603, 7171, 18, 458, 12, 4652, 16, 436, 1769, 1377, 289, 565, 309, 16051, 24962, 6671, 18, 291, 12328, 10756, 1377, 288, 3639, 24962, 6671, 2 ]
float[] offset, int[] color, int count,
float[] offset, int[] color, int count,
public LinearGradientPaint(float x1, float y1, float x2, float y2, float[] offset, int[] color, int count, float opacity) { this.x1 = x1; this.y1 = y1; this.x2 = x2; this.y2 = y2; this.offset = offset; this.color = color; this.count = count; this.opacity = opacity; }
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/13daee0b7fef1293294248c7b5dbf6bc6b650b3c/SVG.java/clean/candy/src/processing/candy/SVG.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 13921, 15651, 12699, 12, 5659, 619, 21, 16, 1431, 677, 21, 16, 1431, 619, 22, 16, 1431, 677, 22, 16, 4766, 282, 1431, 8526, 1384, 16, 509, 8526, 2036, 16, 509, 1056, 16, 4766, 565, 1431, 12636, 13, 288, 5411, 333, 18, 92, 21, 273, 619, 21, 31, 5411, 333, 18, 93, 21, 273, 677, 21, 31, 5411, 333, 18, 92, 22, 273, 619, 22, 31, 5411, 333, 18, 93, 22, 273, 677, 22, 31, 5411, 333, 18, 3348, 273, 1384, 31, 5411, 333, 18, 3266, 273, 2036, 31, 5411, 333, 18, 1883, 273, 1056, 31, 5411, 333, 18, 19515, 273, 12636, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 13921, 15651, 12699, 12, 5659, 619, 21, 16, 1431, 677, 21, 16, 1431, 619, 22, 16, 1431, 677, 22, 16, 4766, 282, 1431, 8526, 1384, 16, 509, 8526, 2036, 16, 509, 1056, 16, 4766, 565, 1431, 12636, 13, 288, 5411, 333, 18, 92, 21, 273, 619, 21, 31, 5411, 333, 18, 93, 21, 273, 677, 21, 31, 5411, 333, 18, 92, 22, 273, 619, 22, 31, 5411, 333, 18, 93, 22, 273, 677, 22, 31, 5411, 333, 18, 3348, 273, 1384, 31, 5411, 333, 18, 3266, 273, 2036, 31, 5411, 333, 18, 1883, 273, 1056, 31, 5411, 333, 18, 19515, 273, 12636, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private synchronized void doInitialize() {
private synchronized final void doInitialize() {
private synchronized void doInitialize() { if (!isInitialized()) { if (!isInitializing()) { state |= VmTypeState.ST_INITIALIZING; /* * Screen.debug("initialize("); Screen.debug(name); */ final VmMethod initMethod = getInitializerMethod(); if (initMethod != null) { try { VmReflection.invokeStatic(initMethod); } catch (InvocationTargetException ex) { final Throwable targetEx = ex.getTargetException(); if (targetEx != null) { ex.getTargetException().printStackTrace(); //Unsafe.die("VmType.doInitialize"); throw new ExceptionInInitializerError(ex .getTargetException()); } else { throw new ExceptionInInitializerError( "targetEx == null"); } } } state |= VmTypeState.ST_INITIALIZED; } } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/34018d58ddf97a144be387eabd5b8ae715c6f8a5/VmType.java/clean/core/src/core/org/jnode/vm/classmgr/VmType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3852, 918, 741, 7520, 1435, 288, 202, 202, 430, 16051, 291, 11459, 10756, 288, 1082, 202, 430, 16051, 291, 29782, 10756, 288, 9506, 202, 2019, 5626, 776, 81, 559, 1119, 18, 882, 67, 12919, 15154, 1360, 31, 9506, 202, 20308, 6862, 380, 10146, 18, 4148, 2932, 11160, 2932, 1769, 10146, 18, 4148, 12, 529, 1769, 6862, 1195, 9506, 202, 6385, 776, 81, 1305, 1208, 1305, 273, 336, 14729, 1305, 5621, 9506, 202, 430, 261, 2738, 1305, 480, 446, 13, 288, 6862, 202, 698, 288, 25083, 202, 22143, 9801, 18, 14407, 5788, 12, 2738, 1305, 1769, 6862, 202, 97, 1044, 261, 9267, 14950, 431, 13, 288, 25083, 202, 6385, 4206, 1018, 424, 273, 431, 18, 588, 14950, 5621, 25083, 202, 430, 261, 3299, 424, 480, 446, 13, 288, 6862, 1082, 202, 338, 18, 588, 14950, 7675, 1188, 6332, 5621, 6862, 1082, 202, 759, 23912, 18, 72, 1385, 2932, 22143, 559, 18, 2896, 7520, 8863, 6862, 1082, 202, 12849, 394, 1185, 382, 14729, 668, 12, 338, 6862, 6862, 202, 18, 588, 14950, 10663, 25083, 202, 97, 469, 288, 6862, 1082, 202, 12849, 394, 1185, 382, 14729, 668, 12, 6862, 6862, 202, 6, 3299, 424, 422, 446, 8863, 25083, 202, 97, 6862, 202, 97, 9506, 202, 97, 9506, 202, 2019, 5626, 776, 81, 559, 1119, 18, 882, 67, 12919, 25991, 31, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3852, 918, 741, 7520, 1435, 288, 202, 202, 430, 16051, 291, 11459, 10756, 288, 1082, 202, 430, 16051, 291, 29782, 10756, 288, 9506, 202, 2019, 5626, 776, 81, 559, 1119, 18, 882, 67, 12919, 15154, 1360, 31, 9506, 202, 20308, 6862, 380, 10146, 18, 4148, 2932, 11160, 2932, 1769, 10146, 18, 4148, 12, 529, 1769, 6862, 1195, 9506, 202, 6385, 776, 81, 1305, 1208, 1305, 273, 336, 14729, 1305, 5621, 9506, 202, 430, 261, 2738, 1305, 480, 446, 13, 288, 6862, 202, 698, 288, 25083, 202, 22143, 9801, 18, 14407, 5788, 12, 2738, 1305, 1769, 6862, 202, 97, 1044, 261, 9267, 14950, 431, 13, 288, 25083, 202, 6385, 4206, 1018, 424, 273, 431, 18, 588, 14950, 2 ]
engine.setActualState(1);
engine.setActualState(ConversationStates.ATTENDING);
public void fire(Player player, String text, SpeakerNPC engine) { if (!player.isQuestCompleted("armor_dagobert")) { engine.say("I'm so afraid of being robbed. I don't have any protection. Do you think you can help me?"); } else { engine.say("Thank you very much for the armor, but I don't have any other task for you."); engine.setActualState(1); } }
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/6a979735bc99cb8207b2c0bde2862c35ca667312/ArmorForDagobert.java/buggy/src/games/stendhal/server/maps/quests/ArmorForDagobert.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 4452, 12, 12148, 7291, 16, 514, 977, 16, 6862, 1082, 202, 55, 347, 6388, 50, 3513, 4073, 13, 288, 25083, 202, 430, 16051, 14872, 18, 291, 30791, 9556, 2932, 4610, 280, 67, 72, 28768, 25925, 6, 3719, 288, 6862, 1082, 202, 8944, 18, 87, 528, 2932, 45, 17784, 1427, 10073, 354, 350, 434, 3832, 23152, 2992, 18, 467, 2727, 1404, 1240, 1281, 17862, 18, 2256, 1846, 15507, 1846, 848, 2809, 1791, 7225, 1769, 25083, 202, 97, 469, 288, 6862, 1082, 202, 8944, 18, 87, 528, 2932, 1315, 2304, 1846, 8572, 9816, 364, 326, 23563, 280, 16, 1496, 467, 2727, 1404, 1240, 1281, 1308, 1562, 364, 1846, 1199, 1769, 6862, 1082, 202, 8944, 18, 542, 11266, 1119, 12, 21, 1769, 25083, 202, 97, 6862, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 4452, 12, 12148, 7291, 16, 514, 977, 16, 6862, 1082, 202, 55, 347, 6388, 50, 3513, 4073, 13, 288, 25083, 202, 430, 16051, 14872, 18, 291, 30791, 9556, 2932, 4610, 280, 67, 72, 28768, 25925, 6, 3719, 288, 6862, 1082, 202, 8944, 18, 87, 528, 2932, 45, 17784, 1427, 10073, 354, 350, 434, 3832, 23152, 2992, 18, 467, 2727, 1404, 1240, 1281, 17862, 18, 2256, 1846, 15507, 1846, 848, 2809, 1791, 7225, 1769, 25083, 202, 97, 469, 288, 6862, 1082, 202, 8944, 18, 87, 528, 2932, 1315, 2304, 1846, 8572, 9816, 364, 326, 23563, 280, 16, 1496, 467, 2727, 1404, 1240, 1281, 1308, 1562, 364, 1846, 1199, 1769, 6862, 1082, 202, 8944, 18, 542, 11266, 2 ]
public void testR2BaseEchoBoolean() throws AxisFault {
public void testR2BaseEchoBoolean() throws AxisFault {
public void testR2BaseEchoBoolean() throws AxisFault { url = "http://explorer.ne.mediaone.net/app/interop/interop"; soapAction = "http://soapinterop.org/"; util = new Round2EchoBooleanClientUtil(); retEnv = SunRound2Client.sendMsg(util, url, soapAction); tempPath = resFilePath + "sunBaseBooleanRes.xml"; compareXML(retEnv, tempPath); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/95f09abc768fee06d65b12836e31273ac0e15eb3/SSRound2InteropTest.java/clean/modules/integration/itest/test/interop/whitemesa/round2/SSRound2InteropTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 22, 2171, 19704, 5507, 1435, 1216, 15509, 7083, 288, 3639, 880, 273, 315, 2505, 2207, 338, 11766, 18, 4644, 18, 5829, 476, 18, 2758, 19, 2910, 19, 30376, 19, 30376, 14432, 3639, 9930, 1803, 273, 315, 2505, 2207, 19215, 30376, 18, 3341, 4898, 31, 3639, 1709, 273, 394, 11370, 22, 19704, 5507, 1227, 1304, 5621, 3639, 325, 3491, 273, 31608, 11066, 22, 1227, 18, 4661, 3332, 12, 1367, 16, 880, 16, 9930, 1803, 1769, 3639, 1906, 743, 273, 400, 5598, 397, 315, 16924, 2171, 5507, 607, 18, 2902, 14432, 3639, 3400, 4201, 12, 1349, 3491, 16, 1906, 743, 1769, 565, 289, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 22, 2171, 19704, 5507, 1435, 1216, 15509, 7083, 288, 3639, 880, 273, 315, 2505, 2207, 338, 11766, 18, 4644, 18, 5829, 476, 18, 2758, 19, 2910, 19, 30376, 19, 30376, 14432, 3639, 9930, 1803, 273, 315, 2505, 2207, 19215, 30376, 18, 3341, 4898, 31, 3639, 1709, 273, 394, 11370, 22, 19704, 5507, 1227, 1304, 5621, 3639, 325, 3491, 273, 31608, 11066, 22, 1227, 18, 4661, 3332, 12, 1367, 16, 880, 16, 9930, 1803, 1769, 3639, 1906, 743, 273, 400, 5598, 397, 315, 16924, 2171, 5507, 607, 18, 2902, 14432, 3639, 3400, 4201, 12, 1349, 3491, 16, 1906, 743, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new FileInputStream(tSrcFile),
new FileInputStream(tSrcFile),
private void runTransaction(PrintStream out) throws IOException, SQLException { if (tSqlCommand.length() != 0) { log("Executing commands", Project.MSG_INFO); runStatements(new StringReader(tSqlCommand), out); } if (tSrcFile != null) { log("Executing file: " + tSrcFile.getAbsolutePath(), Project.MSG_INFO); Reader reader = (encoding == null) ? new FileReader(tSrcFile) : new InputStreamReader( new FileInputStream(tSrcFile), encoding); try { runStatements(reader, out); } finally { reader.close(); } } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/2270580b7724fb28e357cd2ea4da561778bc8fa8/SQLExec.java/clean/src/main/org/apache/tools/ant/taskdefs/SQLExec.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 1086, 3342, 12, 5108, 1228, 596, 13, 5411, 1216, 1860, 16, 6483, 288, 5411, 309, 261, 88, 5101, 2189, 18, 2469, 1435, 480, 374, 13, 288, 7734, 613, 2932, 22134, 4364, 3113, 5420, 18, 11210, 67, 5923, 1769, 7734, 1086, 14663, 12, 2704, 26227, 12, 88, 5101, 2189, 3631, 596, 1769, 5411, 289, 5411, 309, 261, 88, 7740, 812, 480, 446, 13, 288, 7734, 613, 2932, 22134, 585, 30, 315, 397, 268, 7740, 812, 18, 588, 10368, 743, 9334, 10792, 5420, 18, 11210, 67, 5923, 1769, 7734, 5393, 2949, 273, 10792, 261, 5999, 422, 446, 13, 692, 394, 23010, 12, 88, 7740, 812, 13, 4766, 4202, 294, 394, 15322, 12, 4766, 2398, 394, 11907, 12, 88, 7740, 812, 3631, 4766, 2398, 2688, 1769, 7734, 775, 288, 10792, 1086, 14663, 12, 10530, 16, 596, 1769, 7734, 289, 3095, 288, 10792, 2949, 18, 4412, 5621, 7734, 289, 5411, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 1086, 3342, 12, 5108, 1228, 596, 13, 5411, 1216, 1860, 16, 6483, 288, 5411, 309, 261, 88, 5101, 2189, 18, 2469, 1435, 480, 374, 13, 288, 7734, 613, 2932, 22134, 4364, 3113, 5420, 18, 11210, 67, 5923, 1769, 7734, 1086, 14663, 12, 2704, 26227, 12, 88, 5101, 2189, 3631, 596, 1769, 5411, 289, 5411, 309, 261, 88, 7740, 812, 480, 446, 13, 288, 7734, 613, 2932, 22134, 585, 30, 315, 397, 268, 7740, 812, 18, 588, 10368, 743, 9334, 10792, 5420, 18, 11210, 67, 5923, 1769, 7734, 5393, 2949, 273, 10792, 261, 5999, 422, 446, 13, 692, 394, 23010, 12, 88, 7740, 812, 13, 4766, 4202, 294, 394, 15322, 12, 4766, 2398, 394, 11907, 12, 88, 2 ]
case ts.BREAK: {
case TokenStream.BREAK: {
private Object statementHelper(TokenStream ts, Source source) throws IOException, JavaScriptException { Object pn = null; // If skipsemi == true, don't add SEMI + EOL to source at the // end of this statment. For compound statements, IF/FOR etc. boolean skipsemi = false; int tt; int lastExprType = 0; // For wellTerminated. 0 to avoid warning. tt = ts.getToken(); switch(tt) { case ts.IF: { skipsemi = true; source.append((char)ts.IF); int lineno = ts.getLineno(); Object cond = condition(ts, source); source.append((char)ts.LC); source.append((char)ts.EOL); Object ifTrue = statement(ts, source); Object ifFalse = null; if (ts.matchToken(ts.ELSE)) { source.append((char)ts.RC); source.append((char)ts.ELSE); source.append((char)ts.LC); source.append((char)ts.EOL); ifFalse = statement(ts, source); } source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createIf(cond, ifTrue, ifFalse, lineno); break; } case ts.SWITCH: { skipsemi = true; source.append((char)ts.SWITCH); pn = nf.createSwitch(ts.getLineno()); Object cur_case = null; // to kill warning Object case_statements; mustMatchToken(ts, ts.LP, "msg.no.paren.switch"); source.append((char)ts.LP); nf.addChildToBack(pn, expr(ts, source, false)); mustMatchToken(ts, ts.RP, "msg.no.paren.after.switch"); source.append((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.switch"); source.append((char)ts.LC); source.append((char)ts.EOL); while ((tt = ts.getToken()) != ts.RC && tt != ts.EOF) { switch(tt) { case ts.CASE: source.append((char)ts.CASE); cur_case = nf.createUnary(ts.CASE, expr(ts, source, false)); source.append((char)ts.COLON); source.append((char)ts.EOL); break; case ts.DEFAULT: cur_case = nf.createLeaf(ts.DEFAULT); source.append((char)ts.DEFAULT); source.append((char)ts.COLON); source.append((char)ts.EOL); // XXX check that there isn't more than one default break; default: reportError(ts, "msg.bad.switch"); break; } mustMatchToken(ts, ts.COLON, "msg.no.colon.case"); case_statements = nf.createLeaf(TokenStream.BLOCK); while ((tt = ts.peekToken()) != ts.RC && tt != ts.CASE && tt != ts.DEFAULT && tt != ts.EOF) { nf.addChildToBack(case_statements, statement(ts, source)); } // assert cur_case nf.addChildToBack(cur_case, case_statements); nf.addChildToBack(pn, cur_case); } source.append((char)ts.RC); source.append((char)ts.EOL); break; } case ts.WHILE: { skipsemi = true; source.append((char)ts.WHILE); int lineno = ts.getLineno(); Object cond = condition(ts, source); source.append((char)ts.LC); source.append((char)ts.EOL); Object body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createWhile(cond, body, lineno); break; } case ts.DO: { source.append((char)ts.DO); source.append((char)ts.LC); source.append((char)ts.EOL); int lineno = ts.getLineno(); Object body = statement(ts, source); source.append((char)ts.RC); mustMatchToken(ts, ts.WHILE, "msg.no.while.do"); source.append((char)ts.WHILE); Object cond = condition(ts, source); pn = nf.createDoWhile(body, cond, lineno); break; } case ts.FOR: { skipsemi = true; source.append((char)ts.FOR); int lineno = ts.getLineno(); Object init; // Node init is also foo in 'foo in Object' Object cond; // Node cond is also object in 'foo in Object' Object incr = null; // to kill warning Object body; mustMatchToken(ts, ts.LP, "msg.no.paren.for"); source.append((char)ts.LP); tt = ts.peekToken(); if (tt == ts.SEMI) { init = nf.createLeaf(ts.VOID); } else { if (tt == ts.VAR) { // set init to a var list or initial ts.getToken(); // throw away the 'var' token init = variables(ts, source, true); } else { init = expr(ts, source, true); } } tt = ts.peekToken(); if (tt == ts.RELOP && ts.getOp() == ts.IN) { ts.matchToken(ts.RELOP); source.append((char)ts.IN); // 'cond' is the object over which we're iterating cond = expr(ts, source, false); } else { // ordinary for loop mustMatchToken(ts, ts.SEMI, "msg.no.semi.for"); source.append((char)ts.SEMI); if (ts.peekToken() == ts.SEMI) { // no loop condition cond = nf.createLeaf(ts.VOID); } else { cond = expr(ts, source, false); } mustMatchToken(ts, ts.SEMI, "msg.no.semi.for.cond"); source.append((char)ts.SEMI); if (ts.peekToken() == ts.RP) { incr = nf.createLeaf(ts.VOID); } else { incr = expr(ts, source, false); } } mustMatchToken(ts, ts.RP, "msg.no.paren.for.ctrl"); source.append((char)ts.RP); source.append((char)ts.LC); source.append((char)ts.EOL); body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); if (incr == null) { // cond could be null if 'in obj' got eaten by the init node. pn = nf.createForIn(init, cond, body, lineno); } else { pn = nf.createFor(init, cond, incr, body, lineno); } break; } case ts.TRY: { int lineno = ts.getLineno(); Object tryblock; Object catchblocks = null; Object finallyblock = null; skipsemi = true; source.append((char)ts.TRY); source.append((char)ts.LC); source.append((char)ts.EOL); tryblock = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); catchblocks = nf.createLeaf(TokenStream.BLOCK); boolean sawDefaultCatch = false; int peek = ts.peekToken(); if (peek == ts.CATCH) { while (ts.matchToken(ts.CATCH)) { if (sawDefaultCatch) { reportError(ts, "msg.catch.unreachable"); } source.append((char)ts.CATCH); mustMatchToken(ts, ts.LP, "msg.no.paren.catch"); source.append((char)ts.LP); mustMatchToken(ts, ts.NAME, "msg.bad.catchcond"); String varName = ts.getString(); source.addString(ts.NAME, varName); Object catchCond = null; if (ts.matchToken(ts.IF)) { source.append((char)ts.IF); catchCond = expr(ts, source, false); } else { sawDefaultCatch = true; } mustMatchToken(ts, ts.RP, "msg.bad.catchcond"); source.append((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.catchblock"); source.append((char)ts.LC); source.append((char)ts.EOL); nf.addChildToBack(catchblocks, nf.createCatch(varName, catchCond, statements(ts, source), ts.getLineno())); mustMatchToken(ts, ts.RC, "msg.no.brace.after.body"); source.append((char)ts.RC); source.append((char)ts.EOL); } } else if (peek != ts.FINALLY) { mustMatchToken(ts, ts.FINALLY, "msg.try.no.catchfinally"); } if (ts.matchToken(ts.FINALLY)) { source.append((char)ts.FINALLY); source.append((char)ts.LC); source.append((char)ts.EOL); finallyblock = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); } pn = nf.createTryCatchFinally(tryblock, catchblocks, finallyblock, lineno); break; } case ts.THROW: { int lineno = ts.getLineno(); source.append((char)ts.THROW); pn = nf.createThrow(expr(ts, source, false), lineno); if (lineno == ts.getLineno()) wellTerminated(ts, ts.ERROR); break; } case ts.BREAK: { int lineno = ts.getLineno(); source.append((char)ts.BREAK); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { source.addString(ts.NAME, label); } pn = nf.createBreak(label, lineno); break; } case ts.CONTINUE: { int lineno = ts.getLineno(); source.append((char)ts.CONTINUE); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { source.addString(ts.NAME, label); } pn = nf.createContinue(label, lineno); break; } case ts.WITH: { skipsemi = true; source.append((char)ts.WITH); int lineno = ts.getLineno(); mustMatchToken(ts, ts.LP, "msg.no.paren.with"); source.append((char)ts.LP); Object obj = expr(ts, source, false); mustMatchToken(ts, ts.RP, "msg.no.paren.after.with"); source.append((char)ts.RP); source.append((char)ts.LC); source.append((char)ts.EOL); Object body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createWith(obj, body, lineno); break; } case ts.VAR: { int lineno = ts.getLineno(); pn = variables(ts, source, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); break; } case ts.RETURN: { Object retExpr = null; int lineno = 0; source.append((char)ts.RETURN); // bail if we're not in a (toplevel) function if ((ts.flags & ts.TSF_FUNCTION) == 0) reportError(ts, "msg.bad.return"); /* This is ugly, but we don't want to require a semicolon. */ ts.flags |= ts.TSF_REGEXP; tt = ts.peekTokenSameLine(); ts.flags &= ~ts.TSF_REGEXP; if (tt != ts.EOF && tt != ts.EOL && tt != ts.SEMI && tt != ts.RC) { lineno = ts.getLineno(); retExpr = expr(ts, source, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); ts.flags |= ts.TSF_RETURN_EXPR; } else { ts.flags |= ts.TSF_RETURN_VOID; } // XXX ASSERT pn pn = nf.createReturn(retExpr, lineno); break; } case ts.LC: skipsemi = true; pn = statements(ts, source); mustMatchToken(ts, ts.RC, "msg.no.brace.block"); break; case ts.ERROR: // Fall thru, to have a node for error recovery to work on case ts.EOL: case ts.SEMI: pn = nf.createLeaf(ts.VOID); skipsemi = true; break; default: { lastExprType = tt; int tokenno = ts.getTokenno(); ts.ungetToken(tt); int lineno = ts.getLineno(); pn = expr(ts, source, false); if (ts.peekToken() == ts.COLON) { /* check that the last thing the tokenizer returned was a * NAME and that only one token was consumed. */ if (lastExprType != ts.NAME || (ts.getTokenno() != tokenno)) reportError(ts, "msg.bad.label"); ts.getToken(); // eat the COLON /* in the C source, the label is associated with the * statement that follows: * nf.addChildToBack(pn, statement(ts)); */ String name = ts.getString(); pn = nf.createLabel(name, lineno); // depend on decompiling lookahead to guess that that // last name was a label. source.append((char)ts.COLON); source.append((char)ts.EOL); return pn; } if (lastExprType == ts.FUNCTION) nf.setFunctionExpressionStatement(pn); pn = nf.createExprStatement(pn, lineno); /* * Check explicitly against (multi-line) function * statement. * lastExprEndLine is a hack to fix an * automatic semicolon insertion problem with function * expressions; the ts.getLineno() == lineno check was * firing after a function definition even though the * next statement was on a new line, because * speculative getToken calls advanced the line number * even when they didn't succeed. */ if (ts.getLineno() == lineno || (lastExprType == ts.FUNCTION && ts.getLineno() == lastExprEndLine)) { wellTerminated(ts, lastExprType); } break; } } ts.matchToken(ts.SEMI); if (!skipsemi) { source.append((char)ts.SEMI); source.append((char)ts.EOL); } return pn; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/40ff06028a06e98171197c83b9b067a0c12f72ae/Parser.java/clean/js/rhino/src/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3021, 2276, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 446, 31, 3639, 368, 971, 2488, 307, 9197, 422, 638, 16, 2727, 1404, 527, 3174, 7492, 397, 19995, 358, 1084, 622, 326, 3639, 368, 679, 434, 333, 610, 475, 18, 225, 2457, 11360, 6317, 16, 11083, 19, 7473, 5527, 18, 3639, 1250, 2488, 307, 9197, 273, 629, 31, 3639, 509, 3574, 31, 3639, 509, 1142, 4742, 559, 273, 374, 31, 225, 368, 2457, 5492, 21888, 18, 225, 374, 358, 4543, 3436, 18, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3742, 18, 5501, 30, 288, 5411, 2488, 307, 9197, 273, 638, 31, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 5501, 1769, 5411, 509, 7586, 273, 3742, 18, 588, 48, 267, 5764, 5621, 5411, 1033, 6941, 273, 2269, 12, 3428, 16, 1084, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 13394, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 5842, 1769, 5411, 1033, 309, 5510, 273, 3021, 12, 3428, 16, 1084, 1769, 5411, 1033, 309, 8381, 273, 446, 31, 5411, 309, 261, 3428, 18, 1916, 1345, 12, 3428, 18, 2247, 1090, 3719, 288, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 11529, 1769, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 2247, 1090, 1769, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 13394, 1769, 7734, 1084, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3021, 2276, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 446, 31, 3639, 368, 971, 2488, 307, 9197, 422, 638, 16, 2727, 1404, 527, 3174, 7492, 397, 19995, 358, 1084, 622, 326, 3639, 368, 679, 434, 333, 610, 475, 18, 225, 2457, 11360, 6317, 16, 11083, 19, 7473, 5527, 18, 3639, 1250, 2488, 307, 9197, 273, 629, 31, 3639, 509, 3574, 31, 3639, 509, 1142, 4742, 559, 273, 374, 31, 225, 368, 2457, 5492, 21888, 18, 225, 374, 358, 4543, 3436, 18, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3742, 18, 5501, 30, 288, 5411, 2 ]
List<Resource> resourceList = new ArrayList<Resource>();
List<ResourceGroup> resourceList = new ArrayList<ResourceGroup>();
public static List<Resource> createResourceList(int size, int entityListSize, int parentListSize) { List<ResourceGroup> resourceGroupList = createResourceGroupList(size, entityListSize, parentListSize); List<Resource> resourceList = new ArrayList<Resource>(); for (ResourceGroup g: resourceGroupList) { for (int i=0;i<size;i++) { resourceList.add(ResourceCreatorImpl.resourceFactory(g, generateKey(20, i), null)); } } return resourceList; }
50379 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50379/2435b28b216eeb746459af30f99af156b4617afd/AbstractResourceDaoTest.java/clean/helianto/process/src/main/java/org/helianto/process/junit/AbstractResourceDaoTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 987, 32, 1420, 34, 24317, 682, 12, 474, 963, 16, 509, 1522, 682, 1225, 16, 509, 982, 682, 1225, 13, 288, 3639, 987, 32, 18860, 34, 1058, 1114, 682, 273, 225, 752, 18860, 682, 12, 1467, 16, 1522, 682, 1225, 16, 982, 682, 1225, 1769, 3639, 987, 32, 18860, 34, 1058, 682, 273, 394, 2407, 32, 18860, 34, 5621, 3639, 364, 261, 18860, 314, 30, 1058, 1114, 682, 13, 288, 5411, 364, 261, 474, 277, 33, 20, 31, 77, 32, 1467, 31, 77, 27245, 288, 7734, 1058, 682, 18, 1289, 12, 1420, 10636, 2828, 18, 3146, 1733, 12, 75, 16, 2103, 653, 12, 3462, 16, 277, 3631, 446, 10019, 5411, 289, 3639, 289, 3639, 327, 1058, 682, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 987, 32, 1420, 34, 24317, 682, 12, 474, 963, 16, 509, 1522, 682, 1225, 16, 509, 982, 682, 1225, 13, 288, 3639, 987, 32, 18860, 34, 1058, 1114, 682, 273, 225, 752, 18860, 682, 12, 1467, 16, 1522, 682, 1225, 16, 982, 682, 1225, 1769, 3639, 987, 32, 18860, 34, 1058, 682, 273, 394, 2407, 32, 18860, 34, 5621, 3639, 364, 261, 18860, 314, 30, 1058, 1114, 682, 13, 288, 5411, 364, 261, 474, 277, 33, 20, 31, 77, 32, 1467, 31, 77, 27245, 288, 7734, 1058, 682, 18, 1289, 12, 1420, 10636, 2828, 18, 3146, 1733, 12, 75, 16, 2103, 653, 12, 3462, 16, 277, 3631, 446, 10019, 5411, 289, 3639, 289, 3639, 327, 1058, 2 ]
put("KeyAgreement.DiffieHellman", gnu.javax.crypto.DiffieHellmanImpl.class.getName()); put("Alg.Alias.KeyAgreement.DH", "DiffieHellman");
put("KeyAgreement.DH", gnu.javax.crypto.jce.DiffieHellmanImpl.class.getName()); put("Alg.Alias.KeyAgreement.DiffieHellman", "DH");
public GnuCrypto() { super(Registry.GNU_CRYPTO, 2.1, "GNU Crypto JCE Provider"); AccessController.doPrivileged(new PrivilegedAction() { public Object run() { // Cipher put("Cipher.ANUBIS", gnu.javax.crypto.jce.cipher.AnubisSpi.class.getName()); put("Cipher.ANUBIS ImplementedIn", "Software"); put("Cipher.ARCFOUR", gnu.javax.crypto.jce.cipher.ARCFourSpi.class.getName()); put("Cipher.ARCFOUR ImplementedIn", "Software"); put("Cipher.BLOWFISH", gnu.javax.crypto.jce.cipher.BlowfishSpi.class.getName()); put("Cipher.BLOWFISH ImplementedIn", "Software"); put("Cipher.DES", gnu.javax.crypto.jce.cipher.DESSpi.class.getName()); put("Cipher.DES ImplementedIn", "Software"); put("Cipher.KHAZAD", gnu.javax.crypto.jce.cipher.KhazadSpi.class.getName()); put("Cipher.KHAZAD ImplementedIn", "Software"); put("Cipher.NULL", gnu.javax.crypto.jce.cipher.NullCipherSpi.class.getName()); put("Cipher.NULL ImplementedIn", "Software"); put("Cipher.AES", gnu.javax.crypto.jce.cipher.RijndaelSpi.class.getName()); put("Cipher.AES ImplementedIn", "Software"); put("Cipher.RIJNDAEL", gnu.javax.crypto.jce.cipher.RijndaelSpi.class.getName()); put("Cipher.RIJNDAEL ImplementedIn", "Software"); put("Cipher.SERPENT", gnu.javax.crypto.jce.cipher.SerpentSpi.class.getName()); put("Cipher.SERPENT ImplementedIn", "Software"); put("Cipher.SQUARE", gnu.javax.crypto.jce.cipher.SquareSpi.class.getName()); put("Cipher.SQUARE ImplementedIn", "Software"); put("Cipher.TRIPLEDES", gnu.javax.crypto.jce.cipher.TripleDESSpi.class.getName()); put("Cipher.TRIPLEDES ImplementedIn", "Software"); put("Cipher.TWOFISH", gnu.javax.crypto.jce.cipher.TwofishSpi.class.getName()); put("Cipher.TWOFISH ImplementedIn", "Software"); put("Cipher.CAST5", gnu.javax.crypto.jce.cipher.Cast5Spi.class.getName()); put("Cipher.CAST5 ImplementedIn", "Software"); // PBES2 ciphers. put("Cipher.PBEWithHMacHavalAndAES", gnu.javax.crypto.jce.cipher.PBES2.HMacHaval.AES.class.getName()); put("Cipher.PBEWithHMacHavalAndAnubis", gnu.javax.crypto.jce.cipher.PBES2.HMacHaval.Anubis.class.getName()); put( "Cipher.PBEWithHMacHavalAndBlowfish", gnu.javax.crypto.jce.cipher.PBES2.HMacHaval.Blowfish.class.getName()); put("Cipher.PBEWithHMacHavalAndCast5", gnu.javax.crypto.jce.cipher.PBES2.HMacHaval.Cast5.class.getName()); put("Cipher.PBEWithHMacHavalAndDES", gnu.javax.crypto.jce.cipher.PBES2.HMacHaval.DES.class.getName()); put("Cipher.PBEWithHMacHavalAndKhazad", gnu.javax.crypto.jce.cipher.PBES2.HMacHaval.Khazad.class.getName()); put("Cipher.PBEWithHMacHavalAndSerpent", gnu.javax.crypto.jce.cipher.PBES2.HMacHaval.Serpent.class.getName()); put("Cipher.PBEWithHMacHavalAndSquare", gnu.javax.crypto.jce.cipher.PBES2.HMacHaval.Square.class.getName()); put( "Cipher.PBEWithHMacHavalAndTripleDES", gnu.javax.crypto.jce.cipher.PBES2.HMacHaval.TripleDES.class.getName()); put("Cipher.PBEWithHMacHavalAndTwofish", gnu.javax.crypto.jce.cipher.PBES2.HMacHaval.Twofish.class.getName()); put("Cipher.PBEWithHMacMD2AndAES", gnu.javax.crypto.jce.cipher.PBES2.HMacMD2.AES.class.getName()); put("Cipher.PBEWithHMacMD2AndAnubis", gnu.javax.crypto.jce.cipher.PBES2.HMacMD2.Anubis.class.getName()); put("Cipher.PBEWithHMacMD2AndBlowfish", gnu.javax.crypto.jce.cipher.PBES2.HMacMD2.Blowfish.class.getName()); put("Cipher.PBEWithHMacMD2AndCast5", gnu.javax.crypto.jce.cipher.PBES2.HMacMD2.Cast5.class.getName()); put("Cipher.PBEWithHMacMD2AndDES", gnu.javax.crypto.jce.cipher.PBES2.HMacMD2.DES.class.getName()); put("Cipher.PBEWithHMacMD2AndKhazad", gnu.javax.crypto.jce.cipher.PBES2.HMacMD2.Khazad.class.getName()); put("Cipher.PBEWithHMacMD2AndSerpent", gnu.javax.crypto.jce.cipher.PBES2.HMacMD2.Serpent.class.getName()); put("Cipher.PBEWithHMacMD2AndSquare", gnu.javax.crypto.jce.cipher.PBES2.HMacMD2.Square.class.getName()); put("Cipher.PBEWithHMacMD2AndTripleDES", gnu.javax.crypto.jce.cipher.PBES2.HMacMD2.TripleDES.class.getName()); put("Cipher.PBEWithHMacMD2AndTwofish", gnu.javax.crypto.jce.cipher.PBES2.HMacMD2.Twofish.class.getName()); put("Cipher.PBEWithHMacMD4AndAES", gnu.javax.crypto.jce.cipher.PBES2.HMacMD4.AES.class.getName()); put("Cipher.PBEWithHMacMD4AndAnubis", gnu.javax.crypto.jce.cipher.PBES2.HMacMD4.Anubis.class.getName()); put("Cipher.PBEWithHMacMD4AndBlowfish", gnu.javax.crypto.jce.cipher.PBES2.HMacMD4.Blowfish.class.getName()); put("Cipher.PBEWithHMacMD4AndCast5", gnu.javax.crypto.jce.cipher.PBES2.HMacMD4.Cast5.class.getName()); put("Cipher.PBEWithHMacMD4AndDES", gnu.javax.crypto.jce.cipher.PBES2.HMacMD4.DES.class.getName()); put("Cipher.PBEWithHMacMD4AndKhazad", gnu.javax.crypto.jce.cipher.PBES2.HMacMD4.Khazad.class.getName()); put("Cipher.PBEWithHMacMD4AndSerpent", gnu.javax.crypto.jce.cipher.PBES2.HMacMD4.Serpent.class.getName()); put("Cipher.PBEWithHMacMD4AndSquare", gnu.javax.crypto.jce.cipher.PBES2.HMacMD4.Square.class.getName()); put("Cipher.PBEWithHMacMD4AndTripleDES", gnu.javax.crypto.jce.cipher.PBES2.HMacMD4.TripleDES.class.getName()); put("Cipher.PBEWithHMacMD4AndTwofish", gnu.javax.crypto.jce.cipher.PBES2.HMacMD4.Twofish.class.getName()); put("Cipher.PBEWithHMacMD5AndAES", gnu.javax.crypto.jce.cipher.PBES2.HMacMD5.AES.class.getName()); put("Cipher.PBEWithHMacMD5AndAnubis", gnu.javax.crypto.jce.cipher.PBES2.HMacMD5.Anubis.class.getName()); put("Cipher.PBEWithHMacMD5AndBlowfish", gnu.javax.crypto.jce.cipher.PBES2.HMacMD5.Blowfish.class.getName()); put("Cipher.PBEWithHMacMD5AndCast5", gnu.javax.crypto.jce.cipher.PBES2.HMacMD5.Cast5.class.getName()); put("Cipher.PBEWithHMacMD5AndDES", gnu.javax.crypto.jce.cipher.PBES2.HMacMD5.DES.class.getName()); put("Cipher.PBEWithHMacMD5AndKhazad", gnu.javax.crypto.jce.cipher.PBES2.HMacMD5.Khazad.class.getName()); put("Cipher.PBEWithHMacMD5AndSerpent", gnu.javax.crypto.jce.cipher.PBES2.HMacMD5.Serpent.class.getName()); put("Cipher.PBEWithHMacMD5AndSquare", gnu.javax.crypto.jce.cipher.PBES2.HMacMD5.Square.class.getName()); put("Cipher.PBEWithHMacMD5AndTripleDES", gnu.javax.crypto.jce.cipher.PBES2.HMacMD5.TripleDES.class.getName()); put("Cipher.PBEWithHMacMD5AndTwofish", gnu.javax.crypto.jce.cipher.PBES2.HMacMD5.Twofish.class.getName()); put("Cipher.PBEWithHMacSHA1AndAES", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA1.AES.class.getName()); put("Cipher.PBEWithHMacSHA1AndAnubis", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA1.Anubis.class.getName()); put("Cipher.PBEWithHMacSHA1AndBlowfish", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA1.Blowfish.class.getName()); put("Cipher.PBEWithHMacSHA1AndCast5", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA1.Cast5.class.getName()); put("Cipher.PBEWithHMacSHA1AndDES", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA1.DES.class.getName()); put("Cipher.PBEWithHMacSHA1AndKhazad", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA1.Khazad.class.getName()); put("Cipher.PBEWithHMacSHA1AndSerpent", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA1.Serpent.class.getName()); put("Cipher.PBEWithHMacSHA1AndSquare", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA1.Square.class.getName()); put( "Cipher.PBEWithHMacSHA1AndTripleDES", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA1.TripleDES.class.getName()); put("Cipher.PBEWithHMacSHA1AndTwofish", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA1.Twofish.class.getName()); put("Cipher.PBEWithHMacSHA256AndAES", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA256.AES.class.getName()); put("Cipher.PBEWithHMacSHA256AndAnubis", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA256.Anubis.class.getName()); put( "Cipher.PBEWithHMacSHA256AndBlowfish", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA256.Blowfish.class.getName()); put("Cipher.PBEWithHMacSHA256AndCast5", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA256.Cast5.class.getName()); put("Cipher.PBEWithHMacSHA256AndDES", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA256.DES.class.getName()); put("Cipher.PBEWithHMacSHA256AndKhazad", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA256.Khazad.class.getName()); put( "Cipher.PBEWithHMacSHA256AndSerpent", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA256.Serpent.class.getName()); put("Cipher.PBEWithHMacSHA256AndSquare", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA256.Square.class.getName()); put( "Cipher.PBEWithHMacSHA256AndTripleDES", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA256.TripleDES.class.getName()); put( "Cipher.PBEWithHMacSHA256AndTwofish", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA256.Twofish.class.getName()); put("Cipher.PBEWithHMacSHA384AndAES", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA384.AES.class.getName()); put("Cipher.PBEWithHMacSHA384AndAnubis", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA384.Anubis.class.getName()); put( "Cipher.PBEWithHMacSHA384AndBlowfish", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA384.Blowfish.class.getName()); put("Cipher.PBEWithHMacSHA384AndCast5", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA384.Cast5.class.getName()); put("Cipher.PBEWithHMacSHA384AndDES", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA384.DES.class.getName()); put("Cipher.PBEWithHMacSHA384AndKhazad", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA384.Khazad.class.getName()); put( "Cipher.PBEWithHMacSHA384AndSerpent", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA384.Serpent.class.getName()); put("Cipher.PBEWithHMacSHA384AndSquare", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA384.Square.class.getName()); put( "Cipher.PBEWithHMacSHA384AndTripleDES", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA384.TripleDES.class.getName()); put( "Cipher.PBEWithHMacSHA384AndTwofish", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA384.Twofish.class.getName()); put("Cipher.PBEWithHMacSHA512AndAES", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA512.AES.class.getName()); put("Cipher.PBEWithHMacSHA512AndAnubis", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA512.Anubis.class.getName()); put( "Cipher.PBEWithHMacSHA512AndBlowfish", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA512.Blowfish.class.getName()); put("Cipher.PBEWithHMacSHA512AndCast5", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA512.Cast5.class.getName()); put("Cipher.PBEWithHMacSHA512AndDES", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA512.DES.class.getName()); put("Cipher.PBEWithHMacSHA512AndKhazad", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA512.Khazad.class.getName()); put( "Cipher.PBEWithHMacSHA512AndSerpent", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA512.Serpent.class.getName()); put("Cipher.PBEWithHMacSHA512AndSquare", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA512.Square.class.getName()); put( "Cipher.PBEWithHMacSHA512AndTripleDES", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA512.TripleDES.class.getName()); put( "Cipher.PBEWithHMacSHA512AndTwofish", gnu.javax.crypto.jce.cipher.PBES2.HMacSHA512.Twofish.class.getName()); put("Cipher.PBEWithHMacTigerAndAES", gnu.javax.crypto.jce.cipher.PBES2.HMacTiger.AES.class.getName()); put("Cipher.PBEWithHMacTigerAndAnubis", gnu.javax.crypto.jce.cipher.PBES2.HMacTiger.Anubis.class.getName()); put( "Cipher.PBEWithHMacTigerAndBlowfish", gnu.javax.crypto.jce.cipher.PBES2.HMacTiger.Blowfish.class.getName()); put("Cipher.PBEWithHMacTigerAndCast5", gnu.javax.crypto.jce.cipher.PBES2.HMacTiger.Cast5.class.getName()); put("Cipher.PBEWithHMacTigerAndDES", gnu.javax.crypto.jce.cipher.PBES2.HMacTiger.DES.class.getName()); put("Cipher.PBEWithHMacTigerAndKhazad", gnu.javax.crypto.jce.cipher.PBES2.HMacTiger.Khazad.class.getName()); put("Cipher.PBEWithHMacTigerAndSerpent", gnu.javax.crypto.jce.cipher.PBES2.HMacTiger.Serpent.class.getName()); put("Cipher.PBEWithHMacTigerAndSquare", gnu.javax.crypto.jce.cipher.PBES2.HMacTiger.Square.class.getName()); put( "Cipher.PBEWithHMacTigerAndTripleDES", gnu.javax.crypto.jce.cipher.PBES2.HMacTiger.TripleDES.class.getName()); put("Cipher.PBEWithHMacTigerAndTwofish", gnu.javax.crypto.jce.cipher.PBES2.HMacTiger.Twofish.class.getName()); put("Cipher.PBEWithHMacWhirlpoolAndAES", gnu.javax.crypto.jce.cipher.PBES2.HMacWhirlpool.AES.class.getName()); put( "Cipher.PBEWithHMacWhirlpoolAndAnubis", gnu.javax.crypto.jce.cipher.PBES2.HMacWhirlpool.Anubis.class.getName()); put( "Cipher.PBEWithHMacWhirlpoolAndBlowfish", gnu.javax.crypto.jce.cipher.PBES2.HMacWhirlpool.Blowfish.class.getName()); put( "Cipher.PBEWithHMacWhirlpoolAndCast5", gnu.javax.crypto.jce.cipher.PBES2.HMacWhirlpool.Cast5.class.getName()); put("Cipher.PBEWithHMacWhirlpoolAndDES", gnu.javax.crypto.jce.cipher.PBES2.HMacWhirlpool.DES.class.getName()); put( "Cipher.PBEWithHMacWhirlpoolAndKhazad", gnu.javax.crypto.jce.cipher.PBES2.HMacWhirlpool.Khazad.class.getName()); put( "Cipher.PBEWithHMacWhirlpoolAndSerpent", gnu.javax.crypto.jce.cipher.PBES2.HMacWhirlpool.Serpent.class.getName()); put( "Cipher.PBEWithHMacWhirlpoolAndSquare", gnu.javax.crypto.jce.cipher.PBES2.HMacWhirlpool.Square.class.getName()); put( "Cipher.PBEWithHMacWhirlpoolAndTripleDES", gnu.javax.crypto.jce.cipher.PBES2.HMacWhirlpool.TripleDES.class.getName()); put( "Cipher.PBEWithHMacWhirlpoolAndTwofish", gnu.javax.crypto.jce.cipher.PBES2.HMacWhirlpool.Twofish.class.getName()); // SecretKeyFactory interface to PBKDF2. put( "SecretKeyFactory.PBKDF2WithHMacHaval", gnu.javax.crypto.jce.PBKDF2SecretKeyFactory.HMacHaval.class.getName()); put("SecretKeyFactory.PBKDF2WithHMacMD2", gnu.javax.crypto.jce.PBKDF2SecretKeyFactory.HMacMD2.class.getName()); put("SecretKeyFactory.PBKDF2WithHMacMD4", gnu.javax.crypto.jce.PBKDF2SecretKeyFactory.HMacMD4.class.getName()); put("SecretKeyFactory.PBKDF2WithHMacMD5", gnu.javax.crypto.jce.PBKDF2SecretKeyFactory.HMacMD5.class.getName()); put( "SecretKeyFactory.PBKDF2WithHMacSHA1", gnu.javax.crypto.jce.PBKDF2SecretKeyFactory.HMacSHA1.class.getName()); put( "SecretKeyFactory.PBKDF2WithHMacSHA256", gnu.javax.crypto.jce.PBKDF2SecretKeyFactory.HMacSHA256.class.getName()); put( "SecretKeyFactory.PBKDF2WithHMacSHA384", gnu.javax.crypto.jce.PBKDF2SecretKeyFactory.HMacSHA384.class.getName()); put( "SecretKeyFactory.PBKDF2WithHMacSHA512", gnu.javax.crypto.jce.PBKDF2SecretKeyFactory.HMacSHA512.class.getName()); put( "SecretKeyFactory.PBKDF2WithHMacTiger", gnu.javax.crypto.jce.PBKDF2SecretKeyFactory.HMacTiger.class.getName()); put( "SecretKeyFactory.PBKDF2WithHMacWhirlpool", gnu.javax.crypto.jce.PBKDF2SecretKeyFactory.HMacWhirlpool.class.getName()); // Simple SecretKeyFactory implementations. put("SecretKeyFactory.Anubis", gnu.javax.crypto.jce.key.AnubisSecretKeyFactoryImpl.class.getName()); put( "SecretKeyFactory.Blowfish", gnu.javax.crypto.jce.key.BlowfishSecretKeyFactoryImpl.class.getName()); put("SecretKeyFactory.Cast5", gnu.javax.crypto.jce.key.Cast5SecretKeyFactoryImpl.class.getName()); put("SecretKeyFactory.DES", gnu.javax.crypto.jce.key.DESSecretKeyFactoryImpl.class.getName()); put("SecretKeyFactory.Khazad", gnu.javax.crypto.jce.key.KhazadSecretKeyFactoryImpl.class.getName()); put( "SecretKeyFactory.Rijndael", gnu.javax.crypto.jce.key.RijndaelSecretKeyFactoryImpl.class.getName()); put( "SecretKeyFactory.Serpent", gnu.javax.crypto.jce.key.SerpentSecretKeyFactoryImpl.class.getName()); put("SecretKeyFactory.Square", gnu.javax.crypto.jce.key.SquareSecretKeyFactoryImpl.class.getName()); put("SecretKeyFactory.TripleDES", gnu.javax.crypto.jce.key.DESedeSecretKeyFactoryImpl.class.getName()); put("Alg.Alias.SecretKeyFactory.AES", "Rijndael"); put("Alg.Alias.SecretKeyFactory.DESede", "TripleDES"); put("Alg.Alias.SecretKeyFactory.3-DES", "TripleDES"); put("Alg.Alias.SecretKeyFactory.3DES", "TripleDES"); put("AlgorithmParameters.BlockCipherParameters", gnu.javax.crypto.jce.params.BlockCipherParameters.class.getName()); // KeyGenerator Adapter implementations put("KeyGenerator.Anubis", gnu.javax.crypto.jce.key.AnubisKeyGeneratorImpl.class.getName()); put("KeyGenerator.Blowfish", gnu.javax.crypto.jce.key.BlowfishKeyGeneratorImpl.class.getName()); put("KeyGenerator.Cast5", gnu.javax.crypto.jce.key.Cast5KeyGeneratorImpl.class.getName()); put("KeyGenerator.DES", gnu.javax.crypto.jce.key.DESKeyGeneratorImpl.class.getName()); put("KeyGenerator.Khazad", gnu.javax.crypto.jce.key.KhazadKeyGeneratorImpl.class.getName()); put("KeyGenerator.Rijndael", gnu.javax.crypto.jce.key.RijndaelKeyGeneratorImpl.class.getName()); put("KeyGenerator.Serpent", gnu.javax.crypto.jce.key.SerpentKeyGeneratorImpl.class.getName()); put("KeyGenerator.Square", gnu.javax.crypto.jce.key.SquareKeyGeneratorImpl.class.getName()); put("KeyGenerator.TripleDES", gnu.javax.crypto.jce.key.TripleDESKeyGeneratorImpl.class.getName()); put("Alg.Alias.KeyGenerator.AES", "Rijndael"); put("Alg.Alias.KeyGenerator.DESede", "TripleDES"); put("Alg.Alias.KeyGenerator.3-DES", "TripleDES"); put("Alg.Alias.KeyGenerator.3DES", "TripleDES"); // MAC put("Mac.HMAC-MD2", gnu.javax.crypto.jce.mac.HMacMD2Spi.class.getName()); put("Mac.HMAC-MD4", gnu.javax.crypto.jce.mac.HMacMD4Spi.class.getName()); put("Mac.HMAC-MD5", gnu.javax.crypto.jce.mac.HMacMD5Spi.class.getName()); put("Mac.HMAC-RIPEMD128", gnu.javax.crypto.jce.mac.HMacRipeMD128Spi.class.getName()); put("Mac.HMAC-RIPEMD160", gnu.javax.crypto.jce.mac.HMacRipeMD160Spi.class.getName()); put("Mac.HMAC-SHA160", gnu.javax.crypto.jce.mac.HMacSHA160Spi.class.getName()); put("Mac.HMAC-SHA256", gnu.javax.crypto.jce.mac.HMacSHA256Spi.class.getName()); put("Mac.HMAC-SHA384", gnu.javax.crypto.jce.mac.HMacSHA384Spi.class.getName()); put("Mac.HMAC-SHA512", gnu.javax.crypto.jce.mac.HMacSHA512Spi.class.getName()); put("Mac.HMAC-TIGER", gnu.javax.crypto.jce.mac.HMacTigerSpi.class.getName()); put("Mac.HMAC-HAVAL", gnu.javax.crypto.jce.mac.HMacHavalSpi.class.getName()); put("Mac.HMAC-WHIRLPOOL", gnu.javax.crypto.jce.mac.HMacWhirlpoolSpi.class.getName()); put("Mac.TMMH16", gnu.javax.crypto.jce.mac.TMMH16Spi.class.getName()); put("Mac.UHASH32", gnu.javax.crypto.jce.mac.UHash32Spi.class.getName()); put("Mac.UMAC32", gnu.javax.crypto.jce.mac.UMac32Spi.class.getName()); put("Mac.OMAC-ANUBIS", gnu.javax.crypto.jce.mac.OMacAnubisImpl.class.getName()); put("Mac.OMAC-BLOWFISH", gnu.javax.crypto.jce.mac.OMacBlowfishImpl.class.getName()); put("Mac.OMAC-CAST5", gnu.javax.crypto.jce.mac.OMacCast5Impl.class.getName()); put("Mac.OMAC-DES", gnu.javax.crypto.jce.mac.OMacDESImpl.class.getName()); put("Mac.OMAC-KHAZAD", gnu.javax.crypto.jce.mac.OMacKhazadImpl.class.getName()); put("Mac.OMAC-RIJNDAEL", gnu.javax.crypto.jce.mac.OMacRijndaelImpl.class.getName()); put("Mac.OMAC-SERPENT", gnu.javax.crypto.jce.mac.OMacSerpentImpl.class.getName()); put("Mac.OMAC-SQUARE", gnu.javax.crypto.jce.mac.OMacSquareImpl.class.getName()); put("Mac.OMAC-TRIPLEDES", gnu.javax.crypto.jce.mac.OMacTripleDESImpl.class.getName()); put("Mac.OMAC-TWOFISH", gnu.javax.crypto.jce.mac.OMacTwofishImpl.class.getName()); // Aliases put("Alg.Alias.AlgorithmParameters.AES", "BlockCipherParameters"); put("Alg.Alias.AlgorithmParameters.BLOWFISH", "BlockCipherParameters"); put("Alg.Alias.AlgorithmParameters.ANUBIS", "BlockCipherParameters"); put("Alg.Alias.AlgorithmParameters.KHAZAD", "BlockCipherParameters"); put("Alg.Alias.AlgorithmParameters.NULL", "BlockCipherParameters"); put("Alg.Alias.AlgorithmParameters.RIJNDAEL", "BlockCipherParameters"); put("Alg.Alias.AlgorithmParameters.SERPENT", "BlockCipherParameters"); put("Alg.Alias.AlgorithmParameters.SQUARE", "BlockCipherParameters"); put("Alg.Alias.AlgorithmParameters.TWOFISH", "BlockCipherParameters"); put("Alg.Alias.Cipher.RC4", "ARCFOUR"); put("Alg.Alias.Cipher.3-DES", "TRIPLEDES"); put("Alg.Alias.Cipher.3DES", "TRIPLEDES"); put("Alg.Alias.Cipher.DES-EDE", "TRIPLEDES"); put("Alg.Alias.Cipher.DESede", "TRIPLEDES"); put("Alg.Alias.Cipher.CAST128", "CAST5"); put("Alg.Alias.Cipher.CAST-128", "CAST5"); put("Alg.Alias.Mac.HMAC-SHS", "HMAC-SHA160"); put("Alg.Alias.Mac.HMAC-SHA", "HMAC-SHA160"); put("Alg.Alias.Mac.HMAC-SHA1", "HMAC-SHA160"); put("Alg.Alias.Mac.HMAC-SHA-160", "HMAC-SHA160"); put("Alg.Alias.Mac.HMAC-SHA-256", "HMAC-SHA256"); put("Alg.Alias.Mac.HMAC-SHA-384", "HMAC-SHA384"); put("Alg.Alias.Mac.HMAC-SHA-512", "HMAC-SHA512"); put("Alg.Alias.Mac.HMAC-RIPEMD-160", "HMAC-RIPEMD160"); put("Alg.Alias.Mac.HMAC-RIPEMD-128", "HMAC-RIPEMD128"); put("Alg.Alias.Mac.OMAC-AES", "OMAC-RIJNDAEL"); put("Alg.Alias.Mac.OMAC-3DES", "OMAC-3DES"); put("Alg.Alias.Mac.HmacMD4", "HMAC-MD4"); put("Alg.Alias.Mac.HmacMD5", "HMAC-MD5"); put("Alg.Alias.Mac.HmacSHA-1", "HMAC-SHA-1"); put("Alg.Alias.Mac.HmacSHA1", "HMAC-SHA1"); put("Alg.Alias.Mac.HmacSHA-160", "HMAC-SHA-160"); put("Alg.Alias.Mac.HmacSHA160", "HMAC-SHA-160"); put("Alg.Alias.Mac.HmacSHA-256", "HMAC-SHA-256"); put("Alg.Alias.Mac.HmacSHA256", "HMAC-SHA-256"); put("Alg.Alias.Mac.HmacSHA-384", "HMAC-SHA-384"); put("Alg.Alias.Mac.HmacSHA384", "HMAC-SHA-384"); put("Alg.Alias.Mac.HmacSHA-512", "HMAC-SHA-512"); put("Alg.Alias.Mac.HmacSHA512", "HMAC-SHA-512"); put("Alg.Alias.Mac.HmacRIPEMD128", "HMAC-RIPEMD128"); put("Alg.Alias.Mac.HmacRIPEMD-128", "HMAC-RIPEMD128"); put("Alg.Alias.Mac.HmacRIPEMD160", "HMAC-RIPEMD160"); put("Alg.Alias.Mac.HmacRIPEMD-160", "HMAC-RIPEMD160"); put("Alg.Alias.Mac.HmacTiger", "HMAC-TIGER"); put("Alg.Alias.Mac.HmacHaval", "HMAC-HAVAL"); put("Alg.Alias.Mac.HmacWhirlpool", "HMAC-WHIRLPOOL"); // KeyAgreement put("KeyAgreement.DiffieHellman", gnu.javax.crypto.DiffieHellmanImpl.class.getName()); put("Alg.Alias.KeyAgreement.DH", "DiffieHellman"); // Cipher put("Cipher.RSAES-PKCS1-v1_5", gnu.javax.crypto.RSACipherImpl.class.getName()); put("Alg.Alias.Cipher.RSA", "RSAES-PKCS1-v1_5"); // SecureRandom put("SecureRandom.ARCFOUR", gnu.javax.crypto.jce.prng.ARCFourRandomSpi.class.getName()); put("SecureRandom.ARCFOUR ImplementedIn", "Software"); put("SecureRandom.CSPRNG", gnu.javax.crypto.jce.prng.CSPRNGSpi.class.getName()); put("SecureRandom.CSPRNG ImplementedIn", "Software"); put("SecureRandom.ICM", gnu.javax.crypto.jce.prng.ICMRandomSpi.class.getName()); put("SecureRandom.ICM ImplementedIn", "Software"); put("SecureRandom.UMAC-KDF", gnu.javax.crypto.jce.prng.UMacRandomSpi.class.getName()); put("SecureRandom.UMAC-KDF ImplementedIn", "Software"); put("SecureRandom.Fortuna", gnu.javax.crypto.jce.prng.FortunaImpl.class.getName ()); put("SecureRandom.Fortuna ImplementedIn", "Software"); // KeyStore put("KeyStore.GKR", gnu.javax.crypto.jce.keyring.GnuKeyring.class.getName()); put("Alg.Alias.KeyStore.GnuKeyring", "GKR"); // KeyPairGenerator --------------------------------------------------- put("KeyPairGenerator.DH", gnu.javax.crypto.jce.sig.DHKeyPairGeneratorSpi.class.getName()); put("KeyPairGenerator.DH KeySize", "512"); put("KeyPairGenerator.DH ImplementedIn", "Software"); put("Alg.Alias.KeyPairGenerator.DiffieHellman", "DH"); // KeyFactory --------------------------------------------------------- put("KeyFactory.DH", gnu.javax.crypto.jce.sig.DHKeyFactory.class.getName()); put("Alg.Alias,KeyFactory.DiffieHellman", "DH"); return null; } }); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/GnuCrypto.java/clean/core/src/classpath/gnu/gnu/javax/crypto/jce/GnuCrypto.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 611, 13053, 18048, 1435, 225, 288, 565, 2240, 12, 4243, 18, 8318, 57, 67, 14306, 51, 16, 576, 18, 21, 16, 315, 8318, 57, 15629, 804, 1441, 7561, 8863, 565, 25556, 18, 2896, 18845, 12, 2704, 24897, 1435, 565, 288, 1377, 1071, 1033, 1086, 1435, 1377, 288, 3639, 368, 12272, 3639, 1378, 2932, 13896, 18, 1258, 3457, 5127, 3113, 5411, 314, 13053, 18, 28384, 18, 18489, 18, 78, 311, 18, 17094, 18, 979, 373, 291, 21887, 18, 1106, 18, 17994, 10663, 3639, 1378, 2932, 13896, 18, 1258, 3457, 5127, 18788, 382, 3113, 315, 21742, 8863, 3639, 1378, 2932, 13896, 18, 27206, 3313, 1099, 3113, 5411, 314, 13053, 18, 28384, 18, 18489, 18, 78, 311, 18, 17094, 18, 985, 8955, 477, 21887, 18, 1106, 18, 17994, 10663, 3639, 1378, 2932, 13896, 18, 27206, 3313, 1099, 18788, 382, 3113, 315, 21742, 8863, 3639, 1378, 2932, 13896, 18, 38, 4130, 1653, 2664, 3113, 5411, 314, 13053, 18, 28384, 18, 18489, 18, 78, 311, 18, 17094, 18, 38, 821, 22905, 21887, 18, 1106, 18, 17994, 10663, 3639, 1378, 2932, 13896, 18, 38, 4130, 1653, 2664, 18788, 382, 3113, 315, 21742, 8863, 3639, 1378, 2932, 13896, 18, 26463, 3113, 314, 13053, 18, 28384, 18, 18489, 18, 78, 311, 18, 17094, 18, 1639, 1260, 7259, 18, 1106, 18, 17994, 10663, 3639, 1378, 2932, 13896, 18, 26463, 18788, 382, 3113, 315, 21742, 8863, 3639, 1378, 2932, 13896, 18, 47, 19191, 62, 1880, 3113, 5411, 314, 13053, 18, 28384, 18, 18489, 18, 78, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 611, 13053, 18048, 1435, 225, 288, 565, 2240, 12, 4243, 18, 8318, 57, 67, 14306, 51, 16, 576, 18, 21, 16, 315, 8318, 57, 15629, 804, 1441, 7561, 8863, 565, 25556, 18, 2896, 18845, 12, 2704, 24897, 1435, 565, 288, 1377, 1071, 1033, 1086, 1435, 1377, 288, 3639, 368, 12272, 3639, 1378, 2932, 13896, 18, 1258, 3457, 5127, 3113, 5411, 314, 13053, 18, 28384, 18, 18489, 18, 78, 311, 18, 17094, 18, 979, 373, 291, 21887, 18, 1106, 18, 17994, 10663, 3639, 1378, 2932, 13896, 18, 1258, 3457, 5127, 18788, 382, 3113, 315, 21742, 8863, 3639, 1378, 2932, 13896, 18, 27206, 3313, 1099, 3113, 5411, 314, 13053, 18, 28384, 18, 18489, 18, 78, 311, 18, 17094, 18, 2 ]
return new RubyFixnum(ruby, 0);
return RubyFixnum.newFixnum(ruby, 0);
public static RubyObject rmdir(Ruby ruby, RubyObject recv, RubyString path) { new File(path.toString()).delete(); return new RubyFixnum(ruby, 0); }
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/afb67c3765f6466c476317e6bb0c72f6593f05f3/RubyDir.java/buggy/org/jruby/RubyDir.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 921, 21306, 12, 54, 10340, 22155, 16, 19817, 921, 10665, 16, 19817, 780, 589, 13, 288, 3639, 394, 1387, 12, 803, 18, 10492, 1435, 2934, 3733, 5621, 3639, 327, 19817, 8585, 2107, 18, 2704, 8585, 2107, 12, 27768, 16, 374, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
bugCurrentSortOrder = sortOrder; getSettings().put(KEY_SORTING, bugCurrentSortOrder);
currentSortOrder = sortOrder; getSettings().put(KEY_SORTING, currentSortOrder);
public void setSortOrder(int sortOrder) { StructuredViewer viewer = getViewer(); switch (sortOrder) { case ORDER_ID: viewer.setSorter(new SearchResultSorterId()); break; case ORDER_DESCRIPTION: viewer.setSorter(new SearchResultSorterDescription()); break; case ORDER_PRIORITY: viewer.setSorter(new SearchResultSorterPriority()); break; // case ORDER_SEVERITY: // viewer.setSorter(new BugzillaSeveritySearchSorter()); // break; // case ORDER_STATUS: // viewer.setSorter(new BugzillaStateSearchSorter()); // break; default: // If the setting is not one of the four valid ones, // use the default order setting. sortOrder = ORDER_DEFAULT; viewer.setSorter(new SearchResultSorterPriority()); break; } bugCurrentSortOrder = sortOrder; getSettings().put(KEY_SORTING, bugCurrentSortOrder); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/f2beef343f251302cbdbcb89f4e864d42c8fca88/RepositorySearchResultView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/search/RepositorySearchResultView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 31460, 12, 474, 19050, 13, 288, 202, 202, 30733, 18415, 14157, 273, 8893, 264, 5621, 202, 202, 9610, 261, 3804, 2448, 13, 288, 202, 202, 3593, 10205, 67, 734, 30, 1082, 202, 25256, 18, 542, 24952, 12, 2704, 29740, 24952, 548, 10663, 1082, 202, 8820, 31, 202, 202, 3593, 10205, 67, 15911, 30, 1082, 202, 25256, 18, 542, 24952, 12, 2704, 29740, 24952, 3291, 10663, 1082, 202, 8820, 31, 202, 202, 3593, 10205, 67, 19804, 30, 1082, 202, 25256, 18, 542, 24952, 12, 2704, 29740, 24952, 8183, 10663, 1082, 202, 8820, 31, 202, 202, 759, 648, 10205, 67, 1090, 2204, 4107, 30, 202, 202, 759, 14157, 18, 542, 24952, 12, 2704, 16907, 15990, 21630, 2979, 24952, 10663, 202, 202, 759, 898, 31, 202, 202, 759, 648, 10205, 67, 8608, 30, 202, 202, 759, 14157, 18, 542, 24952, 12, 2704, 16907, 15990, 1119, 2979, 24952, 10663, 202, 202, 759, 898, 31, 202, 202, 1886, 30, 1082, 202, 759, 971, 326, 3637, 353, 486, 1245, 434, 326, 12792, 923, 5945, 16, 1082, 202, 759, 999, 326, 805, 1353, 3637, 18, 1082, 202, 3804, 2448, 273, 10205, 67, 5280, 31, 1082, 202, 25256, 18, 542, 24952, 12, 2704, 29740, 24952, 8183, 10663, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 925, 3935, 31460, 273, 19050, 31, 202, 202, 588, 2628, 7675, 458, 12, 3297, 67, 23988, 1360, 16, 7934, 3935, 31460, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 31460, 12, 474, 19050, 13, 288, 202, 202, 30733, 18415, 14157, 273, 8893, 264, 5621, 202, 202, 9610, 261, 3804, 2448, 13, 288, 202, 202, 3593, 10205, 67, 734, 30, 1082, 202, 25256, 18, 542, 24952, 12, 2704, 29740, 24952, 548, 10663, 1082, 202, 8820, 31, 202, 202, 3593, 10205, 67, 15911, 30, 1082, 202, 25256, 18, 542, 24952, 12, 2704, 29740, 24952, 3291, 10663, 1082, 202, 8820, 31, 202, 202, 3593, 10205, 67, 19804, 30, 1082, 202, 25256, 18, 542, 24952, 12, 2704, 29740, 24952, 8183, 10663, 1082, 202, 8820, 31, 202, 202, 759, 648, 10205, 67, 1090, 2204, 4107, 30, 202, 202, 759, 14157, 18, 542, 24952, 12, 2704, 16907, 15990, 21630, 2 ]
eDynamicSet( eFeature, newValue );
super.eSet( featureID, newValue );
public void eSet( EStructuralFeature eFeature, Object newValue ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case AttributePackage.TEXT__VALUE : setValue( (String) newValue ); return; case AttributePackage.TEXT__FONT : setFont( (FontDefinition) newValue ); return; case AttributePackage.TEXT__COLOR : setColor( (ColorDefinition) newValue ); return; } eDynamicSet( eFeature, newValue ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/036e8c78765730b146e5854b9d6c397a296fed86/TextImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/TextImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20199, 12, 512, 14372, 4595, 425, 4595, 16, 1033, 6129, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 3601, 2261, 18, 5151, 972, 4051, 294, 9506, 202, 542, 620, 12, 261, 780, 13, 6129, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 5151, 972, 25221, 294, 9506, 202, 542, 5711, 12, 261, 5711, 1852, 13, 6129, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 5151, 972, 10989, 294, 9506, 202, 542, 2957, 12, 261, 2957, 1852, 13, 6129, 11272, 9506, 202, 2463, 31, 202, 202, 97, 202, 202, 73, 9791, 694, 12, 425, 4595, 16, 6129, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20199, 12, 512, 14372, 4595, 425, 4595, 16, 1033, 6129, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 3601, 2261, 18, 5151, 972, 4051, 294, 9506, 202, 542, 620, 12, 261, 780, 13, 6129, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 5151, 972, 25221, 294, 9506, 202, 542, 5711, 12, 261, 5711, 1852, 13, 6129, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 5151, 972, 10989, 294, 9506, 202, 542, 2957, 12, 261, 2957, 1852, 13, 6129, 11272, 9506, 202, 2463, 31, 202, 202, 97, 202, 202, 73, 9791, 694, 12, 425, 4595, 2 ]
return newFixnum(getRuby(), getValue() / other.getLongValue());
return newFixnum(getRuby(), getLongValue() / other.getLongValue());
public RubyNumeric op_div(RubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuby(), getDoubleValue()).op_div(other); } else if (other instanceof RubyBignum) { return RubyBignum.newBignum(getRuby(), getLongValue()).op_div(other); } else { return newFixnum(getRuby(), getValue() / other.getLongValue()); } }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyFixnum.java/clean/org/jruby/RubyFixnum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 2892, 12, 54, 10340, 921, 818, 13, 288, 3639, 19817, 9902, 1308, 273, 6389, 620, 12, 2107, 1769, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 54, 10340, 9334, 16097, 620, 1435, 2934, 556, 67, 2892, 12, 3011, 1769, 3639, 289, 469, 309, 261, 3011, 1276, 19817, 38, 724, 379, 13, 288, 5411, 327, 19817, 38, 724, 379, 18, 2704, 38, 724, 379, 12, 588, 54, 10340, 9334, 11105, 620, 1435, 2934, 556, 67, 2892, 12, 3011, 1769, 3639, 289, 469, 288, 5411, 327, 394, 8585, 2107, 12, 588, 54, 10340, 9334, 11105, 620, 1435, 342, 1308, 18, 588, 3708, 620, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 2892, 12, 54, 10340, 921, 818, 13, 288, 3639, 19817, 9902, 1308, 273, 6389, 620, 12, 2107, 1769, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 54, 10340, 9334, 16097, 620, 1435, 2934, 556, 67, 2892, 12, 3011, 1769, 3639, 289, 469, 309, 261, 3011, 1276, 19817, 38, 724, 379, 13, 288, 5411, 327, 19817, 38, 724, 379, 18, 2704, 38, 724, 379, 12, 588, 54, 10340, 9334, 11105, 620, 1435, 2934, 556, 67, 2892, 12, 3011, 1769, 3639, 289, 469, 288, 5411, 327, 394, 8585, 2107, 12, 588, 54, 10340, 9334, 11105, 620, 1435, 342, 1308, 18, 588, 3708, 620, 10663, 3639, 2 ]
public void appendSyntaxErrorResult(String message, int startRow, int startCol, int endRow, int endCol, String styleName ) { //writeLock(); try { if (null == message || "null".equals(message)) { message = ""; } insertText( getDocLength(), message + "\n" , styleName ); } catch (DocumentAdapterException ble) { throw new UnexpectedException(ble); } finally { //writeUnlock(); } }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/efe2cdfa860877c37343dbc5d29e380b33344492/InteractionsDocument.java/clean/drjava/src/edu/rice/cs/drjava/model/repl/InteractionsDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 6923, 22510, 1253, 12, 780, 2150, 16, 474, 1937, 1999, 16, 474, 1937, 914, 16, 474, 409, 1999, 16, 474, 409, 914, 16, 780, 4060, 461, 15329, 759, 2626, 2531, 5621, 698, 95, 430, 12, 2011, 631, 2150, 20081, 6, 2011, 9654, 14963, 12, 2150, 3719, 95, 2150, 1546, 14432, 97, 6387, 1528, 12, 588, 1759, 1782, 9334, 2150, 9078, 64, 82, 3113, 4060, 461, 1769, 97, 14683, 12, 2519, 4216, 503, 7119, 15329, 12849, 2704, 7762, 503, 12, 7119, 1769, 97, 23417, 95, 759, 2626, 7087, 5621, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 6923, 22510, 1253, 12, 780, 2150, 16, 474, 1937, 1999, 16, 474, 1937, 914, 16, 474, 409, 1999, 16, 474, 409, 914, 16, 780, 4060, 461, 15329, 759, 2626, 2531, 5621, 698, 95, 430, 12, 2011, 631, 2150, 20081, 6, 2011, 9654, 14963, 12, 2150, 3719, 95, 2150, 1546, 14432, 97, 6387, 1528, 12, 588, 1759, 1782, 9334, 2150, 9078, 64, 82, 3113, 4060, 461, 1769, 97, 14683, 12, 2519, 4216, 503, 7119, 15329, 12849, 2704, 7762, 503, 12, 7119, 1769, 97, 23417, 95, 759, 2626, 7087, 5621, 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 ]
if (_emailDomain != null) { authorName = authorName + "@" + _emailDomain; }
private ArrayList parseEntry(BufferedReader reader) throws IOException { ArrayList mods = new ArrayList(); String nextLine = ""; //Read to the working file name line to get the filename. It is ASSUMED // that a line will exist with the working file name on it. String workingFileLine = readToNotPast(reader, CVS_WORKINGFILE_LINE, null); String workingFilename = workingFileLine.substring(CVS_WORKINGFILE_LINE.length()); while (reader.ready() && nextLine != null && !nextLine.startsWith(CVS_FILE_DELIM)) { // Read to the revision date. It is ASSUMED that each revision // section will include this date information line. nextLine = readToNotPast(reader, CVS_REVISION_DATE, CVS_FILE_DELIM); if (nextLine == null) { //No more revisions for this file. break; } StringTokenizer tokens = new StringTokenizer(nextLine, " \t\n\r\f;"); //First token is the keyword for date, then the next two should be the date and time stamps. tokens.nextToken(); String dateStamp = tokens.nextToken(); String timeStamp = tokens.nextToken(); // The next token should be the author keyword, then the author name. tokens.nextToken(); String authorName = tokens.nextToken(); // The next token should be the state keyword, then the state name. tokens.nextToken(); String stateKeyword = tokens.nextToken(); // The next token should be the lines keyword, then the lines changed String linesChanged = ""; try { tokens.nextToken(); linesChanged = tokens.nextToken() + " " + tokens.nextToken(); } catch (NoSuchElementException noLinesFoundIgnore) {} // All the text from now to the next revision delimiter or working // file delimiter constitutes the messsage. String message = ""; nextLine = reader.readLine(); boolean multiLine = false; while (nextLine != null && !nextLine.startsWith(CVS_FILE_DELIM) && !nextLine.startsWith(CVS_REVISION_DELIM)) { if (multiLine) { message += NEW_LINE; } else { multiLine = true; } message += nextLine; //Go to the next line. nextLine = reader.readLine(); } Modification nextModification = new Modification(); nextModification.fileName = workingFilename; //CVS doesn't provide specific project or "folder" information. nextModification.folderName = ""; try { nextModification.modifiedTime = LOGDATE.parse(dateStamp + " " + timeStamp + " GMT"); updateLastModified(nextModification.modifiedTime); } catch (ParseException pe) { log("Error parsing cvs log for date and time!"); pe.printStackTrace(); return null; } nextModification.userName = authorName; if (_emailDomain != null) { authorName = authorName + "@" + _emailDomain; } emailNames.add(authorName); nextModification.comment = (message != null ? message : ""); if (stateKeyword.equalsIgnoreCase(CVS_REVISION_DELETED)) { nextModification.type = "deleted"; } else if (linesChanged.equals(CVS_NO_LINES_CHANGED)) { nextModification.type = "added"; } else { nextModification.type = "modified"; } mods.add(nextModification); } return mods; }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/124e50424704c5dbdee645d84493e9108bd07fbc/CVSElement.java/clean/main/src/net/sourceforge/cruisecontrol/element/CVSElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 2407, 1109, 1622, 12, 17947, 2514, 2949, 13, 1216, 1860, 288, 202, 202, 19558, 15546, 273, 394, 2407, 5621, 202, 202, 780, 26638, 273, 1408, 31, 202, 202, 759, 1994, 358, 326, 5960, 585, 508, 980, 358, 336, 326, 1544, 18, 2597, 353, 17289, 24027, 40, 202, 202, 759, 225, 716, 279, 980, 903, 1005, 598, 326, 5960, 585, 508, 603, 518, 18, 202, 202, 780, 5960, 812, 1670, 273, 855, 774, 1248, 52, 689, 12, 10530, 16, 385, 14640, 67, 10566, 1360, 3776, 67, 5997, 16, 446, 1769, 202, 202, 780, 5960, 5359, 273, 9506, 202, 20478, 812, 1670, 18, 28023, 12, 39, 14640, 67, 10566, 1360, 3776, 67, 5997, 18, 2469, 10663, 202, 202, 17523, 261, 10530, 18, 1672, 1435, 597, 26638, 480, 446, 6862, 597, 401, 4285, 1670, 18, 17514, 1190, 12, 39, 14640, 67, 3776, 67, 31519, 3719, 288, 1082, 202, 759, 2720, 358, 326, 6350, 1509, 18, 2597, 353, 17289, 24027, 40, 716, 1517, 6350, 1082, 202, 759, 2442, 903, 2341, 333, 1509, 1779, 980, 18, 1082, 202, 4285, 1670, 273, 855, 774, 1248, 52, 689, 12, 10530, 16, 385, 14640, 67, 862, 25216, 67, 4594, 16, 385, 14640, 67, 3776, 67, 31519, 1769, 1082, 202, 430, 261, 4285, 1670, 422, 446, 13, 288, 9506, 202, 759, 2279, 1898, 18325, 364, 333, 585, 18, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 780, 10524, 2430, 273, 394, 16370, 12, 4285, 1670, 16, 315, 521, 88, 64, 82, 64, 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, 2407, 1109, 1622, 12, 17947, 2514, 2949, 13, 1216, 1860, 288, 202, 202, 19558, 15546, 273, 394, 2407, 5621, 202, 202, 780, 26638, 273, 1408, 31, 202, 202, 759, 1994, 358, 326, 5960, 585, 508, 980, 358, 336, 326, 1544, 18, 2597, 353, 17289, 24027, 40, 202, 202, 759, 225, 716, 279, 980, 903, 1005, 598, 326, 5960, 585, 508, 603, 518, 18, 202, 202, 780, 5960, 812, 1670, 273, 855, 774, 1248, 52, 689, 12, 10530, 16, 385, 14640, 67, 10566, 1360, 3776, 67, 5997, 16, 446, 1769, 202, 202, 780, 5960, 5359, 273, 9506, 202, 20478, 812, 1670, 18, 28023, 12, 39, 14640, 67, 10566, 1360, 3776, 67, 5997, 18, 2469, 10663, 202, 202, 2 ]
jsFunction_link(ScriptRuntime.toString(args, 0));
tagify("a href", "a", ScriptRuntime.toString(args, 0));
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { if (prototypeFlag) { switch (methodId) { case ConstructorId_fromCharCode: return jsStaticFunction_fromCharCode(args); case Id_constructor: return jsConstructor(args, thisObj == null); case Id_toString: return realThis(thisObj, f).jsFunction_toString(); case Id_valueOf: return realThis(thisObj, f).jsFunction_valueOf(); case Id_charAt: return jsFunction_charAt (ScriptRuntime.toString(thisObj), args); case Id_charCodeAt: return wrap_double(jsFunction_charCodeAt (ScriptRuntime.toString(thisObj), args)); case Id_indexOf: return wrap_int(jsFunction_indexOf (ScriptRuntime.toString(thisObj), args)); case Id_lastIndexOf: return wrap_int(jsFunction_lastIndexOf (ScriptRuntime.toString(thisObj), args)); case Id_split: return jsFunction_split (cx, ScriptRuntime.toString(thisObj), args, f); case Id_substring: return jsFunction_substring (cx, ScriptRuntime.toString(thisObj), args); case Id_toLowerCase: return jsFunction_toLowerCase (ScriptRuntime.toString(thisObj)); case Id_toUpperCase: return jsFunction_toUpperCase (ScriptRuntime.toString(thisObj)); case Id_substr: return jsFunction_substr (ScriptRuntime.toString(thisObj), args); case Id_concat: return jsFunction_concat (ScriptRuntime.toString(thisObj), args); case Id_slice: return jsFunction_slice (ScriptRuntime.toString(thisObj), args); case Id_bold: return realThis(thisObj, f).jsFunction_bold(); case Id_italics: return realThis(thisObj, f).jsFunction_italics(); case Id_fixed: return realThis(thisObj, f).jsFunction_fixed(); case Id_strike: return realThis(thisObj, f).jsFunction_strike(); case Id_small: return realThis(thisObj, f).jsFunction_small(); case Id_big: return realThis(thisObj, f).jsFunction_big(); case Id_blink: return realThis(thisObj, f).jsFunction_blink(); case Id_sup: return realThis(thisObj, f).jsFunction_sup(); case Id_sub: return realThis(thisObj, f).jsFunction_sub(); case Id_fontsize: return realThis(thisObj, f). jsFunction_fontsize(ScriptRuntime.toString(args, 0)); case Id_fontcolor: return realThis(thisObj, f). jsFunction_fontcolor(ScriptRuntime.toString(args, 0)); case Id_link: return realThis(thisObj, f). jsFunction_link(ScriptRuntime.toString(args, 0)); case Id_anchor: return realThis(thisObj, f). jsFunction_anchor(ScriptRuntime.toString(args, 0)); case Id_equals: return wrap_boolean(jsFunction_equals (ScriptRuntime.toString(thisObj), ScriptRuntime.toString(args, 0))); case Id_equalsIgnoreCase: return wrap_boolean(jsFunction_equalsIgnoreCase (ScriptRuntime.toString(thisObj), ScriptRuntime.toString(args, 0))); case Id_match: return jsFunction_match(cx, thisObj, args, f); case Id_search: return jsFunction_search(cx, thisObj, args, f); case Id_replace: return jsFunction_replace(cx, thisObj, args, f); } } return super.execMethod(methodId, f, cx, scope, thisObj, args); }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/dbefc5595ba41854ec04751abfc8db52f70a5796/NativeString.java/clean/src/org/mozilla/javascript/NativeString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 18541, 4678, 13, 288, 5411, 1620, 261, 2039, 548, 13, 288, 7734, 648, 11417, 548, 67, 2080, 20535, 30, 5397, 327, 3828, 5788, 2083, 67, 2080, 20535, 12, 1968, 1769, 7734, 648, 3124, 67, 12316, 30, 10792, 327, 3828, 6293, 12, 1968, 16, 15261, 422, 446, 1769, 7734, 648, 3124, 67, 10492, 30, 10792, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 2924, 2083, 67, 10492, 5621, 7734, 648, 3124, 67, 1132, 951, 30, 10792, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 2924, 2083, 67, 1132, 951, 5621, 7734, 648, 3124, 67, 3001, 861, 30, 5397, 327, 3828, 2083, 67, 3001, 861, 13491, 261, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 1769, 7734, 648, 3124, 67, 3001, 1085, 861, 30, 5397, 327, 2193, 67, 9056, 12, 2924, 2083, 67, 3001, 1085, 861, 13491, 261, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 10019, 7734, 648, 3124, 67, 31806, 30, 10792, 327, 2193, 67, 474, 12, 2924, 2083, 67, 31806, 13491, 261, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 10019, 7734, 648, 3124, 67, 2722, 31985, 30, 5397, 327, 2193, 67, 474, 12, 2924, 2083, 67, 2722, 31985, 13491, 261, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 10019, 7734, 648, 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, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 18541, 4678, 13, 288, 5411, 1620, 261, 2039, 548, 13, 288, 7734, 648, 11417, 548, 67, 2080, 20535, 30, 5397, 327, 3828, 5788, 2083, 67, 2080, 20535, 12, 1968, 1769, 7734, 648, 3124, 67, 12316, 30, 10792, 327, 3828, 6293, 12, 1968, 16, 15261, 422, 446, 1769, 7734, 648, 3124, 67, 10492, 30, 10792, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 2924, 2083, 67, 10492, 5621, 7734, 648, 3124, 67, 1132, 951, 30, 10792, 327, 2863, 2503, 12, 2211, 2 ]
actionTarget.addOverlayMethod(OverlayMethods.ANNOTATION_METHOD);
actionTarget.addPaintMethod(PaintMethods.DRAW_WELLNO_METHOD, Thumbnail.FOREGROUND_PAINT_METHOD);
public void itemStateChanged(ItemEvent e) { if(e.getStateChange() == ItemEvent.DESELECTED) { actionTarget.removeOverlayMethod(OverlayMethods.ANNOTATION_METHOD); } else if(e.getStateChange() == ItemEvent.SELECTED) { actionTarget.addOverlayMethod(OverlayMethods.ANNOTATION_METHOD); } }
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/f82d914fe97ef0c74bef944bf12ae4961776c814/BrowserMenuBar.java/clean/SRC/org/openmicroscopy/shoola/agents/browser/ui/BrowserMenuBar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 761, 1119, 5033, 12, 1180, 1133, 425, 13, 5411, 288, 7734, 309, 12, 73, 18, 588, 22505, 1435, 422, 4342, 1133, 18, 1639, 4803, 2056, 13, 7734, 288, 10792, 1301, 2326, 18, 4479, 11627, 1305, 12, 11627, 4712, 18, 24922, 67, 5327, 1769, 7734, 289, 7734, 469, 309, 12, 73, 18, 588, 22505, 1435, 422, 4342, 1133, 18, 4803, 2056, 13, 7734, 288, 10792, 1301, 2326, 18, 1289, 12699, 1305, 12, 12699, 4712, 18, 40, 10821, 67, 59, 21943, 3417, 67, 5327, 16, 935, 6196, 18, 3313, 5937, 15092, 67, 4066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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 761, 1119, 5033, 12, 1180, 1133, 425, 13, 5411, 288, 7734, 309, 12, 73, 18, 588, 22505, 1435, 422, 4342, 1133, 18, 1639, 4803, 2056, 13, 7734, 288, 10792, 1301, 2326, 18, 4479, 11627, 1305, 12, 11627, 4712, 18, 24922, 67, 5327, 1769, 7734, 289, 7734, 469, 309, 12, 73, 18, 588, 22505, 1435, 422, 4342, 1133, 18, 4803, 2056, 13, 7734, 288, 10792, 1301, 2326, 18, 1289, 12699, 1305, 12, 12699, 4712, 18, 40, 10821, 67, 59, 21943, 3417, 67, 5327, 16, 935, 6196, 18, 3313, 5937, 15092, 67, 4066, 3217, 67, 5327, 1769, 7734, 289, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
m_pooledExecutor.setMinimumPoolSize(aSize);
pooledExecutor.setMinimumPoolSize(aSize);
public void setMinimumPoolSize(int aSize) { m_pooledExecutor.setMinimumPoolSize(aSize); }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/912b652cc2d9b3899a6b0bbb996aa54bb1847081/AbstractWorkExecutorPool.java/clean/modules/core/src/java/org/apache/geronimo/connector/work/pool/AbstractWorkExecutorPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 31973, 18834, 12, 474, 279, 1225, 13, 288, 3639, 25007, 6325, 18, 542, 13042, 18834, 12, 69, 1225, 1769, 565, 289, 2, 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, 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, 31973, 18834, 12, 474, 279, 1225, 13, 288, 3639, 25007, 6325, 18, 542, 13042, 18834, 12, 69, 1225, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return connection.getResultSet(null, f, v, "OK", 1);
return ((AbstractJdbc1Statement)connection.createStatement()).createResultSet(f, v, "OK", 1, 0, false);
public java.sql.ResultSet getTableTypes() throws SQLException { String types[] = new String[tableTypeClauses.size()]; Enumeration e = tableTypeClauses.keys(); int i=0; while (e.hasMoreElements()) { types[i++] = (String)e.nextElement();} sortStringArray(types); Field f[] = new Field[1]; Vector v = new Vector(); f[0] = new Field(connection, new String("TABLE_TYPE"), iVarcharOid, getMaxNameLength()); for (i=0; i < types.length; i++) { byte[][] tuple = new byte[1][]; tuple[0] = types[i].getBytes(); v.addElement(tuple); } return connection.getResultSet(null, f, v, "OK", 1); }
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/d631f46e0d981d59b38fb1f46b17c615351e2156/AbstractJdbc1DatabaseMetaData.java/clean/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 5638, 2016, 1435, 1216, 6483, 202, 95, 202, 202, 780, 1953, 8526, 273, 394, 514, 63, 2121, 559, 22434, 18, 1467, 1435, 15533, 202, 202, 21847, 425, 273, 1014, 559, 22434, 18, 2452, 5621, 202, 202, 474, 277, 33, 20, 31, 202, 202, 17523, 261, 73, 18, 5332, 7417, 3471, 10756, 288, 1082, 202, 2352, 63, 77, 9904, 65, 273, 261, 780, 13, 73, 18, 4285, 1046, 5621, 97, 202, 202, 3804, 28547, 12, 2352, 1769, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 21, 15533, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 394, 514, 2932, 7775, 67, 2399, 6, 3631, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 10663, 202, 202, 1884, 261, 77, 33, 20, 31, 277, 411, 1953, 18, 2469, 31, 277, 27245, 202, 202, 95, 1082, 202, 7229, 63, 6362, 65, 3193, 273, 394, 1160, 63, 21, 6362, 15533, 1082, 202, 8052, 63, 20, 65, 273, 1953, 63, 77, 8009, 588, 2160, 5621, 1082, 202, 90, 18, 1289, 1046, 12, 8052, 1769, 202, 202, 97, 202, 202, 2463, 1459, 18, 588, 13198, 12, 2011, 16, 284, 16, 331, 16, 315, 3141, 3113, 404, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 202, 202, 474, 277, 33, 20, 31, 202, 202, 17523, 261, 73, 18, 5332, 7417, 3471, 10756, 288, 1082, 202, 2352, 63, 77, 9904, 65, 273, 261, 780, 13, 73, 18, 4285, 1046, 5621, 97, 202, 202, 3804, 28547, 12, 2352, 1769, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 21, 15533, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 394, 514, 2932, 7775, 2 ]
SessionState state = ((JetspeedRunData) data).getPortletSessionState(((JetspeedRunData) data).getJs_peid());
private void postOrSaveAssignment(RunData data, String postOrSave) { boolean post = (postOrSave != null && postOrSave.equals("post")) ? true : false; // assignment old title String aOldTitle = null; // assignment old associated Gradebook entry if any String oAssociateGradebookAssignment = null; SessionState state = ((JetspeedRunData) data).getPortletSessionState(((JetspeedRunData) data).getJs_peid()); String mode = (String) state.getAttribute(STATE_MODE); if (!mode.equals(MODE_INSTRUCTOR_PREVIEW_ASSIGNMENT)) { // read input data if the mode is not preview mode setNewAssignmentParameters(data, true); } if (state.getAttribute(STATE_MESSAGE) == null) { ParameterParser params = data.getParameters(); // put the names and values into vm file String title = (String) state.getAttribute(NEW_ASSIGNMENT_TITLE); // open time int openMonth = ((Integer) state.getAttribute(NEW_ASSIGNMENT_OPENMONTH)).intValue(); int openDay = ((Integer) state.getAttribute(NEW_ASSIGNMENT_OPENDAY)).intValue(); int openYear = ((Integer) state.getAttribute(NEW_ASSIGNMENT_OPENYEAR)).intValue(); int openHour = ((Integer) state.getAttribute(NEW_ASSIGNMENT_OPENHOUR)).intValue(); int openMin = ((Integer) state.getAttribute(NEW_ASSIGNMENT_OPENMIN)).intValue(); String openAMPM = (String) state.getAttribute(NEW_ASSIGNMENT_OPENAMPM); if ((openAMPM.equals("PM")) && (openHour != 12)) { openHour = openHour + 12; } if ((openHour == 12) && (openAMPM.equals("AM"))) { openHour = 0; } Time openTime = TimeService.newTimeLocal(openYear, openMonth, openDay, openHour, openMin, 0, 0); // due time int dueMonth = ((Integer) state.getAttribute(NEW_ASSIGNMENT_DUEMONTH)).intValue(); int dueDay = ((Integer) state.getAttribute(NEW_ASSIGNMENT_DUEDAY)).intValue(); int dueYear = ((Integer) state.getAttribute(NEW_ASSIGNMENT_DUEYEAR)).intValue(); int dueHour = ((Integer) state.getAttribute(NEW_ASSIGNMENT_DUEHOUR)).intValue(); int dueMin = ((Integer) state.getAttribute(NEW_ASSIGNMENT_DUEMIN)).intValue(); String dueAMPM = (String) state.getAttribute(NEW_ASSIGNMENT_DUEAMPM); if ((dueAMPM.equals("PM")) && (dueHour != 12)) { dueHour = dueHour + 12; } if ((dueHour == 12) && (dueAMPM.equals("AM"))) { dueHour = 0; } Time dueTime = TimeService.newTimeLocal(dueYear, dueMonth, dueDay, dueHour, dueMin, 0, 0); // close time Time closeTime = TimeService.newTime(); boolean enableCloseDate = ((Boolean) state.getAttribute(NEW_ASSIGNMENT_ENABLECLOSEDATE)).booleanValue(); if (enableCloseDate) { int closeMonth = ((Integer) state.getAttribute(NEW_ASSIGNMENT_CLOSEMONTH)).intValue(); int closeDay = ((Integer) state.getAttribute(NEW_ASSIGNMENT_CLOSEDAY)).intValue(); int closeYear = ((Integer) state.getAttribute(NEW_ASSIGNMENT_CLOSEYEAR)).intValue(); int closeHour = ((Integer) state.getAttribute(NEW_ASSIGNMENT_CLOSEHOUR)).intValue(); int closeMin = ((Integer) state.getAttribute(NEW_ASSIGNMENT_CLOSEMIN)).intValue(); String closeAMPM = (String) state.getAttribute(NEW_ASSIGNMENT_CLOSEAMPM); if ((closeAMPM.equals("PM")) && (closeHour != 12)) { closeHour = closeHour + 12; } if ((closeHour == 12) && (closeAMPM.equals("AM"))) { closeHour = 0; } closeTime = TimeService.newTimeLocal(closeYear, closeMonth, closeDay, closeHour, closeMin, 0, 0); } // sections String s = (String) state.getAttribute(NEW_ASSIGNMENT_SECTION); int submissionType = ((Integer) state.getAttribute(NEW_ASSIGNMENT_SUBMISSION_TYPE)).intValue(); int gradeType = ((Integer) state.getAttribute(NEW_ASSIGNMENT_GRADE_TYPE)).intValue(); String gradePoints = (String) state.getAttribute(NEW_ASSIGNMENT_GRADE_POINTS); String description = (String) state.getAttribute(NEW_ASSIGNMENT_DESCRIPTION); String checkAddDueTime = state.getAttribute(ResourceProperties.NEW_ASSIGNMENT_CHECK_ADD_DUE_DATE)!=null?(String) state.getAttribute(ResourceProperties.NEW_ASSIGNMENT_CHECK_ADD_DUE_DATE):null; String checkAutoAnnounce = (String) state.getAttribute(ResourceProperties.NEW_ASSIGNMENT_CHECK_AUTO_ANNOUNCE); String checkAddHonorPledge = (String) state.getAttribute(NEW_ASSIGNMENT_CHECK_ADD_HONOR_PLEDGE); String addtoGradebook = (String) state.getAttribute(NEW_ASSIGNMENT_ADD_TO_GRADEBOOK) != null?(String) state.getAttribute(NEW_ASSIGNMENT_ADD_TO_GRADEBOOK):"" ; String associateGradebookAssignment = (String) state.getAttribute(NEW_ASSIGNMENT_ASSOCIATE_GRADEBOOK_ASSIGNMENT); // the attachments List attachments = (List) state.getAttribute(ATTACHMENTS); List attachments1 = EntityManager.newReferenceList(attachments); // correct inputs if (state.getAttribute(STATE_MESSAGE) == null) { String assignmentId = params.getString("assignmentId"); String assignmentContentId = params.getString("assignmentContentId"); // AssignmentContent object AssignmentContentEdit ac = null; if (assignmentContentId.length() == 0) { // new assignment // only show alert when dealing with new assignment // allow editing assignment after due date if (dueTime.before(TimeService.newTime())) { addAlert(state, rb.getString("assig4")); } else { try { ac = AssignmentService.addAssignmentContent((String) state.getAttribute(STATE_CONTEXT_STRING)); } catch (PermissionException e) { addAlert(state, rb.getString("youarenot3")); } } } else { try { // edit assignment ac = AssignmentService.editAssignmentContent(assignmentContentId); } catch (InUseException e) { addAlert(state, rb.getString("theassicon")); } catch (IdUnusedException e) { addAlert(state, rb.getString("cannotfin4")); } catch (PermissionException e) { addAlert(state, rb.getString("youarenot15")); } } // Assignment AssignmentEdit a = null; if (assignmentId.length() == 0) { // create a new assignment try { a = AssignmentService.addAssignment((String) state.getAttribute(STATE_CONTEXT_STRING)); } catch (PermissionException e) { addAlert(state, rb.getString("youarenot1")); } } else { try { // edit assignment a = AssignmentService.editAssignment(assignmentId); aOldTitle = a.getTitle(); } catch (InUseException e) { addAlert(state, rb.getString("theassicon")); } catch (IdUnusedException e) { addAlert(state, rb.getString("cannotfin3")); } catch (PermissionException e) { addAlert(state, rb.getString("youarenot14")); } // try-catch } // if-else if ((state.getAttribute(STATE_MESSAGE) == null) && (ac != null) && (a != null)) { ac.setTitle(title); ac.setInstructions(description); ac.setHonorPledge(Integer.parseInt(checkAddHonorPledge)); ac.setTypeOfSubmission(submissionType); ac.setTypeOfGrade(gradeType); if (gradeType == 3) { try { ac.setMaxGradePoint(Integer.parseInt(gradePoints)); } catch (NumberFormatException e) { alertInvalidPoint(state, gradePoints); } } ac.setGroupProject(true); ac.setIndividuallyGraded(false); if (submissionType != 1) { ac.setAllowAttachments(true); } else { ac.setAllowAttachments(false); } // clear attachments ac.clearAttachments(); // add each attachment Iterator it = EntityManager.newReferenceList(attachments1).iterator(); while (it.hasNext()) { Reference r = (Reference) it.next(); ac.addAttachment(r); } state.setAttribute(ATTACHMENTS_MODIFIED, new Boolean(false)); // commit the changes AssignmentService.commitEdit(ac); } a.setTitle(title); a.setContent(ac); a.setContext((String) state.getAttribute(STATE_CONTEXT_STRING)); a.setSection(s); // old open time Time oldOpenTime = a.getOpenTime(); a.setOpenTime(openTime); // old due time Time oldDueTime = a.getDueTime(); a.setDueTime(dueTime); // set the drop dead date as the due date a.setDropDeadTime(dueTime); if (enableCloseDate) { a.setCloseTime(closeTime); } else { // if editing an old assignment with close date if (a.getCloseTime() != null) { a.setCloseTime(null); } } // post the assignment a.setDraft(!post); // set the auto check/auto announce property ResourcePropertiesEdit aPropertiesEdit = a.getPropertiesEdit(); if (aPropertiesEdit.getProperty("newAssignment") != null) { if (aPropertiesEdit.getProperty("newAssignment").equalsIgnoreCase(Boolean.TRUE.toString())) { // not a newly created assignment, been added. aPropertiesEdit.addProperty("newAssignment", Boolean.FALSE.toString()); } } else { // for newly created assignment aPropertiesEdit.addProperty("newAssignment", Boolean.TRUE.toString()); } if (checkAddDueTime != null) { aPropertiesEdit.addProperty(ResourceProperties.NEW_ASSIGNMENT_CHECK_ADD_DUE_DATE, checkAddDueTime); } else { aPropertiesEdit.removeProperty(ResourceProperties.NEW_ASSIGNMENT_CHECK_ADD_DUE_DATE); } aPropertiesEdit.addProperty(ResourceProperties.NEW_ASSIGNMENT_CHECK_AUTO_ANNOUNCE, checkAutoAnnounce); aPropertiesEdit.addProperty(NEW_ASSIGNMENT_ADD_TO_GRADEBOOK, addtoGradebook); oAssociateGradebookAssignment = aPropertiesEdit.getProperty(NEW_ASSIGNMENT_ASSOCIATE_GRADEBOOK_ASSIGNMENT); aPropertiesEdit.addProperty(NEW_ASSIGNMENT_ASSOCIATE_GRADEBOOK_ASSIGNMENT, associateGradebookAssignment); if (addtoGradebook.equals(GRADEBOOK_INTEGRATION_ADD)) { // if the choice is to add an entry into Gradebook, let just mark it as associated with such new entry then aPropertiesEdit.addProperty(NEW_ASSIGNMENT_ADD_TO_GRADEBOOK, GRADEBOOK_INTEGRATION_ASSOCIATE); aPropertiesEdit.addProperty(NEW_ASSIGNMENT_ASSOCIATE_GRADEBOOK_ASSIGNMENT, a.getReference()); } // set group property String range = (String) state.getAttribute(NEW_ASSIGNMENT_RANGE); try { if (range.equals("site")) { a.setAccess(Assignment.AssignmentAccess.SITE); a.clearGroupAccess(); } else if (range.equals("groups")) { String siteId = (String) state.getAttribute(STATE_CONTEXT_STRING); try { Site site = SiteService.getSite(siteId); Collection groupChoice = (Collection) state.getAttribute(NEW_ASSIGNMENT_GROUPS); Collection groups = new Vector(); for (Iterator iGroups = groupChoice.iterator(); iGroups.hasNext();) { String groupId = (String) iGroups.next(); groups.add(site.getGroup(groupId)); } a.setGroupAccess(groups); } catch (Exception e) { Log.warn("chef", this + "cannot find site with id "+ siteId); } } } catch (PermissionException e) { addAlert(state, rb.getString("youarenot1")); } if (state.getAttribute(STATE_MESSAGE) == null) { // commit assignment first AssignmentService.commitEdit(a); if (state.getAttribute(STATE_MESSAGE) == null) { state.setAttribute(STATE_MODE, MODE_LIST_ASSIGNMENTS); state.setAttribute(ATTACHMENTS, EntityManager.newReferenceList()); resetAssignment(state); } if (post) { // add due date to schedule and add open date to announcement only if user is posting the assignment // add the due date to schedule if the schedule exists if (state.getAttribute(CALENDAR) != null) { Calendar c = (Calendar) state.getAttribute(CALENDAR); String dueDateScheduled = a.getProperties().getProperty(NEW_ASSIGNMENT_DUE_DATE_SCHEDULED); String oldEventId = aPropertiesEdit.getProperty(ResourceProperties.PROP_ASSIGNMENT_DUEDATE_CALENDAR_EVENT_ID); CalendarEvent e = null; if (dueDateScheduled != null || oldEventId != null) { // find the old event boolean found = false; if (oldEventId != null && c != null) { try { e = c.getEvent(oldEventId); found = true; } catch (IdUnusedException ee) { Log.warn("chef", "The old event has been deleted: event id=" + oldEventId + ". "); } catch (PermissionException ee) { Log.warn("chef", "You do not have the permission to view the schedule event id= " + oldEventId + "."); } } else { TimeBreakdown b = oldDueTime.breakdownLocal(); // TODO: check- this was new Time(year...), not local! -ggolden Time startTime = TimeService.newTimeLocal(b.getYear(), b.getMonth(), b.getDay(), 0, 0, 0, 0); Time endTime = TimeService.newTimeLocal(b.getYear(), b.getMonth(), b.getDay(), 23, 59, 59, 999); try { Iterator events = c.getEvents(TimeService.newTimeRange(startTime, endTime), null) .iterator(); while ((!found) && (events.hasNext())) { e = (CalendarEvent) events.next(); if (((String) e.getDisplayName()).indexOf(rb.getString("assig1") + " " + title) != -1) { found = true; } } } catch (PermissionException ignore) { // ignore PermissionException } } if (found) { // remove the founded old event try { c.removeEvent(c.getEditEvent(e.getId(), CalendarService.EVENT_REMOVE_CALENDAR)); } catch (PermissionException ee) { Log.warn("chef", rb.getString("cannotrem") + " " + title + ". "); } catch (InUseException ee) { Log.warn("chef", rb.getString("somelsis") + " " + rb.getString("calen")); } catch (IdUnusedException ee) { Log.warn("chef", rb.getString("cannotfin6") + e.getId()); } } } if (checkAddDueTime.equalsIgnoreCase(Boolean.TRUE.toString())) { if (c != null) { // commit related properties into Assignment object String ref = ""; try { ref = a.getReference(); AssignmentEdit aEdit = AssignmentService.editAssignment(ref); try { e = null; CalendarEvent.EventAccess eAccess = CalendarEvent.EventAccess.SITE; Collection eGroups = new Vector(); if (aEdit.getAccess().equals(Assignment.AssignmentAccess.GROUPED)) { eAccess = CalendarEvent.EventAccess.GROUPED; Collection groupRefs = aEdit.getGroups(); // make a collection of Group objects from the collection of group ref strings Site site = SiteService.getSite((String) state.getAttribute(STATE_CONTEXT_STRING)); for (Iterator iGroupRefs = groupRefs.iterator(); iGroupRefs.hasNext();) { String groupRef = (String) iGroupRefs.next(); eGroups.add(site.getGroup(groupRef)); } } e = c.addEvent(/* TimeRange */TimeService.newTimeRange(dueTime.getTime(), /* 0 duration */0 * 60 * 1000), /* title */rb.getString("due") + " " + title, /* description */rb.getString("assig1") + " " + title + " " + "is due on " + dueTime.toStringLocalFull() + ". ", /* type */rb.getString("deadl"), /* location */"", /* access */ eAccess, /* groups */ eGroups, /* attachments */EntityManager.newReferenceList()); aEdit.getProperties().addProperty(NEW_ASSIGNMENT_DUE_DATE_SCHEDULED, Boolean.TRUE.toString()); if (e != null) { aEdit.getProperties().addProperty(ResourceProperties.PROP_ASSIGNMENT_DUEDATE_CALENDAR_EVENT_ID, e.getId()); } } catch (IdUnusedException ee) { Log.warn("chef", ee.getMessage()); } catch (PermissionException ee) { Log.warn("chef", rb.getString("cannotfin1")); } catch (Exception ee) { Log.warn("chef", ee.getMessage()); } // try-catch AssignmentService.commitEdit(aEdit); } catch (Exception ignore) { // ignore the exception Log.warn("chef", rb.getString("cannotfin2") + ref); } } // if } // if } // the open date been announced if (checkAutoAnnounce.equalsIgnoreCase(Boolean.TRUE.toString())) { AnnouncementChannel channel = (AnnouncementChannel) state.getAttribute(ANNOUNCEMENT_CHANNEL); if (channel != null) { String openDateAnnounced = a.getProperties().getProperty(NEW_ASSIGNMENT_OPEN_DATE_ANNOUNCED); // open date has been announced or title has been changed? boolean openDateMessageModified = false; if (openDateAnnounced != null && openDateAnnounced.equalsIgnoreCase(Boolean.TRUE.toString())) { if (oldOpenTime != null && (!oldOpenTime.toStringLocalFull().equals(openTime.toStringLocalFull())) // open time changes || !aOldTitle.equals(title)) // assignment title changes { // need to change message openDateMessageModified = true; } } // add the open date to annoucement if (openDateAnnounced == null // no announcement yet || (openDateAnnounced != null && openDateAnnounced.equalsIgnoreCase(Boolean.TRUE.toString()) && openDateMessageModified)) // announced, but open date or announcement title changes { // announcement channel is in place try { AnnouncementMessageEdit message = channel.addAnnouncementMessage(); AnnouncementMessageHeaderEdit header = message.getAnnouncementHeaderEdit(); header.setDraft(/* draft */false); header.replaceAttachments(/* attachment */EntityManager.newReferenceList()); if (openDateAnnounced == null) { // making new announcement header.setSubject(/* subject */rb.getString("assig6") + " " + title); message.setBody(/* body */rb.getString("opedat") + " " + FormattedText.convertPlaintextToFormattedText(title) + " is " + openTime.toStringLocalFull() + ". "); } else { // revised announcement header.setSubject(/* subject */rb.getString("assig5") + " " + title); message.setBody(/* body */rb.getString("newope") + " " + FormattedText.convertPlaintextToFormattedText(title) + " is " + openTime.toStringLocalFull() + ". "); } // group information if (a.getAccess().equals(Assignment.AssignmentAccess.GROUPED)) { try { // get the group ids selected Collection groupRefs = a.getGroups(); // make a collection of Group objects Collection groups = new Vector(); //make a collection of Group objects from the collection of group ref strings Site site = SiteService.getSite((String) state.getAttribute(STATE_CONTEXT_STRING)); for (Iterator iGroupRefs = groupRefs.iterator(); iGroupRefs.hasNext();) { String groupRef = (String) iGroupRefs.next(); groups.add(site.getGroup(groupRef)); } // set access header.setGroupAccess(groups); } catch (Exception exception) { // log Log.warn("chef", exception.getMessage()); } } else { // site announcement header.clearGroupAccess(); } channel.commitMessage(message, NotificationService.NOTI_NONE); // commit related properties into Assignment object String ref = ""; try { ref = a.getReference(); AssignmentEdit aEdit = AssignmentService.editAssignment(ref); aEdit.getPropertiesEdit().addProperty(NEW_ASSIGNMENT_OPEN_DATE_ANNOUNCED, Boolean.TRUE.toString()); if (message != null) { aEdit.getPropertiesEdit().addProperty(ResourceProperties.PROP_ASSIGNMENT_OPENDATE_ANNOUNCEMENT_MESSAGE_ID, message.getId()); } AssignmentService.commitEdit(aEdit); } catch (Exception ignore) { // ignore the exception Log.warn("chef", rb.getString("cannotfin2") + ref); } } catch (PermissionException ee) { Log.warn("chef", rb.getString("cannotmak")); } } } } // if // integrate with Gradebook String aReference = a.getReference(); String addUpdateRemoveAssignment = "remove"; if (!addtoGradebook.equals(GRADEBOOK_INTEGRATION_NO)) { // if integrate with Gradebook if (!AssignmentService.getAllowGroupAssignmentsInGradebook() && (range.equals("groups"))) { // if grouped assignment is not allowed to add into Gradebook addAlert(state, rb.getString("java.alert.noGroupedAssignmentIntoGB")); String ref = ""; try { ref = a.getReference(); AssignmentEdit aEdit = AssignmentService.editAssignment(ref); aEdit.getPropertiesEdit().removeProperty(NEW_ASSIGNMENT_ADD_TO_GRADEBOOK); aEdit.getPropertiesEdit().removeProperty(NEW_ASSIGNMENT_ASSOCIATE_GRADEBOOK_ASSIGNMENT); AssignmentService.commitEdit(aEdit); } catch (Exception ignore) { // ignore the exception Log.warn("chef", rb.getString("cannotfin2") + ref); } integrateGradebook(state, aReference, associateGradebookAssignment, "remove", null, null, -1, null, null, null); } else { if (addtoGradebook.equals(GRADEBOOK_INTEGRATION_ADD)) { addUpdateRemoveAssignment = GRADEBOOK_INTEGRATION_ADD; } else if (addtoGradebook.equals(GRADEBOOK_INTEGRATION_ASSOCIATE)) { addUpdateRemoveAssignment = "update"; } if (!addUpdateRemoveAssignment.equals("remove") && gradeType == 3) { try { integrateGradebook(state, aReference, associateGradebookAssignment, addUpdateRemoveAssignment, aOldTitle, title, Integer.parseInt (gradePoints), dueTime, null, null); // add all existing grades, if any, into Gradebook integrateGradebook(state, aReference, associateGradebookAssignment, null, null, null, -1, null, null, "update"); // if the assignment has been assoicated with a different entry in gradebook before, remove those grades from the entry in Gradebook if (StringUtil.trimToNull(oAssociateGradebookAssignment) != null && !oAssociateGradebookAssignment.equals(associateGradebookAssignment)) { integrateGradebook(state, aReference, oAssociateGradebookAssignment, null, null, null, -1, null, null, "remove"); } } catch (NumberFormatException nE) { alertInvalidPoint(state, gradePoints); } } else { integrateGradebook(state, aReference, associateGradebookAssignment, "remove", null, null, -1, null, null, null); } } } else { // remove assignment entry from Gradebook integrateGradebook(state, aReference, oAssociateGradebookAssignment, "remove", null, null, -1, null, null, "remove"); } } // if post } // if } // if } // if } // doPost_assignment
54270 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54270/217e9f2d36476915fd5d6d92cb4e22e53af6c74d/AssignmentAction.java/clean/assignment-tool/tool/src/java/org/sakaiproject/assignment/tool/AssignmentAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1603, 1162, 4755, 7729, 12, 1997, 751, 501, 16, 514, 1603, 1162, 4755, 13, 202, 95, 202, 202, 6494, 1603, 273, 261, 2767, 1162, 4755, 480, 446, 597, 1603, 1162, 4755, 18, 14963, 2932, 2767, 6, 3719, 692, 638, 294, 629, 31, 9506, 202, 759, 6661, 1592, 2077, 202, 202, 780, 279, 7617, 4247, 273, 446, 31, 9506, 202, 759, 6661, 1592, 3627, 10812, 323, 3618, 1241, 309, 1281, 202, 202, 780, 320, 23880, 14571, 323, 3618, 7729, 273, 446, 31, 9506, 202, 2157, 1119, 919, 273, 14015, 46, 2413, 5868, 1997, 751, 13, 501, 2934, 588, 18566, 2157, 1119, 12443, 12, 46, 2413, 5868, 1997, 751, 13, 501, 2934, 588, 8382, 67, 347, 350, 10663, 202, 202, 780, 1965, 273, 261, 780, 13, 919, 18, 588, 1499, 12, 7998, 67, 7038, 1769, 202, 202, 430, 16051, 3188, 18, 14963, 12, 7038, 67, 706, 13915, 916, 67, 3670, 12145, 67, 23289, 3212, 3719, 202, 202, 95, 1082, 202, 759, 855, 810, 501, 309, 326, 1965, 353, 486, 10143, 1965, 1082, 202, 542, 1908, 7729, 2402, 12, 892, 16, 638, 1769, 202, 202, 97, 202, 202, 430, 261, 2019, 18, 588, 1499, 12, 7998, 67, 8723, 13, 422, 446, 13, 202, 202, 95, 1082, 202, 1662, 2678, 859, 273, 501, 18, 588, 2402, 5621, 1082, 202, 759, 1378, 326, 1257, 471, 924, 1368, 4268, 585, 1082, 202, 780, 2077, 273, 261, 780, 13, 919, 18, 588, 1499, 12, 12917, 67, 23289, 3212, 67, 14123, 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, 1603, 1162, 4755, 7729, 12, 1997, 751, 501, 16, 514, 1603, 1162, 4755, 13, 202, 95, 202, 202, 6494, 1603, 273, 261, 2767, 1162, 4755, 480, 446, 597, 1603, 1162, 4755, 18, 14963, 2932, 2767, 6, 3719, 692, 638, 294, 629, 31, 9506, 202, 759, 6661, 1592, 2077, 202, 202, 780, 279, 7617, 4247, 273, 446, 31, 9506, 202, 759, 6661, 1592, 3627, 10812, 323, 3618, 1241, 309, 1281, 202, 202, 780, 320, 23880, 14571, 323, 3618, 7729, 273, 446, 31, 9506, 202, 2157, 1119, 919, 273, 14015, 46, 2413, 5868, 1997, 751, 13, 501, 2934, 588, 18566, 2157, 1119, 12443, 12, 46, 2413, 5868, 1997, 751, 13, 501, 2934, 588, 8382, 67, 347, 350, 2 ]
BufferedReader in; URL url = new URL(parts[1]); URLConnection uc = url.openConnection(); in = new BufferedReader( new InputStreamReader(uc.getInputStream())); realURL = in.readLine().trim();
if(!assumeURLRedirect) { BufferedReader in; URL url = new URL(parts[1]); URLConnection uc = url.openConnection(); in = new BufferedReader( new InputStreamReader(uc.getInputStream())); realURL = in.readLine().trim(); if(logMINOR) Logger.minor(this, "Loaded new URL: "+realURL+" from .url file"); } assumeURLRedirect = !assumeURLRedirect;
private FredPlugin LoadPlugin(String filename) throws PluginNotFoundException { Class cls = null; if (filename.endsWith("*")) { filename = filename.substring(0,filename.length()-1) + "@http://downloads.freenetproject.org/alpha/plugins/" + filename.substring(filename.lastIndexOf(".")+1, filename.length()-1) + ".jar.url"; //System.out.println(filename); } if ((filename.indexOf("@") >= 0)) { // Open from external file for (int tries = 0 ; (tries <= 5) && (cls == null) ; tries++) try { String realURL = null; String realClass = null; // Load the jar-file String[] parts = filename.split("@"); if (parts.length != 2) { throw new PluginNotFoundException("Could not split at \"@\"."); } realClass = parts[0]; realURL = parts[1]; if (filename.endsWith(".url")) { // Load the txt-file BufferedReader in; URL url = new URL(parts[1]); URLConnection uc = url.openConnection(); in = new BufferedReader( new InputStreamReader(uc.getInputStream())); realURL = in.readLine().trim(); } // Load the class inside file URL[] serverURLs = new URL[]{new URL(realURL)}; ClassLoader cl = new URLClassLoader(serverURLs); // Handle automatic fetching of pluginclassname if (realClass.equals("*")) { if (realURL.startsWith("file:")) { URI liburi = URIPreEncoder.encodeURI(realURL); realURL = liburi.toString(); } URL url = new URL("jar:"+realURL+"!/"); JarURLConnection jarConnection = (JarURLConnection)url.openConnection(); JarFile jf = jarConnection.getJarFile(); //URLJarFile jf = new URLJarFile(new File(liburi)); //is = jf.getInputStream(jf.getJarEntry("META-INF/MANIFEST.MF")); //BufferedReader manifest = new BufferedReader(new InputStreamReader(cl.getResourceAsStream("/META-INF/MANIFEST.MF"))); //URL url = new URL(parts[1]); //URLConnection uc = cl.getResource("/META-INF/MANIFEST.MF").openConnection(); InputStream is = jf.getInputStream(jf.getJarEntry("META-INF/MANIFEST.MF")); BufferedReader in = new BufferedReader(new InputStreamReader(is)); String line; while ((line = in.readLine())!=null) { // System.err.println(line + "\t\t\t" + realClass); if (line.startsWith("Plugin-Main-Class: ")) { realClass = line.substring("Plugin-Main-Class: ".length()).trim(); } } //System.err.println("Real classname: " + realClass); } cls = cl.loadClass(realClass); } catch (Exception e) { if (tries >= 5) throw new PluginNotFoundException("Initialization error:" + filename, e); try { Thread.sleep(100); } catch (Exception ee) {} } } else { // Load class try { cls = Class.forName(filename); } catch (ClassNotFoundException e) { throw new PluginNotFoundException(filename); } } if(cls == null) throw new PluginNotFoundException("Unknown error"); // Class loaded... Objectize it! Object o = null; try { o = cls.newInstance(); } catch (Exception e) { throw new PluginNotFoundException("Could not re-create plugin:" + filename, e); } // See if we have the right type if (!(o instanceof FredPlugin)) { throw new PluginNotFoundException("Not a plugin: " + filename); } return (FredPlugin)o; }
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/873c2e8f2d5ed084a47385df5cfac5c68d431d7c/PluginManager.java/buggy/src/freenet/pluginmanager/PluginManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 478, 1118, 3773, 4444, 3773, 12, 780, 1544, 13, 1216, 6258, 3990, 288, 3639, 1659, 2028, 273, 446, 31, 3639, 309, 261, 3459, 18, 5839, 1190, 2932, 7388, 3719, 288, 540, 202, 3459, 273, 1544, 18, 28023, 12, 20, 16, 3459, 18, 2469, 1435, 17, 21, 13, 397, 1850, 202, 6, 36, 2505, 2207, 7813, 87, 18, 74, 2842, 278, 4406, 18, 3341, 19, 5429, 19, 8057, 4898, 397, 1850, 202, 3459, 18, 28023, 12, 3459, 18, 2722, 31985, 2932, 1199, 27921, 21, 16, 1544, 18, 2469, 1435, 17, 21, 13, 397, 540, 202, 9654, 11930, 18, 718, 14432, 540, 202, 759, 3163, 18, 659, 18, 8222, 12, 3459, 1769, 3639, 289, 7734, 309, 14015, 3459, 18, 31806, 2932, 36, 7923, 1545, 374, 3719, 288, 540, 202, 759, 3502, 628, 3903, 585, 540, 202, 1884, 261, 474, 9327, 273, 374, 274, 261, 2007, 1648, 1381, 13, 597, 261, 6429, 422, 446, 13, 274, 9327, 27245, 540, 202, 202, 698, 288, 540, 1082, 202, 780, 2863, 1785, 273, 446, 31, 540, 1082, 202, 780, 2863, 797, 273, 446, 31, 540, 9506, 540, 1082, 202, 759, 4444, 326, 7334, 17, 768, 540, 1082, 202, 780, 8526, 2140, 273, 1544, 18, 4939, 2932, 36, 8863, 540, 1082, 202, 430, 261, 6019, 18, 2469, 480, 576, 13, 288, 540, 9506, 202, 12849, 394, 6258, 3990, 2932, 4445, 486, 1416, 622, 1239, 36, 2412, 1199, 1769, 540, 1082, 202, 97, 540, 1082, 202, 7688, 797, 273, 2140, 63, 20, 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, 478, 1118, 3773, 4444, 3773, 12, 780, 1544, 13, 1216, 6258, 3990, 288, 3639, 1659, 2028, 273, 446, 31, 3639, 309, 261, 3459, 18, 5839, 1190, 2932, 7388, 3719, 288, 540, 202, 3459, 273, 1544, 18, 28023, 12, 20, 16, 3459, 18, 2469, 1435, 17, 21, 13, 397, 1850, 202, 6, 36, 2505, 2207, 7813, 87, 18, 74, 2842, 278, 4406, 18, 3341, 19, 5429, 19, 8057, 4898, 397, 1850, 202, 3459, 18, 28023, 12, 3459, 18, 2722, 31985, 2932, 1199, 27921, 21, 16, 1544, 18, 2469, 1435, 17, 21, 13, 397, 540, 202, 9654, 11930, 18, 718, 14432, 540, 202, 759, 3163, 18, 659, 18, 8222, 12, 3459, 1769, 3639, 289, 7734, 309, 14015, 3459, 2 ]
public synchronized List<IMylarContextNode> getAllElements() { return new ArrayList<IMylarContextNode>(nodes.values());
public synchronized List<IMylarElement> getAllElements() { return new ArrayList<IMylarElement>(nodes.values());
public synchronized List<IMylarContextNode> getAllElements() { return new ArrayList<IMylarContextNode>(nodes.values()); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/f5bfb4859762da1543c326b182b2de34d0d94c08/MylarContext.java/buggy/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/internal/MylarContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 987, 32, 3445, 93, 7901, 1042, 907, 34, 5514, 3471, 1435, 288, 3639, 327, 394, 2407, 32, 3445, 93, 7901, 1042, 907, 34, 12, 4690, 18, 2372, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 5514, 3471, 1435, 288, 3639, 327, 394, 2407, 32, 3445, 93, 7901, 1042, 907, 34, 12, 4690, 18, 2372, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(contactList.getModel().getSize() <= 0) return;
public void keyTyped(KeyEvent e) { long eventTimestamp = e.getWhen(); String keyChar = String.valueOf(e.getKeyChar()); if(e.getKeyChar() == ' ') { closeGroup(); } else if(e.getKeyChar() == '+') { openGroup(); } else if(e.getKeyChar() == '-') { closeGroup(); } else { //Nothing to do if the contact list is empty if(contactList.getModel().getSize() <= 0) return; if ((lastTypedTimestamp - eventTimestamp) > 1000) { keyBuffer.delete(0, keyBuffer.length() - 1); } this.lastTypedTimestamp = eventTimestamp; this.keyBuffer.append(keyChar); boolean selectedSameLetterContact = false; int selectedIndex = this.contactList.getSelectedIndex(); // Check if there's any selected contact node and get its name. if (selectedIndex != -1) { Object selectedObject = this.contactList.getSelectedValue(); if (selectedObject instanceof MetaContact) { String selectedContactName = ((MetaContact) selectedObject) .getDisplayName(); if (selectedContactName != null) { selectedSameLetterContact = selectedContactName.substring(0, 1) .equalsIgnoreCase(keyBuffer.toString()); } } } // The search starts from the beginning if: // 1) the newly entered character is different from the last one // or // 2) the currently selected contact starts with a different letter int contactIndex = -1; if (lastTypedKey != keyChar || !selectedSameLetterContact) { contactIndex = this.contactList.getNextMatch( keyBuffer.toString(), 0, Position.Bias.Forward); } else { contactIndex = this.contactList.getNextMatch( keyBuffer.toString(), selectedIndex + 1, Position.Bias.Forward); } int currentlySelectedIndex = this.contactList.getSelectedIndex(); if (currentlySelectedIndex != contactIndex && contactIndex != -1) { this.contactList.setSelectedIndex(contactIndex); } this.contactList.ensureIndexIsVisible(currentlySelectedIndex); this.lastTypedKey = keyChar; } }
27035 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27035/76bba94bf06aa6f2eeaf8c1e9a4375ad2a7d9b0f/CListKeySearchListener.java/clean/src/net/java/sip/communicator/impl/gui/main/contactlist/CListKeySearchListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 498, 11985, 12, 653, 1133, 425, 13, 288, 3639, 1525, 871, 4921, 273, 425, 18, 588, 9434, 5621, 3639, 514, 498, 2156, 273, 514, 18, 1132, 951, 12, 73, 18, 588, 653, 2156, 10663, 3639, 309, 12, 73, 18, 588, 653, 2156, 1435, 422, 296, 8624, 288, 5411, 1746, 1114, 5621, 3639, 289, 3639, 469, 309, 12, 73, 18, 588, 653, 2156, 1435, 422, 15126, 6134, 288, 5411, 1696, 1114, 5621, 3639, 289, 3639, 469, 309, 12, 73, 18, 588, 653, 2156, 1435, 422, 4014, 13, 288, 5411, 1746, 1114, 5621, 3639, 289, 3639, 469, 288, 5411, 368, 23814, 358, 741, 309, 326, 5388, 666, 353, 1008, 5411, 309, 12, 8994, 682, 18, 588, 1488, 7675, 588, 1225, 1435, 1648, 374, 13, 7734, 327, 31, 13491, 309, 14015, 2722, 11985, 4921, 300, 871, 4921, 13, 405, 4336, 13, 288, 7734, 498, 1892, 18, 3733, 12, 20, 16, 498, 1892, 18, 2469, 1435, 300, 404, 1769, 5411, 289, 5411, 333, 18, 2722, 11985, 4921, 273, 871, 4921, 31, 5411, 333, 18, 856, 1892, 18, 6923, 12, 856, 2156, 1769, 5411, 1250, 3170, 8650, 13938, 6567, 273, 629, 31, 5411, 509, 29244, 273, 333, 18, 8994, 682, 18, 588, 7416, 1016, 5621, 5411, 368, 2073, 309, 1915, 1807, 1281, 3170, 5388, 756, 471, 336, 2097, 508, 18, 5411, 309, 261, 8109, 1016, 480, 300, 21, 13, 288, 7734, 1033, 3170, 921, 273, 333, 18, 8994, 682, 18, 588, 7416, 620, 5621, 7734, 309, 261, 8109, 921, 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, 498, 11985, 12, 653, 1133, 425, 13, 288, 3639, 1525, 871, 4921, 273, 425, 18, 588, 9434, 5621, 3639, 514, 498, 2156, 273, 514, 18, 1132, 951, 12, 73, 18, 588, 653, 2156, 10663, 3639, 309, 12, 73, 18, 588, 653, 2156, 1435, 422, 296, 8624, 288, 5411, 1746, 1114, 5621, 3639, 289, 3639, 469, 309, 12, 73, 18, 588, 653, 2156, 1435, 422, 15126, 6134, 288, 5411, 1696, 1114, 5621, 3639, 289, 3639, 469, 309, 12, 73, 18, 588, 653, 2156, 1435, 422, 4014, 13, 288, 5411, 1746, 1114, 5621, 3639, 289, 3639, 469, 288, 5411, 368, 23814, 358, 741, 309, 326, 5388, 666, 353, 1008, 5411, 309, 12, 8994, 682, 18, 588, 1488, 7675, 2 ]
case CommonarchivePackage.MODULE_FILE__DIRECTORY_ENTRY :
case CommonarchivePackage.MODULE_FILE__DIRECTORY_ENTRY:
public Object eGet(EStructuralFeature eFeature, boolean resolve) { switch (eDerivedStructuralFeatureID(eFeature)) { case CommonarchivePackage.MODULE_FILE__URI : return getURI(); case CommonarchivePackage.MODULE_FILE__LAST_MODIFIED : return new Long(getLastModified()); case CommonarchivePackage.MODULE_FILE__SIZE : return new Long(getSize()); case CommonarchivePackage.MODULE_FILE__DIRECTORY_ENTRY : return isDirectoryEntry() ? Boolean.TRUE : Boolean.FALSE; case CommonarchivePackage.MODULE_FILE__ORIGINAL_URI : return getOriginalURI(); case CommonarchivePackage.MODULE_FILE__LOADING_CONTAINER : if (resolve) return getLoadingContainer(); return basicGetLoadingContainer(); case CommonarchivePackage.MODULE_FILE__CONTAINER : return getContainer(); case CommonarchivePackage.MODULE_FILE__FILES : return getFiles(); case CommonarchivePackage.MODULE_FILE__TYPES : return getTypes(); } return eDynamicGet(eFeature, resolve); }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/ebce0dfcf980c405fd07c019b6f4466152262cb7/ModuleFileImpl.java/buggy/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ModuleFileImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 15952, 12, 41, 14372, 4595, 425, 4595, 16, 1250, 2245, 13, 288, 202, 202, 9610, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 288, 1082, 202, 3593, 5658, 10686, 2261, 18, 12194, 67, 3776, 972, 3098, 294, 9506, 202, 2463, 21375, 5621, 1082, 202, 3593, 5658, 10686, 2261, 18, 12194, 67, 3776, 972, 14378, 67, 21143, 294, 9506, 202, 2463, 394, 3407, 12, 588, 14747, 10663, 1082, 202, 3593, 5658, 10686, 2261, 18, 12194, 67, 3776, 972, 4574, 294, 9506, 202, 2463, 394, 3407, 12, 588, 1225, 10663, 1082, 202, 3593, 5658, 10686, 2261, 18, 12194, 67, 3776, 972, 17229, 67, 19083, 294, 9506, 202, 2463, 10126, 1622, 1435, 692, 3411, 18, 18724, 294, 3411, 18, 21053, 31, 1082, 202, 3593, 5658, 10686, 2261, 18, 12194, 67, 3776, 972, 24685, 1013, 67, 3098, 294, 9506, 202, 2463, 18354, 3098, 5621, 1082, 202, 3593, 5658, 10686, 2261, 18, 12194, 67, 3776, 972, 7783, 1360, 67, 21395, 294, 9506, 202, 430, 261, 10828, 13, 6862, 202, 2463, 336, 10515, 2170, 5621, 9506, 202, 2463, 5337, 967, 10515, 2170, 5621, 1082, 202, 3593, 5658, 10686, 2261, 18, 12194, 67, 3776, 972, 21395, 294, 9506, 202, 2463, 9272, 5621, 1082, 202, 3593, 5658, 10686, 2261, 18, 12194, 67, 3776, 972, 12669, 294, 9506, 202, 2463, 18262, 5621, 1082, 202, 3593, 5658, 10686, 2261, 18, 12194, 67, 3776, 972, 10564, 294, 9506, 202, 2463, 20780, 5621, 202, 202, 97, 202, 202, 2463, 425, 9791, 967, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 15952, 12, 41, 14372, 4595, 425, 4595, 16, 1250, 2245, 13, 288, 202, 202, 9610, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 288, 1082, 202, 3593, 5658, 10686, 2261, 18, 12194, 67, 3776, 972, 3098, 294, 9506, 202, 2463, 21375, 5621, 1082, 202, 3593, 5658, 10686, 2261, 18, 12194, 67, 3776, 972, 14378, 67, 21143, 294, 9506, 202, 2463, 394, 3407, 12, 588, 14747, 10663, 1082, 202, 3593, 5658, 10686, 2261, 18, 12194, 67, 3776, 972, 4574, 294, 9506, 202, 2463, 394, 3407, 12, 588, 1225, 10663, 1082, 202, 3593, 5658, 10686, 2261, 18, 12194, 67, 3776, 972, 17229, 67, 19083, 294, 9506, 202, 2463, 10126, 1622, 1435, 692, 3411, 18, 18724, 2 ]
public void testGeneratorAccessors() { PipelineChainImpl pipelineChain; Generator generator; pipelineChain = new PipelineChainImpl(); assertNull(pipelineChain.getGenerator()); pipelineChain.setGenerator((generator = new GeneratorImpl())); assertEquals(generator, pipelineChain.getGenerator()); pipelineChain.setGenerator(null); assertNull(pipelineChain.getGenerator()); }
11074 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11074/3cd4e596302501d51e87a446d6154be4c6b165e4/TestPipelineChainImpl.java/clean/branches/0.3/src/test/java/org/iterx/miru/pipeline/TestPipelineChainImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3908, 1862, 1383, 1435, 288, 3639, 13671, 3893, 2828, 5873, 3893, 31, 3639, 10159, 4456, 31, 3639, 5873, 3893, 273, 394, 13671, 3893, 2828, 5621, 3639, 1815, 2041, 12, 14511, 3893, 18, 588, 3908, 10663, 3639, 5873, 3893, 18, 542, 3908, 12443, 8812, 273, 394, 10159, 2828, 1435, 10019, 3639, 1815, 8867, 12, 8812, 16, 5873, 3893, 18, 588, 3908, 10663, 7734, 5873, 3893, 18, 542, 3908, 12, 2011, 1769, 3639, 1815, 2041, 12, 14511, 3893, 18, 588, 3908, 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,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, 3893, 273, 394, 13671, 3893, 2828, 5621, 3639, 1815, 2041, 12, 14511, 3893, 18, 588, 3908, 10663, 3639, 5873, 3893, 18, 542, 3908, 12443, 8812, 273, 394, 10159, 2828, 1435, 10019, 3639, 1815, 8867, 12, 8812, 16, 5873, 3893, 18, 588, 3908, 10663, 7734, 5873, 3893, 18, 542, 3908, 12, 2011, 1769, 3639, 1815, 2041, 12, 14511, 3893, 18, 588, 3908, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (_lastTab != null) { _lastTab.setVisible(false); } _lastTab = _tabs.getSelectedComponent(); cat.debug("MultiEditorPane state changed:" + _lastTab.getClass().getName()); _lastTab.setVisible(true); if (_lastTab instanceof TabModelTarget) ((TabModelTarget)_lastTab).refresh(); }
if (_lastTab != null) { _lastTab.setVisible(false); } _lastTab = _tabs.getSelectedComponent(); cat.debug( "MultiEditorPane state changed:" + _lastTab.getClass().getName()); _lastTab.setVisible(true); if (_lastTab instanceof TabModelTarget) ((TabModelTarget) _lastTab).refresh(); }
public void stateChanged(ChangeEvent e) { //TODO: should fire its own event and ProjectBrowser //should register a listener if (_lastTab != null) { _lastTab.setVisible(false); } _lastTab = _tabs.getSelectedComponent(); cat.debug("MultiEditorPane state changed:" + _lastTab.getClass().getName()); _lastTab.setVisible(true); if (_lastTab instanceof TabModelTarget) ((TabModelTarget)_lastTab).refresh(); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/0000146f4efb8ff1a3d7608f6bcdc1238d4fb7ce/MultiEditorPane.java/buggy/src_new/org/argouml/ui/MultiEditorPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 919, 5033, 12, 20930, 425, 13, 288, 565, 368, 6241, 30, 1410, 4452, 2097, 4953, 871, 471, 5420, 9132, 565, 368, 13139, 1744, 279, 2991, 565, 309, 261, 67, 2722, 5661, 480, 446, 13, 288, 389, 2722, 5661, 18, 542, 6207, 12, 5743, 1769, 289, 565, 389, 2722, 5661, 273, 389, 16056, 18, 588, 7416, 1841, 5621, 565, 6573, 18, 4148, 2932, 5002, 6946, 8485, 919, 3550, 2773, 397, 3639, 389, 2722, 5661, 18, 588, 797, 7675, 17994, 10663, 565, 389, 2722, 5661, 18, 542, 6207, 12, 3767, 1769, 565, 309, 261, 67, 2722, 5661, 1276, 9483, 1488, 2326, 13, 1377, 14015, 5661, 1488, 2326, 13, 67, 2722, 5661, 2934, 9144, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 919, 5033, 12, 20930, 425, 13, 288, 565, 368, 6241, 30, 1410, 4452, 2097, 4953, 871, 471, 5420, 9132, 565, 368, 13139, 1744, 279, 2991, 565, 309, 261, 67, 2722, 5661, 480, 446, 13, 288, 389, 2722, 5661, 18, 542, 6207, 12, 5743, 1769, 289, 565, 389, 2722, 5661, 273, 389, 16056, 18, 588, 7416, 1841, 5621, 565, 6573, 18, 4148, 2932, 5002, 6946, 8485, 919, 3550, 2773, 397, 3639, 389, 2722, 5661, 18, 588, 797, 7675, 17994, 10663, 565, 389, 2722, 5661, 18, 542, 6207, 12, 3767, 1769, 565, 309, 261, 67, 2722, 5661, 1276, 9483, 1488, 2326, 13, 1377, 14015, 5661, 1488, 2326, 13, 67, 2722, 5661, 2934, 9144, 5621, 225, 289, 2, -100, -100 ]
if (!indexes.withinMatrix){
if (!indexes.withinMatrix) {
protected boolean isClear(MatrixIndexes indexes, boolean markAsTaken){ Debug.message("declutterdetail", "DeclutterMatrix: Checking space for clear."); if (this.matrix == null) { return false; } if (!indexes.withinMatrix){ // But, withinMatrix doesn't tell you if there is a // partial. It only tells you if any part of the object // is over the matrix. So, if it's not within the Matrix, // the answer should be yes, all the time, because you // don't have to declutter what you can't see...// return allowPartials; return true; } if (!allowPartials && indexes.partial){ return false; } // OK - the above check should verify that some part of the // object is on the matrix - so there is a reason to set the // limits for the matrix search below, and not worry about // dealing with funky index values. boolean notClear = false; // Since we have the matrix index limits, have two loops, the // first to check for the open cells, the other to mark the // cells as occupied. The second loop only gets run if the // markAsTaken flag is set by the caller. for (int taken = 0; taken < 2; taken++){ // Check to see if the horizontal indexes are on the // matrix - i should be at least greater than zero here, // as should j. for (int i = indexes.xStart; i <= indexes.xEnd; i++){ // Check for loop - the first loop is to see if // the spaces are open. if (taken == 0){ notClear = isMatrixLocationTaken(i, indexes.yStart, indexes.yEnd - indexes.yStart + 1); if (notClear){ return false; } } else { // The second loop is to mark the cells as // taken setTaken(i, indexes.yStart, indexes.yEnd - indexes.yStart + 1); } } // This will prevent the second loop from occuring if it's // not supposed to - the caller just wanted to check the // spaces, rather than check and mark. if (!markAsTaken){ return true; } } return true; }
3071 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3071/bd3246ddacb315557bb4a27bccc72e866994de80/DeclutterMatrix.java/clean/src/openmap/com/bbn/openmap/layer/DeclutterMatrix.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 353, 9094, 12, 4635, 8639, 5596, 16, 1171, 9079, 1250, 2267, 1463, 27486, 15329, 3639, 4015, 18, 2150, 2932, 8840, 18220, 8992, 3113, 15604, 315, 3456, 18220, 4635, 30, 24471, 3476, 364, 2424, 1199, 1769, 3639, 309, 261, 2211, 18, 5667, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 16051, 11265, 18, 25850, 4635, 13, 288, 5411, 368, 12484, 16, 3470, 4635, 3302, 1404, 9276, 1846, 309, 1915, 353, 279, 5411, 368, 4702, 18, 225, 2597, 1338, 24551, 1846, 309, 1281, 1087, 434, 326, 733, 5411, 368, 353, 1879, 326, 3148, 18, 225, 6155, 16, 309, 518, 1807, 486, 3470, 326, 7298, 16, 5411, 368, 326, 5803, 1410, 506, 12465, 16, 777, 326, 813, 16, 2724, 1846, 5411, 368, 2727, 1404, 1240, 358, 3496, 18220, 4121, 1846, 848, 1404, 2621, 2777, 759, 1850, 327, 1699, 9447, 87, 31, 5411, 327, 638, 31, 3639, 289, 3639, 309, 16051, 5965, 9447, 87, 597, 5596, 18, 11601, 15329, 5411, 327, 629, 31, 3639, 289, 3639, 368, 7791, 300, 326, 5721, 866, 1410, 3929, 716, 2690, 1087, 434, 326, 3639, 368, 733, 353, 603, 326, 3148, 300, 1427, 1915, 353, 279, 3971, 358, 444, 326, 3639, 368, 8181, 364, 326, 3148, 1623, 5712, 16, 471, 486, 26784, 2973, 3639, 368, 21964, 598, 284, 1683, 93, 770, 924, 18, 3639, 1250, 486, 9094, 273, 629, 31, 3639, 368, 7897, 732, 1240, 326, 3148, 770, 8181, 16, 1240, 2795, 14075, 16, 326, 3639, 368, 1122, 358, 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, 1250, 353, 9094, 12, 4635, 8639, 5596, 16, 1171, 9079, 1250, 2267, 1463, 27486, 15329, 3639, 4015, 18, 2150, 2932, 8840, 18220, 8992, 3113, 15604, 315, 3456, 18220, 4635, 30, 24471, 3476, 364, 2424, 1199, 1769, 3639, 309, 261, 2211, 18, 5667, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 16051, 11265, 18, 25850, 4635, 13, 288, 5411, 368, 12484, 16, 3470, 4635, 3302, 1404, 9276, 1846, 309, 1915, 353, 279, 5411, 368, 4702, 18, 225, 2597, 1338, 24551, 1846, 309, 1281, 1087, 434, 326, 733, 5411, 368, 353, 1879, 326, 3148, 18, 225, 6155, 16, 309, 518, 1807, 486, 3470, 326, 7298, 16, 5411, 368, 326, 5803, 1410, 506, 12465, 16, 777, 2 ]
public String getSystemId() { return systemId;
public String getSystemId() { return systemId;
public String getSystemId() { return systemId; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2c0635b05f68dbb361b3532fd5813a38b74cf57a/StreamResult.java/buggy/core/src/classpath/javax/javax/xml/transform/stream/StreamResult.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 12996, 548, 1435, 288, 202, 202, 2463, 30083, 31, 202, 97, 2, 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, 0, 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, 12996, 548, 1435, 288, 202, 202, 2463, 30083, 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, -100, -100, -100, -100, -100, -100, -100 ]
QueryResponseRecord rec;
public void processResponse( QueryResponseMsg msg ) { long speed = msg.getRemoteHostSpeed(); GUID rcID = msg.getRemoteClientID(); DestAddress address = msg.getDestAddress(); QueryHitHost qhHost = new QueryHitHost( rcID, address, speed ); qhHost.setQHDFlags( msg.getPushNeededFlag(), msg.getServerBusyFlag(), msg.getHasUploadedFlag(), msg.getUploadSpeedFlag() ); qhHost.setQueryResponseFields( msg ); QueryResponseRecord rec; RemoteFile rfile; int recordCount = msg.getRecordCount(); ArrayList newHitList = new ArrayList( recordCount ); for (int i = 0; i < recordCount; i++) { rec = msg.getMsgRecord(i); synchronized( this ) { long fileSize = rec.getFileSize(); String filename = rec.getFilename(); URN urn = rec.getURN(); int fileIndex = rec.getFileIndex(); String metaData = rec.getMetaData(); String pathInfo = rec.getPathInfo(); rfile = new RemoteFile( qhHost, fileIndex, filename, pathInfo, fileSize, urn, metaData, (short)100 ); searchResultHolder.addQueryHit( rfile ); newHitList.add( rfile ); } } // if something was added... if ( newHitList.size() > 0 ) { if ( queryEngine != null ) { queryEngine.incrementResultCount( msg.getUniqueResultCount() ); } RemoteFile[] newHits = new RemoteFile[ newHitList.size() ]; newHitList.toArray( newHits ); fireSearchHitsAdded( newHits ); } }
52996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52996/d06437c1eced0cff9c088a4e5f21715ddc5c2366/BrowseHostResults.java/clean/src/phex/query/BrowseHostResults.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 1064, 12, 2770, 1064, 3332, 1234, 262, 565, 288, 3639, 1525, 8632, 273, 1234, 18, 588, 5169, 2594, 16562, 5621, 3639, 20322, 4519, 734, 273, 1234, 18, 588, 5169, 1227, 734, 5621, 3639, 28510, 1887, 1758, 273, 1234, 18, 588, 9378, 1887, 5621, 3639, 2770, 13616, 2594, 1043, 76, 2594, 273, 394, 2770, 13616, 2594, 12, 4519, 734, 16, 1758, 16, 8632, 11272, 3639, 1043, 76, 2594, 18, 542, 53, 44, 40, 5094, 12, 1234, 18, 588, 7621, 11449, 4678, 9334, 1234, 18, 588, 2081, 29289, 4678, 9334, 5411, 1234, 18, 588, 5582, 24585, 4678, 9334, 1234, 18, 588, 4777, 16562, 4678, 1435, 11272, 3639, 1043, 76, 2594, 18, 542, 1138, 1064, 2314, 12, 1234, 11272, 9079, 6304, 812, 436, 768, 31, 3639, 509, 1409, 1380, 273, 1234, 18, 588, 2115, 1380, 5621, 3639, 2407, 394, 13616, 682, 273, 394, 2407, 12, 1409, 1380, 11272, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1409, 1380, 31, 277, 27245, 3639, 288, 5411, 1950, 273, 1234, 18, 588, 3332, 2115, 12, 77, 1769, 5411, 3852, 12, 333, 262, 5411, 288, 7734, 1525, 18984, 273, 1950, 18, 588, 15100, 5621, 7734, 514, 1544, 273, 1950, 18, 588, 5359, 5621, 7734, 1618, 50, 18412, 273, 1950, 18, 588, 8521, 5621, 7734, 509, 585, 1016, 273, 1950, 18, 29925, 1016, 5621, 7734, 514, 11651, 273, 1950, 18, 588, 6998, 5621, 7734, 514, 17058, 273, 1950, 18, 588, 743, 966, 5621, 7734, 436, 768, 273, 394, 6304, 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, 1207, 1064, 12, 2770, 1064, 3332, 1234, 262, 565, 288, 3639, 1525, 8632, 273, 1234, 18, 588, 5169, 2594, 16562, 5621, 3639, 20322, 4519, 734, 273, 1234, 18, 588, 5169, 1227, 734, 5621, 3639, 28510, 1887, 1758, 273, 1234, 18, 588, 9378, 1887, 5621, 3639, 2770, 13616, 2594, 1043, 76, 2594, 273, 394, 2770, 13616, 2594, 12, 4519, 734, 16, 1758, 16, 8632, 11272, 3639, 1043, 76, 2594, 18, 542, 53, 44, 40, 5094, 12, 1234, 18, 588, 7621, 11449, 4678, 9334, 1234, 18, 588, 2081, 29289, 4678, 9334, 5411, 1234, 18, 588, 5582, 24585, 4678, 9334, 1234, 18, 588, 4777, 16562, 4678, 1435, 11272, 3639, 1043, 76, 2594, 18, 542, 1138, 1064, 2314, 12, 1234, 2 ]
long lbegin = (long)begin; long lend = (long)end; for (long slot = lbegin; slot < lend; slot++) {
for (long slot = begin; slot < end; slot++) {
private Scriptable jsFunction_slice(Context cx, Scriptable thisObj, Object[] args) { Scriptable scope = getTopLevelScope(this); Scriptable result = ScriptRuntime.newObject(cx, scope, "Array", null); double length = getLengthProperty(thisObj); double begin = 0; double end = length; if (args.length > 0) { begin = ScriptRuntime.toInteger(args[0]); if (begin < 0) { begin += length; if (begin < 0) begin = 0; } else if (begin > length) { begin = length; } if (args.length > 1) { end = ScriptRuntime.toInteger(args[1]); if (end < 0) { end += length; if (end < 0) end = 0; } else if (end > length) { end = length; } } } long lbegin = (long)begin; long lend = (long)end; for (long slot = lbegin; slot < lend; slot++) { Object temp = getElem(thisObj, slot); setElem(result, slot - lbegin, temp); } return result; }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/5f6a565762eea9efee2aee1297e0f938ac7edf63/NativeArray.java/buggy/js/rhino/src/org/mozilla/javascript/NativeArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 22780, 3828, 2083, 67, 6665, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 3639, 1033, 8526, 833, 13, 565, 288, 3639, 22780, 2146, 273, 13729, 2355, 3876, 12, 2211, 1769, 3639, 22780, 563, 273, 7739, 5576, 18, 2704, 921, 12, 71, 92, 16, 2146, 16, 315, 1076, 3113, 446, 1769, 3639, 1645, 769, 273, 9888, 1396, 12, 2211, 2675, 1769, 3639, 1645, 2376, 273, 374, 31, 3639, 1645, 679, 273, 769, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 5411, 2376, 273, 7739, 5576, 18, 869, 4522, 12, 1968, 63, 20, 19226, 5411, 309, 261, 10086, 411, 374, 13, 288, 7734, 2376, 1011, 769, 31, 7734, 309, 261, 10086, 411, 374, 13, 10792, 2376, 273, 374, 31, 5411, 289, 469, 309, 261, 10086, 405, 769, 13, 288, 7734, 2376, 273, 769, 31, 5411, 289, 5411, 309, 261, 1968, 18, 2469, 405, 404, 13, 288, 7734, 679, 273, 7739, 5576, 18, 869, 4522, 12, 1968, 63, 21, 19226, 7734, 309, 261, 409, 411, 374, 13, 288, 10792, 679, 1011, 769, 31, 10792, 309, 261, 409, 411, 374, 13, 13491, 679, 273, 374, 31, 7734, 289, 469, 309, 261, 409, 405, 769, 13, 288, 10792, 679, 273, 769, 31, 7734, 289, 5411, 289, 3639, 289, 3639, 1525, 7831, 5022, 273, 261, 5748, 13, 10086, 31, 3639, 1525, 328, 409, 273, 261, 5748, 13, 409, 31, 3639, 364, 261, 5748, 4694, 273, 7831, 5022, 31, 4694, 411, 328, 409, 31, 4694, 27245, 288, 5411, 1033, 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, 22780, 3828, 2083, 67, 6665, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 3639, 1033, 8526, 833, 13, 565, 288, 3639, 22780, 2146, 273, 13729, 2355, 3876, 12, 2211, 1769, 3639, 22780, 563, 273, 7739, 5576, 18, 2704, 921, 12, 71, 92, 16, 2146, 16, 315, 1076, 3113, 446, 1769, 3639, 1645, 769, 273, 9888, 1396, 12, 2211, 2675, 1769, 3639, 1645, 2376, 273, 374, 31, 3639, 1645, 679, 273, 769, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 5411, 2376, 273, 7739, 5576, 18, 869, 4522, 12, 1968, 63, 20, 19226, 5411, 309, 261, 10086, 411, 374, 13, 288, 7734, 2376, 1011, 769, 31, 7734, 309, 261, 10086, 411, 374, 13, 10792, 2376, 2 ]
Core.consoleErrorMessage (component_name, "Couldn't find default orgtree $VJ_SHARE_DIR/Data/orgtree.org");
Core.consoleErrorMessage (component_name, "Couldn't find default orgtree $VJ_SHARE_DIR/data/orgtree.org");
public void loadMainChunkOrgTree () { FileReader r; ConfigStreamTokenizer st; File f1; String homedir; try { f1 = new File (Core.file.mangleFileName ("${HOME}/.vjconfig/orgtree.org")); r = new FileReader (f1); } catch (FileNotFoundException e) { try { f1 = new File (Core.file.mangleFileName ("${VJ_SHARE_DIR}/data/orgtree.org")); r = new FileReader(f1); } catch (FileNotFoundException e2) { Core.consoleErrorMessage (component_name, "Couldn't find default orgtree $VJ_SHARE_DIR/Data/orgtree.org"); return; } } Core.consoleInfoMessage (component_name, "Loading organization tree: " + f1); st = new ConfigStreamTokenizer (r); active_tree.setName (f1.getName()); active_tree.setFile (f1); active_tree.read(st); //--- BUG --- //Core.rebuildAllTrees(); }
49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/a626738ab082d02be8a67ea91e154a0a50a2de63/ChunkOrgTreeModule.java/buggy/modules/jackal/editorgui/org/vrjuggler/jccl/editorgui/ChunkOrgTreeModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 6376, 5579, 6001, 2471, 1832, 288, 202, 812, 2514, 436, 31, 202, 809, 1228, 10524, 384, 31, 202, 812, 284, 21, 31, 202, 780, 13995, 23210, 31, 3639, 775, 288, 5411, 284, 21, 273, 394, 1387, 261, 4670, 18, 768, 18, 81, 4341, 4771, 7566, 18498, 14209, 4004, 18, 90, 78, 1425, 19, 3341, 3413, 18, 3341, 7923, 1769, 5411, 436, 273, 394, 23010, 261, 74, 21, 1769, 3639, 289, 3639, 1044, 261, 812, 3990, 425, 13, 288, 5411, 775, 288, 7734, 284, 21, 273, 394, 1387, 261, 4670, 18, 768, 18, 81, 4341, 4771, 7566, 18498, 58, 46, 67, 8325, 862, 67, 4537, 4004, 892, 19, 3341, 3413, 18, 3341, 7923, 1769, 7734, 436, 273, 394, 23010, 12, 74, 21, 1769, 5411, 289, 5411, 1044, 261, 812, 3990, 425, 22, 13, 288, 7734, 4586, 18, 8698, 14935, 261, 4652, 67, 529, 16, 315, 16342, 1404, 1104, 805, 2358, 3413, 271, 58, 46, 67, 8325, 862, 67, 4537, 19, 892, 19, 3341, 3413, 18, 3341, 8863, 7734, 327, 31, 5411, 289, 3639, 289, 10792, 4586, 18, 8698, 966, 1079, 261, 4652, 67, 529, 16, 315, 10515, 6758, 2151, 30, 315, 397, 284, 21, 1769, 3639, 384, 273, 394, 1903, 1228, 10524, 261, 86, 1769, 3639, 2695, 67, 3413, 18, 542, 461, 261, 74, 21, 18, 17994, 10663, 3639, 2695, 67, 3413, 18, 542, 812, 261, 74, 21, 1769, 3639, 2695, 67, 3413, 18, 896, 12, 334, 1769, 3639, 368, 6062, 10937, 43, 9948, 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, 1262, 6376, 5579, 6001, 2471, 1832, 288, 202, 812, 2514, 436, 31, 202, 809, 1228, 10524, 384, 31, 202, 812, 284, 21, 31, 202, 780, 13995, 23210, 31, 3639, 775, 288, 5411, 284, 21, 273, 394, 1387, 261, 4670, 18, 768, 18, 81, 4341, 4771, 7566, 18498, 14209, 4004, 18, 90, 78, 1425, 19, 3341, 3413, 18, 3341, 7923, 1769, 5411, 436, 273, 394, 23010, 261, 74, 21, 1769, 3639, 289, 3639, 1044, 261, 812, 3990, 425, 13, 288, 5411, 775, 288, 7734, 284, 21, 273, 394, 1387, 261, 4670, 18, 768, 18, 81, 4341, 4771, 7566, 18498, 58, 46, 67, 8325, 862, 67, 4537, 4004, 892, 19, 3341, 3413, 18, 3341, 7923, 1769, 7734, 436, 2 ]
Object o = Class.forName(directiveClass).newInstance();
Object o = ClassUtils.getNewInstance( directiveClass );
private void loadDirective(String directiveClass, String caption) { try { Object o = Class.forName(directiveClass).newInstance(); if (o instanceof Directive) { Directive directive = (Directive) o; runtimeDirectives.put(directive.getName(), directive); info("Loaded " + caption + " Directive: " + directiveClass); } else { error(caption + " Directive " + directiveClass + " is not org.apache.velocity.runtime.directive.Directive." + " Ignoring. "); } } catch (Exception e) { error("Exception Loading " + caption + " Directive: " + directiveClass + " : " + e); } }
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/7f3c441e4af5a132c3b34a1fc3bfb1588db705eb/RuntimeInstance.java/clean/src/java/org/apache/velocity/runtime/RuntimeInstance.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1262, 13307, 12, 780, 8655, 797, 16, 514, 11006, 13, 565, 288, 5411, 775, 3639, 288, 5411, 1033, 320, 273, 26382, 18, 588, 1908, 1442, 12, 8655, 797, 11272, 13491, 309, 261, 83, 1276, 31081, 13, 5411, 288, 7734, 31081, 8655, 273, 261, 13307, 13, 320, 31, 7734, 3099, 25343, 18, 458, 12, 22347, 18, 17994, 9334, 8655, 1769, 4766, 565, 1123, 2932, 8835, 315, 397, 11006, 397, 315, 31081, 30, 315, 5397, 397, 8655, 797, 1769, 5411, 289, 5411, 469, 5411, 288, 7734, 555, 12, 15386, 397, 315, 31081, 315, 397, 8655, 797, 10792, 397, 315, 353, 486, 2358, 18, 19211, 18, 29418, 560, 18, 9448, 18, 22347, 18, 13307, 1199, 10792, 397, 315, 467, 16997, 18, 315, 1769, 5411, 289, 3639, 289, 3639, 1044, 261, 503, 425, 13, 3639, 288, 5411, 555, 2932, 503, 4444, 310, 315, 397, 11006, 397, 315, 31081, 30, 315, 1171, 397, 8655, 797, 397, 315, 294, 315, 397, 425, 1769, 5411, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1262, 13307, 12, 780, 8655, 797, 16, 514, 11006, 13, 565, 288, 5411, 775, 3639, 288, 5411, 1033, 320, 273, 26382, 18, 588, 1908, 1442, 12, 8655, 797, 11272, 13491, 309, 261, 83, 1276, 31081, 13, 5411, 288, 7734, 31081, 8655, 273, 261, 13307, 13, 320, 31, 7734, 3099, 25343, 18, 458, 12, 22347, 18, 17994, 9334, 8655, 1769, 4766, 565, 1123, 2932, 8835, 315, 397, 11006, 397, 315, 31081, 30, 315, 5397, 397, 8655, 797, 1769, 5411, 289, 5411, 469, 5411, 288, 7734, 555, 12, 15386, 397, 315, 31081, 315, 397, 8655, 797, 10792, 397, 315, 353, 486, 2358, 18, 19211, 18, 29418, 560, 18, 9448, 18, 22347, 18, 13307, 1199, 10792, 397, 315, 467, 2 ]
public void expander() throws RecognitionException { String name = null; String config=null; try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:129:17: ( 'expander' (name= dotted_name )? ( ';' )? opt_eol ) // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:129:17: 'expander' (name= dotted_name )? ( ';' )? opt_eol { match(input,17,FOLLOW_17_in_expander230); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:129:28: (name= dotted_name )? int alt10=2; int LA10_0 = input.LA(1); if ( LA10_0==ID ) { alt10=1; } else if ( LA10_0==-1||LA10_0==EOL||LA10_0==15||(LA10_0>=18 && LA10_0<=19)||LA10_0==25||LA10_0==27 ) { alt10=2; } else { NoViableAltException nvae = new NoViableAltException("129:28: (name= dotted_name )?", 10, 0, input); throw nvae; } switch (alt10) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:129:29: name= dotted_name { following.push(FOLLOW_dotted_name_in_expander235); name=dotted_name(); following.pop(); } break; } // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:129:48: ( ';' )? int alt11=2; int LA11_0 = input.LA(1); if ( LA11_0==15 ) { alt11=1; } else if ( LA11_0==-1||LA11_0==EOL||(LA11_0>=18 && LA11_0<=19)||LA11_0==25||LA11_0==27 ) { alt11=2; } else { NoViableAltException nvae = new NoViableAltException("129:48: ( \';\' )?", 11, 0, input); throw nvae; } switch (alt11) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:129:48: ';' { match(input,15,FOLLOW_15_in_expander239); } break; } following.push(FOLLOW_opt_eol_in_expander242); opt_eol(); following.pop(); expander = expanderResolver.get( name, config ); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/138d9a6805db25e18a7f8c70bebca33cce7b95e5/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4542, 264, 1435, 1216, 9539, 288, 6647, 514, 508, 273, 446, 31, 540, 202, 202, 780, 642, 33, 2011, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 24886, 30, 4033, 30, 261, 296, 12320, 264, 11, 261, 529, 33, 20965, 67, 529, 7851, 261, 7554, 7851, 2153, 67, 30951, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 24886, 30, 4033, 30, 296, 12320, 264, 11, 261, 529, 33, 20965, 67, 529, 7851, 261, 7554, 7851, 2153, 67, 30951, 5411, 288, 5411, 845, 12, 2630, 16, 4033, 16, 29890, 67, 4033, 67, 267, 67, 12320, 264, 29157, 1769, 2398, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 24886, 30, 6030, 30, 261, 529, 33, 20965, 67, 529, 7851, 5411, 509, 3770, 2163, 33, 22, 31, 5411, 509, 2928, 2163, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 5411, 309, 261, 2928, 2163, 67, 20, 631, 734, 262, 288, 7734, 3770, 2163, 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, 4542, 264, 1435, 1216, 9539, 288, 6647, 514, 508, 273, 446, 31, 540, 202, 202, 780, 642, 33, 2011, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 24886, 30, 4033, 30, 261, 296, 12320, 264, 11, 261, 529, 33, 20965, 67, 529, 7851, 261, 7554, 7851, 2153, 67, 30951, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 2 ]
protected PropertyChangeListener createActionPropertyChangeListener(Action action) { return null; }
protected PropertyChangeListener createActionPropertyChangeListener(Action action) { return null; }
protected PropertyChangeListener createActionPropertyChangeListener(Action action) { return null; // TODO } // createActionPropertyChangeListener()
45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/14511e3ad21013e92c6399b2bd2ec09a8263e33a/JMenuItem.java/buggy/libjava/javax/swing/JMenuItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4276, 15744, 752, 1803, 1396, 15744, 12, 1803, 1301, 13, 288, 202, 202, 2463, 446, 31, 368, 2660, 202, 97, 368, 752, 1803, 1396, 15744, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4276, 15744, 752, 1803, 1396, 15744, 12, 1803, 1301, 13, 288, 202, 202, 2463, 446, 31, 368, 2660, 202, 97, 368, 752, 1803, 1396, 15744, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new EmailSenderTask(new ActivationKeySpammer(userId, u .getUsername(), u.getEmail(), u .getActivationKey()))); } catch (Exception e) {
new EmailSenderTask(new ActivationKeySpammer( userId, u.getUsername(), u.getEmail(), u.getActivationKey()))); } catch (Exception e) {
public void insertSave() throws Exception { User u = new User(); UserModel um = DataAccessDriver.getInstance().newUserModel(); String username = JForum.getRequest().getParameter("username"); String password = JForum.getRequest().getParameter("password"); boolean error = false; if (username == null || username.trim().equals("") || password == null || password.trim().equals("")) { JForum.getContext().put("error", I18n.getMessage("UsernamePasswordCannotBeNull")); error = true; } if (!error && um.isUsernameRegistered(JForum.getRequest().getParameter( "username"))) { JForum.getContext().put("error", I18n.getMessage("UsernameExists")); error = true; } if (error) { this.insert(); return; } u.setUsername(username); u.setPassword(MD5.crypt(password)); u.setEmail(JForum.getRequest().getParameter("email")); if (SystemGlobals.getBoolValue(ConfigKeys.MAIL_USER_EMAIL_AUTH)) { u .setActivationKey(MD5.crypt(username + System.currentTimeMillis())); } int userId = um.addNew(u); if (SystemGlobals.getBoolValue(ConfigKeys.MAIL_USER_EMAIL_AUTH)) { try { //Send an email to new user QueuedExecutor.getInstance().execute( new EmailSenderTask(new ActivationKeySpammer(userId, u .getUsername(), u.getEmail(), u .getActivationKey()))); } catch (Exception e) { e.printStackTrace(); } JForum.getContext().put("moduleAction", "message.htm"); JForum.getContext().put("message", I18n.getMessage("User.GoActivateAccountMessage")); } else { this.logNewRegisteredUserIn(userId, u); } }
52144 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52144/12ab778e1c856f70084f819e1ce97f90b5d97226/UserAction.java/buggy/src/net/jforum/view/forum/UserAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2243, 4755, 1435, 1216, 1185, 288, 202, 202, 1299, 582, 273, 394, 2177, 5621, 202, 202, 1299, 1488, 9570, 273, 1910, 1862, 4668, 18, 588, 1442, 7675, 2704, 1299, 1488, 5621, 202, 202, 780, 2718, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 5053, 8863, 202, 202, 780, 2201, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 3664, 8863, 202, 202, 6494, 555, 273, 629, 31, 202, 202, 430, 261, 5053, 422, 446, 747, 2718, 18, 5290, 7675, 14963, 2932, 7923, 747, 2201, 422, 446, 9506, 202, 20081, 2201, 18, 5290, 7675, 14963, 2932, 6, 3719, 288, 1082, 202, 46, 1290, 379, 18, 29120, 7675, 458, 2932, 1636, 3113, 6862, 202, 45, 2643, 82, 18, 24906, 2932, 8575, 3913, 4515, 1919, 2041, 7923, 1769, 1082, 202, 1636, 273, 638, 31, 202, 202, 97, 202, 202, 430, 16051, 1636, 9506, 202, 10, 10, 9570, 18, 291, 8575, 10868, 12, 46, 1290, 379, 18, 588, 691, 7675, 588, 1662, 12, 25083, 202, 6, 5053, 6, 20349, 288, 1082, 202, 46, 1290, 379, 18, 29120, 7675, 458, 2932, 1636, 3113, 467, 2643, 82, 18, 24906, 2932, 8575, 4002, 7923, 1769, 1082, 202, 1636, 273, 638, 31, 202, 202, 97, 202, 202, 430, 261, 1636, 13, 288, 1082, 202, 2211, 18, 6387, 5621, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 89, 18, 542, 8575, 12, 5053, 1769, 202, 202, 89, 18, 542, 3913, 12, 6188, 25, 18, 22784, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2243, 4755, 1435, 1216, 1185, 288, 202, 202, 1299, 582, 273, 394, 2177, 5621, 202, 202, 1299, 1488, 9570, 273, 1910, 1862, 4668, 18, 588, 1442, 7675, 2704, 1299, 1488, 5621, 202, 202, 780, 2718, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 5053, 8863, 202, 202, 780, 2201, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 3664, 8863, 202, 202, 6494, 555, 273, 629, 31, 202, 202, 430, 261, 5053, 422, 446, 747, 2718, 18, 5290, 7675, 14963, 2932, 7923, 747, 2201, 422, 446, 9506, 202, 20081, 2201, 18, 5290, 7675, 14963, 2932, 6, 3719, 288, 1082, 202, 46, 1290, 379, 18, 29120, 7675, 458, 2932, 1636, 3113, 2 ]
cond = parseBinaryExpr(priority(OP_OR));
cond = parseExprSingle();
public Expression parseFLWRExpression (boolean isFor) throws java.io.IOException, SyntaxException { char saveNesting = pushNesting(isFor ? 'f' : 'l'); Symbol name = parseVariable(); if (name == null) return syntaxError("missing Variable token:"+curToken); getRawToken(); ScopeExp sc; Expression[] inits = new Expression[1]; Object posVar = null; if (isFor) { boolean sawAt = match("at"); LambdaExp lexp = new LambdaExp(sawAt ? 2 : 1); if (sawAt) { getRawToken(); if (curToken == '$') { posVar = parseVariable(); getRawToken(); } if (posVar == null) syntaxError("missing Variable"); } sc = lexp; if (match("in")) getRawToken(); else { if (curToken == COLON_EQUAL_TOKEN) getRawToken(); syntaxError("missing 'in' in 'for' clause"); } } else { if (curToken == COLON_EQUAL_TOKEN) getRawToken(); else { if (match("in")) getRawToken(); syntaxError("missing ':=' in 'let' clause"); } LetExp let = new LetExp(inits); sc = let; } inits[0] = parseBinaryExpr(priority(OP_OR)); popNesting(saveNesting); Declaration decl = sc.addDeclaration(name); if (isFor) { decl.noteValue (null); // Does not have a known value. decl.setFlag(Declaration.IS_SINGLE_VALUE); } if (posVar != null) { Declaration posDecl = sc.addDeclaration(posVar, Type.int_type); posDecl.noteValue(null); posDecl.setFlag(Declaration.IS_SINGLE_VALUE); } parser.push(sc); Expression body; if (curToken == ',') { getRawToken(); if (curToken != '$') return syntaxError("missing $NAME after ','"); body = parseFLWRExpression(isFor); } else { Expression cond; char save = pushNesting('w'); if (curToken == OP_WHERE) { getRawToken(); cond = parseBinaryExpr(priority(OP_OR)); } else if (match("where")) { cond = parseBinaryExpr(priority(OP_OR)); } else cond = null; popNesting(save); boolean sawReturn = match("return"); if (! sawReturn && ! match("let") && ! match("for")) return syntaxError("missing 'return' clause"); peekNonSpace("unexpected eof-of-file after 'return'"); int bodyLine = getLineNumber() + 1; int bodyColumn = getColumnNumber() + 1; if (sawReturn) getRawToken(); body = parseExpr(); if (cond != null) { body = new IfExp(booleanValue(cond), body, QuoteExp.voidExp); } body.setFile(getName()); body.setLine(bodyLine, bodyColumn); } parser.pop(sc); if (isFor) { LambdaExp lexp = (LambdaExp) sc; lexp.body = body; Expression[] args = { sc, inits[0]}; // SIC return new ApplyExp(makeFunctionExp("gnu.kawa.functions.ValuesMap", lexp.min_args == 1 ? "valuesMap" : "valuesMapWithPos"), args); } else ((LetExp) sc).setBody(body); return sc; }
41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/d980a7f5674d78c0d9c4fdc868a20df995317bff/XQParser.java/buggy/gnu/xquery/lang/XQParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5371, 1109, 19054, 7181, 2300, 261, 6494, 353, 1290, 13, 1377, 1216, 2252, 18, 1594, 18, 14106, 16, 11517, 503, 225, 288, 565, 1149, 1923, 50, 10100, 273, 1817, 50, 10100, 12, 291, 1290, 692, 296, 74, 11, 294, 296, 80, 8284, 565, 8565, 508, 273, 1109, 3092, 5621, 565, 309, 261, 529, 422, 446, 13, 1377, 327, 6279, 668, 2932, 7337, 7110, 1147, 2773, 15, 1397, 1345, 1769, 565, 10547, 1345, 5621, 3639, 5468, 2966, 888, 31, 565, 5371, 8526, 1208, 87, 273, 394, 5371, 63, 21, 15533, 565, 1033, 949, 1537, 273, 446, 31, 565, 309, 261, 291, 1290, 13, 1377, 288, 202, 6494, 19821, 861, 273, 845, 2932, 270, 8863, 202, 12025, 2966, 5275, 84, 273, 394, 12801, 2966, 12, 87, 2219, 861, 692, 576, 294, 404, 1769, 202, 430, 261, 87, 2219, 861, 13, 202, 225, 288, 202, 565, 10547, 1345, 5621, 202, 565, 309, 261, 1397, 1345, 422, 3365, 6134, 202, 1377, 288, 202, 202, 917, 1537, 273, 1109, 3092, 5621, 202, 202, 588, 4809, 1345, 5621, 202, 1377, 289, 202, 565, 309, 261, 917, 1537, 422, 446, 13, 202, 1377, 6279, 668, 2932, 7337, 7110, 8863, 202, 225, 289, 202, 1017, 273, 5275, 84, 31, 202, 430, 261, 1916, 2932, 267, 6, 3719, 202, 225, 10547, 1345, 5621, 202, 12107, 202, 225, 288, 1082, 565, 309, 261, 1397, 1345, 422, 27856, 67, 12853, 67, 8412, 13, 202, 1377, 10547, 1345, 5621, 202, 565, 6279, 668, 2932, 7337, 296, 267, 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, 5371, 1109, 19054, 7181, 2300, 261, 6494, 353, 1290, 13, 1377, 1216, 2252, 18, 1594, 18, 14106, 16, 11517, 503, 225, 288, 565, 1149, 1923, 50, 10100, 273, 1817, 50, 10100, 12, 291, 1290, 692, 296, 74, 11, 294, 296, 80, 8284, 565, 8565, 508, 273, 1109, 3092, 5621, 565, 309, 261, 529, 422, 446, 13, 1377, 327, 6279, 668, 2932, 7337, 7110, 1147, 2773, 15, 1397, 1345, 1769, 565, 10547, 1345, 5621, 3639, 5468, 2966, 888, 31, 565, 5371, 8526, 1208, 87, 273, 394, 5371, 63, 21, 15533, 565, 1033, 949, 1537, 273, 446, 31, 565, 309, 261, 291, 1290, 13, 1377, 288, 202, 6494, 19821, 861, 273, 845, 2932, 270, 8863, 202, 12025, 2966, 5275, 2 ]
Logger.normal(this, "Adding best peer "+best+" ("+bestPopularity+")");
Logger.normal(this, "Adding best peer "+best+" ("+bestPopularity+ ')');
private boolean innerDetect(Vector addresses, boolean addedValidIP) { boolean setMaybeSymmetric = false; InetAddress[] detectedAddrs = ipDetector.getAddress(); synchronized(this) { hasDetectedIAD = true; } if(detectedAddrs != null) { for(int i=0;i<detectedAddrs.length;i++) { Peer p = new Peer(detectedAddrs[i], node.portNumber); if(!addresses.contains(p)) { Logger.normal(this, "Detected IP address: "+p); addresses.add(p); if(p.getFreenetAddress().isRealInternetAddress(false, false)) addedValidIP = true; } } } if((pluginDetectedIPs != null) && (pluginDetectedIPs.length > 0)) { for(int i=0;i<pluginDetectedIPs.length;i++) { InetAddress addr = pluginDetectedIPs[i].publicAddress; if(addr == null) continue; Peer a = new Peer(new FreenetInetAddress(addr), node.portNumber); if(!addresses.contains(a)) { Logger.normal(this, "Plugin detected IP address: "+a); addresses.add(a); addedValidIP = true; } } } if((detectedAddrs.length == 0) && (oldIPAddress != null) && !oldIPAddress.equals(overrideIPAddress)) addresses.add(new Peer(oldIPAddress, node.portNumber)); // Try to pick it up from our connections if(node.peers != null) { PeerNode[] peerList = node.peers.connectedPeers; HashMap countsByPeer = new HashMap(); // FIXME use a standard mutable int object, we have one somewhere for(int i=0;i<peerList.length;i++) { Peer p = peerList[i].getRemoteDetectedPeer(); if((p == null) || p.isNull()) continue; // DNSRequester doesn't deal with our own node InetAddress ip = p.getAddress(true); if(!IPUtil.isValidAddress(ip, false)) continue; Logger.normal(this, "Peer "+peerList[i].getPeer()+" thinks we are "+p); if(countsByPeer.containsKey(ip)) { Integer count = (Integer) countsByPeer.get(p); Integer newCount = new Integer(count.intValue()+1); countsByPeer.put(p, newCount); } else { countsByPeer.put(p, new Integer(1)); } } if(countsByPeer.size() == 1) { Iterator it = countsByPeer.keySet().iterator(); Peer p = (Peer) (it.next()); Logger.minor(this, "Everyone agrees we are "+p); if(!addresses.contains(p)) { if(p.getFreenetAddress().isRealInternetAddress(false, false)) addedValidIP = true; addresses.add(p); } } else if(countsByPeer.size() > 1) { Iterator it = countsByPeer.keySet().iterator(); // Take two most popular addresses. Peer best = null; Peer secondBest = null; int bestPopularity = 0; int secondBestPopularity = 0; while(it.hasNext()) { Peer cur = (Peer) (it.next()); int curPop = ((Integer) (countsByPeer.get(cur))).intValue(); Logger.normal(this, "Detected peer: "+cur+" popularity "+curPop); if(curPop >= bestPopularity) { secondBestPopularity = bestPopularity; bestPopularity = curPop; secondBest = best; best = cur; } } if(best != null) { if((bestPopularity > 2) || (detectedAddrs.length == 0)) { if(!addresses.contains(best)) { Logger.normal(this, "Adding best peer "+best+" ("+bestPopularity+")"); addresses.add(best); if(best.getFreenetAddress().isRealInternetAddress(false, false)) addedValidIP = true; } if((secondBest != null) && (secondBestPopularity > 2)) { if(!addresses.contains(secondBest)) { Logger.normal(this, "Adding second best peer "+secondBest+" ("+secondBest+")"); addresses.add(secondBest); if(secondBest.getFreenetAddress().isRealInternetAddress(false, false)) addedValidIP = true; } if(best.getAddress().equals(secondBest.getAddress()) && bestPopularity == 1) { Logger.error(this, "Hrrrm, maybe this is a symmetric NAT? Expect trouble connecting!"); System.err.println("Hrrrm, maybe this is a symmetric NAT? Expect trouble connecting!"); setMaybeSymmetric = true; if(ipDetectorManager != null && ipDetectorManager.isEmpty()) { if(maybeSymmetricAlert == null) { maybeSymmetricAlert = new SimpleUserAlert(true, "Connection problems", "It looks like your node may be behind a symmetric NAT. You may have connection " + "problems; if you are behind a symmetric NAT you will probably only be able to " + "connect to peers which are open to the internet.", UserAlert.ERROR); } if(node.clientCore != null && node.clientCore.alerts != null) node.clientCore.alerts.register(maybeSymmetricAlert); } else { if(maybeSymmetricAlert != null) node.clientCore.alerts.unregister(maybeSymmetricAlert); } addresses.add(new Peer(best.getFreenetAddress(), node.portNumber)); } } } } } } this.maybeSymmetric = setMaybeSymmetric; return addedValidIP; }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/62fd59041864b4ed1f43adc676de6bfb5ea977f3/NodeIPDetector.java/clean/src/freenet/node/NodeIPDetector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 3443, 12081, 12, 5018, 6138, 16, 1250, 3096, 1556, 2579, 13, 288, 202, 202, 6494, 15430, 9490, 29496, 273, 629, 31, 202, 202, 382, 278, 1887, 8526, 8316, 13811, 273, 2359, 12594, 18, 588, 1887, 5621, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 5332, 22614, 45, 1880, 273, 638, 31, 202, 202, 97, 202, 202, 430, 12, 8238, 828, 13811, 480, 446, 13, 288, 1082, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 8238, 828, 13811, 18, 2469, 31, 77, 27245, 288, 9506, 202, 6813, 293, 273, 394, 10669, 12, 8238, 828, 13811, 63, 77, 6487, 756, 18, 655, 1854, 1769, 9506, 202, 430, 12, 5, 13277, 18, 12298, 12, 84, 3719, 288, 6862, 202, 3328, 18, 6130, 12, 2211, 16, 315, 22614, 2971, 1758, 30, 13773, 84, 1769, 6862, 202, 13277, 18, 1289, 12, 84, 1769, 6862, 202, 430, 12, 84, 18, 588, 42, 2842, 278, 1887, 7675, 291, 6955, 26562, 1887, 12, 5743, 16, 629, 3719, 25083, 202, 9665, 1556, 2579, 273, 638, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 430, 12443, 4094, 22614, 18246, 480, 446, 13, 597, 261, 4094, 22614, 18246, 18, 2469, 405, 374, 3719, 288, 1082, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 4094, 22614, 18246, 18, 2469, 31, 77, 27245, 288, 9506, 202, 382, 278, 1887, 3091, 273, 1909, 22614, 18246, 63, 77, 8009, 482, 1887, 31, 9506, 202, 430, 12, 4793, 422, 446, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 3443, 12081, 12, 5018, 6138, 16, 1250, 3096, 1556, 2579, 13, 288, 202, 202, 6494, 15430, 9490, 29496, 273, 629, 31, 202, 202, 382, 278, 1887, 8526, 8316, 13811, 273, 2359, 12594, 18, 588, 1887, 5621, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 5332, 22614, 45, 1880, 273, 638, 31, 202, 202, 97, 202, 202, 430, 12, 8238, 828, 13811, 480, 446, 13, 288, 1082, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 8238, 828, 13811, 18, 2469, 31, 77, 27245, 288, 9506, 202, 6813, 293, 273, 394, 10669, 12, 8238, 828, 13811, 63, 77, 6487, 756, 18, 655, 1854, 1769, 9506, 202, 430, 12, 5, 13277, 18, 12298, 12, 84, 2 ]
public Hashtable getProperties() { return _properties;
public Hashtable getProperties() { return _properties;
public Hashtable getProperties() { return _properties; }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/ae10d4a11b7d045aa0c1c0a0c1fad303427aa49e/Vss.java/clean/main/src/net/sourceforge/cruisecontrol/sourcecontrols/Vss.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 18559, 9392, 1435, 288, 3196, 202, 2463, 389, 4738, 31, 225, 202, 97, 225, 2, 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, 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, 18559, 9392, 1435, 288, 3196, 202, 2463, 389, 4738, 31, 225, 202, 97, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
abstract public String formatCollection(Iterator iter, MNamespace namespace);
abstract public String formatCollection(Iterator iter, MNamespace namespace);
abstract public String formatCollection(Iterator iter, MNamespace namespace);
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/180aae2a6e4359d416ad1610ef18fe4836df91b8/Profile.java/buggy/src_new/org/argouml/uml/Profile.java
[ 1, 8585, 326, 22398, 316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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 8770, 1071, 514, 740, 2532, 12, 3198, 1400, 16, 490, 3402, 1981, 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 ]
monitor.beginTask( WorkbenchMessages.getString("CopyFilesAndFoldersOperation.operationTitle"), 100); monitor.worked(10);
public IResource[] copyResources(final IResource[] resources, IContainer destination) { final IPath destinationPath = destination.getFullPath(); final IResource[][] copiedResources = new IResource[1][0]; // test resources for existence separate from validate API. // Validate is performance critical and resource exists // check is potentially slow. Fixes bugs 16129/28602. IStatus resourceStatus = checkExist(resources); if (resourceStatus.getSeverity() != IStatus.OK) { ErrorDialog.openError( parentShell, getProblemsTitle(), null, // no special message resourceStatus); return copiedResources[0]; } String errorMsg = validateDestination(destination, resources); if (errorMsg != null) { displayError(errorMsg); return copiedResources[0]; } WorkspaceModifyOperation op = new WorkspaceModifyOperation() { public void execute(IProgressMonitor monitor) { IResource[] copyResources = resources; // Checks only required if this is an exisiting container path. monitor.beginTask( WorkbenchMessages.getString("CopyFilesAndFoldersOperation.operationTitle"), //$NON-NLS-1$ 100); monitor.worked(10); // show some initial progress boolean copyWithAutoRename = false; IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); if (root.exists(destinationPath)) { IContainer container = (IContainer) root.findMember(destinationPath); // If we're copying to the source container then perform // auto-renames on all resources to avoid name collisions. if (isDestinationSameAsSource(copyResources, container) && canPerformAutoRename()) { copyWithAutoRename = true; } else { // If no auto-renaming will be happening, check for // potential name collisions at the target resource copyResources = validateNoNameCollisions(container, copyResources, monitor); if (copyResources == null) { if (canceled) return; displayError(WorkbenchMessages.getString("CopyFilesAndFoldersOperation.nameCollision")); //$NON-NLS-1$ return; } if (validateEdit(container, copyResources) == false) return; } } errorStatus = null; if (copyResources.length > 0) { if (copyWithAutoRename) performCopyWithAutoRename(copyResources, destinationPath, monitor); else performCopy(copyResources, destinationPath, monitor); } copiedResources[0] = copyResources; } }; try { new ProgressMonitorDialog(parentShell).run(true, true, op); } catch (InterruptedException e) { return copiedResources[0]; } catch (InvocationTargetException e) { // CoreExceptions are collected above, but unexpected runtime exceptions and errors may still occur. Platform.getPlugin(PlatformUI.PLUGIN_ID).getLog().log(StatusUtil.newStatus( IStatus.ERROR, MessageFormat.format( "Exception in {0}.performCopy(): {1}", //$NON-NLS-1$ new Object[] {getClass().getName(), e.getTargetException()}), null)); displayError(WorkbenchMessages.format( "CopyFilesAndFoldersOperation.internalError", //$NON-NLS-1$ new Object[] { e.getTargetException().getMessage()})); } // If errors occurred, open an Error dialog if (errorStatus != null) { ErrorDialog.openError( parentShell, getProblemsTitle(), null, // no special message errorStatus); errorStatus = null; } return copiedResources[0]; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/18c80a671a543b815b8904824fa2aaa2b71ed677/CopyFilesAndFoldersOperation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1420, 8526, 1610, 3805, 12, 6385, 467, 1420, 8526, 2703, 16, 467, 2170, 2929, 13, 288, 202, 202, 6385, 467, 743, 30617, 273, 2929, 18, 588, 24173, 5621, 202, 202, 6385, 467, 1420, 63, 6362, 65, 9268, 3805, 273, 394, 467, 1420, 63, 21, 6362, 20, 15533, 202, 202, 759, 1842, 2703, 364, 15782, 9004, 628, 1954, 1491, 18, 202, 202, 759, 3554, 353, 9239, 11239, 471, 1058, 1704, 202, 202, 759, 866, 353, 13935, 11816, 18, 12139, 281, 22398, 2872, 24886, 19, 22, 5292, 3103, 18, 3196, 202, 45, 1482, 1058, 1482, 273, 866, 4786, 12, 4683, 1769, 202, 202, 430, 261, 3146, 1482, 18, 588, 21630, 1435, 480, 467, 1482, 18, 3141, 13, 288, 1082, 202, 668, 6353, 18, 3190, 668, 12, 9506, 202, 2938, 13220, 16, 4697, 202, 588, 626, 19122, 4247, 9334, 9506, 202, 2011, 16, 368, 1158, 4582, 883, 9506, 202, 3146, 1482, 1769, 1082, 202, 2463, 9268, 3805, 63, 20, 15533, 202, 202, 97, 202, 202, 780, 16949, 273, 1954, 5683, 12, 10590, 16, 2703, 1769, 202, 202, 430, 261, 1636, 3332, 480, 446, 13, 288, 1082, 202, 5417, 668, 12, 1636, 3332, 1769, 1082, 202, 2463, 9268, 3805, 63, 20, 15533, 202, 202, 97, 202, 202, 8241, 11047, 2988, 1061, 273, 394, 14396, 11047, 2988, 1435, 288, 1082, 202, 482, 918, 1836, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 45, 1420, 8526, 1610, 3805, 273, 2703, 31, 9506, 202, 759, 13074, 1338, 1931, 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, 225, 202, 482, 467, 1420, 8526, 1610, 3805, 12, 6385, 467, 1420, 8526, 2703, 16, 467, 2170, 2929, 13, 288, 202, 202, 6385, 467, 743, 30617, 273, 2929, 18, 588, 24173, 5621, 202, 202, 6385, 467, 1420, 63, 6362, 65, 9268, 3805, 273, 394, 467, 1420, 63, 21, 6362, 20, 15533, 202, 202, 759, 1842, 2703, 364, 15782, 9004, 628, 1954, 1491, 18, 202, 202, 759, 3554, 353, 9239, 11239, 471, 1058, 1704, 202, 202, 759, 866, 353, 13935, 11816, 18, 12139, 281, 22398, 2872, 24886, 19, 22, 5292, 3103, 18, 3196, 202, 45, 1482, 1058, 1482, 273, 866, 4786, 12, 4683, 1769, 202, 202, 430, 261, 3146, 1482, 18, 588, 21630, 1435, 480, 467, 1482, 18, 3141, 13, 2 ]
public IRubyObject methods(IRubyObject[] args) { checkArgumentCount(args, 0, 1); if (args.length == 0) { args = new IRubyObject[] { getRuntime().getTrue() }; } return getMetaClass().instance_methods(args); }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/c8b66db475de1dc66f347884891dd70d9943689b/RubyObject.java/clean/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 2590, 12, 7937, 10340, 921, 8526, 833, 13, 288, 377, 202, 1893, 1379, 1380, 12, 1968, 16, 374, 16, 404, 1769, 377, 202, 377, 202, 430, 261, 1968, 18, 2469, 422, 374, 13, 288, 377, 202, 202, 1968, 273, 394, 15908, 10340, 921, 8526, 288, 18814, 7675, 588, 5510, 1435, 289, 31, 377, 202, 97, 3639, 327, 11312, 797, 7675, 1336, 67, 5163, 12, 1968, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 2590, 12, 7937, 10340, 921, 8526, 833, 13, 288, 377, 202, 1893, 1379, 1380, 12, 1968, 16, 374, 16, 404, 1769, 377, 202, 377, 202, 430, 261, 1968, 18, 2469, 422, 374, 13, 288, 377, 202, 202, 1968, 273, 394, 15908, 10340, 921, 8526, 288, 18814, 7675, 588, 5510, 1435, 289, 31, 377, 202, 97, 3639, 327, 11312, 797, 7675, 1336, 67, 5163, 12, 1968, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!whiteCheckedTreeItems.contains(treeElement)) whiteCheckedTreeItems.add(treeElement); } else whiteCheckedTreeItems.remove(treeElement);
if (!whiteCheckedTreeItems.contains(treeElement)) { whiteCheckedTreeItems.add(treeElement); } } else { whiteCheckedTreeItems.remove(treeElement); }
protected void setWhiteChecked(Object treeElement, boolean isWhiteChecked) { if (isWhiteChecked) { if (!whiteCheckedTreeItems.contains(treeElement)) whiteCheckedTreeItems.add(treeElement); } else whiteCheckedTreeItems.remove(treeElement); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/ResourceTreeAndListGroup.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceTreeAndListGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 444, 13407, 11454, 12, 921, 2151, 1046, 16, 1250, 353, 13407, 11454, 13, 288, 3639, 309, 261, 291, 13407, 11454, 13, 288, 5411, 309, 16051, 14739, 11454, 2471, 3126, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 444, 13407, 11454, 12, 921, 2151, 1046, 16, 1250, 353, 13407, 11454, 13, 288, 3639, 309, 261, 291, 13407, 11454, 13, 288, 5411, 309, 16051, 14739, 11454, 2471, 3126, 18, 12298, 12, 3413, 1046, 3719, 7734, 9578, 11454, 2471, 3126, 18, 1289, 12, 3413, 1046, 1769, 3639, 289, 469, 5411, 9578, 11454, 2471, 3126, 18, 4479, 12, 3413, 1046, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case 3: case 4: BooleanLiteral(); break; case IDENTIFIER: Identifier(); break; case 1: jj_consume_token(1); Expression(); jj_consume_token(2); break; default: jj_la1[3] = jj_gen; jj_consume_token(-1); throw new ParseException(); }
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 3: case 4: BooleanLiteral(); break; case IDENTIFIER: Identifier(); break; case 1: jj_consume_token(1); Expression(); jj_consume_token(2); break; default: jj_la1[2] = jj_gen; jj_consume_token(-1); throw new ParseException();
final public void PrimaryExpression() throws ParseException { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case 3: case 4: BooleanLiteral(); break; case IDENTIFIER: Identifier(); break; case 1: jj_consume_token(1); Expression(); jj_consume_token(2); break; default: jj_la1[3] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/45c7db5b9c3d703ed4fabee51cebb349a8ffec67/ExpressionParser.java/buggy/aspectwerkz2/src/main/org/codehaus/aspectwerkz/definition/expression/ast/ExpressionParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 1071, 918, 15884, 2300, 1435, 1216, 10616, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 422, 300, 21, 13, 692, 10684, 67, 496, 79, 1435, 294, 10684, 67, 496, 79, 13, 288, 5411, 648, 890, 30, 5411, 648, 1059, 30, 7734, 3411, 6177, 5621, 7734, 898, 31, 5411, 648, 26765, 30, 7734, 10333, 5621, 7734, 898, 31, 5411, 648, 404, 30, 7734, 10684, 67, 21224, 67, 2316, 12, 21, 1769, 7734, 5371, 5621, 7734, 10684, 67, 21224, 67, 2316, 12, 22, 1769, 7734, 898, 31, 5411, 805, 30, 7734, 10684, 67, 11821, 21, 63, 23, 65, 273, 10684, 67, 4507, 31, 7734, 10684, 67, 21224, 67, 2316, 19236, 21, 1769, 7734, 604, 394, 10616, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 1435, 1216, 10616, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 422, 300, 21, 13, 692, 10684, 67, 496, 79, 1435, 294, 10684, 67, 496, 79, 13, 288, 5411, 648, 890, 30, 5411, 648, 1059, 30, 7734, 3411, 6177, 5621, 7734, 898, 31, 5411, 648, 26765, 30, 7734, 10333, 5621, 7734, 898, 31, 5411, 648, 404, 30, 7734, 10684, 67, 21224, 67, 2316, 12, 21, 1769, 7734, 5371, 5621, 7734, 10684, 67, 21224, 67, 2316, 12, 22, 1769, 7734, 898, 31, 5411, 805, 30, 7734, 10684, 67, 11821, 21, 63, 23, 65, 273, 10684, 67, 4507, 31, 7734, 10684, 67, 21224, 67, 2316, 19236, 21, 1769, 7734, 604, 394, 10616, 5621, 3639, 2 ]
return classicNext;
return turboNext;
public TurboFilter getNext() { return classicNext; }
47463 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47463/f5b5103ccdf3ff7cc59342cced2b68b170285959/TurboFilter.java/clean/logback-classic/src/main/java/ch/qos/logback/classic/turbo/TurboFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 399, 295, 1075, 1586, 6927, 1435, 288, 565, 327, 268, 295, 1075, 2134, 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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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, 399, 295, 1075, 1586, 6927, 1435, 288, 565, 327, 268, 295, 1075, 2134, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]