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
null, "setName");
null, "setNameExpr");
public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] result = new PropertyDescriptor[12]; try { result[0] = new PropertyDescriptor("anchor", ELRewriteTag.class, null, "setAnchor"); result[1] = new PropertyDescriptor("forward", ELRewriteTag.class, null, "setForward"); result[2] = new PropertyDescriptor("href", ELRewriteTag.class, null, "setHref"); result[3] = new PropertyDescriptor("name", ELRewriteTag.class, null, "setName"); result[4] = new PropertyDescriptor("page", ELRewriteTag.class, null, "setPage"); result[5] = new PropertyDescriptor("paramId", ELRewriteTag.class, null, "setParamId"); result[6] = new PropertyDescriptor("paramName", ELRewriteTag.class, null, "setParamName"); result[7] = new PropertyDescriptor("paramProperty", ELRewriteTag.class, null, "setParamProperty"); result[8] = new PropertyDescriptor("paramScope", ELRewriteTag.class, null, "setParamScope"); result[9] = new PropertyDescriptor("property", ELRewriteTag.class, null, "setProperty"); result[10] = new PropertyDescriptor("scope", ELRewriteTag.class, null, "setScope"); result[11] = new PropertyDescriptor("transaction", ELRewriteTag.class, null, "setTransactionExpr"); } catch (IntrospectionException ex) { ex.printStackTrace(); } return (result); }
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/db064e19656421b94aaf753550935d95f44bd5f9/ELRewriteTagBeanInfo.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELRewriteTagBeanInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 2138, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 16215, 3113, 14801, 19618, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 11605, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 11565, 3113, 14801, 19618, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 8514, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 7547, 3113, 14801, 19618, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 15962, 8863, 5411, 563, 63, 23, 65, 273, 394, 26761, 2932, 529, 3113, 14801, 19618, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 461, 4742, 8863, 5411, 563, 63, 24, 65, 273, 394, 26761, 2932, 2433, 3113, 14801, 19618, 1805, 18, 1106, 16, 4766, 7734, 446, 16, 315, 542, 1964, 8863, 5411, 563, 63, 25, 65, 273, 394, 26761, 2932, 891, 548, 3113, 14801, 19618, 1805, 18, 1106, 16, 4766, 7734, 446, 16, 315, 542, 786, 548, 8863, 5411, 563, 63, 26, 65, 273, 394, 26761, 2932, 891, 461, 3113, 14801, 19618, 1805, 18, 1106, 16, 4766, 7734, 446, 16, 315, 542, 24635, 8863, 5411, 563, 63, 27, 65, 273, 394, 26761, 2932, 891, 1396, 3113, 4766, 7734, 14801, 19618, 1805, 18, 1106, 16, 4766, 7734, 446, 16, 315, 542, 786, 1396, 8863, 5411, 563, 63, 28, 65, 273, 394, 26761, 2932, 891, 3876, 3113, 4766, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 2138, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 16215, 3113, 14801, 19618, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 11605, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 11565, 3113, 14801, 19618, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 8514, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 7547, 3113, 14801, 19618, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 15962, 8863, 5411, 563, 63, 23, 65, 273, 394, 26761, 2932, 529, 3113, 14801, 19618, 1805, 18, 1106, 16, 4766, 9079, 2 ]
particle = traverseSequence(child, schemaDoc, grammar, NOT_ALL_CONTEXT, enclosingCT);
particle = traverseSequence(child, schemaDoc, grammar, NOT_ALL_CONTEXT, parent);
private XSParticleDecl traverseSeqChoice(Element decl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, boolean choice, XSComplexTypeDecl enclosingCT) { // General Attribute Checking Object[] attrValues = fAttrChecker.checkAttributes(decl, false, schemaDoc); Element child = DOMUtil.getFirstChildElement(decl); XSAnnotationImpl annotation = null; if (child !=null) { // traverse Annotation if (DOMUtil.getLocalName(child).equals(SchemaSymbols.ELT_ANNOTATION)) { annotation = traverseAnnotationDecl(child, attrValues, false, schemaDoc); child = DOMUtil.getNextSiblingElement(child); } } boolean hadContent = false; String childName = null; XSParticleDecl particle; fPArray.pushContext(); for (;child != null;child = DOMUtil.getNextSiblingElement(child)) { particle = null; childName = DOMUtil.getLocalName(child); if (childName.equals(SchemaSymbols.ELT_ELEMENT)) { particle = fSchemaHandler.fElementTraverser.traverseLocal(child, schemaDoc, grammar, NOT_ALL_CONTEXT, enclosingCT); } else if (childName.equals(SchemaSymbols.ELT_GROUP)) { particle = fSchemaHandler.fGroupTraverser.traverseLocal(child, schemaDoc, grammar); // A content type of all can only appear // as the content type of a complex type definition. if (hasAllContent(particle)) { // don't insert the "all" particle, otherwise we won't be // able to create DFA from this content model particle = null; reportSchemaError("cos-all-limited.1.2", null, child); } } else if (childName.equals(SchemaSymbols.ELT_CHOICE)) { particle = traverseChoice(child, schemaDoc, grammar, NOT_ALL_CONTEXT, enclosingCT); } else if (childName.equals(SchemaSymbols.ELT_SEQUENCE)) { particle = traverseSequence(child, schemaDoc, grammar, NOT_ALL_CONTEXT, enclosingCT); } else if (childName.equals(SchemaSymbols.ELT_ANY)) { particle = fSchemaHandler.fWildCardTraverser.traverseAny(child, schemaDoc, grammar); } else { Object [] args; if (choice) { args = new Object[]{"choice", "(annotation?, (element | group | choice | sequence | any)*)", DOMUtil.getLocalName(child)}; } else { args = new Object[]{"sequence", "(annotation?, (element | group | choice | sequence | any)*)", DOMUtil.getLocalName(child)}; } reportSchemaError("s4s-elt-must-match.1", args, child); } if (particle != null) fPArray.addParticle(particle); } particle = null; XInt minAtt = (XInt)attrValues[XSAttributeChecker.ATTIDX_MINOCCURS]; XInt maxAtt = (XInt)attrValues[XSAttributeChecker.ATTIDX_MAXOCCURS]; Long defaultVals = (Long)attrValues[XSAttributeChecker.ATTIDX_FROMDEFAULT]; XSModelGroupImpl group = new XSModelGroupImpl(); group.fCompositor = choice ? XSModelGroupImpl.MODELGROUP_CHOICE : XSModelGroupImpl.MODELGROUP_SEQUENCE; group.fParticleCount = fPArray.getParticleCount(); group.fParticles = fPArray.popContext(); group.fAnnotation = annotation; particle = new XSParticleDecl(); particle.fType = XSParticleDecl.PARTICLE_MODELGROUP; particle.fMinOccurs = minAtt.intValue(); particle.fMaxOccurs = maxAtt.intValue(); particle.fValue = group; particle = checkOccurrences(particle, choice ? SchemaSymbols.ELT_CHOICE : SchemaSymbols.ELT_SEQUENCE, (Element)decl.getParentNode(), allContextFlags, defaultVals.longValue()); fAttrChecker.returnAttrArray(attrValues, schemaDoc); return particle; }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/63ac0adbac34b65334c541d79d51fa507fc9ce03/XSDAbstractParticleTraverser.java/buggy/src/org/apache/xerces/impl/xs/traversers/XSDAbstractParticleTraverser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1139, 55, 1988, 3711, 3456, 10080, 6926, 10538, 12, 1046, 3496, 16, 4766, 2398, 1139, 55, 2519, 966, 1963, 1759, 16, 4766, 2398, 4611, 18576, 6473, 16, 4766, 2398, 509, 777, 1042, 5094, 16, 4766, 2398, 1250, 6023, 16, 4766, 2398, 1139, 55, 12795, 559, 3456, 16307, 1268, 13, 288, 3639, 368, 9544, 3601, 24471, 3639, 1033, 8526, 1604, 1972, 273, 284, 3843, 8847, 18, 1893, 2498, 12, 8840, 16, 629, 16, 1963, 1759, 1769, 3639, 3010, 1151, 273, 4703, 1304, 18, 588, 3759, 1763, 1046, 12, 8840, 1769, 3639, 1139, 55, 3257, 2828, 3204, 273, 446, 31, 3639, 309, 261, 3624, 480, 2011, 13, 288, 5411, 368, 10080, 6090, 5411, 309, 261, 8168, 1304, 18, 588, 29583, 12, 3624, 2934, 14963, 12, 3078, 14821, 18, 2247, 56, 67, 24922, 3719, 288, 7734, 3204, 273, 10080, 3257, 3456, 12, 3624, 16, 1604, 1972, 16, 629, 16, 1963, 1759, 1769, 7734, 1151, 273, 4703, 1304, 18, 588, 2134, 10291, 1046, 12, 3624, 1769, 5411, 289, 3639, 289, 3639, 1250, 9323, 1350, 273, 629, 31, 3639, 514, 27440, 273, 446, 31, 3639, 1139, 55, 1988, 3711, 3456, 20036, 31, 3639, 284, 52, 1076, 18, 6206, 1042, 5621, 3639, 364, 261, 31, 3624, 480, 446, 31, 3624, 273, 4703, 1304, 18, 588, 2134, 10291, 1046, 12, 3624, 3719, 288, 5411, 20036, 273, 446, 31, 5411, 27440, 273, 4703, 1304, 18, 588, 29583, 12, 3624, 1769, 5411, 309, 261, 3624, 461, 18, 14963, 12, 3078, 14821, 18, 2247, 56, 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, 1139, 55, 1988, 3711, 3456, 10080, 6926, 10538, 12, 1046, 3496, 16, 4766, 2398, 1139, 55, 2519, 966, 1963, 1759, 16, 4766, 2398, 4611, 18576, 6473, 16, 4766, 2398, 509, 777, 1042, 5094, 16, 4766, 2398, 1250, 6023, 16, 4766, 2398, 1139, 55, 12795, 559, 3456, 16307, 1268, 13, 288, 3639, 368, 9544, 3601, 24471, 3639, 1033, 8526, 1604, 1972, 273, 284, 3843, 8847, 18, 1893, 2498, 12, 8840, 16, 629, 16, 1963, 1759, 1769, 3639, 3010, 1151, 273, 4703, 1304, 18, 588, 3759, 1763, 1046, 12, 8840, 1769, 3639, 1139, 55, 3257, 2828, 3204, 273, 446, 31, 3639, 309, 261, 3624, 480, 2011, 13, 288, 5411, 368, 10080, 6090, 5411, 309, 261, 8168, 1304, 18, 588, 2 ]
if (selectionHolder == null || ObjectUtils.nullSafeEquals(oldSelection, newSelection)) { return; } updateSelectionHolderSilently(newSelection);
firePropertyChange(SELECTION_INDEX_PROPERTY, theOldSelectionIndex, newSelectionIndex); firePropertyChange(SELECTION_EMPTY_PROPERTY, theOldSelectionIndex == EMPTY_SELECTION_INDEX, newSelectionIndex == EMPTY_SELECTION_INDEX);
public void valueChanged() { int newSelectionIndex = getSelectionIndex(); firePropertyChange(SELECTION_INDEX_PROPERTY, oldSelectionIndex, newSelectionIndex); firePropertyChange(SELECTION_EMPTY_PROPERTY, oldSelectionIndex == EMPTY_SELECTION_INDEX, newSelectionIndex == EMPTY_SELECTION_INDEX); fireValueChanged(); Object oldSelection = getElementAtSafely(oldSelectionIndex); Object newSelection = getElementAtSafely(newSelectionIndex); oldSelectionIndex = newSelectionIndex; if (selectionHolder == null || ObjectUtils.nullSafeEquals(oldSelection, newSelection)) { return; } updateSelectionHolderSilently(newSelection); firePropertyChange(SELECTION_PROPERTY, oldSelection, newSelection); }
55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/b854a9d1d796120f37c0de6c92170a4985409c12/SelectableItemsListModel.java/clean/src/org/springframework/binding/swing/SelectableItemsListModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 460, 5033, 1435, 288, 5411, 509, 394, 6233, 1016, 273, 23204, 1016, 5621, 5411, 4452, 1396, 3043, 12, 1090, 15445, 67, 9199, 67, 9900, 16, 1592, 6233, 1016, 16, 394, 6233, 1016, 1769, 5411, 4452, 1396, 3043, 12, 1090, 15445, 67, 13625, 67, 9900, 16, 1592, 6233, 1016, 422, 8984, 67, 1090, 15445, 67, 9199, 16, 10792, 394, 6233, 1016, 422, 8984, 67, 1090, 15445, 67, 9199, 1769, 5411, 4452, 620, 5033, 5621, 5411, 1033, 1592, 6233, 273, 7426, 861, 26946, 2357, 12, 1673, 6233, 1016, 1769, 5411, 1033, 394, 6233, 273, 7426, 861, 26946, 2357, 12, 2704, 6233, 1016, 1769, 5411, 1592, 6233, 1016, 273, 394, 6233, 1016, 31, 5411, 309, 261, 10705, 6064, 422, 446, 747, 1033, 1989, 18, 2011, 9890, 8867, 12, 1673, 6233, 16, 394, 6233, 3719, 288, 7734, 327, 31, 5411, 289, 5411, 1089, 6233, 6064, 55, 8125, 715, 12, 2704, 6233, 1769, 5411, 4452, 1396, 3043, 12, 1090, 15445, 67, 9900, 16, 1592, 6233, 16, 394, 6233, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1090, 15445, 67, 9199, 67, 9900, 16, 1592, 6233, 1016, 16, 394, 6233, 1016, 1769, 5411, 4452, 1396, 3043, 12, 1090, 15445, 67, 13625, 67, 9900, 16, 1592, 6233, 1016, 422, 8984, 67, 1090, 15445, 67, 9199, 16, 10792, 394, 6233, 1016, 422, 8984, 67, 1090, 15445, 67, 9199, 1769, 5411, 4452, 620, 5033, 5621, 5411, 1033, 1592, 6233, 273, 7426, 861, 26946, 2357, 12, 1673, 6233, 1016, 1769, 5411, 1033, 394, 6233, 273, 7426, 861, 26946, 2357, 12, 2704, 6233, 1016, 1769, 5411, 1592, 6233, 1016, 273, 394, 6233, 1016, 31, 5411, 309, 261, 10705, 6064, 422, 2 ]
if (jj_3R_170()) return true;
if (jj_3R_174()) return true;
final private boolean jj_3R_122() { if (jj_3R_170()) return true; return false; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9aa0c6bec51662a685ea4b86bc02a52c9e593d8a/Parser.java/clean/dynamicjava/src/koala/dynamicjava/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 22266, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 28686, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 22266, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 28686, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private void delAsso(BasicMonitoredObject from, BasicMonitoredObject to) { AssoKey key = new AssoKey(from, to.getKey()); asso.remove(key);
private void delAsso(BasicMonitoredObject from, int key) { AssoKey assoKey = new AssoKey(from, key); asso.remove(assoKey);
private void delAsso(BasicMonitoredObject from, BasicMonitoredObject to) { AssoKey key = new AssoKey(from, to.getKey()); asso.remove(key); }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/5501b6f7458bbbfb3fb6e17971df559c9ec40c93/DataAssociation.java/clean/src/org/objectweb/proactive/ic2d/gui/jobmonitor/data/DataAssociation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1464, 2610, 83, 12, 8252, 11415, 20425, 921, 628, 16, 7651, 11415, 20425, 921, 358, 13, 288, 377, 202, 2610, 83, 653, 498, 273, 394, 4725, 83, 653, 12, 2080, 16, 358, 18, 588, 653, 10663, 377, 202, 428, 83, 18, 4479, 12, 856, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1464, 2610, 83, 12, 8252, 11415, 20425, 921, 628, 16, 7651, 11415, 20425, 921, 358, 13, 288, 377, 202, 2610, 83, 653, 498, 273, 394, 4725, 83, 653, 12, 2080, 16, 358, 18, 588, 653, 10663, 377, 202, 428, 83, 18, 4479, 12, 856, 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 ]
URI uri = baseURI.resolve("3.1.1.2/text_with_escaped_html.xml");
IRI uri = baseURI.resolve("3.1.1.2/text_with_escaped_html.xml");
public static void testSection3112TextWithEscapedHtml() throws Exception { //http://feedvalidator.org/testcases/atom/3.1.1.2/text_with_escaped_html.xml URI uri = baseURI.resolve("3.1.1.2/text_with_escaped_html.xml"); Document<Feed> doc = get(uri); assertNotNull(doc); Entry entry = doc.getRoot().getEntries().get(0); assertEquals(entry.getSummary().trim(), "So I was reading <a href=\"http://example.com/\">example.com</a> the other day, it's really interesting."); }
46425 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46425/a7724f57b1ed9f7e36f7b511e06e7dbc231182d4/FeedValidatorTest.java/clean/parser/src/test/java/org/apache/abdera/test/parser/stax/FeedValidatorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1842, 5285, 6938, 2138, 1528, 1190, 17208, 4353, 1435, 1216, 1185, 288, 565, 368, 2505, 2207, 7848, 7357, 18, 3341, 19, 3813, 22186, 19, 7466, 19, 23, 18, 21, 18, 21, 18, 22, 19, 955, 67, 1918, 67, 16502, 67, 2620, 18, 2902, 565, 24143, 2003, 273, 1026, 3098, 18, 10828, 2932, 23, 18, 21, 18, 21, 18, 22, 19, 955, 67, 1918, 67, 16502, 67, 2620, 18, 2902, 8863, 565, 4319, 32, 8141, 34, 997, 273, 336, 12, 1650, 1769, 565, 25395, 12, 2434, 1769, 565, 3841, 1241, 273, 997, 18, 588, 2375, 7675, 588, 5400, 7675, 588, 12, 20, 1769, 565, 1815, 8867, 12, 4099, 18, 588, 4733, 7675, 5290, 9334, 315, 10225, 467, 1703, 6453, 411, 69, 3897, 5189, 2505, 2207, 8236, 18, 832, 19, 24735, 8236, 18, 832, 1757, 69, 34, 326, 1308, 2548, 16, 518, 1807, 8654, 26122, 1199, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1842, 5285, 6938, 2138, 1528, 1190, 17208, 4353, 1435, 1216, 1185, 288, 565, 368, 2505, 2207, 7848, 7357, 18, 3341, 19, 3813, 22186, 19, 7466, 19, 23, 18, 21, 18, 21, 18, 22, 19, 955, 67, 1918, 67, 16502, 67, 2620, 18, 2902, 565, 24143, 2003, 273, 1026, 3098, 18, 10828, 2932, 23, 18, 21, 18, 21, 18, 22, 19, 955, 67, 1918, 67, 16502, 67, 2620, 18, 2902, 8863, 565, 4319, 32, 8141, 34, 997, 273, 336, 12, 1650, 1769, 565, 25395, 12, 2434, 1769, 565, 3841, 1241, 273, 997, 18, 588, 2375, 7675, 588, 5400, 7675, 588, 12, 20, 1769, 565, 1815, 8867, 12, 4099, 18, 588, 4733, 7675, 5290, 9334, 315, 10225, 2 ]
if (eIsProxy()) return super.toString();
if (eIsProxy()) return super.toString();
public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (type: "); if (typeESet) result.append(type); else result.append("<unset>"); result.append(')'); return result.toString(); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/ActionImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/ActionImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 565, 288, 3639, 309, 261, 73, 2520, 3886, 10756, 327, 2240, 18, 10492, 5621, 3639, 6674, 563, 273, 394, 6674, 12, 9565, 18, 10492, 10663, 3639, 563, 18, 6923, 2932, 261, 723, 30, 315, 1769, 3639, 309, 261, 723, 41, 694, 13, 563, 18, 6923, 12, 723, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2668, 2506, 1769, 3639, 327, 563, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 3639, 563, 18, 6923, 2932, 261, 723, 30, 315, 1769, 3639, 309, 261, 723, 41, 694, 13, 563, 18, 6923, 12, 723, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2668, 2506, 1769, 3639, 327, 563, 18, 10492, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new IllegalStateException( "ObjectFactoryBuilder cannot be reset");
throw new IllegalStateException(Messages.getString("jndi.1F"));
public static synchronized void setObjectFactoryBuilder( ObjectFactoryBuilder ofb) throws IllegalStateException, SecurityException, NamingException { if (null != NamingManager.ofb) { throw new IllegalStateException( "ObjectFactoryBuilder cannot be reset"); //$NON-NLS-1$ } // check security access SecurityManager sm = System.getSecurityManager(); if (null != sm) { sm.checkSetFactory(); } NamingManager.ofb = ofb; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/a019071d67c658acaf59b3bed874ed07bb31de07/NamingManager.java/clean/modules/jndi/src/main/java/javax/naming/spi/NamingManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3852, 918, 20530, 1733, 1263, 12, 5411, 1033, 1733, 1263, 434, 70, 13, 1216, 5477, 16, 5411, 17780, 16, 26890, 288, 3639, 309, 261, 2011, 480, 18884, 1318, 18, 792, 70, 13, 288, 5411, 604, 394, 5477, 12, 10792, 315, 921, 1733, 1263, 2780, 506, 2715, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 289, 3639, 368, 866, 4373, 2006, 3639, 6036, 1318, 3029, 273, 2332, 18, 588, 4368, 1318, 5621, 3639, 309, 261, 2011, 480, 3029, 13, 288, 5411, 3029, 18, 1893, 694, 1733, 5621, 3639, 289, 3639, 18884, 1318, 18, 792, 70, 273, 434, 70, 31, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3852, 918, 20530, 1733, 1263, 12, 5411, 1033, 1733, 1263, 434, 70, 13, 1216, 5477, 16, 5411, 17780, 16, 26890, 288, 3639, 309, 261, 2011, 480, 18884, 1318, 18, 792, 70, 13, 288, 5411, 604, 394, 5477, 12, 10792, 315, 921, 1733, 1263, 2780, 506, 2715, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 289, 3639, 368, 866, 4373, 2006, 3639, 6036, 1318, 3029, 273, 2332, 18, 588, 4368, 1318, 5621, 3639, 309, 261, 2011, 480, 3029, 13, 288, 5411, 3029, 18, 1893, 694, 1733, 5621, 3639, 289, 3639, 18884, 1318, 18, 792, 70, 273, 434, 70, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
log().debug("poll: SNMPwalk poll succeeded, addr=" + ipaddr.getHostAddress() + " oid=" + snmpLogObjectId + " instance=" + e.getKey() + " value=" + e.getValue());
log().debug("poll: SNMPwalk poll succeeded, addr=" + ipaddr.getHostAddress() + " oid=" + snmpLogObjectId + " instance=" + e.getKey() + " value=" + e.getValue());
public PollStatus poll(MonitoredService svc, Map parameters, org.opennms.netmgt.config.poller.Package pkg) { NetworkInterface iface = svc.getNetInterface(); PollStatus status = PollStatus.unavailable(); InetAddress ipaddr = (InetAddress) iface.getAddress(); // Retrieve this interface's SNMP peer object // SnmpAgentConfig agentConfig = (SnmpAgentConfig) iface.getAttribute(SNMP_AGENTCONFIG_KEY); if (agentConfig == null) throw new RuntimeException("SnmpAgentConfig object not available for interface " + ipaddr); // Get configuration parameters // int timeout = ParameterMap.getKeyedInteger(parameters, "timeout", agentConfig.getTimeout()); int retries = ParameterMap.getKeyedInteger(parameters, "retries", agentConfig.getRetries()); int port = ParameterMap.getKeyedInteger(parameters, "port", DEFAULT_PORT); // set timeout and retries on SNMP peer object // agentConfig.setTimeout(timeout); agentConfig.setRetries(retries); agentConfig.setPort(port); if (log().isDebugEnabled()) log().debug("poll: service= SNMP address= " + agentConfig); // Establish SNMP session with interface // try { if (log().isDebugEnabled()) { log().debug("PercMonitor.poll: SnmpAgentConfig address: " +agentConfig); } SnmpObjId snmpObjectId = new SnmpObjId(PHYSICAL_BASE_OID); // First walk the physical OID Tree and check the returned values Map<SnmpInstId, SnmpValue> results = SnmpUtils.getOidValues(agentConfig, "percPoller", snmpObjectId); if(results.size() == 0) { log().debug("SNMP poll failed: no results, addr=" + ipaddr.getHostAddress() + " oid=" + snmpObjectId); return status; } for (Map.Entry<SnmpInstId, SnmpValue> e : results.entrySet()) { log().debug("poll: SNMPwalk poll succeeded, addr=" + ipaddr.getHostAddress() + " oid=" + snmpObjectId + " instance=" + e.getKey() + " value=" + e.getValue()); // Test each value returned to make sure it doesn't equal 4 // 1=>'ready', // 3=>'online', // 4=>'failed', // 5=>'rebuild', // 6=>'hotspare', // 20=>'nondisk' if (meetsCriteria(e.getValue(), "!=", "4")) { status = PollStatus.available(); } else { status = logDown(Level.DEBUG, "SNMP physical poll failed, addr=" + ipaddr.getHostAddress() + " oid=" + snmpObjectId + " instance=" + e.getKey() + " value=" + e.getValue()); return status; } } // If we get here, that means all of the physical drives returned a value not equal to "4" // Now we need to check logical drives SnmpObjId snmpLogObjectId = new SnmpObjId(LOGICAL_BASE_OID); // Next walk the physical OID Tree and check the returned values Map<SnmpInstId, SnmpValue> lresults = SnmpUtils.getOidValues(agentConfig, "percPoller", snmpLogObjectId); if(lresults.size() == 0) { log().debug("SNMP poll failed: no logical results, addr=" + ipaddr.getHostAddress() + " oid=" + snmpLogObjectId); return status; } for (Map.Entry<SnmpInstId, SnmpValue> e : lresults.entrySet()) { log().debug("poll: SNMPwalk poll succeeded, addr=" + ipaddr.getHostAddress() + " oid=" + snmpLogObjectId + " instance=" + e.getKey() + " value=" + e.getValue()); // Test each value returned to make sure it equals 2 // 0=>'offline', // 1=>'degraded', // 2=>'optimal', // 3=>'initialize', // 4=>'checkconsistency' if (meetsCriteria(e.getValue(), "=", "2")) { status = PollStatus.available(); } else { status = logDown(Level.DEBUG, "SNMP physical poll failed, addr=" + ipaddr.getHostAddress() + " oid=" + snmpLogObjectId + " instance=" + e.getKey() + " value=" + e.getValue()); return status; } } } catch (NumberFormatException e) { status = logDown(Level.ERROR, "Number operator used on a non-number " + e.getMessage()); } catch (IllegalArgumentException e) { status = logDown(Level.ERROR, "Invalid Snmp Criteria: " + e.getMessage()); } catch (Throwable t) { status = logDown(Level.WARN, "Unexpected exception during SNMP poll of interface " + ipaddr.getHostAddress(), t); } return status; }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/575864cf3eaeda9b9d8f9e85053b0b701728866d/PercMonitor.java/clean/opennms-services/src/main/java/org/opennms/netmgt/poller/monitors/PercMonitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19160, 1482, 7672, 12, 11415, 20425, 1179, 7538, 16, 1635, 1472, 16, 2358, 18, 3190, 82, 959, 18, 2758, 81, 4521, 18, 1425, 18, 3915, 749, 18, 2261, 3475, 13, 288, 3639, 21109, 9751, 273, 7538, 18, 588, 7308, 1358, 5621, 3639, 19160, 1482, 1267, 273, 19160, 1482, 18, 318, 5699, 5621, 3639, 14218, 2359, 4793, 273, 261, 382, 278, 1887, 13, 9751, 18, 588, 1887, 5621, 3639, 368, 10708, 333, 1560, 1807, 14204, 4566, 4261, 733, 3639, 368, 3639, 18961, 1291, 3630, 809, 4040, 809, 273, 261, 10461, 1291, 3630, 809, 13, 9751, 18, 588, 1499, 12, 13653, 4566, 67, 15005, 7203, 67, 3297, 1769, 3639, 309, 261, 5629, 809, 422, 446, 13, 5411, 604, 394, 3235, 2932, 10461, 1291, 3630, 809, 733, 486, 2319, 364, 1560, 315, 397, 2359, 4793, 1769, 3639, 368, 968, 1664, 1472, 3639, 368, 3639, 509, 2021, 273, 5498, 863, 18, 588, 653, 329, 4522, 12, 3977, 16, 315, 4538, 3113, 4040, 809, 18, 588, 2694, 10663, 3639, 509, 9453, 273, 5498, 863, 18, 588, 653, 329, 4522, 12, 3977, 16, 315, 15215, 3113, 4040, 809, 18, 588, 13656, 10663, 3639, 509, 1756, 273, 5498, 863, 18, 588, 653, 329, 4522, 12, 3977, 16, 315, 655, 3113, 3331, 67, 6354, 1769, 3639, 368, 444, 2021, 471, 9453, 603, 14204, 4566, 4261, 733, 3639, 368, 3639, 4040, 809, 18, 542, 2694, 12, 4538, 1769, 3639, 4040, 809, 18, 542, 13656, 12, 15215, 1769, 3639, 4040, 809, 18, 542, 2617, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19160, 1482, 7672, 12, 11415, 20425, 1179, 7538, 16, 1635, 1472, 16, 2358, 18, 3190, 82, 959, 18, 2758, 81, 4521, 18, 1425, 18, 3915, 749, 18, 2261, 3475, 13, 288, 3639, 21109, 9751, 273, 7538, 18, 588, 7308, 1358, 5621, 3639, 19160, 1482, 1267, 273, 19160, 1482, 18, 318, 5699, 5621, 3639, 14218, 2359, 4793, 273, 261, 382, 278, 1887, 13, 9751, 18, 588, 1887, 5621, 3639, 368, 10708, 333, 1560, 1807, 14204, 4566, 4261, 733, 3639, 368, 3639, 18961, 1291, 3630, 809, 4040, 809, 273, 261, 10461, 1291, 3630, 809, 13, 9751, 18, 588, 1499, 12, 13653, 4566, 67, 15005, 7203, 67, 3297, 1769, 3639, 309, 261, 5629, 809, 422, 446, 13, 5411, 604, 394, 2 ]
mCompositionPanel.AddSignature(); }
mCompositionPanel.AddSignature(); }
public Composition() { super("Composition", "composition"); fResourceBase = "grendel.composition"; Box mBox = Box.createVerticalBox(); Session session = StoreFactory.Instance().getSession(); //session.setDebug(true); mCompositionPanel = new CompositionPanel(session); mCompositionPanel.addCompositionPanelListener(new PanelListener()); //create menubar (top) // fMenu = buildMenu("mainMenubar", // mCompositionPanel.getActions()); fMenu = buildMenu("menus.xml", mCompositionPanel.getActions()); getRootPane().setJMenuBar(fMenu); fToolBar = mCompositionPanel.getToolBar(); fToolBar.add(fToolBar.makeNewSpring()); // fToolBar.addItem(ToolbarFactory.MakeINSToolbarItem(ToolBarLayout.CreateSpring(), // null));// fToolBar.addItem(ToolbarFactory.MakeINSToolbarItem(fAnimation, null)); mAddressBar = mCompositionPanel.getAddressBar(); //top collapsible item fToolBarPanelConstraints.anchor = GridBagConstraints.WEST; fToolBarPanelConstraints.fill = GridBagConstraints.HORIZONTAL; // fToolBarPanelConstraints.weightx = 1.0; fToolBarPanel.add(fToolBar, fToolBarPanelConstraints); fToolBarPanelConstraints.anchor = GridBagConstraints.EAST; fToolBarPanelConstraints.fill = GridBagConstraints.NONE; fToolBarPanelConstraints.weightx = 1.0; fToolBarPanelConstraints.gridwidth = GridBagConstraints.REMAINDER; fToolBarPanel.add(fAnimation, fToolBarPanelConstraints); mBox.add(fToolBarPanel); //bottom item // fToolBarPanelConstraints.gridwidth = GridBagConstraints.RELATIVE; //fToolBarPanelConstraints.fill = GridBagConstraints.HORIZONTAL; //fToolBarPanelConstraints.weightx = 5.0; //fToolBarPanel.add(mAddressBar, fToolBarPanelConstraints); mBox.add(mAddressBar); fPanel.add(BorderLayout.NORTH, mBox); fStatusBar = buildStatusBar(); fPanel.add(BorderLayout.SOUTH, fStatusBar); //mCompositionPanel.add(BorderLayout.NORTH, mAddressBar); fPanel.add(mCompositionPanel); restoreBounds(); mCompositionPanel.AddSignature(); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/39ccd5ae1ae056e082c0ed7109e9e93071553649/Composition.java/buggy/grendel/composition/Composition.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1286, 3276, 1435, 288, 3639, 2240, 2932, 28940, 3113, 315, 24388, 8863, 3639, 284, 1420, 2171, 273, 315, 75, 1187, 3771, 18, 24388, 14432, 3639, 8549, 312, 3514, 273, 8549, 18, 2640, 15704, 3514, 5621, 3639, 3877, 1339, 273, 4994, 1733, 18, 1442, 7675, 588, 2157, 5621, 3639, 368, 3184, 18, 542, 2829, 12, 3767, 1769, 3639, 312, 28940, 5537, 273, 394, 1286, 3276, 5537, 12, 3184, 1769, 3639, 312, 28940, 5537, 18, 1289, 28940, 5537, 2223, 12, 2704, 23641, 2223, 10663, 3639, 368, 2640, 21247, 373, 297, 261, 3669, 13, 3639, 368, 225, 284, 4599, 273, 1361, 4599, 2932, 5254, 49, 275, 373, 297, 3113, 3639, 368, 5375, 312, 28940, 5537, 18, 588, 6100, 10663, 3639, 284, 4599, 273, 1361, 4599, 2932, 26065, 18, 2902, 3113, 12900, 312, 28940, 5537, 18, 588, 6100, 10663, 3639, 7656, 8485, 7675, 542, 46, 4599, 5190, 12, 74, 4599, 1769, 3639, 284, 6364, 5190, 273, 312, 28940, 5537, 18, 588, 6364, 5190, 5621, 3639, 284, 6364, 5190, 18, 1289, 12, 74, 6364, 5190, 18, 6540, 1908, 55, 11638, 10663, 3639, 368, 565, 284, 6364, 5190, 18, 1289, 1180, 12, 17907, 1733, 18, 6464, 706, 55, 17907, 1180, 12, 6364, 5190, 3744, 18, 1684, 55, 11638, 9334, 3639, 368, 4766, 5375, 446, 10019, 759, 565, 284, 6364, 5190, 18, 1289, 1180, 12, 17907, 1733, 18, 6464, 706, 55, 17907, 1180, 12, 74, 10816, 16, 446, 10019, 3639, 312, 1887, 5190, 273, 312, 28940, 5537, 18, 588, 1887, 5190, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1286, 3276, 1435, 288, 3639, 2240, 2932, 28940, 3113, 315, 24388, 8863, 3639, 284, 1420, 2171, 273, 315, 75, 1187, 3771, 18, 24388, 14432, 3639, 8549, 312, 3514, 273, 8549, 18, 2640, 15704, 3514, 5621, 3639, 3877, 1339, 273, 4994, 1733, 18, 1442, 7675, 588, 2157, 5621, 3639, 368, 3184, 18, 542, 2829, 12, 3767, 1769, 3639, 312, 28940, 5537, 273, 394, 1286, 3276, 5537, 12, 3184, 1769, 3639, 312, 28940, 5537, 18, 1289, 28940, 5537, 2223, 12, 2704, 23641, 2223, 10663, 3639, 368, 2640, 21247, 373, 297, 261, 3669, 13, 3639, 368, 225, 284, 4599, 273, 1361, 4599, 2932, 5254, 49, 275, 373, 297, 3113, 3639, 368, 5375, 312, 28940, 5537, 18, 588, 6100, 10663, 3639, 2 ]
("msg.instanceof.bad.prototype", names[0], instance);
("msg.instanceof.bad.prototype", functionName, instance);
public boolean hasInstance(Scriptable instance) { Object protoProp = ScriptableObject.getProperty(this, "prototype"); if (protoProp instanceof Scriptable && protoProp != Undefined.instance) { return ScriptRuntime.jsDelegatesTo(instance, (Scriptable)protoProp); } throw NativeGlobal.typeError1 ("msg.instanceof.bad.prototype", names[0], instance); }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/49ee5104a9201354fbd63b6b9e1e0ea314785d03/NativeFunction.java/clean/js/rhino/src/org/mozilla/javascript/NativeFunction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 711, 1442, 12, 3651, 429, 791, 13, 288, 3639, 1033, 3760, 4658, 273, 22780, 921, 18, 588, 1396, 12, 2211, 16, 315, 18541, 8863, 3639, 309, 261, 9393, 4658, 1276, 22780, 597, 3760, 4658, 480, 22243, 18, 1336, 13, 288, 5411, 327, 7739, 5576, 18, 2924, 15608, 815, 774, 12, 1336, 16, 261, 3651, 429, 13, 9393, 4658, 1769, 3639, 289, 3639, 604, 16717, 5160, 18, 723, 668, 21, 5411, 7566, 3576, 18, 1336, 792, 18, 8759, 18, 18541, 3113, 14117, 16, 791, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 711, 1442, 12, 3651, 429, 791, 13, 288, 3639, 1033, 3760, 4658, 273, 22780, 921, 18, 588, 1396, 12, 2211, 16, 315, 18541, 8863, 3639, 309, 261, 9393, 4658, 1276, 22780, 597, 3760, 4658, 480, 22243, 18, 1336, 13, 288, 5411, 327, 7739, 5576, 18, 2924, 15608, 815, 774, 12, 1336, 16, 261, 3651, 429, 13, 9393, 4658, 1769, 3639, 289, 3639, 604, 16717, 5160, 18, 723, 668, 21, 5411, 7566, 3576, 18, 1336, 792, 18, 8759, 18, 18541, 3113, 14117, 16, 791, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public ListDiffPrinter(boolean compress) { this(compress, DEFAULT_DTD_PREFIX);
public ListDiffPrinter() { this(DEFAULT_COMPRESS, DEFAULT_DTD_PREFIX);
public ListDiffPrinter(boolean compress) { this(compress, DEFAULT_DTD_PREFIX); }
13239 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13239/90426904b4d1837e2da805c8b5f9bc6423a3ef22/ListDiffPrinter.java/buggy/DependencyFinder/src/com/jeantessier/dependencyfinder/cli/ListDiffPrinter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 987, 5938, 12149, 12, 6494, 8099, 13, 288, 202, 202, 2211, 12, 14706, 16, 3331, 67, 25728, 67, 6307, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 6307, 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 ]
lVar = (OptLocalVariable) vars.get(child.getString());
lVar = (OptLocalVariable) vars.getVariable(child.getString());
private void visitIncDec(Node node, boolean isInc) { Node child = node.getFirstChild(); if (node.getProp(Node.ISNUMBER_PROP) != null) { OptLocalVariable lVar = (OptLocalVariable)(child.getProp(Node.VARIABLE_PROP)); if (lVar.getJRegister() == -1) lVar.assignJRegister(getNewWordPairLocal()); dload(lVar.getJRegister()); addByteCode(ByteCode.DUP2); push(1.0); addByteCode((isInc) ? ByteCode.DADD : ByteCode.DSUB); dstore(lVar.getJRegister()); } else { OptLocalVariable lVar = (OptLocalVariable)(child.getProp(Node.VARIABLE_PROP)); String routine = (isInc) ? "postIncrement" : "postDecrement"; if (hasVarsInRegs && child.getType() == TokenStream.GETVAR) { if (lVar == null) lVar = (OptLocalVariable) vars.get(child.getString()); if (lVar.getJRegister() == -1) lVar.assignJRegister(getNewWordLocal()); aload(lVar.getJRegister()); addByteCode(ByteCode.DUP); addScriptRuntimeInvoke(routine, "(Ljava/lang/Object;)", "Ljava/lang/Object;"); astore(lVar.getJRegister()); } else { if (child.getType() == TokenStream.GETPROP) { Node getPropChild = child.getFirstChild(); generateCodeFromNode(getPropChild, node, -1, -1); generateCodeFromNode(getPropChild.getNextSibling(), node, -1, -1); aload(variableObjectLocal); addScriptRuntimeInvoke(routine, "(Ljava/lang/Object;Ljava/lang/String;" + "Lorg/mozilla/javascript/Scriptable;)", "Ljava/lang/Object;"); } else { if (child.getType() == TokenStream.GETELEM) { routine += "Elem"; Node getPropChild = child.getFirstChild(); generateCodeFromNode(getPropChild, node, -1, -1); generateCodeFromNode(getPropChild.getNextSibling(), node, -1, -1); aload(variableObjectLocal); addScriptRuntimeInvoke(routine, "(Ljava/lang/Object;Ljava/lang/Object;" + "Lorg/mozilla/javascript/Scriptable;)", "Ljava/lang/Object;"); } else { aload(variableObjectLocal); push(child.getString()); // push name addScriptRuntimeInvoke(routine, "(Lorg/mozilla/javascript/Scriptable;Ljava/lang/String;)", "Ljava/lang/Object;"); } } } } }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/0470e048abb345f567d5fda1e9564715a9f4d5d7/Codegen.java/clean/js/rhino/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3757, 14559, 1799, 12, 907, 756, 16, 1250, 8048, 71, 13, 565, 288, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 309, 261, 2159, 18, 588, 4658, 12, 907, 18, 5127, 9931, 67, 15811, 13, 480, 446, 13, 288, 5411, 12056, 2042, 3092, 328, 1537, 10792, 273, 261, 6179, 2042, 3092, 21433, 3624, 18, 588, 4658, 12, 907, 18, 16444, 67, 15811, 10019, 5411, 309, 261, 80, 1537, 18, 588, 46, 3996, 1435, 422, 300, 21, 13, 7734, 328, 1537, 18, 6145, 46, 3996, 12, 588, 1908, 3944, 4154, 2042, 10663, 5411, 302, 945, 12, 80, 1537, 18, 588, 46, 3996, 10663, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 30387, 22, 1769, 5411, 1817, 12, 21, 18, 20, 1769, 5411, 527, 3216, 1085, 12443, 291, 14559, 13, 692, 3506, 1085, 18, 40, 8355, 294, 3506, 1085, 18, 3948, 3457, 1769, 5411, 27723, 12, 80, 1537, 18, 588, 46, 3996, 10663, 3639, 289, 469, 288, 5411, 12056, 2042, 3092, 328, 1537, 10792, 273, 261, 6179, 2042, 3092, 21433, 3624, 18, 588, 4658, 12, 907, 18, 16444, 67, 15811, 10019, 5411, 514, 12245, 273, 261, 291, 14559, 13, 692, 315, 2767, 10798, 6, 294, 315, 2767, 23326, 475, 14432, 5411, 309, 261, 5332, 5555, 382, 426, 564, 597, 1151, 18, 588, 559, 1435, 422, 3155, 1228, 18, 3264, 7716, 13, 288, 7734, 309, 261, 80, 1537, 422, 446, 13, 5397, 328, 1537, 273, 261, 6179, 2042, 3092, 13, 4153, 18, 588, 3092, 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, 3757, 14559, 1799, 12, 907, 756, 16, 1250, 8048, 71, 13, 565, 288, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 309, 261, 2159, 18, 588, 4658, 12, 907, 18, 5127, 9931, 67, 15811, 13, 480, 446, 13, 288, 5411, 12056, 2042, 3092, 328, 1537, 10792, 273, 261, 6179, 2042, 3092, 21433, 3624, 18, 588, 4658, 12, 907, 18, 16444, 67, 15811, 10019, 5411, 309, 261, 80, 1537, 18, 588, 46, 3996, 1435, 422, 300, 21, 13, 7734, 328, 1537, 18, 6145, 46, 3996, 12, 588, 1908, 3944, 4154, 2042, 10663, 5411, 302, 945, 12, 80, 1537, 18, 588, 46, 3996, 10663, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 30387, 22, 1769, 2 ]
othername = ((String)aInputDirectories.get(i)) + aFileName; f = OpenInputFile(othername, aInputStatus); i++;
if (zipFile != null) { java.util.zip.ZipEntry e = zipFile.getEntry(aFileName); if (e != null) { java.io.InputStream s = zipFile.getInputStream(e); return new StdFileInput(s, aInputStatus); } } if (aFileName.substring(0,4).equals("jar:")) { return new JarInputFile(aFileName, aInputStatus); } else { return new StdFileInput(aFileName, aInputStatus); }
public static LispInput OpenInputFile(LispEnvironment aEnvironment, InputDirectories aInputDirectories, String aFileName, InputStatus aInputStatus) throws Exception { String othername = aFileName; int i = 0; LispInput f = OpenInputFile(othername, aInputStatus); while (f == null && i<aInputDirectories.size()) { othername = ((String)aInputDirectories.get(i)) + aFileName; f = OpenInputFile(othername, aInputStatus); i++; } return f; }
7272 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7272/be94246deecbac70cc4ce6861d9706a7cedcdd2f/LispStandard.java/buggy/JavaYacas/LispStandard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 511, 23831, 1210, 3502, 1210, 812, 12, 48, 23831, 5494, 279, 5494, 16, 1377, 2741, 13071, 279, 1210, 13071, 16, 514, 279, 4771, 16, 1377, 2741, 1482, 279, 1210, 1482, 13, 1216, 1185, 225, 288, 565, 514, 1308, 529, 273, 279, 4771, 31, 565, 509, 277, 273, 374, 31, 565, 511, 23831, 1210, 284, 273, 3502, 1210, 812, 12, 3011, 529, 16, 279, 1210, 1482, 1769, 565, 1323, 261, 74, 422, 446, 597, 277, 32, 69, 1210, 13071, 18, 1467, 10756, 565, 288, 1377, 1308, 529, 273, 14015, 780, 13, 69, 1210, 13071, 18, 588, 12, 77, 3719, 397, 279, 4771, 31, 1377, 284, 273, 3502, 1210, 812, 12, 3011, 529, 16, 279, 1210, 1482, 1769, 1377, 277, 9904, 31, 565, 289, 565, 327, 284, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 511, 23831, 1210, 3502, 1210, 812, 12, 48, 23831, 5494, 279, 5494, 16, 1377, 2741, 13071, 279, 1210, 13071, 16, 514, 279, 4771, 16, 1377, 2741, 1482, 279, 1210, 1482, 13, 1216, 1185, 225, 288, 565, 514, 1308, 529, 273, 279, 4771, 31, 565, 509, 277, 273, 374, 31, 565, 511, 23831, 1210, 284, 273, 3502, 1210, 812, 12, 3011, 529, 16, 279, 1210, 1482, 1769, 565, 1323, 261, 74, 422, 446, 597, 277, 32, 69, 1210, 13071, 18, 1467, 10756, 565, 288, 1377, 1308, 529, 273, 14015, 780, 13, 69, 1210, 13071, 18, 588, 12, 77, 3719, 397, 279, 4771, 31, 1377, 284, 273, 3502, 1210, 812, 12, 3011, 529, 16, 279, 1210, 1482, 1769, 2 ]
File[] roots = (File[])rootList.toArray( new File[rootList.size()] ); return roots;
return (File[])rootList.toArray( new File[rootList.size()] );
private File[] getRoots() { String rootpaths = Imcms.getServices().getConfig().getFileAdminRootPaths(); List rootList = new ArrayList(); if ( rootpaths != null ) { StringTokenizer st = new StringTokenizer( rootpaths, ":;" ); int tokenCount = st.countTokens(); for ( int i = 0; i < tokenCount; i++ ) { String oneRoot = st.nextToken().trim(); File oneRootFile = FileUtility.getFileFromWebappRelativePath( oneRoot ); if ( oneRootFile.isDirectory() ) { rootList.add( oneRootFile ); } } } File[] roots = (File[])rootList.toArray( new File[rootList.size()] ); return roots; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/e5c56826e052da882fd637db26e8d74de6ceef44/FileAdmin.java/buggy/server/src/com/imcode/imcms/servlet/superadmin/FileAdmin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1387, 8526, 7656, 87, 1435, 288, 3639, 514, 1365, 4481, 273, 2221, 6851, 18, 588, 5676, 7675, 588, 809, 7675, 29925, 4446, 2375, 4466, 5621, 3639, 987, 1365, 682, 273, 394, 2407, 5621, 3639, 309, 261, 1365, 4481, 480, 446, 262, 288, 5411, 16370, 384, 273, 394, 16370, 12, 1365, 4481, 16, 6398, 4868, 11272, 5411, 509, 1147, 1380, 273, 384, 18, 1883, 5157, 5621, 5411, 364, 261, 509, 277, 273, 374, 31, 277, 411, 1147, 1380, 31, 277, 9904, 262, 288, 7734, 514, 1245, 2375, 273, 384, 18, 4285, 1345, 7675, 5290, 5621, 7734, 1387, 1245, 2375, 812, 273, 1387, 6497, 18, 29925, 1265, 4079, 2910, 16519, 12, 1245, 2375, 11272, 7734, 309, 261, 1245, 2375, 812, 18, 291, 2853, 1435, 262, 288, 10792, 1365, 682, 18, 1289, 12, 1245, 2375, 812, 11272, 7734, 289, 5411, 289, 3639, 289, 3639, 1387, 8526, 12876, 273, 261, 812, 63, 5717, 3085, 682, 18, 31447, 12, 394, 1387, 63, 3085, 682, 18, 1467, 1435, 65, 11272, 3639, 327, 12876, 31, 565, 289, 2, 0, 0, 0, 0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, 1387, 8526, 7656, 87, 1435, 288, 3639, 514, 1365, 4481, 273, 2221, 6851, 18, 588, 5676, 7675, 588, 809, 7675, 29925, 4446, 2375, 4466, 5621, 3639, 987, 1365, 682, 273, 394, 2407, 5621, 3639, 309, 261, 1365, 4481, 480, 446, 262, 288, 5411, 16370, 384, 273, 394, 16370, 12, 1365, 4481, 16, 6398, 4868, 11272, 5411, 509, 1147, 1380, 273, 384, 18, 1883, 5157, 5621, 5411, 364, 261, 509, 277, 273, 374, 31, 277, 411, 1147, 1380, 31, 277, 9904, 262, 288, 7734, 514, 1245, 2375, 273, 384, 18, 4285, 1345, 7675, 5290, 5621, 7734, 1387, 1245, 2375, 812, 273, 1387, 6497, 18, 29925, 1265, 4079, 2910, 16519, 12, 1245, 2375, 11272, 7734, 309, 261, 1245, 2375, 2 ]
theDataPackage.initializePackageContents(); theModelPackage.initializePackageContents();
public static ComponentPackage init() { if (isInited) return (ComponentPackage)EPackage.Registry.INSTANCE.getEPackage(ComponentPackage.eNS_URI); // Obtain or create and register package ComponentPackageImpl theComponentPackage = (ComponentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof ComponentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new ComponentPackageImpl()); isInited = true; // Initialize simple dependencies XMLTypePackageImpl.init(); // Obtain or create and register interdependencies AttributePackageImpl theAttributePackage = (AttributePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributePackage.eNS_URI) instanceof AttributePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributePackage.eNS_URI) : AttributePackageImpl.eINSTANCE); TypePackageImpl theTypePackage = (TypePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TypePackage.eNS_URI) instanceof TypePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TypePackage.eNS_URI) : TypePackageImpl.eINSTANCE); LayoutPackageImpl theLayoutPackage = (LayoutPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LayoutPackage.eNS_URI) instanceof LayoutPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LayoutPackage.eNS_URI) : LayoutPackageImpl.eINSTANCE); DataPackageImpl theDataPackage = (DataPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DataPackage.eNS_URI) instanceof DataPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DataPackage.eNS_URI) : DataPackageImpl.eINSTANCE); ModelPackageImpl theModelPackage = (ModelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI) instanceof ModelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI) : ModelPackageImpl.eINSTANCE); // Create package meta-data objects theComponentPackage.createPackageContents(); theAttributePackage.createPackageContents(); theTypePackage.createPackageContents(); theLayoutPackage.createPackageContents(); theDataPackage.createPackageContents(); theModelPackage.createPackageContents(); // Initialize created meta-data theComponentPackage.initializePackageContents(); theAttributePackage.initializePackageContents(); theTypePackage.initializePackageContents(); theLayoutPackage.initializePackageContents(); theDataPackage.initializePackageContents(); theModelPackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed theComponentPackage.freeze(); return theComponentPackage; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/ComponentPackageImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/ComponentPackageImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 5435, 2261, 1208, 1435, 565, 288, 3639, 309, 261, 291, 2570, 329, 13, 327, 261, 1841, 2261, 13, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 1841, 2261, 18, 73, 3156, 67, 3098, 1769, 3639, 368, 24850, 578, 752, 471, 1744, 2181, 3639, 5435, 2261, 2828, 326, 1841, 2261, 273, 261, 1841, 2261, 2828, 21433, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 73, 3156, 67, 3098, 13, 1276, 5435, 2261, 2828, 692, 10682, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 73, 3156, 67, 3098, 13, 294, 394, 5435, 2261, 2828, 10663, 3639, 353, 2570, 329, 273, 638, 31, 3639, 368, 9190, 4143, 5030, 3639, 3167, 559, 2261, 2828, 18, 2738, 5621, 3639, 368, 24850, 578, 752, 471, 1744, 1554, 11037, 3639, 3601, 2261, 2828, 326, 1499, 2261, 273, 261, 1499, 2261, 2828, 21433, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 1499, 2261, 18, 73, 3156, 67, 3098, 13, 1276, 3601, 2261, 2828, 692, 10682, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 1499, 2261, 18, 73, 3156, 67, 3098, 13, 294, 3601, 2261, 2828, 18, 73, 13341, 1769, 3639, 1412, 2261, 2828, 326, 559, 2261, 273, 261, 559, 2261, 2828, 21433, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 559, 2261, 18, 73, 3156, 67, 3098, 13, 1276, 1412, 2261, 2828, 692, 10682, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 559, 2261, 18, 73, 3156, 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, 5435, 2261, 1208, 1435, 565, 288, 3639, 309, 261, 291, 2570, 329, 13, 327, 261, 1841, 2261, 13, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 1841, 2261, 18, 73, 3156, 67, 3098, 1769, 3639, 368, 24850, 578, 752, 471, 1744, 2181, 3639, 5435, 2261, 2828, 326, 1841, 2261, 273, 261, 1841, 2261, 2828, 21433, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 73, 3156, 67, 3098, 13, 1276, 5435, 2261, 2828, 692, 10682, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 73, 3156, 67, 3098, 13, 294, 394, 5435, 2261, 2828, 10663, 3639, 353, 2570, 329, 273, 638, 31, 3639, 368, 9190, 4143, 5030, 3639, 3167, 559, 2261, 2 ]
int elementIndex = getElementDeclIndex( elementName, -1 );
int elementIndex = getElementDeclIndex(elementName);
public void attributeDecl(String elementName, String attributeName, String type, String[] enumeration, String defaultType, XMLString defaultValue, XMLString nonNormalizedDefaultValue, Augmentations augs) throws XNIException { if ( this.fElementDeclTab.containsKey( (String) elementName) ) { //if ElementDecl has already being created in the Grammar then remove from table, //this.fElementDeclTab.remove( (String) elementName ); } // then it is forward reference to a element decl, create the elementDecl first. else { fCurrentElementIndex = createElementDecl();//create element decl XMLElementDecl elementDecl = new XMLElementDecl(); elementDecl.name.setValues(null, elementName, elementName, null); elementDecl.scope= -1; //add(or set) this elementDecl to the local cache this.fElementDeclTab.put(elementName, elementDecl ); //set internal structure setElementDecl(fCurrentElementIndex, elementDecl ); } //Get Grammar index to grammar array int elementIndex = getElementDeclIndex( elementName, -1 ); //return, when more than one definition is provided for the same attribute of given element type //only the first declaration is binding and later declarations are ignored if (getAttributeDeclIndex(elementIndex, attributeName) != -1) { return; } fCurrentAttributeIndex = createAttributeDecl();// Create current Attribute Decl fSimpleType.clear(); if ( defaultType != null ) { if ( defaultType.equals( "#FIXED") ) { fSimpleType.defaultType = fSimpleType.DEFAULT_TYPE_FIXED; } else if ( defaultType.equals( "#IMPLIED") ) { fSimpleType.defaultType = fSimpleType.DEFAULT_TYPE_IMPLIED; } else if ( defaultType.equals( "#REQUIRED") ) { fSimpleType.defaultType = fSimpleType.DEFAULT_TYPE_REQUIRED; } } if ( DEBUG ) { System.out.println("defaultvalue = " + defaultValue.toString() ); } fSimpleType.defaultValue = defaultValue!=null ? defaultValue.toString() : null; fSimpleType.nonNormalizedDefaultValue = nonNormalizedDefaultValue!=null ? nonNormalizedDefaultValue.toString() : null; fSimpleType.enumeration = enumeration; Hashtable facets = new Hashtable(); if (type.equals("CDATA")) { fSimpleType.type = XMLSimpleType.TYPE_CDATA; } else if ( type.equals("ID") ) { fSimpleType.type = XMLSimpleType.TYPE_ID; } else if ( type.startsWith("IDREF") ) { fSimpleType.type = XMLSimpleType.TYPE_IDREF; if (type.indexOf("S") > 0) { fSimpleType.list = true; } } else if (type.equals("ENTITIES")) { fSimpleType.type = XMLSimpleType.TYPE_ENTITY; fSimpleType.list = true; } else if (type.equals("ENTITY")) { fSimpleType.type = XMLSimpleType.TYPE_ENTITY; } else if (type.equals("NMTOKENS")) { fSimpleType.type = XMLSimpleType.TYPE_NMTOKEN; fSimpleType.list = true; } else if (type.equals("NMTOKEN")) { fSimpleType.type = XMLSimpleType.TYPE_NMTOKEN; } else if (type.startsWith("NOTATION") ) { fSimpleType.type = XMLSimpleType.TYPE_NOTATION; /*** facets.put(SchemaSymbols.ELT_ENUMERATION, fSimpleType.enumeration); /***/ // REVISIT: Is this a bug? -Ac facets.put("enumeration", fSimpleType.enumeration); /***/ } else if (type.startsWith("ENUMERATION") ) { fSimpleType.type = XMLSimpleType.TYPE_ENUMERATION; /*** facets.put(SchemaSymbols.ELT_ENUMERATION, fSimpleType.enumeration); /***/ facets.put("enumeration", fSimpleType.enumeration); /***/ } else { // REVISIT: Report error message. -Ac System.err.println("!!! unknown attribute type "+type); } // REVISIT: The datatype should be stored with the attribute value // and not special-cased in the XMLValidator. -Ac //fSimpleType.datatypeValidator = fDatatypeValidatorFactory.createDatatypeValidator(type, null, facets, fSimpleType.list); fQName.setValues(null, attributeName, attributeName, null); fAttributeDecl.setValues( fQName, fSimpleType, false ); setAttributeDecl(elementIndex, fCurrentAttributeIndex, fAttributeDecl); int chunk = fCurrentAttributeIndex >> CHUNK_SHIFT; int index = fCurrentAttributeIndex & CHUNK_MASK; ensureAttributeDeclCapacity(chunk); fAttributeDeclIsExternal[chunk][index] = fReadingExternalDTD ? 1 : 0; } // attributeDecl(String,String,String,String[],String,XMLString,XMLString, Augmentations)
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/36f83a9a264468b4c48704319105a07fc36f7d2f/DTDGrammar.java/buggy/src/org/apache/xerces/impl/dtd/DTDGrammar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1566, 3456, 12, 780, 14453, 16, 514, 9734, 16, 17311, 514, 618, 16, 514, 8526, 16836, 16, 17311, 514, 805, 559, 16, 3167, 780, 4593, 16, 17311, 3167, 780, 1661, 15577, 15646, 16, 432, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 309, 261, 333, 18, 74, 1046, 3456, 5661, 18, 12298, 653, 12, 261, 780, 13, 14453, 13, 262, 288, 5411, 368, 430, 3010, 3456, 711, 1818, 3832, 2522, 316, 326, 27809, 1508, 1206, 628, 1014, 16, 5411, 368, 2211, 18, 74, 1046, 3456, 5661, 18, 4479, 12, 261, 780, 13, 14453, 11272, 3639, 289, 3639, 368, 1508, 518, 353, 5104, 2114, 358, 279, 930, 3496, 16, 752, 326, 930, 3456, 1122, 18, 3639, 469, 288, 5411, 284, 3935, 1046, 1016, 273, 6310, 3456, 5621, 759, 2640, 930, 3496, 5411, 1139, 11155, 3456, 930, 3456, 4202, 273, 394, 1139, 11155, 3456, 5621, 5411, 930, 3456, 18, 529, 18, 542, 1972, 12, 2011, 16, 14453, 16, 14453, 16, 446, 1769, 5411, 930, 3456, 18, 4887, 33, 300, 21, 31, 5411, 368, 1289, 12, 280, 444, 13, 333, 930, 3456, 358, 326, 1191, 1247, 5411, 333, 18, 74, 1046, 3456, 5661, 18, 458, 12, 2956, 461, 16, 930, 3456, 11272, 5411, 368, 542, 2713, 3695, 5411, 26692, 3456, 12, 74, 3935, 1046, 1016, 16, 930, 3456, 11272, 3639, 289, 3639, 368, 967, 27809, 770, 358, 6473, 526, 3639, 509, 930, 1016, 4202, 273, 7426, 3456, 1016, 12, 2956, 461, 1769, 3639, 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, 1566, 3456, 12, 780, 14453, 16, 514, 9734, 16, 17311, 514, 618, 16, 514, 8526, 16836, 16, 17311, 514, 805, 559, 16, 3167, 780, 4593, 16, 17311, 3167, 780, 1661, 15577, 15646, 16, 432, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 309, 261, 333, 18, 74, 1046, 3456, 5661, 18, 12298, 653, 12, 261, 780, 13, 14453, 13, 262, 288, 5411, 368, 430, 3010, 3456, 711, 1818, 3832, 2522, 316, 326, 27809, 1508, 1206, 628, 1014, 16, 5411, 368, 2211, 18, 74, 1046, 3456, 5661, 18, 4479, 12, 261, 780, 13, 14453, 11272, 3639, 289, 3639, 368, 1508, 518, 353, 5104, 2114, 358, 279, 930, 3496, 16, 752, 326, 930, 3456, 2 ]
astFactory.addASTChild(currentAST, returnAST); unaryExpression_AST = (AST)currentAST.root;
if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } if ( inputState.guessing==0 ) { unaryExpression_AST = (AST)currentAST.root; }
public final void unaryExpression() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST unaryExpression_AST = null; switch ( LA(1)) { case INC: { AST tmp322_AST = null; tmp322_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp322_AST); match(INC); nls(); unaryExpression(); astFactory.addASTChild(currentAST, returnAST); unaryExpression_AST = (AST)currentAST.root; break; } case DEC: { AST tmp323_AST = null; tmp323_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp323_AST); match(DEC); nls(); unaryExpression(); astFactory.addASTChild(currentAST, returnAST); unaryExpression_AST = (AST)currentAST.root; break; } case MINUS: { AST tmp324_AST = null; tmp324_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp324_AST); match(MINUS); if ( inputState.guessing==0 ) { tmp324_AST.setType(UNARY_MINUS); } nls(); unaryExpression(); astFactory.addASTChild(currentAST, returnAST); unaryExpression_AST = (AST)currentAST.root; break; } case PLUS: { AST tmp325_AST = null; tmp325_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp325_AST); match(PLUS); if ( inputState.guessing==0 ) { tmp325_AST.setType(UNARY_PLUS); } nls(); unaryExpression(); astFactory.addASTChild(currentAST, returnAST); unaryExpression_AST = (AST)currentAST.root; break; } case IDENT: case LBRACK: case LPAREN: case LITERAL_super: case LCURLY: case LITERAL_this: case STRING_LITERAL: case BNOT: case LNOT: case DOLLAR: case STRING_CTOR_START: case LITERAL_new: case LITERAL_true: case LITERAL_false: case LITERAL_null: case NUM_INT: case NUM_FLOAT: case NUM_LONG: case NUM_DOUBLE: case NUM_BIG_INT: case NUM_BIG_DECIMAL: { unaryExpressionNotPlusMinus(); astFactory.addASTChild(currentAST, returnAST); unaryExpression_AST = (AST)currentAST.root; break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = unaryExpression_AST; }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/27957314a380e54096257a6753ad9d316ee78892/GroovyRecognizer.java/buggy/src/main/org/codehaus/groovy/antlr/parser/GroovyRecognizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 19017, 2300, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 19017, 2300, 67, 9053, 273, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 2120, 39, 30, 202, 202, 95, 1082, 202, 9053, 1853, 1578, 22, 67, 9053, 273, 446, 31, 1082, 202, 5645, 1578, 22, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 6540, 9053, 2375, 12, 2972, 9053, 16, 1853, 1578, 22, 67, 9053, 1769, 1082, 202, 1916, 12, 23213, 1769, 1082, 202, 82, 3251, 5621, 1082, 202, 318, 814, 2300, 5621, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 1082, 202, 318, 814, 2300, 67, 9053, 273, 261, 9053, 13, 2972, 9053, 18, 3085, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 2030, 39, 30, 202, 202, 95, 1082, 202, 9053, 1853, 1578, 23, 67, 9053, 273, 446, 31, 1082, 202, 5645, 1578, 23, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 6540, 9053, 2375, 12, 2972, 9053, 16, 1853, 1578, 23, 67, 9053, 1769, 1082, 202, 1916, 12, 1639, 39, 1769, 1082, 202, 82, 3251, 5621, 1082, 202, 318, 814, 2300, 5621, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 19017, 2300, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 19017, 2300, 67, 9053, 273, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 2120, 39, 30, 202, 202, 95, 1082, 202, 9053, 1853, 1578, 22, 67, 9053, 273, 446, 31, 1082, 202, 5645, 1578, 22, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 6540, 9053, 2375, 12, 2972, 9053, 16, 1853, 1578, 22, 67, 9053, 1769, 1082, 202, 1916, 12, 23213, 1769, 1082, 202, 82, 3251, 5621, 1082, 2 ]
for ( int nextId = game.getNextEntityNum(getLocalPlayer(), entNum);
for ( int nextId = game.getNextEntityNum(entNum);
public void calculateMoveTurn() { // for each of my units that haven't moved yet, // figure out what the best move would be. // then take the move with the lowest absolute value // and do it first. int entNum = game.getFirstEntityNum(getLocalPlayer()); int first = entNum; boolean infMoveLast = game.getOptions().booleanOption("inf_move_last"); boolean infMoveMulti = game.getOptions().booleanOption("inf_move_multi"); MoveOption opt = null; int theEnt = -1; do { // Are we moving a non-Infantry entity in // the middle of an Infantry move block? if ( infMoveMulti && (turnInfMoved % Game.INF_MOVE_MULTI) > 0 && !(game.getEntity(entNum) instanceof Infantry) ) { // Does this player still have infantry to move? if ( game.hasInfantry(this.local_pn) ) { // Yup. Ignore this entity and check the next one. entNum = game.getNextEntityNum(getLocalPlayer(), entNum); continue; } else { // Nope. Reset the infantry counter. turnInfMoved = 0; } } // End check-inf_move_multi // If infantry move last, and the current entity is Infantry, then // make sure that all other entities for the player have moved. else if ( infMoveLast && turnInfMoved == 0 && (game.getEntity(entNum) instanceof Infantry) ) { // Walk through the list of entities for this player. for ( int nextId = game.getNextEntityNum(getLocalPlayer(), entNum); nextId != entNum; nextId = game.getNextEntityNum(getLocalPlayer(), nextId) ) { // If we find a non-Infantry entity, // move it instead, and stop looping. if ( !(game.getEntity(nextId) instanceof Infantry) ) { entNum = nextId; break; } } // Check the player's next entity. } // End check-inf_move_last MoveOption mo = calculateBestMove(entNum); sendChat("Could move " + game.getEntity(entNum).getShortName() + " with " + mo.moves + ": dmg " + mo.damagePotential + ", threat " + mo.threat); if (opt == null) { opt = mo; theEnt = entNum; } else if (Math.abs(mo.value()) < Math.abs(opt.value())) { opt = mo; theEnt = entNum; } entNum = game.getNextEntityNum(getLocalPlayer(), entNum); } while (entNum != -1 && entNum != first); // If we're moving an infantry unit, increment the counter. if ( game.getEntity(theEnt) instanceof Infantry ) { turnInfMoved++; } // okay, now we've got a move -- submit it sendChat("Move " + game.getEntity(theEnt).getShortName() + ": " + opt.moves); moveEntity(theEnt, opt.moves); }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/4477a26e4a82c5d3e8c4c6cf18a29b72cbfcba69/BotClient.java/buggy/megamek/src/megamek/client/bot/BotClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 1071, 918, 4604, 7607, 15858, 1435, 377, 288, 3639, 368, 364, 1517, 434, 3399, 4971, 716, 15032, 1404, 10456, 4671, 16, 3639, 368, 7837, 596, 4121, 326, 3796, 3635, 4102, 506, 18, 5375, 368, 1508, 4862, 326, 3635, 598, 326, 11981, 4967, 460, 540, 368, 471, 741, 518, 1122, 18, 540, 509, 3281, 2578, 273, 7920, 18, 588, 3759, 1943, 2578, 12, 588, 2042, 12148, 10663, 540, 509, 1122, 273, 3281, 2578, 31, 202, 6494, 8286, 7607, 3024, 273, 7920, 18, 588, 1320, 7675, 6494, 1895, 2932, 10625, 67, 8501, 67, 2722, 8863, 202, 6494, 8286, 7607, 5002, 273, 7920, 18, 588, 1320, 7675, 6494, 1895, 2932, 10625, 67, 8501, 67, 7027, 8863, 540, 9933, 1895, 2153, 273, 446, 31, 540, 509, 326, 14199, 273, 300, 21, 31, 540, 741, 288, 202, 377, 368, 12520, 732, 12499, 279, 1661, 17, 13149, 304, 698, 1522, 316, 202, 377, 368, 326, 7689, 434, 392, 13648, 304, 698, 3635, 1203, 35, 202, 377, 309, 261, 8286, 7607, 5002, 597, 261, 20922, 13149, 25317, 738, 14121, 18, 19212, 67, 16537, 67, 26588, 13, 405, 374, 597, 1082, 225, 401, 12, 13957, 18, 588, 1943, 12, 319, 2578, 13, 1276, 13648, 304, 698, 13, 262, 288, 1082, 368, 9637, 333, 7291, 4859, 1240, 8286, 304, 698, 358, 3635, 35, 1082, 309, 261, 7920, 18, 5332, 13149, 304, 698, 12, 2211, 18, 3729, 67, 7449, 13, 262, 288, 1082, 377, 368, 1624, 416, 18, 225, 8049, 333, 1522, 471, 866, 326, 1024, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 1071, 918, 4604, 7607, 15858, 1435, 377, 288, 3639, 368, 364, 1517, 434, 3399, 4971, 716, 15032, 1404, 10456, 4671, 16, 3639, 368, 7837, 596, 4121, 326, 3796, 3635, 4102, 506, 18, 5375, 368, 1508, 4862, 326, 3635, 598, 326, 11981, 4967, 460, 540, 368, 471, 741, 518, 1122, 18, 540, 509, 3281, 2578, 273, 7920, 18, 588, 3759, 1943, 2578, 12, 588, 2042, 12148, 10663, 540, 509, 1122, 273, 3281, 2578, 31, 202, 6494, 8286, 7607, 3024, 273, 7920, 18, 588, 1320, 7675, 6494, 1895, 2932, 10625, 67, 8501, 67, 2722, 8863, 202, 6494, 8286, 7607, 5002, 273, 7920, 18, 588, 1320, 7675, 6494, 1895, 2932, 10625, 67, 8501, 67, 7027, 8863, 540, 9933, 1895, 2153, 273, 2 ]
registerGlobalAction(activateEditorAction);
register(activateEditorAction);
private void makeActions(IWorkbenchConfigurer workbenchConfigurer, IActionBarConfigurer actionBarConfigurer) { // The actions in jface do not have menu vs. enable, vs. disable vs. color // There are actions in here being passed the workbench - problem setCurrentActionBarConfigurer(actionBarConfigurer); // @issue should obtain from ConfigurationItemFactory statusLineItem = new StatusLineContributionItem("ModeContributionItem"); //$NON-NLS-1$ newWizardAction = ActionFactory.NEW.create(getWindow()); registerGlobalAction(newWizardAction); newWizardDropDownAction = IDEActionFactory.NEW_WIZARD_DROP_DOWN .create(getWindow()); importResourcesAction = ActionFactory.IMPORT.create(getWindow()); registerGlobalAction(importResourcesAction); exportResourcesAction = ActionFactory.EXPORT.create(getWindow()); registerGlobalAction(exportResourcesAction); buildAllAction = IDEActionFactory.BUILD.create(getWindow()); registerGlobalAction(buildAllAction); cleanAction = IDEActionFactory.BUILD_CLEAN.create(getWindow()); registerGlobalAction(cleanAction); toggleAutoBuildAction = IDEActionFactory.BUILD_AUTOMATICALLY .create(getWindow()); registerGlobalAction(toggleAutoBuildAction); saveAction = ActionFactory.SAVE.create(getWindow()); registerGlobalAction(saveAction); saveAsAction = ActionFactory.SAVE_AS.create(getWindow()); registerGlobalAction(saveAsAction); saveAllAction = ActionFactory.SAVE_ALL.create(getWindow()); registerGlobalAction(saveAllAction); undoAction = ActionFactory.UNDO.create(getWindow()); registerGlobalAction(undoAction); redoAction = ActionFactory.REDO.create(getWindow()); registerGlobalAction(redoAction); cutAction = ActionFactory.CUT.create(getWindow()); registerGlobalAction(cutAction); copyAction = ActionFactory.COPY.create(getWindow()); registerGlobalAction(copyAction); pasteAction = ActionFactory.PASTE.create(getWindow()); registerGlobalAction(pasteAction); printAction = ActionFactory.PRINT.create(getWindow()); registerGlobalAction(printAction); selectAllAction = ActionFactory.SELECT_ALL.create(getWindow()); registerGlobalAction(selectAllAction); findAction = ActionFactory.FIND.create(getWindow()); registerGlobalAction(findAction); closeAction = ActionFactory.CLOSE.create(getWindow()); registerGlobalAction(closeAction); closeAllAction = ActionFactory.CLOSE_ALL.create(getWindow()); registerGlobalAction(closeAllAction); closeAllSavedAction = ActionFactory.CLOSE_ALL_SAVED.create(getWindow()); registerGlobalAction(closeAllSavedAction); helpContentsAction = ActionFactory.HELP_CONTENTS.create(getWindow()); registerGlobalAction(helpContentsAction); aboutAction = ActionFactory.ABOUT.create(getWindow()); aboutAction .setImageDescriptor(IDEInternalWorkbenchImages .getImageDescriptor(IDEInternalWorkbenchImages.IMG_OBJS_DEFAULT_PROD)); registerGlobalAction(aboutAction); openPreferencesAction = ActionFactory.PREFERENCES.create(getWindow()); registerGlobalAction(openPreferencesAction); addBookmarkAction = IDEActionFactory.BOOKMARK.create(getWindow()); registerGlobalAction(addBookmarkAction); addTaskAction = IDEActionFactory.ADD_TASK.create(getWindow()); registerGlobalAction(addTaskAction); deleteAction = ActionFactory.DELETE.create(getWindow()); registerGlobalAction(deleteAction); AboutInfo[] infos = IDEWorkbenchPlugin.getDefault().getFeatureInfos(); // See if a welcome page is specified for (int i = 0; i < infos.length; i++) { if (infos[i].getWelcomePageURL() != null) { quickStartAction = IDEActionFactory.QUICK_START .create(getWindow()); registerGlobalAction(quickStartAction); break; } } // See if a tips and tricks page is specified for (int i = 0; i < infos.length; i++) { if (infos[i].getTipsAndTricksHref() != null) { tipsAndTricksAction = IDEActionFactory.TIPS_AND_TRICKS .create(getWindow()); registerGlobalAction(tipsAndTricksAction); break; } } // Actions for invisible accelerators showViewMenuAction = ActionFactory.SHOW_VIEW_MENU.create(getWindow()); registerGlobalAction(showViewMenuAction); showPartPaneMenuAction = ActionFactory.SHOW_PART_PANE_MENU .create(getWindow()); registerGlobalAction(showPartPaneMenuAction); nextEditorAction = ActionFactory.NEXT_EDITOR.create(getWindow()); prevEditorAction = ActionFactory.PREVIOUS_EDITOR.create(getWindow()); ActionFactory.linkCycleActionPair(nextEditorAction, prevEditorAction); registerGlobalAction(nextEditorAction); registerGlobalAction(prevEditorAction); nextPartAction = ActionFactory.NEXT_PART.create(getWindow()); prevPartAction = ActionFactory.PREVIOUS_PART.create(getWindow()); ActionFactory.linkCycleActionPair(nextPartAction, prevPartAction); registerGlobalAction(nextPartAction); registerGlobalAction(prevPartAction); nextPerspectiveAction = ActionFactory.NEXT_PERSPECTIVE .create(getWindow()); prevPerspectiveAction = ActionFactory.PREVIOUS_PERSPECTIVE .create(getWindow()); ActionFactory.linkCycleActionPair(nextPerspectiveAction, prevPerspectiveAction); registerGlobalAction(nextPerspectiveAction); registerGlobalAction(prevPerspectiveAction); activateEditorAction = ActionFactory.ACTIVATE_EDITOR .create(getWindow()); registerGlobalAction(activateEditorAction); maximizePartAction = ActionFactory.MAXIMIZE.create(getWindow()); registerGlobalAction(maximizePartAction); minimizePartAction = ActionFactory.MINIMIZE.create(getWindow()); registerGlobalAction(minimizePartAction); workbenchEditorsAction = ActionFactory.SHOW_OPEN_EDITORS .create(getWindow()); registerGlobalAction(workbenchEditorsAction); workbookEditorsAction = ActionFactory.SHOW_WORKBOOK_EDITORS .create(getWindow()); registerGlobalAction(workbookEditorsAction); hideShowEditorAction = ActionFactory.SHOW_EDITOR.create(getWindow()); registerGlobalAction(hideShowEditorAction); savePerspectiveAction = ActionFactory.SAVE_PERSPECTIVE .create(getWindow()); registerGlobalAction(savePerspectiveAction); editActionSetAction = ActionFactory.EDIT_ACTION_SETS .create(getWindow()); registerGlobalAction(editActionSetAction); lockToolBarAction = ActionFactory.LOCK_TOOL_BAR.create(getWindow()); registerGlobalAction(lockToolBarAction); resetPerspectiveAction = ActionFactory.RESET_PERSPECTIVE .create(getWindow()); registerGlobalAction(resetPerspectiveAction); closePerspAction = ActionFactory.CLOSE_PERSPECTIVE.create(getWindow()); registerGlobalAction(closePerspAction); closeAllPerspsAction = ActionFactory.CLOSE_ALL_PERSPECTIVES .create(getWindow()); registerGlobalAction(closeAllPerspsAction); forwardHistoryAction = ActionFactory.FORWARD_HISTORY .create(getWindow()); registerGlobalAction(forwardHistoryAction); backwardHistoryAction = ActionFactory.BACKWARD_HISTORY .create(getWindow()); registerGlobalAction(backwardHistoryAction); revertAction = ActionFactory.REVERT.create(getWindow()); registerGlobalAction(revertAction); refreshAction = ActionFactory.REFRESH.create(getWindow()); registerGlobalAction(refreshAction); propertiesAction = ActionFactory.PROPERTIES.create(getWindow()); registerGlobalAction(propertiesAction); quitAction = ActionFactory.QUIT.create(getWindow()); registerGlobalAction(quitAction); moveAction = ActionFactory.MOVE.create(getWindow()); registerGlobalAction(moveAction); renameAction = ActionFactory.RENAME.create(getWindow()); registerGlobalAction(renameAction); goIntoAction = ActionFactory.GO_INTO.create(getWindow()); registerGlobalAction(goIntoAction); backAction = ActionFactory.BACK.create(getWindow()); registerGlobalAction(backAction); forwardAction = ActionFactory.FORWARD.create(getWindow()); registerGlobalAction(forwardAction); upAction = ActionFactory.UP.create(getWindow()); registerGlobalAction(upAction); nextAction = ActionFactory.NEXT.create(getWindow()); nextAction .setImageDescriptor(IDEInternalWorkbenchImages .getImageDescriptor(IDEInternalWorkbenchImages.IMG_ETOOL_NEXT_NAV)); registerGlobalAction(nextAction); previousAction = ActionFactory.PREVIOUS.create(getWindow()); previousAction .setImageDescriptor(IDEInternalWorkbenchImages .getImageDescriptor(IDEInternalWorkbenchImages.IMG_ETOOL_PREVIOUS_NAV)); registerGlobalAction(previousAction); buildProjectAction = IDEActionFactory.BUILD_PROJECT.create(getWindow()); registerGlobalAction(buildProjectAction); openProjectAction = IDEActionFactory.OPEN_PROJECT.create(getWindow()); registerGlobalAction(openProjectAction); closeProjectAction = IDEActionFactory.CLOSE_PROJECT.create(getWindow()); registerGlobalAction(closeProjectAction); openWorkspaceAction = IDEActionFactory.OPEN_WORKSPACE .create(getWindow()); registerGlobalAction(openWorkspaceAction); projectPropertyDialogAction = IDEActionFactory.OPEN_PROJECT_PROPERTIES .create(getWindow()); registerGlobalAction(projectPropertyDialogAction); if (getWindow().getWorkbench().getIntroManager().hasIntro()) { introAction = ActionFactory.INTRO.create(window); registerGlobalAction(introAction); } final String showInQuickMenuId = "org.eclipse.ui.navigate.showInQuickMenu"; //$NON-NLS-1$ showInQuickMenu = new QuickMenuAction(showInQuickMenuId) { protected void fillMenu(IMenuManager menu) { menu.add(ContributionItemFactory.VIEWS_SHOW_IN .create(getWindow())); } }; registerGlobalAction(showInQuickMenu); final String newQuickMenuId = "org.eclipse.ui.file.newQuickMenu"; //$NON-NLS-1$ newQuickMenu = new QuickMenuAction(newQuickMenuId) { protected void fillMenu(IMenuManager menu) { menu.add(new NewWizardMenu(getWindow())); } }; registerGlobalAction(newQuickMenu); pinEditorContributionItem = ContributionItemFactory.PIN_EDITOR .create(getWindow()); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/02a63c83a96f095b44f6c4a9bd0de64e8b842628/WorkbenchActionBuilder.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1221, 6100, 12, 45, 2421, 22144, 809, 11278, 1440, 22144, 809, 11278, 16, 5411, 467, 1803, 5190, 809, 11278, 1301, 5190, 809, 11278, 13, 288, 3639, 368, 1021, 4209, 316, 525, 865, 741, 486, 1240, 3824, 6195, 18, 4237, 16, 6195, 18, 4056, 6195, 18, 2036, 3639, 368, 6149, 854, 4209, 316, 2674, 3832, 2275, 326, 1440, 22144, 300, 6199, 540, 12589, 1803, 5190, 809, 11278, 12, 1128, 5190, 809, 11278, 1769, 3639, 368, 632, 13882, 1410, 7161, 628, 4659, 1180, 1733, 3639, 1267, 30038, 273, 394, 2685, 1670, 442, 4027, 1180, 2932, 2309, 442, 4027, 1180, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 394, 27130, 1803, 273, 4382, 1733, 18, 12917, 18, 2640, 12, 588, 3829, 10663, 3639, 1744, 5160, 1803, 12, 2704, 27130, 1803, 1769, 3639, 394, 27130, 7544, 4164, 1803, 273, 1599, 41, 1803, 1733, 18, 12917, 67, 59, 6867, 8085, 67, 18768, 67, 12711, 7734, 263, 2640, 12, 588, 3829, 10663, 3639, 1930, 3805, 1803, 273, 4382, 1733, 18, 20445, 18, 2640, 12, 588, 3829, 10663, 3639, 1744, 5160, 1803, 12, 5666, 3805, 1803, 1769, 3639, 3359, 3805, 1803, 273, 4382, 1733, 18, 31275, 18, 2640, 12, 588, 3829, 10663, 3639, 1744, 5160, 1803, 12, 6530, 3805, 1803, 1769, 3639, 1361, 1595, 1803, 273, 1599, 41, 1803, 1733, 18, 20215, 18, 2640, 12, 588, 3829, 10663, 3639, 1744, 5160, 1803, 12, 3510, 1595, 1803, 1769, 3639, 2721, 1803, 273, 1599, 41, 1803, 1733, 18, 20215, 67, 39, 10439, 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, 1221, 6100, 12, 45, 2421, 22144, 809, 11278, 1440, 22144, 809, 11278, 16, 5411, 467, 1803, 5190, 809, 11278, 1301, 5190, 809, 11278, 13, 288, 3639, 368, 1021, 4209, 316, 525, 865, 741, 486, 1240, 3824, 6195, 18, 4237, 16, 6195, 18, 4056, 6195, 18, 2036, 3639, 368, 6149, 854, 4209, 316, 2674, 3832, 2275, 326, 1440, 22144, 300, 6199, 540, 12589, 1803, 5190, 809, 11278, 12, 1128, 5190, 809, 11278, 1769, 3639, 368, 632, 13882, 1410, 7161, 628, 4659, 1180, 1733, 3639, 1267, 30038, 273, 394, 2685, 1670, 442, 4027, 1180, 2932, 2309, 442, 4027, 1180, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 394, 27130, 1803, 273, 4382, 1733, 18, 12917, 18, 2640, 2 ]
if (currentOut != null) currentOut.close(); if (currentFile != null) currentFile.delete();
if (currentOut != null) currentOut.close(); if (currentFile != null) currentFile.delete();
void cleanUp() throws IOException { if (currentOut != null) currentOut.close(); if (currentFile != null) currentFile.delete(); }
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/f1a2e8bd347e294e5391728379b76d4500a7093d/AbstractExportFileType.java/buggy/freehep-graphicsio/src/main/java/org/freehep/graphicsio/exportchooser/AbstractExportFileType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 26384, 1435, 1216, 1860, 288, 5411, 309, 261, 2972, 1182, 225, 480, 446, 13, 783, 1182, 18, 4412, 5621, 5411, 309, 261, 2972, 812, 480, 446, 13, 22650, 18, 3733, 5621, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 26384, 1435, 1216, 1860, 288, 5411, 309, 261, 2972, 1182, 225, 480, 446, 13, 783, 1182, 18, 4412, 5621, 5411, 309, 261, 2972, 812, 480, 446, 13, 22650, 18, 3733, 5621, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
url = PathUtil.append(url, PathUtil.encode(name));
url = SVNPathUtil.append(url, SVNEncodingUtil.uriEncode(name));
public void actionPerformed(ActionEvent e) { myRevisionText.setEnabled(mySpecificRevisionButton.isSelected()); if (mySpecificRevisionButton.isSelected()) { myRevisionText.selectAll(); myRevisionText.requestFocus(); } if (e != null && (e.getSource() == mySpecificRevisionButton || e.getSource() == myWorkingRevisionButton || e.getSource() == myHEADRevisionButton)) { getOKAction().setEnabled(isOKActionEnabled()); return; } // select repository String url = myToURLText.getText(); String dstName = PathUtil.tail(myURL); dstName = PathUtil.decode(dstName); SelectLocationDialog dialog = new SelectLocationDialog(myProject, PathUtil.removeTail(url), "Copy &as:", dstName, false); dialog.show(); if (dialog.isOK()) { url = dialog.getSelectedURL(); String name = dialog.getDestinationName(); url = PathUtil.append(url, PathUtil.encode(name)); myToURLText.setText(url); } getOKAction().setEnabled(isOKActionEnabled()); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/540dc644745f4feb70877038d730d9b6c56608fa/CopyDialog.java/buggy/plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/CopyDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 565, 3399, 7939, 1528, 18, 542, 1526, 12, 4811, 9969, 7939, 3616, 18, 291, 7416, 10663, 565, 309, 261, 4811, 9969, 7939, 3616, 18, 291, 7416, 10756, 288, 1377, 3399, 7939, 1528, 18, 4025, 1595, 5621, 1377, 3399, 7939, 1528, 18, 2293, 9233, 5621, 565, 289, 565, 309, 261, 73, 480, 446, 597, 3639, 261, 73, 18, 588, 1830, 1435, 422, 3399, 9969, 7939, 3616, 747, 540, 425, 18, 588, 1830, 1435, 422, 3399, 14836, 7939, 3616, 747, 540, 425, 18, 588, 1830, 1435, 422, 3399, 12458, 7939, 3616, 3719, 288, 1377, 336, 3141, 1803, 7675, 542, 1526, 12, 291, 3141, 1803, 1526, 10663, 1377, 327, 31, 565, 289, 565, 368, 2027, 3352, 565, 514, 880, 273, 3399, 774, 1785, 1528, 18, 588, 1528, 5621, 565, 514, 3046, 461, 273, 2666, 1304, 18, 13101, 12, 4811, 1785, 1769, 565, 3046, 461, 273, 2666, 1304, 18, 3922, 12, 11057, 461, 1769, 565, 6766, 2735, 6353, 6176, 273, 394, 6766, 2735, 6353, 12, 4811, 4109, 16, 2666, 1304, 18, 4479, 12363, 12, 718, 3631, 315, 2951, 473, 345, 2773, 16, 3046, 461, 16, 629, 1769, 565, 6176, 18, 4500, 5621, 565, 309, 261, 12730, 18, 291, 3141, 10756, 288, 1377, 880, 273, 6176, 18, 588, 7416, 1785, 5621, 1377, 514, 508, 273, 6176, 18, 588, 5683, 461, 5621, 1377, 880, 273, 29537, 50, 743, 1304, 18, 6923, 12, 718, 16, 29537, 50, 4705, 1304, 18, 1650, 5509, 12, 529, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 565, 3399, 7939, 1528, 18, 542, 1526, 12, 4811, 9969, 7939, 3616, 18, 291, 7416, 10663, 565, 309, 261, 4811, 9969, 7939, 3616, 18, 291, 7416, 10756, 288, 1377, 3399, 7939, 1528, 18, 4025, 1595, 5621, 1377, 3399, 7939, 1528, 18, 2293, 9233, 5621, 565, 289, 565, 309, 261, 73, 480, 446, 597, 3639, 261, 73, 18, 588, 1830, 1435, 422, 3399, 9969, 7939, 3616, 747, 540, 425, 18, 588, 1830, 1435, 422, 3399, 14836, 7939, 3616, 747, 540, 425, 18, 588, 1830, 1435, 422, 3399, 12458, 7939, 3616, 3719, 288, 1377, 336, 3141, 1803, 7675, 542, 1526, 12, 291, 3141, 1803, 1526, 10663, 1377, 327, 31, 565, 289, 2 ]
IsotopeHandler handler = new IsotopeHandler();
IsotopeHandler handler = new IsotopeHandler(new ChemObject().getBuilder());
public void testGetIsotopes() { IsotopeHandler handler = new IsotopeHandler(); // nothing is read assertNull(handler.getIsotopes()); }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/99fe3519d35ad1fd276844ab16fa237c545a01fc/IsotopeHandlerTest.java/buggy/src/org/openscience/cdk/test/config/isotopes/IsotopeHandlerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 2520, 352, 5239, 1435, 288, 3639, 2585, 18946, 1503, 1838, 273, 394, 2585, 18946, 1503, 12,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 2520, 352, 5239, 1435, 288, 3639, 2585, 18946, 1503, 1838, 273, 394, 2585, 18946, 1503, 12, 2704, 26542, 921, 7675, 588, 1263, 10663, 3639, 368, 5083, 353, 855, 3639, 1815, 2041, 12, 4176, 18, 588, 2520, 352, 5239, 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 ]
retValue.append( "<html>\n" );
retValue.append( getHtmlDoctypeAndOpenTag() );
private String getHtmlDeleteTaskResultSuccess( HttpServletRequest req, CatGenTimerTask oldTask ) { log.debug( "htmlDeleteTaskResultSuccess(): start" ); StringBuffer retValue = new StringBuffer(); retValue.append( "<html>\n" ); retValue.append( "<head><title>Catalog Generator Servlet - Task Delete Results</title></head>\n" ); retValue.append( "<body>\n" ); retValue.append( "<h1>Catalog Generator Servlet - Task Delete Results</h1>\n" ); retValue.append( "<p>\n" ); retValue.append( "Task Successfully deleted.\n" ); retValue.append( "</p>\n" ); retValue.append( "<p>\n" ); retValue.append( "<a href=\"" ) .append( req.getContextPath() ).append( req.getServletPath() ) .append( this.adminPath ).append( "/\">List Current Tasks</a>\n" ); retValue.append( "</p>\n" ); retValue.append( "</body>\n" ); retValue.append( "</html>" ); return( retValue.toString() ); }
50426 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50426/8d328489b477401000f85ec2fb7b56fccdbc0caa/CatGenServlet.java/clean/tds/src/main/java/thredds/cataloggen/servlet/CatGenServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 19633, 2613, 2174, 1253, 4510, 12, 9984, 1111, 16, 4766, 10402, 385, 270, 7642, 6777, 2174, 1592, 2174, 262, 565, 288, 1377, 613, 18, 4148, 12, 315, 2620, 2613, 2174, 1253, 4510, 13332, 787, 6, 11272, 1377, 6674, 21236, 273, 394, 6674, 5621, 1377, 21236, 18, 6923, 12, 19633, 3244, 12387, 1876, 3678, 1805, 1435, 11272, 1377, 21236, 18, 6923, 12, 3532, 1978, 4438, 2649, 34, 9769, 10159, 7971, 300, 3837, 2504, 10351, 1757, 2649, 4695, 1978, 5333, 82, 6, 11272, 1377, 21236, 18, 6923, 12, 3532, 3432, 5333, 82, 6, 11272, 1377, 21236, 18, 6923, 12, 3532, 76, 21, 34, 9769, 10159, 7971, 300, 3837, 2504, 10351, 1757, 76, 21, 5333, 82, 6, 11272, 1377, 21236, 18, 6923, 12, 3532, 84, 5333, 82, 6, 11272, 1377, 21236, 18, 6923, 12, 315, 2174, 11958, 4095, 4282, 8403, 82, 6, 11272, 1377, 21236, 18, 6923, 12, 6823, 84, 5333, 82, 6, 11272, 1377, 21236, 18, 6923, 12, 3532, 84, 5333, 82, 6, 11272, 1377, 21236, 18, 6923, 12, 3532, 69, 3897, 13186, 262, 2868, 263, 6923, 12, 1111, 18, 29120, 743, 1435, 262, 18, 6923, 12, 1111, 18, 588, 4745, 743, 1435, 262, 2868, 263, 6923, 12, 333, 18, 3666, 743, 262, 18, 6923, 12, 2206, 24735, 682, 6562, 20350, 1757, 69, 5333, 82, 6, 11272, 1377, 21236, 18, 6923, 12, 6823, 84, 5333, 82, 6, 11272, 1377, 21236, 18, 6923, 12, 6823, 3432, 5333, 82, 6, 11272, 1377, 21236, 18, 6923, 12, 6823, 2620, 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, 514, 19633, 2613, 2174, 1253, 4510, 12, 9984, 1111, 16, 4766, 10402, 385, 270, 7642, 6777, 2174, 1592, 2174, 262, 565, 288, 1377, 613, 18, 4148, 12, 315, 2620, 2613, 2174, 1253, 4510, 13332, 787, 6, 11272, 1377, 6674, 21236, 273, 394, 6674, 5621, 1377, 21236, 18, 6923, 12, 19633, 3244, 12387, 1876, 3678, 1805, 1435, 11272, 1377, 21236, 18, 6923, 12, 3532, 1978, 4438, 2649, 34, 9769, 10159, 7971, 300, 3837, 2504, 10351, 1757, 2649, 4695, 1978, 5333, 82, 6, 11272, 1377, 21236, 18, 6923, 12, 3532, 3432, 5333, 82, 6, 11272, 1377, 21236, 18, 6923, 12, 3532, 76, 21, 34, 9769, 10159, 7971, 300, 3837, 2504, 10351, 1757, 76, 21, 5333, 82, 6, 11272, 1377, 2 ]
super(ruby, ruby.getExceptions().getNameError(), msg);
super(ruby, ruby.getExceptions().getRangeError(), msg);
public RangeError(Ruby ruby, String msg) { super(ruby, ruby.getExceptions().getNameError(), msg); }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/5c7d9e094aa97d5066c802a80d5e119852f62221/RangeError.java/clean/org/jruby/exceptions/RangeError.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8086, 668, 12, 54, 10340, 22155, 16, 514, 1234, 13, 288, 3639, 2240, 12, 27768, 16, 22155, 18, 588, 11416, 7675, 588, 2655, 668, 9334, 1234, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8086, 668, 12, 54, 10340, 22155, 16, 514, 1234, 13, 288, 3639, 2240, 12, 27768, 16, 22155, 18, 588, 11416, 7675, 588, 2655, 668, 9334, 1234, 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 ]
String resolved = getResolvedTypeName(typeToResolve, declaringType); if(resolved != null) { while (arrayCount > 0) { sb.append(Signature.C_ARRAY); arrayCount--;
boolean isUnresolvedType = isUnresolvedType(typeToResolve, arrayCount); if(!isUnresolvedType) { sb.append(typeToResolve); } else { String resolved = getResolvedTypeName(typeToResolve, declaringType); if(resolved != null) { while (arrayCount > 0) { sb.append(Signature.C_ARRAY); arrayCount--; } sb.append(Signature.C_RESOLVED); sb.append(resolved); sb.append(Signature.C_SEMICOLON);
private static String getResolvedType(String typeToResolve, IType declaringType) throws JavaModelException { StringBuffer sb = new StringBuffer(); int arrayCount = Signature.getArrayCount(typeToResolve); // test which letter is following - Q or L are for reference types boolean isPrimitive = isPrimitiveType(typeToResolve.charAt(arrayCount)); if (isPrimitive) { // simply add whole string (probably with array chars like [[I etc.) sb.append(typeToResolve); } else { // we need resolved types String resolved = getResolvedTypeName(typeToResolve, declaringType); if(resolved != null) { while (arrayCount > 0) { sb.append(Signature.C_ARRAY); arrayCount--; } sb.append(Signature.C_RESOLVED); sb.append(resolved); sb.append(Signature.C_SEMICOLON); } } return sb.toString(); }
2697 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2697/0334217d41252d89232eb6277b01e80c4b2a91aa/JdtUtils.java/clean/eclipse/plugin/src/de/loskutov/bco/ui/JdtUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 336, 12793, 559, 12, 780, 618, 774, 8460, 16, 3639, 467, 559, 20845, 559, 13, 1216, 5110, 1488, 503, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 509, 526, 1380, 273, 9249, 18, 588, 1076, 1380, 12, 723, 774, 8460, 1769, 3639, 368, 1842, 1492, 9471, 353, 3751, 300, 2238, 578, 511, 854, 364, 2114, 1953, 3639, 1250, 19598, 273, 19598, 559, 12, 723, 774, 8460, 18, 3001, 861, 12, 1126, 1380, 10019, 3639, 309, 261, 291, 9840, 13, 288, 5411, 368, 8616, 527, 7339, 533, 261, 7748, 6906, 598, 526, 5230, 3007, 12167, 45, 5527, 12998, 5411, 2393, 18, 6923, 12, 723, 774, 8460, 1769, 3639, 289, 469, 288, 5411, 368, 732, 1608, 4640, 1953, 5411, 514, 4640, 273, 336, 12793, 7947, 12, 723, 774, 8460, 16, 20845, 559, 1769, 5411, 309, 12, 11792, 480, 446, 13, 288, 7734, 1323, 261, 1126, 1380, 405, 374, 13, 288, 10792, 2393, 18, 6923, 12, 5374, 18, 39, 67, 8552, 1769, 10792, 526, 1380, 413, 31, 7734, 289, 7734, 2393, 18, 6923, 12, 5374, 18, 39, 67, 17978, 12135, 1769, 7734, 2393, 18, 6923, 12, 11792, 1769, 7734, 2393, 18, 6923, 12, 5374, 18, 39, 67, 1090, 22972, 1741, 673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 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 509, 526, 1380, 273, 9249, 18, 588, 1076, 1380, 12, 723, 774, 8460, 1769, 3639, 368, 1842, 1492, 9471, 353, 3751, 300, 2238, 578, 511, 854, 364, 2114, 1953, 3639, 1250, 19598, 273, 19598, 559, 12, 723, 774, 8460, 18, 3001, 861, 12, 1126, 1380, 10019, 3639, 309, 261, 291, 9840, 13, 288, 5411, 368, 8616, 527, 7339, 533, 261, 7748, 6906, 598, 526, 5230, 3007, 12167, 45, 5527, 12998, 5411, 2393, 18, 6923, 12, 723, 774, 8460, 1769, 3639, 289, 469, 288, 5411, 368, 732, 1608, 2 ]
public void setSizeLimit( long sizeLimit ) { this.sizeLimit = sizeLimit; }
public void setSizeLimit( long sizeLimit ) { this.sizeLimit = sizeLimit; }
public void setSizeLimit( long sizeLimit ) { this.sizeLimit = sizeLimit; }
54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/0f6df9849de10807595e87e279b521f2470ac7a2/LdifReader.java/buggy/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19106, 3039, 12, 1525, 963, 3039, 262, 225, 202, 95, 202, 202, 2211, 18, 1467, 3039, 273, 963, 3039, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19106, 3039, 12, 1525, 963, 3039, 262, 225, 202, 95, 202, 202, 2211, 18, 1467, 3039, 273, 963, 3039, 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 ]
}
}
public void anonymousSessionCreated(Session session) { // we are only interested in user sessions }
11898 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11898/e676f58b90bda5b1b66acdcd2f460097c8e8fe89/PresenceLayerer.java/clean/server/src/java/org/jivesoftware/phone/PresenceLayerer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 13236, 2157, 6119, 12, 2157, 1339, 13, 288, 202, 202, 759, 732, 854, 1338, 20506, 316, 729, 8856, 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,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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, 225, 202, 482, 918, 13236, 2157, 6119, 12, 2157, 1339, 13, 288, 202, 202, 759, 732, 854, 1338, 20506, 316, 729, 8856, 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 ]
for (int j = index; j < data.length; j += 16)
int data_length = Math.min(data.length,index+length); for (int j = index; j < data_length; j += 16)
public static String dump(final byte [] data, final long offset, final int index) { StringBuffer buffer; if ((index < 0) || (index >= data.length)) { throw new ArrayIndexOutOfBoundsException( "illegal index: " + index + " into array of length " + data.length); } long display_offset = offset + index; buffer = new StringBuffer(74); for (int j = index; j < data.length; j += 16) { int chars_read = data.length - j; if (chars_read > 16) { chars_read = 16; } buffer.append(dump(display_offset)).append(' '); for (int k = 0; k < 16; k++) { if (k < chars_read) { buffer.append(dump(data[ k + j ])); } else { buffer.append(" "); } buffer.append(' '); } for (int k = 0; k < chars_read; k++) { if ((data[ k + j ] >= ' ') && (data[ k + j ] < 127)) { buffer.append(( char ) data[ k + j ]); } else { buffer.append('.'); } } buffer.append(EOL); display_offset += chars_read; } return buffer.toString(); }
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/8d0a7d44ae244a27849e99c686fdf3c692ff5fa1/HexDump.java/buggy/src/java/org/apache/poi/util/HexDump.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 4657, 12, 6385, 1160, 5378, 501, 16, 727, 1525, 1384, 16, 18701, 727, 509, 770, 13, 288, 3639, 6674, 1613, 31, 3639, 309, 14015, 1615, 411, 374, 13, 747, 261, 1615, 1545, 501, 18, 2469, 3719, 3639, 288, 5411, 604, 394, 1510, 30548, 12, 7734, 315, 31751, 770, 30, 315, 397, 770, 397, 315, 1368, 526, 434, 769, 315, 7734, 397, 501, 18, 2469, 1769, 3639, 289, 3639, 1525, 540, 2562, 67, 3348, 273, 1384, 397, 770, 31, 3639, 1613, 540, 273, 394, 6674, 12, 5608, 1769, 540, 509, 501, 67, 2469, 273, 2361, 18, 1154, 12, 892, 18, 2469, 16, 1615, 15, 2469, 1769, 364, 261, 474, 525, 273, 770, 31, 525, 411, 501, 67, 2469, 31, 525, 1011, 2872, 13, 3639, 288, 5411, 509, 5230, 67, 896, 273, 501, 18, 2469, 300, 525, 31, 5411, 309, 261, 7549, 67, 896, 405, 2872, 13, 5411, 288, 7734, 5230, 67, 896, 273, 2872, 31, 5411, 289, 5411, 1613, 18, 6923, 12, 8481, 12, 5417, 67, 3348, 13, 2934, 6923, 2668, 28005, 5411, 364, 261, 474, 417, 273, 374, 31, 417, 411, 2872, 31, 417, 27245, 5411, 288, 7734, 309, 261, 79, 411, 5230, 67, 896, 13, 7734, 288, 10792, 1613, 18, 6923, 12, 8481, 12, 892, 63, 417, 397, 525, 308, 10019, 7734, 289, 7734, 469, 7734, 288, 10792, 1613, 18, 6923, 2932, 225, 315, 1769, 7734, 289, 7734, 1613, 18, 6923, 2668, 28005, 5411, 289, 5411, 364, 261, 474, 417, 273, 374, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 4657, 12, 6385, 1160, 5378, 501, 16, 727, 1525, 1384, 16, 18701, 727, 509, 770, 13, 288, 3639, 6674, 1613, 31, 3639, 309, 14015, 1615, 411, 374, 13, 747, 261, 1615, 1545, 501, 18, 2469, 3719, 3639, 288, 5411, 604, 394, 1510, 30548, 12, 7734, 315, 31751, 770, 30, 315, 397, 770, 397, 315, 1368, 526, 434, 769, 315, 7734, 397, 501, 18, 2469, 1769, 3639, 289, 3639, 1525, 540, 2562, 67, 3348, 273, 1384, 397, 770, 31, 3639, 1613, 540, 273, 394, 6674, 12, 5608, 1769, 540, 509, 501, 67, 2469, 273, 2361, 18, 1154, 12, 892, 18, 2469, 16, 1615, 15, 2469, 1769, 364, 261, 474, 525, 273, 770, 31, 525, 411, 501, 2 ]
fastViewAction.setPane(pane);
fastViewAction.setPane(current);
protected void updateActions(LayoutPart current) { ViewPane pane = null; if (current instanceof ViewPane) { pane = (ViewPane) current; } fastViewAction.setPane(pane); detachViewAction.setPane(pane); sizeItem.setPane(pane); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/0f9e79f0648392aa2d0092033ea11a0726dd9e8d/ViewStack.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewStack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1089, 6100, 12, 3744, 1988, 783, 13, 288, 3639, 4441, 8485, 13618, 273, 446, 31, 3639, 309, 261, 2972, 1276, 4441, 8485, 13, 288, 5411, 13618, 273, 261, 1767, 8485, 13, 783, 31, 3639, 289, 3639, 4797, 1767, 1803, 18, 542, 8485, 12, 2972, 1769, 3639, 10199, 1767, 1803, 18, 542, 8485, 12, 29009, 1769, 3639, 963, 1180, 18, 542, 8485, 12, 29009, 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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, 261, 1767, 8485, 13, 783, 31, 3639, 289, 3639, 4797, 1767, 1803, 18, 542, 8485, 12, 2972, 1769, 3639, 10199, 1767, 1803, 18, 542, 8485, 12, 29009, 1769, 3639, 963, 1180, 18, 542, 8485, 12, 29009, 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 ]
public TextDocumentPermissionSetDomainObject( int permissionType ) { super( permissionType );
public TextDocumentPermissionSetDomainObject( int typeId ) { super( typeId );
public TextDocumentPermissionSetDomainObject( int permissionType ) { super( permissionType ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/618d5d54faf5e3c0770e526300f1e7af31025ba1/TextDocumentPermissionSetDomainObject.java/buggy/server/src/imcode/server/document/TextDocumentPermissionSetDomainObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3867, 2519, 5041, 694, 3748, 921, 12, 509, 4132, 559, 262, 288, 3639, 2240, 12, 4132, 559, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3867, 2519, 5041, 694, 3748, 921, 12, 509, 4132, 559, 262, 288, 3639, 2240, 12, 4132, 559, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private MimeMessage createFailureMail(Build build) throws MessagingException { MimeMessage msg = createEmptyMail(build);
private MimeMessage createFailureMail(Build build, BuildListener listener) throws MessagingException { MimeMessage msg = createEmptyMail(build, listener);
private MimeMessage createFailureMail(Build build) throws MessagingException { MimeMessage msg = createEmptyMail(build); msg.setSubject(getSubject(build, "Build failed in Hudson: ")); StringBuffer buf = new StringBuffer(); appendBuildUrl(build,buf); boolean firstChange = true; for (ChangeLogSet.Entry entry : build.getChangeSet()) { if (firstChange) { firstChange = false; buf.append("Changes:\n\n"); } buf.append('['); buf.append(entry.getAuthor().getFullName()); buf.append("] "); String m = entry.getMsg(); buf.append(m); if (!m.endsWith("\n")) { buf.append('\n'); } buf.append('\n'); } buf.append("------------------------------------------\n"); try { String log = build.getLog(); String[] lines = log.split("\n"); int start = 0; if (lines.length > MAX_LOG_LINES) { // Avoid sending enormous logs over email. // Interested users can always look at the log on the web server. buf.append("[...truncated " + (lines.length - MAX_LOG_LINES) + " lines...]\n"); start = lines.length - MAX_LOG_LINES; } String workspaceUrl = null, artifactUrl = null; Pattern wsPattern = null; String baseUrl = DESCRIPTOR.getUrl(); if (baseUrl != null) { // Hyperlink local file paths to the repository workspace or build artifacts. // Note that it is possible for a failure mail to refer to a file using a workspace // URL which has already been corrected in a subsequent build. To fix, archive. workspaceUrl = baseUrl + Util.encode(build.getProject().getUrl()) + "ws/"; artifactUrl = baseUrl + Util.encode(build.getUrl()) + "artifact/"; File workspaceDir = build.getProject().getWorkspace().getLocal(); // Match either file or URL patterns, i.e. either // c:\hudson\workdir\jobs\foo\workspace\src\Foo.java // file:/c:/hudson/workdir/jobs/foo/workspace/src/Foo.java // will be mapped to one of: // http://host/hudson/job/foo/ws/src/Foo.java // http://host/hudson/job/foo/123/artifact/src/Foo.java // Careful with path separator between $1 and $2: // workspaceDir will not normally end with one; // workspaceDir.toURI() will end with '/' if and only if workspaceDir.exists() at time of call wsPattern = Pattern.compile("(" + quoteRegexp(workspaceDir.getPath()) + "|" + quoteRegexp(workspaceDir.toURI().toString()) + ")[/\\\\]?([^:#\\s]*)"); } for (int i = start; i < lines.length; i++) { String line = lines[i]; if (wsPattern != null) { // Perl: $line =~ s{$rx}{$path = $2; $path =~ s!\\\\!/!g; $workspaceUrl . $path}eg; Matcher m = wsPattern.matcher(line); int pos = 0; while (m.find(pos)) { String path = m.group(2).replace(File.separatorChar, '/'); String linkUrl = DESCRIPTOR.artifactMatches(path, build) ? artifactUrl : workspaceUrl; // Append ' ' to make sure mail readers do not interpret following ':' as part of URL: String prefix = line.substring(0, m.start()) + linkUrl + Util.encode(path) + ' '; pos = prefix.length(); line = prefix + line.substring(m.end()); // XXX better style to reuse Matcher and fix offsets, but more work m = wsPattern.matcher(line); } } buf.append(line); buf.append('\n'); } } catch (IOException e) { // somehow failed to read the contents of the log StringWriter sw = new StringWriter(); e.printStackTrace(new PrintWriter(sw)); buf.append("Failed to access build log\n\n").append(sw); } msg.setText(buf.toString()); return msg; }
49571 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49571/1fde7d5aef44c267a07a393e3669af09a4d9be27/Mailer.java/buggy/core/src/main/java/hudson/tasks/Mailer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 22059, 1079, 752, 5247, 6759, 12, 3116, 1361, 13, 1216, 23794, 503, 288, 3639, 22059, 1079, 1234, 273, 752, 1921, 6759, 12, 3510, 1769, 3639, 1234, 18, 542, 6638, 12, 588, 6638, 12, 3510, 16, 315, 3116, 2535, 316, 670, 1100, 816, 30, 9369, 1769, 3639, 6674, 1681, 273, 394, 6674, 5621, 3639, 714, 3116, 1489, 12, 3510, 16, 4385, 1769, 3639, 1250, 1122, 3043, 273, 638, 31, 3639, 364, 261, 3043, 1343, 694, 18, 1622, 1241, 294, 1361, 18, 588, 21565, 10756, 288, 5411, 309, 261, 3645, 3043, 13, 288, 7734, 1122, 3043, 273, 629, 31, 7734, 1681, 18, 6923, 2932, 7173, 5581, 82, 64, 82, 8863, 5411, 289, 5411, 1681, 18, 6923, 2668, 3292, 1769, 5411, 1681, 18, 6923, 12, 4099, 18, 588, 3594, 7675, 588, 19223, 10663, 5411, 1681, 18, 6923, 2932, 65, 315, 1769, 5411, 514, 312, 273, 1241, 18, 588, 3332, 5621, 5411, 1681, 18, 6923, 12, 81, 1769, 5411, 309, 16051, 81, 18, 5839, 1190, 31458, 82, 6, 3719, 288, 7734, 1681, 18, 6923, 2668, 64, 82, 8284, 5411, 289, 5411, 1681, 18, 6923, 2668, 64, 82, 8284, 3639, 289, 3639, 1681, 18, 6923, 2932, 2443, 15392, 64, 82, 8863, 3639, 775, 288, 5411, 514, 613, 273, 1361, 18, 588, 1343, 5621, 5411, 514, 8526, 2362, 273, 613, 18, 4939, 31458, 82, 8863, 5411, 509, 787, 273, 374, 31, 5411, 309, 261, 3548, 18, 2469, 405, 4552, 67, 4842, 67, 5997, 55, 13, 288, 7734, 368, 17843, 5431, 570, 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, 22059, 1079, 752, 5247, 6759, 12, 3116, 1361, 13, 1216, 23794, 503, 288, 3639, 22059, 1079, 1234, 273, 752, 1921, 6759, 12, 3510, 1769, 3639, 1234, 18, 542, 6638, 12, 588, 6638, 12, 3510, 16, 315, 3116, 2535, 316, 670, 1100, 816, 30, 9369, 1769, 3639, 6674, 1681, 273, 394, 6674, 5621, 3639, 714, 3116, 1489, 12, 3510, 16, 4385, 1769, 3639, 1250, 1122, 3043, 273, 638, 31, 3639, 364, 261, 3043, 1343, 694, 18, 1622, 1241, 294, 1361, 18, 588, 21565, 10756, 288, 5411, 309, 261, 3645, 3043, 13, 288, 7734, 1122, 3043, 273, 629, 31, 7734, 1681, 18, 6923, 2932, 7173, 5581, 82, 64, 82, 8863, 5411, 289, 5411, 1681, 18, 6923, 2668, 3292, 1769, 2 ]
if(ASS)ER.T(null!=sti,"bad SourceTextItem in userLine2SystemLine",this); if(ASS)ER.T(line >=0,"bad line in userLine2SystemLine",this);
if(AS.S)ER.T(null!=sti,"bad SourceTextItem in userLine2SystemLine",this); if(AS.S)ER.T(line >=0,"bad line in userLine2SystemLine",this);
public int systemLine2UserLine( SourceTextItem sti, int line ) { if(ASS)ER.T(null!=sti,"bad SourceTextItem in userLine2SystemLine",this); if(ASS)ER.T(line >=0,"bad line in userLine2SystemLine",this); if( null == _adjustments ) return line; Vector v = (Vector) _adjustments.get(sti); if( null == v ) return line; int adj_line = line; int count = v.count(); for(int i = 0; i < count; i++) { AdjustmentItem adj = (AdjustmentItem) v.elementAt(i); if( adj.line > line ) break; adj_line += adj.offset; } if( adj_line < 0 ) return 0; return adj_line; }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/2de73cf99dce60cce549e7757f841284b68d1220/SourceTyrant.java/buggy/js/jsdj/classes/com/netscape/jsdebugging/ifcui/SourceTyrant.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 2619, 1670, 22, 1299, 1670, 12, 4998, 1528, 1180, 384, 77, 16, 509, 980, 262, 565, 288, 3639, 309, 12, 8423, 13, 654, 18, 56, 12, 2011, 5, 33, 334, 77, 10837, 8759, 4998, 1528, 1180, 316, 729, 1670, 22, 3163, 1670, 3113, 2211, 1769, 3639, 309, 12, 8423, 13, 654, 18, 56, 12, 1369, 1545, 20, 10837, 8759, 980, 316, 729, 1670, 22, 3163, 1670, 3113, 2211, 1769, 3639, 309, 12, 446, 422, 389, 13362, 1346, 262, 5411, 327, 980, 31, 3639, 5589, 331, 273, 261, 5018, 13, 389, 13362, 1346, 18, 588, 12, 334, 77, 1769, 3639, 309, 12, 446, 422, 331, 262, 5411, 327, 980, 31, 3639, 509, 8307, 67, 1369, 273, 980, 31, 3639, 509, 1056, 273, 331, 18, 1883, 5621, 3639, 364, 12, 474, 277, 273, 374, 31, 277, 411, 1056, 31, 277, 27245, 3639, 288, 5411, 17720, 475, 1180, 8307, 273, 261, 19985, 1180, 13, 331, 18, 2956, 861, 12, 77, 1769, 5411, 309, 12, 8307, 18, 1369, 405, 980, 262, 7734, 898, 31, 5411, 8307, 67, 1369, 1011, 8307, 18, 3348, 31, 3639, 289, 3639, 309, 12, 8307, 67, 1369, 411, 374, 262, 5411, 327, 374, 31, 3639, 327, 8307, 67, 1369, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 2619, 1670, 22, 1299, 1670, 12, 4998, 1528, 1180, 384, 77, 16, 509, 980, 262, 565, 288, 3639, 309, 12, 8423, 13, 654, 18, 56, 12, 2011, 5, 33, 334, 77, 10837, 8759, 4998, 1528, 1180, 316, 729, 1670, 22, 3163, 1670, 3113, 2211, 1769, 3639, 309, 12, 8423, 13, 654, 18, 56, 12, 1369, 1545, 20, 10837, 8759, 980, 316, 729, 1670, 22, 3163, 1670, 3113, 2211, 1769, 3639, 309, 12, 446, 422, 389, 13362, 1346, 262, 5411, 327, 980, 31, 3639, 5589, 331, 273, 261, 5018, 13, 389, 13362, 1346, 18, 588, 12, 334, 77, 1769, 3639, 309, 12, 446, 422, 331, 262, 5411, 327, 980, 31, 3639, 509, 8307, 67, 1369, 273, 980, 2 ]
if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);}
finally { }
public void mSTRING_LITERAL() throws RecognitionException { int type = STRING_LITERAL; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:176:18: ( '\"' (~ ('\"'|'\\') | ESCAPE_SEQUENCE )* '\"' ) // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:176:18: '\"' (~ ('\"'|'\\') | ESCAPE_SEQUENCE )* '\"' { match('\"'); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:176:23: (~ ('\"'|'\\') | ESCAPE_SEQUENCE )* loop23: do { int alt23=3; int LA23_0 = input.LA(1); if ( (LA23_0>='\u0000' && LA23_0<='!')||(LA23_0>='#' && LA23_0<='[')||(LA23_0>=']' && LA23_0<='\uFFFE') ) { alt23=1; } else if ( LA23_0=='\\' ) { alt23=2; } switch (alt23) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:176:24: ~ ('\"'|'\\') { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) { input.consume(); errorRecovery=false; } else { MismatchedSetException mse = new MismatchedSetException(null,input); recover(mse); throw mse; } } break; case 2 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:176:40: ESCAPE_SEQUENCE { mESCAPE_SEQUENCE(); } break; default : break loop23; } } while (true); match('\"'); } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/024138fd0e08f5f4cd91a30959fe962d30fec435/JavaParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 5804, 67, 23225, 1435, 1216, 9539, 288, 3639, 509, 618, 273, 9469, 67, 23225, 31, 3639, 509, 787, 273, 23577, 1016, 5621, 3639, 509, 980, 273, 9851, 5621, 3639, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 3639, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 3639, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 5852, 2678, 18, 31731, 18, 75, 30, 28493, 30, 2643, 30, 261, 2337, 5187, 261, 98, 7707, 2412, 11, 16637, 1695, 6134, 571, 27933, 67, 25330, 8618, 2337, 5187, 262, 3639, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 5852, 2678, 18, 31731, 18, 75, 30, 28493, 30, 2643, 30, 2337, 5187, 261, 98, 7707, 2412, 11, 16637, 1695, 6134, 571, 27933, 67, 25330, 8618, 2337, 5187, 3639, 288, 3639, 845, 2668, 2412, 8284, 3639, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 5852, 2678, 18, 31731, 18, 75, 30, 28493, 30, 4366, 30, 261, 98, 7707, 2412, 11, 16637, 1695, 6134, 571, 27933, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 5804, 67, 23225, 1435, 1216, 9539, 288, 3639, 509, 618, 273, 9469, 67, 23225, 31, 3639, 509, 787, 273, 23577, 1016, 5621, 3639, 509, 980, 273, 9851, 5621, 3639, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 3639, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 3639, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 5852, 2678, 18, 31731, 18, 75, 30, 28493, 30, 2643, 30, 261, 2337, 5187, 261, 98, 7707, 2412, 11, 16637, 1695, 6134, 571, 27933, 67, 25330, 8618, 2337, 5187, 262, 3639, 2 ]
if (debug) System.out.println("placeFusedRing->addAngle: " + Math.toDegrees(addAngle));
if (debug) System.out.println("placeBridgedRing->addAngle: " + Math.toDegrees(addAngle));
private void placeBridgedRing(Ring ring, AtomContainer sharedAtoms, Point2d sharedAtomsCenter, Vector2d ringCenterVector, double bondLength ) { double radius = getNativeRingRadius(ring, bondLength); Point2d ringCenter = new Point2d(sharedAtomsCenter); ringCenterVector.normalize(); if (debug) System.out.println("placeFusedRing->: ringCenterVector.length()" + ringCenterVector.length()); ringCenterVector.scale(radius); ringCenter.add(ringCenterVector); Atom[] bridgeAtoms = getBridgeAtoms(sharedAtoms); Atom bondAtom1 = bridgeAtoms[0]; Atom bondAtom2 = bridgeAtoms[1]; Vector2d bondAtom1Vector = new Vector2d(bondAtom1.getPoint2D()); Vector2d bondAtom2Vector = new Vector2d(bondAtom2.getPoint2D()); Vector2d originRingCenterVector = new Vector2d(ringCenter); bondAtom1Vector.sub(originRingCenterVector); bondAtom2Vector.sub(originRingCenterVector); double occupiedAngle = bondAtom1Vector.angle(bondAtom2Vector); double remainingAngle = (2 * Math.PI) - occupiedAngle; double addAngle = remainingAngle / (ring.getRingSize() - sharedAtoms.getAtomCount() + 1); if (debug) System.out.println("placeFusedRing->occupiedAngle: " + Math.toDegrees(occupiedAngle)); if (debug) System.out.println("placeFusedRing->remainingAngle: " + Math.toDegrees(remainingAngle)); if (debug) System.out.println("placeFusedRing->addAngle: " + Math.toDegrees(addAngle)); Atom startAtom; double centerX = ringCenter.x; double centerY = ringCenter.y; double xDiff = bondAtom1.getX2D() - bondAtom2.getX2D(); double yDiff = bondAtom1.getY2D() - bondAtom2.getY2D(); double startAngle;; int direction = 1; // if bond is vertical if (xDiff == 0) { if (debug) System.out.println("placeFusedRing->Bond is vertical"); //starts with the lower Atom if (bondAtom1.getY2D() > bondAtom2.getY2D()) { startAtom = bondAtom1; } else { startAtom = bondAtom2; } //changes the drawing direction if (centerX < bondAtom1.getX2D()) { direction = 1; } else { direction = -1; } } // if bond is not vertical else { //starts with the left Atom if (bondAtom1.getX2D() > bondAtom2.getX2D()) { startAtom = bondAtom1; } else { startAtom = bondAtom2; } //changes the drawing direction if (centerY - bondAtom1.getY2D() > (centerX - bondAtom1.getX2D()) * yDiff / xDiff) { direction = 1; } else { direction = -1; } } startAngle = GeometryTools.getAngle(startAtom.getX2D() - ringCenter.x, startAtom.getY2D() - ringCenter.y); Atom currentAtom = startAtom; Bond currentBond = sharedAtoms.getBondAt(0); Vector atomsToDraw = new Vector(); for (int i = 0; i < ring.getBondCount() - 2; i++) { currentBond = ring.getNextBond(currentBond, currentAtom); currentAtom = currentBond.getConnectedAtom(currentAtom); atomsToDraw.addElement(currentAtom); } try { if (debug) System.out.println("placeFusedRing->startAtom is: " + molecule.getAtomNumber(startAtom)); } catch(Exception exc) { } if (debug) System.out.println("placeFusedRing->startAngle: " + Math.toDegrees(startAngle)); if (debug) System.out.println("placeFusedRing->addAngle: " + Math.toDegrees(addAngle)); addAngle = addAngle * direction; atomPlacer.populatePolygonCorners(atomsToDraw, ringCenter, startAngle, addAngle, radius); }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/34bc71f72cf2676165c2b4ab2ea57d0a6b7dc876/RingPlacer.java/buggy/org/openscience/cdk/layout/RingPlacer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 225, 918, 3166, 38, 1691, 2423, 10369, 12, 10369, 9221, 16, 7149, 2170, 5116, 14280, 16, 4686, 22, 72, 5116, 14280, 8449, 16, 5589, 22, 72, 9221, 8449, 5018, 16, 1645, 8427, 1782, 262, 202, 95, 202, 202, 9056, 5725, 273, 25945, 10369, 10196, 12, 8022, 16, 8427, 1782, 1769, 202, 202, 2148, 22, 72, 9221, 8449, 273, 394, 4686, 22, 72, 12, 11574, 14280, 8449, 1769, 202, 202, 8022, 8449, 5018, 18, 12237, 5621, 202, 202, 430, 261, 4148, 13, 2332, 18, 659, 18, 8222, 2932, 964, 42, 3668, 10369, 2122, 30, 9221, 8449, 5018, 18, 2469, 10031, 397, 9221, 8449, 5018, 18, 2469, 10663, 1082, 202, 8022, 8449, 5018, 18, 5864, 12, 11282, 1769, 202, 202, 8022, 8449, 18, 1289, 12, 8022, 8449, 5018, 1769, 202, 202, 3641, 8526, 10105, 14280, 273, 2882, 5404, 14280, 12, 11574, 14280, 1769, 202, 202, 3641, 8427, 3641, 21, 273, 10105, 14280, 63, 20, 15533, 202, 202, 3641, 8427, 3641, 22, 273, 10105, 14280, 63, 21, 15533, 202, 202, 5018, 22, 72, 8427, 3641, 21, 5018, 273, 394, 5589, 22, 72, 12, 26425, 3641, 21, 18, 588, 2148, 22, 40, 10663, 202, 202, 5018, 22, 72, 8427, 3641, 22, 5018, 273, 394, 5589, 22, 72, 12, 26425, 3641, 22, 18, 588, 2148, 22, 40, 10663, 9506, 202, 5018, 22, 72, 4026, 10369, 8449, 5018, 273, 394, 5589, 22, 72, 12, 8022, 8449, 1769, 9506, 202, 26425, 3641, 21, 5018, 18, 1717, 12, 10012, 10369, 8449, 5018, 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, 225, 918, 3166, 38, 1691, 2423, 10369, 12, 10369, 9221, 16, 7149, 2170, 5116, 14280, 16, 4686, 22, 72, 5116, 14280, 8449, 16, 5589, 22, 72, 9221, 8449, 5018, 16, 1645, 8427, 1782, 262, 202, 95, 202, 202, 9056, 5725, 273, 25945, 10369, 10196, 12, 8022, 16, 8427, 1782, 1769, 202, 202, 2148, 22, 72, 9221, 8449, 273, 394, 4686, 22, 72, 12, 11574, 14280, 8449, 1769, 202, 202, 8022, 8449, 5018, 18, 12237, 5621, 202, 202, 430, 261, 4148, 13, 2332, 18, 659, 18, 8222, 2932, 964, 42, 3668, 10369, 2122, 30, 9221, 8449, 5018, 18, 2469, 10031, 397, 9221, 8449, 5018, 18, 2469, 10663, 1082, 202, 8022, 8449, 5018, 18, 5864, 12, 11282, 1769, 2 ]
public void doFusionEngineExplosion(int engineRating, Coords position, Vector vDesc)
public void doFusionEngineExplosion(int engineRating, Coords position, Vector vDesc, Vector vUnits)
public void doFusionEngineExplosion(int engineRating, Coords position, Vector vDesc) { int[] myDamages = {engineRating, (engineRating / 10), (engineRating / 20), (engineRating / 40)}; doExplosion(myDamages, true, position, false, vDesc); }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/c3b282f0ab206156d7724953e4004abd0ae93117/Server.java/buggy/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 42, 7063, 4410, 2966, 383, 87, 285, 12, 474, 4073, 20388, 16, 10320, 87, 1754, 16, 5589, 331, 4217, 16, 5589, 331, 7537, 13, 565, 288, 3639, 509, 8526, 3399, 40, 301, 1023, 273, 288, 8944, 20388, 16, 261, 8944, 20388, 342, 1728, 3631, 261, 8944, 20388, 342, 4200, 3631, 261, 8944, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 42, 7063, 4410, 2966, 383, 87, 285, 12, 474, 4073, 20388, 16, 10320, 87, 1754, 16, 5589, 331, 4217, 16, 5589, 331, 7537, 13, 565, 288, 3639, 509, 8526, 3399, 40, 301, 1023, 273, 288, 8944, 20388, 16, 261, 8944, 20388, 342, 1728, 3631, 261, 8944, 20388, 342, 4200, 3631, 261, 8944, 20388, 342, 8063, 16869, 31, 3639, 741, 2966, 383, 87, 285, 12, 4811, 40, 301, 1023, 16, 638, 16, 1754, 16, 629, 16, 331, 4217, 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 ]
public void setShowCustomReportStyle(String v) { _showCustomReportStyle = v;
public void setShowCustomReportStyle(boolean v) { _showCustomReportStyle = v ? Boolean.TRUE : Boolean.FALSE;
public void setShowCustomReportStyle(String v) { _showCustomReportStyle = v; }
17168 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17168/9b2a0d1461b252ec2c44fbef420bfa6a4c72ef46/WRReport.java/buggy/DynaReporting/Frameworks/WRReporting/Sources/er/reporting/WRReport.java
[ 1, 8585, 326, 22398, 316, 326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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, 1071, 918, 444, 5706, 3802, 4820, 2885, 12, 780, 331, 13, 288, 3639, 389, 4500, 3802, 4820, 2885, 273, 331, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else if ( "/run".equalsIgnoreCase( request.getServletPath( ) ) )
else if ( SERVLET_PATH_RUN.equalsIgnoreCase( request .getServletPath( ) ) )
public void doGet( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException { ReportEngineService.getInstance( ).setEngineContext( getServletContext( ), request ); // Exception happened during context init. BirtContext context = new BirtContext( request ); if ( context.getBean( ).getException( ) != null ) { context.finalize( ); String target = "pages/common/Error.jsp"; //$NON-NLS-1$ request.setAttribute( "error", context.getBean( ).getException( ) ); //$NON-NLS-1$ RequestDispatcher rd = request.getRequestDispatcher( target ); rd.include( request, response ); } else { try { if ( "/frameset".equalsIgnoreCase( request.getServletPath( ) ) ) //$NON-NLS-1$ { viewer.service( request, response ); } if ( "/preview".equalsIgnoreCase( request.getServletPath( ) ) ) //$NON-NLS-1$ { preview.service( request, response ); } else if ( "/run".equalsIgnoreCase( request.getServletPath( ) ) ) //$NON-NLS-1$ { engine.service( request, response ); } else if ( "/parameter".equalsIgnoreCase( request.getServletPath( ) ) )//$NON-NLS-1$ { parameter.service( request, response ); } } catch ( BirtException e ) { String target = "pages/common/Error.jsp"; //$NON-NLS-1$ request.setAttribute( "error", e ); //$NON-NLS-1$ RequestDispatcher rd = request.getRequestDispatcher( target ); rd.include( request, response ); } finally { context.finalize( ); } } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/abd1c6fce7b8bae3da991b12423aa7e1044a0961/ViewerServlet.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/servlet/ViewerServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 23611, 12, 9984, 590, 16, 12446, 766, 262, 1082, 202, 15069, 16517, 16, 1860, 202, 95, 202, 202, 4820, 4410, 1179, 18, 588, 1442, 12, 262, 18, 542, 4410, 1042, 12, 9506, 202, 588, 4745, 1042, 12, 262, 16, 590, 11272, 202, 202, 759, 1185, 17497, 4982, 819, 1208, 18, 202, 202, 38, 2714, 1042, 819, 273, 394, 605, 2714, 1042, 12, 590, 11272, 202, 202, 430, 261, 819, 18, 588, 3381, 12, 262, 18, 588, 503, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 2472, 18, 30343, 12, 11272, 1082, 202, 780, 1018, 273, 315, 7267, 19, 6054, 19, 668, 18, 24926, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2293, 18, 542, 1499, 12, 315, 1636, 3113, 819, 18, 588, 3381, 12, 262, 18, 588, 503, 12, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 691, 6681, 9437, 273, 590, 18, 588, 691, 6681, 12, 1018, 11272, 1082, 202, 13623, 18, 6702, 12, 590, 16, 766, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 430, 261, 2206, 10278, 278, 9654, 14963, 5556, 12, 590, 18, 588, 4745, 743, 12, 262, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 95, 6862, 202, 25256, 18, 3278, 12, 590, 16, 766, 11272, 9506, 202, 97, 9506, 202, 430, 261, 2206, 12102, 9654, 14963, 5556, 12, 590, 18, 588, 4745, 743, 12, 262, 262, 262, 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, 23611, 12, 9984, 590, 16, 12446, 766, 262, 1082, 202, 15069, 16517, 16, 1860, 202, 95, 202, 202, 4820, 4410, 1179, 18, 588, 1442, 12, 262, 18, 542, 4410, 1042, 12, 9506, 202, 588, 4745, 1042, 12, 262, 16, 590, 11272, 202, 202, 759, 1185, 17497, 4982, 819, 1208, 18, 202, 202, 38, 2714, 1042, 819, 273, 394, 605, 2714, 1042, 12, 590, 11272, 202, 202, 430, 261, 819, 18, 588, 3381, 12, 262, 18, 588, 503, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 2472, 18, 30343, 12, 11272, 1082, 202, 780, 1018, 273, 315, 7267, 19, 6054, 19, 668, 18, 24926, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2 ]
WindowManager.getInstance().getStatusBar(myProject).setInfo("Checking '"+file.getPresentableUrl()+"'");
if (statusBar != null) { statusBar.setInfo("Checking '"+file.getPresentableUrl()+"'"); }
private void orderVincentToCleanTheCar(final VirtualFile file) throws ProcessCanceledException { final Document document = FileDocumentManager.getInstance().getDocument(file); if (willBeHighlightedAnyway(file)) return; final PsiFile psiFile = PsiManager.getInstance(myProject).findFile(file); if (psiFile == null) return; ProgressManager.getInstance().runProcess(new Runnable(){ public void run() { try { WindowManager.getInstance().getStatusBar(myProject).setInfo("Checking '"+file.getPresentableUrl()+"'"); GeneralHighlightingPass pass = new GeneralHighlightingPass(myProject, psiFile, document, 0, document.getTextLength(), false, true); pass.doCollectInformation(myProgress); } finally { WindowManager.getInstance().getStatusBar(myProject).setInfo(""); } } },myProgress); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/313fa6a0ae9a2594a4df755039e81eddef272ab2/WolfTheProblemSolverImpl.java/buggy/source/com/intellij/codeInsight/problems/WolfTheProblemSolverImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1353, 58, 267, 2998, 774, 7605, 1986, 16321, 12, 6385, 7269, 812, 585, 13, 1216, 4389, 23163, 503, 288, 565, 727, 4319, 1668, 273, 1387, 2519, 1318, 18, 588, 1442, 7675, 588, 2519, 12, 768, 1769, 565, 309, 261, 20194, 1919, 16205, 329, 2961, 1888, 12, 768, 3719, 327, 31, 565, 727, 453, 7722, 812, 23921, 812, 273, 453, 7722, 1318, 18, 588, 1442, 12, 4811, 4109, 2934, 4720, 812, 12, 768, 1769, 565, 309, 261, 24275, 812, 422, 446, 13, 327, 31, 565, 10980, 1318, 18, 588, 1442, 7675, 2681, 2227, 12, 2704, 10254, 1435, 95, 1377, 1071, 918, 1086, 1435, 288, 3639, 775, 288, 1850, 309, 261, 2327, 5190, 480, 446, 13, 288, 1267, 5190, 18, 542, 966, 2932, 14294, 2119, 15, 768, 18, 588, 6351, 429, 1489, 1435, 9078, 4970, 1769, 289, 1850, 9544, 16205, 310, 6433, 1342, 273, 394, 9544, 16205, 310, 6433, 12, 4811, 4109, 16, 23921, 812, 16, 1668, 16, 374, 16, 1668, 18, 588, 1528, 1782, 9334, 629, 16, 638, 1769, 1850, 1342, 18, 2896, 10808, 5369, 12, 4811, 5491, 1769, 3639, 289, 3639, 3095, 288, 1850, 6076, 1318, 18, 588, 1442, 7675, 588, 1482, 5190, 12, 4811, 4109, 2934, 542, 966, 2932, 8863, 3639, 289, 1377, 289, 565, 19879, 4811, 5491, 1769, 225, 289, 2, 0, 0, 0, 0, 0,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, 309, 261, 20194, 1919, 16205, 329, 2961, 1888, 12, 768, 3719, 327, 31, 565, 727, 453, 7722, 812, 23921, 812, 273, 453, 7722, 1318, 18, 588, 1442, 12, 4811, 4109, 2934, 4720, 812, 12, 768, 1769, 565, 309, 261, 24275, 812, 422, 446, 13, 327, 31, 565, 10980, 1318, 18, 588, 1442, 7675, 2681, 2227, 12, 2704, 10254, 1435, 95, 1377, 1071, 918, 1086, 1435, 288, 3639, 775, 288, 1850, 309, 261, 2327, 5190, 480, 446, 13, 288, 1267, 2 ]
ForeignKey key = (ForeignKey) iter.next();
public void dropTable( Table table ) throws IOException { String tableName = table.getName(); // drop the foreign key contraints int counter = 1; for ( Iterator iter = table.getForeignKeys().iterator(); iter.hasNext(); ) { ForeignKey key = (ForeignKey) iter.next(); String constraintName = tableName + "_FK_" + counter; println( "IF EXISTS (SELECT 1 FROM sysobjects WHERE type ='RI' AND name=''" + constraintName + "')" ); printIndent(); print( "ALTER TABLE " + tableName + " DROP CONSTRAINT " + constraintName ); printEndOfStatement(); } // now drop the table println( "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = '" + tableName + "')" ); println( "BEGIN" ); printIndent(); println( "DROP TABLE " + tableName ); print( "END" ); printEndOfStatement(); }
47828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47828/42bb2ba6b21f3599a1cc83079a2af725eb3f54a5/SybaseBuilder.java/clean/modello-core/src/main/java/org/codehaus/modello/generator/database/sql/SybaseBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3640, 1388, 12, 3555, 1014, 262, 1216, 1860, 565, 288, 3639, 514, 4775, 273, 1014, 18, 17994, 5621, 3639, 368, 3640, 326, 5523, 498, 16252, 1598, 87, 3639, 509, 3895, 273, 404, 31, 3639, 364, 261, 4498, 1400, 273, 1014, 18, 588, 28285, 7675, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 3639, 288, 13491, 514, 4954, 461, 273, 4775, 397, 4192, 13121, 9548, 397, 3895, 31, 5411, 3785, 12, 315, 5501, 20476, 261, 4803, 404, 4571, 2589, 6911, 4852, 618, 273, 11, 2259, 11, 4116, 508, 2218, 4970, 5397, 397, 4954, 461, 397, 2491, 2225, 11272, 5411, 1172, 7790, 5621, 5411, 1172, 12, 315, 18843, 7567, 315, 397, 4775, 397, 315, 25736, 29316, 315, 397, 4954, 461, 11272, 5411, 1172, 23358, 3406, 5621, 3639, 289, 3639, 368, 2037, 3640, 326, 1014, 3639, 3785, 12, 315, 5501, 20476, 261, 4803, 404, 4571, 2589, 6911, 4852, 618, 273, 296, 57, 11, 4116, 508, 273, 2119, 1171, 397, 4775, 397, 2491, 2225, 11272, 3639, 3785, 12, 315, 16061, 6, 11272, 3639, 1172, 7790, 5621, 3639, 3785, 12, 315, 18768, 7567, 315, 397, 4775, 11272, 3639, 1172, 12, 315, 4415, 6, 11272, 3639, 1172, 23358, 3406, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3640, 1388, 12, 3555, 1014, 262, 1216, 1860, 565, 288, 3639, 514, 4775, 273, 1014, 18, 17994, 5621, 3639, 368, 3640, 326, 5523, 498, 16252, 1598, 87, 3639, 509, 3895, 273, 404, 31, 3639, 364, 261, 4498, 1400, 273, 1014, 18, 588, 28285, 7675, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 3639, 288, 13491, 514, 4954, 461, 273, 4775, 397, 4192, 13121, 9548, 397, 3895, 31, 5411, 3785, 12, 315, 5501, 20476, 261, 4803, 404, 4571, 2589, 6911, 4852, 618, 273, 11, 2259, 11, 4116, 508, 2218, 4970, 5397, 397, 4954, 461, 397, 2491, 2225, 11272, 5411, 1172, 7790, 5621, 5411, 1172, 12, 315, 18843, 7567, 315, 397, 4775, 397, 315, 25736, 29316, 315, 397, 2 ]
return 0;
return 0;
public static int compare(List left, List right) throws ClassCastException { if (left == null && right == null) return 0; else if (left == null) return -1; else if (right == null) return +1; else { int l = left.size(); int r = right.size(); if (l != r) return l - r; else { for (int i = 0; i < l; i++) { int compareTo = ((Comparable) left.get(i)).compareTo((Comparable) right.get(i)); if (compareTo != 0) return compareTo; } return 0; } } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/cc97b9a809e6814474642e1e2131704f1c481f9a/Util.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/Util.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 509, 3400, 12, 682, 2002, 16, 987, 2145, 13, 202, 202, 15069, 24034, 288, 202, 202, 430, 261, 4482, 422, 446, 597, 2145, 422, 446, 13, 1082, 202, 2463, 374, 31, 202, 202, 12107, 309, 261, 4482, 422, 446, 13, 1082, 202, 2463, 300, 21, 31, 202, 202, 12107, 309, 261, 4083, 422, 446, 13, 1082, 202, 2463, 397, 21, 31, 202, 202, 12107, 288, 1082, 202, 474, 328, 273, 2002, 18, 1467, 5621, 1082, 202, 474, 436, 273, 2145, 18, 1467, 5621, 1082, 202, 430, 261, 80, 480, 436, 13, 9506, 202, 2463, 328, 300, 436, 31, 1082, 202, 12107, 288, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 328, 31, 277, 27245, 288, 6862, 202, 474, 9292, 273, 14015, 799, 10207, 13, 2002, 18, 588, 12, 77, 13, 2934, 9877, 774, 12443, 799, 10207, 13, 2145, 18, 588, 12, 77, 10019, 6862, 202, 430, 261, 9877, 774, 480, 374, 13, 25083, 202, 2463, 9292, 31, 9506, 202, 97, 9506, 202, 2463, 374, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 509, 3400, 12, 682, 2002, 16, 987, 2145, 13, 202, 202, 15069, 24034, 288, 202, 202, 430, 261, 4482, 422, 446, 597, 2145, 422, 446, 13, 1082, 202, 2463, 374, 31, 202, 202, 12107, 309, 261, 4482, 422, 446, 13, 1082, 202, 2463, 300, 21, 31, 202, 202, 12107, 309, 261, 4083, 422, 446, 13, 1082, 202, 2463, 397, 21, 31, 202, 202, 12107, 288, 1082, 202, 474, 328, 273, 2002, 18, 1467, 5621, 1082, 202, 474, 436, 273, 2145, 18, 1467, 5621, 1082, 202, 430, 261, 80, 480, 436, 13, 9506, 202, 2463, 328, 300, 436, 31, 1082, 202, 12107, 288, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 328, 31, 2 ]
&& srcHex.getElevation() != destHex.getElevation()) {
&& srcHex.floor() != destHex.floor()) {
public static boolean isMovementPossible(Game game, int entityId, Coords src, Coords dest, int entityMoveType, int stepType) { final Entity entity = game.getEntity(entityId); final Hex srcHex = game.board.getHex(src); final Hex destHex = game.board.getHex(dest); // arguments valid? if (entity == null) { throw new IllegalArgumentException("Entity invalid."); } if (src.distance(dest) > 1) { throw new IllegalArgumentException("Coordinates must be adjacent."); } if (entityMoveType == Entity.MOVE_ILLEGAL) { // that was easy return false; } // another easy check if (!game.board.contains(dest)) { return false; } // check elevation difference > 2 if (entityMoveType != Entity.MOVE_JUMP && Math.abs(srcHex.getElevation() - destHex.getElevation()) > 2) { return false; } // units moving backwards may not change elevation levels (I think this rule's dumb) if (stepType == MovementData.STEP_BACKWARDS && srcHex.getElevation() != destHex.getElevation()) { return false; } // can't run into water if (entityMoveType == Entity.MOVE_RUN && destHex.getTerrainType() == Terrain.WATER && destHex.getElevation() < 0) { return false; } // can't jump out of water if (entityMoveType == Entity.MOVE_JUMP && entity.getPosition().equals(src) && srcHex.getTerrainType() == Terrain.WATER) { return false; } // can't move into a hex with an enemy unit, unless charging or jumping if (entityMoveType != Entity.MOVE_JUMP && stepType != MovementData.STEP_CHARGE && stepType != MovementData.STEP_DFA && game.getEntity(dest) != null && entity.isEnemyOf(game.getEntity(dest))) { return false; } // can't jump over too-high terrain if (entityMoveType == Entity.MOVE_JUMP && destHex.getElevation() > (game.board.getHex(entity.getPosition()).getElevation() + entity.getJumpMP())) { return false; } return true; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/3045e322f5d70e8d851c863279a5680bed754e84/Compute.java/buggy/megamek/src/megamek/common/Compute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 15707, 26140, 13576, 12, 12496, 7920, 16, 509, 15052, 16, 4766, 2868, 10320, 87, 1705, 16, 10320, 87, 1570, 16, 4766, 2398, 509, 1522, 7607, 559, 16, 4766, 2398, 509, 2235, 559, 13, 288, 3639, 727, 3887, 1522, 273, 7920, 18, 588, 1943, 12, 1096, 548, 1769, 3639, 727, 15734, 1705, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 4816, 1769, 3639, 727, 15734, 1570, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 10488, 1769, 7734, 368, 1775, 923, 35, 3639, 309, 261, 1096, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 1943, 2057, 1199, 1769, 3639, 289, 3639, 309, 261, 4816, 18, 8969, 12, 10488, 13, 405, 404, 13, 288, 5411, 604, 394, 2754, 2932, 13431, 1297, 506, 16335, 1199, 1769, 3639, 289, 7734, 309, 261, 1096, 7607, 559, 422, 3887, 18, 16537, 67, 2627, 19384, 1013, 13, 288, 5411, 368, 716, 1703, 12779, 5411, 327, 629, 31, 3639, 289, 3639, 368, 4042, 12779, 866, 3639, 309, 16051, 13957, 18, 3752, 18, 12298, 12, 10488, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 368, 866, 19051, 7114, 405, 576, 3639, 309, 261, 1096, 7607, 559, 480, 3887, 18, 16537, 67, 46, 23942, 2398, 597, 2361, 18, 5113, 12, 4816, 7037, 18, 588, 17274, 7112, 1435, 300, 1570, 7037, 18, 588, 17274, 7112, 10756, 405, 576, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 368, 4971, 12499, 12727, 2026, 486, 2549, 19051, 7575, 261, 45, 15507, 333, 1720, 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, 1250, 15707, 26140, 13576, 12, 12496, 7920, 16, 509, 15052, 16, 4766, 2868, 10320, 87, 1705, 16, 10320, 87, 1570, 16, 4766, 2398, 509, 1522, 7607, 559, 16, 4766, 2398, 509, 2235, 559, 13, 288, 3639, 727, 3887, 1522, 273, 7920, 18, 588, 1943, 12, 1096, 548, 1769, 3639, 727, 15734, 1705, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 4816, 1769, 3639, 727, 15734, 1570, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 10488, 1769, 7734, 368, 1775, 923, 35, 3639, 309, 261, 1096, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 1943, 2057, 1199, 1769, 3639, 289, 3639, 309, 261, 4816, 18, 8969, 12, 10488, 13, 405, 404, 13, 288, 5411, 2 ]
Entity entity = Model.instance().getEntity(o); final Attribute[] attributes = entity.getAttributes(); for (int i = 0; i < attributes.length; i++) { Attribute attribute = attributes[i]; System.out.println("Attribute: " + attribute.getDescription()); } final Relationship[] relationships = entity.getRelationships(); for (int i = 0; i < relationships.length; i++) { Relationship relationship = relationships[i]; System.out.println("Relationship: " + relationship.getDescription()); } }
Entity entity = Model.instance().getEntity(o); final Attribute[] attributes = entity.getAttributes(); for (int i = 0; i < attributes.length; i++) { Attribute attribute = attributes[i]; System.out.println("Attribute: " + attribute.getDescription()); } final Relationship[] relationships = entity.getRelationships(); for (int i = 0; i < relationships.length; i++) { Relationship relationship = relationships[i]; System.out.println("Relationship: " + relationship.getDescription()); } }
public static void foo(Object o) { Entity entity = Model.instance().getEntity(o); final Attribute[] attributes = entity.getAttributes(); for (int i = 0; i < attributes.length; i++) { Attribute attribute = attributes[i]; System.out.println("Attribute: " + attribute.getDescription()); } final Relationship[] relationships = entity.getRelationships(); for (int i = 0; i < relationships.length; i++) { Relationship relationship = relationships[i]; System.out.println("Relationship: " + relationship.getDescription()); } }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/Model.java/buggy/src/main/mondrian/jolap/util/Model.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 8431, 12, 921, 320, 13, 288, 202, 202, 1943, 1522, 273, 3164, 18, 1336, 7675, 588, 1943, 12, 83, 1769, 202, 202, 6385, 3601, 8526, 1677, 273, 1522, 18, 588, 2498, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1677, 18, 2469, 31, 277, 27245, 288, 1082, 202, 1499, 1566, 273, 1677, 63, 77, 15533, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 1499, 30, 315, 397, 1566, 18, 588, 3291, 10663, 202, 202, 97, 202, 202, 6385, 15463, 8526, 11499, 273, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 8431, 12, 921, 320, 13, 288, 202, 202, 1943, 1522, 273, 3164, 18, 1336, 7675, 588, 1943, 12, 83, 1769, 202, 202, 6385, 3601, 8526, 1677, 273, 1522, 18, 588, 2498, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1677, 18, 2469, 31, 277, 27245, 288, 1082, 202, 1499, 1566, 273, 1677, 63, 77, 15533, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 1499, 30, 315, 397, 1566, 18, 588, 3291, 10663, 202, 202, 97, 202, 202, 6385, 15463, 8526, 11499, 273, 1522, 18, 588, 17185, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 11499, 18, 2469, 31, 277, 27245, 288, 1082, 202, 8180, 5232, 273, 2 ]
public void doexample() throws SQLException { System.out.println("\nRunning tests:"); // First we need a table to store data in st.executeUpdate("create table basic (a int2, b int2)"); // Now insert some data, using the Statement st.executeUpdate("insert into basic values (1,1)"); st.executeUpdate("insert into basic values (2,1)"); st.executeUpdate("insert into basic values (3,1)"); // This shows how to get the oid of a just inserted row st.executeUpdate("insert into basic values (4,1)"); int insertedOID = ((org.postgresql.ResultSet)st.getResultSet()).getInsertedOID(); System.out.println("Inserted row with oid "+insertedOID); // Now change the value of b from 1 to 8 st.executeUpdate("update basic set b=8"); System.out.println("Updated "+st.getUpdateCount()+" rows"); // Now delete 2 rows st.executeUpdate("delete from basic where a<3"); System.out.println("deleted "+st.getUpdateCount()+" rows"); // For large inserts, a PreparedStatement is more efficient, because it // supports the idea of precompiling the SQL statement, and to store // directly, a Java object into any column. PostgreSQL doesnt support // precompiling, but does support setting a column to the value of a // Java object (like Date, String, etc). // // Also, this is the only way of writing dates in a datestyle independent // manner. (DateStyles are PostgreSQL's way of handling different methods // of representing dates in the Date data type.) PreparedStatement ps = db.prepareStatement("insert into basic values (?,?)"); for(int i=2;i<5;i++) { ps.setInt(1,4); // "column a" = 5 ps.setInt(2,i); // "column b" = i ps.executeUpdate(); // executeUpdate because insert returns no data } ps.close(); // Always close when we are done with it // Finally perform a query on the table System.out.println("performing a query"); ResultSet rs = st.executeQuery("select a, b from basic"); if(rs!=null) { // Now we run through the result set, printing out the result. // Note, we must call .next() before attempting to read any results while(rs.next()) { int a = rs.getInt("a"); // This shows how to get the value by name int b = rs.getInt(2); // This shows how to get the value by column System.out.println(" a="+a+" b="+b); } rs.close(); // again, you must close the result when done } // Now run the query again, showing a more efficient way of getting the // result if you don't know what column number a value is in System.out.println("performing another query"); rs = st.executeQuery("select * from basic where b>1"); if(rs!=null) { // First find out the column numbers. // // It's best to do this here, as calling the methods with the column // numbers actually performs this call each time they are called. This // really speeds things up on large queries. // int col_a = rs.findColumn("a"); int col_b = rs.findColumn("b"); // Now we run through the result set, printing out the result. // Again, we must call .next() before attempting to read any results while(rs.next()) { int a = rs.getInt(col_a); // This shows how to get the value by name int b = rs.getInt(col_b); // This shows how to get the value by column System.out.println(" a="+a+" b="+b); } rs.close(); // again, you must close the result when done } // The last thing to do is to drop the table. This is done in the // cleanup() method. }
11803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11803/8439a83d84fb159a790ed2b6d14d4151b9890857/basic.java/clean/src/interfaces/jdbc/example/basic.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 741, 8236, 1435, 1216, 6483, 225, 288, 565, 2332, 18, 659, 18, 8222, 31458, 82, 7051, 7434, 2773, 1769, 3639, 368, 5783, 732, 1608, 279, 1014, 358, 1707, 501, 316, 565, 384, 18, 8837, 1891, 2932, 2640, 1014, 5337, 261, 69, 509, 22, 16, 324, 509, 22, 2225, 1769, 3639, 368, 4494, 2243, 2690, 501, 16, 1450, 326, 8056, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 21, 16, 21, 2225, 1769, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 22, 16, 21, 2225, 1769, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 23, 16, 21, 2225, 1769, 3639, 368, 1220, 17975, 3661, 358, 336, 326, 7764, 434, 279, 2537, 9564, 1027, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 24, 16, 21, 2225, 1769, 565, 509, 9564, 12945, 273, 14015, 3341, 18, 2767, 24330, 18, 13198, 13, 334, 18, 588, 13198, 1435, 2934, 588, 27329, 12945, 5621, 565, 2332, 18, 659, 18, 8222, 2932, 27329, 1027, 598, 7764, 13773, 6387, 329, 12945, 1769, 3639, 368, 4494, 2549, 326, 460, 434, 324, 628, 404, 358, 1725, 565, 384, 18, 8837, 1891, 2932, 2725, 5337, 444, 324, 33, 28, 8863, 565, 2332, 18, 659, 18, 8222, 2932, 7381, 13773, 334, 18, 588, 1891, 1380, 1435, 9078, 2595, 8863, 3639, 368, 4494, 1430, 576, 2595, 565, 384, 18, 8837, 1891, 2932, 3733, 628, 5337, 1625, 279, 32, 23, 8863, 565, 2332, 18, 659, 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, 282, 1071, 918, 741, 8236, 1435, 1216, 6483, 225, 288, 565, 2332, 18, 659, 18, 8222, 31458, 82, 7051, 7434, 2773, 1769, 3639, 368, 5783, 732, 1608, 279, 1014, 358, 1707, 501, 316, 565, 384, 18, 8837, 1891, 2932, 2640, 1014, 5337, 261, 69, 509, 22, 16, 324, 509, 22, 2225, 1769, 3639, 368, 4494, 2243, 2690, 501, 16, 1450, 326, 8056, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 21, 16, 21, 2225, 1769, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 22, 16, 21, 2225, 1769, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 23, 16, 21, 2225, 1769, 3639, 368, 1220, 17975, 3661, 358, 336, 326, 7764, 2 ]
public void addObjectStoreCoordinator(EOObjectStoreCoordinator osc) {
private void addObjectStoreCoordinator(EOObjectStoreCoordinator osc) { if (!(osc instanceof ObjectStoreCoordinator)) { throw new RuntimeException("cannot add "+osc+" because its not an instanceof ObjectStoreCoordinator"); }
public void addObjectStoreCoordinator(EOObjectStoreCoordinator osc) { oscs.addObject(osc); NSSelector sel = new NSSelector("publishChange", new Class[] { NSNotification.class } ); NSNotificationCenter.defaultCenter().addObserver( this, sel, EOObjectStoreCoordinator.ObjectsChangedInStoreNotification, osc); }
50512 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50512/acd453b1c03efe243b0b9226b936fba67d163db1/ERXObjectStoreCoordinatorPool.java/buggy/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXObjectStoreCoordinatorPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 31311, 2257, 25307, 12, 41, 51, 921, 2257, 25307, 31476, 13, 288, 309, 16051, 12, 538, 71, 1276, 1033, 2257, 25307, 3719, 288, 604, 394, 3235, 2932, 12892, 527, 13773, 538, 71, 9078, 2724, 2097, 486, 392, 1276, 1033, 2257, 25307, 8863, 289, 5411, 31476, 87, 18, 1289, 921, 12, 538, 71, 1769, 5411, 423, 1260, 292, 1229, 357, 273, 394, 423, 1260, 292, 1229, 2932, 6543, 3043, 3113, 394, 1659, 8526, 288, 11472, 4386, 18, 1106, 289, 11272, 5411, 11472, 4386, 8449, 18, 1886, 8449, 7675, 1289, 11048, 12, 4766, 11794, 333, 16, 4766, 11794, 357, 16, 4766, 11794, 512, 51, 921, 2257, 25307, 18, 4710, 5033, 382, 2257, 4386, 16, 4766, 11794, 31476, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 921, 2257, 25307, 31476, 13, 288, 309, 16051, 12, 538, 71, 1276, 1033, 2257, 25307, 3719, 288, 604, 394, 3235, 2932, 12892, 527, 13773, 538, 71, 9078, 2724, 2097, 486, 392, 1276, 1033, 2257, 25307, 8863, 289, 5411, 31476, 87, 18, 1289, 921, 12, 538, 71, 1769, 5411, 423, 1260, 292, 1229, 357, 273, 394, 423, 1260, 292, 1229, 2932, 6543, 3043, 3113, 394, 1659, 8526, 288, 11472, 4386, 18, 1106, 289, 11272, 5411, 11472, 4386, 8449, 18, 1886, 8449, 7675, 1289, 11048, 12, 4766, 11794, 333, 16, 4766, 11794, 357, 16, 4766, 11794, 512, 51, 921, 2257, 25307, 18, 4710, 5033, 382, 2257, 4386, 16, 4766, 11794, 31476, 1769, 2 ]
throw new ProjectBuildingException( "Failed to parse model from file '" + file.getAbsolutePath() +
throw new ProjectBuildingException( projectId, "Failed to parse model from file '" + file.getAbsolutePath() +
private Model readModel( File file ) throws ProjectBuildingException { Reader reader = null; try { reader = new FileReader( file ); return readModel( reader ); } catch ( FileNotFoundException e ) { throw new ProjectBuildingException( "Could not find the model file '" + file.getAbsolutePath() + "'.", e ); } catch ( IOException e ) { throw new ProjectBuildingException( "Failed to build model from file '" + file.getAbsolutePath() + "'.\nError: \'" + e.getLocalizedMessage() + "\'", e ); } catch ( XmlPullParserException e ) { throw new ProjectBuildingException( "Failed to parse model from file '" + file.getAbsolutePath() + "'.\nError: \'" + e.getLocalizedMessage() + "\'", e ); } finally { IOUtil.close( reader ); } }
47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/f685d8605d2680e70b1ff2895947d2d11787e3c9/DefaultMavenProjectBuilder.java/buggy/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3164, 855, 1488, 12, 1387, 585, 262, 3639, 1216, 5420, 16713, 503, 565, 288, 3639, 5393, 2949, 273, 446, 31, 3639, 775, 3639, 288, 5411, 2949, 273, 394, 23010, 12, 585, 11272, 5411, 327, 855, 1488, 12, 2949, 11272, 3639, 289, 3639, 1044, 261, 13707, 425, 262, 3639, 288, 5411, 604, 394, 5420, 16713, 503, 12, 315, 4445, 486, 1104, 326, 938, 585, 2119, 397, 585, 18, 588, 10368, 743, 1435, 397, 30156, 16, 425, 11272, 3639, 289, 3639, 1044, 261, 1860, 425, 262, 3639, 288, 5411, 604, 394, 5420, 16713, 503, 12, 315, 2925, 358, 1361, 938, 628, 585, 2119, 397, 585, 18, 588, 10368, 743, 1435, 397, 7734, 2491, 8403, 82, 668, 30, 521, 4970, 397, 425, 18, 588, 2042, 1235, 1079, 1435, 397, 1548, 11, 3113, 425, 11272, 3639, 289, 3639, 1044, 261, 5714, 9629, 25746, 425, 262, 3639, 288, 5411, 604, 394, 5420, 16713, 503, 12, 9882, 16, 315, 2925, 358, 1109, 938, 628, 585, 2119, 397, 585, 18, 588, 10368, 743, 1435, 397, 7734, 2491, 8403, 82, 668, 30, 521, 4970, 397, 425, 18, 588, 2042, 1235, 1079, 1435, 397, 1548, 11, 3113, 425, 11272, 3639, 289, 3639, 3095, 3639, 288, 5411, 1665, 1304, 18, 4412, 12, 2949, 11272, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3164, 855, 1488, 12, 1387, 585, 262, 3639, 1216, 5420, 16713, 503, 565, 288, 3639, 5393, 2949, 273, 446, 31, 3639, 775, 3639, 288, 5411, 2949, 273, 394, 23010, 12, 585, 11272, 5411, 327, 855, 1488, 12, 2949, 11272, 3639, 289, 3639, 1044, 261, 13707, 425, 262, 3639, 288, 5411, 604, 394, 5420, 16713, 503, 12, 315, 4445, 486, 1104, 326, 938, 585, 2119, 397, 585, 18, 588, 10368, 743, 1435, 397, 30156, 16, 425, 11272, 3639, 289, 3639, 1044, 261, 1860, 425, 262, 3639, 288, 5411, 604, 394, 5420, 16713, 503, 12, 315, 2925, 358, 1361, 938, 628, 585, 2119, 397, 585, 18, 588, 10368, 743, 1435, 397, 7734, 2491, 8403, 82, 668, 30, 521, 4970, 2 ]
Mock otherMock = mock( ExampleInterface.class, "otherMock" );
Mock otherMock = mock(ExampleInterface.class, "otherMock");
public void testCanSpecifyOrderOverDifferentMocks() { Mock otherMock = mock( ExampleInterface.class, "otherMock" ); ExampleInterface otherProxy = (ExampleInterface)otherMock.proxy(); otherMock.stubs().method("hello").isVoid(); mock.stubs().method("goodbye").after(otherMock,"hello"); otherProxy.hello(); proxy.goodbye(); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/065d08edd62599d5d244a9317db470157690f4f9/OrderedInvocationsAcceptanceTest.java/clean/jmock/core/acceptance-tests/atest/jmock/OrderedInvocationsAcceptanceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 2568, 19302, 2448, 4851, 26270, 9865, 87, 1435, 288, 202, 202, 9865, 1308, 9865, 273, 5416, 12, 5090, 1358, 18, 1106, 16, 315, 3011, 9865, 6, 11272, 202, 202, 10908, 1358, 1308, 3886, 273, 261, 10908, 1358, 13, 3011, 9865, 18, 5656, 5621, 9506, 202, 3011, 9865, 18, 31960, 7675, 2039, 2932, 23711, 20387, 291, 19038, 5621, 9506, 202, 22851, 18, 31960, 7675, 2039, 2932, 19747, 1637, 73, 20387, 5205, 12, 3011, 9865, 10837, 23711, 8863, 9506, 202, 3011, 3886, 18, 23711, 5621, 202, 202, 5656, 18, 19747, 1637, 73, 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,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, 1358, 13, 3011, 9865, 18, 5656, 5621, 9506, 202, 3011, 9865, 18, 31960, 7675, 2039, 2932, 23711, 20387, 291, 19038, 5621, 9506, 202, 22851, 18, 31960, 7675, 2039, 2932, 19747, 1637, 73, 20387, 5205, 12, 3011, 9865, 10837, 23711, 8863, 9506, 202, 3011, 3886, 18, 23711, 5621, 202, 202, 5656, 18, 19747, 1637, 73, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
string_to_object(st.nextToken()) );
string_to_object(st.nextToken()));
protected void set_parameters(Applet app, Properties props) { useProperties(props); String[][] para = app.getParameterInfo(); if (para != null) { for (int i = 0; i < para.length; i++) { if (para [ i ] [ 0 ].equals(LISTEN_ON)) Port = Integer.parseInt(para [ i ] [ 1 ]); if (para [ i ] [ 0 ].equals(REFERENCE)) { StringTokenizer st = new StringTokenizer(para [ i ] [ 1 ], "="); initial_references.put(st.nextToken(), string_to_object(st.nextToken()) ); } if (para [ i ] [ 0 ].equals(NS_HOST)) ns_host = para [ i ] [ 1 ]; if (para [ i ] [ 0 ].equals(START_READING_MESSAGE)) TOUT_START_READING_MESSAGE = Integer.parseInt(para [ i ] [ 1 ]); if (para [ i ] [ 0 ].equals(WHILE_READING)) TOUT_WHILE_READING = Integer.parseInt(para [ i ] [ 1 ]); if (para [ i ] [ 0 ].equals(AFTER_RECEIVING)) TOUT_AFTER_RECEIVING = Integer.parseInt(para [ i ] [ 1 ]); try { if (para [ i ] [ 0 ].equals(NS_PORT)) ns_port = Integer.parseInt(para [ i ] [ 1 ]); } catch (NumberFormatException ex) { BAD_PARAM bad = new BAD_PARAM("Invalid " + NS_PORT + "property, unable to parse '" + props.getProperty(NS_PORT) + "'" ); bad.initCause(ex); throw bad; } } } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/8820e7a18265b8e9be753676d9477fb94a1447c8/OrbFunctional.java/clean/core/src/classpath/gnu/gnu/CORBA/OrbFunctional.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 444, 67, 3977, 12, 23696, 595, 16, 6183, 3458, 13, 225, 288, 565, 999, 2297, 12, 9693, 1769, 565, 514, 63, 6362, 65, 12602, 273, 595, 18, 588, 1662, 966, 5621, 565, 309, 261, 25072, 480, 446, 13, 1377, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 12602, 18, 2469, 31, 277, 27245, 1850, 288, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 7085, 1157, 67, 673, 3719, 2868, 6008, 273, 2144, 18, 2670, 1702, 12, 25072, 306, 277, 308, 306, 404, 308, 1769, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 14617, 3719, 2868, 288, 7734, 16370, 384, 273, 5375, 394, 16370, 12, 25072, 306, 277, 308, 306, 404, 308, 16, 9671, 1769, 7734, 2172, 67, 14353, 18, 458, 12, 334, 18, 4285, 1345, 9334, 5375, 533, 67, 869, 67, 1612, 12, 334, 18, 4285, 1345, 10756, 7734, 11272, 2868, 289, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 3156, 67, 8908, 3719, 2868, 3153, 67, 2564, 273, 12602, 306, 277, 308, 306, 404, 308, 31, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 7570, 67, 6949, 1360, 67, 8723, 3719, 2868, 399, 5069, 67, 7570, 67, 6949, 1360, 67, 8723, 273, 2144, 18, 2670, 1702, 12, 25072, 306, 277, 308, 306, 404, 308, 1769, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 12557, 13578, 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, 4750, 918, 444, 67, 3977, 12, 23696, 595, 16, 6183, 3458, 13, 225, 288, 565, 999, 2297, 12, 9693, 1769, 565, 514, 63, 6362, 65, 12602, 273, 595, 18, 588, 1662, 966, 5621, 565, 309, 261, 25072, 480, 446, 13, 1377, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 12602, 18, 2469, 31, 277, 27245, 1850, 288, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 7085, 1157, 67, 673, 3719, 2868, 6008, 273, 2144, 18, 2670, 1702, 12, 25072, 306, 277, 308, 306, 404, 308, 1769, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 14617, 3719, 2868, 288, 7734, 16370, 384, 273, 5375, 394, 16370, 2 ]
if (!audioLine.isActive()) { utteranceEndReached = false; setRecording(true); RecordingThread recorder = new RecordingThread("Microphone"); if (audioLine.isRunning()) { logger.severe("Whoops: line is running");
utteranceEndReached = false; setRecording(true); RecordingThread recorder = new RecordingThread("Microphone"); if (audioLine.isRunning()) { logger.severe("Whoops: audio line is running"); } audioLine.start(); while (!started) { try { wait(); } catch (InterruptedException ie) { ie.printStackTrace();
public synchronized boolean startRecording() { if (audioLine == null) { open(); } if (!audioLine.isActive()) { utteranceEndReached = false; setRecording(true); RecordingThread recorder = new RecordingThread("Microphone"); if (audioLine.isRunning()) { logger.severe("Whoops: line is running"); } audioLine.start(); while (!getStarted()) { try { wait(); } catch (InterruptedException ie) { ie.printStackTrace(); } } recorder.start(); return true; } else { return false; } }
7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/79cc11875e137bd0f586aeabfdec271b42b60378/Microphone.java/buggy/edu/cmu/sphinx/frontend/util/Microphone.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1250, 787, 21037, 1435, 288, 3639, 309, 261, 11509, 1670, 422, 446, 13, 288, 202, 565, 1696, 5621, 202, 97, 202, 430, 16051, 11509, 1670, 18, 291, 3896, 10756, 288, 5411, 31297, 1638, 23646, 273, 629, 31, 5411, 444, 21037, 12, 3767, 1769, 5411, 868, 4643, 3830, 15766, 273, 394, 868, 4643, 3830, 2932, 13617, 10540, 8863, 202, 565, 309, 261, 11509, 1670, 18, 291, 7051, 10756, 288, 202, 202, 4901, 18, 307, 502, 73, 2932, 2888, 83, 4473, 30, 980, 353, 3549, 8863, 202, 565, 289, 202, 565, 7447, 1670, 18, 1937, 5621, 202, 565, 1323, 16051, 588, 9217, 10756, 288, 202, 202, 698, 288, 1082, 565, 2529, 5621, 202, 202, 97, 1044, 261, 24485, 503, 9228, 13, 288, 1082, 565, 9228, 18, 1188, 6332, 5621, 202, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1250, 787, 21037, 1435, 288, 3639, 309, 261, 11509, 1670, 422, 446, 13, 288, 202, 565, 1696, 5621, 202, 97, 202, 430, 16051, 11509, 1670, 18, 291, 3896, 10756, 288, 5411, 31297, 1638, 23646, 273, 629, 31, 5411, 444, 21037, 12, 3767, 1769, 5411, 868, 4643, 3830, 15766, 273, 394, 868, 4643, 3830, 2932, 13617, 10540, 8863, 202, 565, 309, 261, 11509, 1670, 18, 291, 7051, 10756, 288, 202, 202, 4901, 18, 307, 502, 73, 2932, 2888, 83, 4473, 30, 980, 353, 3549, 8863, 202, 565, 289, 202, 565, 7447, 1670, 18, 1937, 5621, 202, 565, 1323, 16051, 588, 9217, 10756, 288, 202, 202, 698, 288, 1082, 565, 2529, 5621, 202, 202, 97, 1044, 261, 24485, 2 ]
public org.quickfix.field.CreditRating getCreditRating() throws FieldNotFound { org.quickfix.field.CreditRating value = new org.quickfix.field.CreditRating();
public quickfix.field.CreditRating getCreditRating() throws FieldNotFound { quickfix.field.CreditRating value = new quickfix.field.CreditRating();
public org.quickfix.field.CreditRating getCreditRating() throws FieldNotFound { org.quickfix.field.CreditRating value = new org.quickfix.field.CreditRating(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/RFQRequest.java/clean/src/java/src/quickfix/fix44/RFQRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 16520, 20388, 1927, 10430, 20388, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 16520, 20388, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 16520, 20388, 1927, 10430, 20388, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 16520, 20388, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 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, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void testGetDouble() {
public void testGetDouble() {
public void testGetDouble() { eprop.setProperty("numberD", "1.0"); double oneD = 1, twoD = 2; assertEquals("This returns 1(double)", eprop.getDouble("numberD"), oneD, 0); assertEquals("This returns 1(double)", eprop.getDouble("numberD",twoD), oneD, 0); assertEquals("This returns 2(default double)", eprop.getDouble("numberNotInConfig",twoD), twoD, 0); assertEquals("This returns 1(Double)", eprop.getDouble("numberD",new Double("2")), new Double(oneD)); }
56523 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56523/4594b718e65a428a13e16a14d929289d0fa0b744/TestBaseConfiguration.java/buggy/src/test/org/apache/commons/configuration/TestBaseConfiguration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 5265, 1435, 288, 3639, 425, 5986, 18, 542, 1396, 2932, 2696, 40, 3113, 315, 21, 18, 20, 8863, 3639, 1645, 1245, 40, 273, 404, 16, 2795, 40, 273, 576, 31, 3639, 1815, 8867, 2932, 2503, 1135, 404, 12, 9056, 2225, 16, 5397, 425, 5986, 18, 588, 5265, 2932, 2696, 40, 6, 3631, 5397, 1245, 40, 16, 5397, 374, 1769, 3639, 1815, 8867, 2932, 2503, 1135, 404, 12, 9056, 2225, 16, 5397, 425, 5986, 18, 588, 5265, 2932, 2696, 40, 3113, 15415, 40, 3631, 5397, 1245, 40, 16, 5397, 374, 1769, 3639, 1815, 8867, 2932, 2503, 1135, 576, 12, 1886, 1645, 2225, 16, 5397, 425, 5986, 18, 588, 5265, 2932, 2696, 21855, 809, 3113, 15415, 40, 3631, 5397, 2795, 40, 16, 5397, 374, 1769, 3639, 1815, 8867, 2932, 2503, 1135, 404, 12, 5265, 2225, 16, 5397, 425, 5986, 18, 588, 5265, 2932, 2696, 40, 3113, 2704, 3698, 2932, 22, 7923, 3631, 5397, 394, 3698, 12, 476, 40, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 918, 1842, 967, 5265, 1435, 288, 3639, 425, 5986, 18, 542, 1396, 2932, 2696, 40, 3113, 315, 21, 18, 20, 8863, 3639, 1645, 1245, 40, 273, 404, 16, 2795, 40, 273, 576, 31, 3639, 1815, 8867, 2932, 2503, 1135, 404, 12, 9056, 2225, 16, 5397, 425, 5986, 18, 588, 5265, 2932, 2696, 40, 6, 3631, 5397, 1245, 40, 16, 5397, 374, 1769, 3639, 1815, 8867, 2932, 2503, 1135, 404, 12, 9056, 2225, 16, 5397, 425, 5986, 18, 588, 5265, 2932, 2696, 40, 3113, 15415, 40, 3631, 5397, 1245, 40, 16, 5397, 374, 1769, 3639, 1815, 8867, 2932, 2503, 1135, 576, 12, 1886, 1645, 2225, 16, 5397, 425, 5986, 18, 588, 5265, 2932, 2696, 21855, 809, 3113, 15415, 2 ]
{ return false; }
{ return false; }
public boolean supportsFullOuterJoins() throws SQLException { return false; }
47293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47293/6a061da272f04e1463864065f87f1f3fd61d6162/DatabaseMetaData.java/clean/src/interfaces/jdbc/postgresql/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 6146, 5080, 15040, 21108, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 6146, 5080, 15040, 21108, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 629, 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 ]
enabledExtension = (NavigatorContentExtension) itr.next();
foundExtension = (NavigatorContentExtension) itr.next();
public synchronized Object[] getChildren(Object aParentElement) { Set enabledExtensions = contentService .findContentExtensionsByTriggerPoint(aParentElement); if (enabledExtensions.size() == 0) return NO_CHILDREN; Set finalChildrenSet = new HashSet(); Object[] contributedChildren = null; NavigatorContentExtension enabledExtension; NavigatorContentExtension[] overridingExtensions; for (Iterator itr = enabledExtensions.iterator(); itr.hasNext();) { enabledExtension = (NavigatorContentExtension) itr.next(); try { if (!shouldDeferToOverridePath(enabledExtension.getDescriptor(), enabledExtensions)) { contributedChildren = enabledExtension.getContentProvider() .getChildren(aParentElement); overridingExtensions = enabledExtension .getOverridingExtensionsForTriggerPoint(aParentElement); if (overridingExtensions.length > 0) { contributedChildren = pipelineChildren(aParentElement, overridingExtensions, new HashSet(Arrays.asList(contributedChildren))) .toArray(); } if (contributedChildren != null && contributedChildren.length > 0) finalChildrenSet.addAll(Arrays.asList(contributedChildren)); } } catch (RuntimeException re) { NavigatorPlugin .logError( 0, NLS .bind( CommonNavigatorMessages.Could_not_provide_children_for_element, new Object[] { enabledExtension .getDescriptor() .getId() }), re); } catch (Error e) { NavigatorPlugin .logError( 0, NLS .bind( CommonNavigatorMessages.Could_not_provide_children_for_element, new Object[] { enabledExtension .getDescriptor() .getId() }), e); } } return finalChildrenSet.toArray(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/c93d807ed962723d90daba76fc2003e2c1801cbc/NavigatorContentServiceContentProvider.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/NavigatorContentServiceContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 1033, 8526, 10268, 12, 921, 279, 3054, 1046, 13, 288, 202, 202, 694, 3696, 7513, 273, 913, 1179, 9506, 202, 18, 4720, 1350, 7513, 858, 6518, 2148, 12, 69, 3054, 1046, 1769, 202, 202, 430, 261, 5745, 7513, 18, 1467, 1435, 422, 374, 13, 1082, 202, 2463, 3741, 67, 27043, 24296, 31, 202, 202, 694, 727, 4212, 694, 273, 394, 6847, 5621, 202, 202, 921, 8526, 356, 11050, 4212, 273, 446, 31, 202, 202, 22817, 1350, 3625, 3696, 3625, 31, 3196, 202, 22817, 1350, 3625, 8526, 19488, 7513, 31, 202, 202, 1884, 261, 3198, 11176, 273, 3696, 7513, 18, 9838, 5621, 11176, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 5745, 3625, 273, 261, 22817, 1350, 3625, 13, 11176, 18, 4285, 5621, 1082, 202, 698, 288, 9506, 202, 430, 16051, 13139, 758, 586, 774, 6618, 743, 12, 5745, 3625, 18, 588, 3187, 9334, 25083, 202, 5745, 7513, 3719, 288, 4405, 202, 591, 11050, 4212, 273, 3696, 3625, 18, 588, 1350, 2249, 1435, 6862, 1082, 202, 18, 588, 4212, 12, 69, 3054, 1046, 1769, 6862, 202, 83, 1107, 10415, 7513, 273, 3696, 3625, 6862, 1082, 202, 18, 588, 22042, 10415, 7513, 1290, 6518, 2148, 12, 69, 3054, 1046, 1769, 6862, 202, 430, 261, 83, 1107, 10415, 7513, 18, 2469, 405, 374, 13, 288, 25083, 202, 591, 11050, 4212, 273, 5873, 4212, 12, 69, 3054, 1046, 16, 6862, 9506, 202, 83, 1107, 10415, 7513, 16, 6862, 9506, 202, 2704, 6847, 12, 12726, 18, 345, 682, 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, 3852, 1033, 8526, 10268, 12, 921, 279, 3054, 1046, 13, 288, 202, 202, 694, 3696, 7513, 273, 913, 1179, 9506, 202, 18, 4720, 1350, 7513, 858, 6518, 2148, 12, 69, 3054, 1046, 1769, 202, 202, 430, 261, 5745, 7513, 18, 1467, 1435, 422, 374, 13, 1082, 202, 2463, 3741, 67, 27043, 24296, 31, 202, 202, 694, 727, 4212, 694, 273, 394, 6847, 5621, 202, 202, 921, 8526, 356, 11050, 4212, 273, 446, 31, 202, 202, 22817, 1350, 3625, 3696, 3625, 31, 3196, 202, 22817, 1350, 3625, 8526, 19488, 7513, 31, 202, 202, 1884, 261, 3198, 11176, 273, 3696, 7513, 18, 9838, 5621, 11176, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 5745, 3625, 273, 261, 22817, 2 ]
if (!display.readAndDispatch()) display.sleep();
if (!currentDisplay.readAndDispatch()) currentDisplay.sleep();
public void busyCursorWhile(final IRunnableWithProgress runnable) throws InvocationTargetException, InterruptedException { final ProgressMonitorJobsDialog dialog = new ProgressMonitorJobsDialog(null); dialog.setOpenOnRun(false); final boolean[] busy = { true }; scheduleProgressMonitorJob(dialog,busy); final InvocationTargetException[] invokes = new InvocationTargetException[1]; final InterruptedException[] interrupt = new InterruptedException[1]; invokes[0] = null; interrupt[0] = null; BusyIndicator.showWhile(Display.getCurrent(), new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { try { dialog.setOpenOnRun(false); dialog.run(true /* fork */ , true /* cancelable */ , runnable); //Run the event loop until the progress job wakes up Display display = Display.getCurrent(); while (busy[0]) { if (!display.readAndDispatch()) display.sleep(); } } catch (InvocationTargetException e) { invokes[0] = e; } catch (InterruptedException e) { interrupt[0] = e; } } }); if (invokes[0] != null) throw invokes[0]; if (interrupt[0] != null) throw interrupt[0]; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/2e7dc730649441690c6caeb4caed8895e396307d/ProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 21697, 6688, 15151, 12, 6385, 467, 20013, 1190, 5491, 14685, 13, 1216, 15342, 16, 7558, 288, 202, 202, 6385, 10980, 7187, 7276, 6353, 6176, 273, 394, 10980, 7187, 7276, 6353, 12, 2011, 1769, 202, 202, 12730, 18, 542, 3678, 1398, 1997, 12, 5743, 1769, 202, 202, 6385, 1250, 8526, 21697, 273, 288, 638, 289, 31, 202, 202, 10676, 5491, 7187, 2278, 12, 12730, 16, 9274, 93, 1769, 202, 202, 6385, 15342, 8526, 18058, 273, 394, 15342, 63, 21, 15533, 202, 202, 6385, 7558, 8526, 13123, 273, 394, 7558, 63, 21, 15533, 202, 202, 5768, 601, 281, 63, 20, 65, 273, 446, 31, 202, 202, 31847, 63, 20, 65, 273, 446, 31, 202, 202, 29289, 13140, 18, 4500, 15151, 12, 4236, 18, 588, 3935, 9334, 394, 10254, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2252, 18, 4936, 18, 20013, 7, 2681, 1435, 9506, 1195, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 12730, 18, 542, 3678, 1398, 1997, 12, 5743, 1769, 6862, 202, 12730, 18, 2681, 12, 3767, 1748, 12515, 1195, 6862, 202, 16, 638, 1748, 3755, 429, 1195, 6862, 202, 16, 14685, 1769, 6862, 202, 759, 1997, 326, 871, 2798, 3180, 326, 4007, 1719, 341, 3223, 731, 6862, 202, 4236, 2562, 273, 9311, 18, 588, 3935, 5621, 6862, 202, 17523, 261, 9274, 93, 63, 20, 5717, 288, 25083, 202, 430, 16051, 5417, 18, 896, 1876, 5325, 10756, 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, 21697, 6688, 15151, 12, 6385, 467, 20013, 1190, 5491, 14685, 13, 1216, 15342, 16, 7558, 288, 202, 202, 6385, 10980, 7187, 7276, 6353, 6176, 273, 394, 10980, 7187, 7276, 6353, 12, 2011, 1769, 202, 202, 12730, 18, 542, 3678, 1398, 1997, 12, 5743, 1769, 202, 202, 6385, 1250, 8526, 21697, 273, 288, 638, 289, 31, 202, 202, 10676, 5491, 7187, 2278, 12, 12730, 16, 9274, 93, 1769, 202, 202, 6385, 15342, 8526, 18058, 273, 394, 15342, 63, 21, 15533, 202, 202, 6385, 7558, 8526, 13123, 273, 394, 7558, 63, 21, 15533, 202, 202, 5768, 601, 281, 63, 20, 65, 273, 446, 31, 202, 202, 31847, 63, 20, 65, 273, 446, 31, 202, 202, 29289, 13140, 2 ]
"CALDAV:calendar-query must contain only one prop/propname/allprop element.");
"CALDAV:calendar-query must contain only " + "one prop/propname/allprop element.");
public void setInfo(ReportInfo info) throws IllegalArgumentException { if (info == null || !CosmoDavConstants.ELEMENT_CALDAV_CALENDAR_QUERY.equals(info .getReportElement().getLocalName())) { throw new IllegalArgumentException( "CALDAV:calendar-query element expected."); } this.info = info; // Parse the report element. // calendar-query is basically a PROPFIND request but with a filter item // added in. // The code here is pretty much copied from // WebdavRequestImpl.parsePropFindRequest. propfindProps = new DavPropertyNameSet(); VTimeZone tz = null; Element filterEl = null; boolean gotPropType = false; ElementIterator i = DomUtil.getChildren(info.getReportElement()); while (i.hasNext()) { Element child = i.nextElement(); String nodeName = child.getLocalName(); //prop element if (XML_PROP.equals(nodeName)) { if (gotPropType) { throw new IllegalArgumentException( "CALDAV:calendar-query must contain only one " + "prop/propname/allprop element."); } propfindType = PROPFIND_BY_PROPERTY; propfindProps = new DavPropertyNameSet(child); gotPropType = true; Iterator iter = propfindProps.iterator(); while (iter.hasNext()) { DavPropertyName name = (DavPropertyName) iter.next(); //CALDAV:calendar-data if (CosmoDavConstants.CALENDARDATA.equals(name)) { // Now find the calendar-data element inside the prop // element and cache that calendarDataElement = DomUtil.getChildElement(child, CosmoDavConstants.ELEMENT_CALDAV_CALENDAR_DATA, CosmoDavConstants.NAMESPACE_CALDAV); } //CALDAV:timezone else if (CosmoDavConstants.TIMEZONE.equals(name)) { Element tzEl = DomUtil.getChildElement(child, CosmoDavConstants.ELEMENT_CALDAV_TIMEZONE, CosmoDavConstants.NAMESPACE_CALDAV); String icalTz = DomUtil.getTextTrim(tzEl); //(CALDAV:valid-calendar-data) try { tz = CosmoUtil.validateVtimezone(icalTz); } catch (ValidationException e) { throw new IllegalArgumentException(e.getMessage()); } } } //If a CALDAV:calendar-data and /or a CALDAV:timezone found //remove theses values from the propfindProps since they //are managed explicitly. if (calendarDataElement != null) propfindProps.remove(CosmoDavConstants.CALENDARDATA); if (tz != null) propfindProps.remove(CosmoDavConstants.TIMEZONE); } else if (XML_PROPNAME.equals(nodeName)) { if (gotPropType) { throw new IllegalArgumentException( "CALDAV:calendar-query must contain only one prop/propname/allprop element."); } propfindType = PROPFIND_PROPERTY_NAMES; gotPropType = true; } else if (XML_ALLPROP.equals(nodeName)) { if (gotPropType) { throw new IllegalArgumentException( "CALDAV:calendar-query must contain only one prop/propname/allprop element."); } propfindType = PROPFIND_ALL_PROP; gotPropType = true; } else if (CosmoDavConstants.ELEMENT_CALDAV_FILTER.equals(nodeName)) { // Can only have one filter if (filter != null) { throw new IllegalArgumentException( "CALDAV:calendar-query must contain only one filter element."); } //Create the filter. Since the order of xml elements is arbitrary //we do not parse the element at this time. //Once the request has been fully digested and the timezone //retrieved or not then we parse the element. filter = new QueryFilter(); filterEl = child; } } if (filter != null) { if (tz == null) { //If no CALDAV:timezone was specified with the REPORT query //then try and get the timezone of the calendar collection DavProperty ptz = resource.getProperty(CosmoDavPropertyName.CALENDARTIMEZONE); if (ptz != null) { try { tz = CosmoUtil.validateVtimezone((String) ptz.getValue()); } catch (ValidationException e) { //This exception should never be raised since the //timezone was validated when it was added as a property of //the calendar collection throw new IllegalArgumentException(e.getMessage()); } } } //The value of tz will either be null or a Vtimezone filter.setTimezone(tz); filter.parseElement(filterEl); } }
47226 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47226/8f5248df6b8fe2f548c946cd1982665d080201c9/QueryReport.java/clean/src/main/java/org/osaf/cosmo/dav/report/caldav/QueryReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 966, 12, 4820, 966, 1123, 13, 3639, 1216, 2754, 288, 3639, 309, 261, 1376, 422, 446, 7734, 747, 401, 39, 538, 8683, 40, 842, 2918, 18, 10976, 67, 7913, 17735, 67, 12983, 29154, 67, 10753, 18, 14963, 12, 1376, 13491, 263, 588, 4820, 1046, 7675, 588, 29583, 1435, 3719, 288, 5411, 604, 394, 2754, 12, 10792, 315, 7913, 17735, 30, 11650, 17, 2271, 930, 2665, 1199, 1769, 3639, 289, 3639, 333, 18, 1376, 273, 1123, 31, 3639, 368, 2884, 326, 2605, 930, 18, 3639, 368, 5686, 17, 2271, 353, 23772, 279, 16258, 42, 2356, 590, 1496, 598, 279, 1034, 761, 3639, 368, 3096, 316, 18, 3639, 368, 1021, 981, 2674, 353, 7517, 9816, 9268, 628, 3639, 368, 2999, 20752, 691, 2828, 18, 2670, 4658, 3125, 691, 18, 3639, 2270, 4720, 5047, 273, 394, 463, 842, 13073, 694, 5621, 3639, 776, 16760, 6016, 225, 273, 446, 31, 3639, 3010, 1034, 4958, 273, 446, 31, 3639, 1250, 2363, 4658, 559, 273, 629, 31, 3639, 3010, 3198, 277, 273, 12965, 1304, 18, 588, 4212, 12, 1376, 18, 588, 4820, 1046, 10663, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 3010, 1151, 273, 277, 18, 4285, 1046, 5621, 5411, 514, 7553, 273, 1151, 18, 588, 29583, 5621, 5411, 368, 5986, 930, 5411, 309, 261, 4201, 67, 15811, 18, 14963, 12, 2159, 461, 3719, 288, 7734, 309, 261, 13212, 4658, 559, 13, 288, 10792, 604, 394, 2754, 12, 18701, 315, 7913, 17735, 30, 11650, 17, 2271, 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, 444, 966, 12, 4820, 966, 1123, 13, 3639, 1216, 2754, 288, 3639, 309, 261, 1376, 422, 446, 7734, 747, 401, 39, 538, 8683, 40, 842, 2918, 18, 10976, 67, 7913, 17735, 67, 12983, 29154, 67, 10753, 18, 14963, 12, 1376, 13491, 263, 588, 4820, 1046, 7675, 588, 29583, 1435, 3719, 288, 5411, 604, 394, 2754, 12, 10792, 315, 7913, 17735, 30, 11650, 17, 2271, 930, 2665, 1199, 1769, 3639, 289, 3639, 333, 18, 1376, 273, 1123, 31, 3639, 368, 2884, 326, 2605, 930, 18, 3639, 368, 5686, 17, 2271, 353, 23772, 279, 16258, 42, 2356, 590, 1496, 598, 279, 1034, 761, 3639, 368, 3096, 316, 18, 3639, 368, 1021, 981, 2674, 353, 7517, 9816, 9268, 628, 2 ]
public static MenuFactory addMenuBar(ViewerApp viewerApp) { MenuFactory menuFac = new MenuFactory(viewerApp); menuFac.frame.setJMenuBar( menuFac.getMenuBar() ); menuFac.frame.validate();
public static MenuFactory addMenuBar(JFrame frame, SelectionManager sm) { MenuFactory menuFac = new MenuFactory(); menuFac.setFrame(frame); menuFac.setSelectionManager(sm); frame.setJMenuBar( menuFac.getMenuBar() ); frame.validate();
public static MenuFactory addMenuBar(ViewerApp viewerApp) { MenuFactory menuFac = new MenuFactory(viewerApp); menuFac.frame.setJMenuBar( menuFac.getMenuBar() ); menuFac.frame.validate(); return menuFac; }
25414 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25414/09445c7512054fbc87e8602167d54eeae52f476e/MenuFactory.java/buggy/src-ui/de/jreality/ui/viewerapp/MenuFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 9809, 1733, 527, 4599, 5190, 12, 18415, 3371, 14157, 3371, 13, 288, 565, 9809, 1733, 3824, 6645, 273, 394, 9809, 1733, 12, 25256, 3371, 1769, 565, 3824, 6645, 18, 3789, 18, 542, 46, 4599, 5190, 12, 3824, 6645, 18, 588, 4599, 5190, 1435, 11272, 565, 3824, 6645, 18, 3789, 18, 5662, 5621, 3639, 327, 3824, 6645, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 9809, 1733, 527, 4599, 5190, 12, 18415, 3371, 14157, 3371, 13, 288, 565, 9809, 1733, 3824, 6645, 273, 394, 9809, 1733, 12, 25256, 3371, 1769, 565, 3824, 6645, 18, 3789, 18, 542, 46, 4599, 5190, 12, 3824, 6645, 18, 588, 4599, 5190, 1435, 11272, 565, 3824, 6645, 18, 3789, 18, 5662, 5621, 3639, 327, 3824, 6645, 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 ]
po = src; try { src.connect(this); } catch (IOException ex) { po = null; throw ex; } }
if (closed) throw new IOException("Stream is closed and cannot be reopened"); src.connect(this); ever_connected = true; }
public void connect(PipedOutputStream src) throws IOException { if (buffer == null) throw new IOException("pipe closed"); if (po != null) if (po == src) return; else throw new IOException("pipe already connected"); po = src; try { src.connect(this); } catch (IOException ex) { po = null; throw ex; } }
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/8d285042d388a7105e3b50a5f438a5cd5ecdb499/PipedInputStream.java/clean/libjava/java/io/PipedInputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3077, 12, 24925, 329, 4632, 1705, 13, 1216, 1860, 225, 288, 565, 309, 261, 4106, 422, 446, 13, 1377, 604, 394, 1860, 2932, 14772, 4375, 8863, 565, 309, 261, 1631, 480, 446, 13, 1377, 309, 261, 1631, 422, 1705, 13, 202, 2463, 31, 1377, 469, 3639, 604, 394, 1860, 2932, 14772, 1818, 5840, 8863, 565, 8275, 273, 1705, 31, 565, 775, 565, 288, 1377, 1705, 18, 3612, 12, 2211, 1769, 565, 289, 565, 1044, 261, 14106, 431, 13, 565, 288, 1377, 8275, 273, 446, 31, 1377, 604, 431, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 565, 309, 261, 1631, 480, 446, 13, 1377, 309, 261, 1631, 422, 1705, 13, 202, 2463, 31, 1377, 469, 3639, 604, 394, 1860, 2932, 14772, 1818, 5840, 8863, 565, 8275, 273, 1705, 31, 565, 775, 565, 288, 1377, 1705, 18, 3612, 12, 2211, 1769, 565, 289, 565, 1044, 261, 14106, 431, 13, 565, 288, 1377, 8275, 273, 446, 31, 1377, 604, 431, 31, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.SymbolSfx getSymbolSfx() throws FieldNotFound { org.quickfix.field.SymbolSfx value = new org.quickfix.field.SymbolSfx();
public quickfix.field.SymbolSfx getSymbolSfx() throws FieldNotFound { quickfix.field.SymbolSfx value = new quickfix.field.SymbolSfx();
public org.quickfix.field.SymbolSfx getSymbolSfx() throws FieldNotFound { org.quickfix.field.SymbolSfx value = new org.quickfix.field.SymbolSfx(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderCross.java/buggy/src/java/src/quickfix/fix43/NewOrderCross.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 18712, 55, 19595, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 18712, 55, 19595, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (f1.isDirectory() && f2.isFile())
if (f1.isDirectory() && !f2.isDirectory())
public int compare(Object o1, Object o2) { if (o1 == null) return 1; if (o2 == null) return -1; File f1 = (File) o1; File f2 = (File) o2; // Les rpertoires, toujours en premier if (f1.isDirectory() && f2.isFile()) return -1; if (f1.isFile() && f2.isDirectory()) return 1; return (f1.lastModified() > f2.lastModified() ? -1 : 1); }
9737 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9737/eb20b8eb3f31b0b1246704d93501c70a1840806f/CompareByLastModified.java/clean/FSeeker/src/misc/file/CompareByLastModified.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 3400, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 288, 3639, 309, 261, 83, 21, 422, 446, 13, 5411, 327, 404, 31, 3639, 309, 261, 83, 22, 422, 446, 13, 5411, 327, 300, 21, 31, 3639, 1387, 284, 21, 273, 261, 812, 13, 320, 21, 31, 3639, 1387, 284, 22, 273, 261, 812, 13, 320, 22, 31, 3639, 368, 511, 281, 436, 672, 83, 2814, 16, 358, 11501, 4390, 570, 23020, 2453, 540, 309, 261, 74, 21, 18, 291, 2853, 1435, 597, 401, 74, 22, 18, 291, 2853, 10756, 5411, 327, 300, 21, 31, 3639, 309, 261, 74, 21, 18, 291, 812, 1435, 597, 284, 22, 18, 291, 2853, 10756, 5411, 327, 404, 31, 3639, 327, 261, 74, 21, 18, 2722, 4575, 1435, 405, 284, 22, 18, 2722, 4575, 1435, 692, 300, 21, 294, 404, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 3400, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 288, 3639, 309, 261, 83, 21, 422, 446, 13, 5411, 327, 404, 31, 3639, 309, 261, 83, 22, 422, 446, 13, 5411, 327, 300, 21, 31, 3639, 1387, 284, 21, 273, 261, 812, 13, 320, 21, 31, 3639, 1387, 284, 22, 273, 261, 812, 13, 320, 22, 31, 3639, 368, 511, 281, 436, 672, 83, 2814, 16, 358, 11501, 4390, 570, 23020, 2453, 540, 309, 261, 74, 21, 18, 291, 2853, 1435, 597, 401, 74, 22, 18, 291, 2853, 10756, 5411, 327, 300, 21, 31, 3639, 309, 261, 74, 21, 18, 291, 812, 1435, 597, 284, 22, 18, 291, 2853, 10756, 5411, 327, 404, 31, 3639, 2 ]
private PDOMBinding _resolveBinding(IASTName name) throws CoreException, DOMException { // mstodo revisit IBinding origBinding = name.getBinding(); if (origBinding != null) return adaptBinding(origBinding); if (name instanceof ICPPASTQualifiedName) { IASTName[] names = ((ICPPASTQualifiedName)name).getNames(); if (names.length == 1) return resolveBinding(names[0]); IASTName lastName = names[names.length - 1]; PDOMBinding nsBinding = adaptBinding(names[names.length - 2].resolveBinding()); if (nsBinding instanceof IScope) { return (PDOMBinding) ((IScope)nsBinding).getBinding(lastName, true); } } IASTNode parent = name.getParent(); if (parent instanceof ICPPASTQualifiedName) { ICPPASTQualifiedName qualName = (ICPPASTQualifiedName)parent; IASTName lastName = qualName.getLastName(); if (name != lastName) { return resolveInQualifiedName(name); } else { // Drop down to the rest of the resolution procedure // with the parent of the qualified name parent = parent.getParent(); } } if (parent instanceof IASTIdExpression) { // reference IASTNode eParent = parent.getParent(); if (eParent instanceof IASTFunctionCallExpression) { return resolveFunctionCall((IASTIdExpression)parent, name, (IASTFunctionCallExpression) eParent); } else { int constant = (name.getParent() instanceof ICPPASTQualifiedName && ((ICPPASTQualifiedName)name.getParent()).getLastName() != name) ? CPPNAMESPACE : CPPVARIABLE; FindBindingByLinkageConstant finder = new FindBindingByLinkageConstant(this, name.toCharArray(), constant); getIndex().accept(finder); return finder.getResult(); } } else if (parent instanceof IASTNamedTypeSpecifier) { FindBindingByLinkageConstant finder = new FindBindingByLinkageConstant(this, name.toCharArray(), CPPCLASSTYPE); getIndex().accept(finder); PDOMBinding result = finder.getResult(); return result; } else if (parent instanceof ICPPASTNamespaceAlias) { FindBindingByLinkageConstant finder = new FindBindingByLinkageConstant(this, name.toCharArray(), CPPNAMESPACE); getIndex().accept(finder); return finder.getResult(); } else if(parent instanceof ICPPASTFieldReference) { ICPPASTFieldReference ref = (ICPPASTFieldReference) parent; IASTExpression exp = ref.getFieldOwner(); if(exp instanceof IASTIdExpression) { IASTIdExpression id = (IASTIdExpression) exp; IASTNode eParent = parent.getParent(); if (eParent instanceof IASTFunctionCallExpression) { IASTFunctionCallExpression exp2 = (IASTFunctionCallExpression) eParent; return resolveFunctionCall(id, name, exp2); } } } return null; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/4c73232e1ce6b1d2e461b22bb13c3bf53f84e124/PDOMCPPLinkage.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 52, 8168, 5250, 67, 10828, 5250, 12, 45, 9053, 50, 301, 1069, 13, 15069, 25341, 16, 8168, 503, 95, 202, 202, 759, 27523, 369, 479, 11658, 202, 202, 45, 5250, 4949, 5250, 33, 529, 18, 588, 5250, 5621, 1082, 202, 430, 12, 4949, 5250, 5, 33, 2011, 13, 1082, 202, 2463, 19195, 5250, 12, 4949, 5250, 1769, 202, 202, 430, 12, 529, 1336, 792, 2871, 52, 4066, 882, 12345, 15329, 1082, 202, 45, 9053, 461, 8526, 1973, 33, 12443, 2871, 52, 4066, 882, 12345, 13, 529, 2934, 588, 1557, 5621, 1082, 202, 430, 12, 1973, 18, 2469, 631, 21, 13, 9506, 202, 2463, 10828, 5250, 12, 1973, 63, 20, 19226, 1082, 202, 45, 9053, 50, 9925, 689, 461, 33, 1973, 63, 1973, 18, 2469, 17, 21, 15533, 1082, 202, 52, 8168, 5250, 2387, 5250, 33, 19195, 5250, 12, 1973, 63, 1973, 18, 2469, 17, 22, 8009, 10828, 5250, 10663, 1082, 202, 430, 12, 2387, 5250, 1336, 792, 45, 3876, 15329, 9506, 202, 2463, 12, 52, 8168, 5250, 13, 12443, 45, 3876, 13, 2387, 5250, 2934, 588, 5250, 12, 2722, 461, 16, 3767, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 45, 9053, 907, 2938, 33, 529, 18, 588, 3054, 5621, 202, 202, 430, 12, 2938, 1336, 792, 2871, 52, 4066, 882, 12345, 15329, 1082, 202, 2871, 52, 4066, 882, 12345, 3369, 461, 28657, 2871, 52, 4066, 882, 12345, 13, 2938, 31, 1082, 202, 45, 9053, 50, 9925, 689, 461, 33, 3369, 461, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 52, 8168, 5250, 67, 10828, 5250, 12, 45, 9053, 50, 301, 1069, 13, 15069, 25341, 16, 8168, 503, 95, 202, 202, 759, 27523, 369, 479, 11658, 202, 202, 45, 5250, 4949, 5250, 33, 529, 18, 588, 5250, 5621, 1082, 202, 430, 12, 4949, 5250, 5, 33, 2011, 13, 1082, 202, 2463, 19195, 5250, 12, 4949, 5250, 1769, 202, 202, 430, 12, 529, 1336, 792, 2871, 52, 4066, 882, 12345, 15329, 1082, 202, 45, 9053, 461, 8526, 1973, 33, 12443, 2871, 52, 4066, 882, 12345, 13, 529, 2934, 588, 1557, 5621, 1082, 202, 430, 12, 1973, 18, 2469, 631, 21, 13, 9506, 202, 2463, 10828, 5250, 12, 1973, 63, 20, 19226, 1082, 202, 45, 9053, 50, 9925, 2 ]
wizardElement = element;
wizardElement = wizardDesc;
public NewWizardShortcutAction(IWorkbenchWindow window, WorkbenchWizardElement element) { super(element.getLabel(element)); setToolTipText(element.getDescription()); setImageDescriptor(element.getImageDescriptor()); setId(ActionFactory.NEW.getId()); wizardElement = element; this.window = window; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3d694fa5580f66413fa910c2e54a03aaef1cec34/NewWizardShortcutAction.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/actions/NewWizardShortcutAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1166, 27130, 15576, 1803, 12, 45, 2421, 22144, 3829, 2742, 16, 5411, 4147, 22144, 27130, 1046, 930, 13, 288, 3639, 2240, 12, 2956, 18, 588, 2224, 12, 2956, 10019, 3639, 444, 29250, 1528, 12, 2956, 18, 588, 3291, 10663, 3639, 18893, 3187, 12, 2956, 18, 588, 2040, 3187, 10663, 3639, 10446, 12, 1803, 1733, 18, 12917, 18, 26321, 10663, 3639, 24204, 1046, 273, 24204, 4217, 31, 3639, 333, 18, 5668, 273, 2742, 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,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5411, 4147, 22144, 27130, 1046, 930, 13, 288, 3639, 2240, 12, 2956, 18, 588, 2224, 12, 2956, 10019, 3639, 444, 29250, 1528, 12, 2956, 18, 588, 3291, 10663, 3639, 18893, 3187, 12, 2956, 18, 588, 2040, 3187, 10663, 3639, 10446, 12, 1803, 1733, 18, 12917, 18, 26321, 10663, 3639, 24204, 1046, 273, 24204, 4217, 31, 3639, 333, 18, 5668, 273, 2742, 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 ]
super.configureShell(newShell);
super.configureShell(newShell);
protected void configureShell(Shell newShell) { super.configureShell(newShell); if (title == null) { newShell.setText(MarkerMessages.propertiesDialog_title); } else { newShell.setText(title); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/5dfab9acd886f09a1ca9341cff1d740dc40e3c35/DialogMarkerProperties.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerProperties.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5068, 13220, 12, 13220, 394, 13220, 13, 288, 3639, 2240, 18, 14895, 13220, 12, 2704, 13220, 1769, 3639, 309, 261, 2649, 422, 446, 13, 288, 1082, 202, 2704, 13220, 18, 542, 1528, 12, 7078, 5058, 18, 4738, 6353, 67, 2649, 1769, 202, 202, 97, 469, 288, 1082, 202, 2704, 13220, 18, 542, 1528, 12, 2649, 1769, 202, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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, 377, 4750, 918, 5068, 13220, 12, 13220, 394, 13220, 13, 288, 3639, 2240, 18, 14895, 13220, 12, 2704, 13220, 1769, 3639, 309, 261, 2649, 422, 446, 13, 288, 1082, 202, 2704, 13220, 18, 542, 1528, 12, 7078, 5058, 18, 4738, 6353, 67, 2649, 1769, 202, 202, 97, 469, 288, 1082, 202, 2704, 13220, 18, 542, 1528, 12, 2649, 1769, 202, 202, 97, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public synchronized int getPacketSize() {
public synchronized int getPacketSize() throws AbortedException {
public synchronized int getPacketSize() { if (_aborted) { throw new RuntimeException("PRB is aborted"); } return _packetSize; }
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/b4ecaa4055b5835413830d4125c72de27d68e306/PartiallyReceivedBlock.java/buggy/src/freenet/io/xfer/PartiallyReceivedBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 509, 30401, 278, 1225, 1435, 288, 202, 202, 430, 261, 67, 18623, 329, 13, 288, 1082, 202, 12849, 394, 3235, 2932, 8025, 38, 353, 18166, 8863, 202, 202, 97, 202, 202, 2463, 389, 11482, 1225, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 509, 30401, 278, 1225, 1435, 288, 202, 202, 430, 261, 67, 18623, 329, 13, 288, 1082, 202, 12849, 394, 3235, 2932, 8025, 38, 353, 18166, 8863, 202, 202, 97, 202, 202, 2463, 389, 11482, 1225, 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 ]
final IHandlerService service = (IHandlerService) locator .getService(IHandlerService.class); Map activationsByActionId = null; if (activationsByActionIdByServiceLocator == null) { activationsByActionIdByServiceLocator = new WeakHashMap(); activationsByActionId = new HashMap(); activationsByActionIdByServiceLocator.put(locator, activationsByActionId); } else { activationsByActionId = (Map) activationsByActionIdByServiceLocator .get(locator); if (activationsByActionId == null) {
if (serviceLocator != null) { final IActionCommandMappingService mappingService = (IActionCommandMappingService) serviceLocator .getService(IActionCommandMappingService.class); final String commandId = mappingService.getCommandId(actionID); final IHandlerService service = (IHandlerService) serviceLocator .getService(IHandlerService.class); Map activationsByActionId = null; if (activationsByActionIdByServiceLocator == null) { activationsByActionIdByServiceLocator = new WeakHashMap();
public void setGlobalActionHandler(String actionID, IAction handler) { final IServiceLocator locator = getServiceLocator(); if (handler != null) { // Update the action handlers. if (actionHandlers == null) actionHandlers = new HashMap(11); actionHandlers.put(actionID, handler); // Update the handler activations. final IHandlerService service = (IHandlerService) locator .getService(IHandlerService.class); Map activationsByActionId = null; if (activationsByActionIdByServiceLocator == null) { activationsByActionIdByServiceLocator = new WeakHashMap(); activationsByActionId = new HashMap(); activationsByActionIdByServiceLocator.put(locator, activationsByActionId); } else { activationsByActionId = (Map) activationsByActionIdByServiceLocator .get(locator); if (activationsByActionId == null) { activationsByActionId = new HashMap(); activationsByActionIdByServiceLocator.put(locator, activationsByActionId); } else if (activationsByActionId.containsKey(actionID)) { final Object value = activationsByActionId.remove(actionID); if (value instanceof IHandlerActivation) { final IHandlerActivation activation = (IHandlerActivation) value; service.deactivateHandler(activation); activation.getHandler().dispose(); } } } // Add a mapping from this action id to the command id. final IActionCommandMappingService mappingService = (IActionCommandMappingService) locator .getService(IActionCommandMappingService.class); final String commandId = mappingService.getCommandId(actionID); if (commandId != null) { // Register this as a handler with the given definition id. // the expression gives the setGlobalActionHandler() a // priority. final IHandler actionHandler = new ActionHandler(handler); final IHandlerActivation activation = service.activateHandler( commandId, actionHandler, new Expression() { public final EvaluationResult evaluate( final IEvaluationContext context) { return EvaluationResult.TRUE; } public final void collectExpressionInfo( final ExpressionInfo info) { info .addVariableNameAccess(SourcePriorityNameMapping.LEGACY_LEGACY_NAME); } }); activationsByActionId.put(actionID, activation); } } else { if (actionHandlers != null) actionHandlers.remove(actionID); // Remove the handler activation. final IHandlerService service = (IHandlerService) locator .getService(IHandlerService.class); if (activationsByActionIdByServiceLocator != null) { final Map activationsByActionId = (Map) activationsByActionIdByServiceLocator .get(locator); if ((activationsByActionId != null) && (activationsByActionId.containsKey(actionID))) { final Object value = activationsByActionId.remove(actionID); if (value instanceof IHandlerActivation) { final IHandlerActivation activation = (IHandlerActivation) value; service.deactivateHandler(activation); activation.getHandler().dispose(); } } } } actionHandlersChanged = true; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3650e0efd6c52eb765c7beeea5a6979bbb754314/SubActionBars.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/SubActionBars.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 5160, 1803, 1503, 12, 780, 1301, 734, 16, 467, 1803, 1838, 13, 288, 202, 202, 6385, 467, 1179, 5786, 8871, 273, 17457, 5621, 202, 202, 430, 261, 4176, 480, 446, 13, 288, 1082, 202, 759, 2315, 326, 1301, 4919, 18, 1082, 202, 430, 261, 1128, 6919, 422, 446, 13, 9506, 202, 1128, 6919, 273, 394, 4317, 12, 2499, 1769, 1082, 202, 1128, 6919, 18, 458, 12, 1128, 734, 16, 1838, 1769, 1082, 202, 759, 2315, 326, 1838, 25751, 18, 1082, 202, 6385, 467, 1503, 1179, 1156, 273, 261, 45, 1503, 1179, 13, 8871, 6862, 202, 18, 588, 1179, 12, 45, 1503, 1179, 18, 1106, 1769, 1082, 202, 863, 25751, 858, 1803, 548, 273, 446, 31, 1082, 202, 430, 261, 11422, 1012, 858, 1803, 548, 858, 1179, 5786, 422, 446, 13, 288, 9506, 202, 11422, 1012, 858, 1803, 548, 858, 1179, 5786, 273, 394, 23632, 8658, 5621, 9506, 202, 11422, 1012, 858, 1803, 548, 273, 394, 4317, 5621, 9506, 202, 11422, 1012, 858, 1803, 548, 858, 1179, 5786, 18, 458, 12, 20048, 16, 25083, 202, 11422, 1012, 858, 1803, 548, 1769, 1082, 202, 97, 469, 288, 9506, 202, 11422, 1012, 858, 1803, 548, 273, 261, 863, 13, 25751, 858, 1803, 548, 858, 1179, 5786, 25083, 202, 18, 588, 12, 20048, 1769, 9506, 202, 430, 261, 11422, 1012, 858, 1803, 548, 422, 446, 13, 288, 6862, 202, 11422, 1012, 858, 1803, 548, 273, 394, 4317, 5621, 6862, 202, 11422, 1012, 858, 1803, 548, 858, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 5160, 1803, 1503, 12, 780, 1301, 734, 16, 467, 1803, 1838, 13, 288, 202, 202, 6385, 467, 1179, 5786, 8871, 273, 17457, 5621, 202, 202, 430, 261, 4176, 480, 446, 13, 288, 1082, 202, 759, 2315, 326, 1301, 4919, 18, 1082, 202, 430, 261, 1128, 6919, 422, 446, 13, 9506, 202, 1128, 6919, 273, 394, 4317, 12, 2499, 1769, 1082, 202, 1128, 6919, 18, 458, 12, 1128, 734, 16, 1838, 1769, 1082, 202, 759, 2315, 326, 1838, 25751, 18, 1082, 202, 6385, 467, 1503, 1179, 1156, 273, 261, 45, 1503, 1179, 13, 8871, 6862, 202, 18, 588, 1179, 12, 45, 1503, 1179, 18, 1106, 1769, 1082, 202, 863, 25751, 858, 1803, 548, 273, 446, 2 ]
throw backtrack;
throwBacktrack(bt2);
protected IASTDeclaration simpleDeclarationStrategyUnion( IASTScope scope, IASTTemplate ownerTemplate, CompletionKind overrideKind, KeywordSetKey overrideKey) throws EndOfFileException, BacktrackException { simpleDeclarationMark = mark(); try { return simpleDeclaration( SimpleDeclarationStrategy.TRY_CONSTRUCTOR, scope, ownerTemplate, overrideKind, false, overrideKey); // try it first with the original strategy } catch (BacktrackException bt) { if( simpleDeclarationMark == null ) throw backtrack; // did not work backup(simpleDeclarationMark); try { return simpleDeclaration( SimpleDeclarationStrategy.TRY_FUNCTION, scope, ownerTemplate, overrideKind, false, overrideKey); } catch( BacktrackException bt2 ) { if( simpleDeclarationMark == null ) throw backtrack; backup( simpleDeclarationMark ); try { return simpleDeclaration( SimpleDeclarationStrategy.TRY_VARIABLE, scope, ownerTemplate, overrideKind, false, overrideKey); } catch( BacktrackException b3 ) { backup( simpleDeclarationMark ); throw b3; } } } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/85be18a5f9556c1b23f600ca12f088a1d51d3925/Parser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 9053, 6094, 4143, 6094, 4525, 14325, 12, 3639, 467, 9053, 3876, 2146, 16, 3639, 467, 9053, 2283, 3410, 2283, 16, 20735, 5677, 3849, 5677, 16, 18317, 30267, 3849, 653, 13, 3639, 1216, 4403, 951, 812, 503, 16, 4297, 4101, 503, 565, 288, 3639, 4143, 6094, 3882, 273, 2267, 5621, 202, 202, 698, 3639, 288, 5411, 327, 4143, 6094, 12, 7734, 4477, 6094, 4525, 18, 17805, 67, 26935, 916, 16, 7734, 2146, 16, 7734, 3410, 2283, 16, 3849, 5677, 16, 629, 16, 3849, 653, 1769, 5411, 368, 775, 518, 1122, 598, 326, 2282, 6252, 3639, 289, 3639, 1044, 261, 2711, 4101, 503, 10921, 13, 3639, 288, 540, 202, 430, 12, 4143, 6094, 3882, 422, 446, 262, 540, 202, 202, 12849, 2711, 4101, 12, 23602, 22, 1769, 5411, 368, 5061, 486, 1440, 2398, 5114, 12, 9647, 6094, 3882, 1769, 13491, 775, 5411, 288, 9079, 202, 2463, 4143, 6094, 12, 1171, 202, 5784, 6094, 4525, 18, 17805, 67, 7788, 16, 202, 7734, 2146, 16, 377, 202, 5411, 3410, 2283, 16, 3849, 5677, 16, 629, 16, 3849, 653, 1769, 5411, 289, 5411, 1044, 12, 4297, 4101, 503, 10921, 22, 262, 5411, 288, 2398, 202, 430, 12, 4143, 6094, 3882, 422, 446, 262, 2398, 202, 202, 12849, 2711, 4101, 12, 23602, 22, 1769, 2398, 202, 9572, 12, 4143, 6094, 3882, 11272, 4697, 202, 698, 9506, 202, 95, 6862, 202, 2463, 4143, 6094, 12, 25083, 202, 5784, 6094, 4525, 18, 17805, 67, 16444, 16, 25083, 202, 4887, 16, 25083, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 9053, 6094, 4143, 6094, 4525, 14325, 12, 3639, 467, 9053, 3876, 2146, 16, 3639, 467, 9053, 2283, 3410, 2283, 16, 20735, 5677, 3849, 5677, 16, 18317, 30267, 3849, 653, 13, 3639, 1216, 4403, 951, 812, 503, 16, 4297, 4101, 503, 565, 288, 3639, 4143, 6094, 3882, 273, 2267, 5621, 202, 202, 698, 3639, 288, 5411, 327, 4143, 6094, 12, 7734, 4477, 6094, 4525, 18, 17805, 67, 26935, 916, 16, 7734, 2146, 16, 7734, 3410, 2283, 16, 3849, 5677, 16, 629, 16, 3849, 653, 1769, 5411, 368, 775, 518, 1122, 598, 326, 2282, 6252, 3639, 289, 3639, 1044, 261, 2711, 4101, 503, 10921, 13, 3639, 288, 540, 202, 430, 12, 4143, 6094, 3882, 422, 446, 262, 2 ]
public void run() { _setThreadDependentDebugMenuItems(false); _removeThreadLocationHighlight(); }
public void run() { _setThreadDependentDebugMenuItems(true); }
public void run() { _setThreadDependentDebugMenuItems(false); _removeThreadLocationHighlight(); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/0912ab7ed35ec7cfa4a9c45641294748135ef6a8/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 389, 542, 3830, 18571, 2829, 4599, 3126, 12, 5743, 1769, 1850, 389, 4479, 3830, 2735, 16205, 5621, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 389, 542, 3830, 18571, 2829, 4599, 3126, 12, 5743, 1769, 1850, 389, 4479, 3830, 2735, 16205, 5621, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static boolean differentDRAMs(InputTraceNode in)
public static boolean differentDRAMs(OutputTraceNode out)
public static boolean differentDRAMs(InputTraceNode in) { HashSet drams = new HashSet(); for (int i = 0; i < in.getSources().length; i++) { if (drams.contains(OffChipBuffer.getBuffer(in.getSources()[i], in).getDRAM())) return false; drams.add(OffChipBuffer.getBuffer(in.getSources()[i], in).getDRAM()); } return true; }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/718f88484542a0edbff3a9400975323fd809d67c/StreamingDram.java/buggy/streams/src/at/dms/kjc/spacetime/StreamingDram.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 3775, 6331, 2192, 87, 12, 1447, 3448, 907, 596, 13, 377, 288, 202, 13482, 302, 31454, 273, 394, 6847, 5621, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 316, 18, 588, 8628, 7675, 2469, 31, 277, 27245, 288, 202, 565, 309, 261, 72, 31454, 18, 12298, 12, 7210, 782, 625, 1892, 18, 588, 1892, 12, 267, 18, 588, 8628, 1435, 63, 77, 6487, 316, 2934, 588, 6331, 2192, 1435, 3719, 202, 202, 2463, 629, 31, 202, 565, 302, 31454, 18, 1289, 12, 7210, 782, 625, 1892, 18, 588, 1892, 12, 267, 18, 588, 8628, 1435, 63, 77, 6487, 316, 2934, 588, 6331, 2192, 10663, 202, 97, 202, 2463, 638, 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,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411, 316, 18, 588, 8628, 7675, 2469, 31, 277, 27245, 288, 202, 565, 309, 261, 72, 31454, 18, 12298, 12, 7210, 782, 625, 1892, 18, 588, 1892, 12, 267, 18, 588, 8628, 1435, 63, 77, 6487, 316, 2934, 588, 6331, 2192, 1435, 3719, 202, 202, 2463, 629, 31, 202, 565, 302, 31454, 18, 1289, 12, 7210, 782, 625, 1892, 18, 588, 1892, 12, 267, 18, 588, 8628, 1435, 63, 77, 6487, 316, 2934, 588, 6331, 2192, 10663, 202, 97, 202, 2463, 638, 31, 565, 289, 2, -100 ]
ReceiverJob receiver = createDefaultReceiverJob(testQueueName);
ReceiverJob receiver = createDefaultReceiverJob(queueName);
public void testQueue9() { log.info("Running test Queue9"); //First drain the destination runJob(createDefaultDrainJob(testQueueName)); SenderJob sender = createDefaultSenderJob(testQueueName); sender.setNumMessages(10000); sender.setMsgSize(1024); sender.setMf(new BytesMessageMessageFactory()); sender.setTransacted(false); sender.setDeliveryMode(DeliveryMode.NON_PERSISTENT); ReceiverJob receiver = createDefaultReceiverJob(testQueueName); receiver.setAckMode(Session.DUPS_OK_ACKNOWLEDGE); receiver.setTransacted(false); JobTimings[] results = runJobs(new Job[] {sender, receiver}); /* * NB. * When we calculating the total time taken from first send to last receive, there is some * error involved due to the differences in network latency and other remoting overhead * when sending the jobs to be executed on potentially different remote machines. * We make the assumption that this this difference is very small compared with time taken * to run the tests as to be negligible. */ long totalTimeTaken = results[1].getTestTime() + results[1].getInitTime() - results[0].getInitTime(); storeResult("Queue9", totalTimeTaken); log.info("Test Queue9 finished"); }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/96f752d06dba37742f7716ee54f31f1982df763e/PerfRunner.java/clean/tests/src/org/jboss/test/messaging/jms/perf/PerfRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 3183, 29, 1435, 282, 288, 1377, 613, 18, 1376, 2932, 7051, 1842, 7530, 29, 8863, 5411, 368, 3759, 15427, 326, 2929, 1377, 1086, 2278, 12, 2640, 1868, 26896, 2278, 12, 3813, 30975, 10019, 5411, 15044, 2278, 5793, 273, 27346, 12021, 2278, 12, 3813, 30975, 1769, 1377, 5793, 18, 542, 2578, 5058, 12, 23899, 1769, 1377, 5793, 18, 542, 3332, 1225, 12, 2163, 3247, 1769, 1377, 5793, 18, 542, 49, 74, 12, 2704, 5985, 1079, 1079, 1733, 10663, 1377, 5793, 18, 542, 1429, 25487, 12, 5743, 1769, 1377, 5793, 18, 542, 8909, 2309, 12, 8909, 2309, 18, 3993, 67, 3194, 28175, 1769, 5411, 31020, 2278, 5971, 273, 27346, 12952, 2278, 12, 4000, 461, 1769, 5411, 5971, 18, 542, 11931, 2309, 12, 2157, 18, 30387, 55, 67, 3141, 67, 3649, 27091, 6687, 7113, 1769, 1377, 5971, 18, 542, 1429, 25487, 12, 5743, 1769, 5411, 3956, 10178, 899, 8526, 1686, 273, 1086, 7276, 12, 2704, 3956, 8526, 288, 15330, 16, 5971, 22938, 5411, 1748, 4202, 380, 20096, 18, 4202, 380, 5203, 732, 21046, 326, 2078, 813, 9830, 628, 1122, 1366, 358, 1142, 6798, 16, 1915, 353, 2690, 4202, 380, 555, 24589, 6541, 358, 326, 16440, 316, 2483, 19518, 471, 1308, 849, 17128, 23188, 4202, 380, 1347, 5431, 326, 6550, 358, 506, 7120, 603, 13935, 3775, 2632, 15942, 18, 4202, 380, 1660, 1221, 326, 24743, 716, 333, 333, 7114, 353, 8572, 5264, 15843, 598, 813, 9830, 4202, 380, 358, 1086, 326, 7434, 487, 358, 506, 4251, 80, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 3183, 29, 1435, 282, 288, 1377, 613, 18, 1376, 2932, 7051, 1842, 7530, 29, 8863, 5411, 368, 3759, 15427, 326, 2929, 1377, 1086, 2278, 12, 2640, 1868, 26896, 2278, 12, 3813, 30975, 10019, 5411, 15044, 2278, 5793, 273, 27346, 12021, 2278, 12, 3813, 30975, 1769, 1377, 5793, 18, 542, 2578, 5058, 12, 23899, 1769, 1377, 5793, 18, 542, 3332, 1225, 12, 2163, 3247, 1769, 1377, 5793, 18, 542, 49, 74, 12, 2704, 5985, 1079, 1079, 1733, 10663, 1377, 5793, 18, 542, 1429, 25487, 12, 5743, 1769, 1377, 5793, 18, 542, 8909, 2309, 12, 8909, 2309, 18, 3993, 67, 3194, 28175, 1769, 5411, 31020, 2278, 5971, 273, 27346, 12952, 2278, 12, 4000, 461, 1769, 5411, 5971, 2 ]
public void set(org.quickfix.field.ExecID value)
public void set(quickfix.field.ExecID value)
public void set(org.quickfix.field.ExecID value) { setField(value); }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralResponse.java/clean/src/java/src/quickfix/fix44/CollateralResponse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 12, 19525, 904, 18, 1518, 18, 1905, 734, 460, 13, 225, 288, 16331, 12, 1132, 1769, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 12, 19525, 904, 18, 1518, 18, 1905, 734, 460, 13, 225, 288, 16331, 12, 1132, 1769, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(clauseSequence.matches( "[\\w+]["+this.clause+"][\\w+]" )) {
if(clauseSequence.matches( "(\\w+)("+this.clause+")(\\w+)" )) {
protected Object doInvokeInternal(final Class clazz, String methodName, Object[] arguments) { Matcher match = super.getPattern().matcher( methodName ); String[] clauses; // get the sequence clauses String clauseSequence = match.group(2); // if it contains logical ands split on Ands if(clauseSequence.matches( "[\\w+]["+this.clause+"][\\w+]" )) { // TODO: Bit error prone this, as properties could start // with "and" which would cause a problem. discuss? clauses = clauseSequence.split(this.clause); // convert first characters to lower case for (int i = 0; i < clauses.length; i++) { clauses[i] = clauses[i].substring(0,0).toLowerCase() + clauses[i].substring(1); } } // otherwise there is only one clause else { clauses = new String[1]; // convert first char to lower case clauses[0] = clauseSequence.substring(0,0).toLowerCase() + clauseSequence.substring(1); } // The number of clauses must equal the number of arguments if(clauses.length != arguments.length) throw new MissingMethodException(methodName,clazz,arguments); final Map queryMap = createQueryMap(clauses, arguments); return doInvokeInternalWithQueryMap(clazz, methodName, arguments, queryMap); }
53275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53275/0eaccb7593c553bc3f5eca1a5d3966a06edece60/AbstractClausedStaticPersistentMethod.java/buggy/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/AbstractClausedStaticPersistentMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1033, 741, 10969, 3061, 12, 6385, 1659, 4003, 16, 514, 4918, 16, 1082, 202, 921, 8526, 1775, 13, 288, 202, 202, 6286, 845, 273, 2240, 18, 588, 3234, 7675, 22761, 12, 4918, 11272, 202, 202, 780, 8526, 14093, 31, 9506, 202, 759, 336, 326, 3102, 14093, 202, 202, 780, 6591, 4021, 273, 845, 18, 1655, 12, 22, 1769, 202, 202, 759, 309, 518, 1914, 6374, 471, 87, 1416, 603, 1922, 2377, 202, 202, 430, 12, 18128, 4021, 18, 8436, 12, 5158, 1695, 91, 15, 6362, 6, 15, 2211, 18, 18128, 9078, 6362, 1695, 91, 15, 4279, 8623, 288, 1082, 202, 759, 2660, 30, 6539, 555, 846, 476, 333, 16, 487, 1790, 3377, 787, 1875, 202, 759, 598, 315, 464, 6, 1492, 4102, 4620, 279, 6199, 18, 1015, 7641, 35, 1875, 202, 830, 9608, 273, 6591, 4021, 18, 4939, 12, 2211, 18, 18128, 1769, 1082, 202, 759, 1765, 1122, 3949, 358, 2612, 648, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 14093, 18, 2469, 31, 277, 27245, 288, 9506, 202, 830, 9608, 63, 77, 65, 273, 14093, 63, 77, 8009, 28023, 12, 20, 16, 20, 2934, 869, 5630, 1435, 6862, 397, 14093, 63, 77, 8009, 28023, 12, 21, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 3541, 1915, 353, 1338, 1245, 6591, 202, 202, 12107, 288, 1082, 202, 830, 9608, 273, 394, 514, 63, 21, 15533, 1082, 202, 759, 1765, 1122, 1149, 358, 2612, 648, 1082, 202, 830, 9608, 63, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1033, 741, 10969, 3061, 12, 6385, 1659, 4003, 16, 514, 4918, 16, 1082, 202, 921, 8526, 1775, 13, 288, 202, 202, 6286, 845, 273, 2240, 18, 588, 3234, 7675, 22761, 12, 4918, 11272, 202, 202, 780, 8526, 14093, 31, 9506, 202, 759, 336, 326, 3102, 14093, 202, 202, 780, 6591, 4021, 273, 845, 18, 1655, 12, 22, 1769, 202, 202, 759, 309, 518, 1914, 6374, 471, 87, 1416, 603, 1922, 2377, 202, 202, 430, 12, 18128, 4021, 18, 8436, 12, 5158, 1695, 91, 15, 6362, 6, 15, 2211, 18, 18128, 9078, 6362, 1695, 91, 15, 4279, 8623, 288, 1082, 202, 759, 2660, 30, 6539, 555, 846, 476, 333, 16, 487, 1790, 3377, 787, 1875, 202, 759, 2 ]
"Presence", new Integer(0), new Integer(0)
"Presence", new Integer(0), new Integer(0)
private void addInformationPanel() { // Create UI elements for connection information. JPanel informationPanel = new JPanel(); informationPanel.setLayout(new BorderLayout()); // Add the Host information JPanel connPanel = new JPanel(); connPanel.setLayout(new GridBagLayout()); connPanel.setBorder(BorderFactory.createTitledBorder("Connection information")); JLabel label = new JLabel("Host: "); label.setMinimumSize(new java.awt.Dimension(150, 14)); label.setMaximumSize(new java.awt.Dimension(150, 14)); connPanel.add( label, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, 21, 0, new Insets(0, 0, 0, 0), 0, 0)); JFormattedTextField field = new JFormattedTextField(connection.getServiceName()); field.setMinimumSize(new java.awt.Dimension(150, 20)); field.setMaximumSize(new java.awt.Dimension(150, 20)); field.setEditable(false); field.setBorder(null); connPanel.add( field, new GridBagConstraints(1, 0, 1, 1, 1.0, 0.0, 10, 2, new Insets(0, 0, 0, 0), 0, 0)); // Add the Port information label = new JLabel("Port: "); label.setMinimumSize(new java.awt.Dimension(150, 14)); label.setMaximumSize(new java.awt.Dimension(150, 14)); connPanel.add( label, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, 21, 0, new Insets(0, 0, 0, 0), 0, 0)); field = new JFormattedTextField(new Integer(connection.getPort())); field.setMinimumSize(new java.awt.Dimension(150, 20)); field.setMaximumSize(new java.awt.Dimension(150, 20)); field.setEditable(false); field.setBorder(null); connPanel.add( field, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0, 10, 2, new Insets(0, 0, 0, 0), 0, 0)); // Add the connection's User information label = new JLabel("User: "); label.setMinimumSize(new java.awt.Dimension(150, 14)); label.setMaximumSize(new java.awt.Dimension(150, 14)); connPanel.add( label, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, 21, 0, new Insets(0, 0, 0, 0), 0, 0)); userField = new JFormattedTextField(); userField.setMinimumSize(new java.awt.Dimension(150, 20)); userField.setMaximumSize(new java.awt.Dimension(150, 20)); userField.setEditable(false); userField.setBorder(null); connPanel.add( userField, new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0, 10, 2, new Insets(0, 0, 0, 0), 0, 0)); // Add the connection's creationTime information label = new JLabel("Creation time: "); label.setMinimumSize(new java.awt.Dimension(150, 14)); label.setMaximumSize(new java.awt.Dimension(150, 14)); connPanel.add( label, new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0, 21, 0, new Insets(0, 0, 0, 0), 0, 0)); field = new JFormattedTextField(new SimpleDateFormat("yyyy.MM.dd hh:mm:ss aaa")); field.setMinimumSize(new java.awt.Dimension(150, 20)); field.setMaximumSize(new java.awt.Dimension(150, 20)); field.setValue(creationTime); field.setEditable(false); field.setBorder(null); connPanel.add( field, new GridBagConstraints(1, 3, 1, 1, 0.0, 0.0, 10, 2, new Insets(0, 0, 0, 0), 0, 0)); // Add the connection's creationTime information label = new JLabel("Status: "); label.setMinimumSize(new java.awt.Dimension(150, 14)); label.setMaximumSize(new java.awt.Dimension(150, 14)); connPanel.add( label, new GridBagConstraints(0, 4, 1, 1, 0.0, 0.0, 21, 0, new Insets(0, 0, 0, 0), 0, 0)); statusField = new JFormattedTextField(); statusField.setMinimumSize(new java.awt.Dimension(150, 20)); statusField.setMaximumSize(new java.awt.Dimension(150, 20)); statusField.setValue("Active"); statusField.setEditable(false); statusField.setBorder(null); connPanel.add( statusField, new GridBagConstraints(1, 4, 1, 1, 0.0, 0.0, 10, 2, new Insets(0, 0, 0, 0), 0, 0)); // Add the connection panel to the information panel informationPanel.add(connPanel, BorderLayout.NORTH); // Add the Number of sent packets information JPanel packetsPanel = new JPanel(); packetsPanel.setLayout(new GridLayout(1, 1)); packetsPanel.setBorder(BorderFactory.createTitledBorder("Transmitted Packets")); statisticsTable = new DefaultTableModel(new Object[][] { { "IQ", new Integer(0), new Integer(0)}, { "Message", new Integer(0), new Integer(0) }, { "Presence", new Integer(0), new Integer(0) }, { "Other", new Integer(0), new Integer(0) }, { "Total", new Integer(0), new Integer(0) } }, new Object[] { "Type", "Received", "Sent" }) { public boolean isCellEditable(int rowIndex, int mColIndex) { return false; } }; JTable table = new JTable(statisticsTable); // Allow only single a selection table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); packetsPanel.add(new JScrollPane(table)); // Add the packets panel to the information panel informationPanel.add(packetsPanel, BorderLayout.CENTER); tabbedPane.add("Information", new JScrollPane(informationPanel)); tabbedPane.setToolTipTextAt(4, "Information and statistics about the debugged connection"); }
1538 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1538/81fc8d66cffd75d01ebf63294798e2369b769169/EnhancedDebugger.java/clean/source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 527, 5369, 5537, 1435, 288, 3639, 368, 1788, 6484, 2186, 364, 1459, 1779, 18, 3639, 24048, 1779, 5537, 273, 394, 24048, 5621, 3639, 1779, 5537, 18, 542, 3744, 12, 2704, 30814, 10663, 3639, 368, 1436, 326, 4893, 1779, 3639, 24048, 1487, 5537, 273, 394, 24048, 5621, 3639, 1487, 5537, 18, 542, 3744, 12, 2704, 7145, 5013, 3744, 10663, 3639, 1487, 5537, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 56, 305, 1259, 8107, 2932, 1952, 1779, 7923, 1769, 3639, 21403, 1433, 273, 394, 21403, 2932, 2594, 30, 315, 1769, 3639, 1433, 18, 542, 13042, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 12, 23014, 16, 5045, 10019, 3639, 1433, 18, 542, 13528, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 12, 23014, 16, 5045, 10019, 3639, 1487, 5537, 18, 1289, 12, 5411, 1433, 16, 5411, 394, 13075, 12, 20, 16, 374, 16, 404, 16, 404, 16, 374, 18, 20, 16, 374, 18, 20, 16, 9035, 16, 374, 16, 394, 22300, 12, 20, 16, 374, 16, 374, 16, 374, 3631, 374, 16, 374, 10019, 3639, 804, 18298, 16157, 652, 273, 394, 804, 18298, 16157, 12, 4071, 18, 588, 16789, 10663, 3639, 652, 18, 542, 13042, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 12, 23014, 16, 4200, 10019, 3639, 652, 18, 542, 13528, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 12, 23014, 16, 4200, 10019, 3639, 652, 18, 542, 15470, 12, 5743, 1769, 3639, 652, 18, 542, 8107, 12, 2011, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 527, 5369, 5537, 1435, 288, 3639, 368, 1788, 6484, 2186, 364, 1459, 1779, 18, 3639, 24048, 1779, 5537, 273, 394, 24048, 5621, 3639, 1779, 5537, 18, 542, 3744, 12, 2704, 30814, 10663, 3639, 368, 1436, 326, 4893, 1779, 3639, 24048, 1487, 5537, 273, 394, 24048, 5621, 3639, 1487, 5537, 18, 542, 3744, 12, 2704, 7145, 5013, 3744, 10663, 3639, 1487, 5537, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 56, 305, 1259, 8107, 2932, 1952, 1779, 7923, 1769, 3639, 21403, 1433, 273, 394, 21403, 2932, 2594, 30, 315, 1769, 3639, 1433, 18, 542, 13042, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 12, 23014, 16, 5045, 10019, 3639, 1433, 18, 542, 13528, 1225, 12, 2704, 2 ]
WrapHandlerProxy(WrapHandler handler) {
WrapHandlerProxy(WrapHandler handler) {
WrapHandlerProxy(WrapHandler handler) { _handler = handler; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/767031d59e433c96cbc46c5e9fa8adb631f14074/Context.java/clean/src/org/mozilla/javascript/Context.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4266, 1503, 3886, 12, 2964, 1503, 1838, 13, 288, 5411, 389, 4176, 273, 1838, 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, 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100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (jj_scan_token(DECR)) return true;
if (jj_scan_token(INCR)) return true;
final private boolean jj_3R_334() { if (jj_scan_token(DECR)) return true; return false; }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/30dbed0065b5a20aa4e60ae16f7a8e47197c4cee/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 3707, 24, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 706, 5093, 3719, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 3707, 24, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 706, 5093, 3719, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return request;
if (0 < requests.size()) { return requests.remove(0); } else { logger.error("requests is empty"); return null; }
RequestLine dequeueRequest() { return request; }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/858eacdb9a813cb806a97a3e3ee503ae037263dc/HttpCasing.java/buggy/tran/http/main/com/metavize/tran/http/HttpCasing.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1567, 1670, 29964, 691, 1435, 565, 288, 3639, 309, 261, 20, 411, 3285, 18, 1467, 10756, 288, 327, 3285, 18, 4479, 12, 20, 1769, 289, 469, 288, 1194, 18, 1636, 2932, 11420, 353, 1008, 8863, 327, 446, 31, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1567, 1670, 29964, 691, 1435, 565, 288, 3639, 309, 261, 20, 411, 3285, 18, 1467, 10756, 288, 327, 3285, 18, 4479, 12, 20, 1769, 289, 469, 288, 1194, 18, 1636, 2932, 11420, 353, 1008, 8863, 327, 446, 31, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
TrayMenuBuilder(final SystemApplication application) { super(); this.application = application; this.login = new AbstractAction(getString("Menu.Login")) { private static final long serialVersionUID = 1; public void actionPerformed(final ActionEvent e) { application.runLogin(); } }; this.login.putValue(Action.MNEMONIC_KEY, new Integer(getString("Menu.LoginMnemonic").charAt(0))); this.logout = new AbstractAction(getString("Menu.Logout")) { private static final long serialVersionUID = 1; public void actionPerformed(final ActionEvent e) { application.runLogout(); } }; this.logout.putValue(Action.MNEMONIC_KEY, new Integer(getString("Menu.LogoutMnemonic").charAt(0))); }
53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/6cb388c7b9557f81ceac3e7efc2b4dafe30c338f/TrayMenuBuilder.java/clean/local/browser/src/main/java/com/thinkparity/browser/application/system/tray/TrayMenuBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 399, 435, 4599, 1263, 12, 6385, 3163, 3208, 3685, 15329, 9565, 5621, 2211, 18, 3685, 33, 3685, 31, 2211, 18, 5819, 33, 2704, 7469, 1803, 12, 588, 780, 2932, 4599, 18, 5358, 6, 3719, 95, 11365, 270, 395, 2126, 926, 454, 932, 8818, 1444, 3060, 33, 21, 31, 482, 6459, 1128, 13889, 12, 6385, 1803, 1133, 73, 15329, 3685, 18, 2681, 5358, 5621, 9090, 31, 2211, 18, 5819, 18, 458, 620, 12, 1803, 18, 49, 50, 3375, 673, 2871, 67, 3297, 16, 2704, 4522, 12, 588, 780, 2932, 4599, 18, 5358, 29668, 20918, 20387, 3001, 861, 12, 20, 3719, 1769, 2211, 18, 21229, 33, 2704, 7469, 1803, 12, 588, 780, 2932, 4599, 18, 19456, 6, 3719, 95, 11365, 270, 395, 2126, 926, 454, 932, 8818, 1444, 3060, 33, 21, 31, 482, 6459, 1128, 13889, 12, 6385, 1803, 1133, 73, 15329, 3685, 18, 2681, 19456, 5621, 9090, 31, 2211, 18, 21229, 18, 458, 620, 12, 1803, 18, 49, 50, 3375, 673, 2871, 67, 3297, 16, 2704, 4522, 12, 588, 780, 2932, 4599, 18, 19456, 29668, 20918, 20387, 3001, 861, 12, 20, 3719, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 399, 435, 4599, 1263, 12, 6385, 3163, 3208, 3685, 15329, 9565, 5621, 2211, 18, 3685, 33, 3685, 31, 2211, 18, 5819, 33, 2704, 7469, 1803, 12, 588, 780, 2932, 4599, 18, 5358, 6, 3719, 95, 11365, 270, 395, 2126, 926, 454, 932, 8818, 1444, 3060, 33, 21, 31, 482, 6459, 1128, 13889, 12, 6385, 1803, 1133, 73, 15329, 3685, 18, 2681, 5358, 5621, 9090, 31, 2211, 18, 5819, 18, 458, 620, 12, 1803, 18, 49, 50, 3375, 673, 2871, 67, 3297, 16, 2704, 4522, 12, 588, 780, 2932, 4599, 18, 5358, 29668, 20918, 20387, 3001, 861, 12, 20, 3719, 1769, 2211, 18, 21229, 33, 2704, 7469, 1803, 12, 588, 780, 2932, 4599, 18, 19456, 6, 3719, 95, 11365, 270, 2 ]
return getBigDecimal(columnIndex, ((field.mod-4) & 0xffff));
return getBigDecimal (columnIndex, (field.mod==-1)?-1:((field.mod-4) & 0xffff));
public Object getObject(int columnIndex) throws SQLException { Field field; if (columnIndex < 1 || columnIndex > fields.length) throw new PSQLException("postgresql.res.colrange"); field = fields[columnIndex - 1]; // some fields can be null, mainly from those returned by MetaData methods if(field==null) { wasNullFlag=true; return null; } switch (field.getSQLType()) { case Types.BIT: return new Boolean(getBoolean(columnIndex)); case Types.SMALLINT: return new Integer(getInt(columnIndex)); case Types.INTEGER: return new Integer(getInt(columnIndex)); case Types.BIGINT: return new Long(getLong(columnIndex)); case Types.NUMERIC: return getBigDecimal(columnIndex, ((field.mod-4) & 0xffff)); case Types.REAL: return new Float(getFloat(columnIndex)); case Types.DOUBLE: return new Double(getDouble(columnIndex)); case Types.CHAR: case Types.VARCHAR: return getString(columnIndex); case Types.DATE: return getDate(columnIndex); case Types.TIME: return getTime(columnIndex); case Types.TIMESTAMP: return getTimestamp(columnIndex); default: return connection.getObject(field.getTypeName(), getString(columnIndex)); } }
49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/f01e7ea1773e3cd4bcfbfb87c7cef2172fe4c56a/ResultSet.java/clean/org/postgresql/jdbc2/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 6455, 12, 474, 14882, 13, 1216, 6483, 225, 288, 565, 2286, 652, 31, 3639, 309, 261, 2827, 1016, 411, 404, 747, 14882, 405, 1466, 18, 2469, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 455, 18, 1293, 3676, 8863, 565, 652, 273, 1466, 63, 2827, 1016, 300, 404, 15533, 3639, 368, 2690, 1466, 848, 506, 446, 16, 31457, 628, 5348, 2106, 635, 27512, 2590, 565, 309, 12, 1518, 631, 2011, 13, 288, 1377, 1703, 2041, 4678, 33, 3767, 31, 1377, 327, 446, 31, 565, 289, 3639, 1620, 261, 1518, 18, 588, 3997, 559, 10756, 1377, 288, 1377, 648, 7658, 18, 15650, 30, 202, 2463, 394, 3411, 12, 588, 5507, 12, 2827, 1016, 10019, 1377, 648, 7658, 18, 23882, 3217, 30, 202, 2463, 394, 2144, 12, 588, 1702, 12, 2827, 1016, 10019, 1377, 648, 7658, 18, 14217, 30, 202, 2463, 394, 2144, 12, 588, 1702, 12, 2827, 1016, 10019, 1377, 648, 7658, 18, 19044, 3217, 30, 202, 2463, 394, 3407, 12, 588, 3708, 12, 2827, 1016, 10019, 1377, 648, 7658, 18, 22998, 30, 202, 2463, 2882, 360, 5749, 261, 2827, 1016, 16, 261, 1518, 18, 1711, 631, 17, 21, 9945, 17, 21, 30, 12443, 1518, 18, 1711, 17, 24, 13, 473, 374, 20431, 10019, 1377, 648, 7658, 18, 31052, 30, 202, 2463, 394, 5450, 12, 588, 4723, 12, 2827, 1016, 10019, 1377, 648, 7658, 18, 17088, 30, 202, 2463, 394, 3698, 12, 588, 5265, 12, 2827, 1016, 10019, 1377, 648, 7658, 18, 7305, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 6455, 12, 474, 14882, 13, 1216, 6483, 225, 288, 565, 2286, 652, 31, 3639, 309, 261, 2827, 1016, 411, 404, 747, 14882, 405, 1466, 18, 2469, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 455, 18, 1293, 3676, 8863, 565, 652, 273, 1466, 63, 2827, 1016, 300, 404, 15533, 3639, 368, 2690, 1466, 848, 506, 446, 16, 31457, 628, 5348, 2106, 635, 27512, 2590, 565, 309, 12, 1518, 631, 2011, 13, 288, 1377, 1703, 2041, 4678, 33, 3767, 31, 1377, 327, 446, 31, 565, 289, 3639, 1620, 261, 1518, 18, 588, 3997, 559, 10756, 1377, 288, 1377, 648, 7658, 18, 15650, 30, 202, 2463, 394, 3411, 12, 588, 5507, 12, 2827, 1016, 10019, 1377, 2 ]
if (index == -1) return -1;
int matchRENodes(MatchState state, RENode ren, RENode stop, int index) { int num; char[] input = state.input; while ((ren != stop) && (ren != null)) { switch (ren.op) { case REOP_EMPTY: break; case REOP_ALT: { if (ren.next.op != REOP_ALT) { ren = (RENode)ren.kid; continue; } else { num = state.parenCount; int kidMatch = matchRENodes(state, (RENode)ren.kid, stop, index); if (kidMatch != -1) return kidMatch; for (int i = num; i < state.parenCount; i++) state.parens[i].length = 0; state.parenCount = num; } } break; case REOP_QUANT: { int lastKid = -1; for (num = 0; num < ren.min; num++) { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; else { lastKid = index; index = kidMatch; } } if (num == ren.max) // Have matched the exact count required, // need to match the rest of the regexp. break; if ((ren.flags & RENode.MINIMAL) == 0) { int kidMatch = matchGreedyKid(state, ren, stop, num, index, lastKid); if (kidMatch != -1) index = kidMatch; } else { index = matchNonGreedyKid(state, ren, num, ren.max, index); if (index == -1) return -1; } } break; case REOP_PLUS: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; if ((ren.flags & RENode.MINIMAL) == 0) { index = matchGreedyKid(state, ren, stop, 1, kidMatch, index); if (index == -1) index = kidMatch; } else index = matchNonGreedyKid(state, ren, 1, 0, kidMatch); if (index == -1) return -1; } break; case REOP_STAR: if ((ren.flags & RENode.MINIMAL) == 0) { int kidMatch = matchGreedyKid(state, ren, stop, 0, index, -1); if (kidMatch != -1) index = kidMatch; } else { index = matchNonGreedyKid(state, ren, 0, 0, index); if (index == -1) return -1; } break; case REOP_OPT: { int saveNum = state.parenCount; if (((ren.flags & RENode.MINIMAL) != 0)) { int restMatch = matchRENodes(state, ren.next, stop, index); if (restMatch != -1) return restMatch; } int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) { state.parenCount = saveNum; break; } else { int restMatch = matchRENodes(state, ren.next, stop, kidMatch); if (restMatch == -1) { // need to undo the result of running the kid state.parenCount = saveNum; break; } else return restMatch; } } case REOP_LPARENNON: ren = (RENode)ren.kid; continue; case REOP_RPARENNON: break; case REOP_LPAREN: { num = ren.num; ren = (RENode)ren.kid; SubString parsub = state.parens[num]; if (parsub == null) { parsub = state.parens[num] = new SubString(); parsub.charArray = input; } parsub.index = index; parsub.length = 0; if (num >= state.parenCount) state.parenCount = num + 1; continue; } case REOP_RPAREN: { num = ren.num; SubString parsub = state.parens[num]; if (parsub == null) throw new RuntimeException("Paren problem"); parsub.length = index - parsub.index; break; } case REOP_ASSERT: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; break; } case REOP_ASSERT_NOT: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch != -1) return -1; break; } case REOP_BACKREF: { num = ren.num; if (num >= state.parens.length) { Context.reportError( ScriptRuntime.getMessage( "msg.bad.backref", null)); return -1; } SubString parsub = state.parens[num]; if (parsub == null) parsub = state.parens[num] = new SubString(); int length = parsub.length; for (int i = 0; i < length; i++, index++) { if (index >= input.length) { return state.noMoreInput(); } if (!matchChar(state.flags, input[index], parsub.charArray[parsub.index + i])) return -1; } } break; case REOP_CCLASS: if (index >= input.length) { return state.noMoreInput(); } if (ren.bitmap == null) { char[] source = (ren.s != null) ? ren.s : this.source.toCharArray(); ren.buildBitmap(state, source, ((state.flags & FOLD) != 0)); } char c = input[index]; int b = (c >>> 3); if (b >= ren.bmsize) { if (ren.kid2 == -1) // a ^ class index++; else return -1; } else { int bit = c & 7; bit = 1 << bit; if ((ren.bitmap[b] & bit) != 0) index++; else return -1; } break; case REOP_DOT: if (index >= input.length) { return state.noMoreInput(); } if (input[index] != '\n') index++; else return -1; break; case REOP_DOTSTARMIN: { int cp2; for (cp2 = index; cp2 < input.length; cp2++) { int cp3 = matchRENodes(state, ren.next, stop, cp2); if (cp3 != -1) return cp3; if (input[cp2] == '\n') return -1; } return state.noMoreInput(); } case REOP_DOTSTAR: { int cp2; for (cp2 = index; cp2 < input.length; cp2++) if (input[cp2] == '\n') break; while (cp2 >= index) { int cp3 = matchRENodes(state, ren.next, stop, cp2); if (cp3 != -1) { index = cp2; break; } cp2--; } break; } case REOP_WBDRY: if (index == 0 || !isWord(input[index-1])) { if (index >= input.length) return state.noMoreInput(); if (!isWord(input[index])) return -1; } else { if (index < input.length && isWord(input[index])) return -1; } break; case REOP_WNONBDRY: if (index == 0 || !isWord(input[index-1])) { if (index < input.length && isWord(input[index])) return -1; } else { if (index >= input.length) return state.noMoreInput(); if (!isWord(input[index])) return -1; } break; case REOP_EOLONLY: case REOP_EOL: { if (index == input.length) ; // leave index; else { Context cx = Context.getCurrentContext(); RegExpImpl reImpl = getImpl(cx); if ((reImpl.multiline) || ((state.flags & MULTILINE) != 0)) if (input[index] == '\n') ;// leave index else return -1; else return -1; } } break; case REOP_BOL: { Context cx = Context.getCurrentContext(); RegExpImpl reImpl = getImpl(cx); if (index != 0) { if (reImpl.multiline || ((state.flags & MULTILINE) != 0)) { if (index >= input.length) { return state.noMoreInput(); } if (input[index - 1] == '\n') { break; } } return -1; } // leave index } break; case REOP_DIGIT: if (index >= input.length) { return state.noMoreInput(); } if (!isDigit(input[index])) return -1; index++; break; case REOP_NONDIGIT: if (index >= input.length) { return state.noMoreInput(); } if (isDigit(input[index])) return -1; index++; break; case REOP_ALNUM: if (index >= input.length) { return state.noMoreInput(); } if (!isWord(input[index])) return -1; index++; break; case REOP_NONALNUM: if (index >= input.length) { return state.noMoreInput(); } if (isWord(input[index])) return -1; index++; break; case REOP_SPACE: if (index >= input.length) { return state.noMoreInput(); } if (!(TokenStream.isJSSpace(input[index]) || TokenStream.isJSLineTerminator(input[index]))) return -1; index++; break; case REOP_NONSPACE: if (index >= input.length) { return state.noMoreInput(); } if (TokenStream.isJSSpace(input[index]) || TokenStream.isJSLineTerminator(input[index])) return -1; index++; break; case REOP_FLAT1: if (index >= input.length) { return state.noMoreInput(); } if (!matchChar(state.flags, ren.chr, input[index])) return -1; index++; break; case REOP_FLAT: { char[] source = (ren.s != null) ? ren.s : this.source.toCharArray(); int start = ((Integer)ren.kid).intValue(); int length = ren.kid2 - start; for (int i = 0; i < length; i++, index++) { if (index >= input.length) { return state.noMoreInput(); } if (!matchChar(state.flags, input[index], source[start + i])) return -1; } } break; case REOP_JUMP: break; case REOP_END: break; default : throw new RuntimeException("Unsupported by node matcher"); } ren = ren.next; } return index; }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/712e352a43f88c5197802f053d964e6f3d8f656a/NativeRegExp.java/clean/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 845, 862, 3205, 12, 2060, 1119, 919, 16, 2438, 907, 1654, 16, 2438, 907, 2132, 16, 509, 770, 13, 288, 3639, 509, 818, 31, 3639, 1149, 8526, 810, 273, 919, 18, 2630, 31, 3639, 1323, 14015, 1187, 480, 2132, 13, 597, 261, 1187, 480, 446, 3719, 288, 7734, 1620, 261, 1187, 18, 556, 13, 288, 7734, 648, 2438, 3665, 67, 13625, 30, 10792, 898, 31, 7734, 648, 2438, 3665, 67, 18255, 30, 288, 10792, 309, 261, 1187, 18, 4285, 18, 556, 480, 2438, 3665, 67, 18255, 13, 288, 13491, 1654, 273, 261, 862, 907, 13, 1187, 18, 79, 350, 31, 13491, 1324, 31, 10792, 289, 10792, 469, 288, 13491, 818, 273, 919, 18, 13012, 1380, 31, 13491, 509, 17395, 2060, 273, 845, 862, 3205, 12, 2019, 16, 261, 862, 907, 13, 1187, 18, 79, 350, 16, 4766, 10792, 2132, 16, 770, 1769, 13491, 309, 261, 79, 350, 2060, 480, 300, 21, 13, 327, 17395, 2060, 31, 13491, 364, 261, 474, 277, 273, 818, 31, 277, 411, 919, 18, 13012, 1380, 31, 277, 27245, 18701, 919, 18, 1848, 2387, 63, 77, 8009, 2469, 273, 374, 31, 13491, 919, 18, 13012, 1380, 273, 818, 31, 10792, 289, 7734, 289, 10792, 898, 31, 7734, 648, 2438, 3665, 67, 3500, 6856, 30, 288, 10792, 509, 1142, 47, 350, 273, 300, 21, 31, 10792, 364, 261, 2107, 273, 374, 31, 818, 411, 1654, 18, 1154, 31, 818, 27245, 288, 13491, 509, 17395, 2060, 273, 845, 862, 3205, 12, 2019, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 845, 862, 3205, 12, 2060, 1119, 919, 16, 2438, 907, 1654, 16, 2438, 907, 2132, 16, 509, 770, 13, 288, 3639, 509, 818, 31, 3639, 1149, 8526, 810, 273, 919, 18, 2630, 31, 3639, 1323, 14015, 1187, 480, 2132, 13, 597, 261, 1187, 480, 446, 3719, 288, 7734, 1620, 261, 1187, 18, 556, 13, 288, 7734, 648, 2438, 3665, 67, 13625, 30, 10792, 898, 31, 7734, 648, 2438, 3665, 67, 18255, 30, 288, 10792, 309, 261, 1187, 18, 4285, 18, 556, 480, 2438, 3665, 67, 18255, 13, 288, 13491, 1654, 273, 261, 862, 907, 13, 1187, 18, 79, 350, 31, 13491, 1324, 31, 10792, 289, 10792, 469, 288, 13491, 818, 273, 919, 18, 13012, 1380, 31, 13491, 2 ]
fCanvas.addMouseListener(listener);
if (fCanvas != null && !fCanvas.isDisposed()) fCanvas.addMouseListener(listener);
public void addMouseListener(MouseListener listener) { fCanvas.addMouseListener(listener); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/169e32e2385a60b811c5b16213f3ac3b9a1c3cb5/VerticalRuler.java/clean/bundles/org.eclipse.ui/Eclipse JFace Text/org/eclipse/jface/text/source/VerticalRuler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 9186, 2223, 12, 9186, 2223, 2991, 13, 288, 202, 202, 74, 12971, 18, 1289, 9186, 2223, 12, 12757, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 9186, 2223, 12, 9186, 2223, 2991, 13, 288, 202, 202, 74, 12971, 18, 1289, 9186, 2223, 12, 12757, 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 ]
object.getClass().getName(), trans.getClass().getName()), e);
(object!=null ? object.getClass().getName() : "null"), (trans!=null ? trans.getClass().getName() : "null")), e);
public void resolveTransformer() throws InitialisationException { UMOTransformer trans = null; try { trans = MuleObjectHelper.getTransformer(transformerName, " "); if (trans == null) { throw new InitialisationException(new Message(Messages.X_NOT_REGISTERED_WITH_MANAGER, "Transformer '" + transformerName + "'"), object); } logger.info("Setting transformer: " + transformerName + " on " + object.getClass().getName() + "." + propertyName); BeanUtils.setProperty(object, propertyName, trans); } catch (InitialisationException e) { throw e; } catch (Exception e) { throw new InitialisationException(new Message(Messages.CANT_SET_PROP_X_ON_X_OF_TYPE_X, propertyName, object.getClass().getName(), trans.getClass().getName()), e); } }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/4dcab382a3308cd11ab9dad2264ca1483f211545/TransformerReference.java/buggy/mule/src/java/org/mule/config/builders/TransformerReference.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2245, 8319, 1435, 1216, 10188, 10742, 503, 565, 288, 3639, 587, 5980, 8319, 906, 273, 446, 31, 3639, 775, 288, 5411, 906, 273, 490, 725, 921, 2276, 18, 588, 8319, 12, 21523, 461, 16, 315, 315, 1769, 5411, 309, 261, 2338, 422, 446, 13, 288, 7734, 604, 394, 10188, 10742, 503, 12, 2704, 2350, 12, 5058, 18, 60, 67, 4400, 67, 27511, 2056, 67, 9147, 67, 19402, 16, 315, 8319, 2119, 13491, 397, 8360, 461, 397, 5862, 3631, 733, 1769, 5411, 289, 5411, 1194, 18, 1376, 2932, 5568, 8360, 30, 315, 397, 8360, 461, 397, 315, 603, 315, 397, 733, 18, 588, 797, 7675, 17994, 1435, 397, 4585, 10792, 397, 5470, 1769, 5411, 7704, 1989, 18, 542, 1396, 12, 1612, 16, 5470, 16, 906, 1769, 3639, 289, 1044, 261, 4435, 10742, 503, 425, 13, 288, 5411, 604, 425, 31, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 604, 394, 10188, 10742, 503, 12, 2704, 2350, 12, 5058, 18, 39, 6856, 67, 4043, 67, 15811, 67, 60, 67, 673, 67, 60, 67, 3932, 67, 2399, 67, 60, 16, 4766, 12900, 5470, 16, 4766, 12900, 733, 18, 588, 797, 7675, 17994, 9334, 4766, 12900, 906, 18, 588, 797, 7675, 17994, 1435, 3631, 425, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2245, 8319, 1435, 1216, 10188, 10742, 503, 565, 288, 3639, 587, 5980, 8319, 906, 273, 446, 31, 3639, 775, 288, 5411, 906, 273, 490, 725, 921, 2276, 18, 588, 8319, 12, 21523, 461, 16, 315, 315, 1769, 5411, 309, 261, 2338, 422, 446, 13, 288, 7734, 604, 394, 10188, 10742, 503, 12, 2704, 2350, 12, 5058, 18, 60, 67, 4400, 67, 27511, 2056, 67, 9147, 67, 19402, 16, 315, 8319, 2119, 13491, 397, 8360, 461, 397, 5862, 3631, 733, 1769, 5411, 289, 5411, 1194, 18, 1376, 2932, 5568, 8360, 30, 315, 397, 8360, 461, 397, 315, 603, 315, 397, 733, 18, 588, 797, 7675, 17994, 1435, 397, 4585, 10792, 397, 5470, 1769, 5411, 7704, 1989, 18, 2 ]
if (y == Undefined.instance) { return false; }
static boolean eqNumber(double x, Object y) { for (;;) { if (y == null) { return false; } else if (y instanceof Number) { return x == ((Number)y).doubleValue(); } else if (y instanceof String) { return x == toNumber(y); } else if (y instanceof Boolean) { return x == (((Boolean)y).booleanValue() ? 1.0 : +0.0); } else if (y instanceof Scriptable) { if (y == Undefined.instance) { return false; } if (y instanceof ScriptableObject) { Object xval = wrapNumber(x); Object test = ((ScriptableObject)y).equivalentValues(xval); if (test != Scriptable.NOT_FOUND) { return ((Boolean)test).booleanValue(); } } y = toPrimitive(y); } else { warnAboutNonJSObject(y); return false; } } }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/c33fa5238e1757bd738a4582f5fcdb06735c66f5/ScriptRuntime.java/buggy/src/org/mozilla/javascript/ScriptRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1250, 7555, 1854, 12, 9056, 619, 16, 1033, 677, 13, 565, 288, 3639, 364, 261, 25708, 13, 288, 5411, 309, 261, 93, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 469, 309, 261, 93, 1276, 3588, 13, 288, 7734, 327, 619, 422, 14015, 1854, 13, 93, 2934, 9056, 620, 5621, 5411, 289, 469, 309, 261, 93, 1276, 514, 13, 288, 7734, 327, 619, 422, 358, 1854, 12, 93, 1769, 5411, 289, 469, 309, 261, 93, 1276, 3411, 13, 288, 7734, 327, 619, 422, 261, 12443, 5507, 13, 93, 2934, 6494, 620, 1435, 692, 404, 18, 20, 294, 397, 20, 18, 20, 1769, 5411, 289, 469, 309, 261, 93, 1276, 22780, 13, 288, 1171, 9079, 309, 261, 93, 1276, 22780, 921, 13, 288, 10792, 1033, 619, 1125, 273, 2193, 1854, 12, 92, 1769, 10792, 1033, 1842, 273, 14015, 3651, 429, 921, 13, 93, 2934, 14298, 6505, 1972, 12, 92, 1125, 1769, 10792, 309, 261, 3813, 480, 22780, 18, 4400, 67, 9294, 13, 288, 13491, 327, 14015, 5507, 13, 3813, 2934, 6494, 620, 5621, 10792, 289, 7734, 289, 7734, 677, 273, 358, 9840, 12, 93, 1769, 5411, 289, 469, 288, 7734, 1894, 24813, 3989, 6479, 921, 12, 93, 1769, 7734, 327, 629, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1250, 7555, 1854, 12, 9056, 619, 16, 1033, 677, 13, 565, 288, 3639, 364, 261, 25708, 13, 288, 5411, 309, 261, 93, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 469, 309, 261, 93, 1276, 3588, 13, 288, 7734, 327, 619, 422, 14015, 1854, 13, 93, 2934, 9056, 620, 5621, 5411, 289, 469, 309, 261, 93, 1276, 514, 13, 288, 7734, 327, 619, 422, 358, 1854, 12, 93, 1769, 5411, 289, 469, 309, 261, 93, 1276, 3411, 13, 288, 7734, 327, 619, 422, 261, 12443, 5507, 13, 93, 2934, 6494, 620, 1435, 692, 404, 18, 20, 294, 397, 20, 18, 20, 1769, 5411, 289, 469, 309, 261, 93, 1276, 22780, 13, 288, 1171, 9079, 309, 2 ]
IASTName[] decls = getDeclarationOffTU((IASTName)node);
IName[] decls = getDeclarationOffTU((IASTName)node);
public void testBug92632() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("namespace N{ \n"); //$NON-NLS-1$ buffer.append(" template < class T > class AAA { T _t; };\n"); //$NON-NLS-1$ buffer.append("} \n"); //$NON-NLS-1$ buffer.append("N::AAA<int> a; \n"); //$NON-NLS-1$ String code = buffer.toString(); int index = code.indexOf("AAA<int>"); //$NON-NLS-1$ IASTNode node = parse( code, index, index + 8, true ); assertNotNull( node ); assertTrue( node instanceof IASTName ); assertTrue( ((IASTName)node).resolveBinding() instanceof ICPPTemplateInstance ); assertEquals( ((IASTName)node).toString(), "AAA" ); //$NON-NLS-1$ IASTName[] decls = getDeclarationOffTU((IASTName)node); assertEquals(decls.length, 1); assertEquals( decls[0].toString(), "AAA" ); //$NON-NLS-1$ assertEquals( ((ASTNode)decls[0]).getOffset(), 53); assertEquals( ((ASTNode)decls[0]).getLength(), 3); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/75cbff035e927043ff1116bbd1e33e89ab93b9cb/DOMSelectionParseTest.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/DOMSelectionParseTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 19865, 29, 5558, 1578, 1435, 1216, 1185, 565, 288, 3639, 6674, 1613, 273, 394, 6674, 5621, 3639, 1613, 18, 6923, 2932, 4937, 423, 95, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 5411, 1542, 411, 667, 399, 405, 667, 432, 5284, 288, 399, 389, 88, 31, 289, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 97, 4202, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 50, 2866, 24653, 32, 474, 34, 279, 31, 225, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 514, 981, 273, 1613, 18, 10492, 5621, 3639, 509, 770, 273, 981, 18, 31806, 2932, 24653, 32, 474, 2984, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 467, 9053, 907, 756, 273, 1109, 12, 981, 16, 770, 16, 770, 397, 1725, 16, 638, 11272, 3639, 25395, 12, 756, 11272, 3639, 1815, 5510, 12, 756, 1276, 467, 9053, 461, 11272, 3639, 1815, 5510, 12, 14015, 45, 9053, 461, 13, 2159, 2934, 10828, 5250, 1435, 1276, 467, 4258, 52, 30302, 11272, 3639, 1815, 8867, 12, 14015, 45, 9053, 461, 13, 2159, 2934, 10492, 9334, 315, 24653, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 467, 461, 8526, 3496, 87, 273, 336, 6094, 7210, 56, 57, 12443, 45, 9053, 461, 13, 2159, 1769, 3639, 1815, 8867, 12, 323, 6429, 18, 2469, 16, 404, 1769, 3639, 1815, 8867, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 19865, 29, 5558, 1578, 1435, 1216, 1185, 565, 288, 3639, 6674, 1613, 273, 394, 6674, 5621, 3639, 1613, 18, 6923, 2932, 4937, 423, 95, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 5411, 1542, 411, 667, 399, 405, 667, 432, 5284, 288, 399, 389, 88, 31, 289, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 97, 4202, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 50, 2866, 24653, 32, 474, 34, 279, 31, 225, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 514, 981, 273, 1613, 18, 10492, 5621, 3639, 509, 2 ]
expression, sSeries
ce.getMessage( ), sSeries
private void checkDataType( Query query, Series series ) { String expression = query.getDefinition( ); Axis axis = null; for ( EObject o = query; o != null; ) { o = o.eContainer( ); if ( o instanceof Axis ) { axis = (Axis) o; break; } } Collection cRegisteredEntries = ChartUIExtensionsImpl.instance( ) .getSeriesUIComponents( ); Iterator iterEntries = cRegisteredEntries.iterator( ); String sSeries = null; while ( iterEntries.hasNext( ) ) { ISeriesUIProvider provider = (ISeriesUIProvider) iterEntries.next( ); sSeries = provider.getSeriesClass( ); if ( sSeries.equals( series.getClass( ).getName( ) ) ) { try { provider.validateSeriesBindingType( series, getDataServiceProvider( ) ); } catch ( ChartException ce ) { if ( expression != null && expression.trim( ).length( ) > 0 ) { Text text = DataDefinitionTextManager.getInstance( ) .findText( query ); if ( text != null ) { // Display the text even if it's useless and will be // changed text.setText( query.getDefinition( ) ); } WizardBase.displayException( new RuntimeException( Messages.getFormattedString( "TaskSelectData.Warning.TypeCheck",//$NON-NLS-1$ new String[]{ expression, sSeries } ) ) ); } query.setDefinition( "" ); //$NON-NLS-1$ DataDefinitionTextManager.getInstance( ).updateText( query ); } if ( getChartModel( ) instanceof ChartWithAxes ) { DataType dataType = getDataServiceProvider( ).getDataType( expression ); SeriesDefinition sd = (SeriesDefinition) ( ChartUIUtil.getBaseSeriesDefinitions( getChartModel( ) ).get( 0 ) ); if ( sd != null && sd.getGrouping( ).isEnabled( ) && ( sd.getGrouping( ) .getAggregateExpression( ) .equals( "Count" )//$NON-NLS-1$ || sd.getGrouping( ) .getAggregateExpression( ) .equals( "DistinctCount" ) ) ) //$NON-NLS-1$ { dataType = DataType.NUMERIC_LITERAL; } if ( isValidatedAxis( dataType, axis.getType( ) ) ) { break; } AxisType[] axisTypes = provider.getCompatibleAxisType( series ); for ( int i = 0; i < axisTypes.length; i++ ) { if ( isValidatedAxis( dataType, axisTypes[i] ) ) { axisNotification( axis, axisTypes[i] ); axis.setType( axisTypes[i] ); break; } } } break; } } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/28f5c844d842917756dc675e60c509f8ead929d9/TaskSelectData.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/TaskSelectData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 866, 6273, 12, 2770, 843, 16, 9225, 4166, 262, 202, 95, 202, 202, 780, 2652, 273, 843, 18, 588, 1852, 12, 11272, 202, 202, 6558, 2654, 273, 446, 31, 202, 202, 1884, 261, 8091, 320, 273, 843, 31, 320, 480, 446, 31, 262, 202, 202, 95, 1082, 202, 83, 273, 320, 18, 73, 2170, 12, 11272, 1082, 202, 430, 261, 320, 1276, 15509, 262, 1082, 202, 95, 9506, 202, 4890, 273, 261, 6558, 13, 320, 31, 9506, 202, 8820, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2532, 276, 10868, 5400, 273, 14804, 5370, 7513, 2828, 18, 1336, 12, 262, 9506, 202, 18, 588, 6485, 5370, 7171, 12, 11272, 202, 202, 3198, 1400, 5400, 273, 276, 10868, 5400, 18, 9838, 12, 11272, 202, 202, 780, 272, 6485, 273, 446, 31, 202, 202, 17523, 261, 1400, 5400, 18, 5332, 2134, 12, 262, 262, 202, 202, 95, 1082, 202, 45, 6485, 5370, 2249, 2893, 273, 261, 45, 6485, 5370, 2249, 13, 1400, 5400, 18, 4285, 12, 11272, 1082, 202, 87, 6485, 273, 2893, 18, 588, 6485, 797, 12, 11272, 1082, 202, 430, 261, 272, 6485, 18, 14963, 12, 4166, 18, 588, 797, 12, 262, 18, 17994, 12, 262, 262, 262, 1082, 202, 95, 9506, 202, 698, 9506, 202, 95, 6862, 202, 6778, 18, 5662, 6485, 5250, 559, 12, 4166, 16, 6862, 1082, 202, 588, 751, 16300, 12, 262, 11272, 9506, 202, 97, 9506, 202, 14683, 261, 14804, 503, 5898, 262, 9506, 202, 95, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 866, 6273, 12, 2770, 843, 16, 9225, 4166, 262, 202, 95, 202, 202, 780, 2652, 273, 843, 18, 588, 1852, 12, 11272, 202, 202, 6558, 2654, 273, 446, 31, 202, 202, 1884, 261, 8091, 320, 273, 843, 31, 320, 480, 446, 31, 262, 202, 202, 95, 1082, 202, 83, 273, 320, 18, 73, 2170, 12, 11272, 1082, 202, 430, 261, 320, 1276, 15509, 262, 1082, 202, 95, 9506, 202, 4890, 273, 261, 6558, 13, 320, 31, 9506, 202, 8820, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2532, 276, 10868, 5400, 273, 14804, 5370, 7513, 2828, 18, 1336, 12, 262, 9506, 202, 18, 588, 6485, 5370, 7171, 12, 11272, 202, 202, 3198, 1400, 5400, 2 ]
partListeners.firePartHidden(part);
partListeners2.firePartHidden(ref);
public void propertyChange(PropertyChangeEvent event) { String property = event.getProperty(); if (IWorkingSetManager.CHANGE_WORKING_SET_REMOVE.equals(property) && event.getOldValue().equals(workingSet)) { setWorkingSet(null); } else if(LayoutPart.PROP_VISIBILITY.equals(property)) { WorkbenchPartReference ref = (WorkbenchPartReference)((PartPane)event.getSource()).getPartReference(); IWorkbenchPart part = ref.getPart(Boolean.TRUE.equals(event.getNewValue())); if(ref == null || part == null) return; if(Boolean.TRUE.equals(event.getNewValue())) partListeners.firePartVisible(part); else partListeners.firePartHidden(part); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/3927ef725ff1f47354c3825af835c364375b4916/WorkbenchPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1272, 3043, 12, 1396, 20930, 871, 13, 288, 1082, 202, 780, 1272, 273, 871, 18, 588, 1396, 5621, 1082, 202, 430, 261, 45, 14836, 694, 1318, 18, 14473, 67, 10566, 1360, 67, 4043, 67, 22122, 18, 14963, 12, 4468, 13, 597, 4697, 202, 2575, 18, 588, 7617, 620, 7675, 14963, 12, 20478, 694, 3719, 288, 9506, 202, 542, 14836, 694, 12, 2011, 1769, 1082, 202, 97, 469, 309, 12, 3744, 1988, 18, 15811, 67, 4136, 30310, 18, 14963, 12, 4468, 3719, 288, 9506, 202, 2421, 22144, 1988, 2404, 1278, 273, 261, 2421, 22144, 1988, 2404, 13, 12443, 1988, 8485, 13, 2575, 18, 588, 1830, 1435, 2934, 588, 1988, 2404, 5621, 9506, 202, 45, 2421, 22144, 1988, 1087, 273, 1278, 18, 588, 1988, 12, 5507, 18, 18724, 18, 14963, 12, 2575, 18, 588, 1908, 620, 1435, 10019, 9506, 202, 430, 12, 1734, 422, 446, 747, 1087, 422, 446, 13, 6862, 202, 2463, 31, 9506, 202, 430, 12, 5507, 18, 18724, 18, 14963, 12, 2575, 18, 588, 1908, 620, 1435, 3719, 6862, 202, 2680, 5583, 18, 12179, 1988, 6207, 12, 2680, 1769, 9506, 202, 12107, 6862, 202, 2680, 5583, 18, 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, 780, 1272, 273, 871, 18, 588, 1396, 5621, 1082, 202, 430, 261, 45, 14836, 694, 1318, 18, 14473, 67, 10566, 1360, 67, 4043, 67, 22122, 18, 14963, 12, 4468, 13, 597, 4697, 202, 2575, 18, 588, 7617, 620, 7675, 14963, 12, 20478, 694, 3719, 288, 9506, 202, 542, 14836, 694, 12, 2011, 1769, 1082, 202, 97, 469, 309, 12, 3744, 1988, 18, 15811, 67, 4136, 30310, 18, 14963, 12, 4468, 3719, 288, 9506, 202, 2421, 22144, 1988, 2404, 1278, 273, 261, 2421, 22144, 1988, 2404, 13, 12443, 1988, 8485, 13, 2575, 18, 588, 1830, 1435, 2934, 588, 1988, 2404, 5621, 9506, 202, 45, 2421, 22144, 2 ]
public org.quickfix.field.RoundLot getRoundLot() throws FieldNotFound { org.quickfix.field.RoundLot value = new org.quickfix.field.RoundLot();
public quickfix.field.RoundLot getRoundLot() throws FieldNotFound { quickfix.field.RoundLot value = new quickfix.field.RoundLot();
public org.quickfix.field.RoundLot getRoundLot() throws FieldNotFound { org.quickfix.field.RoundLot value = new org.quickfix.field.RoundLot(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityList.java/buggy/src/java/src/quickfix/fix43/SecurityList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 11066, 48, 352, 4170, 772, 48, 352, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 11066, 48, 352, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 11066, 48, 352, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 11066, 48, 352, 4170, 772, 48, 352, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 11066, 48, 352, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 11066, 48, 352, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"jdbc:simplepool: jdbcUserName, jdbcPassword);
"jdbc:apache:commons:dbcp:dspacepool");
public static Connection getConnection() throws SQLException { initialize(); return DriverManager.getConnection( "jdbc:simplepool://localhost", jdbcUserName, jdbcPassword); }
1868 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1868/791339e5bb30b1b03f0a315a8f9d196bfc5060ec/DatabaseManager.java/buggy/dspace/src/org/dspace/storage/rdbms/DatabaseManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 4050, 6742, 1435, 3639, 1216, 6483, 565, 288, 3639, 4046, 5621, 3639, 327, 9396, 1318, 18, 588, 1952, 12, 5411, 315, 24687, 30, 9647, 6011, 2207, 13014, 3113, 5411, 16579, 15296, 16, 16579, 3913, 1769, 565, 289, 2,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 4050, 6742, 1435, 3639, 1216, 6483, 565, 288, 3639, 4046, 5621, 3639, 327, 9396, 1318, 18, 588, 1952, 12, 5411, 315, 24687, 30, 9647, 6011, 2207, 13014, 3113, 5411, 16579, 15296, 16, 16579, 3913, 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 ]
mc.setTo( new EndpointReference(AddressingConstants.WSA_TO, "axis/services/NullService/DummyOp"));
protected void setUp() throws Exception { ServiceDescription service = new ServiceDescription(serviceName); service.setStyle(WSDLService.STYLE_DOC); engineContext.getEngineConfig().addService(service); OperationDescription axisOp = new OperationDescription(operationName); axisOp.setMessageReciever(new MessageReceiver() { public void recieve(MessageContext messgeCtx) throws AxisFault { } }); service.addOperation(axisOp); mc = new MessageContext(null, transportIn, transportOut, engineContext); mc.setTransportOut(transportOut); mc.setServerSide(true); mc.setProperty(MessageContext.TRANSPORT_WRITER, System.out); SOAPFactory omFac = OMAbstractFactory.getSOAP11Factory(); mc.setEnvelope(omFac.getDefaultEnvelope()); ArrayList phases = new ArrayList(); Phase phase = new Phase("1"); phase.addHandler(new TempHandler(1)); phase.addHandler(new TempHandler(2)); phase.addHandler(new TempHandler(3)); phase.addHandler(new TempHandler(4)); phase.addHandler(new TempHandler(5)); phase.addHandler(new TempHandler(6)); phase.addHandler(new TempHandler(7)); phase.addHandler(new TempHandler(8)); phase.addHandler(new TempHandler(9)); phases.add(phase); phase = new Phase("2"); phase.addHandler(new TempHandler(10)); phase.addHandler(new TempHandler(11)); phase.addHandler(new TempHandler(12)); phase.addHandler(new TempHandler(13)); phase.addHandler(new TempHandler(14)); phase.addHandler(new TempHandler(15, true)); phase.addHandler(new TempHandler(16)); phase.addHandler(new TempHandler(17)); phase.addHandler(new TempHandler(18)); phases.add(phase); Phase phase1 = new Phase("3"); phase1.addHandler(new TempHandler(19)); phase1.addHandler(new TempHandler(20)); phase1.addHandler(new TempHandler(21)); phase1.addHandler(new TempHandler(22)); phase1.addHandler(new TempHandler(23)); phase1.addHandler(new TempHandler(24)); phase1.addHandler(new TempHandler(25)); phase1.addHandler(new TempHandler(26)); phase1.addHandler(new TempHandler(27)); phases.add(phase1); ServiceContext serviceContext = new ServiceContext(service, engineContext); engineContext.registerServiceContext(serviceContext.getServiceInstanceID(), serviceContext); //TODO axisOp.getRemainingPhasesInFlow().addAll(phases); mc.setTo( new EndpointReference(AddressingConstants.WSA_TO, "axis/services/NullService/DummyOp")); mc.setWSAAction(operationName.getLocalPart()); System.out.flush(); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/89557ca84de1ddeb314305914e8c991aa69bd635/EnginePausingTest.java/buggy/modules/core/test/org/apache/axis/engine/EnginePausingTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 1216, 1185, 288, 3639, 1956, 3291, 1156, 273, 394, 1956, 3291, 12, 15423, 1769, 3639, 1156, 18, 542, 2885, 12, 2651, 8914, 1179, 18, 15066, 67, 19693, 1769, 3639, 4073, 1042, 18, 588, 4410, 809, 7675, 1289, 1179, 12, 3278, 1769, 3639, 4189, 3291, 2654, 3817, 273, 394, 4189, 3291, 12, 7624, 461, 1769, 3639, 2654, 3817, 18, 542, 1079, 5650, 1385, 502, 12, 2704, 2350, 12952, 1435, 288, 5411, 1071, 918, 1950, 21271, 12, 1079, 1042, 12755, 908, 6442, 13, 1216, 15509, 7083, 288, 18701, 289, 3639, 15549, 3639, 1156, 18, 1289, 2988, 12, 4890, 3817, 1769, 3639, 6108, 273, 394, 2350, 1042, 12, 2011, 16, 4736, 382, 16, 4736, 1182, 16, 4073, 1042, 1769, 3639, 6108, 18, 542, 6568, 1182, 12, 13049, 1182, 1769, 3639, 6108, 18, 542, 2081, 8895, 12, 3767, 1769, 3639, 6108, 18, 542, 1396, 12, 1079, 1042, 18, 8989, 31943, 67, 7181, 11844, 16, 2332, 18, 659, 1769, 3639, 16434, 1733, 8068, 6645, 273, 531, 5535, 3336, 1733, 18, 588, 27952, 2499, 1733, 5621, 3639, 6108, 18, 542, 10862, 12, 362, 6645, 18, 588, 1868, 10862, 10663, 3639, 2407, 24642, 273, 394, 2407, 5621, 3639, 19459, 6855, 273, 394, 19459, 2932, 21, 8863, 3639, 6855, 18, 1289, 1503, 12, 2704, 16380, 1503, 12, 21, 10019, 3639, 6855, 18, 1289, 1503, 12, 2704, 16380, 1503, 12, 22, 10019, 3639, 6855, 18, 1289, 1503, 12, 2704, 16380, 1503, 12, 23, 10019, 3639, 6855, 18, 1289, 1503, 12, 2704, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 1216, 1185, 288, 3639, 1956, 3291, 1156, 273, 394, 1956, 3291, 12, 15423, 1769, 3639, 1156, 18, 542, 2885, 12, 2651, 8914, 1179, 18, 15066, 67, 19693, 1769, 3639, 4073, 1042, 18, 588, 4410, 809, 7675, 1289, 1179, 12, 3278, 1769, 3639, 4189, 3291, 2654, 3817, 273, 394, 4189, 3291, 12, 7624, 461, 1769, 3639, 2654, 3817, 18, 542, 1079, 5650, 1385, 502, 12, 2704, 2350, 12952, 1435, 288, 5411, 1071, 918, 1950, 21271, 12, 1079, 1042, 12755, 908, 6442, 13, 1216, 15509, 7083, 288, 18701, 289, 3639, 15549, 3639, 1156, 18, 1289, 2988, 12, 4890, 3817, 1769, 3639, 6108, 273, 394, 2350, 1042, 12, 2011, 16, 4736, 382, 16, 4736, 1182, 16, 4073, 2 ]
System.arraycopy(digestTemp, 0, temp, 0, blockSize); sessionCipher.encipher(temp, temp); System.arraycopy(temp, 0, digestTemp, 0, blockSize); System.arraycopy(digestTemp, blockSize, temp, 0, blockSize); sessionCipher.encipher(temp, temp); System.arraycopy(temp, 0, digestTemp, blockSize, blockSize); for(int i=0;i<blockSize;i++) digestTemp[blockSize+i] ^= (output[i] /* plaintext */ ^ digestTemp[i] /* ciphetext */);
private void processOutgoingFullyFormatted(byte[] plaintext, NodePeer pn) { BlockCipher sessionCipher = pn.getSessionCipher(); int blockSize = sessionCipher.getBlockSize() >> 3; if(sessionCipher.getKeySize() != sessionCipher.getBlockSize()*2) throw new IllegalStateException("Block size must be half key size: blockSize="+ sessionCipher.getBlockSize()+", keySize="+sessionCipher.getKeySize()); MessageDigest md; try { md = MessageDigest.getInstance("SHA-256"); } catch (NoSuchAlgorithmException e) { throw new Error(e); } int digestLength = md.getDigestLength(); if(digestLength != 2*blockSize) throw new IllegalStateException("Block size must be half digest length!"); byte[] output = new byte[plaintext.length + digestLength]; System.arraycopy(plaintext, 0, output, digestLength, plaintext.length); md.update(plaintext); //Logger.minor(this, "Plaintext:\n"+HexUtil.bytesToHex(plaintext)); byte[] digestTemp; digestTemp = md.digest(); //Logger.minor(this, "\nHash: "+HexUtil.bytesToHex(digestTemp)); // Put plaintext in output System.arraycopy(digestTemp, 0, output, 0, digestLength); byte[] temp = new byte[blockSize]; System.arraycopy(digestTemp, 0, temp, 0, blockSize); sessionCipher.encipher(temp, temp); System.arraycopy(temp, 0, digestTemp, 0, blockSize); System.arraycopy(digestTemp, blockSize, temp, 0, blockSize); sessionCipher.encipher(temp, temp); System.arraycopy(temp, 0, digestTemp, blockSize, blockSize); //Logger.minor(this, "\nPre-CBC: "+HexUtil.bytesToHex(digestTemp)); // The first block is exactly as it should be // The second block gets XORed with the ciphertext and // the plaintext for(int i=0;i<blockSize;i++) digestTemp[blockSize+i] ^= (output[i] /* plaintext */ ^ digestTemp[i] /* ciphetext */); // Now copy it back System.arraycopy(digestTemp, 0, output, 0, digestLength); // Yay, we have an encrypted hash //Logger.minor(this, "\nEncrypted: "+HexUtil.bytesToHex(digestTemp)+" ("+plaintext.length+" bytes plaintext)"); PCFBMode pcfb = new PCFBMode(sessionCipher, digestTemp); pcfb.blockEncipher(output, digestLength, plaintext.length); //Logger.minor(this, "Ciphertext:\n"+HexUtil.bytesToHex(output, digestLength, plaintext.length)); // We have a packet // Send it Logger.minor(this,"Sending packet to "+pn); usm.sendPacket(output, pn.getPeer()); }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/d6f2b27b0068d0738bbd2f1afae8c1cc0bef24f4/FNPPacketMangler.java/clean/src/freenet/node/FNPPacketMangler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 24866, 16999, 18298, 12, 7229, 8526, 11917, 16, 2029, 6813, 11059, 13, 288, 3639, 3914, 13896, 1339, 13896, 273, 11059, 18, 588, 2157, 13896, 5621, 3639, 509, 13766, 273, 1339, 13896, 18, 588, 22506, 1435, 1671, 890, 31, 3639, 309, 12, 3184, 13896, 18, 588, 653, 1225, 1435, 480, 1339, 13896, 18, 588, 22506, 1435, 14, 22, 13, 5411, 604, 394, 5477, 2932, 1768, 963, 1297, 506, 8816, 498, 963, 30, 13766, 1546, 15, 10792, 1339, 13896, 18, 588, 22506, 1435, 15, 3113, 498, 1225, 1546, 15, 3184, 13896, 18, 588, 653, 1225, 10663, 7734, 22485, 3481, 31, 3639, 775, 288, 5411, 3481, 273, 22485, 18, 588, 1442, 2932, 8325, 17, 5034, 8863, 3639, 289, 1044, 261, 28341, 17293, 425, 13, 288, 5411, 604, 394, 1068, 12, 73, 1769, 3639, 289, 7734, 509, 5403, 1782, 273, 3481, 18, 588, 9568, 1782, 5621, 7734, 309, 12, 10171, 1782, 480, 576, 14, 2629, 1225, 13, 5411, 604, 394, 5477, 2932, 1768, 963, 1297, 506, 8816, 5403, 769, 4442, 1769, 7734, 1160, 8526, 876, 273, 394, 1160, 63, 412, 10133, 18, 2469, 397, 5403, 1782, 15533, 3639, 2332, 18, 1126, 3530, 12, 412, 10133, 16, 374, 16, 876, 16, 5403, 1782, 16, 11917, 18, 2469, 1769, 7734, 3481, 18, 2725, 12, 412, 10133, 1769, 7734, 368, 3328, 18, 17364, 12, 2211, 16, 315, 1749, 10133, 5581, 82, 6, 15, 7037, 1304, 18, 3890, 774, 7037, 12, 412, 10133, 10019, 7734, 1160, 8526, 5403, 7185, 31, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 24866, 16999, 18298, 12, 7229, 8526, 11917, 16, 2029, 6813, 11059, 13, 288, 3639, 3914, 13896, 1339, 13896, 273, 11059, 18, 588, 2157, 13896, 5621, 3639, 509, 13766, 273, 1339, 13896, 18, 588, 22506, 1435, 1671, 890, 31, 3639, 309, 12, 3184, 13896, 18, 588, 653, 1225, 1435, 480, 1339, 13896, 18, 588, 22506, 1435, 14, 22, 13, 5411, 604, 394, 5477, 2932, 1768, 963, 1297, 506, 8816, 498, 963, 30, 13766, 1546, 15, 10792, 1339, 13896, 18, 588, 22506, 1435, 15, 3113, 498, 1225, 1546, 15, 3184, 13896, 18, 588, 653, 1225, 10663, 7734, 22485, 3481, 31, 3639, 775, 288, 5411, 3481, 273, 22485, 18, 588, 1442, 2932, 8325, 17, 5034, 8863, 3639, 289, 2 ]
fDocumentHandler.characters(fStringBuffer);
fDocumentHandler.characters(fStringBuffer, fAugmentations);
protected int scanContent() throws IOException, XNIException { XMLString content = fString; int c = fEntityScanner.scanContent(content); if (c == '\r') { // happens when there is the character reference &#13; fEntityScanner.scanChar(); fStringBuffer.clear(); fStringBuffer.append(fString); fStringBuffer.append((char)c); content = fStringBuffer; c = -1; } if (fDocumentHandler != null && content.length > 0) { fDocumentHandler.characters(content); } if (c == ']' && fString.length == 0) { fStringBuffer.clear(); fStringBuffer.append((char)fEntityScanner.scanChar()); // // We work on a single character basis to handle cases such as: // ']]]>' which we might otherwise miss. // if (fEntityScanner.skipChar(']')) { fStringBuffer.append(']'); while (fEntityScanner.skipChar(']')) { fStringBuffer.append(']'); } if (fEntityScanner.skipChar('>')) { reportFatalError("CDEndInContent", null); } } if (fDocumentHandler != null) { fDocumentHandler.characters(fStringBuffer); } c = -1; } return c; } // scanContent():int
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/1281996de10d3af1b51f0b4d78cfcd75d8ade6fe/XMLDocumentFragmentScannerImpl.java/clean/src/org/apache/xerces/impl/XMLDocumentFragmentScannerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 4135, 1350, 1435, 1216, 1860, 16, 1139, 50, 45, 503, 288, 3639, 3167, 780, 913, 273, 284, 780, 31, 3639, 509, 276, 273, 284, 1943, 11338, 18, 9871, 1350, 12, 1745, 1769, 3639, 309, 261, 71, 422, 2337, 86, 6134, 288, 5411, 368, 10555, 1347, 1915, 353, 326, 3351, 2114, 6523, 3437, 31, 5411, 284, 1943, 11338, 18, 9871, 2156, 5621, 5411, 284, 780, 1892, 18, 8507, 5621, 5411, 284, 780, 1892, 18, 6923, 12, 74, 780, 1769, 5411, 284, 780, 1892, 18, 6923, 12443, 3001, 13, 71, 1769, 5411, 913, 273, 284, 780, 1892, 31, 5411, 276, 273, 300, 21, 31, 3639, 289, 3639, 309, 261, 74, 2519, 1503, 480, 446, 597, 913, 18, 2469, 405, 374, 13, 288, 5411, 284, 2519, 1503, 18, 20558, 12, 1745, 1769, 3639, 289, 3639, 309, 261, 71, 422, 8641, 597, 284, 780, 18, 2469, 422, 374, 13, 288, 5411, 284, 780, 1892, 18, 8507, 5621, 5411, 284, 780, 1892, 18, 6923, 12443, 3001, 13, 74, 1943, 11338, 18, 9871, 2156, 10663, 5411, 368, 5411, 368, 1660, 1440, 603, 279, 2202, 3351, 10853, 358, 1640, 6088, 4123, 487, 30, 5411, 368, 12671, 13563, 1870, 1492, 732, 4825, 3541, 12543, 18, 5411, 368, 5411, 309, 261, 74, 1943, 11338, 18, 7457, 2156, 2668, 3864, 3719, 288, 7734, 284, 780, 1892, 18, 6923, 2668, 3864, 1769, 7734, 1323, 261, 74, 1943, 11338, 18, 7457, 2156, 2668, 3864, 3719, 288, 10792, 284, 780, 1892, 18, 6923, 2668, 3864, 1769, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 4135, 1350, 1435, 1216, 1860, 16, 1139, 50, 45, 503, 288, 3639, 3167, 780, 913, 273, 284, 780, 31, 3639, 509, 276, 273, 284, 1943, 11338, 18, 9871, 1350, 12, 1745, 1769, 3639, 309, 261, 71, 422, 2337, 86, 6134, 288, 5411, 368, 10555, 1347, 1915, 353, 326, 3351, 2114, 6523, 3437, 31, 5411, 284, 1943, 11338, 18, 9871, 2156, 5621, 5411, 284, 780, 1892, 18, 8507, 5621, 5411, 284, 780, 1892, 18, 6923, 12, 74, 780, 1769, 5411, 284, 780, 1892, 18, 6923, 12443, 3001, 13, 71, 1769, 5411, 913, 273, 284, 780, 1892, 31, 5411, 276, 273, 300, 21, 31, 3639, 289, 3639, 309, 261, 74, 2519, 1503, 480, 446, 597, 913, 18, 2469, 2 ]
public final void paintControl(PaintEvent pev) { Composite co = (Composite) pev.getSource(); GC gcComposite = pev.gc; Display d = pev.display; Rectangle rCA = coPaletteEntries.getClientArea(); if (coEditor == null) { coEditor = new FillChooserComposite(co, SWT.NONE, null, true, true); coEditor.setBounds(3, 3, rCA.width - 6, iItemHeight - 6); ((FillChooserComposite) coEditor).addListener(this); } if (imgBuffer == null) { imgBuffer = new Image(d, rCA.width, rCA.height); gc = new GC(imgBuffer); idrSWT.setProperty(IDeviceRenderer.GRAPHICS_CONTEXT, gc); } gc.setBackground(getBackground()); gc.fillRectangle(rCA); iViewHeight = rCA.height; int iStartIndex = iViewY / iItemHeight; if (iStartIndex < 0) { iStartIndex = 0; } iVisibleCount = iViewHeight / iItemHeight + 2; int iAvailableItems = Math.min(iVisibleCount, elPaletteEntries.size() - iStartIndex); int iY = -(iViewY % iItemHeight); ColorDefinitionImpl cdi; Color clr; gc.setForeground(d.getSystemColor(SWT.COLOR_GRAY)); final RectangleRenderEvent rre = (RectangleRenderEvent) ((EventObjectCache) idrSWT).getEventObject(this, RectangleRenderEvent.class); final Bounds bo = BoundsImpl.create(0,0,0,0); rre.setOutline(LineAttributesImpl.create(ColorDefinitionImpl.BLACK(), LineStyle.SOLID_LITERAL, 1)); rre.setBounds(bo); Fill fi; for (int i = iStartIndex; i < iStartIndex + iAvailableItems; i++) { fi = (Fill) elPaletteEntries.get(i); bo.set(3, iY + 3, rCA.width - 6, iItemHeight - 6); rre.setBackground(fi); try { idrSWT.fillRectangle(rre); idrSWT.drawRectangle(rre); } catch (RenderingException rex) { DefaultLoggerImpl.instance().log(rex); } if (i == iSelectedIndex) { // WITHIN RANGE; SHOW EDITOR AND UPDATE POSITION if (!coEditor.isVisible()) { coEditor.setVisible(true); } coEditor.setLocation(3, iY + 3); ((FillChooserComposite) coEditor).setFill(fi); } iY += iItemHeight; } // OUT OF RANGE; HIDE EDITOR if (iSelectedIndex < iStartIndex || iSelectedIndex >= iStartIndex + iAvailableItems) { if (coEditor.isVisible()) { coEditor.setVisible(false); } } gcComposite.drawImage(imgBuffer, rCA.x, rCA.y); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/33aaa1a97f4ae29f5607eeb332deeff2384cc2e3/PaletteEditorComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/PaletteEditorComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 12574, 3367, 12, 12699, 1133, 2804, 90, 13, 565, 288, 3639, 14728, 1825, 273, 261, 9400, 13, 2804, 90, 18, 588, 1830, 5621, 3639, 15085, 8859, 9400, 273, 2804, 90, 18, 13241, 31, 3639, 9311, 302, 273, 2804, 90, 18, 5417, 31, 3639, 13264, 436, 3587, 273, 1825, 25863, 5400, 18, 588, 1227, 5484, 5621, 3639, 309, 261, 2894, 6946, 422, 446, 13, 3639, 288, 5411, 1825, 6946, 273, 394, 14192, 17324, 9400, 12, 2894, 16, 348, 8588, 18, 9826, 16, 446, 16, 638, 16, 638, 1769, 5411, 1825, 6946, 18, 542, 5694, 12, 23, 16, 890, 16, 436, 3587, 18, 2819, 300, 1666, 16, 277, 1180, 2686, 300, 1666, 1769, 5411, 14015, 8026, 17324, 9400, 13, 1825, 6946, 2934, 1289, 2223, 12, 2211, 1769, 3639, 289, 7734, 309, 261, 6081, 1892, 422, 446, 13, 3639, 288, 5411, 3774, 1892, 273, 394, 3421, 12, 72, 16, 436, 3587, 18, 2819, 16, 436, 3587, 18, 4210, 1769, 5411, 8859, 273, 394, 15085, 12, 6081, 1892, 1769, 5411, 612, 86, 55, 8588, 18, 542, 1396, 12, 734, 73, 633, 6747, 18, 24372, 28919, 67, 13181, 16, 8859, 1769, 3639, 289, 3639, 8859, 18, 542, 8199, 12, 588, 8199, 10663, 3639, 8859, 18, 5935, 19463, 12, 86, 3587, 1769, 7734, 277, 1767, 2686, 273, 436, 3587, 18, 4210, 31, 3639, 509, 277, 16792, 273, 277, 1767, 61, 342, 277, 1180, 2686, 31, 3639, 309, 261, 77, 16792, 411, 374, 13, 3639, 288, 5411, 277, 16792, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 12574, 3367, 12, 12699, 1133, 2804, 90, 13, 565, 288, 3639, 14728, 1825, 273, 261, 9400, 13, 2804, 90, 18, 588, 1830, 5621, 3639, 15085, 8859, 9400, 273, 2804, 90, 18, 13241, 31, 3639, 9311, 302, 273, 2804, 90, 18, 5417, 31, 3639, 13264, 436, 3587, 273, 1825, 25863, 5400, 18, 588, 1227, 5484, 5621, 3639, 309, 261, 2894, 6946, 422, 446, 13, 3639, 288, 5411, 1825, 6946, 273, 394, 14192, 17324, 9400, 12, 2894, 16, 348, 8588, 18, 9826, 16, 446, 16, 638, 16, 638, 1769, 5411, 1825, 6946, 18, 542, 5694, 12, 23, 16, 890, 16, 436, 3587, 18, 2819, 300, 1666, 16, 277, 1180, 2686, 300, 1666, 1769, 5411, 14015, 8026, 17324, 2 ]
currentStream.add(x1 + " " + ym1 + " m " + x2 + " " + ym1 + " l S\n");
currentStream.add(format(x1) + " " + format(ym1) + " m " + format(x2) + " " + format(ym1) + " l S\n");
protected void drawBorderLine(float x1, float y1, float x2, float y2, boolean horz, boolean startOrBefore, int style, ColorType col) { float w = x2 - x1; float h = y2 - y1; if ((w < 0) || (h < 0)) { log.error("Negative extent received. Border won't be painted."); return; } switch (style) { case Constants.EN_DASHED: setColor(toColor(col), false, null); if (horz) { float unit = Math.abs(2 * h); int rep = (int)(w / unit); if (rep % 2 == 0) { rep++; } unit = w / rep; currentStream.add("[" + unit + "] 0 d "); currentStream.add(h + " w\n"); float ym = y1 + (h / 2); currentStream.add(x1 + " " + ym + " m " + x2 + " " + ym + " l S\n"); } else { float unit = Math.abs(2 * w); int rep = (int)(h / unit); if (rep % 2 == 0) { rep++; } unit = h / rep; currentStream.add("[" + unit + "] 0 d "); currentStream.add(w + " w\n"); float xm = x1 + (w / 2); currentStream.add(xm + " " + y1 + " m " + xm + " " + y2 + " l S\n"); } break; case Constants.EN_DOTTED: setColor(toColor(col), false, null); currentStream.add("1 J "); if (horz) { float unit = Math.abs(2 * h); int rep = (int)(w / unit); if (rep % 2 == 0) { rep++; } unit = w / rep; currentStream.add("[0 " + unit + "] 0 d "); currentStream.add(h + " w\n"); float ym = y1 + (h / 2); currentStream.add(x1 + " " + ym + " m " + x2 + " " + ym + " l S\n"); } else { float unit = Math.abs(2 * w); int rep = (int)(h / unit); if (rep % 2 == 0) { rep++; } unit = h / rep; currentStream.add("[0 " + unit + " ] 0 d "); currentStream.add(w + " w\n"); float xm = x1 + (w / 2); currentStream.add(xm + " " + y1 + " m " + xm + " " + y2 + " l S\n"); } break; case Constants.EN_DOUBLE: setColor(toColor(col), false, null); currentStream.add("[] 0 d "); if (horz) { float h3 = h / 3; currentStream.add(h3 + " w\n"); float ym1 = y1 + (h3 / 2); float ym2 = ym1 + h3 + h3; currentStream.add(x1 + " " + ym1 + " m " + x2 + " " + ym1 + " l S\n"); currentStream.add(x1 + " " + ym2 + " m " + x2 + " " + ym2 + " l S\n"); } else { float w3 = w / 3; currentStream.add(w3 + " w\n"); float xm1 = x1 + (w3 / 2); float xm2 = xm1 + w3 + w3; currentStream.add(xm1 + " " + y1 + " m " + xm1 + " " + y2 + " l S\n"); currentStream.add(xm2 + " " + y1 + " m " + xm2 + " " + y2 + " l S\n"); } break; case Constants.EN_GROOVE: case Constants.EN_RIDGE: { float colFactor = (style == EN_GROOVE ? 0.4f : -0.4f); currentStream.add("[] 0 d "); Color c = toColor(col); if (horz) { Color uppercol = lightenColor(c, -colFactor); Color lowercol = lightenColor(c, colFactor); float h3 = h / 3; currentStream.add(h3 + " w\n"); float ym1 = y1 + (h3 / 2); setColor(uppercol, false, null); currentStream.add(x1 + " " + ym1 + " m " + x2 + " " + ym1 + " l S\n"); setColor(c, false, null); currentStream.add(x1 + " " + (ym1 + h3) + " m " + x2 + " " + (ym1 + h3) + " l S\n"); setColor(lowercol, false, null); currentStream.add(x1 + " " + (ym1 + h3 + h3) + " m " + x2 + " " + (ym1 + h3 + h3) + " l S\n"); } else { Color leftcol = lightenColor(c, -colFactor); Color rightcol = lightenColor(c, colFactor); float w3 = w / 3; currentStream.add(w3 + " w\n"); float xm1 = x1 + (w3 / 2); setColor(leftcol, false, null); currentStream.add(xm1 + " " + y1 + " m " + xm1 + " " + y2 + " l S\n"); setColor(c, false, null); currentStream.add((xm1 + w3) + " " + y1 + " m " + (xm1 + w3) + " " + y2 + " l S\n"); setColor(rightcol, false, null); currentStream.add((xm1 + w3 + w3) + " " + y1 + " m " + (xm1 + w3 + w3) + " " + y2 + " l S\n"); } break; } case Constants.EN_INSET: case Constants.EN_OUTSET: { float colFactor = (style == EN_OUTSET ? 0.4f : -0.4f); currentStream.add("[] 0 d "); Color c = toColor(col); if (horz) { c = lightenColor(c, (startOrBefore ? 1 : -1) * colFactor); currentStream.add(h + " w\n"); float ym1 = y1 + (h / 2); setColor(c, false, null); currentStream.add(x1 + " " + ym1 + " m " + x2 + " " + ym1 + " l S\n"); } else { c = lightenColor(c, (startOrBefore ? 1 : -1) * colFactor); currentStream.add(w + " w\n"); float xm1 = x1 + (w / 2); setColor(c, false, null); currentStream.add(xm1 + " " + y1 + " m " + xm1 + " " + y2 + " l S\n"); } break; } case Constants.EN_HIDDEN: break; default: setColor(toColor(col), false, null); currentStream.add("[] 0 d "); if (horz) { currentStream.add(h + " w\n"); float ym = y1 + (h / 2); currentStream.add(x1 + " " + ym + " m " + x2 + " " + ym + " l S\n"); } else { currentStream.add(w + " w\n"); float xm = x1 + (w / 2); currentStream.add(xm + " " + y1 + " m " + xm + " " + y2 + " l S\n"); } } }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/dc7978e4a540cdd65415af3c77108ebff6cd2fd2/PDFRenderer.java/buggy/src/java/org/apache/fop/render/pdf/PDFRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3724, 8107, 1670, 12, 5659, 619, 21, 16, 1431, 677, 21, 16, 1431, 619, 22, 16, 1431, 677, 22, 16, 2398, 1250, 29404, 94, 16, 1250, 787, 1162, 4649, 16, 509, 2154, 16, 5563, 559, 645, 13, 288, 3639, 1431, 341, 273, 619, 22, 300, 619, 21, 31, 3639, 1431, 366, 273, 677, 22, 300, 677, 21, 31, 3639, 309, 14015, 91, 411, 374, 13, 747, 261, 76, 411, 374, 3719, 288, 5411, 613, 18, 1636, 2932, 14959, 11933, 5079, 18, 13525, 8462, 1404, 506, 12574, 329, 1199, 1769, 5411, 327, 31, 3639, 289, 3639, 1620, 261, 4060, 13, 288, 5411, 648, 5245, 18, 1157, 67, 9793, 2664, 2056, 30, 1171, 16207, 12, 869, 2957, 12, 1293, 3631, 629, 16, 446, 1769, 7734, 309, 261, 76, 280, 94, 13, 288, 10792, 1431, 2836, 273, 2361, 18, 5113, 12, 22, 380, 366, 1769, 10792, 509, 2071, 273, 261, 474, 21433, 91, 342, 2836, 1769, 10792, 309, 261, 14462, 738, 576, 422, 374, 13, 288, 13491, 2071, 9904, 31, 10792, 289, 10792, 2836, 273, 341, 342, 2071, 31, 10792, 783, 1228, 18, 1289, 2932, 9614, 397, 2836, 397, 9850, 374, 302, 315, 1769, 10792, 783, 1228, 18, 1289, 12, 76, 397, 315, 341, 64, 82, 8863, 10792, 1431, 677, 81, 273, 677, 21, 397, 261, 76, 342, 576, 1769, 10792, 783, 1228, 18, 1289, 12, 92, 21, 397, 315, 315, 397, 677, 81, 397, 315, 312, 315, 397, 619, 22, 397, 315, 315, 397, 677, 81, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3724, 8107, 1670, 12, 5659, 619, 21, 16, 1431, 677, 21, 16, 1431, 619, 22, 16, 1431, 677, 22, 16, 2398, 1250, 29404, 94, 16, 1250, 787, 1162, 4649, 16, 509, 2154, 16, 5563, 559, 645, 13, 288, 3639, 1431, 341, 273, 619, 22, 300, 619, 21, 31, 3639, 1431, 366, 273, 677, 22, 300, 677, 21, 31, 3639, 309, 14015, 91, 411, 374, 13, 747, 261, 76, 411, 374, 3719, 288, 5411, 613, 18, 1636, 2932, 14959, 11933, 5079, 18, 13525, 8462, 1404, 506, 12574, 329, 1199, 1769, 5411, 327, 31, 3639, 289, 3639, 1620, 261, 4060, 13, 288, 5411, 648, 5245, 18, 1157, 67, 9793, 2664, 2056, 30, 1171, 16207, 12, 869, 2957, 12, 2 ]
lu.clear();
lu.clear();
private void lookupValues(Row row) throws KettleException { Value val_hash = null; Value val_key = null; if (first) { determineTechKeyCreation(); debug="First: lookup keys etc"; first=false; // Lookup values data.keynrs = new int[meta.getKeyField().length]; for (int i=0;i<meta.getKeyField().length;i++) { data.keynrs[i]=row.searchValueIndex(meta.getKeyField()[i]); if (data.keynrs[i]<0) // couldn't find field! { throw new KettleStepException(Messages.getString("CombinationLookup.Exception.FieldNotFound",meta.getKeyField()[i])); //$NON-NLS-1$ //$NON-NLS-2$ } } // Sort lookup values in reverse so we can delete from back to front! if (meta.replaceFields()) { int x,y; int size=meta.getKeyField().length; int nr1, nr2; for (x=0;x<size;x++) { for (y=0;y<size-1;y++) { nr1 = data.keynrs[y]; nr2 = data.keynrs[y+1]; if (nr2>nr1) // reverse sort: swap values... { int nr_dummy = data.keynrs[y]; String key_dummy = meta.getKeyField()[y]; String keylookup_dummy = meta.getKeyLookup()[y]; data.keynrs[y] = data.keynrs[y+1]; meta.getKeyField()[y] = meta.getKeyField()[y+1]; meta.getKeyLookup()[y] = meta.getKeyLookup()[y+1]; data.keynrs[y+1] = nr_dummy; meta.getKeyField()[y+1] = key_dummy; meta.getKeyLookup()[y+1] = keylookup_dummy; } } } } debug="First: setCombiLookup"; data.db.setCombiLookup(meta.getTablename(), meta.getKeyLookup(), meta.getTechnicalKeyField(), meta.useHash(), meta.getHashField() ); } debug="Create lookup row lu"; Row lu = new Row(); for (int i=0;i<meta.getKeyField().length;i++) { lu.addValue( row.getValue(data.keynrs[i]) ); // KEYi = ? } debug="Use hashcode?"; if (meta.useHash()) { val_hash = new Value(meta.getHashField(), (long)lu.hashCode()); lu.clear(); lu.addValue(val_hash); } else { lu.clear(); } debug="Add values to lookup row lu"; for (int i=0;i<meta.getKeyField().length;i++) { Value parval = row.getValue(data.keynrs[i]); lu.addValue( parval ); // KEYi = ? lu.addValue( parval ); // KEYi IS NULL or ? IS NULL } debug="Check the cache"; // Before doing the actual lookup in the database, see if it's not in the cache... val_key = lookupInCache(lu); if (val_key==null) { debug="Set lookup values"; data.db.setValuesLookup(lu); debug="Get the row back"; Row add=data.db.getLookup(); linesInput++; if (add==null) // The dimension entry was not found, we need to add it! { debug="New entry: calc autoinc/sequence/..."; // First try to use an AUTOINCREMENT field boolean autoinc=false; switch ( getTechKeyCreation() ) { case CREATION_METHOD_TABLEMAX: // Use our own counter: what's the next value for the technical key? val_key=new Value(meta.getTechnicalKeyField(), 0.0); // value to accept new key... data.db.getNextValue(getTransMeta().getCounters(), meta.getTablename(), val_key); break; case CREATION_METHOD_AUTOINC: autoinc=true; val_key=new Value(meta.getTechnicalKeyField(), 0.0); // value to accept new key... break; case CREATION_METHOD_SEQUENCE: val_key=data.db.getNextSequenceValue(meta.getSequenceFrom(), meta.getTechnicalKeyField()); if (val_key!=null && log.isRowLevel()) logRowlevel(Messages.getString("CombinationLookup.Log.FoundNextSequenceValue")+val_key.toString()); //$NON-NLS-1$ break; } debug="New entry: calc tkFieldName"; String tkFieldName = meta.getTechnicalKeyField(); if (autoinc) tkFieldName=null; debug="New entry: combiInsert"; data.db.combiInsert( row, meta.getTablename(), tkFieldName, autoinc, val_key, meta.getKeyLookup(), data.keynrs, meta.useHash(), meta.getHashField(), val_hash ); linesOutput++; log.logRowlevel(toString(), Messages.getString("CombinationLookup.Log.AddedDimensionEntry")+val_key); //$NON-NLS-1$ debug="New entry: Store in cache "; // Also store it in our Hashtable... storeInCache(lu, val_key); } else { debug="Found: stored in cache"; val_key = add.getValue(0); // Only one value possible here... storeInCache(lu, val_key); } } debug="Replace fields?"; // See if we need to replace the fields with the technical key if (meta.replaceFields()) { for (int i=0;i<data.keynrs.length;i++) { row.removeValue(data.keynrs[i]); // safe because reverse sorted on index nr. } } debug="add Technical Key"; // Add the technical key... row.addValue( val_key ); }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/c485a0191549409e0299519e584105bbf3eee558/CombinationLookup.java/buggy/src/be/ibridge/kettle/trans/step/combinationlookup/CombinationLookup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3689, 1972, 12, 1999, 1027, 13, 202, 202, 15069, 1475, 278, 5929, 503, 202, 95, 202, 202, 620, 1244, 67, 2816, 565, 273, 446, 31, 202, 202, 620, 1244, 67, 856, 377, 273, 446, 31, 9506, 202, 430, 261, 3645, 13, 202, 202, 95, 1082, 202, 24661, 56, 8987, 653, 9906, 5621, 25083, 202, 4148, 1546, 3759, 30, 3689, 1311, 5527, 14432, 1082, 202, 3645, 33, 5743, 31, 25083, 202, 759, 8834, 924, 1082, 202, 892, 18, 856, 82, 5453, 565, 273, 394, 509, 63, 3901, 18, 588, 653, 974, 7675, 2469, 15533, 1082, 202, 1884, 261, 474, 277, 33, 20, 31, 77, 32, 3901, 18, 588, 653, 974, 7675, 2469, 31, 77, 27245, 1082, 202, 95, 9506, 202, 892, 18, 856, 82, 5453, 63, 77, 65, 33, 492, 18, 3072, 620, 1016, 12, 3901, 18, 588, 653, 974, 1435, 63, 77, 19226, 9506, 202, 430, 261, 892, 18, 856, 82, 5453, 63, 77, 65, 32, 20, 13, 368, 17991, 1404, 1104, 652, 5, 9506, 202, 95, 6862, 202, 12849, 394, 1475, 278, 5929, 4160, 503, 12, 5058, 18, 588, 780, 2932, 26062, 6609, 18, 503, 18, 974, 2768, 3113, 3901, 18, 588, 653, 974, 1435, 63, 77, 5717, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 9506, 202, 97, 1875, 202, 97, 25083, 202, 759, 5928, 3689, 924, 316, 4219, 1427, 732, 848, 1430, 628, 1473, 358, 6641, 5, 1082, 202, 430, 261, 3901, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3689, 1972, 12, 1999, 1027, 13, 202, 202, 15069, 1475, 278, 5929, 503, 202, 95, 202, 202, 620, 1244, 67, 2816, 565, 273, 446, 31, 202, 202, 620, 1244, 67, 856, 377, 273, 446, 31, 9506, 202, 430, 261, 3645, 13, 202, 202, 95, 1082, 202, 24661, 56, 8987, 653, 9906, 5621, 25083, 202, 4148, 1546, 3759, 30, 3689, 1311, 5527, 14432, 1082, 202, 3645, 33, 5743, 31, 25083, 202, 759, 8834, 924, 1082, 202, 892, 18, 856, 82, 5453, 565, 273, 394, 509, 63, 3901, 18, 588, 653, 974, 7675, 2469, 15533, 1082, 202, 1884, 261, 474, 277, 33, 20, 31, 77, 32, 3901, 18, 588, 653, 974, 7675, 2469, 31, 77, 27245, 1082, 2 ]
{ return fields.length; }
{ return fields.length; }
public int getColumnCount() { return fields.length; }
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/0c8299478c05542a0f240973829223c7dae7e4dd/ResultSet.java/buggy/postgresql/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 6716, 1380, 1435, 202, 95, 202, 202, 2463, 1466, 18, 2469, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 6716, 1380, 1435, 202, 95, 202, 202, 2463, 1466, 18, 2469, 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 ]
System.out.println("getDrawingarea : " + ie.getMessage());
log.warn("getDrawingarea : " + ie.getMessage());
public Graphics2D getDrawingArea() { try { synchronized (lock) { // wait until there is something to read while (bi == null) { System.out.println(" bi = null "); lock.wait(); } // we have the lock and state we're seeking Graphics2D g2; g2 = bi.createGraphics(); // tell waiting threads to wake up lock.notifyAll(); return g2; } } catch (InterruptedException ie) { System.out.println("getDrawingarea : " + ie.getMessage()); return null; } }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/GuiGraphicBuffer.java/buggy/tn5250j/src/org/tn5250j/GuiGraphicBuffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 16830, 22, 40, 2343, 1899, 310, 5484, 1435, 288, 1377, 775, 288, 540, 3852, 261, 739, 13, 288, 5411, 368, 2529, 3180, 1915, 353, 5943, 358, 855, 5411, 1323, 261, 13266, 422, 446, 13, 288, 9079, 2332, 18, 659, 18, 8222, 2932, 10054, 273, 446, 315, 1769, 9079, 2176, 18, 7048, 5621, 5411, 289, 5411, 368, 732, 1240, 326, 2176, 471, 919, 732, 4565, 6520, 310, 5411, 16830, 22, 40, 314, 22, 31, 5411, 314, 22, 273, 10054, 18, 2640, 17558, 5621, 5411, 368, 9276, 7336, 7403, 358, 19891, 731, 5411, 2176, 18, 12336, 1595, 5621, 5411, 327, 314, 22, 31, 540, 289, 1377, 289, 1377, 1044, 261, 24485, 503, 9228, 13, 288, 540, 613, 18, 8935, 2932, 588, 26885, 5036, 294, 315, 397, 9228, 18, 24906, 10663, 540, 327, 446, 31, 1377, 289, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 288, 5411, 368, 2529, 3180, 1915, 353, 5943, 358, 855, 5411, 1323, 261, 13266, 422, 446, 13, 288, 9079, 2332, 18, 659, 18, 8222, 2932, 10054, 273, 446, 315, 1769, 9079, 2176, 18, 7048, 5621, 5411, 289, 5411, 368, 732, 1240, 326, 2176, 471, 919, 732, 4565, 6520, 310, 5411, 16830, 22, 40, 314, 22, 31, 5411, 314, 22, 273, 10054, 18, 2640, 17558, 5621, 5411, 368, 9276, 7336, 7403, 358, 19891, 731, 5411, 2176, 18, 12336, 1595, 5621, 5411, 327, 314, 22, 31, 540, 289, 1377, 289, 1377, 1044, 261, 24485, 503, 9228, 13, 288, 540, 613, 18, 8935, 2 ]
return new String[] { IMarker.TASK }; }
return new String[] { IMarker.TASK }; }
protected String[] getMarkerTypes() { return new String[] { IMarker.TASK }; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3cb3c464f1eeb8cd773d462560821d8819aec0b7/TaskView.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TaskView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 8526, 23232, 264, 2016, 1435, 288, 3639, 327, 394, 514, 8526, 288, 467, 7078, 18, 15580, 289, 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, 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 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, 514, 8526, 23232, 264, 2016, 1435, 288, 3639, 327, 394, 514, 8526, 288, 467, 7078, 18, 15580, 289, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (endLine < fnEndLine) { endLine = fnEndLine; } if (breakableLines == null) { int newLength = 20; if (newLength < endLine) { newLength = endLine; } breakableLines = new boolean[newLength]; }else if (breakableLines.length < endLine) { int newLength = breakableLines.length * 2; if (newLength < endLine) { newLength = endLine; } boolean[] tmp = new boolean[newLength]; System.arraycopy(breakableLines, 0, tmp, 0, breakableLines.length); breakableLines = tmp; } int breakpointsEnd = (breakpoints == null) ? 0 : breakpoints.length; for (int i = 0; i != lines.length; ++i) { int line = lines[i]; breakableLines[line] = true; if (line < breakpointsEnd) { if (breakpoints[line] == OLD_BREAK_FLAG) { breakpoints[line] = BREAK_FLAG;
if (endLine < fnEndLine) { endLine = fnEndLine; } if (breakableLines == null) { int newLength = 20; if (newLength < endLine) { newLength = endLine; } breakableLines = new boolean[newLength]; }else if (breakableLines.length < endLine) { int newLength = breakableLines.length * 2; if (newLength < endLine) { newLength = endLine; } boolean[] tmp = new boolean[newLength]; System.arraycopy(breakableLines, 0, tmp, 0, breakableLines.length); breakableLines = tmp; } int breakpointsEnd = (breakpoints == null) ? 0 : breakpoints.length; for (int i = 0; i != lines.length; ++i) { int line = lines[i]; breakableLines[line] = true; if (line < breakpointsEnd) { if (breakpoints[line] == OLD_BREAK_FLAG) { breakpoints[line] = BREAK_FLAG; }
synchronized void updateLineInfo(ScriptItem item) { int[] lines = item.getScript().getLineNumbers(); if (lines.length == 0) { return; } int fnFirstLine = lines[0]; int fnEndLine = fnFirstLine + 1; for (int i = 1; i != lines.length; ++i) { int line = lines[i]; if (line < fnFirstLine) { fnFirstLine = line; }else if (line >= fnEndLine) { fnEndLine = line + 1; } } item.setFirstLine(fnFirstLine); if (endLine < fnEndLine) { endLine = fnEndLine; } if (breakableLines == null) { int newLength = 20; if (newLength < endLine) { newLength = endLine; } breakableLines = new boolean[newLength]; }else if (breakableLines.length < endLine) { int newLength = breakableLines.length * 2; if (newLength < endLine) { newLength = endLine; } boolean[] tmp = new boolean[newLength]; System.arraycopy(breakableLines, 0, tmp, 0, breakableLines.length); breakableLines = tmp; } int breakpointsEnd = (breakpoints == null) ? 0 : breakpoints.length; for (int i = 0; i != lines.length; ++i) { int line = lines[i]; breakableLines[line] = true; if (line < breakpointsEnd) { if (breakpoints[line] == OLD_BREAK_FLAG) { breakpoints[line] = BREAK_FLAG; } } } }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/2e82602eb1211d4009a62a6472713b525c827751/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 918, 1089, 1670, 966, 12, 3651, 1180, 761, 13, 288, 3639, 509, 8526, 2362, 273, 761, 18, 588, 3651, 7675, 588, 1670, 10072, 5621, 3639, 309, 261, 3548, 18, 2469, 422, 374, 13, 288, 5411, 327, 31, 3639, 289, 3639, 509, 2295, 3759, 1670, 273, 2362, 63, 20, 15533, 3639, 509, 2295, 1638, 1670, 273, 2295, 3759, 1670, 397, 404, 31, 3639, 364, 261, 474, 277, 273, 404, 31, 277, 480, 2362, 18, 2469, 31, 965, 77, 13, 288, 5411, 509, 980, 273, 2362, 63, 77, 15533, 5411, 309, 261, 1369, 411, 2295, 3759, 1670, 13, 288, 7734, 2295, 3759, 1670, 273, 980, 31, 5411, 289, 12107, 309, 261, 1369, 1545, 2295, 1638, 1670, 13, 288, 7734, 2295, 1638, 1670, 273, 980, 397, 404, 31, 5411, 289, 3639, 289, 3639, 761, 18, 542, 3759, 1670, 12, 4293, 3759, 1670, 1769, 3639, 309, 261, 409, 1670, 411, 2295, 1638, 1670, 13, 288, 5411, 31763, 273, 2295, 1638, 1670, 31, 3639, 289, 3639, 309, 261, 8820, 429, 5763, 422, 446, 13, 288, 5411, 509, 394, 1782, 273, 4200, 31, 5411, 309, 261, 2704, 1782, 411, 31763, 13, 288, 394, 1782, 273, 31763, 31, 289, 5411, 898, 429, 5763, 273, 394, 1250, 63, 2704, 1782, 15533, 3639, 289, 12107, 309, 261, 8820, 429, 5763, 18, 2469, 411, 31763, 13, 288, 5411, 509, 394, 1782, 273, 898, 429, 5763, 18, 2469, 380, 576, 31, 5411, 309, 261, 2704, 1782, 411, 31763, 13, 288, 394, 1782, 273, 31763, 31, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 918, 1089, 1670, 966, 12, 3651, 1180, 761, 13, 288, 3639, 509, 8526, 2362, 273, 761, 18, 588, 3651, 7675, 588, 1670, 10072, 5621, 3639, 309, 261, 3548, 18, 2469, 422, 374, 13, 288, 5411, 327, 31, 3639, 289, 3639, 509, 2295, 3759, 1670, 273, 2362, 63, 20, 15533, 3639, 509, 2295, 1638, 1670, 273, 2295, 3759, 1670, 397, 404, 31, 3639, 364, 261, 474, 277, 273, 404, 31, 277, 480, 2362, 18, 2469, 31, 965, 77, 13, 288, 5411, 509, 980, 273, 2362, 63, 77, 15533, 5411, 309, 261, 1369, 411, 2295, 3759, 1670, 13, 288, 7734, 2295, 3759, 1670, 273, 980, 31, 5411, 289, 12107, 309, 261, 1369, 1545, 2295, 1638, 1670, 13, 288, 7734, 2 ]
throws Exception { if(debug) System.out.println("Enter action UserMenuSettingsAction");
throws Exception {
public ActionForward execute( ComponentContext context, ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { if(debug) System.out.println("Enter action UserMenuSettingsAction"); MenuSettingsForm actionForm = (MenuSettingsForm)form; // Load user menu settings and available list of choices MenuSettings settings = UserMenuAction.getUserSettings( request, context ); List catalog = UserMenuAction.getCatalog( context, request, getServlet().getServletContext() ); // Check if form is submitted // If true, read, check and store new values submitted by user. if( actionForm.isSubmitted() ) { // read arrays if(debug) System.out.println("form submitted"); settings.reset(); settings.addItems( getItems(actionForm.getSelected(), catalog) ); if(debug) System.out.println( "settings : " +settings.toString() ); actionForm.reset(); //return null; // (mapping.findForward("viewPortal")); } // end if // Prepare data for view tile context.putAttribute( "userItems", settings.getItems() ); context.putAttribute( "catalog", catalog ); if(debug) System.out.println("Exit action UserMenuSettingsAction"); return null; }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/92cab7ce5e83a95cf76480e16b7c6695d1f1716b/UserMenuSettingsAction.java/clean/src/tiles-documentation/org/apache/struts/webapp/tiles/portal/UserMenuSettingsAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 8514, 1836, 12, 3639, 5435, 1042, 819, 16, 3639, 4382, 3233, 2874, 16, 3639, 4382, 1204, 646, 16, 3639, 9984, 590, 16, 3639, 12446, 766, 13, 3639, 1216, 1185, 565, 288, 565, 309, 12, 4148, 13, 1377, 2332, 18, 659, 18, 8222, 2932, 10237, 1301, 2177, 4599, 2628, 1803, 8863, 565, 9809, 2628, 1204, 1301, 1204, 273, 261, 4599, 2628, 1204, 13, 687, 31, 3639, 368, 4444, 729, 3824, 1947, 471, 2319, 666, 434, 7246, 565, 9809, 2628, 1947, 273, 2177, 4599, 1803, 18, 588, 1299, 2628, 12, 590, 16, 819, 11272, 565, 987, 6222, 273, 2177, 4599, 1803, 18, 588, 9769, 12, 819, 16, 590, 16, 19136, 7675, 588, 4745, 1042, 1435, 11272, 1377, 368, 2073, 309, 646, 353, 9638, 1377, 368, 971, 638, 16, 855, 16, 866, 471, 1707, 394, 924, 9638, 635, 729, 18, 565, 309, 12, 1301, 1204, 18, 291, 28882, 1435, 262, 1377, 288, 225, 368, 855, 5352, 1377, 309, 12, 4148, 13, 3639, 2332, 18, 659, 18, 8222, 2932, 687, 9638, 8863, 1377, 1947, 18, 6208, 5621, 1377, 1947, 18, 1289, 3126, 12, 15515, 12, 1128, 1204, 18, 588, 7416, 9334, 6222, 13, 11272, 1377, 309, 12, 4148, 13, 3639, 2332, 18, 659, 18, 8222, 12, 315, 4272, 294, 315, 397, 4272, 18, 10492, 1435, 11272, 1377, 1301, 1204, 18, 6208, 5621, 1377, 368, 2463, 446, 31, 368, 261, 6770, 18, 4720, 8514, 2932, 1945, 24395, 7923, 1769, 1377, 289, 368, 679, 309, 1377, 368, 7730, 501, 364, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 8514, 1836, 12, 3639, 5435, 1042, 819, 16, 3639, 4382, 3233, 2874, 16, 3639, 4382, 1204, 646, 16, 3639, 9984, 590, 16, 3639, 12446, 766, 13, 3639, 1216, 1185, 565, 288, 565, 309, 12, 4148, 13, 1377, 2332, 18, 659, 18, 8222, 2932, 10237, 1301, 2177, 4599, 2628, 1803, 8863, 565, 9809, 2628, 1204, 1301, 1204, 273, 261, 4599, 2628, 1204, 13, 687, 31, 3639, 368, 4444, 729, 3824, 1947, 471, 2319, 666, 434, 7246, 565, 9809, 2628, 1947, 273, 2177, 4599, 1803, 18, 588, 1299, 2628, 12, 590, 16, 819, 11272, 565, 987, 6222, 273, 2177, 4599, 1803, 18, 588, 9769, 12, 819, 16, 590, 16, 19136, 7675, 588, 4745, 1042, 1435, 11272, 1377, 368, 2 ]
HttpSession session = getSession(); Browser browser = (Browser) session.getAttribute(SESSION_BROWSER); if (browser == null) { browser = new DefaultBrowser(); session.setAttribute(SESSION_BROWSER, browser); } return browser;
throw new UnsupportedOperationException("");
protected Browser getBrowser() { HttpSession session = getSession(); Browser browser = (Browser) session.getAttribute(SESSION_BROWSER); if (browser == null) { browser = new DefaultBrowser(); session.setAttribute(SESSION_BROWSER, browser); } return browser; }
45384 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45384/920dbb9002e52e8accd49b2d2d8186fe1ae9104b/ExecutionContext.java/clean/java/uk/ltd/getahead/dwr/ExecutionContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 15408, 2882, 3358, 1435, 565, 288, 3639, 26166, 1339, 273, 7183, 5621, 3639, 15408, 4748, 273, 261, 9132, 13, 1339, 18, 588, 1499, 12, 7042, 67, 38, 24846, 1769, 3639, 309, 261, 11213, 422, 446, 13, 3639, 288, 5411, 4748, 273, 394, 2989, 9132, 5621, 5411, 1339, 18, 542, 1499, 12, 7042, 67, 38, 24846, 16, 4748, 1769, 3639, 289, 3639, 327, 4748, 31,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 15408, 2882, 3358, 1435, 565, 288, 3639, 26166, 1339, 273, 7183, 5621, 3639, 15408, 4748, 273, 261, 9132, 13, 1339, 18, 588, 1499, 12, 7042, 67, 38, 24846, 1769, 3639, 309, 261, 11213, 422, 446, 13, 3639, 288, 5411, 4748, 273, 394, 2989, 9132, 5621, 5411, 1339, 18, 542, 1499, 12, 7042, 67, 38, 24846, 16, 4748, 1769, 3639, 289, 3639, 327, 4748, 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 ]
int midpoint = c.offset - commandRegion.getOffset(); String startLine = line.substring(0, midpoint); line = startLine + c.text + line.substring(midpoint);
String startLine = line.substring(0, cursorOnLine); line = startLine + c.text + line.substring(cursorOnLine);
public void doWrapB(IDocument d, DocumentCommand c, int MAX_LENGTH) { try { // gets the line of the command excluding delimiter IRegion commandRegion = d.getLineInformationOfOffset(c.offset); String line = d.get(commandRegion.getOffset(), commandRegion.getLength()); // TODO check whitespace -> just len == 1 && char == ' ' should do if (line.length() < MAX_LENGTH || !Character.isWhitespace(c.text.charAt(0))) { return; } String delim = tools.getLineDelimiter(d, c); String indent = tools.getIndentation(d, c); // TODO check if inside comment int breakpos = tools.getLastWSPosition(line, MAX_LENGTH); String nextline = tools.getStringAt(d, c, true, 1).trim(); StringBuffer buf = new StringBuffer(); boolean caretMidLine = false; if (c.offset != (commandRegion.getOffset() + commandRegion.getLength())) { // We're in the middle of the line, not at the end, possibly middle of a word caretMidLine = true; if (c.offset < breakpos) { buf.append(c.text); breakpos += c.text.length(); // TODO can cause line overflow buf.append(line.substring(c.offset, breakpos)); } else { int midpoint = c.offset - commandRegion.getOffset(); String startLine = line.substring(0, midpoint); line = startLine + c.text + line.substring(midpoint); } } if (breakpos < indent.length()) { // TODO check if the line can be broken after limit buf.append(delim); buf.append(indent); } else { buf.append(delim); buf.append(indent); buf.append(line.substring(breakpos + 1)); // TODO trim? //buf.append(" "); } if (!caretMidLine) { buf.append(c.text); } // TODO better command detection if (nextline.length() > 0 && !nextline.startsWith("\\")) { //buf.append(c.text); // TODO need this? doesn't work if we're in the middle of a word if (caretMidLine) { buf.append(" "); } buf.append(nextline); } else { buf.append(delim); } c.shiftsCaret = false; c.caretOffset = c.offset + delim.length() + indent.length(); //c.offset = d.getLineOffset(d.getLineOfOffset(c.offset)) + breakpos; c.offset = commandRegion.getOffset() + breakpos; c.length = buf.length() - 1 - indent.length(); //c.caretOffset = newCaretOffset; c.text = buf.toString(); } catch(BadLocationException e) { // FIXME } }
50059 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50059/2e29de844fefb8e899e6946c5b7129d427285834/HardLineWrap.java/buggy/sub/source/net/sourceforge/texlipse/editor/HardLineWrap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 2964, 38, 12, 734, 504, 650, 302, 16, 4319, 2189, 276, 16, 509, 4552, 67, 7096, 13, 288, 3639, 775, 288, 5411, 368, 5571, 326, 980, 434, 326, 1296, 19560, 5654, 5411, 467, 5165, 1296, 5165, 273, 302, 18, 588, 1670, 5369, 951, 2335, 12, 71, 18, 3348, 1769, 5411, 514, 980, 273, 302, 18, 588, 12, 3076, 5165, 18, 588, 2335, 9334, 1296, 5165, 18, 588, 1782, 10663, 4766, 565, 368, 2660, 866, 7983, 317, 2537, 562, 422, 404, 597, 1149, 422, 296, 296, 1410, 741, 5411, 309, 261, 1369, 18, 2469, 1435, 411, 4552, 67, 7096, 747, 401, 7069, 18, 291, 9431, 12, 71, 18, 955, 18, 3001, 861, 12, 20, 20349, 288, 7734, 327, 31, 5411, 289, 13491, 514, 10508, 273, 8513, 18, 588, 1670, 12007, 12, 72, 16, 276, 1769, 5411, 514, 3504, 273, 8513, 18, 588, 24438, 12, 72, 16, 276, 1769, 368, 2660, 866, 309, 4832, 2879, 5411, 509, 898, 917, 273, 8513, 18, 588, 3024, 2651, 2555, 12, 1369, 16, 4552, 67, 7096, 1769, 5411, 514, 1024, 1369, 273, 8513, 18, 588, 780, 861, 12, 72, 16, 276, 16, 638, 16, 404, 2934, 5290, 5621, 13491, 6674, 1681, 273, 394, 6674, 5621, 13491, 1250, 21683, 20711, 1670, 273, 629, 31, 5411, 309, 261, 71, 18, 3348, 480, 261, 3076, 5165, 18, 588, 2335, 1435, 397, 1296, 5165, 18, 588, 1782, 1435, 3719, 288, 7734, 368, 1660, 4565, 316, 326, 7689, 434, 326, 980, 16, 486, 622, 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, 741, 2964, 38, 12, 734, 504, 650, 302, 16, 4319, 2189, 276, 16, 509, 4552, 67, 7096, 13, 288, 3639, 775, 288, 5411, 368, 5571, 326, 980, 434, 326, 1296, 19560, 5654, 5411, 467, 5165, 1296, 5165, 273, 302, 18, 588, 1670, 5369, 951, 2335, 12, 71, 18, 3348, 1769, 5411, 514, 980, 273, 302, 18, 588, 12, 3076, 5165, 18, 588, 2335, 9334, 1296, 5165, 18, 588, 1782, 10663, 4766, 565, 368, 2660, 866, 7983, 317, 2537, 562, 422, 404, 597, 1149, 422, 296, 296, 1410, 741, 5411, 309, 261, 1369, 18, 2469, 1435, 411, 4552, 67, 7096, 747, 401, 7069, 18, 291, 9431, 12, 71, 18, 955, 18, 3001, 861, 12, 20, 20349, 288, 2 ]
folderAtBart.scanLocalFiles(true);
folderAtBart.forceScanOnNextMaintenance(); folderAtBart.maintain();
public void testSingleFileDeleteSync() { folderAtBart.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); folderAtLisa.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File testFileBart = TestHelper.createRandomFile(folderAtBart .getLocalBase()); folderAtBart.scanLocalFiles(true); FileInfo fInfoBart = folderAtBart.getFiles()[0]; TestHelper.waitForCondition(10, new TestHelper.Condition() { public boolean reached() { return folderAtLisa.getFilesCount() >= 1; } }); assertEquals(1, folderAtLisa.getFilesCount()); FileInfo fInfoLisa = folderAtLisa.getFiles()[0]; File testFileLisa = fInfoLisa.getDiskFile(getContollerLisa() .getFolderRepository()); assertTrue(fInfoLisa.completelyIdentical(fInfoBart)); assertEquals(testFileBart.length(), testFileLisa.length()); // Now delete the file at lisa assertTrue(testFileLisa.delete()); folderAtLisa.scanLocalFiles(true); assertEquals(1, folderAtLisa.getFilesCount()); assertEquals(1, folderAtLisa.getFiles()[0].getVersion()); assertTrue(folderAtLisa.getFiles()[0].isDeleted()); TestHelper.waitForCondition(10, new TestHelper.Condition() { public boolean reached() { return folderAtBart.getFiles()[0].isDeleted(); } }); assertEquals(1, folderAtBart.getFilesCount()); assertEquals(1, folderAtBart.getFiles()[0].getVersion()); assertTrue(folderAtBart.getFiles()[0].isDeleted()); // Assume only 1 file (=PowerFolder system dir) assertEquals(1, folderAtBart.getLocalBase().list().length); }
51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/a2033aed8c2e3dee856e07baf9a94a6a3c6b699d/DeletionSyncTest.java/clean/src/test/de/dal33t/powerfolder/test/folder/DeletionSyncTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5281, 812, 2613, 4047, 1435, 288, 3639, 3009, 861, 38, 485, 18, 542, 4047, 4029, 12, 4047, 4029, 18, 7474, 50, 1792, 19359, 15641, 67, 3513, 55, 1769, 3639, 3009, 861, 48, 291, 69, 18, 542, 4047, 4029, 12, 4047, 4029, 18, 7474, 50, 1792, 19359, 15641, 67, 3513, 55, 1769, 3639, 1387, 1842, 812, 38, 485, 273, 7766, 2276, 18, 2640, 8529, 812, 12, 5609, 861, 38, 485, 5411, 263, 588, 2042, 2171, 10663, 3639, 3009, 861, 38, 485, 18, 5734, 7972, 1398, 2134, 11045, 5621, 3009, 861, 38, 485, 18, 81, 1598, 530, 5621, 1171, 14236, 284, 966, 38, 485, 273, 3009, 861, 38, 485, 18, 588, 2697, 1435, 63, 20, 15533, 3639, 7766, 2276, 18, 7048, 1290, 3418, 12, 2163, 16, 394, 7766, 2276, 18, 3418, 1435, 288, 5411, 1071, 1250, 8675, 1435, 288, 7734, 327, 3009, 861, 48, 291, 69, 18, 588, 2697, 1380, 1435, 1545, 404, 31, 5411, 289, 3639, 15549, 3639, 1815, 8867, 12, 21, 16, 3009, 861, 48, 291, 69, 18, 588, 2697, 1380, 10663, 3639, 14236, 284, 966, 48, 291, 69, 273, 3009, 861, 48, 291, 69, 18, 588, 2697, 1435, 63, 20, 15533, 3639, 1387, 1842, 812, 48, 291, 69, 273, 284, 966, 48, 291, 69, 18, 588, 6247, 812, 12, 588, 660, 355, 749, 48, 291, 69, 1435, 5411, 263, 588, 3899, 3305, 10663, 3639, 1815, 5510, 12, 74, 966, 48, 291, 69, 18, 7806, 2357, 6106, 1706, 12, 74, 966, 38, 485, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5281, 812, 2613, 4047, 1435, 288, 3639, 3009, 861, 38, 485, 18, 542, 4047, 4029, 12, 4047, 4029, 18, 7474, 50, 1792, 19359, 15641, 67, 3513, 55, 1769, 3639, 3009, 861, 48, 291, 69, 18, 542, 4047, 4029, 12, 4047, 4029, 18, 7474, 50, 1792, 19359, 15641, 67, 3513, 55, 1769, 3639, 1387, 1842, 812, 38, 485, 273, 7766, 2276, 18, 2640, 8529, 812, 12, 5609, 861, 38, 485, 5411, 263, 588, 2042, 2171, 10663, 3639, 3009, 861, 38, 485, 18, 5734, 7972, 1398, 2134, 11045, 5621, 3009, 861, 38, 485, 18, 81, 1598, 530, 5621, 1171, 14236, 284, 966, 38, 485, 273, 3009, 861, 38, 485, 18, 588, 2697, 1435, 63, 20, 15533, 3639, 2 ]
setNeedsTextureIDRefresh(true);
public void setTextureId(int textureId) { this.textureId = textureId; setNeedsTextureIDRefresh(true); }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/d3643261a7ba61ed74dd2138be6b2ec2ab102aa6/Texture.java/clean/src/com/jme/image/Texture.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 7883, 594, 548, 12, 474, 11428, 548, 13, 288, 565, 333, 18, 955, 594, 548, 273, 11428, 548,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 7883, 594, 548, 12, 474, 11428, 548, 13, 288, 565, 333, 18, 955, 594, 548, 273, 11428, 548, 31, 377, 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 ]