rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
Hashtable contentAttrs = fGeneralAttrCheck.checkAttributes(content, scope);
Hashtable contentAttrs = generalCheck(content, scope);
private int traverseSimpleTypeDecl( Element simpleTypeDecl ) throws Exception { // General Attribute Checking int scope = isTopLevel(simpleTypeDecl)? GeneralAttrCheck.ELE_CONTEXT_GLOBAL: GeneralAttrCheck.ELE_CONTEXT_LOCAL; Hashtable attrValues = fGeneralAttrCheck.checkAttributes(simpleTypeDecl, scope); String nameProperty = simpleTypeDecl.getAttribute( SchemaSymbols.ATT_NAME ); String qualifiedName = nameProperty; //--------------------------------------------------- // set qualified name //--------------------------------------------------- if ( nameProperty.length() == 0) { // anonymous simpleType qualifiedName = fTargetNSURIString+","+"#S#"+(fSimpleTypeAnonCount++); fStringPool.addSymbol(qualifiedName); } else { // this behaviour has been changed so that we neither // process unqualified names as if they came from the schemaforschema namespace nor // fail to pick up unqualified names from schemas with no // targetnamespace. - NG //if (fTargetNSURIString.length () != 0) { qualifiedName = fTargetNSURIString+","+qualifiedName; //} fStringPool.addSymbol( nameProperty ); } //---------------------------------------------------------------------- //check if we have already traversed the same simpleType decl //---------------------------------------------------------------------- if (fDatatypeRegistry.getDatatypeValidator(qualifiedName)!=null) { return resetSimpleTypeNameStack(fStringPool.addSymbol(qualifiedName)); } else { if (fSimpleTypeNameStack.search(qualifiedName) != -1 ){ // cos-no-circular-unions && no circular definitions reportGenericSchemaError("cos-no-circular-unions: no circular definitions are allowed for an element '"+ nameProperty+"'"); return resetSimpleTypeNameStack(-1); } } //---------------------------------------------------------- // update _final_ registry //---------------------------------------------------------- Attr finalAttr = simpleTypeDecl.getAttributeNode(SchemaSymbols.ATT_FINAL); int finalProperty = 0; if(finalAttr != null) finalProperty = parseFinalSet(finalAttr.getValue()); else finalProperty = parseFinalSet(null); // if we have a nonzero final , store it in the hash... if(finalProperty != 0) fSimpleTypeFinalRegistry.put(qualifiedName, new Integer(finalProperty)); // ------------------------------- // remember name being traversed to // avoid circular definitions in union // ------------------------------- fSimpleTypeNameStack.push(qualifiedName); //---------------------------------------------------------------------- //annotation?,(list|restriction|union) //---------------------------------------------------------------------- Element content = XUtil.getFirstChildElement(simpleTypeDecl); content = checkContent(simpleTypeDecl, content, false); if (content == null) { return resetSimpleTypeNameStack(-1); } // General Attribute Checking scope = GeneralAttrCheck.ELE_CONTEXT_LOCAL; Hashtable contentAttrs = fGeneralAttrCheck.checkAttributes(content, scope); //---------------------------------------------------------------------- //use content.getLocalName for the cases there "xsd:" is a prefix, ei. "xsd:list" //---------------------------------------------------------------------- String varietyProperty = content.getLocalName(); String baseTypeQNameProperty = null; Vector dTValidators = null; int size = 0; StringTokenizer unionMembers = null; boolean list = false; boolean union = false; boolean restriction = false; int numOfTypes = 0; //list/restriction = 1, union = "+" if (varietyProperty.equals(SchemaSymbols.ELT_LIST)) { //traverse List baseTypeQNameProperty = content.getAttribute( SchemaSymbols.ATT_ITEMTYPE ); list = true; if (fListName.length() != 0) { // parent is <list> datatype reportCosListOfAtomic(); return resetSimpleTypeNameStack(-1); } else { fListName = qualifiedName; } } else if (varietyProperty.equals(SchemaSymbols.ELT_RESTRICTION)) { //traverse Restriction baseTypeQNameProperty = content.getAttribute( SchemaSymbols.ATT_BASE ); restriction= true; } else if (varietyProperty.equals(SchemaSymbols.ELT_UNION)) { //traverse union union = true; baseTypeQNameProperty = content.getAttribute( SchemaSymbols.ATT_MEMBERTYPES); if (baseTypeQNameProperty.length() != 0) { unionMembers = new StringTokenizer( baseTypeQNameProperty ); size = unionMembers.countTokens(); } else { size = 1; //at least one must be seen as <simpleType> decl } dTValidators = new Vector (size, 2); } else { reportSchemaError(SchemaMessageProvider.FeatureUnsupported, new Object [] { varietyProperty }); return -1; } if(XUtil.getNextSiblingElement(content) != null) { // REVISIT: Localize reportGenericSchemaError("error in content of simpleType"); } int typeNameIndex; DatatypeValidator baseValidator = null; if ( baseTypeQNameProperty.length() == 0 ) { //--------------------------- //must 'see' <simpleType> //--------------------------- //content = {annotation?,simpleType?...} content = XUtil.getFirstChildElement(content); //check content (annotation?, ...) content = checkContent(simpleTypeDecl, content, false); if (content == null) { return resetSimpleTypeNameStack(-1); } if (content.getLocalName().equals( SchemaSymbols.ELT_SIMPLETYPE )) { typeNameIndex = traverseSimpleTypeDecl(content); if (typeNameIndex!=-1) { baseValidator=fDatatypeRegistry.getDatatypeValidator(fStringPool.toString(typeNameIndex)); if (baseValidator !=null && union) { dTValidators.addElement((DatatypeValidator)baseValidator); } } if ( typeNameIndex == -1 || baseValidator == null) { reportSchemaError(SchemaMessageProvider.UnknownBaseDatatype, new Object [] { content.getAttribute( SchemaSymbols.ATT_BASE ), content.getAttribute(SchemaSymbols.ATT_NAME) }); return resetSimpleTypeNameStack(-1); } } else { reportSchemaError(SchemaMessageProvider.ListUnionRestrictionError, new Object [] { simpleTypeDecl.getAttribute( SchemaSymbols.ATT_NAME )}); return resetSimpleTypeNameStack(-1); } } //end - must see simpleType? else { //----------------------------- //base was provided - get proper validator. //----------------------------- numOfTypes = 1; if (union) { numOfTypes= size; } //-------------------------------------------------------------------- // this loop is also where we need to find out whether the type being used as // a base (or itemType or whatever) allows such things. //-------------------------------------------------------------------- int baseRefContext = (restriction? SchemaSymbols.RESTRICTION:0); baseRefContext = baseRefContext | (union? SchemaSymbols.UNION:0); baseRefContext = baseRefContext | (list ? SchemaSymbols.LIST:0); for (int i=0; i<numOfTypes; i++) { //find all validators if (union) { baseTypeQNameProperty = unionMembers.nextToken(); } baseValidator = findDTValidator ( simpleTypeDecl, baseTypeQNameProperty, baseRefContext); if ( baseValidator == null) { return resetSimpleTypeNameStack(-1); } // ------------------------------ // (variety is list)cos-list-of-atomic // ------------------------------ if (fListName.length() != 0 ) { if (baseValidator instanceof ListDatatypeValidator) { reportCosListOfAtomic(); return resetSimpleTypeNameStack(-1); } //----------------------------------------------------- // if baseValidator is of type (union) need to look // at Union validators to make sure that List is not one of them //----------------------------------------------------- if (isListDatatype(baseValidator)) { reportCosListOfAtomic(); return resetSimpleTypeNameStack(-1); } } if (union) { dTValidators.addElement((DatatypeValidator)baseValidator); //add validator to structure } //REVISIT: Should we raise exception here? // if baseValidator.isInstanceOf(LIST) and UNION if ( list && (baseValidator instanceof UnionDatatypeValidator)) { reportSchemaError(SchemaMessageProvider.UnknownBaseDatatype, new Object [] { simpleTypeDecl.getAttribute( SchemaSymbols.ATT_BASE ), simpleTypeDecl.getAttribute(SchemaSymbols.ATT_NAME)}); return -1; } } } //end - base is available // ------------------------------------------ // move to next child // <base==empty)->[simpleType]->[facets] OR // <base!=empty)->[facets] // ------------------------------------------ if (baseTypeQNameProperty.length() == 0) { content = XUtil.getNextSiblingElement( content ); } else { content = XUtil.getFirstChildElement(content); } // ------------------------------------------ //get more types for union if any // ------------------------------------------ if (union) { int index=size; if (baseTypeQNameProperty.length() != 0 ) { content = checkContent(simpleTypeDecl, content, true); } while (content!=null) { typeNameIndex = traverseSimpleTypeDecl(content); if (typeNameIndex!=-1) { baseValidator=fDatatypeRegistry.getDatatypeValidator(fStringPool.toString(typeNameIndex)); if (baseValidator != null) { if (fListName.length() != 0 && baseValidator instanceof ListDatatypeValidator) { reportCosListOfAtomic(); return resetSimpleTypeNameStack(-1); } dTValidators.addElement((DatatypeValidator)baseValidator); } } if ( baseValidator == null || typeNameIndex == -1) { reportSchemaError(SchemaMessageProvider.UnknownBaseDatatype, new Object [] { simpleTypeDecl.getAttribute( SchemaSymbols.ATT_BASE ), simpleTypeDecl.getAttribute(SchemaSymbols.ATT_NAME)}); return (-1); } content = XUtil.getNextSiblingElement( content ); } } // end - traverse Union if (fListName.length() != 0) { // reset fListName, meaning that we are done with // traversing <list> and its itemType resolves to atomic value if (fListName.equals(qualifiedName)) { fListName = ""; } } int numFacets=0; fFacetData.clear(); if (restriction && content != null) { short flags = 0; // flag facets that have fixed="true" int numEnumerationLiterals = 0; Vector enumData = new Vector(); content = checkContent(simpleTypeDecl, content , true); StringBuffer pattern = null; String facet; while (content != null) { if (content.getNodeType() == Node.ELEMENT_NODE) { // General Attribute Checking contentAttrs = fGeneralAttrCheck.checkAttributes(content, scope); numFacets++; facet =content.getLocalName(); if (facet.equals(SchemaSymbols.ELT_ENUMERATION)) { numEnumerationLiterals++; String enumVal = content.getAttribute(SchemaSymbols.ATT_VALUE); String localName; if (baseValidator instanceof NOTATIONDatatypeValidator) { String prefix = ""; String localpart = enumVal; int colonptr = enumVal.indexOf(":"); if ( colonptr > 0) { prefix = enumVal.substring(0,colonptr); localpart = enumVal.substring(colonptr+1); } String uriStr = (prefix.length() != 0)?resolvePrefixToURI(prefix):fTargetNSURIString; nameProperty=uriStr + ":" + localpart; localName = (String)fNotationRegistry.get(nameProperty); if(localName == null){ localName = traverseNotationFromAnotherSchema( localpart, uriStr); if (localName == null) { reportGenericSchemaError("Notation '" + localpart + "' not found in the grammar "+ uriStr); } } enumVal=nameProperty; } enumData.addElement(enumVal); checkContent(simpleTypeDecl, XUtil.getFirstChildElement( content ), true); } else if (facet.equals(SchemaSymbols.ELT_ANNOTATION) || facet.equals(SchemaSymbols.ELT_SIMPLETYPE)) { reportSchemaError(SchemaMessageProvider.ListUnionRestrictionError, new Object [] { simpleTypeDecl.getAttribute( SchemaSymbols.ATT_NAME )}); } else if (facet.equals(SchemaSymbols.ELT_PATTERN)) { if (pattern == null) { pattern = new StringBuffer (content.getAttribute( SchemaSymbols.ATT_VALUE )); } else { // --------------------------------------------- //datatypes: 5.2.4 pattern: src-multiple-pattern // --------------------------------------------- pattern.append("|"); pattern.append(content.getAttribute( SchemaSymbols.ATT_VALUE )); checkContent(simpleTypeDecl, XUtil.getFirstChildElement( content ), true); } } else { if ( fFacetData.containsKey(facet) ) reportSchemaError(SchemaMessageProvider.DatatypeError, new Object [] {"The facet '" + facet + "' is defined more than once."} ); fFacetData.put(facet,content.getAttribute( SchemaSymbols.ATT_VALUE )); if (content.getAttribute( SchemaSymbols.ATT_FIXED).equals("true") || content.getAttribute( SchemaSymbols.ATT_FIXED).equals("1")){ // -------------------------------------------- // set fixed facet flags // length - must remain const through derivation // thus we don't care if it fixed // -------------------------------------------- if ( facet.equals(SchemaSymbols.ELT_MINLENGTH) ) { flags |= DatatypeValidator.FACET_MINLENGTH; } else if (facet.equals(SchemaSymbols.ELT_MAXLENGTH)) { flags |= DatatypeValidator.FACET_MAXLENGTH; } else if (facet.equals(SchemaSymbols.ELT_MAXEXCLUSIVE)) { flags |= DatatypeValidator.FACET_MAXEXCLUSIVE; } else if (facet.equals(SchemaSymbols.ELT_MAXINCLUSIVE)) { flags |= DatatypeValidator.FACET_MAXINCLUSIVE; } else if (facet.equals(SchemaSymbols.ELT_MINEXCLUSIVE)) { flags |= DatatypeValidator.FACET_MINEXCLUSIVE; } else if (facet.equals(SchemaSymbols.ELT_MININCLUSIVE)) { flags |= DatatypeValidator.FACET_MININCLUSIVE; } else if (facet.equals(SchemaSymbols.ELT_TOTALDIGITS)) { flags |= DatatypeValidator.FACET_TOTALDIGITS; } else if (facet.equals(SchemaSymbols.ELT_FRACTIONDIGITS)) { flags |= DatatypeValidator.FACET_FRACTIONDIGITS; } else if (facet.equals(SchemaSymbols.ELT_WHITESPACE) && baseValidator instanceof StringDatatypeValidator) { flags |= DatatypeValidator.FACET_WHITESPACE; } } checkContent(simpleTypeDecl, XUtil.getFirstChildElement( content ), true); } } content = XUtil.getNextSiblingElement(content); } if (numEnumerationLiterals > 0) { fFacetData.put(SchemaSymbols.ELT_ENUMERATION, enumData); } if (pattern !=null) { fFacetData.put(SchemaSymbols.ELT_PATTERN, pattern.toString()); } if (flags != 0) { fFacetData.put(DatatypeValidator.FACET_FIXED, new Short(flags)); } } else if (list && content!=null) { // report error - must not have any children! if (baseTypeQNameProperty.length() != 0) { content = checkContent(simpleTypeDecl, content, true); if (content!=null) { reportSchemaError(SchemaMessageProvider.ListUnionRestrictionError, new Object [] { simpleTypeDecl.getAttribute( SchemaSymbols.ATT_NAME )}); } } else { reportSchemaError(SchemaMessageProvider.ListUnionRestrictionError, new Object [] { simpleTypeDecl.getAttribute( SchemaSymbols.ATT_NAME )}); //REVISIT: should we return? } } else if (union && content!=null) { //report error - must not have any children! if (baseTypeQNameProperty.length() != 0) { content = checkContent(simpleTypeDecl, content, true); if (content!=null) { reportSchemaError(SchemaMessageProvider.ListUnionRestrictionError, new Object [] { simpleTypeDecl.getAttribute( SchemaSymbols.ATT_NAME )}); } } else { reportSchemaError(SchemaMessageProvider.ListUnionRestrictionError, new Object [] { simpleTypeDecl.getAttribute( SchemaSymbols.ATT_NAME )}); //REVISIT: should we return? } } // ---------------------------------------------------------------------- // create & register validator for "generated" type if it doesn't exist // ---------------------------------------------------------------------- try { DatatypeValidator newValidator = fDatatypeRegistry.getDatatypeValidator( qualifiedName ); if( newValidator == null ) { // not previously registered if (list) { fDatatypeRegistry.createDatatypeValidator( qualifiedName, baseValidator, fFacetData,true); } else if (restriction) { fDatatypeRegistry.createDatatypeValidator( qualifiedName, baseValidator, fFacetData,false); } else { //union fDatatypeRegistry.createDatatypeValidator( qualifiedName, dTValidators); } } } catch (Exception e) { reportSchemaError(SchemaMessageProvider.DatatypeError,new Object [] { e.getMessage() }); } return resetSimpleTypeNameStack(fStringPool.addSymbol(qualifiedName)); }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/87522b1bbd0da26cc1aef0c8b69d76b52e704b2e/TraverseSchema.java/buggy/src/org/apache/xerces/validators/schema/TraverseSchema.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 10080, 5784, 559, 3456, 12, 3010, 4143, 559, 3456, 262, 1216, 1185, 288, 3639, 368, 9544, 3601, 24471, 3639, 509, 2146, 273, 353, 27046, 12, 9647, 559, 3456, 9945, 10792, 9544, 3843, 1564, 18, 41, 900, 67, 13181, 67, 20402, 30, 10792, 9544, 3843, 1564, 18, 41, 900, 67, 13181, 67, 14922, 31, 3639, 18559, 1604, 1972, 273, 284, 12580, 3843, 1564, 18, 1893, 2498, 12, 9647, 559, 3456, 16, 2146, 1769, 3639, 514, 508, 1396, 1850, 273, 225, 4143, 559, 3456, 18, 588, 1499, 12, 4611, 14821, 18, 789, 56, 67, 1985, 11272, 3639, 514, 24133, 273, 508, 1396, 31, 3639, 368, 9634, 6062, 3639, 368, 444, 9348, 508, 3639, 368, 9634, 6062, 3639, 309, 261, 508, 1396, 18, 2469, 1435, 422, 374, 13, 288, 368, 13236, 4143, 559, 5411, 24133, 273, 284, 2326, 3156, 3098, 780, 15, 15937, 9078, 7, 55, 17133, 15, 12, 74, 5784, 559, 979, 265, 1380, 9904, 1769, 5411, 284, 780, 2864, 18, 1289, 5335, 12, 19724, 461, 1769, 3639, 289, 3639, 469, 288, 5411, 368, 333, 14273, 711, 2118, 3550, 1427, 716, 732, 15826, 5411, 368, 1207, 640, 19724, 1257, 487, 309, 2898, 22497, 628, 326, 1963, 74, 1383, 1243, 1981, 12517, 5411, 368, 2321, 358, 6002, 731, 640, 19724, 1257, 628, 12783, 598, 1158, 5411, 368, 1018, 4937, 18, 225, 300, 423, 43, 5411, 368, 430, 261, 74, 2326, 3156, 3098, 780, 18, 2469, 1832, 480, 374, 13, 288, 7734, 24133, 273, 284, 2326, 3156, 3098, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 10080, 5784, 559, 3456, 12, 3010, 4143, 559, 3456, 262, 1216, 1185, 288, 3639, 368, 9544, 3601, 24471, 3639, 509, 2146, 273, 353, 27046, 12, 9647, 559, 3456, 9945, 10792, 9544, 3843, 1564, 18, 41, 900, 67, 13181, 67, 20402, 30, 10792, 9544, 3843, 1564, 18, 41, 900, 67, 13181, 67, 14922, 31, 3639, 18559, 1604, 1972, 273, 284, 12580, 3843, 1564, 18, 1893, 2498, 12, 9647, 559, 3456, 16, 2146, 1769, 3639, 514, 508, 1396, 1850, 273, 225, 4143, 559, 3456, 18, 588, 1499, 12, 4611, 14821, 18, 789, 56, 67, 1985, 11272, 3639, 514, 24133, 273, 508, 1396, 31, 3639, 368, 9634, 6062, 3639, 368, 444, 9348, 508, 3639, 368, 9634, 6062, 3639, 309, 2 ]
public void stepInto(Object fDest) {
public void stepInto(Object fDest) {
public void stepInto(Object fDest) { startCommand(mCommandStepInto, fDest); }
48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/4f81787a2d23f94f26be1df973be28848897fde6/PerlDB.java/clean/org.epic.debug/src/org/epic/debug/Perl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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2235, 5952, 12, 921, 284, 9378, 13, 202, 95, 202, 202, 1937, 2189, 12, 81, 2189, 4160, 5952, 16, 284, 9378, 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 ]
public org.quickfix.field.InstrRegistry getInstrRegistry() throws FieldNotFound { org.quickfix.field.InstrRegistry value = new org.quickfix.field.InstrRegistry();
public quickfix.field.InstrRegistry getInstrRegistry() throws FieldNotFound { quickfix.field.InstrRegistry value = new quickfix.field.InstrRegistry();
public org.quickfix.field.InstrRegistry getInstrRegistry() throws FieldNotFound { org.quickfix.field.InstrRegistry value = new org.quickfix.field.InstrRegistry(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderStatusRequest.java/clean/src/java/src/quickfix/fix44/OrderStatusRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 382, 701, 4243, 7854, 701, 4243, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 382, 701, 4243, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 382, 701, 4243, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 382, 701, 4243, 7854, 701, 4243, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 382, 701, 4243, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 382, 701, 4243, 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 ]
throws JavaScriptException
private Object callVarargs(Context cx, Scriptable thisObj, Object[] args) throws JavaScriptException { try { if (parmsLength == VARARGS_METHOD) { Object[] invokeArgs = { cx, thisObj, args, this }; Object result = method.invoke(null, invokeArgs); return hasVoidReturn ? Undefined.instance : result; } else { boolean inNewExpr = (thisObj == null); Boolean b = inNewExpr ? Boolean.TRUE : Boolean.FALSE; Object[] invokeArgs = { cx, args, this, b }; return (method == null) ? ctor.newInstance(invokeArgs) : method.invoke(null, invokeArgs); } } catch (InvocationTargetException e) { Throwable target = e.getTargetException(); if (target instanceof EvaluatorException) throw (EvaluatorException) target; if (target instanceof EcmaError) throw (EcmaError) target; Scriptable scope = thisObj == null ? this : thisObj; throw JavaScriptException.wrapException(cx, scope, target); } catch (IllegalAccessException e) { throw WrappedException.wrapException(e); } catch (InstantiationException e) { throw WrappedException.wrapException(e); } }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/48b46eb3845fd6cf8fa13cd3def581f9a0ff4339/FunctionObject.java/clean/src/org/mozilla/javascript/FunctionObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 745, 27232, 12, 1042, 9494, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 6647, 288, 3639, 775, 288, 5411, 309, 261, 29927, 1782, 422, 8350, 22439, 67, 5327, 13, 288, 7734, 1033, 8526, 4356, 2615, 273, 288, 9494, 16, 15261, 16, 833, 16, 333, 289, 31, 7734, 1033, 563, 273, 707, 18, 14407, 12, 2011, 16, 4356, 2615, 1769, 7734, 327, 711, 19038, 990, 692, 22243, 18, 1336, 294, 563, 31, 5411, 289, 469, 288, 7734, 1250, 316, 1908, 4742, 273, 261, 2211, 2675, 422, 446, 1769, 7734, 3411, 324, 273, 316, 1908, 4742, 692, 3411, 18, 18724, 294, 3411, 18, 21053, 31, 7734, 1033, 8526, 4356, 2615, 273, 288, 9494, 16, 833, 16, 333, 16, 324, 289, 31, 7734, 327, 261, 2039, 422, 446, 13, 15604, 692, 15120, 18, 2704, 1442, 12, 14407, 2615, 13, 15604, 294, 707, 18, 14407, 12, 2011, 16, 4356, 2615, 1769, 5411, 289, 3639, 289, 3639, 1044, 261, 9267, 14950, 425, 13, 288, 5411, 4206, 1018, 273, 425, 18, 588, 14950, 5621, 5411, 309, 261, 3299, 1276, 31956, 503, 13, 7734, 604, 261, 15876, 503, 13, 1018, 31, 5411, 309, 261, 3299, 1276, 20840, 2540, 668, 13, 7734, 604, 261, 23057, 2540, 668, 13, 1018, 31, 5411, 22780, 2146, 273, 15261, 422, 446, 692, 333, 294, 15261, 31, 5411, 604, 11905, 503, 18, 4113, 503, 12, 71, 92, 16, 2146, 16, 1018, 1769, 3639, 289, 3639, 1044, 261, 12195, 9773, 425, 13, 288, 5411, 604, 24506, 503, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 745, 27232, 12, 1042, 9494, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 6647, 288, 3639, 775, 288, 5411, 309, 261, 29927, 1782, 422, 8350, 22439, 67, 5327, 13, 288, 7734, 1033, 8526, 4356, 2615, 273, 288, 9494, 16, 15261, 16, 833, 16, 333, 289, 31, 7734, 1033, 563, 273, 707, 18, 14407, 12, 2011, 16, 4356, 2615, 1769, 7734, 327, 711, 19038, 990, 692, 22243, 18, 1336, 294, 563, 31, 5411, 289, 469, 288, 7734, 1250, 316, 1908, 4742, 273, 261, 2211, 2675, 422, 446, 1769, 7734, 3411, 324, 273, 316, 1908, 4742, 692, 3411, 18, 18724, 294, 3411, 18, 21053, 31, 7734, 1033, 8526, 4356, 2615, 273, 288, 9494, 16, 833, 16, 333, 16, 2 ]
protected Component addSingletonComponent(Component oldComponent, Component newComponent) {
protected Component addSingletonComponent(Component oldComponent, Component newComponent) {
protected Component addSingletonComponent(Component oldComponent, Component newComponent) { return null; // TODO } // addSingletonComponent()
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2703ae3b51c371a2a79d28271cd57b4046c647d0/ScrollPaneLayout.java/clean/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java
[ 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 5435, 527, 19571, 1841, 12, 1841, 1592, 1841, 16, 5435, 394, 1841, 13, 288, 202, 202, 2463, 446, 31, 368, 2660, 202, 97, 368, 527, 19571, 1841, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
{ return encoding; }
{ return encoding; }
public Encoding getEncoding() throws SQLException { return encoding; }
49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/e25c93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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13400, 29505, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 2688, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ( availPool != null && !availPool.isEmpty() ) {
synchronized( this ) {
public synchronized SockIO getConnection( String host ) { if ( !this.initialized ) { log.error( "attempting to get SockIO from uninitialized pool!" ); return null; } if ( host == null ) return null; // if we have items in the pool // then we can return it if ( availPool != null && !availPool.isEmpty() ) { // take first connected socket Map<SockIO,Long> aSockets = availPool.get( host ); if ( aSockets != null && !aSockets.isEmpty() ) { for ( Iterator<SockIO> i = aSockets.keySet().iterator(); i.hasNext(); ) { SockIO socket = i.next(); if ( socket.isConnected() ) { log.debug( "++++ moving socket for host (" + host + ") to busy pool ... socket: " + socket ); // remove from avail pool i.remove(); // add to busy pool addSocketToPool( busyPool, host, socket ); // return socket return socket; } else { // not connected, so we need to remove it log.error( "++++ socket in avail pool is not connected: " + socket.toString() + " for host: " + host ); socket = null; // remove from avail pool i.remove(); } } } } // if here, then we found no sockets in the pool // try to create on a sliding scale up to maxCreate Integer cShift = createShift.get( host ); int shift = (cShift != null) ? cShift.intValue() : 0; int create = 1 << shift; if ( create >= maxCreate ) { create = maxCreate; } else { shift++; } // store the shift value for this host createShift.put( host, new Integer( shift ) ); log.debug( "++++ creating " + create + " new SockIO objects" ); for ( int i = create; i > 0; i-- ) { SockIO socket = createSocket( host ); if ( socket == null ) break; if ( i == 1 ) { // last iteration, add to busy pool and return sockio addSocketToPool( busyPool, host, socket ); return socket; } else { // add to avail pool addSocketToPool( availPool, host, socket ); } } // should never get here return null; }
57489 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57489/c0e6fc2e9f7743873a8a542aa3159f0b73dbc87f/SockIOPool.java/buggy/src/com/danga/MemCached/SockIOPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 348, 975, 4294, 6742, 12, 514, 1479, 262, 288, 202, 202, 430, 261, 401, 2211, 18, 13227, 262, 288, 1082, 202, 1330, 18, 1636, 12, 315, 11764, 310, 358, 336, 348, 975, 4294, 628, 640, 13227, 2845, 4442, 11272, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 430, 261, 1479, 422, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 759, 309, 732, 1240, 1516, 316, 326, 2845, 202, 202, 759, 1508, 732, 848, 327, 518, 202, 202, 430, 261, 15783, 2864, 480, 446, 597, 401, 842, 671, 2864, 18, 291, 1921, 1435, 262, 288, 1082, 202, 759, 4862, 1122, 5840, 2987, 1082, 202, 863, 32, 55, 975, 4294, 16, 3708, 34, 279, 4534, 87, 273, 15783, 2864, 18, 588, 12, 1479, 11272, 1082, 202, 430, 261, 279, 4534, 87, 480, 446, 597, 401, 69, 4534, 87, 18, 291, 1921, 1435, 262, 288, 9506, 202, 1884, 261, 4498, 32, 55, 975, 4294, 34, 277, 273, 279, 4534, 87, 18, 856, 694, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 6862, 202, 55, 975, 4294, 2987, 273, 277, 18, 4285, 5621, 6862, 202, 430, 261, 2987, 18, 291, 8932, 1435, 262, 288, 25083, 202, 1330, 18, 4148, 12, 315, 20934, 12499, 2987, 364, 1479, 7566, 397, 1479, 397, 9369, 358, 21697, 2845, 1372, 2987, 30, 315, 397, 2987, 11272, 25083, 202, 759, 1206, 628, 15783, 2845, 25083, 202, 77, 18, 4479, 5621, 25083, 202, 759, 527, 358, 21697, 2845, 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, 482, 3852, 348, 975, 4294, 6742, 12, 514, 1479, 262, 288, 202, 202, 430, 261, 401, 2211, 18, 13227, 262, 288, 1082, 202, 1330, 18, 1636, 12, 315, 11764, 310, 358, 336, 348, 975, 4294, 628, 640, 13227, 2845, 4442, 11272, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 430, 261, 1479, 422, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 759, 309, 732, 1240, 1516, 316, 326, 2845, 202, 202, 759, 1508, 732, 848, 327, 518, 202, 202, 430, 261, 15783, 2864, 480, 446, 597, 401, 842, 671, 2864, 18, 291, 1921, 1435, 262, 288, 1082, 202, 759, 4862, 1122, 5840, 2987, 1082, 202, 863, 32, 55, 975, 4294, 16, 3708, 34, 279, 2 ]
for (Iterator i = templateList.iterator(); i.hasNext();)
for ( PCTemplate template : templateList )
public int calcSR(final boolean includeEquipment) { int SR = race.getSR(this); if (deity != null) { SR = Math.max(SR, deity.getSR(this)); } for (Iterator i = companionModList.iterator(); i.hasNext();) { final CompanionMod cMod = (CompanionMod) i.next(); SR = Math.max(SR, cMod.getSR(this)); } for (Iterator i = classList.iterator(); i.hasNext();) { final PCClass aClass = (PCClass) i.next(); SR = Math.max(SR, aClass.getSR(this)); } for (Iterator i = aggregateFeatList().iterator(); i.hasNext();) { final Ability aFeat = (Ability) i.next(); SR = Math.max(SR, aFeat.getSR(this)); } for (Iterator i = getSkillList().iterator(); i.hasNext();) { final Skill aSkill = (Skill) i.next(); SR = Math.max(SR, aSkill.getSR(this)); } for (Iterator i = characterDomainList.iterator(); i.hasNext();) { final CharacterDomain aCD = (CharacterDomain) i.next(); if (aCD.getDomain() != null) { SR = Math.max(aCD.getDomain().getSR(this), SR); } } if (includeEquipment) { for (Iterator e = equipmentList.iterator(); e.hasNext();) { final Equipment eq = (Equipment) e.next(); if (eq.isEquipped()) { SR = Math.max(SR, eq.getSR(this)); List aList = eq.getEqModifierList(true); if (!aList.isEmpty()) { for (Iterator e2 = aList.iterator(); e2.hasNext();) { final EquipmentModifier eqMod = (EquipmentModifier) e2.next(); SR = Math.max(SR, eqMod.getSR(this)); } } aList = eq.getEqModifierList(false); if (!aList.isEmpty()) { for (Iterator e2 = aList.iterator(); e2.hasNext();) { final EquipmentModifier eqMod = (EquipmentModifier) e2.next(); SR = Math.max(SR, eqMod.getSR(this)); } } } } } final int atl = getTotalLevels(); final int thd = totalHitDice(); for (Iterator i = templateList.iterator(); i.hasNext();) { final PCTemplate aTemplate = (PCTemplate) i.next(); SR = Math.max(SR, aTemplate.getSR(atl, thd, this)); } SR += (int) getTotalBonusTo("MISC", "SR"); // // This would make more sense to just not add in the first place... // if (!includeEquipment) { SR -= (int) getEquipmentBonusTo("MISC", "SR"); } return SR; }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/eb5f93299afbba8e2b27cdc67dfddc016c5d86a9/PlayerCharacter.java/buggy/code/src/java/pcgen/core/PlayerCharacter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 7029, 10090, 12, 6385, 1250, 2341, 13142, 11568, 13, 202, 95, 202, 202, 474, 19145, 273, 17996, 18, 588, 10090, 12, 2211, 1769, 202, 202, 430, 261, 323, 560, 480, 446, 13, 202, 202, 95, 1082, 202, 10090, 273, 2361, 18, 1896, 12, 10090, 16, 443, 560, 18, 588, 10090, 12, 2211, 10019, 202, 202, 97, 202, 202, 1884, 261, 3198, 277, 273, 1161, 304, 285, 1739, 682, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 202, 202, 95, 1082, 202, 6385, 5427, 304, 285, 1739, 276, 1739, 273, 261, 2945, 304, 285, 1739, 13, 277, 18, 4285, 5621, 1082, 202, 10090, 273, 2361, 18, 1896, 12, 10090, 16, 276, 1739, 18, 588, 10090, 12, 2211, 10019, 202, 202, 97, 202, 202, 1884, 261, 3198, 277, 273, 16035, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 202, 202, 95, 1082, 202, 6385, 26300, 797, 20148, 273, 261, 3513, 797, 13, 277, 18, 4285, 5621, 1082, 202, 10090, 273, 2361, 18, 1896, 12, 10090, 16, 20148, 18, 588, 10090, 12, 2211, 10019, 202, 202, 97, 202, 202, 1884, 261, 3198, 277, 273, 7047, 11667, 682, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 202, 202, 95, 1082, 202, 6385, 9771, 1889, 279, 11667, 273, 261, 5895, 1889, 13, 277, 18, 4285, 5621, 1082, 202, 10090, 273, 2361, 18, 1896, 12, 10090, 16, 279, 11667, 18, 588, 10090, 12, 2211, 10019, 202, 202, 97, 202, 202, 1884, 261, 3198, 277, 273, 1322, 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, 509, 7029, 10090, 12, 6385, 1250, 2341, 13142, 11568, 13, 202, 95, 202, 202, 474, 19145, 273, 17996, 18, 588, 10090, 12, 2211, 1769, 202, 202, 430, 261, 323, 560, 480, 446, 13, 202, 202, 95, 1082, 202, 10090, 273, 2361, 18, 1896, 12, 10090, 16, 443, 560, 18, 588, 10090, 12, 2211, 10019, 202, 202, 97, 202, 202, 1884, 261, 3198, 277, 273, 1161, 304, 285, 1739, 682, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 202, 202, 95, 1082, 202, 6385, 5427, 304, 285, 1739, 276, 1739, 273, 261, 2945, 304, 285, 1739, 13, 277, 18, 4285, 5621, 1082, 202, 10090, 273, 2361, 18, 1896, 12, 10090, 16, 276, 1739, 18, 588, 10090, 2 ]
String clientname = ejbjarname.substring(0,ejbjarname.lastIndexOf("."));
String clientname = ejbjarname.substring(0, ejbjarname.lastIndexOf("."));
public void execute() throws BuildException { if ( ejbjarfile == null || ejbjarfile.isDirectory()) { throw new BuildException("invalid ejb jar file."); } // end of if () if ( clientjarfile == null || clientjarfile.isDirectory()) { log("invalid or missing client jar file.",Project.MSG_VERBOSE); String ejbjarname = ejbjarfile.getAbsolutePath(); //clientname = ejbjarfile+client.jar String clientname = ejbjarname.substring(0,ejbjarname.lastIndexOf(".")); clientname = clientname + "client.jar"; clientjarfile = new File(clientname); } // end of if () if ( mode == null ) { log("mode is null default mode is java"); setMode(JAVA_MODE); } // end of if () log("client jar file is " + clientjarfile); if ( mode.equalsIgnoreCase(FORK_MODE)) { executeFork(); } // end of if () else { executeJava(); } // end of else }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/c6c232893c39257745a8f7a618bcdb5c59791cae/BorlandGenerateClient.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/ejb/BorlandGenerateClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 309, 261, 425, 78, 441, 297, 768, 422, 446, 747, 2398, 425, 78, 441, 297, 768, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 5387, 18024, 7334, 585, 1199, 1769, 3639, 289, 368, 679, 434, 309, 1832, 3639, 309, 261, 1004, 11930, 768, 422, 446, 747, 2398, 1004, 11930, 768, 18, 291, 2853, 10756, 288, 5411, 613, 2932, 5387, 578, 3315, 1004, 7334, 585, 1199, 16, 4109, 18, 11210, 67, 21900, 1769, 5411, 514, 425, 78, 441, 297, 529, 273, 425, 78, 441, 297, 768, 18, 588, 10368, 743, 5621, 5411, 368, 2625, 529, 273, 425, 78, 441, 297, 768, 15, 2625, 18, 11930, 5411, 514, 1004, 529, 273, 425, 78, 441, 297, 529, 18, 28023, 12, 20, 16, 425, 78, 441, 297, 529, 18, 2722, 31985, 2932, 1199, 10019, 5411, 1004, 529, 273, 1004, 529, 397, 315, 2625, 18, 11930, 14432, 5411, 1004, 11930, 768, 273, 394, 1387, 12, 2625, 529, 1769, 3639, 289, 368, 679, 434, 309, 1832, 3639, 309, 261, 1965, 422, 446, 262, 288, 5411, 613, 2932, 3188, 353, 446, 805, 1965, 225, 353, 2252, 8863, 5411, 444, 2309, 12, 27264, 67, 7038, 1769, 3639, 289, 368, 679, 434, 309, 1832, 3639, 613, 2932, 2625, 7334, 585, 353, 315, 397, 1004, 11930, 768, 1769, 3639, 309, 261, 1965, 18, 14963, 5556, 12, 7473, 47, 67, 7038, 3719, 288, 5411, 1836, 22662, 5621, 3639, 289, 368, 679, 434, 309, 1832, 3639, 469, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 309, 261, 425, 78, 441, 297, 768, 422, 446, 747, 2398, 425, 78, 441, 297, 768, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 5387, 18024, 7334, 585, 1199, 1769, 3639, 289, 368, 679, 434, 309, 1832, 3639, 309, 261, 1004, 11930, 768, 422, 446, 747, 2398, 1004, 11930, 768, 18, 291, 2853, 10756, 288, 5411, 613, 2932, 5387, 578, 3315, 1004, 7334, 585, 1199, 16, 4109, 18, 11210, 67, 21900, 1769, 5411, 514, 425, 78, 441, 297, 529, 273, 425, 78, 441, 297, 768, 18, 588, 10368, 743, 5621, 5411, 368, 2625, 529, 273, 425, 78, 441, 297, 768, 15, 2625, 18, 11930, 5411, 514, 1004, 529, 2 ]
if (formBeanMember != null && formBeanMember.length() > 0) {
if ((formBeanMember != null) && (formBeanMember.length() > 0)) {
private static void setOutputFormBeans(ProcessedAnnotation[] raiseActions, Class backingClass, Object backingBean, String action) { for (int i = 0; i < raiseActions.length; i++) { ProcessedAnnotation raiseAction = raiseActions[i]; String actionAttr = AnnotationReader.getStringAttribute(raiseAction, "action"); if (actionAttr.equals(action)) { String formBeanMember = AnnotationReader.getStringAttribute(raiseAction, "outputFormBean"); if (formBeanMember != null && formBeanMember.length() > 0) { try { Field field = _fieldCache.getDeclaredField(backingClass, formBeanMember); if (field == null) { _log.error("Could not find field " + formBeanMember + " specified as the outputFormBean " + "for action " + action + " raised by " + backingClass.getName()); return; } Object value = field.get(backingBean); InternalUtils.setForwardedFormBean(value); } catch (IllegalAccessException e) { _log.error("Could not access field " + formBeanMember + " specified as the outputFormBean " + "for action " + action + " raised by " + backingClass.getName(), e); } } } } }
8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/74cda7c2aa1023c821782bc0e607fe2cf90d80d3/BackingClassMethodBinding.java/clean/ti/jars/core/src/java/org/apache/ti/pageflow/faces/internal/BackingClassMethodBinding.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 18113, 1204, 14495, 12, 13533, 3257, 8526, 1002, 6100, 16, 1659, 15394, 797, 16, 1033, 15394, 3381, 16, 4766, 6647, 514, 1301, 13, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1002, 6100, 18, 2469, 31, 277, 27245, 288, 5411, 1186, 3692, 3257, 1002, 1803, 273, 1002, 6100, 63, 77, 15533, 5411, 514, 1301, 3843, 273, 6090, 2514, 18, 588, 780, 1499, 12, 11628, 1803, 16, 315, 1128, 8863, 5411, 309, 261, 1128, 3843, 18, 14963, 12, 1128, 3719, 288, 7734, 514, 646, 3381, 4419, 273, 13491, 6090, 2514, 18, 588, 780, 1499, 12, 11628, 1803, 16, 315, 2844, 1204, 3381, 8863, 7734, 309, 14015, 687, 3381, 4419, 480, 446, 13, 597, 261, 687, 3381, 4419, 18, 2469, 1435, 405, 374, 3719, 288, 10792, 775, 288, 13491, 2286, 652, 273, 389, 1518, 1649, 18, 588, 18888, 974, 12, 823, 310, 797, 16, 646, 3381, 4419, 1769, 13491, 309, 261, 1518, 422, 446, 13, 288, 18701, 389, 1330, 18, 1636, 2932, 4445, 486, 1104, 652, 315, 397, 646, 3381, 4419, 397, 315, 1269, 487, 326, 876, 1204, 3381, 315, 4766, 565, 397, 315, 1884, 1301, 315, 397, 1301, 397, 315, 11531, 635, 315, 397, 15394, 797, 18, 17994, 10663, 18701, 327, 31, 13491, 289, 13491, 1033, 460, 273, 652, 18, 588, 12, 823, 310, 3381, 1769, 13491, 3186, 1989, 18, 542, 22915, 1204, 3381, 12, 1132, 1769, 10792, 289, 1044, 261, 12195, 9773, 425, 13, 288, 13491, 389, 1330, 18, 1636, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 18113, 1204, 14495, 12, 13533, 3257, 8526, 1002, 6100, 16, 1659, 15394, 797, 16, 1033, 15394, 3381, 16, 4766, 6647, 514, 1301, 13, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1002, 6100, 18, 2469, 31, 277, 27245, 288, 5411, 1186, 3692, 3257, 1002, 1803, 273, 1002, 6100, 63, 77, 15533, 5411, 514, 1301, 3843, 273, 6090, 2514, 18, 588, 780, 1499, 12, 11628, 1803, 16, 315, 1128, 8863, 5411, 309, 261, 1128, 3843, 18, 14963, 12, 1128, 3719, 288, 7734, 514, 646, 3381, 4419, 273, 13491, 6090, 2514, 18, 588, 780, 1499, 12, 11628, 1803, 16, 315, 2844, 1204, 3381, 8863, 7734, 309, 14015, 687, 3381, 4419, 480, 446, 13, 597, 2 ]
if (jj_scan_token(WHITESPACE)) return true;
if (jj_3R_68()) return true;
final private boolean jj_3R_83() { if (jj_scan_token(WHITESPACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/e128e4125429834f73621c8aa67036ca877e731e/Parser.java/buggy/src/java/org/apache/velocity/runtime/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 10261, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 9470, 10756, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 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 ]
Reader input = new FileReader( getTestFile( "src/test/resources/validation/" + testName ) );
Reader input = new FileReader( getFileForClasspathResource( "/validation/" + testName ) );
private ModelValidationResult validate( String testName ) throws Exception { Reader input = new FileReader( getTestFile( "src/test/resources/validation/" + testName ) ); MavenXpp3Reader reader = new MavenXpp3Reader(); validator = (ModelValidator) lookup( ModelValidator.ROLE ); model = reader.read( input ); ModelValidationResult result = validator.validate( model ); assertNotNull( result ); input.close(); return result; }
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/76c4ceda28a98ca54da4e08088f54f6fb71430ef/DefaultModelValidatorTest.java/buggy/maven-project/src/test/java/org/apache/maven/project/validation/DefaultModelValidatorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3164, 4354, 1253, 1954, 12, 514, 1842, 461, 262, 3639, 1216, 1185, 565, 288, 3639, 5393, 810, 273, 394, 23010, 12, 6034, 1290, 17461, 1420, 12, 2206, 8685, 4898, 397, 1842, 461, 262, 11272, 3639, 17176, 60, 11858, 23, 2514, 2949, 273, 394, 17176, 60, 11858, 23, 2514, 5621, 3639, 4213, 273, 261, 1488, 5126, 13, 3689, 12, 3164, 5126, 18, 16256, 11272, 3639, 938, 273, 2949, 18, 896, 12, 810, 11272, 3639, 3164, 4354, 1253, 563, 273, 4213, 18, 5662, 12, 938, 11272, 3639, 25395, 12, 563, 11272, 3639, 810, 18, 4412, 5621, 3639, 327, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3164, 4354, 1253, 1954, 12, 514, 1842, 461, 262, 3639, 1216, 1185, 565, 288, 3639, 5393, 810, 273, 394, 23010, 12, 6034, 1290, 17461, 1420, 12, 2206, 8685, 4898, 397, 1842, 461, 262, 11272, 3639, 17176, 60, 11858, 23, 2514, 2949, 273, 394, 17176, 60, 11858, 23, 2514, 5621, 3639, 4213, 273, 261, 1488, 5126, 13, 3689, 12, 3164, 5126, 18, 16256, 11272, 3639, 938, 273, 2949, 18, 896, 12, 810, 11272, 3639, 3164, 4354, 1253, 563, 273, 4213, 18, 5662, 12, 938, 11272, 3639, 25395, 12, 563, 11272, 3639, 810, 18, 4412, 5621, 3639, 327, 563, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw StandardException.newException(SQLState.LANG_COLUMN_NOT_FOUND, getFullColumnName());
throw StandardException.newException(SQLState.LANG_COLUMN_NOT_FOUND, getSQLColumnName());
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { ResultColumn matchingRC; if (SanityManager.DEBUG) { SanityManager.ASSERT(fromList != null, "fromList is expected to be non-null"); } if (fromList.size() == 0) { throw StandardException.newException(SQLState.LANG_ILLEGAL_COLUMN_REFERENCE, columnName); } matchingRC = fromList.bindColumnReference(this); /* Error if no match found in fromList */ if (matchingRC == null) { throw StandardException.newException(SQLState.LANG_COLUMN_NOT_FOUND, getFullColumnName()); } /* Set the columnNumber from the base table. * Useful for optimizer and generation. */ columnNumber = matchingRC.getColumnPosition(); return this; }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/f1d4e9d7213bc062271dce751a3f21bc83d77f2b/ColumnReference.java/clean/java/engine/org/apache/derby/impl/sql/compile/ColumnReference.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1445, 907, 1993, 2300, 12, 1265, 682, 628, 682, 16, 2592, 2271, 682, 20074, 682, 16, 1082, 202, 5018, 7047, 5018, 13, 4697, 202, 15069, 8263, 503, 202, 95, 202, 202, 1253, 1494, 3607, 11529, 31, 202, 202, 430, 261, 55, 10417, 1318, 18, 9394, 13, 202, 202, 95, 1082, 202, 55, 10417, 1318, 18, 8423, 11539, 12, 2080, 682, 480, 446, 16, 315, 2080, 682, 353, 2665, 358, 506, 1661, 17, 2011, 8863, 202, 202, 97, 202, 202, 430, 261, 2080, 682, 18, 1467, 1435, 422, 374, 13, 202, 202, 95, 1082, 202, 12849, 8263, 503, 18, 2704, 503, 12, 3997, 1119, 18, 10571, 67, 2627, 19384, 1013, 67, 11009, 67, 14617, 16, 7578, 1769, 202, 202, 97, 202, 202, 16271, 11529, 273, 628, 682, 18, 4376, 1494, 2404, 12, 2211, 1769, 202, 202, 20308, 1068, 309, 1158, 845, 1392, 316, 628, 682, 1195, 202, 202, 430, 261, 16271, 11529, 422, 446, 13, 202, 202, 95, 1082, 202, 12849, 8263, 503, 18, 2704, 503, 12, 3997, 1119, 18, 10571, 67, 11009, 67, 4400, 67, 9294, 16, 10208, 8516, 10663, 202, 202, 97, 202, 202, 20308, 1000, 326, 1057, 1854, 628, 326, 1026, 1014, 18, 1875, 380, 19256, 364, 13066, 471, 9377, 18, 1082, 1195, 202, 202, 2827, 1854, 273, 3607, 11529, 18, 588, 1494, 2555, 5621, 202, 202, 2463, 333, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1445, 907, 1993, 2300, 12, 1265, 682, 628, 682, 16, 2592, 2271, 682, 20074, 682, 16, 1082, 202, 5018, 7047, 5018, 13, 4697, 202, 15069, 8263, 503, 202, 95, 202, 202, 1253, 1494, 3607, 11529, 31, 202, 202, 430, 261, 55, 10417, 1318, 18, 9394, 13, 202, 202, 95, 1082, 202, 55, 10417, 1318, 18, 8423, 11539, 12, 2080, 682, 480, 446, 16, 315, 2080, 682, 353, 2665, 358, 506, 1661, 17, 2011, 8863, 202, 202, 97, 202, 202, 430, 261, 2080, 682, 18, 1467, 1435, 422, 374, 13, 202, 202, 95, 1082, 202, 12849, 8263, 503, 18, 2704, 503, 12, 3997, 1119, 18, 10571, 67, 2627, 19384, 1013, 67, 11009, 67, 14617, 16, 7578, 1769, 2 ]
public abstract LongBuffer put (long b);
public LongBuffer put (LongBuffer src) { if (src == this) throw new IllegalArgumentException (); if (src.remaining () > remaining ()) throw new BufferOverflowException (); if (src.remaining () > 0) { long[] toPut = new long [src.remaining ()]; src.get (toPut); src.put (toPut); } return this; }
public abstract LongBuffer put (long b);
56365 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56365/a221385cec60e1ba526d292898aeb99953891407/LongBuffer.java/buggy/libjava/java/nio/LongBuffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8770, 3407, 1892, 1378, 261, 5748, 324, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100 ]
iVisited.accept(_Payload);
_Payload.visitWhileNode(iVisited);
public void visitWhileNode(WhileNode iVisited) { iVisited.accept(_Payload); }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/clean/org/jruby/nodes/visitor/DefaultIteratorVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 15151, 907, 12, 15151, 907, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 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, 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 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 15151, 907, 12, 15151, 907, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 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 ]
SubjectFactory.loadTypes();
public static Set types() { SubjectFactory.loadTypes(); return new HashSet( types.values() ); }
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/137a81498ddc2ed08350bf796995da3424635ac5/SubjectFactory.java/clean/grouper/java/src/edu/internet2/middleware/grouper/SubjectFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1000, 1953, 1435, 288, 4202, 327, 394, 6847, 12, 1953, 18, 2372, 1435, 11272, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1000, 1953, 1435, 288, 4202, 327, 394, 6847, 12, 1953, 18, 2372, 1435, 11272, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return this.value.equals(arg0);
if (arg0 instanceof StringMutableWrapper) { return this.value.equals(((StringMutableWrapper)arg0).stringValue()); } return false;
public boolean equals(Object arg0) { return this.value.equals(arg0); }
14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/922d1580ddc7c7bc41394f4fa898d6be2af24432/StringMutableWrapper.java/clean/src/org/objectweb/proactive/core/util/wrapper/StringMutableWrapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 1501, 20, 13, 288, 3639, 309, 261, 3175, 20, 1276, 514, 19536, 3611, 13, 288, 327, 225, 333, 18, 1132, 18, 14963, 12443, 12, 780, 19536, 3611, 13, 3175, 20, 2934, 1080, 620, 10663, 289, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 1501, 20, 13, 288, 3639, 309, 261, 3175, 20, 1276, 514, 19536, 3611, 13, 288, 327, 225, 333, 18, 1132, 18, 14963, 12443, 12, 780, 19536, 3611, 13, 3175, 20, 2934, 1080, 620, 10663, 289, 327, 629, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 jjMoveStringLiteralDfa1_5(0x8000L);
return jjMoveStringLiteralDfa1_5(0x10000L);
private final int jjMoveStringLiteralDfa0_5(){ switch(curChar) { case 35: jjmatchedKind = 12; return jjMoveStringLiteralDfa1_5(0xa00L); case 36: return jjStopAtPos(0, 8); case 42: return jjMoveStringLiteralDfa1_5(0x8000L); default : return jjMoveNfa_5(3, 0); }}
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/983675edbbab0e381643fec9c2a3e765c2f88830/ParserTokenManager.java/buggy/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 28565, 40, 507, 20, 67, 25, 1435, 95, 282, 1620, 12, 1397, 2156, 13, 282, 288, 1377, 648, 13191, 30, 540, 10684, 11073, 5677, 273, 2593, 31, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 25, 12, 20, 6995, 713, 48, 1769, 1377, 648, 6580, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 1725, 1769, 1377, 648, 14856, 30, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 25, 12, 20, 92, 23899, 48, 1769, 1377, 805, 294, 540, 327, 10684, 7607, 50, 507, 67, 25, 12, 23, 16, 374, 1769, 282, 10523, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 28565, 40, 507, 20, 67, 25, 1435, 95, 282, 1620, 12, 1397, 2156, 13, 282, 288, 1377, 648, 13191, 30, 540, 10684, 11073, 5677, 273, 2593, 31, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 25, 12, 20, 6995, 713, 48, 1769, 1377, 648, 6580, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 1725, 1769, 1377, 648, 14856, 30, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 25, 12, 20, 92, 23899, 48, 1769, 1377, 805, 294, 540, 327, 10684, 7607, 50, 507, 67, 25, 12, 23, 16, 374, 1769, 282, 10523, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!signaturesRead) try { readSignatures(); } catch (IOException ioe) { if (DEBUG) { debug(ioe); ioe.printStackTrace(); } signaturesRead = true; } if (entryCerts != null && verified.containsKey(zip.getName()) && ((Boolean) verified.get(zip.getName())).booleanValue()) { Set certs = (Set) entryCerts.get(jar.getName()); if (certs != null) jar.certs = (Certificate[]) certs.toArray(new Certificate[certs.size()]); }
public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getName()); } // XXX jar.certs return jar; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ec415b5ab69e9516c29619bb561ab024d22ce1f2/JarFile.java/clean/core/src/classpath/java/java/util/jar/JarFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 309, 16051, 30730, 1994, 13, 775, 288, 855, 23918, 5621, 289, 1044, 261, 14106, 10847, 13, 288, 309, 261, 9394, 13, 288, 1198, 12, 1594, 73, 1769, 10847, 18, 1188, 6332, 5621, 289, 14862, 1994, 273, 638, 31, 289, 377, 309, 261, 4099, 16273, 480, 446, 597, 13808, 18, 12298, 653, 12, 4450, 18, 17994, 10756, 597, 14015, 5507, 13, 13808, 18, 588, 12, 4450, 18, 17994, 10756, 2934, 6494, 620, 10756, 288, 1000, 13870, 273, 261, 694, 13, 1241, 16273, 18, 588, 12, 11930, 18, 17994, 10663, 309, 261, 24596, 480, 446, 13, 7334, 18, 24596, 273, 261, 4719, 63, 5717, 13870, 18, 31447, 12, 2704, 6660, 63, 24596, 18, 1467, 1435, 19226, 289, 225, 309, 16051, 30730, 1994, 13, 775, 288, 855, 23918, 5621, 289, 1044, 261, 14106, 10847, 13, 288, 309, 261, 9394, 13, 288, 1198, 12, 1594, 73, 1769, 10847, 18, 1188, 6332, 5621, 289, 14862, 1994, 273, 638, 31, 289, 377, 309, 261, 4099, 16273, 480, 446, 597, 13808, 18, 12298, 653, 12, 4450, 18, 17994, 10756, 597, 14015, 5507, 13, 13808, 18, 588, 12, 4450, 18, 17994, 10756, 2934, 6494, 620, 10756, 288, 1000, 13870, 273, 261, 694, 13, 1241, 16273, 18, 588, 12, 11930, 18, 17994, 10663, 309, 261, 24596, 480, 446, 13, 7334, 18, 24596, 273, 261, 4719, 63, 5717, 13870, 18, 31447, 12, 2704, 6660, 63, 24596, 18, 1467, 1435, 19226, 289, 225, 309, 16051, 30730, 1994, 13, 775, 288, 855, 23918, 5621, 289, 1044, 261, 14106, 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, 309, 16051, 30730, 1994, 13, 775, 288, 855, 23918, 5621, 289, 1044, 261, 14106, 10847, 13, 288, 309, 261, 9394, 13, 288, 1198, 12, 1594, 73, 1769, 10847, 18, 1188, 6332, 5621, 289, 14862, 1994, 273, 638, 31, 289, 377, 309, 261, 4099, 16273, 480, 446, 597, 13808, 18, 12298, 653, 12, 4450, 18, 17994, 10756, 597, 14015, 5507, 13, 13808, 18, 588, 12, 4450, 18, 17994, 10756, 2934, 6494, 620, 10756, 288, 1000, 13870, 273, 261, 694, 13, 1241, 16273, 18, 588, 12, 11930, 18, 17994, 10663, 309, 261, 24596, 480, 446, 13, 7334, 18, 24596, 273, 261, 4719, 63, 5717, 13870, 18, 31447, 12, 2704, 6660, 63, 24596, 18, 1467, 1435, 19226, 289, 225, 309, 16051, 2 ]
out.getData(bankIndices[i])[offset + bandOffsets[i]] = in[0];
out.getData(bankIndices[i])[offset + bandOffsets[i]] = in[i];
public void setDataElements(int x, int y, Object obj, DataBuffer data) { int transferType = getTransferType(); if (getTransferType() != data.getDataType()) { throw new IllegalArgumentException("transfer type ("+ getTransferType()+"), "+ "does not match data "+ "buffer type (" + data.getDataType() + ")."); } int offset = y * scanlineStride + x; try { switch (transferType) { case DataBuffer.TYPE_BYTE: { DataBufferByte out = (DataBufferByte) data; byte[] in = (byte[]) obj; for (int i=0; i < numBands; i++) out.getData(bankIndices[i])[offset + bandOffsets[i]] = in[0]; return; } case DataBuffer.TYPE_SHORT: { DataBufferShort out = (DataBufferShort) data; short[] in = (short[]) obj; for (int i=0; i < numBands; i++) out.getData(bankIndices[i])[offset + bandOffsets[i]] = in[0]; return; } case DataBuffer.TYPE_USHORT: { DataBufferUShort out = (DataBufferUShort) data; short[] in = (short[]) obj; for (int i=0; i < numBands; i++) out.getData(bankIndices[i])[offset + bandOffsets[i]] = in[0]; return; } case DataBuffer.TYPE_INT: { DataBufferInt out = (DataBufferInt) data; int[] in = (int[]) obj; for (int i=0; i < numBands; i++) out.getData(bankIndices[i])[offset + bandOffsets[i]] = in[0]; return; } case DataBuffer.TYPE_FLOAT: { DataBufferFloat out = (DataBufferFloat) data; float[] in = (float[]) obj; for (int i=0; i < numBands; i++) out.getData(bankIndices[i])[offset + bandOffsets[i]] = in[0]; return; } case DataBuffer.TYPE_DOUBLE: { DataBufferDouble out = (DataBufferDouble) data; double[] in = (double[]) obj; for (int i=0; i < numBands; i++) out.getData(bankIndices[i])[offset + bandOffsets[i]] = in[0]; return; } default: throw new ClassCastException("Unsupported data type"); } } catch (ArrayIndexOutOfBoundsException aioobe) { String msg = "While writing data elements" + ", x="+x+", y="+y+ ", width="+width+", height="+height+ ", scanlineStride="+scanlineStride+ ", offset="+offset+ ", data.getSize()="+data.getSize()+ ", data.getOffset()="+data.getOffset()+ ": " + aioobe; throw new ArrayIndexOutOfBoundsException(msg); } }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/98498793a062ecb51a6e520625438e02d667b1ca/BandedSampleModel.java/buggy/libraries/javalib/java/awt/image/BandedSampleModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 7929, 3471, 12, 474, 619, 16, 509, 677, 16, 1033, 1081, 16, 1910, 1892, 501, 13, 225, 288, 565, 509, 7412, 559, 273, 336, 5912, 559, 5621, 565, 309, 261, 588, 5912, 559, 1435, 480, 501, 18, 588, 6273, 10756, 1377, 288, 202, 12849, 394, 2754, 2932, 13866, 618, 7566, 15, 25083, 282, 336, 5912, 559, 1435, 9078, 3631, 13773, 25083, 282, 315, 20657, 486, 845, 501, 13773, 25083, 282, 315, 4106, 618, 7566, 397, 25083, 282, 501, 18, 588, 6273, 1435, 397, 25083, 282, 9369, 1199, 1769, 1377, 289, 565, 509, 1384, 273, 677, 380, 4135, 1369, 1585, 831, 397, 619, 31, 3639, 775, 1377, 288, 202, 9610, 261, 13866, 559, 13, 202, 225, 288, 202, 225, 648, 1910, 1892, 18, 2399, 67, 15377, 30, 202, 565, 288, 202, 1377, 1910, 1892, 3216, 596, 273, 261, 751, 1892, 3216, 13, 501, 31, 202, 1377, 1160, 8526, 316, 273, 261, 7229, 63, 5717, 1081, 31, 202, 1377, 364, 261, 474, 277, 33, 20, 31, 277, 411, 818, 26554, 31, 277, 27245, 202, 202, 659, 18, 588, 751, 12, 10546, 8776, 63, 77, 5717, 63, 3348, 397, 8937, 13830, 63, 77, 13563, 273, 316, 63, 20, 15533, 202, 1377, 327, 31, 202, 565, 289, 202, 225, 648, 1910, 1892, 18, 2399, 67, 15993, 30, 202, 565, 288, 202, 1377, 1910, 1892, 4897, 596, 273, 261, 751, 1892, 4897, 13, 501, 31, 202, 1377, 3025, 8526, 316, 273, 261, 6620, 63, 5717, 1081, 31, 202, 1377, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 7929, 3471, 12, 474, 619, 16, 509, 677, 16, 1033, 1081, 16, 1910, 1892, 501, 13, 225, 288, 565, 509, 7412, 559, 273, 336, 5912, 559, 5621, 565, 309, 261, 588, 5912, 559, 1435, 480, 501, 18, 588, 6273, 10756, 1377, 288, 202, 12849, 394, 2754, 2932, 13866, 618, 7566, 15, 25083, 282, 336, 5912, 559, 1435, 9078, 3631, 13773, 25083, 282, 315, 20657, 486, 845, 501, 13773, 25083, 282, 315, 4106, 618, 7566, 397, 25083, 282, 501, 18, 588, 6273, 1435, 397, 25083, 282, 9369, 1199, 1769, 1377, 289, 565, 509, 1384, 273, 677, 380, 4135, 1369, 1585, 831, 397, 619, 31, 3639, 775, 1377, 288, 202, 9610, 261, 13866, 559, 13, 202, 225, 288, 2 ]
if (cmpId == Constants.CP_BLOCK_PROGRESSION_DIRECTION) {
if (cmpId == CP_BLOCK_PROGRESSION_DIRECTION) {
public void setComponent(int cmpId, Property cmpnValue, boolean bIsDefault) { if (cmpId == Constants.CP_BLOCK_PROGRESSION_DIRECTION) { bpd = cmpnValue; } else if (cmpId == Constants.CP_INLINE_PROGRESSION_DIRECTION) { ipd = cmpnValue; } }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/00320cae41509dfa2e7f67580d50a87010d1bff2/LengthPair.java/buggy/src/java/org/apache/fop/datatypes/LengthPair.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 1841, 12, 474, 9411, 548, 16, 4276, 9411, 82, 620, 16, 11794, 1250, 24236, 1868, 13, 288, 3639, 309, 261, 9625, 548, 422, 5181, 67, 11403, 67, 3373, 43, 862, 4475, 67, 30516, 13, 288, 5411, 9107, 72, 273, 9411, 82, 620, 31, 3639, 289, 469, 309, 261, 9625,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 1841, 12, 474, 9411, 548, 16, 4276, 9411, 82, 620, 16, 11794, 1250, 24236, 1868, 13, 288, 3639, 309, 261, 9625, 548, 422, 5181, 67, 11403, 67, 3373, 43, 862, 4475, 67, 30516, 13, 288, 5411, 9107, 72, 273, 9411, 82, 620, 31, 3639, 289, 469, 309, 261, 9625, 548, 422, 5245, 18, 4258, 67, 706, 5997, 67, 3373, 43, 862, 4475, 67, 30516, 13, 288, 5411, 2359, 72, 273, 9411, 82, 620, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper);
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyPointer args, boolean noSuper);
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper);
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/f629550c5947df9c1dbe414645f3dc76bcb70df4/CallableNode.java/buggy/org/jruby/nodes/types/CallableNode.java
[ 1, 8585, 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, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 745, 12, 54, 10340, 22155, 16, 19817, 921, 10665, 16, 19817, 548, 612, 16, 19817, 921, 8526, 833, 16, 1250, 1158, 8051, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (workingSet == null) {
if (workingSet == null)
private boolean isEnclosed(IResource element) { if (workingSet == null) { return false; } Set workingSetPaths = getWorkingSetAsSetOfPaths(); return workingSetPaths.contains(element.getFullPath().toString()); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e4aadc0c38193d304df3f17736fc9f4558cd1453/MarkerFilter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 4280, 13783, 12, 45, 1420, 930, 13, 288, 202, 202, 430, 261, 20478, 694, 422, 446, 13, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 694, 5960, 694, 4466, 273, 336, 14836, 694, 1463, 694, 951, 4466, 5621, 202, 202, 2463, 5960, 694, 4466, 18, 12298, 12, 2956, 18, 588, 24173, 7675, 10492, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 4280, 13783, 12, 45, 1420, 930, 13, 288, 202, 202, 430, 261, 20478, 694, 422, 446, 13, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 694, 5960, 694, 4466, 273, 336, 14836, 694, 1463, 694, 951, 4466, 5621, 202, 202, 2463, 5960, 694, 4466, 18, 12298, 12, 2956, 18, 588, 24173, 7675, 10492, 10663, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else if (style.background != null) return false;
} else if (style.background != null) { return false; }
public boolean similarTo(StyleRange style) { if (this.foreground != null) { if (!this.foreground.equals(style.foreground)) return false; } else if (style.foreground != null) return false; if (this.background != null) { if (!this.background.equals(style.background)) return false; } else if (style.background != null) return false; if (this.fontStyle != style.fontStyle) return false; if (this.underline != style.underline) return false; if (this.strikeout != style.strikeout) return false; return true;}
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/c70f0962a453218199123e8d0e9b966130da0daa/StyleRange.java/buggy/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyleRange.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1250, 7281, 774, 12, 2885, 2655, 2154, 13, 288, 202, 430, 261, 2211, 18, 1405, 2915, 480, 446, 13, 288, 202, 202, 430, 16051, 2211, 18, 1405, 2915, 18, 14963, 12, 4060, 18, 1405, 2915, 3719, 327, 629, 31, 202, 97, 469, 309, 261, 4060, 18, 1405, 2915, 480, 446, 13, 327, 629, 31, 202, 430, 261, 2211, 18, 9342, 480, 446, 13, 288, 202, 202, 430, 16051, 2211, 18, 9342, 18, 14963, 12, 4060, 18, 9342, 3719, 327, 629, 31, 202, 97, 469, 309, 261, 4060, 18, 9342, 480, 446, 13, 288, 327, 629, 31, 289, 225, 202, 430, 261, 2211, 18, 5776, 2885, 480, 2154, 18, 5776, 2885, 13, 327, 629, 31, 202, 430, 261, 2211, 18, 9341, 1369, 480, 2154, 18, 9341, 1369, 13, 327, 629, 31, 202, 430, 261, 2211, 18, 701, 2547, 659, 480, 2154, 18, 701, 2547, 659, 13, 327, 629, 31, 202, 2463, 638, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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655, 2154, 13, 288, 202, 430, 261, 2211, 18, 1405, 2915, 480, 446, 13, 288, 202, 202, 430, 16051, 2211, 18, 1405, 2915, 18, 14963, 12, 4060, 18, 1405, 2915, 3719, 327, 629, 31, 202, 97, 469, 309, 261, 4060, 18, 1405, 2915, 480, 446, 13, 327, 629, 31, 202, 430, 261, 2211, 18, 9342, 480, 446, 13, 288, 202, 202, 430, 16051, 2211, 18, 9342, 18, 14963, 12, 4060, 18, 9342, 3719, 327, 629, 31, 202, 97, 469, 309, 261, 4060, 18, 9342, 480, 446, 13, 288, 327, 629, 31, 289, 225, 202, 430, 261, 2211, 18, 5776, 2885, 480, 2154, 18, 5776, 2885, 13, 327, 629, 31, 202, 430, 261, 2211, 2 ]
protected void validateTree() { if (valid) return;
protected void validateTree() { if (valid) return;
protected void validateTree() { if (valid) return; ContainerPeer cPeer = null; if (peer != null && !(peer instanceof LightweightPeer)) { cPeer = (ContainerPeer) peer; cPeer.beginValidate(); } doLayout(); for (int i = 0; i < ncomponents; ++i) { Component comp = component[i]; if (!comp.isValid()) { if (comp instanceof Container) { ((Container) comp).validateTree(); } else { component[i].validate(); } } } /* children will call invalidate() when they are layed out. It is therefore imporant that valid is not set to true before after the children has been layed out. */ valid = true; if (cPeer != null) cPeer.endValidate(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/Container.java/buggy/core/src/classpath/java/java/awt/Container.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1954, 2471, 1435, 288, 202, 202, 430, 261, 877, 13, 1082, 202, 2463, 31, 202, 202, 2170, 6813, 276, 6813, 273, 446, 31, 202, 202, 430, 261, 12210, 480, 446, 597, 401, 12, 12210, 1276, 15992, 4865, 6813, 3719, 288, 1082, 202, 71, 6813, 273, 261, 2170, 6813, 13, 4261, 31, 1082, 202, 71, 6813, 18, 10086, 4270, 5621, 202, 202, 97, 202, 202, 2896, 3744, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 290, 8119, 31, 965, 77, 13, 288, 1082, 202, 1841, 1161, 273, 1794, 63, 77, 15533, 1082, 202, 430, 16051, 2919, 18, 26810, 10756, 288, 9506, 202, 430, 261, 2919, 1276, 4039, 13, 288, 6862, 202, 12443, 2170, 13, 1161, 2934, 5662, 2471, 5621, 9506, 202, 97, 469, 288, 6862, 202, 4652, 63, 77, 8009, 5662, 5621, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 20308, 2325, 903, 745, 11587, 1435, 1347, 2898, 854, 328, 528, 329, 596, 18, 2597, 1082, 282, 353, 13526, 1646, 280, 970, 716, 923, 353, 486, 444, 358, 638, 1082, 282, 1865, 1839, 326, 2325, 711, 2118, 328, 528, 329, 596, 18, 1195, 202, 202, 877, 273, 638, 31, 202, 202, 430, 261, 71, 6813, 480, 446, 13, 1082, 202, 71, 6813, 18, 409, 4270, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1954, 2471, 1435, 288, 202, 202, 430, 261, 877, 13, 1082, 202, 2463, 31, 202, 202, 2170, 6813, 276, 6813, 273, 446, 31, 202, 202, 430, 261, 12210, 480, 446, 597, 401, 12, 12210, 1276, 15992, 4865, 6813, 3719, 288, 1082, 202, 71, 6813, 273, 261, 2170, 6813, 13, 4261, 31, 1082, 202, 71, 6813, 18, 10086, 4270, 5621, 202, 202, 97, 202, 202, 2896, 3744, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 290, 8119, 31, 965, 77, 13, 288, 1082, 202, 1841, 1161, 273, 1794, 63, 77, 15533, 1082, 202, 430, 16051, 2919, 18, 26810, 10756, 288, 9506, 202, 430, 261, 2919, 1276, 4039, 13, 288, 6862, 202, 12443, 2 ]
public XmlTag[] findSubTags(final String name, final String namespace) { final XmlTag[] subTags = getSubTags(); final List<XmlTag> result = new ArrayList<XmlTag>(); for (final XmlTag subTag : subTags) { if (namespace == null) { if (name.equals(subTag.getName())) result.add(subTag); } else if (name.equals(subTag.getLocalName()) && namespace.equals(subTag.getNamespace())) { result.add(subTag); } } return result.toArray(new XmlTag[result.size()]);
public XmlTag[] findSubTags(String name) { return findSubTags(name, null);
public XmlTag[] findSubTags(final String name, final String namespace) { final XmlTag[] subTags = getSubTags(); final List<XmlTag> result = new ArrayList<XmlTag>(); for (final XmlTag subTag : subTags) { if (namespace == null) { if (name.equals(subTag.getName())) result.add(subTag); } else if (name.equals(subTag.getLocalName()) && namespace.equals(subTag.getNamespace())) { result.add(subTag); } } return result.toArray(new XmlTag[result.size()]); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/2c64611ef90e471709336024e34bbef017df0e5a/XmlTagImpl.java/buggy/source/com/intellij/psi/impl/source/xml/XmlTagImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5714, 1805, 8526, 1104, 1676, 3453, 12, 6385, 514, 508, 16, 727, 514, 1981, 13, 288, 565, 727, 5714, 1805, 8526, 720, 3453, 273, 7040, 3453, 5621, 565, 727, 987, 32, 4432, 1805, 34, 563, 273, 394, 2407, 32, 4432, 1805, 34, 5621, 565, 364, 261, 6385, 5714, 1805, 720, 1805, 294, 720, 3453, 13, 288, 1377, 309, 261, 4937, 422, 446, 13, 288, 3639, 309, 261, 529, 18, 14963, 12, 1717, 1805, 18, 17994, 1435, 3719, 563, 18, 1289, 12, 1717, 1805, 1769, 1377, 289, 1377, 469, 309, 261, 529, 18, 14963, 12, 1717, 1805, 18, 588, 29583, 10756, 597, 1981, 18, 14963, 12, 1717, 1805, 18, 588, 3402, 1435, 3719, 288, 3639, 563, 18, 1289, 12, 1717, 1805, 1769, 1377, 289, 565, 289, 565, 327, 563, 18, 31447, 12, 2704, 5714, 1805, 63, 2088, 18, 1467, 1435, 19226, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2407, 32, 4432, 1805, 34, 5621, 565, 364, 261, 6385, 5714, 1805, 720, 1805, 294, 720, 3453, 13, 288, 1377, 309, 261, 4937, 422, 446, 13, 288, 3639, 309, 261, 529, 18, 14963, 12, 1717, 1805, 18, 17994, 1435, 3719, 563, 18, 1289, 12, 1717, 1805, 1769, 1377, 289, 1377, 469, 309, 261, 529, 18, 14963, 12, 1717, 1805, 18, 588, 29583, 10756, 597, 1981, 18, 14963, 12, 1717, 1805, 18, 588, 3402, 1435, 3719, 288, 3639, 563, 18, 1289, 2 ]
"Factory: unable to get map with id=" + id + "." + se);
"Manager: unable to get map with id=" + id + "." + se);
public VMap getMap(int id) throws MapsManagementException, MapNotFoundException, MapsException { VMap retVMap = null; try { log.debug("Starting getMap with id "+id); Map m = Factory.getMap(id); log.debug("Ending getMap with id "+id); if (m == null) { throw new MapNotFoundException("Map with id " + id + " doesn't exist."); } log.debug("Creating VMap with id "+id); retVMap = new VMap(id, m.getName(), m.getBackground(), m.getOwner(), m.getAccessMode(), m.getUserLastModifies(), m .getScale(), m.getOffsetX(), m.getOffsetY(), m .getType(),m.getWidth(),m.getHeight()); log.debug("VMap with id "+id+" created."); retVMap.setCreateTime(m.getCreateTime()); retVMap.setLastModifiedTime(m.getLastModifiedTime()); log.debug("Starting getting elems for map with id "+id); Element[] mapElems = Factory.getElementsOfMap(id); log.debug("Ending getting elems for map with id "+id); VElement elem =null; if(mapElems!=null){ for (int i = 0; i < mapElems.length; i++) { elem = new VElement(mapElems[i]); // here we must add all the stuff required retVMap.addElement(elem); } } log.debug("Starting refreshing elems for map with id "+id); List els = refreshElements(retVMap.getAllElements(),false); log.debug("Ending refreshing elems for map with id "+id); log.debug("els.toArray()"); VElement[] ves = (VElement[]) els.toArray(new VElement[0]); log.debug("addElements(els)"); retVMap.addElements(ves); log.debug("Starting adding links for map with id "+id); log.debug("Starting getLinks"); VLink[] vls = (VLink[]) getLinks(retVMap.getAllElements()).toArray(new VLink[0]); log.debug("Ending getLinks"); log.debug("Starting addLinks"); retVMap.addLinks(vls); log.debug("Ending addLinks"); log.debug("Ending adding links for map with id "+id); } catch (SQLException se) { throw new MapsManagementException( "Factory: unable to get map with id=" + id + "." + se); } return retVMap; }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/d5b0121ba147eea97a444ae288f11e94118d5a54/Manager.java/clean/opennms-webapp/src/main/java/org/opennms/web/map/view/Manager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 776, 863, 15489, 12, 474, 612, 13, 1216, 19837, 10998, 503, 16, 5411, 1635, 3990, 16, 19837, 503, 288, 377, 202, 3639, 776, 863, 325, 58, 863, 273, 446, 31, 3639, 775, 288, 540, 202, 1330, 18, 4148, 2932, 11715, 15489, 598, 612, 13773, 350, 1769, 5411, 1635, 312, 273, 7822, 18, 588, 863, 12, 350, 1769, 5411, 613, 18, 4148, 2932, 25674, 15489, 598, 612, 13773, 350, 1769, 5411, 309, 261, 81, 422, 446, 13, 288, 7734, 604, 394, 1635, 3990, 2932, 863, 598, 612, 315, 397, 612, 13491, 397, 315, 3302, 1404, 1005, 1199, 1769, 5411, 289, 5411, 613, 18, 4148, 2932, 11092, 776, 863, 598, 612, 13773, 350, 1769, 5411, 325, 58, 863, 273, 394, 776, 863, 12, 350, 16, 312, 18, 17994, 9334, 312, 18, 588, 8199, 9334, 10792, 312, 18, 588, 5541, 9334, 312, 18, 588, 1862, 2309, 9334, 312, 18, 588, 1299, 3024, 1739, 5032, 9334, 312, 18701, 263, 588, 5587, 9334, 312, 18, 588, 2335, 60, 9334, 312, 18, 588, 2335, 61, 9334, 312, 18701, 263, 588, 559, 9334, 81, 18, 588, 2384, 9334, 81, 18, 588, 2686, 10663, 5411, 613, 18, 4148, 2932, 58, 863, 598, 612, 13773, 350, 9078, 2522, 1199, 1769, 5411, 325, 58, 863, 18, 542, 1684, 950, 12, 81, 18, 588, 1684, 950, 10663, 5411, 325, 58, 863, 18, 542, 14747, 950, 12, 81, 18, 588, 14747, 950, 10663, 5411, 613, 18, 4148, 2932, 11715, 8742, 14733, 364, 852, 598, 612, 13773, 350, 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, 776, 863, 15489, 12, 474, 612, 13, 1216, 19837, 10998, 503, 16, 5411, 1635, 3990, 16, 19837, 503, 288, 377, 202, 3639, 776, 863, 325, 58, 863, 273, 446, 31, 3639, 775, 288, 540, 202, 1330, 18, 4148, 2932, 11715, 15489, 598, 612, 13773, 350, 1769, 5411, 1635, 312, 273, 7822, 18, 588, 863, 12, 350, 1769, 5411, 613, 18, 4148, 2932, 25674, 15489, 598, 612, 13773, 350, 1769, 5411, 309, 261, 81, 422, 446, 13, 288, 7734, 604, 394, 1635, 3990, 2932, 863, 598, 612, 315, 397, 612, 13491, 397, 315, 3302, 1404, 1005, 1199, 1769, 5411, 289, 5411, 613, 18, 4148, 2932, 11092, 776, 863, 598, 612, 13773, 350, 1769, 5411, 325, 58, 863, 273, 2 ]
constructor, new AnnotationInfo(annotationName, customAnnotation)
constructor, new AnnotationInfo(annotationName, customAnnotation)
private static void handleConstructorAnnotations(final AnnotationManager manager, final AttributeEnhancer enhancer, final JavaMethod constructor) { for (Iterator it = s_customAnnotations.keySet().iterator(); it.hasNext();) { String annotationName = (String) it.next(); Annotation[] customAnnotations = manager.getAnnotations(annotationName, constructor); for (int i = 0; i < customAnnotations.length; i++) { Annotation customAnnotation = customAnnotations[i]; if (customAnnotation != null) { enhancer.insertConstructorAttribute( constructor, new AnnotationInfo(annotationName, customAnnotation) ); logInfo( " custom constructor annotation [" + annotationName + " @ " + constructor.getParentClass().getName() + '.' + constructor.getName() + ']' ); } } } }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/f0bf3efa9d2cfbce83714925bb3fed37348148e1/AnnotationC.java/buggy/aspectwerkz4/src/main/org/codehaus/aspectwerkz/annotation/AnnotationC.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1640, 6293, 5655, 12, 6385, 6090, 1318, 3301, 16, 4766, 5397, 727, 3601, 664, 25842, 2750, 570, 25842, 2750, 16, 4766, 5397, 727, 5110, 1305, 3885, 13, 288, 3639, 364, 261, 3198, 518, 273, 272, 67, 3662, 5655, 18, 856, 694, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 5411, 514, 3204, 461, 273, 261, 780, 13, 518, 18, 4285, 5621, 5411, 6090, 8526, 1679, 5655, 273, 3301, 18, 588, 5655, 12, 11495, 461, 16, 3885, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1679, 5655, 18, 2469, 31, 277, 27245, 288, 7734, 6090, 1679, 3257, 273, 1679, 5655, 63, 77, 15533, 7734, 309, 261, 3662, 3257, 480, 446, 13, 288, 10792, 570, 25842, 2750, 18, 6387, 6293, 1499, 12, 18701, 3885, 16, 394, 6090, 966, 12, 11495, 461, 16, 1679, 3257, 13, 10792, 11272, 10792, 613, 966, 12, 18701, 315, 565, 1679, 3885, 3204, 8247, 397, 3204, 461, 397, 315, 632, 315, 18701, 397, 3885, 18, 588, 3054, 797, 7675, 17994, 1435, 397, 2611, 397, 18701, 3885, 18, 17994, 1435, 18701, 397, 8641, 10792, 11272, 7734, 289, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1640, 6293, 5655, 12, 6385, 6090, 1318, 3301, 16, 4766, 5397, 727, 3601, 664, 25842, 2750, 570, 25842, 2750, 16, 4766, 5397, 727, 5110, 1305, 3885, 13, 288, 3639, 364, 261, 3198, 518, 273, 272, 67, 3662, 5655, 18, 856, 694, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 5411, 514, 3204, 461, 273, 261, 780, 13, 518, 18, 4285, 5621, 5411, 6090, 8526, 1679, 5655, 273, 3301, 18, 588, 5655, 12, 11495, 461, 16, 3885, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1679, 5655, 18, 2469, 31, 277, 27245, 288, 7734, 6090, 1679, 3257, 273, 1679, 5655, 63, 77, 15533, 7734, 309, 261, 3662, 3257, 480, 446, 13, 2 ]
&& viewSize.width > (x4 - x2)));
&& viewSize.width > (x4 - x2 - vsWidth)));
public void layoutContainer(Container parent) { // Sun's implementation simply throws a ClassCastException if // parent is no JScrollPane, so do we. JScrollPane sc = (JScrollPane) parent; JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); int x1 = 0, x2 = 0, x3 = 0, x4 = 0; int y1 = 0, y2 = 0, y3 = 0, y4 = 0; Rectangle scrollPaneBounds = SwingUtilities.calculateInnerArea(sc, null); x1 = scrollPaneBounds.x; y1 = scrollPaneBounds.y; x4 = scrollPaneBounds.x + scrollPaneBounds.width; y4 = scrollPaneBounds.y + scrollPaneBounds.height; if (colHead != null) y2 = y1 + colHead.getPreferredSize().height; else y2 = y1; if (rowHead != null) x2 = x1 + rowHead.getPreferredSize().width; else x2 = x1; int vsbPolicy = sc.getVerticalScrollBarPolicy(); int hsbPolicy = sc.getHorizontalScrollBarPolicy(); boolean showVsb = (vsb != null) && ((vsbPolicy == VERTICAL_SCROLLBAR_ALWAYS) || (vsbPolicy == VERTICAL_SCROLLBAR_AS_NEEDED && viewSize.height > (y4 - y2))); boolean showHsb = (hsb != null) && ((hsbPolicy == HORIZONTAL_SCROLLBAR_ALWAYS) || (hsbPolicy == HORIZONTAL_SCROLLBAR_AS_NEEDED && viewSize.width > (x4 - x2))); if (!showVsb) x3 = x4; else x3 = x4 - vsb.getPreferredSize().width; if (!showHsb) y3 = y4; else y3 = y4 - hsb.getPreferredSize().height; // now set the layout if (viewport != null) viewport.setBounds(new Rectangle(x2, y2, x3 - x2, y3 - y2)); if (colHead != null) colHead.setBounds(new Rectangle(x2, y1, x3 - x2, y2 - y1)); if (rowHead != null) rowHead.setBounds(new Rectangle(x1, y2, x2 - x1, y3 - y2)); if (showVsb) { vsb.setVisible(true); vsb.setBounds(new Rectangle(x3, y2, x4 - x3, y3 - y2)); } else if (vsb != null) vsb.setVisible(false); if (showHsb) { hsb.setVisible(true); hsb.setBounds(new Rectangle(x2, y3, x3 - x2, y4 - y3)); } else if (hsb != null) hsb.setVisible(false); if (upperLeft != null) upperLeft.setBounds(new Rectangle(x1, y1, x2 - x1, y2 - y1)); if (upperRight != null) upperRight.setBounds(new Rectangle(x3, y1, x4 - x3, y2 - y1)); if (lowerLeft != null) lowerLeft.setBounds(new Rectangle(x1, y3, x2 - x1, y4 - y3)); if (lowerRight != null) lowerRight.setBounds(new Rectangle(x3, y3, x4 - x3, y4 - y3)); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/8a78b0a127a68dcc6823fee2b8bdb1cbb7ec268d/ScrollPaneLayout.java/clean/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3511, 2170, 12, 2170, 982, 13, 225, 288, 565, 368, 31608, 1807, 4471, 8616, 1216, 279, 24034, 309, 565, 368, 982, 353, 1158, 804, 26360, 16, 1427, 741, 732, 18, 3639, 804, 26360, 888, 273, 261, 46, 26360, 13, 982, 31, 5411, 804, 22743, 10482, 273, 888, 18, 588, 22743, 5621, 5411, 13037, 1476, 1225, 273, 10482, 18, 588, 1767, 1225, 5621, 5411, 509, 619, 21, 273, 374, 16, 619, 22, 273, 374, 16, 619, 23, 273, 374, 16, 619, 24, 273, 374, 31, 5411, 509, 677, 21, 273, 374, 16, 677, 22, 273, 374, 16, 677, 23, 273, 374, 16, 677, 24, 273, 374, 31, 5411, 13264, 5532, 8485, 5694, 273, 26145, 11864, 18, 11162, 2857, 5484, 12, 1017, 16, 446, 1769, 5411, 619, 21, 273, 5532, 8485, 5694, 18, 92, 31, 5411, 677, 21, 273, 5532, 8485, 5694, 18, 93, 31, 5411, 619, 24, 273, 5532, 8485, 5694, 18, 92, 397, 5532, 8485, 5694, 18, 2819, 31, 5411, 677, 24, 273, 5532, 8485, 5694, 18, 93, 397, 5532, 8485, 5694, 18, 4210, 31, 5411, 309, 261, 1293, 1414, 480, 446, 13, 2868, 677, 22, 273, 677, 21, 397, 645, 1414, 18, 588, 16028, 1225, 7675, 4210, 31, 5411, 469, 2868, 677, 22, 273, 677, 21, 31, 5411, 309, 261, 492, 1414, 480, 446, 13, 2868, 619, 22, 273, 619, 21, 397, 1027, 1414, 18, 588, 16028, 1225, 7675, 2819, 31, 5411, 469, 2868, 619, 22, 273, 619, 21, 31, 5411, 509, 6195, 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, 3511, 2170, 12, 2170, 982, 13, 225, 288, 565, 368, 31608, 1807, 4471, 8616, 1216, 279, 24034, 309, 565, 368, 982, 353, 1158, 804, 26360, 16, 1427, 741, 732, 18, 3639, 804, 26360, 888, 273, 261, 46, 26360, 13, 982, 31, 5411, 804, 22743, 10482, 273, 888, 18, 588, 22743, 5621, 5411, 13037, 1476, 1225, 273, 10482, 18, 588, 1767, 1225, 5621, 5411, 509, 619, 21, 273, 374, 16, 619, 22, 273, 374, 16, 619, 23, 273, 374, 16, 619, 24, 273, 374, 31, 5411, 509, 677, 21, 273, 374, 16, 677, 22, 273, 374, 16, 677, 23, 273, 374, 16, 677, 24, 273, 374, 31, 5411, 13264, 5532, 8485, 5694, 273, 26145, 11864, 18, 11162, 2 ]
throw Kit.badTypeJS(x);
warnAboutNonJSObject(x); return x == y;
public static boolean shallowEq(Object x, Object y) { if (x == y) { if (!(x instanceof Number)) { return true; } // NaN check double d = ((Number)x).doubleValue(); return d == d; } if (x == null) { return false; } else if (x instanceof Number) { if (y instanceof Number) { return ((Number)x).doubleValue() == ((Number)y).doubleValue(); } } else if (x instanceof String) { if (y instanceof String) { return x.equals(y); } } else if (x instanceof Boolean) { if (y instanceof Boolean) { return x.equals(y); } } else if (x instanceof Scriptable) { // x == Undefined.instance goes here as well if (x instanceof Wrapper && y instanceof Wrapper) { return ((Wrapper)x).unwrap() == ((Wrapper)y).unwrap(); } } else { throw Kit.badTypeJS(x); } return false; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/0689482587578830da02b53dc2c9f2d2db4fa0b3/ScriptRuntime.java/buggy/js/rhino/src/org/mozilla/javascript/ScriptRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 18501, 19508, 12, 921, 619, 16, 1033, 677, 13, 565, 288, 3639, 309, 261, 92, 422, 677, 13, 288, 5411, 309, 16051, 12, 92, 1276, 3588, 3719, 288, 7734, 327, 638, 31, 5411, 289, 5411, 368, 10180, 866, 5411, 1645, 302, 273, 14015, 1854, 13, 92, 2934, 9056, 620, 5621, 5411, 327, 302, 422, 302, 31, 3639, 289, 3639, 309, 261, 92, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 469, 309, 261, 92, 1276, 3588, 13, 288, 5411, 309, 261, 93, 1276, 3588, 13, 288, 7734, 327, 14015, 1854, 13, 92, 2934, 9056, 620, 1435, 422, 14015, 1854, 13, 93, 2934, 9056, 620, 5621, 5411, 289, 3639, 289, 469, 309, 261, 92, 1276, 514, 13, 288, 5411, 309, 261, 93, 1276, 514, 13, 288, 7734, 327, 619, 18, 14963, 12, 93, 1769, 5411, 289, 3639, 289, 469, 309, 261, 92, 1276, 3411, 13, 288, 5411, 309, 261, 93, 1276, 3411, 13, 288, 7734, 327, 619, 18, 14963, 12, 93, 1769, 5411, 289, 3639, 289, 469, 309, 261, 92, 1276, 22780, 13, 288, 5411, 368, 619, 422, 22243, 18, 1336, 13998, 2674, 487, 5492, 5411, 309, 261, 92, 1276, 18735, 597, 677, 1276, 18735, 13, 288, 7734, 327, 14015, 3611, 13, 92, 2934, 318, 4113, 1435, 422, 14015, 3611, 13, 93, 2934, 318, 4113, 5621, 5411, 289, 3639, 289, 469, 288, 5411, 1894, 24813, 3989, 6479, 921, 12, 92, 1769, 327, 619, 422, 677, 31, 3639, 289, 3639, 327, 629, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 18501, 19508, 12, 921, 619, 16, 1033, 677, 13, 565, 288, 3639, 309, 261, 92, 422, 677, 13, 288, 5411, 309, 16051, 12, 92, 1276, 3588, 3719, 288, 7734, 327, 638, 31, 5411, 289, 5411, 368, 10180, 866, 5411, 1645, 302, 273, 14015, 1854, 13, 92, 2934, 9056, 620, 5621, 5411, 327, 302, 422, 302, 31, 3639, 289, 3639, 309, 261, 92, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 469, 309, 261, 92, 1276, 3588, 13, 288, 5411, 309, 261, 93, 1276, 3588, 13, 288, 7734, 327, 14015, 1854, 13, 92, 2934, 9056, 620, 1435, 422, 14015, 1854, 13, 93, 2934, 9056, 620, 5621, 5411, 289, 3639, 289, 469, 309, 261, 92, 2 ]
if (contextIds == null) contextNames.add(0, Util.translateString(RESOURCE_BUNDLE, "general"));
comboContext.setItems((String[]) contextNames .toArray(new String[contextNames.size()])); setContextId(contextId);
private void setContextsForCommand() { String commandId = getCommandId(); String contextId = getContextId(); Set contextIds = (Set) contextIdsByCommandId.get(commandId); Map contextIdsByName = new HashMap(contextIdsByUniqueName); // TODO for context bound commands, this code retains only those // contexts explictly bound. what about assigning key bindings to // implicit descendant contexts? if (contextIds != null) contextIdsByName.values().retainAll(contextIds); List contextNames = new ArrayList(contextIdsByName.keySet()); Collections.sort(contextNames, Collator.getInstance()); if (contextIds == null) contextNames.add(0, Util.translateString(RESOURCE_BUNDLE, "general")); //$NON-NLS-1$ comboContext.setItems((String[]) contextNames.toArray(new String[contextNames.size()])); setContextId(contextId); if (comboContext.getSelectionIndex() == -1 && !contextNames.isEmpty()) comboContext.select(0); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/664efbbd6fd6dba5c4d118b10afe31ab34b6890a/KeysPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/KeysPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 444, 15518, 1290, 2189, 1435, 288, 202, 202, 780, 1296, 548, 273, 12856, 548, 5621, 202, 202, 780, 819, 548, 273, 6474, 548, 5621, 202, 202, 694, 819, 2673, 273, 261, 694, 13, 819, 2673, 858, 2189, 548, 18, 588, 12, 3076, 548, 1769, 202, 202, 863, 819, 2673, 5911, 273, 394, 4317, 12, 2472, 2673, 858, 6303, 461, 1769, 202, 202, 759, 2660, 364, 819, 2489, 4364, 16, 333, 981, 325, 4167, 1338, 5348, 202, 202, 759, 5781, 22991, 933, 715, 2489, 18, 4121, 2973, 28639, 498, 7394, 358, 202, 202, 759, 10592, 17465, 5781, 35, 202, 202, 430, 261, 2472, 2673, 480, 446, 13, 1082, 202, 2472, 2673, 5911, 18, 2372, 7675, 1349, 530, 1595, 12, 2472, 2673, 1769, 202, 202, 682, 819, 1557, 273, 394, 2407, 12, 2472, 2673, 5911, 18, 856, 694, 10663, 202, 202, 15150, 18, 3804, 12, 2472, 1557, 16, 17596, 639, 18, 588, 1442, 10663, 202, 202, 430, 261, 2472, 2673, 422, 446, 13, 1082, 202, 2472, 1557, 18, 1289, 12, 20, 16, 3564, 18, 13929, 780, 12, 11395, 67, 30245, 16, 315, 12259, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 25053, 1042, 18, 542, 3126, 12443, 780, 63, 5717, 819, 1557, 18, 31447, 12, 2704, 514, 63, 2472, 1557, 18, 1467, 1435, 5717, 1769, 202, 202, 542, 1042, 548, 12, 2472, 548, 1769, 202, 202, 430, 261, 25053, 1042, 18, 588, 6233, 1016, 1435, 422, 300, 21, 597, 401, 2472, 1557, 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, 444, 15518, 1290, 2189, 1435, 288, 202, 202, 780, 1296, 548, 273, 12856, 548, 5621, 202, 202, 780, 819, 548, 273, 6474, 548, 5621, 202, 202, 694, 819, 2673, 273, 261, 694, 13, 819, 2673, 858, 2189, 548, 18, 588, 12, 3076, 548, 1769, 202, 202, 863, 819, 2673, 5911, 273, 394, 4317, 12, 2472, 2673, 858, 6303, 461, 1769, 202, 202, 759, 2660, 364, 819, 2489, 4364, 16, 333, 981, 325, 4167, 1338, 5348, 202, 202, 759, 5781, 22991, 933, 715, 2489, 18, 4121, 2973, 28639, 498, 7394, 358, 202, 202, 759, 10592, 17465, 5781, 35, 202, 202, 430, 261, 2472, 2673, 480, 446, 13, 1082, 202, 2472, 2673, 5911, 18, 2372, 7675, 1349, 2 ]
if ( model instanceof ReportElementModel && ( ( (ReportElementModel) model ).getElementHandle( ) instanceof SimpleMasterPageHandle ) )
if ( model instanceof SimpleMasterPageHandle )
private boolean ignoreModel( Object model ) { if ( model instanceof ReportElementModel && ( ( (ReportElementModel) model ).getElementHandle( ) instanceof SimpleMasterPageHandle ) ) { return true; } return model instanceof MasterPageHandle; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/2a9ea810a5eb287424a0e8524c3b022fced0cd8b/LibraryGraphicalPartFactory.java/buggy/UI/org.eclipse.birt.report.designer.ui.lib/src/org/eclipse/birt/report/designer/internal/lib/editparts/LibraryGraphicalPartFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 2305, 1488, 12, 1033, 938, 262, 202, 95, 202, 202, 430, 261, 938, 1276, 8706, 1046, 1488, 9506, 202, 10, 10, 261, 261, 261, 4820, 1046, 1488, 13, 938, 262, 18, 21336, 3259, 12, 262, 1276, 4477, 7786, 1964, 3259, 262, 262, 202, 202, 95, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 2463, 938, 1276, 13453, 1964, 3259, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 2305, 1488, 12, 1033, 938, 262, 202, 95, 202, 202, 430, 261, 938, 1276, 8706, 1046, 1488, 9506, 202, 10, 10, 261, 261, 261, 4820, 1046, 1488, 13, 938, 262, 18, 21336, 3259, 12, 262, 1276, 4477, 7786, 1964, 3259, 262, 262, 202, 202, 95, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 2463, 938, 1276, 13453, 1964, 3259, 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 ]
else if (myLexer.getTokenType() == TokenType.IDENTIFIER) {
else if (myLexer.getTokenType() == TokenTypeEx.IDENTIFIER) {
private String parseAspectJPattern() throws ParsingException { StringBuffer pattern = new StringBuffer(); boolean wasIdentifier = false; while (true) { if (myLexer.getTokenType() == TokenType.DOT) { pattern.append('.'); wasIdentifier = false; } else if (myLexer.getTokenType() == TokenType.ASTERISK) { pattern.append('*'); wasIdentifier = false; } else if (myLexer.getTokenType() == TokenType.IDENTIFIER) { if (wasIdentifier) error("Unexpected " + getTokenText()); wasIdentifier = true; pattern.append(getTokenText()); } else { break; } myLexer.advance(); } if (pattern.length() == 0) { error("Package pattern expected"); } return pattern.toString(); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/7cc49f57fd75f032b80560ecde54c4a99bda9ac7/PackageSetFactoryImpl.java/buggy/source/com/intellij/packageDependencies/packageSet/PackageSetFactoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 1109, 17468, 46, 3234, 1435, 1216, 19761, 503, 288, 1377, 6674, 1936, 273, 394, 6674, 5621, 1377, 1250, 1703, 3004, 273, 629, 31, 1377, 1323, 261, 3767, 13, 288, 3639, 309, 261, 4811, 13356, 18, 588, 28675, 1435, 422, 18794, 18, 17591, 13, 288, 1850, 1936, 18, 6923, 2668, 1093, 1769, 1850, 1703, 3004, 273, 629, 31, 3639, 289, 3639, 469, 309, 261, 4811, 13356, 18, 588, 28675, 1435, 422, 18794, 18, 23638, 5127, 47, 13, 288, 1850, 1936, 18, 6923, 2668, 4035, 1769, 1850, 1703, 3004, 273, 629, 31, 3639, 289, 3639, 469, 309, 261, 4811, 13356, 18, 588, 28675, 1435, 422, 18794, 424, 18, 16606, 13, 288, 1850, 309, 261, 17416, 3004, 13, 555, 2932, 7762, 315, 397, 9162, 1528, 10663, 1850, 1703, 3004, 273, 638, 31, 1850, 1936, 18, 6923, 12, 588, 1345, 1528, 10663, 3639, 289, 3639, 469, 288, 1850, 898, 31, 3639, 289, 3639, 3399, 13356, 18, 361, 5882, 5621, 1377, 289, 1377, 309, 261, 4951, 18, 2469, 1435, 422, 374, 13, 288, 3639, 555, 2932, 2261, 1936, 2665, 8863, 1377, 289, 1377, 327, 1936, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 1109, 17468, 46, 3234, 1435, 1216, 19761, 503, 288, 1377, 6674, 1936, 273, 394, 6674, 5621, 1377, 1250, 1703, 3004, 273, 629, 31, 1377, 1323, 261, 3767, 13, 288, 3639, 309, 261, 4811, 13356, 18, 588, 28675, 1435, 422, 18794, 18, 17591, 13, 288, 1850, 1936, 18, 6923, 2668, 1093, 1769, 1850, 1703, 3004, 273, 629, 31, 3639, 289, 3639, 469, 309, 261, 4811, 13356, 18, 588, 28675, 1435, 422, 18794, 18, 23638, 5127, 47, 13, 288, 1850, 1936, 18, 6923, 2668, 4035, 1769, 1850, 1703, 3004, 273, 629, 31, 3639, 289, 3639, 469, 309, 261, 4811, 13356, 18, 588, 28675, 1435, 422, 18794, 424, 18, 16606, 13, 288, 1850, 309, 261, 17416, 3004, 13, 555, 2 ]
pc += 2;
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } SecurityController sc = idata.securityController; Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = idata.securityDomain; try { return sc.callWithDomain(idata.securityDomain, cx, fnOrScript, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = idata.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Kit.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[VAR_SHFT + i] = arg; if (arg == DBL_MRK) { sDbl[VAR_SHFT + i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); } if (idata.itsFunctionType != 0) { InterpretedFunction f = (InterpretedFunction)fnOrScript; if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { createFunction(cx, scope, fdata, idata.itsFromEvalCode); } } } // Wrapped regexps for functions are stored in InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution Scriptable[] scriptRegExps = null; boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; cx.interpreterData = idata; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; int pc = 0; int pcPrevBranch = 0; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; String[] strings = idata.itsStringTable; String stringReg = null; Loop: for (;;) { int pcJump; try { int op = 0xFF & iCode[pc++]; switch (op) { // Back indent to ease imlementation reading case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal with exceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Kit.codeBug(); pcJump = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EvaluatorException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pcJump = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pcJump >= 0) { // Has catch block doCatch = true; } } if (pcJump < 0) { pcJump = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pcJump < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Kit.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } if (doCatch) { stackTop = STACK_SHFT - 1; int exLocal = idata.itsExceptionTable[ handlerOffset + EXCEPTION_LOCAL_SLOT]; stack[LOCAL_SHFT + exLocal] = ScriptRuntime.getCatchObject( cx, scope, javaException); } else { stackTop = STACK_SHFT; // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; // go to generic jump code break; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int sourceLine = getShort(iCode, pc); throw new JavaScriptException(value, idata.itsSourceFile, sourceLine); } case Token.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl <= lDbl); } else { valBln = ScriptRuntime.cmp_LE(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl <= rDbl); } else { valBln = ScriptRuntime.cmp_LE(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl < lDbl); } else { valBln = ScriptRuntime.cmp_LT(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl < rDbl); } else { valBln = ScriptRuntime.cmp_LT(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.IFNE : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { pc += 2; continue Loop; } pcJump = getTarget(iCode, pc); break; } case Token.IFEQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { pc += 2; continue Loop; } pcJump = getTarget(iCode, pc); break; } case Icode_IFEQ_POP : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { pc += 2; continue Loop; } stack[stackTop] = null; --stackTop; pcJump = getTarget(iCode, pc); break; } case Token.GOTO : pcJump = getTarget(iCode, pc); break; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; pcJump = getTarget(iCode, pc); break; case Icode_RETSUB : { int slot = (iCode[pc] & 0xFF); Object value = stack[LOCAL_SHFT + slot]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; pcJump = getJavaCatchPC(iCode); } else { // Normal return from GOSUB pcJump = (int)sDbl[LOCAL_SHFT + slot]; } break; } case Token.POP : stack[stackTop] = null; stackTop--; continue Loop; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; continue Loop; case Icode_DUPSECOND : { stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stackTop++; continue Loop; } case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; continue Loop; } case Token.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; continue Loop; case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_POPV : break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; continue Loop; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; continue Loop; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; continue Loop; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; continue Loop; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; continue Loop; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; continue Loop; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; continue Loop; } case Token.ADD : --stackTop; do_add(stack, sDbl, stackTop); continue Loop; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; continue Loop; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; continue Loop; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; continue Loop; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; continue Loop; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; continue Loop; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; continue Loop; } case Token.NOT : { stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; continue Loop; } case Icode_LOAD_STR1: stringReg = strings[0xFF & iCode[pc]]; ++pc; continue Loop; case Icode_LOAD_STR2: stringReg = strings[getIndex(iCode, pc)]; pc += 2; continue Loop; case Icode_LOAD_STR4: stringReg = strings[getInt(iCode, pc)]; pc += 4; continue Loop; case Token.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(scope, stringReg); continue Loop; case Token.SETNAME : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, stringReg); continue Loop; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); continue Loop; } case Token.GETPROP : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); continue Loop; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); continue Loop; } case Token.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; continue Loop; case Token.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; continue Loop; case Icode_PROPINC : case Icode_PROPDEC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecr(lhs, name, scope, op == Icode_PROPINC); continue Loop; } case Icode_ELEMINC : case Icode_ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecrElem(lhs, rhs, scope, op == Icode_ELEMINC); continue Loop; } case Token.LOCAL_SAVE : { int slot = (iCode[pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; --stackTop; ++pc; continue Loop; } case Token.LOCAL_LOAD : { int slot = (iCode[pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; ++pc; continue Loop; } case Icode_CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); int count = getIndex(iCode, pc + 4); stackTop -= count; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, count); Object functionThis; if (isNew) { functionThis = null; } else { functionThis = stack[stackTop]; if (functionThis == DBL_MRK) { functionThis = doubleWrap(sDbl[stackTop]); } --stackTop; } Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, isNew, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); instructionCount = cx.instructionCount; pc += 6; continue Loop; } case Token.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc); stackTop -= count; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, count, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = stringReg; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 2; continue Loop; } case Token.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc); stackTop -= count; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, count, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = stringReg; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 2; continue Loop; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); continue Loop; } case Icode_TYPEOFNAME : stack[++stackTop] = ScriptRuntime.typeofName(scope, stringReg); continue Loop; case Icode_NAME_AND_THIS : { boolean skipGetThis = (0 != iCode[pc]); stackTop = do_nameAndThis(stack, stackTop, scope, stringReg, skipGetThis); ++pc; continue Loop; } case Token.STRING : stack[++stackTop] = stringReg; continue Loop; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc); pc += 2; continue Loop; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc); pc += 4; continue Loop; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[getIndex(iCode, pc)]; pc += 2; continue Loop; case Token.NAME : stack[++stackTop] = ScriptRuntime.name(scope, stringReg); continue Loop; case Icode_NAMEINC : case Icode_NAMEDEC : stack[++stackTop] = ScriptRuntime.postIncrDecr(scope, stringReg, op == Icode_NAMEINC); continue Loop; case Token.SETVAR : { int slot = (iCode[pc] & 0xFF); if (!useActivationVars) { stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, slot, val); } ++pc; continue Loop; } case Token.GETVAR : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; } else { stack[stackTop] = activationGet(fnOrScript, scope, slot); } ++pc; continue Loop; } case Icode_VARINC : case Icode_VARDEC : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { Object val = stack[VAR_SHFT + slot]; stack[stackTop] = val; double d; if (val == DBL_MRK) { d = sDbl[VAR_SHFT + slot]; sDbl[stackTop] = d; } else { d = ScriptRuntime.toNumber(val); } stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = (op == Icode_VARINC) ? d + 1.0 : d - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; double d = ScriptRuntime.toNumber(val); val = doubleWrap((op == Icode_VARINC) ? d + 1.0 : d - 1.0); activationPut(fnOrScript, scope, slot, val); } ++pc; continue Loop; } case Token.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; continue Loop; case Token.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; continue Loop; case Token.NULL : stack[++stackTop] = null; continue Loop; case Token.THIS : stack[++stackTop] = thisObj; continue Loop; case Token.THISFN : stack[++stackTop] = fnOrScript; continue Loop; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; continue Loop; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; continue Loop; case Token.UNDEFINED : stack[++stackTop] = Undefined.instance; continue Loop; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; continue Loop; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; continue Loop; case Token.CATCH_SCOPE : stack[stackTop] = ScriptRuntime.newCatchScope(stringReg, stack[stackTop]); continue Loop; case Token.ENUM_INIT : { int slot = (iCode[pc] & 0xFF); Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.enumInit(lhs, scope); ++pc; continue Loop; } case Token.ENUM_NEXT : case Token.ENUM_ID : { int slot = (iCode[pc] & 0xFF); Object val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val); ++pc; continue Loop; } case Icode_PUSH_PARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[++stackTop] = ScriptRuntime.getParent(lhs); continue Loop; } case Icode_GETPROTO : case Icode_GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_GETPROTO) { val = ScriptRuntime.getProto(lhs, scope); } else { val = ScriptRuntime.getParent(lhs, scope); } stack[stackTop] = val; continue Loop; } case Icode_SETPROTO : case Icode_SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_SETPROTO) { val = ScriptRuntime.setProto(lhs, rhs, scope); } else { val = ScriptRuntime.setParent(lhs, rhs, scope); } stack[stackTop] = val; continue Loop; } case Icode_SCOPE : stack[++stackTop] = scope; continue Loop; case Icode_CLOSURE : { int i = getIndex(iCode, pc); InterpreterData closureData = idata.itsNestedFunctions[i]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); pc += 2; continue Loop; } case Token.REGEXP : { int i = getIndex(iCode, pc); Scriptable regexp; if (idata.itsFunctionType != 0) { regexp = ((InterpretedFunction)fnOrScript).itsRegExps[i]; } else { if (scriptRegExps == null) { scriptRegExps = wrapRegExps(cx, scope, idata); } regexp = scriptRegExps[i]; } stack[++stackTop] = regexp; pc += 2; continue Loop; } case Icode_LITERAL_NEW : { int i = getInt(iCode, pc); ++stackTop; stack[stackTop] = new Object[i]; sDbl[stackTop] = 0; pc += 4; continue Loop; } case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; continue Loop; } case Token.ARRAYLIT : case Token.OBJECTLIT : { int offset = getInt(iCode, pc); Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.ARRAYLIT) { int[] skipIndexces = null; if (offset >= 0) { skipIndexces = (int[])idata.literalIds[offset]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } else { Object[] ids = (Object[])idata.literalIds[offset]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } stack[stackTop] = val; pc += 4; continue Loop; } case Icode_LINE : { cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; continue Loop; } default : { dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1)); } } // end of interpreter switch // This should be reachable only for jump implementation if (instructionThreshold != 0) { instructionCount += pc - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } pcPrevBranch = pcJump; } pc = pcJump; continue Loop; } // end of interpreter try catch (Throwable ex) { pcJump = getJavaCatchPC(iCode); if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } pcPrevBranch = pcJump; } javaException = ex; exceptionPC = pc - 1; pc = pcJump; continue Loop; } } // end of interpreter loop cx.interpreterData = savedData; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsNeedsActivation || debuggerFrame != null) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } if (javaException != null) { if (javaException instanceof JavaScriptException) { throw (JavaScriptException)javaException; } else if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/c3a64d2b269a8284dd3145271f1e6f8250800383/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 612, 396, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 888, 18, 1991, 1190, 3748, 12, 350, 396, 18, 7462, 3748, 16, 9494, 16, 2295, 1162, 3651, 16, 29159, 2146, 16, 15261, 16, 833, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 374, 31, 3639, 727, 509, 943, 5555, 273, 612, 396, 18, 1282, 2747, 5555, 31, 3639, 727, 509, 15234, 67, 2664, 4464, 273, 8350, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 2 ]
Locale currentLocale = iwc.getCurrentLocale(),chosenLocale;
Locale currentLocale = iwc.getCurrentLocale(); Locale chosenLocale;
public void main(IWContext iwc) throws Exception { /** * @todo permission */ _isAdmin = true; //AccessControl.hasEditPermission(this,iwc); _iwb = iwc.getIWMainApplication().getBundle(Builderaware.IW_CORE_BUNDLE_IDENTIFIER); _iwrb = getResourceBundle(iwc); addTitle(_iwrb.getLocalizedString("calendar_type_editor","Calendar Type Editor")); Locale currentLocale = iwc.getCurrentLocale(),chosenLocale; String sLocaleId = iwc.getParameter(CalendarParameters.PARAMETER_LOCALE_DROP); int iLocaleId = -1; if(sLocaleId!= null){ iLocaleId = Integer.parseInt(sLocaleId); chosenLocale = TextFinder.getLocale(iLocaleId); } else{ chosenLocale = currentLocale; iLocaleId = ICLocaleBusiness.getLocaleId(chosenLocale); } if ( _isAdmin ) { processForm(iwc, iLocaleId); } else { noAccess(); } }
13538 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13538/f16099120ed874fc7829c1d995d39e2b78aa77b7/CalendarTypeEditor.java/clean/src/java/com/idega/block/calendar/presentation/CalendarTypeEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2774, 12, 45, 59, 1042, 25522, 71, 13, 1216, 1185, 288, 565, 1783, 377, 380, 632, 9012, 4132, 377, 1195, 565, 389, 291, 4446, 273, 638, 31, 368, 16541, 18, 5332, 4666, 5041, 12, 2211, 16, 22315, 71, 1769, 565, 389, 77, 9464, 273, 25522, 71, 18, 588, 45, 59, 6376, 3208, 7675, 588, 3405, 12, 1263, 30799, 18, 45, 59, 67, 15715, 67, 30245, 67, 16606, 1769, 565, 389, 22315, 6731, 273, 5070, 3405, 12, 22315, 71, 1769, 565, 527, 4247, 24899, 22315, 6731, 18, 588, 2042, 1235, 780, 2932, 11650, 67, 723, 67, 9177, 15937, 7335, 1412, 18451, 7923, 1769, 565, 6458, 783, 3916, 273, 25522, 71, 18, 588, 3935, 3916, 5621, 6458, 10447, 3916, 31, 282, 514, 272, 3916, 548, 273, 25522, 71, 18, 588, 1662, 12, 7335, 2402, 18, 9819, 67, 25368, 67, 18768, 1769, 565, 509, 277, 3916, 548, 273, 300, 21, 31, 565, 309, 12, 87, 3916, 548, 5, 33, 446, 15329, 1377, 277, 3916, 548, 273, 2144, 18, 2670, 1702, 12, 87, 3916, 548, 1769, 1377, 10447, 3916, 273, 3867, 8441, 18, 588, 3916, 12, 77, 3916, 548, 1769, 565, 289, 565, 469, 95, 1377, 10447, 3916, 273, 783, 3916, 31, 1377, 277, 3916, 548, 273, 26899, 3916, 13423, 18, 588, 3916, 548, 12, 343, 8918, 3916, 1769, 565, 289, 565, 309, 261, 389, 291, 4446, 262, 288, 1377, 1207, 1204, 12, 22315, 71, 16, 277, 3916, 548, 1769, 565, 289, 565, 469, 288, 1377, 1158, 1862, 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, 2774, 12, 45, 59, 1042, 25522, 71, 13, 1216, 1185, 288, 565, 1783, 377, 380, 632, 9012, 4132, 377, 1195, 565, 389, 291, 4446, 273, 638, 31, 368, 16541, 18, 5332, 4666, 5041, 12, 2211, 16, 22315, 71, 1769, 565, 389, 77, 9464, 273, 25522, 71, 18, 588, 45, 59, 6376, 3208, 7675, 588, 3405, 12, 1263, 30799, 18, 45, 59, 67, 15715, 67, 30245, 67, 16606, 1769, 565, 389, 22315, 6731, 273, 5070, 3405, 12, 22315, 71, 1769, 565, 527, 4247, 24899, 22315, 6731, 18, 588, 2042, 1235, 780, 2932, 11650, 67, 723, 67, 9177, 15937, 7335, 1412, 18451, 7923, 1769, 565, 6458, 783, 3916, 273, 25522, 71, 18, 588, 3935, 3916, 5621, 6458, 10447, 2 ]
catch ( ReleaseExecutionException e )
catch ( ReleaseFailureException e )
public void testMissingUrl() throws Exception { ReleaseConfiguration releaseConfiguration = new ReleaseConfiguration(); releaseConfiguration.setReactorProjects( Collections.singletonList( createProject( "1.0-SNAPSHOT" ) ) ); try { phase.execute( releaseConfiguration ); fail( "Should have failed to execute" ); } catch ( ReleaseExecutionException e ) { assertNull( "Check no cause", e.getCause() ); } try { phase.simulate( releaseConfiguration ); fail( "Should have failed to simulate" ); } catch ( ReleaseExecutionException e ) { assertNull( "Check no cause", e.getCause() ); } }
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/d5c32346773fdffbb7d1fb61552050c9d9bfa5f5/CheckPomPhaseTest.java/buggy/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase/CheckPomPhaseTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 4841, 1489, 1435, 3639, 1216, 1185, 565, 288, 3639, 10819, 1750, 3992, 1750, 273, 394, 10819, 1750, 5621, 3639, 3992, 1750, 18, 542, 426, 3362, 15298, 12, 5737, 18, 24487, 682, 12, 752, 4109, 12, 315, 21, 18, 20, 17, 13653, 31667, 6, 262, 262, 11272, 3639, 775, 3639, 288, 5411, 6855, 18, 8837, 12, 3992, 1750, 11272, 5411, 2321, 12, 315, 14309, 1240, 2535, 358, 1836, 6, 11272, 3639, 289, 3639, 1044, 261, 10819, 14389, 425, 262, 3639, 288, 5411, 1815, 2041, 12, 315, 1564, 1158, 4620, 3113, 425, 18, 588, 10683, 1435, 11272, 3639, 289, 3639, 775, 3639, 288, 5411, 6855, 18, 9812, 6243, 12, 3992, 1750, 11272, 5411, 2321, 12, 315, 14309, 1240, 2535, 358, 20089, 6, 11272, 3639, 289, 3639, 1044, 261, 10819, 14389, 425, 262, 3639, 288, 5411, 1815, 2041, 12, 315, 1564, 1158, 4620, 3113, 425, 18, 588, 10683, 1435, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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542, 426, 3362, 15298, 12, 5737, 18, 24487, 682, 12, 752, 4109, 12, 315, 21, 18, 20, 17, 13653, 31667, 6, 262, 262, 11272, 3639, 775, 3639, 288, 5411, 6855, 18, 8837, 12, 3992, 1750, 11272, 5411, 2321, 12, 315, 14309, 1240, 2535, 358, 1836, 6, 11272, 3639, 289, 3639, 1044, 261, 10819, 14389, 425, 262, 3639, 288, 5411, 1815, 2041, 12, 315, 1564, 1158, 4620, 3113, 425, 18, 588, 10683, 1435, 11272, 3639, 289, 3639, 775, 3639, 288, 5411, 6855, 18, 9812, 6243, 12, 3992, 1750, 11272, 5411, 2321, 12, 315, 14309, 2 ]
private Node parseExpression( final String data ) throws ParseException
private String parseExpression( final String expression ) throws ParseException
private Node parseExpression( final String data ) throws ParseException { final Node root = parse( "void MyFunction() { " + data + "; }" ); final Node child = assertIsBranch( root, AstFunctionDefinition.class ); assertEquals( 3, child.jjtGetNumChildren() ); assertIsLeaf( child.jjtGetChild( 0 ), AstFunctionName.class ); assertIsLeaf( child.jjtGetChild( 1 ), AstFunctionParameters.class ); final Node body = child.jjtGetChild( 2 ); assertEquals( AstFunctionBody.class, body.getClass() ); assertEquals( 1, body.jjtGetNumChildren() ); final Node expression = body.jjtGetChild( 0 ); assertEquals( AstExpressionStatement.class, expression.getClass() ); assertEquals( 1, expression.jjtGetNumChildren() ); return expression.jjtGetChild( 0 ); }
47917 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47917/0fb5400407e5b1c31b6afdeee1fb00ec381af173/AstTest.java/buggy/src/test/java/cppast/AstTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 30838, 12, 727, 514, 2652, 262, 1216, 10616, 565, 288, 3639, 727, 2029, 1365, 273, 1109, 12, 315, 6459, 8005, 2083, 1435, 288, 315, 397, 501, 397, 13636, 22837, 11272, 3639, 727, 2029, 1151, 273, 1815, 2520, 7108, 12, 1365, 16, 16614, 2083, 1852, 18, 1106, 11272, 3639, 1815, 8867, 12, 890, 16, 1151, 18, 78, 78, 88, 967, 2578, 4212, 1435, 11272, 3639, 1815, 2520, 9858, 12, 1151, 18, 78, 78, 88, 967, 1763, 12, 374, 262, 16, 16614, 25258, 18, 1106, 11272, 3639, 1815, 2520, 9858, 12, 1151, 18, 78, 78, 88, 967, 1763, 12, 404, 262, 16, 16614, 2083, 2402, 18, 1106, 11272, 3639, 727, 2029, 1417, 273, 1151, 18, 78, 78, 88, 967, 1763, 12, 576, 11272, 3639, 1815, 8867, 12, 16614, 2083, 2250, 18, 1106, 16, 1417, 18, 588, 797, 1435, 11272, 3639, 1815, 8867, 12, 404, 16, 1417, 18, 78, 78, 88, 967, 2578, 4212, 1435, 11272, 3639, 727, 2029, 2652, 273, 1417, 18, 78, 78, 88, 967, 1763, 12, 374, 11272, 3639, 1815, 8867, 12, 16614, 2300, 3406, 18, 1106, 16, 2652, 18, 588, 797, 1435, 11272, 3639, 1815, 8867, 12, 404, 16, 2652, 18, 78, 78, 88, 967, 2578, 4212, 1435, 11272, 3639, 327, 2652, 18, 78, 78, 88, 967, 1763, 12, 374, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 30838, 12, 727, 514, 2652, 262, 1216, 10616, 565, 288, 3639, 727, 2029, 1365, 273, 1109, 12, 315, 6459, 8005, 2083, 1435, 288, 315, 397, 501, 397, 13636, 22837, 11272, 3639, 727, 2029, 1151, 273, 1815, 2520, 7108, 12, 1365, 16, 16614, 2083, 1852, 18, 1106, 11272, 3639, 1815, 8867, 12, 890, 16, 1151, 18, 78, 78, 88, 967, 2578, 4212, 1435, 11272, 3639, 1815, 2520, 9858, 12, 1151, 18, 78, 78, 88, 967, 1763, 12, 374, 262, 16, 16614, 25258, 18, 1106, 11272, 3639, 1815, 2520, 9858, 12, 1151, 18, 78, 78, 88, 967, 1763, 12, 404, 262, 16, 16614, 2083, 2402, 18, 1106, 11272, 3639, 727, 2029, 1417, 273, 1151, 18, 78, 78, 88, 2 ]
} else if (rubyClass.getInstanceVariables().get(id) != null) { return (RubyObject)rubyClass.getInstanceVariables().get(id); } cbase = cbase.nd_next(); } return ((RubyModule)cref.nd_clss()).getConstant(id);
protected RubyObject getConstant(NODE cref, RubyId id, RubyObject self) { NODE cbase = cref; // while (cbase != null && cbase.nd_next() != null) {// RubyObject rubyClass = (RubyObject)cbase.nd_clss();// if (rubyClass.isNil()) { return self.getRubyClass().getConstant(id);// } else if (rubyClass.getInstanceVariables().get(id) != null) {// return (RubyObject)rubyClass.getInstanceVariables().get(id);// }// cbase = cbase.nd_next();// }// return ((RubyModule)cref.nd_clss()).getConstant(id); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/RubyInterpreter.java/clean/org/jruby/interpreter/RubyInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 19817, 921, 24337, 12, 8744, 1519, 74, 16, 19817, 548, 612, 16, 19817, 921, 365, 13, 2618, 469, 309, 261, 27768, 797, 18, 588, 1442, 6158, 7675, 588, 12, 350, 13, 480, 446, 13, 288, 327, 261, 54, 10340, 921, 13, 27768, 797, 18, 588, 1442, 6158, 7675, 588, 12, 350, 1769, 289, 276, 1969, 273, 276, 1969, 18, 4880, 67, 4285, 5621, 289, 327, 14015, 54, 10340, 3120, 13, 71, 1734, 18, 4880, 67, 830, 1049, 1435, 2934, 588, 6902, 12, 350, 1769, 282, 11922, 276, 1969, 273, 1519, 74, 31, 97, 469, 309, 261, 27768, 797, 18, 588, 1442, 6158, 7675, 588, 12, 350, 13, 480, 446, 13, 288, 327, 261, 54, 10340, 921, 13, 27768, 797, 18, 588, 1442, 6158, 7675, 588, 12, 350, 1769, 289, 276, 1969, 273, 276, 1969, 18, 4880, 67, 4285, 5621, 289, 327, 14015, 54, 10340, 3120, 13, 71, 1734, 18, 4880, 67, 830, 1049, 1435, 2934, 588, 6902, 12, 350, 1769, 282, 19363, 469, 309, 261, 27768, 797, 18, 588, 1442, 6158, 7675, 588, 12, 350, 13, 480, 446, 13, 288, 327, 261, 54, 10340, 921, 13, 27768, 797, 18, 588, 1442, 6158, 7675, 588, 12, 350, 1769, 289, 276, 1969, 273, 276, 1969, 18, 4880, 67, 4285, 5621, 289, 327, 14015, 54, 10340, 3120, 13, 71, 1734, 18, 4880, 67, 830, 1049, 1435, 2934, 588, 6902, 12, 350, 1769, 282, 1323, 261, 71, 1969, 480, 446, 597, 276, 1969, 18, 4880, 67, 4285, 1435, 480, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 19817, 921, 24337, 12, 8744, 1519, 74, 16, 19817, 548, 612, 16, 19817, 921, 365, 13, 2618, 469, 309, 261, 27768, 797, 18, 588, 1442, 6158, 7675, 588, 12, 350, 13, 480, 446, 13, 288, 327, 261, 54, 10340, 921, 13, 27768, 797, 18, 588, 1442, 6158, 7675, 588, 12, 350, 1769, 289, 276, 1969, 273, 276, 1969, 18, 4880, 67, 4285, 5621, 289, 327, 14015, 54, 10340, 3120, 13, 71, 1734, 18, 4880, 67, 830, 1049, 1435, 2934, 588, 6902, 12, 350, 1769, 282, 11922, 276, 1969, 273, 1519, 74, 31, 97, 469, 309, 261, 27768, 797, 18, 588, 1442, 6158, 7675, 588, 12, 350, 13, 480, 446, 13, 288, 327, 261, 54, 10340, 921, 13, 2 ]
protected IStatus doUndo(IProgressMonitor monitor, IAdaptable info, IUndoableOperation operation, boolean flushOnError) throws ExecutionException { IStatus status = getUndoApproval(operation, info); if (status.isOK()) { notifyAboutToUndo(operation); try { status = operation.undo(monitor, info); } catch (OperationCanceledException e) { status = Status.CANCEL_STATUS; } catch (ExecutionException e) { notifyNotOK(operation); if (DEBUG_OPERATION_HISTORY_UNEXPECTED) { System.out.print("OPERATIONHISTORY >>> ExecutionException while undoing "); //$NON-NLS-1$ System.out.print(operation); System.out.println(); } throw e; } catch (Exception e) { notifyNotOK(operation); if (DEBUG_OPERATION_HISTORY_UNEXPECTED) { System.out.print("OPERATIONHISTORY >>> Exception while undoing "); //$NON-NLS-1$ System.out.print(operation); System.out.println(); } throw new ExecutionException( "While undoing the operation, an exception occurred", e); //$NON-NLS-1$ } } // if successful, the operation is removed from the undo history and // placed in the redo history. if (status.isOK()) { undoList.remove(operation); // Only add the operation to the redo stack if it can indeed be redone. // This conservatism is added to support the integration of existing // frameworks (such as Refactoring) that produce undo and redo behavior // on the fly and cannot guarantee that a successful undo means a // successful redo will be available. // See bug #84444 if (operation.canRedo() && checkRedoLimit(operation)) { redoList.add(operation); } // notification occurs after the undo and redo histories are // adjusted notifyUndone(operation); } else { notifyNotOK(operation); if (flushOnError && status.getSeverity() == IStatus.ERROR) { remove(operation); } } return status; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/3bad50e6f68ff26b260565b7df8938cfe4826b83/DefaultOperationHistory.java/clean/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 1482, 741, 31224, 12, 45, 5491, 7187, 6438, 16, 467, 13716, 429, 1123, 16, 467, 31224, 429, 2988, 1674, 16, 1082, 202, 6494, 3663, 11427, 13, 1216, 20205, 288, 202, 202, 45, 1482, 1267, 273, 10833, 2896, 23461, 12, 7624, 16, 1123, 1769, 202, 202, 430, 261, 2327, 18, 291, 3141, 10756, 288, 1082, 202, 12336, 24813, 774, 31224, 12, 7624, 1769, 1082, 202, 698, 288, 9506, 202, 2327, 273, 1674, 18, 31226, 12, 10259, 16, 1123, 1769, 1082, 202, 97, 1044, 261, 2988, 23163, 503, 425, 13, 288, 9506, 202, 2327, 273, 2685, 18, 25268, 67, 8608, 31, 1082, 202, 97, 1044, 261, 14576, 425, 13, 288, 9506, 202, 12336, 1248, 3141, 12, 7624, 1769, 9506, 202, 430, 261, 9394, 67, 22040, 67, 31746, 67, 2124, 27409, 13, 288, 6862, 202, 3163, 18, 659, 18, 1188, 2932, 22040, 31746, 4080, 20205, 1323, 15436, 310, 315, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4405, 202, 3163, 18, 659, 18, 1188, 12, 7624, 1769, 6862, 202, 3163, 18, 659, 18, 8222, 5621, 9506, 202, 97, 9506, 202, 12849, 425, 31, 1082, 202, 97, 1044, 261, 503, 425, 13, 288, 9506, 202, 12336, 1248, 3141, 12, 7624, 1769, 9506, 202, 430, 261, 9394, 67, 22040, 67, 31746, 67, 2124, 27409, 13, 288, 6862, 202, 3163, 18, 659, 18, 1188, 2932, 22040, 31746, 4080, 1185, 1323, 15436, 310, 315, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4405, 202, 3163, 18, 659, 18, 1188, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 1482, 741, 31224, 12, 45, 5491, 7187, 6438, 16, 467, 13716, 429, 1123, 16, 467, 31224, 429, 2988, 1674, 16, 1082, 202, 6494, 3663, 11427, 13, 1216, 20205, 288, 202, 202, 45, 1482, 1267, 273, 10833, 2896, 23461, 12, 7624, 16, 1123, 1769, 202, 202, 430, 261, 2327, 18, 291, 3141, 10756, 288, 1082, 202, 12336, 24813, 774, 31224, 12, 7624, 1769, 1082, 202, 698, 288, 9506, 202, 2327, 273, 1674, 18, 31226, 12, 10259, 16, 1123, 1769, 1082, 202, 97, 1044, 261, 2988, 23163, 503, 425, 13, 288, 9506, 202, 2327, 273, 2685, 18, 25268, 67, 8608, 31, 1082, 202, 97, 1044, 261, 14576, 425, 13, 288, 9506, 202, 12336, 1248, 3141, 12, 7624, 2 ]
sleep(500);
sleep(200);
private void restartTelefonDaemon() { telnet.write("killall telefon"); telnet.write("telefon &>&1"); try { sleep(500); } catch (InterruptedException ie) { Debug.msg("Failed to sleep in restartTelefonDaemon()"); } Debug.msg("Telefon Daemon restarted."); }
7476 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7476/050aa7485f76aa69e4800e7821b517892a2d1860/TelnetListener.java/clean/jfritz/src/de/moonflower/jfritz/utils/network/TelnetListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 7870, 56, 6516, 74, 265, 12858, 1435, 288, 202, 202, 19261, 2758, 18, 2626, 2932, 16418, 454, 268, 6516, 74, 265, 8863, 202, 202, 19261, 2758, 18, 2626, 2932, 29170, 74, 265, 473, 22393, 21, 8863, 202, 202, 698, 288, 1082, 202, 19607, 12, 12483, 1769, 202, 202, 97, 1044, 261, 24485, 503, 9228, 13, 288, 1082, 202, 2829, 18, 3576, 2932, 2925, 358, 5329, 316, 7870, 56, 6516, 74, 265, 12858, 1435, 8863, 202, 202, 97, 202, 202, 2829, 18, 3576, 2932, 56, 6516, 74, 265, 13054, 28893, 1199, 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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6516, 74, 265, 12858, 1435, 288, 202, 202, 19261, 2758, 18, 2626, 2932, 16418, 454, 268, 6516, 74, 265, 8863, 202, 202, 19261, 2758, 18, 2626, 2932, 29170, 74, 265, 473, 22393, 21, 8863, 202, 202, 698, 288, 1082, 202, 19607, 12, 12483, 1769, 202, 202, 97, 1044, 261, 24485, 503, 9228, 13, 288, 1082, 202, 2829, 18, 3576, 2932, 2925, 358, 5329, 316, 7870, 56, 6516, 74, 265, 12858, 1435, 8863, 202, 202, 97, 202, 202, 2829, 18, 3576, 2932, 56, 6516, 74, 265, 13054, 28893, 1199, 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 ]
heteroCombo.setOpaque(false); heteroCombo.addItemListener( new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent ev) {
java.awt.event.ItemListener listener = new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent ev) { frame.modelChanged(); } };
public ModelPanel(BeautiFrame parent) { super(12, 18); this.frame = parent; setOpaque(false); substUnlinkCheck.setOpaque(false); substUnlinkCheck.setEnabled(false); heteroUnlinkCheck.setOpaque(false); heteroUnlinkCheck.setEnabled(false); freqsUnlinkCheck.setOpaque(false); freqsUnlinkCheck.setEnabled(false); java.awt.event.ItemListener listener = new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent ev) { frame.modelChanged(); } }; nucSubstCombo.setOpaque(false); nucSubstCombo.addItemListener(listener); aaSubstCombo.setOpaque(false); aaSubstCombo.addItemListener(listener); heteroCombo.setOpaque(false); heteroCombo.addItemListener( new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent ev) { frame.modelChanged(); if (heteroCombo.getSelectedIndex() == 1 || heteroCombo.getSelectedIndex() == 3) { gammaCatLabel.setEnabled(true); gammaCatCombo.setEnabled(true); } else { gammaCatLabel.setEnabled(false); gammaCatCombo.setEnabled(false); } } } ); gammaCatCombo.setOpaque(false); gammaCatCombo.addItemListener(listener); codingCheck.setOpaque(false); codingCheck.addItemListener( new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent ev) { frame.modelChanged(); if (codingCheck.isSelected()) { substUnlinkCheck.setEnabled(true); heteroUnlinkCheck.setEnabled(true); freqsUnlinkCheck.setEnabled(true); } else { substUnlinkCheck.setEnabled(false); substUnlinkCheck.setSelected(false); heteroUnlinkCheck.setEnabled(false); heteroUnlinkCheck.setSelected(false); freqsUnlinkCheck.setEnabled(false); freqsUnlinkCheck.setSelected(false); } } } ); substUnlinkCheck.addItemListener(listener); heteroUnlinkCheck.addItemListener(listener); freqsUnlinkCheck.addItemListener(listener); fixedSubstitutionRateCheck.setOpaque(false); fixedSubstitutionRateCheck.addItemListener( new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent ev) { boolean fixed = fixedSubstitutionRateCheck.isSelected(); substitutionRateLabel.setEnabled(fixed); substitutionRateField.setEnabled(fixed); hasSetFixedSubstitutionRate = true; frame.modelChanged(); } } ); substitutionRateField.addKeyListener(new java.awt.event.KeyAdapter() { public void keyTyped(java.awt.event.KeyEvent ev) { frame.mcmcChanged(); }}); clockModelCombo.setOpaque(false); clockModelCombo.addItemListener(listener); setupPanel(); }
51824 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51824/a4d0cfc2f6b6ccb9c713d35784f5069691183ae8/ModelPanel.java/buggy/src/dr/app/beauti/ModelPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3164, 5537, 12, 1919, 5854, 77, 3219, 982, 13, 288, 202, 202, 9565, 12, 2138, 16, 6549, 1769, 202, 202, 2211, 18, 3789, 273, 982, 31, 202, 202, 542, 3817, 14886, 12, 5743, 1769, 202, 202, 1717, 334, 984, 1232, 1564, 18, 542, 3817, 14886, 12, 5743, 1769, 202, 202, 1717, 334, 984, 1232, 1564, 18, 542, 1526, 12, 5743, 1769, 202, 202, 76, 847, 83, 984, 1232, 1564, 18, 542, 3817, 14886, 12, 5743, 1769, 202, 202, 76, 847, 83, 984, 1232, 1564, 18, 542, 1526, 12, 5743, 1769, 202, 202, 10212, 87, 984, 1232, 1564, 18, 542, 3817, 14886, 12, 5743, 1769, 202, 202, 10212, 87, 984, 1232, 1564, 18, 542, 1526, 12, 5743, 1769, 202, 202, 6290, 18, 2219, 88, 18, 2575, 18, 1180, 2223, 2991, 273, 394, 2252, 18, 2219, 88, 18, 2575, 18, 1180, 2223, 1435, 288, 1082, 202, 482, 918, 761, 1119, 5033, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1180, 1133, 2113, 13, 288, 9506, 202, 3789, 18, 2284, 5033, 5621, 1082, 202, 97, 202, 202, 20451, 202, 202, 82, 5286, 1676, 334, 16156, 18, 542, 3817, 14886, 12, 5743, 1769, 202, 202, 82, 5286, 1676, 334, 16156, 18, 1289, 1180, 2223, 12, 12757, 1769, 202, 202, 7598, 1676, 334, 16156, 18, 542, 3817, 14886, 12, 5743, 1769, 202, 202, 7598, 1676, 334, 16156, 18, 1289, 1180, 2223, 12, 12757, 1769, 202, 202, 76, 847, 83, 16156, 18, 542, 3817, 14886, 12, 5743, 1769, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3164, 5537, 12, 1919, 5854, 77, 3219, 982, 13, 288, 202, 202, 9565, 12, 2138, 16, 6549, 1769, 202, 202, 2211, 18, 3789, 273, 982, 31, 202, 202, 542, 3817, 14886, 12, 5743, 1769, 202, 202, 1717, 334, 984, 1232, 1564, 18, 542, 3817, 14886, 12, 5743, 1769, 202, 202, 1717, 334, 984, 1232, 1564, 18, 542, 1526, 12, 5743, 1769, 202, 202, 76, 847, 83, 984, 1232, 1564, 18, 542, 3817, 14886, 12, 5743, 1769, 202, 202, 76, 847, 83, 984, 1232, 1564, 18, 542, 1526, 12, 5743, 1769, 202, 202, 10212, 87, 984, 1232, 1564, 18, 542, 3817, 14886, 12, 5743, 1769, 202, 202, 10212, 87, 984, 1232, 1564, 18, 542, 1526, 12, 5743, 2 ]
if(range.getFrom().compareTo( collectionSize ) == -1) {
if(range.getFrom().compareTo( collectionSize ) == 1) {
protected void processValidate(Object propertyValue, Errors errors) { Object[] args = new Object[] { constraintPropertyName, constraintOwningClass, propertyValue, range.getFrom(), range.getTo() }; if(propertyValue == null) { super.rejectValue(errors,SIZE_CONSTRAINT + INVALID_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); return; } if(propertyValue.getClass().isArray()) { Integer length = new Integer(Array.getLength( propertyValue )); if(!range.contains(length)) { if(range.getFrom().compareTo( length ) == -1) { super.rejectValue(errors,LENGTH_CONSTRAINT + TOOSHORT_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_LENGTH_MESSAGE, args )); } else if(range.getFrom().compareTo(length) == 1) { super.rejectValue(errors,LENGTH_CONSTRAINT + TOOLONG_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_LENGTH_MESSAGE, args )); } return; } } if(propertyValue instanceof Collection) { Integer collectionSize = new Integer(((Collection)propertyValue).size()); if(!range.contains( collectionSize )) { if(range.getFrom().compareTo( collectionSize ) == -1) { super.rejectValue(errors,SIZE_CONSTRAINT + TOOSMALL_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); } else if(range.getFrom().compareTo(collectionSize) == 1) { super.rejectValue(errors,SIZE_CONSTRAINT + TOOBIG_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); } } } else if(propertyValue instanceof Number) { if(range.getFrom().compareTo( propertyValue ) == -1) { super.rejectValue(errors,SIZE_CONSTRAINT + TOOSMALL_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); } else if(range.getFrom().compareTo(propertyValue) == 1) { super.rejectValue(errors,SIZE_CONSTRAINT + TOOBIG_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); } } else if(propertyValue instanceof String) { Integer stringLength = new Integer(((String)propertyValue ).length()); if(!range.contains(stringLength)) { if(range.getFrom().compareTo( stringLength ) == -1) { super.rejectValue(errors,LENGTH_CONSTRAINT + TOOSHORT_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_LENGTH_MESSAGE, args )); } else if(range.getFrom().compareTo(stringLength) == 1) { super.rejectValue(errors,LENGTH_CONSTRAINT + TOOLONG_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_LENGTH_MESSAGE, args )); } } } }
52280 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52280/1db9771587982d3c4e7d8b077a7c3357d6207c4c/ConstrainedProperty.java/clean/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 918, 1207, 4270, 12, 921, 12337, 16, 9372, 1334, 13, 288, 5411, 1033, 8526, 833, 273, 394, 1033, 8526, 288, 4954, 13073, 16, 4954, 3494, 2093, 797, 16, 12337, 16, 225, 1048, 18, 588, 1265, 9334, 1048, 18, 588, 774, 1435, 225, 289, 31, 5411, 309, 12, 4468, 620, 422, 446, 13, 288, 7734, 2240, 18, 24163, 620, 12, 4324, 16, 4574, 67, 15199, 397, 10071, 67, 14964, 16, 1968, 16, 1079, 1630, 18, 2139, 12, 3331, 67, 9347, 67, 4574, 67, 8723, 16, 833, 262, 1769, 7734, 327, 31, 5411, 289, 5411, 309, 12, 4468, 620, 18, 588, 797, 7675, 291, 1076, 10756, 288, 7734, 2144, 769, 273, 394, 2144, 12, 1076, 18, 588, 1782, 12, 12337, 262, 1769, 7734, 309, 12, 5, 3676, 18, 12298, 12, 2469, 3719, 288, 10792, 309, 12, 3676, 18, 588, 1265, 7675, 9877, 774, 12, 769, 262, 422, 300, 21, 13, 288, 13491, 2240, 18, 24163, 620, 12, 4324, 16, 7096, 67, 15199, 397, 8493, 51, 15993, 67, 14964, 16, 1968, 16, 1079, 1630, 18, 2139, 12, 3331, 67, 9347, 67, 7096, 67, 8723, 16, 833, 262, 1769, 10792, 289, 10792, 469, 309, 12, 3676, 18, 588, 1265, 7675, 9877, 774, 12, 2469, 13, 422, 404, 13, 288, 13491, 2240, 18, 24163, 620, 12, 4324, 16, 7096, 67, 15199, 397, 8493, 1741, 7390, 67, 14964, 16, 1968, 16, 1079, 1630, 18, 2139, 12, 3331, 67, 9347, 67, 7096, 67, 8723, 16, 833, 262, 1769, 10792, 289, 10792, 327, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 918, 1207, 4270, 12, 921, 12337, 16, 9372, 1334, 13, 288, 5411, 1033, 8526, 833, 273, 394, 1033, 8526, 288, 4954, 13073, 16, 4954, 3494, 2093, 797, 16, 12337, 16, 225, 1048, 18, 588, 1265, 9334, 1048, 18, 588, 774, 1435, 225, 289, 31, 5411, 309, 12, 4468, 620, 422, 446, 13, 288, 7734, 2240, 18, 24163, 620, 12, 4324, 16, 4574, 67, 15199, 397, 10071, 67, 14964, 16, 1968, 16, 1079, 1630, 18, 2139, 12, 3331, 67, 9347, 67, 4574, 67, 8723, 16, 833, 262, 1769, 7734, 327, 31, 5411, 289, 5411, 309, 12, 4468, 620, 18, 588, 797, 7675, 291, 1076, 10756, 288, 7734, 2144, 769, 273, 394, 2144, 12, 1076, 18, 588, 1782, 12, 2 ]
this.put(label, classToRegister);
this.hashtable.put(label, classToRegister);
public ClassRegistry(String versionToUse, String[] classesToRegisterToUse, String baseClassNameToUse) { // Initialize the Hastable that this is. super(classesToRegisterToUse.length); // Set the field values for this. ClassRegistry.version = versionToUse; ClassRegistry.classesToRegister = classesToRegisterToUse; ClassRegistry.baseClassName = baseClassNameToUse; // Get a handle on the base class. Class<?> baseClass = null; try { baseClass = Class.forName(baseClassName); } catch (ClassNotFoundException e) { throw new UserError("Could not find base class \"" + baseClassName + "\"!", e); } // Load in the classesToRegister. Class classToRegister; for (int index = classesToRegister.length; --index >= 0;) { // Get the class. try { classToRegister = Class.forName(classesToRegister[index]); } catch (ClassNotFoundException e) { throw new UserError("\"" + classesToRegister[index] + "\" is missing from your classpath. Cannot initialize registry.", e); } // Ensure that the class is actually an extension of the processor. if (!baseClass.isAssignableFrom(classToRegister)) { throw new DeveloperError("Developer has incorrectly specified \"" + classesToRegister[index] + "\" as a registrable class."); } // Get the label field. Field labelField = null; if (classToRegister != null) { try { labelField = classToRegister.getDeclaredField(LABEL); } catch (NoSuchFieldException e) { throw new DeveloperError("Unlikely error: \"" + classesToRegister[index] + "\" is missing label field!"); } } else { throw new DeveloperError("Failed to get processor \"" + classesToRegister[index] + "\""); } // Get the value in the label field. String label = null; try { label = (String) labelField.get(null); } catch (IllegalAccessException e) { throw new DeveloperError("Label field for \"" + classesToRegister[index] + "\" is not accessible!"); } // (Finally!) register this class. if (label != null) { this.put(label, classToRegister); } else { throw new DeveloperError("Tried to register class with null label!"); } } }
49735 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49735/306ee985ce74b5d4db3ea4d28a186012adbfea90/ClassRegistry.java/buggy/src/org/aitools/programd/util/ClassRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1659, 4243, 12, 780, 1177, 18762, 16, 514, 8526, 3318, 774, 3996, 18762, 16, 514, 1026, 3834, 18762, 13, 565, 288, 3639, 368, 9190, 326, 670, 689, 429, 716, 333, 353, 18, 3639, 2240, 12, 4701, 774, 3996, 18762, 18, 2469, 1769, 3639, 368, 1000, 326, 652, 924, 364, 333, 18, 3639, 1659, 4243, 18, 1589, 273, 1177, 18762, 31, 3639, 1659, 4243, 18, 4701, 774, 3996, 273, 3318, 774, 3996, 18762, 31, 3639, 1659, 4243, 18, 1969, 3834, 273, 1026, 3834, 18762, 31, 3639, 368, 968, 279, 1640, 603, 326, 1026, 667, 18, 3639, 1659, 12880, 34, 23955, 273, 446, 31, 3639, 775, 3639, 288, 5411, 23955, 273, 1659, 18, 1884, 461, 12, 1969, 3834, 1769, 3639, 289, 540, 1044, 261, 797, 3990, 425, 13, 3639, 288, 5411, 604, 394, 2177, 668, 2932, 4445, 486, 1104, 1026, 667, 11843, 397, 1026, 3834, 397, 7023, 5, 3113, 425, 1769, 3639, 289, 540, 368, 4444, 316, 326, 3318, 774, 3996, 18, 3639, 1659, 667, 774, 3996, 31, 3639, 364, 261, 474, 770, 273, 3318, 774, 3996, 18, 2469, 31, 1493, 1615, 1545, 374, 30943, 3639, 288, 5411, 368, 968, 326, 667, 18, 5411, 775, 5411, 288, 7734, 667, 774, 3996, 273, 1659, 18, 1884, 461, 12, 4701, 774, 3996, 63, 1615, 19226, 5411, 289, 2398, 1044, 261, 797, 3990, 425, 13, 5411, 288, 7734, 604, 394, 2177, 668, 2932, 8530, 397, 3318, 774, 3996, 63, 1615, 65, 13491, 397, 7023, 353, 3315, 628, 3433, 10006, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1659, 4243, 12, 780, 1177, 18762, 16, 514, 8526, 3318, 774, 3996, 18762, 16, 514, 1026, 3834, 18762, 13, 565, 288, 3639, 368, 9190, 326, 670, 689, 429, 716, 333, 353, 18, 3639, 2240, 12, 4701, 774, 3996, 18762, 18, 2469, 1769, 3639, 368, 1000, 326, 652, 924, 364, 333, 18, 3639, 1659, 4243, 18, 1589, 273, 1177, 18762, 31, 3639, 1659, 4243, 18, 4701, 774, 3996, 273, 3318, 774, 3996, 18762, 31, 3639, 1659, 4243, 18, 1969, 3834, 273, 1026, 3834, 18762, 31, 3639, 368, 968, 279, 1640, 603, 326, 1026, 667, 18, 3639, 1659, 12880, 34, 23955, 273, 446, 31, 3639, 775, 3639, 288, 5411, 23955, 273, 1659, 18, 1884, 461, 12, 1969, 3834, 1769, 2 ]
int icuDecomp = mode; switch (mode) { case Collator.CANONICAL_DECOMPOSITION: icuDecomp = com.ibm.icu.text.Collator.CANONICAL_DECOMPOSITION; break; case Collator.NO_DECOMPOSITION: icuDecomp = com.ibm.icu.text.Collator.NO_DECOMPOSITION; break; } return icuDecomp; }
int icuDecomp = mode; switch (mode) { case Collator.CANONICAL_DECOMPOSITION: icuDecomp = com.ibm.icu.text.Collator.CANONICAL_DECOMPOSITION; break; case Collator.NO_DECOMPOSITION: icuDecomp = com.ibm.icu.text.Collator.NO_DECOMPOSITION; break; } return icuDecomp; }
private int decompositionMode_Java_ICU(int mode) { int icuDecomp = mode; switch (mode) { case Collator.CANONICAL_DECOMPOSITION: icuDecomp = com.ibm.icu.text.Collator.CANONICAL_DECOMPOSITION; break; case Collator.NO_DECOMPOSITION: icuDecomp = com.ibm.icu.text.Collator.NO_DECOMPOSITION; break; } return icuDecomp; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/019def355790934e1681619028e65dda09efed65/Collator.java/clean/modules/text/src/main/java/java/text/Collator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 26288, 2309, 67, 5852, 67, 2871, 57, 12, 474, 1965, 13, 288, 202, 202, 474, 277, 6319, 17731, 84, 273, 1965, 31, 202, 202, 9610, 261, 3188, 13, 288, 202, 202, 3593, 17596, 639, 18, 39, 1258, 673, 10109, 67, 1639, 4208, 15258, 30, 1082, 202, 335, 89, 17731, 84, 273, 532, 18, 10827, 18, 335, 89, 18, 955, 18, 13535, 639, 18, 39, 1258, 673, 10109, 67, 1639, 4208, 15258, 31, 1082, 202, 8820, 31, 202, 202, 3593, 17596, 639, 18, 3417, 67, 1639, 4208, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 26288, 2309, 67, 5852, 67, 2871, 57, 12, 474, 1965, 13, 288, 202, 202, 474, 277, 6319, 17731, 84, 273, 1965, 31, 202, 202, 9610, 261, 3188, 13, 288, 202, 202, 3593, 17596, 639, 18, 39, 1258, 673, 10109, 67, 1639, 4208, 15258, 30, 1082, 202, 335, 89, 17731, 84, 273, 532, 18, 10827, 18, 335, 89, 18, 955, 18, 13535, 639, 18, 39, 1258, 673, 10109, 67, 1639, 4208, 15258, 31, 1082, 202, 8820, 31, 202, 202, 3593, 17596, 639, 18, 3417, 67, 1639, 4208, 15258, 30, 1082, 202, 335, 89, 17731, 84, 273, 532, 18, 10827, 18, 335, 89, 18, 955, 18, 13535, 639, 18, 3417, 67, 1639, 4208, 15258, 31, 1082, 202, 2 ]
SendMail.mailServer = SendMail.bundle.getString("server.url");
SendMail.mailServer = SendMail.bundle.getString("mailSender.server.url");
public List run(List toList, List ccList, List bccList, String fromName, String from, String subject, String text) { if (bundle == null) { try { SendMail.bundle = ResourceBundle.getBundle(SendMail.bundleFile); SendMail.mailServer = SendMail.bundle.getString("server.url"); if (SendMail.mailServer == null) { SendMail.mailServer = "mail.adm"; } } catch (Exception e) { // the default server SendMail.mailServer = "mail.adm"; } } return EMail.send(SendMail.mailServer, fromName, from, subject, toList, ccList, bccList, text); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/be7fdd4189056a4e95e94e1c538fc2242f4173fa/SendMail.java/buggy/src/net/sourceforge/fenixedu/applicationTier/Servico/commons/SendMail.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 1086, 12, 682, 12277, 16, 987, 4946, 682, 16, 987, 16915, 682, 16, 514, 628, 461, 16, 514, 628, 16, 514, 3221, 16, 514, 977, 13, 288, 3639, 309, 261, 9991, 422, 446, 13, 288, 5411, 775, 288, 7734, 2479, 6759, 18, 9991, 273, 19198, 18, 588, 3405, 12, 3826, 6759, 18, 9991, 812, 1769, 7734, 2479, 6759, 18, 4408, 2081, 273, 2479, 6759, 18, 9991, 18, 588, 780, 2932, 4408, 12021, 18, 3567, 18, 718, 8863, 7734, 309, 261, 3826, 6759, 18, 4408, 2081, 422, 446, 13, 288, 10792, 2479, 6759, 18, 4408, 2081, 273, 315, 4408, 18, 20864, 14432, 7734, 289, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 368, 326, 805, 1438, 7734, 2479, 6759, 18, 4408, 2081, 273, 315, 4408, 18, 20864, 14432, 5411, 289, 3639, 289, 3639, 327, 512, 6759, 18, 4661, 12, 3826, 6759, 18, 4408, 2081, 16, 628, 461, 16, 628, 16, 3221, 16, 12277, 16, 4946, 682, 16, 16915, 682, 16, 977, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 1086, 12, 682, 12277, 16, 987, 4946, 682, 16, 987, 16915, 682, 16, 514, 628, 461, 16, 514, 628, 16, 514, 3221, 16, 514, 977, 13, 288, 3639, 309, 261, 9991, 422, 446, 13, 288, 5411, 775, 288, 7734, 2479, 6759, 18, 9991, 273, 19198, 18, 588, 3405, 12, 3826, 6759, 18, 9991, 812, 1769, 7734, 2479, 6759, 18, 4408, 2081, 273, 2479, 6759, 18, 9991, 18, 588, 780, 2932, 4408, 12021, 18, 3567, 18, 718, 8863, 7734, 309, 261, 3826, 6759, 18, 4408, 2081, 422, 446, 13, 288, 10792, 2479, 6759, 18, 4408, 2081, 273, 315, 4408, 18, 20864, 14432, 7734, 289, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 368, 326, 805, 1438, 2 ]
match(input,SEMI,FOLLOW_SEMI_in_statement1477);
match(input,SEMI,FOLLOW_SEMI_in_statement1477);
public void statement() throws RecognitionException { try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:336:17: ( compoundStatement | declaration SEMI | expression SEMI | modifiers classDefinition | IDENT COLON statement | 'if' LPAREN expression RPAREN statement ( 'else' statement )? | 'for' LPAREN forInit SEMI forCond SEMI forIter RPAREN statement | 'while' LPAREN expression RPAREN statement | 'do' statement 'while' LPAREN expression RPAREN SEMI | 'break' ( IDENT )? SEMI | 'continue' ( IDENT )? SEMI | 'return' ( expression )? SEMI | 'switch' LPAREN expression RPAREN LCURLY ( casesGroup )* RCURLY | tryBlock | 'throw' expression SEMI | 'synchronized' LPAREN expression RPAREN compoundStatement | SEMI ) int alt41=17; alt41 = dfa41.predict(input); switch (alt41) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:336:17: compoundStatement { following.push(FOLLOW_compoundStatement_in_statement1216); compoundStatement(); following.pop(); } break; case 2 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:343:17: declaration SEMI { following.push(FOLLOW_declaration_in_statement1232); declaration(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1234); } break; case 3 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:348:17: expression SEMI { following.push(FOLLOW_expression_in_statement1246); expression(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1248); } break; case 4 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:351:17: modifiers classDefinition { following.push(FOLLOW_modifiers_in_statement1256); modifiers(); following.pop(); following.push(FOLLOW_classDefinition_in_statement1258); classDefinition(); following.pop(); } break; case 5 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:354:17: IDENT COLON statement { match(input,IDENT,FOLLOW_IDENT_in_statement1266); match(input,COLON,FOLLOW_COLON_in_statement1268); following.push(FOLLOW_statement_in_statement1271); statement(); following.pop(); } break; case 6 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:357:17: 'if' LPAREN expression RPAREN statement ( 'else' statement )? { match(input,96,FOLLOW_96_in_statement1279); match(input,LPAREN,FOLLOW_LPAREN_in_statement1281); following.push(FOLLOW_expression_in_statement1283); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1285); following.push(FOLLOW_statement_in_statement1287); statement(); following.pop(); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:358:17: ( 'else' statement )? int alt36=2; int LA36_0 = input.LA(1); if ( LA36_0==97 ) { alt36=1; } else if ( LA36_0==IDENT||(LA36_0>=LCURLY && LA36_0<=RCURLY)||LA36_0==LPAREN||(LA36_0>=PLUS && LA36_0<=MINUS)||(LA36_0>=INC && LA36_0<=NUM_FLOAT)||(LA36_0>=68 && LA36_0<=89)||(LA36_0>=93 && LA36_0<=94)||LA36_0==96||(LA36_0>=98 && LA36_0<=108)||(LA36_0>=112 && LA36_0<=115) ) { alt36=2; } else { NoViableAltException nvae = new NoViableAltException("358:17: ( \'else\' statement )?", 36, 0, input); throw nvae; } switch (alt36) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:362:25: 'else' statement { match(input,97,FOLLOW_97_in_statement1308); following.push(FOLLOW_statement_in_statement1310); statement(); following.pop(); } break; } } break; case 7 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:366:17: 'for' LPAREN forInit SEMI forCond SEMI forIter RPAREN statement { match(input,98,FOLLOW_98_in_statement1323); match(input,LPAREN,FOLLOW_LPAREN_in_statement1328); following.push(FOLLOW_forInit_in_statement1334); forInit(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1336); following.push(FOLLOW_forCond_in_statement1345); forCond(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1347); following.push(FOLLOW_forIter_in_statement1356); forIter(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1370); following.push(FOLLOW_statement_in_statement1375); statement(); following.pop(); } break; case 8 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:375:17: 'while' LPAREN expression RPAREN statement { match(input,99,FOLLOW_99_in_statement1404); match(input,LPAREN,FOLLOW_LPAREN_in_statement1406); following.push(FOLLOW_expression_in_statement1408); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1410); following.push(FOLLOW_statement_in_statement1412); statement(); following.pop(); } break; case 9 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:378:17: 'do' statement 'while' LPAREN expression RPAREN SEMI { match(input,100,FOLLOW_100_in_statement1420); following.push(FOLLOW_statement_in_statement1422); statement(); following.pop(); match(input,99,FOLLOW_99_in_statement1424); match(input,LPAREN,FOLLOW_LPAREN_in_statement1426); following.push(FOLLOW_expression_in_statement1428); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1430); match(input,SEMI,FOLLOW_SEMI_in_statement1432); } break; case 10 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:381:17: 'break' ( IDENT )? SEMI { match(input,101,FOLLOW_101_in_statement1440); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:381:25: ( IDENT )? int alt37=2; int LA37_0 = input.LA(1); if ( LA37_0==IDENT ) { alt37=1; } else if ( LA37_0==SEMI ) { alt37=2; } else { NoViableAltException nvae = new NoViableAltException("381:25: ( IDENT )?", 37, 0, input); throw nvae; } switch (alt37) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:381:26: IDENT { match(input,IDENT,FOLLOW_IDENT_in_statement1443); } break; } match(input,SEMI,FOLLOW_SEMI_in_statement1447); } break; case 11 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:384:17: 'continue' ( IDENT )? SEMI { match(input,102,FOLLOW_102_in_statement1455); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:384:28: ( IDENT )? int alt38=2; int LA38_0 = input.LA(1); if ( LA38_0==IDENT ) { alt38=1; } else if ( LA38_0==SEMI ) { alt38=2; } else { NoViableAltException nvae = new NoViableAltException("384:28: ( IDENT )?", 38, 0, input); throw nvae; } switch (alt38) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:384:29: IDENT { match(input,IDENT,FOLLOW_IDENT_in_statement1458); } break; } match(input,SEMI,FOLLOW_SEMI_in_statement1462); } break; case 12 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:387:17: 'return' ( expression )? SEMI { match(input,103,FOLLOW_103_in_statement1470); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:387:26: ( expression )? int alt39=2; int LA39_0 = input.LA(1); if ( LA39_0==IDENT||LA39_0==LPAREN||(LA39_0>=PLUS && LA39_0<=MINUS)||(LA39_0>=INC && LA39_0<=NUM_FLOAT)||(LA39_0>=68 && LA39_0<=76)||(LA39_0>=93 && LA39_0<=94)||(LA39_0>=112 && LA39_0<=115) ) { alt39=1; } else if ( LA39_0==SEMI ) { alt39=2; } else { NoViableAltException nvae = new NoViableAltException("387:26: ( expression )?", 39, 0, input); throw nvae; } switch (alt39) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:387:27: expression { following.push(FOLLOW_expression_in_statement1473); expression(); following.pop(); } break; } match(input,SEMI,FOLLOW_SEMI_in_statement1477); } break; case 13 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:390:17: 'switch' LPAREN expression RPAREN LCURLY ( casesGroup )* RCURLY { match(input,104,FOLLOW_104_in_statement1485); match(input,LPAREN,FOLLOW_LPAREN_in_statement1487); following.push(FOLLOW_expression_in_statement1489); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1491); match(input,LCURLY,FOLLOW_LCURLY_in_statement1493); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:391:25: ( casesGroup )* loop40: do { int alt40=2; int LA40_0 = input.LA(1); if ( (LA40_0>=106 && LA40_0<=107) ) { alt40=1; } switch (alt40) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:391:27: casesGroup { following.push(FOLLOW_casesGroup_in_statement1500); casesGroup(); following.pop(); } break; default : break loop40; } } while (true); match(input,RCURLY,FOLLOW_RCURLY_in_statement1507); } break; case 14 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:395:17: tryBlock { following.push(FOLLOW_tryBlock_in_statement1515); tryBlock(); following.pop(); } break; case 15 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:398:17: 'throw' expression SEMI { match(input,105,FOLLOW_105_in_statement1523); following.push(FOLLOW_expression_in_statement1525); expression(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1527); } break; case 16 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:401:17: 'synchronized' LPAREN expression RPAREN compoundStatement { match(input,86,FOLLOW_86_in_statement1535); match(input,LPAREN,FOLLOW_LPAREN_in_statement1537); following.push(FOLLOW_expression_in_statement1539); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1541); following.push(FOLLOW_compoundStatement_in_statement1543); compoundStatement(); following.pop(); } break; case 17 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:407:17: SEMI { match(input,SEMI,FOLLOW_SEMI_in_statement1556); } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/7e425814ce563fcc662b266adb2a4dc8e1a95d19/JavaParser.java/clean/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3021, 1435, 1216, 9539, 288, 6647, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 3707, 26, 30, 4033, 30, 261, 11360, 3406, 571, 8266, 3174, 7492, 571, 2652, 3174, 7492, 571, 10429, 27494, 571, 19768, 27856, 3021, 571, 296, 430, 11, 511, 15111, 2652, 534, 15111, 3021, 261, 296, 12107, 11, 3021, 7851, 571, 296, 1884, 11, 511, 15111, 364, 2570, 3174, 7492, 364, 12441, 3174, 7492, 364, 2360, 534, 15111, 3021, 571, 296, 17523, 11, 511, 15111, 2652, 534, 15111, 3021, 571, 296, 2896, 11, 3021, 296, 17523, 11, 511, 15111, 2652, 534, 15111, 3174, 7492, 571, 296, 8820, 11, 261, 19768, 7851, 3174, 7492, 571, 296, 17143, 11, 261, 19768, 7851, 3174, 7492, 571, 296, 2463, 11, 261, 2652, 7851, 3174, 7492, 571, 296, 9610, 11, 511, 15111, 2652, 534, 15111, 511, 26314, 261, 6088, 1114, 8618, 534, 26314, 571, 775, 1768, 571, 296, 12849, 11, 2652, 3174, 7492, 571, 296, 22043, 11, 511, 15111, 2652, 534, 15111, 11360, 3406, 571, 3174, 7492, 262, 5411, 509, 3770, 9803, 33, 4033, 31, 5411, 3770, 9803, 273, 23074, 9803, 18, 14491, 12, 2630, 1769, 5411, 1620, 261, 2390, 9803, 13, 288, 7734, 648, 404, 294, 10792, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 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, 3021, 1435, 1216, 9539, 288, 6647, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 3707, 26, 30, 4033, 30, 261, 11360, 3406, 571, 8266, 3174, 7492, 571, 2652, 3174, 7492, 571, 10429, 27494, 571, 19768, 27856, 3021, 571, 296, 430, 11, 511, 15111, 2652, 534, 15111, 3021, 261, 296, 12107, 11, 3021, 7851, 571, 296, 1884, 11, 511, 15111, 364, 2570, 3174, 7492, 364, 12441, 3174, 7492, 364, 2360, 534, 15111, 3021, 571, 296, 17523, 11, 511, 15111, 2652, 534, 15111, 3021, 2 ]
void addListener(WebclientEventListener newListener)
void addListener(WCEventListenerWrapper newListener)
void addListener(WebclientEventListener newListener){ Assert.assert(-1 != nativeWebShell); Assert.assert(null != windowControl); synchronized (this) { if (null == listenersToAdd) { listenersToAdd = new Vector(); } listenersToAdd.add(newListener); }}
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/22cf4850d306aa920b59560eda626f0c7759f4c3/NativeEventThread.java/clean/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 12087, 12, 4079, 2625, 7375, 394, 2223, 15329, 565, 5452, 18, 11231, 19236, 21, 480, 6448, 4079, 13220, 1769, 565, 5452, 18, 11231, 12, 2011, 480, 2742, 3367, 1769, 565, 3852, 261, 2211, 13, 288, 3639, 309, 261, 2011, 422, 4679, 13786, 13, 288, 5411, 4679, 13786, 273, 394, 5589, 5621, 3639, 289, 3639, 4679, 13786, 18, 1289, 12, 2704, 2223, 1769, 565, 10523, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 12087, 12, 4079, 2625, 7375, 394, 2223, 15329, 565, 5452, 18, 11231, 19236, 21, 480, 6448, 4079, 13220, 1769, 565, 5452, 18, 11231, 12, 2011, 480, 2742, 3367, 1769, 565, 3852, 261, 2211, 13, 288, 3639, 309, 261, 2011, 422, 4679, 13786, 13, 288, 5411, 4679, 13786, 273, 394, 5589, 5621, 3639, 289, 3639, 4679, 13786, 18, 1289, 12, 2704, 2223, 1769, 565, 10523, 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 ]
public int ROC_Lookback(int optInTimePeriod) {
public int ROC_Lookback( int optInTimePeriod ) {
public int ROC_Lookback(int optInTimePeriod) { return optInTimePeriod; }
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/5df8081f2a7211016256c0f481213a987e02947a/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 6525, 39, 67, 9794, 823, 12, 474, 2153, 382, 26540, 13, 288, 202, 202, 2463, 2153, 382, 26540, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6525, 39, 67, 9794, 823, 12, 474, 2153, 382, 26540, 13, 288, 202, 202, 2463, 2153, 382, 26540, 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 ]
_t = __t335;
_t = __t339;
public final void field(AST _t) throws RecognitionException { AST field_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t332 = _t; AST tmp57_AST_in = (AST)_t; match(_t,Field_ref); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INPUT: { AST tmp58_AST_in = (AST)_t; match(_t,INPUT); _t = _t.getNextSibling(); break; } case BROWSE: case FRAME: case ID: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case FRAME: { AST __t335 = _t; AST tmp59_AST_in = (AST)_t; match(_t,FRAME); _t = _t.getFirstChild(); AST tmp60_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); _t = __t335; _t = _t.getNextSibling(); break; } case BROWSE: { AST __t336 = _t; AST tmp61_AST_in = (AST)_t; match(_t,BROWSE); _t = _t.getFirstChild(); AST tmp62_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); _t = __t336; _t = _t.getNextSibling(); break; } case ID: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp63_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Array_subscript: { array_subscript(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t332; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 652, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 652, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 23, 1578, 273, 389, 88, 31, 202, 202, 9053, 1853, 10321, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 974, 67, 1734, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 12943, 30, 202, 202, 95, 1082, 202, 9053, 1853, 8204, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 15934, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 605, 11226, 1090, 30, 202, 202, 3593, 20183, 30, 202, 202, 3593, 1599, 30, 202, 202, 95, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 202, 202, 95, 1082, 202, 12849, 394, 17114, 24899, 88, 1769, 202, 202, 97, 202, 202, 97, 202, 202, 97, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 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, 652, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 652, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 23, 1578, 273, 389, 88, 31, 202, 202, 9053, 1853, 10321, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 974, 67, 1734, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 2 ]
} else { writer.openTag( HTMLTags.TAG_DIV ); if ( bodyStyle != null )
else
public void startBody( ) { logger.log( Level.FINE, "[HTMLReportEmitter] Start body." ); //$NON-NLS-1$ IStyle bodyStyle = report.getBodyStyle( ); if ( !isEmbeddable ) { writer.openTag( HTMLTags.TAG_BODY ); if ( bodyStyle != null ) { writer.attribute( HTMLTags.ATTR_CLASS, bodyStyle.getName( ) ); } } else { writer.openTag( HTMLTags.TAG_DIV ); if ( bodyStyle != null ) { StringBuffer styleBuffer = new StringBuffer( ); AttributeBuilder.buildStyle( styleBuffer, bodyStyle, this ); writer.attribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) ); } } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/27a16d8e8c031ec387d94ed31dd5c690a4f88f35/HTMLReportEmitter.java/clean/engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 787, 2250, 12, 262, 202, 95, 202, 202, 4901, 18, 1330, 12, 4557, 18, 42, 3740, 16, 5158, 4870, 4820, 13476, 65, 3603, 1417, 1199, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 45, 2885, 1417, 2885, 273, 2605, 18, 588, 2250, 2885, 12, 11272, 202, 202, 430, 261, 401, 291, 9538, 17394, 262, 202, 202, 95, 1082, 202, 6299, 18, 3190, 1805, 12, 3982, 3453, 18, 7927, 67, 16691, 11272, 1082, 202, 430, 261, 1417, 2885, 480, 446, 262, 1082, 202, 95, 9506, 202, 6299, 18, 4589, 12, 3982, 3453, 18, 12043, 67, 5237, 16, 1417, 2885, 18, 17994, 12, 262, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 6299, 18, 3190, 1805, 12, 3982, 3453, 18, 7927, 67, 31901, 11272, 1082, 202, 430, 261, 1417, 2885, 480, 446, 262, 1082, 202, 95, 9506, 202, 780, 1892, 2154, 1892, 273, 394, 6674, 12, 11272, 9506, 202, 1499, 1263, 18, 3510, 2885, 12, 2154, 1892, 16, 1417, 2885, 16, 333, 11272, 9506, 202, 6299, 18, 4589, 12, 3982, 3453, 18, 12043, 67, 15066, 16, 2154, 1892, 18, 10492, 12, 262, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 787, 2250, 12, 262, 202, 95, 202, 202, 4901, 18, 1330, 12, 4557, 18, 42, 3740, 16, 5158, 4870, 4820, 13476, 65, 3603, 1417, 1199, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 45, 2885, 1417, 2885, 273, 2605, 18, 588, 2250, 2885, 12, 11272, 202, 202, 430, 261, 401, 291, 9538, 17394, 262, 202, 202, 95, 1082, 202, 6299, 18, 3190, 1805, 12, 3982, 3453, 18, 7927, 67, 16691, 11272, 1082, 202, 430, 261, 1417, 2885, 480, 446, 262, 1082, 202, 95, 9506, 202, 6299, 18, 4589, 12, 3982, 3453, 18, 12043, 67, 5237, 16, 1417, 2885, 18, 17994, 12, 262, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 202, 2 ]
SwingUtilities.calculateInnerArea(progressBar, vr);
int stringWidth = 0; String str = progressBar.getString(); if (str != null) stringWidth = fm.stringWidth(progressBar.getString()); Insets i = progressBar.getInsets(); int prefHeight = Math.max(200 - i.left - i.right, stringWidth);
protected Dimension getPreferredInnerVertical() { Rectangle vr = new Rectangle(); SwingUtilities.calculateInnerArea(progressBar, vr); return new Dimension(vr.width, vr.height); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/badba23052f905d992da7c32124c28f4339931fc/BasicProgressBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicProgressBarUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 13037, 12822, 4193, 2857, 15704, 1435, 225, 288, 565, 13264, 16612, 273, 394, 13264, 5621, 565, 509, 533, 2384, 273, 374, 31, 514, 609, 273, 29101, 18, 588, 780, 5621, 309, 261, 701, 480, 446, 13, 533, 2384, 273, 10940, 18, 1080, 2384, 12, 8298, 5190, 18, 588, 780, 10663, 22300, 277, 273, 29101, 18, 588, 382, 4424, 5621, 509, 11307, 2686, 273, 2361, 18, 1896, 12, 6976, 300, 277, 18, 4482, 300, 277, 18, 4083, 16, 533, 2384, 1769, 565, 327, 394, 13037, 12, 18090, 18, 2819, 16, 16612, 18, 4210, 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, 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, 394, 13264, 5621, 565, 509, 533, 2384, 273, 374, 31, 514, 609, 273, 29101, 18, 588, 780, 5621, 309, 261, 701, 480, 446, 13, 533, 2384, 273, 10940, 18, 1080, 2384, 12, 8298, 5190, 18, 588, 780, 10663, 22300, 277, 273, 29101, 18, 588, 382, 4424, 5621, 509, 11307, 2686, 273, 2361, 18, 1896, 12, 6976, 300, 277, 18, 4482, 300, 277, 18, 4083, 16, 533, 2384, 1769, 565, 327, 394, 13037, 12, 18090, 18, 2819, 16, 16612, 18, 4210, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (fDocumentType == null) { String rootName = elementName; String systemId = ""; String publicId = ""; fDocumentType = fDocumentImpl.createDocumentType(rootName, publicId, systemId); fDocument.appendChild(fDocumentType); } if (fDocumentImpl != null && fGrammarAccess) { if (fGrammarResolver.size() > 0) { Enumeration schemas = fGrammarResolver.nameSpaceKeys(); Document schemaDocument = fGrammarResolver.getGrammar((String)schemas.nextElement()).getGrammarDocument(); if (schemaDocument != null) { Element schema = schemaDocument.getDocumentElement(); XUtil.copyInto(schema, fDocumentType);
if (fDocumentImpl != null) { if (fDocumentType == null) { String rootName = elementName; String systemId = ""; String publicId = ""; fDocumentType = fDocumentImpl.createDocumentType(rootName, publicId, systemId); fDocument.appendChild(fDocumentType); } if (fGrammarAccess) { if (fGrammarResolver.size() > 0) { Enumeration schemas = fGrammarResolver.nameSpaceKeys(); Document schemaDocument = fGrammarResolver.getGrammar((String)schemas.nextElement()).getGrammarDocument(); if (schemaDocument != null) { Element schema = schemaDocument.getDocumentElement(); XUtil.copyInto(schema, fDocumentType); }
public void startElement(QName elementQName, XMLAttrList xmlAttrList, int attrListIndex) throws Exception { // deferred expansion if (fDeferredDocumentImpl != null) { int element = fDeferredDocumentImpl.createElement(elementQName.rawname, elementQName.uri, xmlAttrList, attrListIndex); fDeferredDocumentImpl.appendChild(fCurrentNodeIndex, element); fCurrentNodeIndex = element; fWithinElement = true; // identifier registration int index = xmlAttrList.getFirstAttr(attrListIndex); while (index != -1) { if (xmlAttrList.getAttType(index) == fStringPool.addSymbol("ID")) { int nameIndex = xmlAttrList.getAttValue(index); fDeferredDocumentImpl.putIdentifier(nameIndex, element); } index = xmlAttrList.getNextAttr(index); } // copy schema grammar, if needed if (!fSeenRootElement) { fSeenRootElement = true; if (fDocumentTypeIndex == -1) { fDocumentTypeIndex = fDeferredDocumentImpl.createDocumentType(elementQName.rawname, -1, -1); fDeferredDocumentImpl.appendChild(0, fDocumentTypeIndex); } if (fGrammarAccess) { // REVISIT: How do we know which grammar is in use? //Document schemaDocument = fValidator.getSchemaDocument(); int size = fGrammarResolver.size(); if (size > 0) { Enumeration schemas = fGrammarResolver.nameSpaceKeys(); Document schemaDocument = fGrammarResolver.getGrammar((String)schemas.nextElement()).getGrammarDocument(); if (schemaDocument != null) { Element schema = schemaDocument.getDocumentElement(); copyInto(schema, fDocumentTypeIndex); } } } } } // full expansion else { boolean nsEnabled = false; try { nsEnabled = getNamespaces(); } catch (SAXException s) {} String elementName = fStringPool.toString(elementQName.rawname); Element e; if (nsEnabled) { e = fDocument.createElementNS( // REVISIT: Make sure uri is filled in by caller. fStringPool.toString(elementQName.uri), fStringPool.toString(elementQName.localpart) ); } else { e = fDocument.createElement(elementName); } int attrHandle = xmlAttrList.getFirstAttr(attrListIndex); while (attrHandle != -1) { int attName = xmlAttrList.getAttrName(attrHandle); String attrName = fStringPool.toString(attName); String attrValue = fStringPool.toString(xmlAttrList.getAttValue(attrHandle)); if (nsEnabled) { int nsURIIndex = xmlAttrList.getAttrURI(attrHandle); String namespaceURI = fStringPool.toString(nsURIIndex); // DOM Level 2 wants all namespace declaration attributes // to be bound to "http://www.w3.org/2000/xmlns/" // So as long as the XML parser doesn't do it, it needs to // done here. int prefixIndex = xmlAttrList.getAttrPrefix(attrHandle); String prefix = fStringPool.toString(prefixIndex); if (namespaceURI == null) { if (prefix != null) { if (prefix.equals("xmlns")) { namespaceURI = "http://www.w3.org/2000/xmlns/"; } } else if (attrName.equals("xmlns")) { namespaceURI = "http://www.w3.org/2000/xmlns/"; } } e.setAttributeNS(namespaceURI, attrName, attrValue); } else { e.setAttribute(attrName, attrValue); } if (!xmlAttrList.isSpecified(attrHandle)) { ((AttrImpl)e.getAttributeNode(attrName)) .setSpecified(false); } attrHandle = xmlAttrList.getNextAttr(attrHandle); } fCurrentElementNode.appendChild(e); fCurrentElementNode = e; fWithinElement = true; // identifier registration if (fDocumentImpl != null) { int index = xmlAttrList.getFirstAttr(attrListIndex); while (index != -1) { if (xmlAttrList.getAttType(index) == fStringPool.addSymbol("ID")) { String name = fStringPool.toString(xmlAttrList.getAttValue(index)); fDocumentImpl.putIdentifier(name, e); } index = xmlAttrList.getNextAttr(index); } } xmlAttrList.releaseAttrList(attrListIndex); // copy schema grammar, if needed if (!fSeenRootElement) { fSeenRootElement = true; if (fDocumentType == null) { String rootName = elementName; String systemId = ""; // REVISIT: How do we get this value? -Ac String publicId = ""; // REVISIT: How do we get this value? -Ac fDocumentType = fDocumentImpl.createDocumentType(rootName, publicId, systemId); fDocument.appendChild(fDocumentType); } if (fDocumentImpl != null && fGrammarAccess) { //Document schemaDocument = fValidator.getSchemaDocument(); if (fGrammarResolver.size() > 0) { Enumeration schemas = fGrammarResolver.nameSpaceKeys(); Document schemaDocument = fGrammarResolver.getGrammar((String)schemas.nextElement()).getGrammarDocument(); if (schemaDocument != null) { Element schema = schemaDocument.getDocumentElement(); XUtil.copyInto(schema, fDocumentType); } } } } } } // startElement(QName,XMLAttrList,int)
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/4481b54ff871cf15420f5aa5105cb89b3e5f8eae/DOMParser.java/clean/src/org/apache/xerces/parsers/DOMParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 13688, 930, 13688, 16, 11794, 3167, 3843, 682, 2025, 3843, 682, 16, 509, 1604, 682, 1016, 13, 3639, 1216, 1185, 288, 3639, 368, 7045, 17965, 3639, 309, 261, 74, 16886, 2519, 2828, 480, 446, 13, 288, 5411, 509, 930, 273, 7734, 284, 16886, 2519, 2828, 18, 2640, 1046, 12, 2956, 13688, 18, 1899, 529, 16, 4766, 10792, 930, 13688, 18, 1650, 16, 4766, 10792, 2025, 3843, 682, 16, 4766, 10792, 1604, 682, 1016, 1769, 5411, 284, 16886, 2519, 2828, 18, 6923, 1763, 12, 74, 3935, 907, 1016, 16, 930, 1769, 5411, 284, 3935, 907, 1016, 273, 930, 31, 5411, 284, 18949, 1046, 273, 638, 31, 5411, 368, 2756, 7914, 5411, 509, 770, 273, 2025, 3843, 682, 18, 588, 3759, 3843, 12, 1747, 682, 1016, 1769, 5411, 1323, 261, 1615, 480, 300, 21, 13, 288, 7734, 309, 261, 2902, 3843, 682, 18, 588, 3075, 559, 12, 1615, 13, 422, 284, 780, 2864, 18, 1289, 5335, 2932, 734, 6, 3719, 288, 10792, 509, 508, 1016, 273, 2025, 3843, 682, 18, 588, 3075, 620, 12, 1615, 1769, 10792, 284, 16886, 2519, 2828, 18, 458, 3004, 12, 529, 1016, 16, 930, 1769, 7734, 289, 7734, 770, 273, 2025, 3843, 682, 18, 588, 2134, 3843, 12, 1615, 1769, 5411, 289, 5411, 368, 1610, 1963, 6473, 16, 309, 3577, 5411, 309, 16051, 74, 15160, 2375, 1046, 13, 288, 7734, 284, 15160, 2375, 1046, 273, 638, 31, 7734, 309, 261, 74, 2519, 559, 1016, 422, 300, 21, 13, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 13688, 930, 13688, 16, 11794, 3167, 3843, 682, 2025, 3843, 682, 16, 509, 1604, 682, 1016, 13, 3639, 1216, 1185, 288, 3639, 368, 7045, 17965, 3639, 309, 261, 74, 16886, 2519, 2828, 480, 446, 13, 288, 5411, 509, 930, 273, 7734, 284, 16886, 2519, 2828, 18, 2640, 1046, 12, 2956, 13688, 18, 1899, 529, 16, 4766, 10792, 930, 13688, 18, 1650, 16, 4766, 10792, 2025, 3843, 682, 16, 4766, 10792, 1604, 682, 1016, 1769, 5411, 284, 16886, 2519, 2828, 18, 6923, 1763, 12, 74, 3935, 907, 1016, 16, 930, 1769, 5411, 284, 3935, 907, 1016, 273, 930, 31, 5411, 284, 18949, 1046, 273, 638, 31, 5411, 368, 2756, 7914, 5411, 509, 770, 273, 2025, 2 ]
if (objects[i] instanceof JobInfo) checkForDuplicates((JobInfo) objects[i]);
if (objects[i] instanceof JobInfo) { checkForDuplicates((JobInfo) objects[i]); }
private void checkForDuplicates(GroupInfo info) { Object[] objects = info.getChildren(); for (int i = 0; i < objects.length; i++) { if (objects[i] instanceof JobInfo) checkForDuplicates((JobInfo) objects[i]); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/FinishedJobs.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/FinishedJobs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 13855, 23897, 12, 1114, 966, 1123, 13, 288, 3639, 1033, 8526, 2184, 273, 1123, 18, 588, 4212, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2184, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 6911, 63, 77, 65, 1276, 3956, 966, 13, 7734, 13855, 23897, 12443, 2278, 966, 13, 2184, 63, 77, 19226, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 65, 1276, 3956, 966, 13, 7734, 13855, 23897, 12443, 2278, 966, 13, 2184, 63, 77, 19226, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
webConnection.setResponse( URL_FIRST, firstContent, 200, "OK", "text/html", Collections.EMPTY_LIST ); webConnection.setResponse( URL_SECOND, secondContent, 200, "OK", "text/html", Collections.EMPTY_LIST ); webConnection.setResponse( URL_THIRD, thirdContent, 200, "OK", "text/html", Collections.EMPTY_LIST );
webConnection.setResponse(URL_FIRST, firstContent); webConnection.setResponse(URL_SECOND, secondContent); webConnection.setResponse(URL_THIRD, thirdContent);
public void testOpenWindow_blank() throws Exception { final WebClient webClient = new WebClient(); final MockWebConnection webConnection = new MockWebConnection( webClient ); final List collectedAlerts = new ArrayList(); webClient.setAlertHandler( new CollectingAlertHandler(collectedAlerts) ); final String firstContent = "<html><head><title>First</title></head><body>" + " <iframe name='secondFrame' id='secondFrame' src='http://second' />" + "</body></html>"; final String secondContent = "<html><head><title>Second</title></head><body>" + " <a id='link' " + "onClick='open(\"http://third\", \"_blank\").focus(); '>" + "Click me</a>" + "</body></html>"; final String thirdContent = "<html><head><title>Third</title></head><body>" + "</body></html>"; webConnection.setResponse( URL_FIRST, firstContent, 200, "OK", "text/html", Collections.EMPTY_LIST ); webConnection.setResponse( URL_SECOND, secondContent, 200, "OK", "text/html", Collections.EMPTY_LIST ); webConnection.setResponse( URL_THIRD, thirdContent, 200, "OK", "text/html", Collections.EMPTY_LIST ); webClient.setWebConnection( webConnection ); final HtmlPage firstPage = ( HtmlPage )webClient.getPage( URL_FIRST, SubmitMethod.POST, Collections.EMPTY_LIST ); assertEquals( "First", firstPage.getTitleText() ); final WebWindow firstWindow = firstPage.getEnclosingWindow(); final HtmlInlineFrame secondFrame = (HtmlInlineFrame)firstPage.getHtmlElementById("secondFrame"); final HtmlPage secondPage = (HtmlPage)secondFrame.getEnclosedPage(); assertEquals( "Second", secondPage.getTitleText() ); try { assertEquals(secondFrame.getEnclosedWindow(), webClient.getWebWindowByName( "secondFrame" )); // Expected path } catch (WebWindowNotFoundException exception) { fail( "Expected secondFrame would be found before click." ); } final HtmlAnchor anchor = (HtmlAnchor)secondPage.getHtmlElementById("link"); final HtmlPage thirdPage = (HtmlPage)anchor.click(); assertEquals( "Third", thirdPage.getTitleText() ); final WebWindow thirdWindow = thirdPage.getEnclosingWindow(); assertNotSame( firstWindow, thirdWindow ); assertEquals( "", thirdWindow.getName() ); assertEquals( thirdWindow, thirdWindow.getTopWindow() ); try { assertEquals(secondFrame.getEnclosedWindow(), webClient.getWebWindowByName( "secondFrame" )); // Expected path } catch (WebWindowNotFoundException exception) { fail( "Expected secondFrame would be found after click." ); } assertEquals( Collections.EMPTY_LIST, collectedAlerts); }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/429ab9b3f74495494a904bb8f0f080fb6c368809/WindowTest.java/clean/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/WindowTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3678, 3829, 67, 12111, 1435, 1216, 1185, 288, 3639, 727, 2999, 1227, 3311, 1227, 273, 394, 2999, 1227, 5621, 3639, 727, 7867, 4079, 1952, 3311, 1952, 273, 394, 7867, 4079, 1952, 12, 3311, 1227, 11272, 3639, 727, 987, 12230, 37, 29729, 273, 394, 2407, 5621, 3639, 3311, 1227, 18, 542, 13298, 1503, 12, 394, 9302, 310, 13298, 1503, 12, 14676, 329, 37, 29729, 13, 11272, 3639, 727, 514, 1122, 1350, 2398, 273, 3532, 2620, 4438, 1978, 4438, 2649, 34, 3759, 1757, 2649, 4695, 1978, 4438, 3432, 2984, 2398, 397, 315, 225, 411, 18891, 508, 2218, 8538, 3219, 11, 612, 2218, 8538, 3219, 11, 1705, 2218, 2505, 2207, 8538, 11, 28505, 2398, 397, 6823, 3432, 4695, 2620, 2984, 31, 3639, 727, 514, 2205, 1350, 2398, 273, 3532, 2620, 4438, 1978, 4438, 2649, 34, 8211, 1757, 2649, 4695, 1978, 4438, 3432, 2984, 2398, 397, 315, 225, 411, 69, 612, 2218, 1232, 11, 315, 2398, 397, 315, 265, 6563, 2218, 3190, 23031, 2505, 2207, 451, 6909, 22564, 1239, 67, 12111, 2412, 2934, 13923, 5621, 296, 2984, 2398, 397, 315, 6563, 1791, 1757, 69, 2984, 2398, 397, 6823, 3432, 4695, 2620, 2984, 31, 3639, 727, 514, 12126, 1350, 2398, 273, 3532, 2620, 4438, 1978, 4438, 2649, 34, 24694, 1757, 2649, 4695, 1978, 4438, 3432, 2984, 2398, 397, 6823, 3432, 4695, 2620, 2984, 31, 3639, 3311, 1952, 18, 542, 1064, 12, 5411, 1976, 67, 15354, 16, 1122, 1350, 16, 4044, 16, 315, 3141, 3113, 315, 955, 19, 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, 1071, 918, 1842, 3678, 3829, 67, 12111, 1435, 1216, 1185, 288, 3639, 727, 2999, 1227, 3311, 1227, 273, 394, 2999, 1227, 5621, 3639, 727, 7867, 4079, 1952, 3311, 1952, 273, 394, 7867, 4079, 1952, 12, 3311, 1227, 11272, 3639, 727, 987, 12230, 37, 29729, 273, 394, 2407, 5621, 3639, 3311, 1227, 18, 542, 13298, 1503, 12, 394, 9302, 310, 13298, 1503, 12, 14676, 329, 37, 29729, 13, 11272, 3639, 727, 514, 1122, 1350, 2398, 273, 3532, 2620, 4438, 1978, 4438, 2649, 34, 3759, 1757, 2649, 4695, 1978, 4438, 3432, 2984, 2398, 397, 315, 225, 411, 18891, 508, 2218, 8538, 3219, 11, 612, 2218, 8538, 3219, 11, 1705, 2218, 2505, 2207, 8538, 11, 28505, 2398, 397, 6823, 3432, 4695, 2 ]
for (Iterator i = expressions.iterator(); i.hasNext();) {
for (Iterator i = steps.iterator(); i.hasNext();) {
public void resetState() { for (Iterator i = expressions.iterator(); i.hasNext();) { ((Expression) i.next()).resetState(); } }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/2e294c93d1ffb2b9a9df0b3d6f1ced03804b9fa8/SequenceConstructor.java/clean/src/org/exist/xquery/SequenceConstructor.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, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2715, 1119, 1435, 288, 202, 202, 1884, 261, 3198, 277, 273, 8041, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 12443, 2300, 13, 277, 18, 4285, 1435, 2934, 6208, 1119, 5621, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
doConnect(connectable);
synchronized (this) { doConnect(connectable); }
public final void connect(final UMOConnectable connectable) throws FatalConnectException { if (doThreading) { try { MuleManager.getInstance().getWorkManager().scheduleWork(new Work() { public void release() { // nothing to do } public void run() { try { doConnect(connectable); } catch (FatalConnectException e) { resetState(); // TODO: this cast is evil if (connectable instanceof AbstractMessageReceiver) { ((AbstractMessageReceiver)connectable).handleException(e); } } } }); } catch (WorkException e) { resetState(); throw new FatalConnectException(e, connectable); } } else { try { doConnect(connectable); } finally { resetState(); } } }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/8e24e81931bf634b328599172a4bfbed5021d70e/AbstractConnectionStrategy.java/buggy/core/src/main/java/org/mule/providers/AbstractConnectionStrategy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 3077, 12, 6385, 587, 5980, 5215, 429, 3077, 429, 13, 1216, 10375, 5215, 503, 565, 288, 3639, 309, 261, 2896, 3830, 310, 13, 3639, 288, 5411, 775, 5411, 288, 7734, 490, 725, 1318, 18, 588, 1442, 7675, 588, 2421, 1318, 7675, 10676, 2421, 12, 2704, 4147, 1435, 7734, 288, 10792, 1071, 918, 3992, 1435, 10792, 288, 13491, 368, 5083, 358, 741, 10792, 289, 10792, 1071, 918, 1086, 1435, 10792, 288, 13491, 775, 13491, 288, 18701, 3852, 261, 2211, 13, 288, 741, 5215, 12, 3612, 429, 1769, 289, 13491, 289, 13491, 1044, 261, 19593, 5215, 503, 425, 13, 13491, 288, 18701, 2715, 1119, 5621, 18701, 368, 2660, 30, 333, 4812, 353, 2113, 330, 18701, 309, 261, 3612, 429, 1276, 4115, 1079, 12952, 13, 18701, 288, 27573, 14015, 7469, 1079, 12952, 13, 3612, 429, 2934, 4110, 503, 12, 73, 1769, 18701, 289, 13491, 289, 10792, 289, 7734, 15549, 5411, 289, 5411, 1044, 261, 2421, 503, 425, 13, 5411, 288, 7734, 2715, 1119, 5621, 7734, 604, 394, 10375, 5215, 503, 12, 73, 16, 3077, 429, 1769, 5411, 289, 3639, 289, 3639, 469, 3639, 288, 5411, 775, 5411, 288, 7734, 3852, 261, 2211, 13, 288, 741, 5215, 12, 3612,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, 565, 288, 3639, 309, 261, 2896, 3830, 310, 13, 3639, 288, 5411, 775, 5411, 288, 7734, 490, 725, 1318, 18, 588, 1442, 7675, 588, 2421, 1318, 7675, 10676, 2421, 12, 2704, 4147, 1435, 7734, 288, 10792, 1071, 918, 3992, 1435, 10792, 288, 13491, 368, 5083, 358, 741, 10792, 289, 10792, 1071, 918, 1086, 1435, 10792, 288, 13491, 775, 13491, 288, 18701, 3852, 261, 2211, 13, 288, 741, 5215, 12, 3612, 429, 1769, 289, 13491, 289, 13491, 1044, 261, 19593, 5215, 503, 425, 13, 13491, 288, 18701, 2715, 1119, 5621, 18701, 368, 2660, 30, 333, 4812, 353, 2113, 330, 18701, 309, 261, 2 ]
}
public void schedule() { USKAttempt[] attempts; long lookedUp = uskManager.lookup(origUSK); synchronized(this) { valueAtSchedule = Math.max(lookedUp, valueAtSchedule); if(cancelled) return; long startPoint = Math.max(origUSK.suggestedEdition, valueAtSchedule); for(long i=startPoint;i<startPoint+minFailures;i++) add(i); attempts = (USKAttempt[]) runningAttempts.toArray(new USKAttempt[runningAttempts.size()]); started = true; } if(!cancelled) for(int i=0;i<attempts.length;i++) attempts[i].schedule(); }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/a6a9cc01004d94d4bdefc0b76c0bdb1962187369/USKFetcher.java/buggy/src/freenet/client/async/USKFetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4788, 1435, 288, 202, 202, 3378, 47, 7744, 8526, 7531, 31, 202, 202, 5748, 27321, 1211, 273, 584, 79, 1318, 18, 8664, 12, 4949, 3378, 47, 1769, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 1132, 861, 6061, 273, 2361, 18, 1896, 12, 7330, 329, 1211, 16, 460, 861, 6061, 1769, 1082, 202, 430, 12, 10996, 1259, 13, 327, 31, 1082, 202, 5748, 787, 2148, 273, 2361, 18, 1896, 12, 4949, 3378, 47, 18, 87, 28892, 41, 1460, 16, 460, 861, 6061, 1769, 1082, 202, 1884, 12, 5748, 277, 33, 1937, 2148, 31, 77, 32, 1937, 2148, 15, 1154, 14479, 31, 77, 27245, 9506, 202, 1289, 12, 77, 1769, 1082, 202, 14359, 273, 261, 3378, 47, 7744, 63, 5717, 3549, 10113, 18, 31447, 12, 2704, 587, 11129, 7744, 63, 8704, 10113, 18, 1467, 1435, 19226, 1082, 202, 14561, 273, 638, 31, 202, 202, 97, 202, 202, 430, 12, 5, 10996, 1259, 13, 1082, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 14359, 18, 2469, 31, 77, 27245, 9506, 202, 14359, 63, 77, 8009, 10676, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4788, 1435, 288, 202, 202, 3378, 47, 7744, 8526, 7531, 31, 202, 202, 5748, 27321, 1211, 273, 584, 79, 1318, 18, 8664, 12, 4949, 3378, 47, 1769, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 1132, 861, 6061, 273, 2361, 18, 1896, 12, 7330, 329, 1211, 16, 460, 861, 6061, 1769, 1082, 202, 430, 12, 10996, 1259, 13, 327, 31, 1082, 202, 5748, 787, 2148, 273, 2361, 18, 1896, 12, 4949, 3378, 47, 18, 87, 28892, 41, 1460, 16, 460, 861, 6061, 1769, 1082, 202, 1884, 12, 5748, 277, 33, 1937, 2148, 31, 77, 32, 1937, 2148, 15, 1154, 14479, 31, 77, 27245, 9506, 202, 1289, 12, 77, 1769, 1082, 202, 14359, 273, 261, 2 ]
fileSet = plugin.makeCachedUrlSet(mau, rSpec);
fileSet = mau.makeCachedUrlSet(rSpec);
public void testHashIterator() throws Exception { createLeaf("http://www.example.com/testDir/branch1/leaf2", "test stream", null); createLeaf("http://www.example.com/testDir/leaf4", "test stream", null); createLeaf("http://www.example.com/testDir/branch2/leaf3", "test stream", null); createLeaf("http://www.example.com/testDir/branch1/leaf1", "test stream", null); CachedUrlSetSpec rSpec = new RangeCachedUrlSetSpec("http://www.example.com/testDir"); CachedUrlSet fileSet = plugin.makeCachedUrlSet(mau, rSpec); Iterator setIt = fileSet.contentHashIterator(); ArrayList childL = new ArrayList(7); while (setIt.hasNext()) { childL.add(((CachedUrlSetNode)setIt.next()).getUrl()); } // should be sorted String[] expectedA = new String[] { "http://www.example.com/testDir", "http://www.example.com/testDir/branch1", "http://www.example.com/testDir/branch1/leaf1", "http://www.example.com/testDir/branch1/leaf2", "http://www.example.com/testDir/branch2", "http://www.example.com/testDir/branch2/leaf3", "http://www.example.com/testDir/leaf4" }; assertIsomorphic(expectedA, childL); // add content to an internal node // should behave normally createLeaf("http://www.example.com/testDir/branch1", "test stream", null); rSpec = new RangeCachedUrlSetSpec("http://www.example.com/testDir/branch1"); fileSet = plugin.makeCachedUrlSet(mau, rSpec); setIt = fileSet.contentHashIterator(); childL = new ArrayList(3); while (setIt.hasNext()) { childL.add(((CachedUrlSetNode)setIt.next()).getUrl()); } assertFalse(setIt.hasNext()); try { setIt.next(); fail("setIt.next() should have thrown when it has no elements"); } catch (NoSuchElementException e) { } // should be sorted expectedA = new String[] { "http://www.example.com/testDir/branch1", "http://www.example.com/testDir/branch1/leaf1", "http://www.example.com/testDir/branch1/leaf2" }; assertIsomorphic(expectedA, childL); }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/2fb32b4753ab4cc6fd32a766af32b94f15059b7f/TestBaseCachedUrlSet.java/clean/test/src/org/lockss/plugin/base/TestBaseCachedUrlSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 2310, 3198, 1435, 1216, 1185, 288, 565, 752, 9858, 2932, 2505, 2207, 5591, 18, 8236, 18, 832, 19, 3813, 1621, 19, 7500, 21, 19, 12070, 22, 3113, 9079, 315, 3813, 1407, 3113, 446, 1769, 565, 752, 9858, 2932, 2505, 2207, 5591, 18, 8236, 18, 832, 19, 3813, 1621, 19, 12070, 24, 3113, 315, 3813, 1407, 3113, 446, 1769, 565, 752, 9858, 2932, 2505, 2207, 5591, 18, 8236, 18, 832, 19, 3813, 1621, 19, 7500, 22, 19, 12070, 23, 3113, 9079, 315, 3813, 1407, 3113, 446, 1769, 565, 752, 9858, 2932, 2505, 2207, 5591, 18, 8236, 18, 832, 19, 3813, 1621, 19, 7500, 21, 19, 12070, 21, 3113, 9079, 315, 3813, 1407, 3113, 446, 1769, 565, 15771, 1489, 694, 1990, 436, 1990, 273, 3639, 394, 8086, 9839, 1489, 694, 1990, 2932, 2505, 2207, 5591, 18, 8236, 18, 832, 19, 3813, 1621, 8863, 565, 15771, 1489, 694, 585, 694, 273, 312, 8377, 18, 6540, 9839, 1489, 694, 12, 86, 1990, 1769, 565, 4498, 444, 7193, 273, 585, 694, 18, 1745, 2310, 3198, 5621, 565, 2407, 1151, 48, 273, 394, 2407, 12, 27, 1769, 565, 1323, 261, 542, 7193, 18, 5332, 2134, 10756, 288, 1377, 1151, 48, 18, 1289, 12443, 12, 9839, 1489, 694, 907, 13, 542, 7193, 18, 4285, 1435, 2934, 588, 1489, 10663, 565, 289, 565, 368, 1410, 506, 3115, 565, 514, 8526, 2665, 37, 273, 394, 514, 8526, 288, 1377, 315, 2505, 2207, 5591, 18, 8236, 18, 832, 19, 3813, 1621, 3113, 1377, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 2310, 3198, 1435, 1216, 1185, 288, 565, 752, 9858, 2932, 2505, 2207, 5591, 18, 8236, 18, 832, 19, 3813, 1621, 19, 7500, 21, 19, 12070, 22, 3113, 9079, 315, 3813, 1407, 3113, 446, 1769, 565, 752, 9858, 2932, 2505, 2207, 5591, 18, 8236, 18, 832, 19, 3813, 1621, 19, 12070, 24, 3113, 315, 3813, 1407, 3113, 446, 1769, 565, 752, 9858, 2932, 2505, 2207, 5591, 18, 8236, 18, 832, 19, 3813, 1621, 19, 7500, 22, 19, 12070, 23, 3113, 9079, 315, 3813, 1407, 3113, 446, 1769, 565, 752, 9858, 2932, 2505, 2207, 5591, 18, 8236, 18, 832, 19, 3813, 1621, 19, 7500, 21, 19, 12070, 21, 3113, 9079, 315, 3813, 1407, 3113, 446, 1769, 565, 2 ]
if (newExtension == null || newExtension.length() < 1) { MessageDialog.openInformation( getControl().getShell(), WorkbenchMessages.getString("FileEditorPreference.extensionEmptyTitle"), WorkbenchMessages.getString("FileEditorPreference.extensionEmptyMessage")); return; }
Assert.isTrue((newName != null && newName.length() != 0) || (newExtension != null && newExtension.length() != 0));
public void addResourceType(String newName, String newExtension) { // A file extension must always be provided. Only the file // name is optional. if (newExtension == null || newExtension.length() < 1) { MessageDialog.openInformation( getControl().getShell(), WorkbenchMessages.getString("FileEditorPreference.extensionEmptyTitle"), //$NON-NLS-1$ WorkbenchMessages.getString("FileEditorPreference.extensionEmptyMessage")); //$NON-NLS-1$ return; } if (newName == null || newName.length() < 1) newName = "*";//$NON-NLS-1$ else { // Wild card only valid by itself (i.e. rep* is not valid) int index = newName.indexOf('*'); if (index > -1) { if (!(index == 0 && newName.length() == 1)) { MessageDialog.openInformation( getControl().getShell(), WorkbenchMessages.getString("FileEditorPreference.fileNameInvalidTitle"), //$NON-NLS-1$ WorkbenchMessages.getString("FileEditorPreference.fileNameInvalidMessage")); //$NON-NLS-1$ return; } } } // Find the index at which to insert the new entry. String newFilename = (newName + "." + newExtension).toUpperCase();//$NON-NLS-1$ IFileEditorMapping resourceType; TableItem[] items = resourceTypeTable.getItems(); boolean found = false; int i = 0; while (i < items.length && !found) { resourceType = (IFileEditorMapping) items[i].getData(); int result = newFilename.compareTo(resourceType.getLabel().toUpperCase()); if (result == 0) { // Same resource type not allowed! MessageDialog.openInformation( getControl().getShell(), WorkbenchMessages.getString("FileEditorPreference.existsTitle"), //$NON-NLS-1$ WorkbenchMessages.getString("FileEditorPreference.existsMessage")); //$NON-NLS-1$ return; } if (result < 0) found = true; else i++; } // Create the new type and insert it resourceType = new FileEditorMapping(newName, newExtension); newResourceTableItem(resourceType, i, true); resourceTypeTable.setFocus(); fillEditorTable();}
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3b408f1fa11f6b34338d6eab26b8bbf9e3e6f218/FileEditorsPreferencePage.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/dialogs/FileEditorsPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 527, 15631, 12, 780, 13253, 16, 514, 394, 3625, 13, 288, 202, 759, 432, 585, 2710, 1297, 3712, 506, 2112, 18, 5098, 326, 585, 202, 759, 508, 353, 3129, 18, 202, 430, 261, 2704, 3625, 422, 446, 747, 394, 3625, 18, 2469, 1435, 411, 404, 13, 288, 202, 202, 1079, 6353, 18, 3190, 5369, 12, 1082, 202, 588, 3367, 7675, 588, 13220, 9334, 1082, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 812, 6946, 9624, 18, 6447, 1921, 4247, 6, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 812, 6946, 9624, 18, 6447, 1921, 1079, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 2463, 31, 202, 97, 202, 430, 261, 2704, 461, 422, 446, 747, 13253, 18, 2469, 1435, 411, 404, 13, 202, 202, 2704, 461, 273, 10971, 31, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 12107, 288, 202, 202, 759, 678, 545, 5270, 1338, 923, 635, 6174, 261, 77, 18, 73, 18, 2071, 14, 353, 486, 923, 13, 202, 202, 474, 770, 273, 13253, 18, 31806, 2668, 4035, 1769, 202, 202, 430, 261, 1615, 405, 300, 21, 13, 288, 1082, 202, 430, 16051, 12, 1615, 422, 374, 597, 13253, 18, 2469, 1435, 422, 404, 3719, 288, 9506, 202, 1079, 6353, 18, 3190, 5369, 12, 6862, 202, 588, 3367, 7675, 588, 13220, 9334, 6862, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 812, 6946, 9624, 18, 17812, 1941, 4247, 6, 3631, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 527, 15631, 12, 780, 13253, 16, 514, 394, 3625, 13, 288, 202, 759, 432, 585, 2710, 1297, 3712, 506, 2112, 18, 5098, 326, 585, 202, 759, 508, 353, 3129, 18, 202, 430, 261, 2704, 3625, 422, 446, 747, 394, 3625, 18, 2469, 1435, 411, 404, 13, 288, 202, 202, 1079, 6353, 18, 3190, 5369, 12, 1082, 202, 588, 3367, 7675, 588, 13220, 9334, 1082, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 812, 6946, 9624, 18, 6447, 1921, 4247, 6, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 812, 6946, 9624, 18, 6447, 1921, 1079, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 2463, 31, 2 ]
filterEnabledButton = createCheckbox(composite, mnemonics.assign(Messages .getString("filtersDialog.onOff")),
filterEnabledButton = createCheckbox(composite, Messages.getString("filtersDialog.onOff"),
protected void createOnOffArea(Composite parent, MnemonicAssigner mnemonics) { Font font = parent.getFont(); Composite composite = new Composite(parent, SWT.NONE); composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); composite.setFont(font); composite.setLayout(new GridLayout()); filterEnabledButton = createCheckbox(composite, mnemonics.assign(Messages .getString("filtersDialog.onOff")), //$NON-NLS-1$ false); filterEnabledButton.setFont(composite.getFont()); filterEnabledButton.setLayoutData(new GridData()); filterEnabledButton.addSelectionListener(selectionListener); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/a9c33432fa2d46b64162d8fe154f421013d753bd/DialogMarkerFilter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 752, 1398, 7210, 5484, 12, 9400, 982, 16, 23851, 20918, 4910, 264, 12883, 4758, 2102, 13, 288, 3639, 10063, 3512, 273, 982, 18, 588, 5711, 5621, 3639, 14728, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 3639, 9635, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 3639, 9635, 18, 542, 5711, 12, 5776, 1769, 3639, 9635, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 3639, 1034, 1526, 3616, 273, 752, 21272, 12, 27676, 16, 12883, 4758, 2102, 18, 6145, 12, 5058, 7734, 263, 588, 780, 2932, 6348, 6353, 18, 265, 7210, 7923, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 629, 1769, 3639, 1034, 1526, 3616, 18, 542, 5711, 12, 27676, 18, 588, 5711, 10663, 3639, 1034, 1526, 3616, 18, 542, 3744, 751, 12, 2704, 7145, 751, 10663, 3639, 1034, 1526, 3616, 18, 1289, 6233, 2223, 12, 10705, 2223, 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,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210, 5484, 12, 9400, 982, 16, 23851, 20918, 4910, 264, 12883, 4758, 2102, 13, 288, 3639, 10063, 3512, 273, 982, 18, 588, 5711, 5621, 3639, 14728, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 3639, 9635, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 3639, 9635, 18, 542, 5711, 12, 5776, 1769, 3639, 9635, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 3639, 1034, 1526, 3616, 273, 752, 21272, 12, 27676, 16, 12883, 4758, 2102, 18, 6145, 12, 5058, 7734, 263, 588, 780, 2932, 6348, 6353, 18, 265, 7210, 7923, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 629, 1769, 2 ]
Xpp3Dom[] existingBuildCommands = buildSpec.getChildren( "buildCommand" );
Xpp3Dom[] existingBuildCommands = buildSpec.getChildren( ELT_BUILD_COMMAND );
public void write( File projectBaseDir, MavenProject executedProject, List reactorArtifacts, List addedProjectnatures, List addedBuildCommands ) throws MojoExecutionException { Set projectnatures = new LinkedHashSet(); Set buildCommands = new LinkedHashSet(); File dotProject = new File( eclipseProjectDir, ".project" ); if ( dotProject.exists() ) { log.info( Messages.getString( "EclipsePlugin.keepexisting", dotProject.getAbsolutePath() ) ); //$NON-NLS-1$ // parse existing file in order to keep manually-added entries FileReader reader = null; try { reader = new FileReader( dotProject ); Xpp3Dom dom = Xpp3DomBuilder.build( reader ); Xpp3Dom naturesElement = dom.getChild( "natures" ); if ( naturesElement != null ) { Xpp3Dom[] existingNatures = naturesElement.getChildren( "nature" ); for ( int j = 0; j < existingNatures.length; j++ ) { // adds all the existing natures projectnatures.add( existingNatures[j].getValue() ); } } Xpp3Dom buildSpec = dom.getChild( "buildSpec" ); if ( buildSpec != null ) { Xpp3Dom[] existingBuildCommands = buildSpec.getChildren( "buildCommand" ); for ( int j = 0; j < existingBuildCommands.length; j++ ) { Xpp3Dom buildCommandName = existingBuildCommands[j].getChild( "name" ); if ( buildCommandName != null ) { buildCommands.add( buildCommandName.getValue() ); } } } } catch ( XmlPullParserException e ) { log.warn( Messages.getString( "EclipsePlugin.cantparseexisting", dotProject.getAbsolutePath() ) ); //$NON-NLS-1$ } catch ( IOException e ) { log.warn( Messages.getString( "EclipsePlugin.cantparseexisting", dotProject.getAbsolutePath() ) ); //$NON-NLS-1$ } finally { IOUtil.close( reader ); } } // adds new entries after the existing ones for ( Iterator iter = addedProjectnatures.iterator(); iter.hasNext(); ) { projectnatures.add( iter.next() ); } for ( Iterator iter = addedBuildCommands.iterator(); iter.hasNext(); ) { buildCommands.add( iter.next() ); } FileWriter w; try { w = new FileWriter( dotProject ); //$NON-NLS-1$ } catch ( IOException ex ) { throw new MojoExecutionException( Messages.getString( "EclipsePlugin.erroropeningfile" ), ex ); //$NON-NLS-1$ } XMLWriter writer = new PrettyPrintXMLWriter( w ); writer.startElement( "projectDescription" ); //$NON-NLS-1$ writer.startElement( "name" ); //$NON-NLS-1$ writer.writeText( project.getArtifactId() ); writer.endElement(); // TODO: this entire element might be dropped if the comment is null. // but as the maven1 eclipse plugin does it, it's better to be safe than sorry // A eclipse developer might want to look at this. writer.startElement( "comment" ); //$NON-NLS-1$ if ( project.getDescription() != null ) { writer.writeText( project.getDescription() ); } writer.endElement(); writer.startElement( "projects" ); //$NON-NLS-1$ if ( reactorArtifacts != null && !reactorArtifacts.isEmpty() ) { for ( Iterator it = reactorArtifacts.iterator(); it.hasNext(); ) { writer.startElement( "project" ); //$NON-NLS-1$ writer.writeText( ( (Artifact) it.next() ).getArtifactId() ); writer.endElement(); } } writer.endElement(); // projects writer.startElement( "buildSpec" ); //$NON-NLS-1$ for ( Iterator it = buildCommands.iterator(); it.hasNext(); ) { writer.startElement( "buildCommand" ); //$NON-NLS-1$ writer.startElement( "name" ); //$NON-NLS-1$ writer.writeText( (String) it.next() ); writer.endElement(); // name writer.startElement( "arguments" ); //$NON-NLS-1$ writer.endElement(); // arguments writer.endElement(); // buildCommand } writer.endElement(); // buildSpec writer.startElement( "natures" ); //$NON-NLS-1$ for ( Iterator it = projectnatures.iterator(); it.hasNext(); ) { writer.startElement( "nature" ); //$NON-NLS-1$ writer.writeText( (String) it.next() ); writer.endElement(); // name } writer.endElement(); // natures if ( !projectBaseDir.equals( eclipseProjectDir ) ) { writer.startElement( "linkedResources" ); //$NON-NLS-1$ addFileLink( writer, projectBaseDir, eclipseProjectDir, project.getFile() ); addSourceLinks( writer, projectBaseDir, eclipseProjectDir, executedProject.getCompileSourceRoots() ); addResourceLinks( writer, projectBaseDir, eclipseProjectDir, executedProject.getBuild().getResources() ); addSourceLinks( writer, projectBaseDir, eclipseProjectDir, executedProject.getTestCompileSourceRoots() ); addResourceLinks( writer, projectBaseDir, eclipseProjectDir, executedProject.getBuild().getTestResources() ); writer.endElement(); // linedResources } writer.endElement(); // projectDescription IOUtil.close( w ); }
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/4fa86ec4af5c6e918fff7250161556e4b3f0e1d8/EclipseProjectWriter.java/buggy/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/EclipseProjectWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 12, 1387, 1984, 2171, 1621, 16, 17176, 4109, 7120, 4109, 16, 987, 19178, 16981, 16, 8227, 987, 3096, 4109, 82, 2790, 16, 987, 3096, 3116, 9127, 262, 3639, 1216, 18780, 565, 288, 3639, 1000, 1984, 82, 2790, 273, 394, 19523, 5621, 3639, 1000, 1361, 9127, 273, 394, 19523, 5621, 3639, 1387, 3928, 4109, 273, 394, 1387, 12, 6557, 10472, 4109, 1621, 16, 3552, 4406, 6, 11272, 3639, 309, 261, 3928, 4109, 18, 1808, 1435, 262, 3639, 288, 5411, 613, 18, 1376, 12, 4838, 18, 588, 780, 12, 315, 23057, 10472, 3773, 18, 10102, 11711, 3113, 3928, 4109, 18, 588, 10368, 743, 1435, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 368, 1109, 2062, 585, 316, 1353, 358, 3455, 10036, 17, 9665, 3222, 5411, 23010, 2949, 273, 446, 31, 5411, 775, 5411, 288, 7734, 2949, 273, 394, 23010, 12, 3928, 4109, 11272, 7734, 1139, 11858, 23, 8832, 4092, 273, 1139, 11858, 23, 8832, 1263, 18, 3510, 12, 2949, 11272, 7734, 1139, 11858, 23, 8832, 290, 2790, 1046, 273, 4092, 18, 588, 1763, 12, 315, 82, 2790, 6, 11272, 7734, 309, 261, 290, 2790, 1046, 480, 446, 262, 7734, 288, 10792, 1139, 11858, 23, 8832, 8526, 2062, 50, 2790, 273, 290, 2790, 1046, 18, 588, 4212, 12, 315, 82, 1231, 6, 11272, 10792, 364, 261, 509, 525, 273, 374, 31, 525, 411, 2062, 50, 2790, 18, 2469, 31, 525, 9904, 262, 10792, 288, 13491, 368, 4831, 777, 326, 2062, 290, 2790, 13491, 1984, 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, 1045, 12, 1387, 1984, 2171, 1621, 16, 17176, 4109, 7120, 4109, 16, 987, 19178, 16981, 16, 8227, 987, 3096, 4109, 82, 2790, 16, 987, 3096, 3116, 9127, 262, 3639, 1216, 18780, 565, 288, 3639, 1000, 1984, 82, 2790, 273, 394, 19523, 5621, 3639, 1000, 1361, 9127, 273, 394, 19523, 5621, 3639, 1387, 3928, 4109, 273, 394, 1387, 12, 6557, 10472, 4109, 1621, 16, 3552, 4406, 6, 11272, 3639, 309, 261, 3928, 4109, 18, 1808, 1435, 262, 3639, 288, 5411, 613, 18, 1376, 12, 4838, 18, 588, 780, 12, 315, 23057, 10472, 3773, 18, 10102, 11711, 3113, 3928, 4109, 18, 588, 10368, 743, 1435, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 368, 1109, 2062, 2 ]
fIsFocused= false; unfocus(true); fDamageRgn= 0;
public void carbon_unfocus() { //fIsFocused= false; //unfocus(true); OS.UnlockPortBits(handle); }
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/6e89f26f4d6cf8c990840a7f12e701138a427091/GC.java/buggy/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 28755, 67, 318, 13923, 1435, 288, 202, 202, 759, 74, 2520, 30946, 33, 629, 31, 202, 202, 759, 318, 13923, 12, 3767, 1769, 202, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 28755, 67, 318, 13923, 1435, 288, 202, 202, 759, 74, 2520, 30946, 33, 629, 31, 202, 202, 759, 318, 13923, 12, 3767, 1769, 202, 202, 4618, 18, 7087, 2617, 6495, 12, 4110, 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 ]
} if (siteFile.exists()) { IEditorInput in = new SystemFileEditorInput(siteFile); manager.putContext(in, new SiteInputContext(this, in, file == siteFile));
if (siteFile.exists()) { IEditorInput in = new SystemFileEditorInput(siteFile); manager.putContext(in, new SiteInputContext(this, in, file == siteFile)); }
protected void createSystemFileContexts(InputContextManager manager, SystemFileEditorInput input) { File file = (File) input.getAdapter(File.class); File siteFile = null; String name = file.getName().toLowerCase(); if (name.equals("site.xml")) { //$NON-NLS-1$ siteFile = file; } if (siteFile.exists()) { IEditorInput in = new SystemFileEditorInput(siteFile); manager.putContext(in, new SiteInputContext(this, in, file == siteFile)); } }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/2e5c41b7577dece6f5f990fa7007dcd4e5063a85/SiteEditor.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/site/SiteEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 3163, 812, 15518, 12, 1210, 1042, 1318, 3301, 16, 1082, 202, 3163, 812, 6946, 1210, 810, 13, 288, 202, 202, 812, 585, 273, 261, 812, 13, 810, 18, 588, 4216, 12, 812, 18, 1106, 1769, 202, 202, 812, 2834, 812, 273, 446, 31, 202, 202, 780, 508, 273, 585, 18, 17994, 7675, 869, 5630, 5621, 202, 202, 430, 261, 529, 18, 14963, 2932, 4256, 18, 2902, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 4256, 812, 273, 585, 31, 202, 202, 97, 202, 202, 430, 261, 4256, 812, 18, 1808, 10756, 288, 1082, 202, 45, 6946, 1210, 316, 273, 394, 2332, 812, 6946, 1210, 12, 4256, 812, 1769, 1082, 202, 4181, 18, 458, 1042, 12, 267, 16, 394, 9063, 1210, 1042, 12, 2211, 16, 316, 16, 6862, 202, 768, 422, 2834, 812, 10019, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 3163, 812, 15518, 12, 1210, 1042, 1318, 3301, 16, 1082, 202, 3163, 812, 6946, 1210, 810, 13, 288, 202, 202, 812, 585, 273, 261, 812, 13, 810, 18, 588, 4216, 12, 812, 18, 1106, 1769, 202, 202, 812, 2834, 812, 273, 446, 31, 202, 202, 780, 508, 273, 585, 18, 17994, 7675, 869, 5630, 5621, 202, 202, 430, 261, 529, 18, 14963, 2932, 4256, 18, 2902, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 4256, 812, 273, 585, 31, 202, 202, 97, 202, 202, 430, 261, 4256, 812, 18, 1808, 10756, 288, 1082, 202, 45, 6946, 1210, 316, 273, 394, 2332, 812, 6946, 1210, 12, 4256, 812, 1769, 1082, 202, 2 ]
composite.setLayout(childLayout);
workArea.setLayout(childLayout);
protected Control createContents(Composite parent) { // initialize the dialog units initializeDialogUnits(parent); FormLayout layout = new FormLayout(); parent.setLayout(layout); FormData data = new FormData(); data.top = new FormAttachment(0,0); data.bottom = new FormAttachment(100,100); parent.setLayoutData(data); //Now create a work area for the rest of the dialog Composite composite = new Composite(parent, SWT.NULL); GridLayout childLayout = new GridLayout(); childLayout.marginHeight = 0; childLayout.marginWidth = 0; childLayout.verticalSpacing = 0; composite.setLayout(childLayout); Control top = createTitleArea(parent); FormData childData = new FormData(); childData.top = new FormAttachment(top); childData.right = new FormAttachment(100,0); childData.left = new FormAttachment(0,0); childData.bottom = new FormAttachment(100,0); composite.setLayoutData(childData); composite.setFont(JFaceResources.getDialogFont()); // initialize the dialog units initializeDialogUnits(composite); // create the dialog area and button bar dialogArea = createDialogArea(composite); buttonBar = createButtonBar(composite); return parent;}
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/14d85baf533e705b8b581ef68acaf1d6da704eaf/TitleAreaDialog.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TitleAreaDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 8888, 752, 6323, 12, 9400, 982, 13, 288, 202, 202, 759, 4046, 326, 6176, 4971, 202, 11160, 6353, 7537, 12, 2938, 1769, 202, 202, 1204, 3744, 3511, 273, 394, 2748, 3744, 5621, 202, 2938, 18, 542, 3744, 12, 6741, 1769, 202, 30079, 501, 273, 394, 2748, 751, 5621, 202, 892, 18, 3669, 273, 394, 2748, 6803, 12, 20, 16, 20, 1769, 202, 892, 18, 9176, 273, 394, 2748, 6803, 12, 6625, 16, 6625, 1769, 202, 2938, 18, 542, 3744, 751, 12, 892, 1769, 202, 202, 759, 8674, 752, 279, 1440, 5091, 364, 326, 3127, 434, 326, 6176, 202, 9400, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 202, 6313, 3744, 1151, 3744, 273, 394, 7145, 3744, 5621, 202, 3624, 3744, 18, 10107, 2686, 273, 374, 31, 202, 3624, 3744, 18, 10107, 2384, 273, 374, 31, 202, 3624, 3744, 18, 17824, 18006, 273, 374, 31, 202, 27676, 18, 542, 3744, 12, 3624, 3744, 1769, 202, 202, 3367, 1760, 273, 752, 4247, 5484, 12, 2938, 1769, 202, 202, 30079, 1151, 751, 273, 394, 2748, 751, 5621, 202, 3624, 751, 18, 3669, 273, 394, 2748, 6803, 12, 3669, 1769, 202, 3624, 751, 18, 4083, 273, 394, 2748, 6803, 12, 6625, 16, 20, 1769, 202, 3624, 751, 18, 4482, 273, 394, 2748, 6803, 12, 20, 16, 20, 1769, 202, 3624, 751, 18, 9176, 273, 394, 2748, 6803, 12, 6625, 16, 20, 1769, 202, 27676, 18, 542, 3744, 751, 12, 3624, 751, 1769, 202, 202, 27676, 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, 4750, 8888, 752, 6323, 12, 9400, 982, 13, 288, 202, 202, 759, 4046, 326, 6176, 4971, 202, 11160, 6353, 7537, 12, 2938, 1769, 202, 202, 1204, 3744, 3511, 273, 394, 2748, 3744, 5621, 202, 2938, 18, 542, 3744, 12, 6741, 1769, 202, 30079, 501, 273, 394, 2748, 751, 5621, 202, 892, 18, 3669, 273, 394, 2748, 6803, 12, 20, 16, 20, 1769, 202, 892, 18, 9176, 273, 394, 2748, 6803, 12, 6625, 16, 6625, 1769, 202, 2938, 18, 542, 3744, 751, 12, 892, 1769, 202, 202, 759, 8674, 752, 279, 1440, 5091, 364, 326, 3127, 434, 326, 6176, 202, 9400, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 202, 6313, 3744, 1151, 3744, 273, 394, 2 ]
throw new SecurityException("Cannot overwrite existing " +
throw new SecurityException("Can not overwrite existing " +
public final void setSecurityController(SecurityController controller) { if (sealed) onSealedMutation(); if (controller == null) throw new IllegalArgumentException(); if (securityController != null) { throw new SecurityException("Cannot overwrite existing " + "SecurityController object"); } securityController = controller; }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/37d29a017a6038dd3a95ecea961c7097f7733631/Context.java/clean/src/org/mozilla/javascript/Context.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 444, 4368, 2933, 12, 4368, 2933, 2596, 13, 565, 288, 3639, 309, 261, 307, 18931, 13, 603, 1761, 18931, 20028, 5621, 3639, 309, 261, 5723, 422, 446, 13, 604, 394, 2754, 5621, 3639, 309, 261, 7462, 2933, 480, 446, 13, 288, 5411, 604, 394, 17780, 2932, 2568, 486, 6156, 2062, 315, 397, 4766, 3639, 315, 4368, 2933, 733, 8863, 3639, 289, 3639, 4373, 2933, 273, 2596, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 444, 4368, 2933, 12, 4368, 2933, 2596, 13, 565, 288, 3639, 309, 261, 307, 18931, 13, 603, 1761, 18931, 20028, 5621, 3639, 309, 261, 5723, 422, 446, 13, 604, 394, 2754, 5621, 3639, 309, 261, 7462, 2933, 480, 446, 13, 288, 5411, 604, 394, 17780, 2932, 2568, 486, 6156, 2062, 315, 397, 4766, 3639, 315, 4368, 2933, 733, 8863, 3639, 289, 3639, 4373, 2933, 273, 2596, 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 ]
this.cdCurrent.set( cdSelected.getRed( ), cdSelected.getGreen( ), cdSelected.getBlue( ) );
public void setColor( ColorDefinition cdSelected ) { this.cdCurrent = null; this.cdCurrent = cdSelected; this.cdCurrent.set( cdSelected.getRed( ), cdSelected.getGreen( ), cdSelected.getBlue( ) ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/1e765209f86d9978abab00aed01a2ba0a783081a/FontCanvas.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FontCanvas.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 16207, 12, 5563, 1852, 7976, 7416, 262, 202, 95, 202, 202, 2211, 18, 4315, 3935, 273, 446, 31, 202, 202, 2211, 18, 4315, 3935, 273, 7976, 7416, 31, 202, 202, 2211, 18, 4315, 3935, 18, 542, 12, 7976, 7416, 18, 588, 3715, 12, 262, 16, 9506, 202, 4315, 7416, 18, 588, 21453, 12, 262, 16, 9506, 202, 4315, 7416, 18, 588, 27986, 12, 262, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 202, 2211, 18, 4315, 3935, 18, 542, 12, 7976, 7416, 18, 588, 3715, 12, 262, 16, 9506, 202, 4315, 7416, 18, 588, 21453, 12, 262, 16, 9506, 202, 4315, 7416, 18, 588, 27986, 12, 262, 11272, 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 ]
else if (databaseMeta.needsPlaceHolder()) { sql+="0"; comma=true; }
public void combiInsert( Row row, String table, String keyfield, boolean autoinc, Value val_key, String keylookup[], int keynrs[], boolean crc, String crcfield, Value val_crc ) throws KettleDatabaseException { int i; boolean comma; if (prepStatementInsert==null) // first time: construct prepared statement { /* Construct the SQL statement... * * INSERT INTO * d_test(keyfield, [crcfield,] keylookup[]) * VALUES(val_key, [val_crc], row values with keynrs[]) * ; */ String sql="INSERT INTO "+databaseMeta.quoteField(table)+"( "; comma=false; if (!autoinc) // NO AUTOINCREMENT { sql+=databaseMeta.quoteField(keyfield); comma=true; } else if (databaseMeta.needsPlaceHolder()) { sql+="0"; // placeholder on informix! Will be replaced in table by real autoinc value. comma=true; } if (crc) { if (comma) sql+=", "; sql+=databaseMeta.quoteField(crcfield); comma=true; } for (i=0;i<keylookup.length;i++) { if (comma) sql+=", "; sql+=databaseMeta.quoteField(keylookup[i]); comma=true; } sql+=") VALUES ("; comma=false; if (keyfield!=null) { sql+="?"; comma=true; } if (crc) { if (comma) sql+=","; sql+="?"; comma=true; } for (i=0;i<keylookup.length;i++) { if (comma) sql+=","; else comma=true; sql+="?"; } sql+=" )"; try { if (keyfield==null) { log.logDetailed(toString(), "SQL with return keys: "+sql); prepStatementInsert=connection.prepareStatement(databaseMeta.stripCR(sql), Statement.RETURN_GENERATED_KEYS); } else { log.logDetailed(toString(), "SQL without return keys: "+sql); prepStatementInsert=connection.prepareStatement(databaseMeta.stripCR(sql)); } } catch(SQLException ex) { throw new KettleDatabaseException("Unable to prepare combi insert statement : "+Const.CR+sql, ex); } catch(Exception ex) { throw new KettleDatabaseException("Unable to prepare combi insert statement : "+Const.CR+sql, ex); } } Row rins=new Row(); if (!autoinc) rins.addValue(val_key); if (crc) { rins.addValue(val_crc); } for (i=0;i<keynrs.length;i++) { rins.addValue( row.getValue(keynrs[i])); } //log.logRowlevel("rins="+rins.toString()); // INSERT NEW VALUE! setValues(rins, prepStatementInsert); insertRow(prepStatementInsert); if (keyfield==null) { try { ResultSet keys=pstmt.getGeneratedKeys(); // 1 key if (keys.next()) val_key.setValue(keys.getDouble(1)); else { throw new KettleDatabaseException("Unable to retrieve auto-increment of combi insert key : "+keyfield+", no fields in resultset"); } keys.close(); } catch(SQLException ex) { throw new KettleDatabaseException("Unable to retrieve auto-increment of combi insert key : "+keyfield, ex); } } }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/bf6a12d197ec62367d9b3a1f70487ceca8470246/Database.java/buggy/src/be/ibridge/kettle/core/database/Database.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3894, 77, 4600, 12, 282, 6556, 377, 1027, 16, 20982, 282, 514, 225, 1014, 16, 6862, 9506, 282, 514, 225, 498, 1518, 16, 3196, 21821, 1250, 2059, 885, 71, 16, 6862, 9506, 282, 1445, 282, 1244, 67, 856, 16, 20982, 282, 514, 225, 498, 8664, 63, 6487, 20982, 282, 509, 377, 498, 82, 5453, 63, 6487, 6862, 9506, 282, 1250, 10619, 16, 6862, 9506, 282, 514, 225, 10619, 1518, 16, 6862, 9506, 282, 1445, 282, 1244, 67, 22988, 6862, 9506, 225, 262, 202, 202, 15069, 1475, 278, 5929, 4254, 503, 202, 95, 202, 202, 474, 277, 31, 202, 202, 6494, 8716, 31, 9506, 202, 430, 261, 19109, 3406, 4600, 631, 2011, 13, 368, 1122, 813, 30, 4872, 8208, 3021, 202, 202, 95, 1082, 202, 20308, 14291, 326, 3063, 3021, 2777, 9506, 380, 9506, 380, 14834, 12421, 4697, 380, 302, 67, 3813, 12, 856, 1518, 16, 306, 22988, 1518, 16, 65, 498, 8664, 63, 5717, 9506, 380, 13477, 12, 1125, 67, 856, 16, 306, 1125, 67, 22988, 6487, 1027, 924, 598, 498, 82, 5453, 63, 5717, 9506, 380, 274, 9506, 1195, 9506, 1875, 202, 780, 1847, 1546, 11356, 12421, 13773, 6231, 2781, 18, 6889, 974, 12, 2121, 13, 9078, 12, 13636, 1082, 202, 25034, 33, 5743, 31, 1082, 202, 430, 16051, 5854, 885, 71, 13, 368, 3741, 432, 1693, 6266, 23923, 1875, 202, 95, 9506, 202, 4669, 15, 33, 6231, 2781, 18, 6889, 974, 12, 856, 1518, 1769, 9506, 202, 25034, 33, 3767, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3894, 77, 4600, 12, 282, 6556, 377, 1027, 16, 20982, 282, 514, 225, 1014, 16, 6862, 9506, 282, 514, 225, 498, 1518, 16, 3196, 21821, 1250, 2059, 885, 71, 16, 6862, 9506, 282, 1445, 282, 1244, 67, 856, 16, 20982, 282, 514, 225, 498, 8664, 63, 6487, 20982, 282, 509, 377, 498, 82, 5453, 63, 6487, 6862, 9506, 282, 1250, 10619, 16, 6862, 9506, 282, 514, 225, 10619, 1518, 16, 6862, 9506, 282, 1445, 282, 1244, 67, 22988, 6862, 9506, 225, 262, 202, 202, 15069, 1475, 278, 5929, 4254, 503, 202, 95, 202, 202, 474, 277, 31, 202, 202, 6494, 8716, 31, 9506, 202, 430, 261, 19109, 3406, 4600, 631, 2011, 13, 368, 1122, 813, 2 ]
if(!(constraintParameter instanceof List)) throw new IllegalArgumentException("Parameter for constraint ["+IN_LIST_CONSTRAINT+"] of property ["+constraintPropertyName+"] of class ["+constraintOwningClass+"] must implement the interface [java.util.List]"); this.list = (List)constraintParameter; super.setParameter(constraintParameter); }
if(!(constraintParameter instanceof List)) throw new IllegalArgumentException("Parameter for constraint ["+IN_LIST_CONSTRAINT+"] of property ["+constraintPropertyName+"] of class ["+constraintOwningClass+"] must implement the interface [java.util.List]"); this.list = (List)constraintParameter; super.setParameter(constraintParameter); }
public void setParameter(Object constraintParameter) { if(!(constraintParameter instanceof List)) throw new IllegalArgumentException("Parameter for constraint ["+IN_LIST_CONSTRAINT+"] of property ["+constraintPropertyName+"] of class ["+constraintOwningClass+"] must implement the interface [java.util.List]"); this.list = (List)constraintParameter; super.setParameter(constraintParameter); }
28089 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28089/975905c7e8c55e5fe91c94dc583c4269318ca341/ConstrainedProperty.java/clean/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 6690, 12, 921, 4954, 1662, 13, 288, 1082, 202, 430, 12, 5, 12, 13364, 1662, 1276, 987, 3719, 4697, 202, 12849, 394, 2754, 2932, 1662, 364, 4954, 8247, 15, 706, 67, 7085, 67, 15199, 9078, 65, 434, 1272, 8247, 15, 13364, 13073, 9078, 65, 434, 667, 8247, 15, 13364, 3494, 2093, 797, 9078, 65, 1297, 2348, 326, 1560, 306, 6290, 18, 1367, 18, 682, 4279, 1769, 25083, 202, 2211, 18, 1098, 273, 261, 682, 13, 13364, 1662, 31, 1082, 202, 9565, 18, 542, 1662, 12, 13364, 1662, 1769, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 6690, 12, 921, 4954, 1662, 13, 288, 1082, 202, 430, 12, 5, 12, 13364, 1662, 1276, 987, 3719, 4697, 202, 12849, 394, 2754, 2932, 1662, 364, 4954, 8247, 15, 706, 67, 7085, 67, 15199, 9078, 65, 434, 1272, 8247, 15, 13364, 13073, 9078, 65, 434, 667, 8247, 15, 13364, 3494, 2093, 797, 9078, 65, 1297, 2348, 326, 1560, 306, 6290, 18, 1367, 18, 682, 4279, 1769, 25083, 202, 2211, 18, 1098, 273, 261, 682, 13, 13364, 1662, 31, 1082, 202, 9565, 18, 542, 1662, 12, 13364, 1662, 1769, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (isLinked(resourceData) && targetResource.getType() != IResource.PROJECT) return false;
List selectedResources = getSelectedResources();
protected boolean updateSelection(IStructuredSelection selection) { if (!super.updateSelection(selection)) return false; // clipboard must have resources or files ResourceTransfer resTransfer = ResourceTransfer.getInstance(); IResource[] resourceData = (IResource[])clipboard.getContents(resTransfer); FileTransfer fileTransfer = FileTransfer.getInstance(); String[] fileData = (String[])clipboard.getContents(fileTransfer); if (resourceData == null && fileData == null) return false; // can paste open projects regardless of selection boolean isProjectRes = resourceData != null && resourceData.length > 0 && resourceData[0].getType() == IResource.PROJECT; if (isProjectRes) { for (int i = 0; i < resourceData.length; i++) { // make sure all resource data are open projects if (resourceData[i].getType() != IResource.PROJECT || ((IProject) resourceData[i]).isOpen() == false) return false; } return true; } // can paste files and folders to a single selection (project must be open) // or multiple file selection with the same parent if (getSelectedNonResources().size() > 0) return false; List selectedResources = getSelectedResources(); IResource targetResource = getTarget(); // targetResource is null if no valid target is selected or // selection is empty if (targetResource == null) return false; // linked resources can only be pasted into projects if (isLinked(resourceData) && targetResource.getType() != IResource.PROJECT) return false; if (selectedResources.size() > 1) { // if more than one resource is selected the selection has // to be all files with the same parent for (int i = 0; i < selectedResources.size(); i++) { IResource resource = (IResource)selectedResources.get(i); if (resource.getType() != IResource.FILE) return false; if (!targetResource.equals(resource.getParent())) return false; } } if (targetResource.getType() == IResource.FOLDER && resourceData != null) { // don't try to copy folder to self for (int i = 0; i < resourceData.length; i++) { if (targetResource.equals(resourceData[i])) return false; } } return true;}
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e30426dca631df5cc633df34b1d19cc27948dda3/PasteAction.java/clean/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/PasteAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 1250, 1089, 6233, 12, 45, 30733, 6233, 4421, 13, 288, 202, 430, 16051, 9565, 18, 2725, 6233, 12, 10705, 3719, 3196, 202, 2463, 629, 31, 202, 202, 759, 20304, 1297, 1240, 2703, 578, 1390, 202, 1420, 5912, 400, 5912, 273, 2591, 5912, 18, 588, 1442, 5621, 202, 45, 1420, 8526, 1058, 751, 273, 261, 45, 1420, 63, 5717, 14161, 3752, 18, 588, 6323, 12, 455, 5912, 1769, 202, 812, 5912, 585, 5912, 273, 1387, 5912, 18, 588, 1442, 5621, 202, 780, 8526, 23111, 273, 261, 780, 63, 5717, 14161, 3752, 18, 588, 6323, 12, 768, 5912, 1769, 202, 430, 261, 3146, 751, 422, 446, 597, 23111, 422, 446, 13, 202, 202, 2463, 629, 31, 202, 759, 848, 19401, 1696, 10137, 15255, 434, 4421, 202, 6494, 353, 4109, 607, 273, 1058, 751, 480, 446, 202, 202, 10, 10, 1058, 751, 18, 2469, 405, 374, 202, 202, 10, 10, 1058, 751, 63, 20, 8009, 588, 559, 1435, 422, 467, 1420, 18, 17147, 31, 202, 430, 261, 291, 4109, 607, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1058, 751, 18, 2469, 31, 277, 27245, 288, 1082, 202, 759, 1221, 3071, 777, 1058, 501, 854, 1696, 10137, 1082, 202, 430, 261, 3146, 751, 63, 77, 8009, 588, 559, 1435, 480, 467, 1420, 18, 17147, 747, 14015, 45, 4109, 13, 1058, 751, 63, 77, 65, 2934, 291, 3678, 1435, 422, 629, 13, 9506, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 2463, 638, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 1250, 1089, 6233, 12, 45, 30733, 6233, 4421, 13, 288, 202, 430, 16051, 9565, 18, 2725, 6233, 12, 10705, 3719, 3196, 202, 2463, 629, 31, 202, 202, 759, 20304, 1297, 1240, 2703, 578, 1390, 202, 1420, 5912, 400, 5912, 273, 2591, 5912, 18, 588, 1442, 5621, 202, 45, 1420, 8526, 1058, 751, 273, 261, 45, 1420, 63, 5717, 14161, 3752, 18, 588, 6323, 12, 455, 5912, 1769, 202, 812, 5912, 585, 5912, 273, 1387, 5912, 18, 588, 1442, 5621, 202, 780, 8526, 23111, 273, 261, 780, 63, 5717, 14161, 3752, 18, 588, 6323, 12, 768, 5912, 1769, 202, 430, 261, 3146, 751, 422, 446, 597, 23111, 422, 446, 13, 202, 202, 2463, 629, 31, 202, 759, 848, 19401, 2 ]
_local = methodGen.addLocalVariable2(name, varType, il.getEnd());
_local = methodGen.addLocalVariable2(name, varType, null);
public void mapRegister(MethodGenerator methodGen) { if (_local == null) { final InstructionList il = methodGen.getInstructionList(); final String name = getEscapedName(); // TODO: namespace ? final org.apache.bcel.generic.Type varType = _type.toJCType(); _local = methodGen.addLocalVariable2(name, varType, il.getEnd()); } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/480fc3e61f3162d6702ae2271f44b92002675f6f/VariableBase.java/clean/src/org/apache/xalan/xsltc/compiler/VariableBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 852, 3996, 12, 1305, 3908, 707, 7642, 13, 288, 3639, 309, 261, 67, 3729, 422, 446, 13, 288, 5411, 727, 24605, 682, 14254, 273, 707, 7642, 18, 588, 11983, 682, 5621, 202, 565, 727, 514, 508, 273, 4774, 1017, 5994, 461, 5621, 368, 2660, 30, 1981, 692, 202, 565, 727, 2358, 18, 19211, 18, 70, 2183, 18, 13540, 18, 559, 569, 559, 273, 389, 723, 18, 869, 46, 39, 559, 5621, 5411, 389, 3729, 273, 707, 7642, 18, 1289, 2042, 3092, 22, 12, 529, 16, 569, 559, 16, 446, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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727, 514, 508, 273, 4774, 1017, 5994, 461, 5621, 368, 2660, 30, 1981, 692, 202, 565, 727, 2358, 18, 19211, 18, 70, 2183, 18, 13540, 18, 559, 569, 559, 273, 389, 723, 18, 869, 46, 39, 559, 5621, 5411, 389, 3729, 273, 707, 7642, 18, 1289, 2042, 3092, 22, 12, 529, 16, 569, 559, 16, 446, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static Test suite() throws Throwable { try { File classRoot = new File("build/classes"); TestSuite suite = new TestSuite(); if (classRoot == null) // No test cases found. return suite; ClassFinder classFinder = new ClassFinder(classRoot); TestCaseLoader testCaseLoader = new TestCaseLoader(); testCaseLoader.loadTestCases(classFinder.getClasses()); int numberOfTests = addAllTests(suite, testCaseLoader.getClasses()); System.out.println("Number of test classes found: " + numberOfTests); return suite; } catch (Throwable t) { // This ensures we have extra information. // Otherwise we get a "Could not invoke the suite method." message. t.printStackTrace (); throw t; } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/5cee6094c7b77e3bcf6338f68456e6e531e781b7/TestAll.java/clean/modules/junit/src/TestAll.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3845, 14650, 9519, 1435, 202, 15069, 15155, 95, 202, 698, 95, 202, 812, 1106, 2375, 33, 2704, 812, 2932, 3510, 19, 4701, 8863, 202, 4709, 22024, 9519, 33, 2704, 4709, 13587, 5621, 202, 430, 12, 1106, 2375, 631, 2011, 13, 759, 1248, 395, 22186, 7015, 18, 202, 202, 6154, 9519, 31, 202, 797, 8441, 1106, 8441, 33, 2704, 797, 8441, 12, 1106, 2375, 1769, 202, 4709, 2449, 2563, 1051, 395, 2449, 2886, 33, 2704, 4709, 2449, 2886, 5621, 202, 3813, 2449, 2886, 18, 945, 4709, 30744, 12, 1106, 8441, 18, 588, 4818, 10663, 202, 474, 2696, 951, 14650, 33, 1289, 1595, 14650, 12, 30676, 16, 3813, 2449, 2886, 18, 588, 4818, 10663, 202, 3163, 18, 659, 18, 8222, 2932, 1854, 792, 3813, 4701, 7015, 2773, 15, 2696, 951, 14650, 1769, 202, 6154, 9519, 31, 202, 97, 14683, 12, 8282, 378, 1810, 15329, 202, 759, 2503, 773, 1823, 1814, 21516, 338, 9754, 1471, 18, 202, 759, 8290, 91, 291, 359, 73, 588, 69, 6, 4445, 902, 5768, 601, 546, 281, 89, 1726, 572, 1199, 2150, 18, 202, 88, 18, 1188, 6332, 5621, 202, 12849, 88, 31, 202, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3845, 14650, 9519, 1435, 202, 15069, 15155, 95, 202, 698, 95, 202, 812, 1106, 2375, 33, 2704, 812, 2932, 3510, 19, 4701, 8863, 202, 4709, 22024, 9519, 33, 2704, 4709, 13587, 5621, 202, 430, 12, 1106, 2375, 631, 2011, 13, 759, 1248, 395, 22186, 7015, 18, 202, 202, 6154, 9519, 31, 202, 797, 8441, 1106, 8441, 33, 2704, 797, 8441, 12, 1106, 2375, 1769, 202, 4709, 2449, 2563, 1051, 395, 2449, 2886, 33, 2704, 4709, 2449, 2886, 5621, 202, 3813, 2449, 2886, 18, 945, 4709, 30744, 12, 1106, 8441, 18, 588, 4818, 10663, 202, 474, 2696, 951, 14650, 33, 1289, 1595, 14650, 12, 30676, 16, 3813, 2449, 2886, 18, 588, 4818, 10663, 202, 3163, 18, 659, 18, 8222, 2 ]
public RangeSet getRangeSet(Job job) { return getRangeSet(job.getName());
public RangeSet getRangeSet(String jobName) { RangeSet r = usages.get(jobName); if(r==null) r = new RangeSet(); return r;
public RangeSet getRangeSet(Job job) { return getRangeSet(job.getName()); }
56266 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56266/d46a0094464df0ce24425a617454b568c35312a7/Fingerprint.java/buggy/hudson/main/core/src/main/java/hudson/model/Fingerprint.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8086, 694, 22373, 694, 12, 2278, 1719, 13, 288, 3639, 327, 22373, 694, 12, 4688, 18, 17994, 10663, 565, 289, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8086, 694, 22373, 694, 12, 2278, 1719, 13, 288, 3639, 327, 22373, 694, 12, 4688, 18, 17994, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case Types.INTEGER:
public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException { if (x == null) { setNull(parameterIndex, Types.OTHER); return; } switch (targetSqlType) { case Types.TINYINT: case Types.SMALLINT: case Types.INTEGER: case Types.BIGINT: case Types.REAL: case Types.FLOAT: case Types.DOUBLE: case Types.DECIMAL: case Types.NUMERIC: if (x instanceof Boolean) set(parameterIndex, ((Boolean)x).booleanValue() ? "1" : "0"); else set(parameterIndex, x.toString()); break; case Types.CHAR: case Types.VARCHAR: case Types.LONGVARCHAR: setString(parameterIndex, x.toString()); break; case Types.DATE: setDate(parameterIndex, (java.sql.Date)x); break; case Types.TIME: setTime(parameterIndex, (Time)x); break; case Types.TIMESTAMP: setTimestamp(parameterIndex, (Timestamp)x); break; case Types.BIT: if (x instanceof Boolean) { set(parameterIndex, ((Boolean)x).booleanValue() ? "TRUE" : "FALSE"); } else { throw new PSQLException("postgresql.prep.type"); } break; case Types.BINARY: case Types.VARBINARY: setObject(parameterIndex, x); break; case Types.OTHER: setString(parameterIndex, ((PGobject)x).getValue()); break; default: throw new PSQLException("postgresql.prep.type"); } }
46563 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46563/2232172e447db0224c4ececd148ddf6d6e1e5c84/AbstractJdbc1Statement.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20530, 12, 474, 25412, 16, 1033, 619, 16, 509, 1018, 5101, 559, 16, 509, 3159, 13, 1216, 6483, 202, 95, 202, 202, 430, 261, 92, 422, 446, 13, 202, 202, 95, 1082, 202, 542, 2041, 12, 6775, 1016, 16, 7658, 18, 23940, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 9610, 261, 3299, 5101, 559, 13, 202, 202, 95, 1082, 202, 3593, 7658, 18, 56, 31853, 3217, 30, 1082, 202, 3593, 7658, 18, 23882, 3217, 30, 1082, 202, 3593, 7658, 18, 14217, 30, 1082, 202, 3593, 7658, 18, 19044, 3217, 30, 1082, 202, 3593, 7658, 18, 31052, 30, 1082, 202, 3593, 7658, 18, 15640, 30, 1082, 202, 3593, 7658, 18, 17088, 30, 1082, 202, 3593, 7658, 18, 23816, 30, 1082, 202, 3593, 7658, 18, 22998, 30, 9506, 202, 430, 261, 92, 1276, 3411, 13, 6862, 202, 542, 12, 6775, 1016, 16, 14015, 5507, 13, 92, 2934, 6494, 620, 1435, 692, 315, 21, 6, 294, 315, 20, 8863, 9506, 202, 12107, 6862, 202, 542, 12, 6775, 1016, 16, 619, 18, 10492, 10663, 9506, 202, 8820, 31, 1082, 202, 3593, 7658, 18, 7305, 30, 1082, 202, 3593, 7658, 18, 7716, 7305, 30, 1082, 202, 3593, 7658, 18, 14639, 7716, 7305, 30, 9506, 202, 542, 780, 12, 6775, 1016, 16, 619, 18, 10492, 10663, 9506, 202, 8820, 31, 1082, 202, 3593, 7658, 18, 4594, 30, 9506, 202, 542, 1626, 12, 6775, 1016, 16, 261, 6290, 18, 4669, 18, 1626, 13, 92, 1769, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20530, 12, 474, 25412, 16, 1033, 619, 16, 509, 1018, 5101, 559, 16, 509, 3159, 13, 1216, 6483, 202, 95, 202, 202, 430, 261, 92, 422, 446, 13, 202, 202, 95, 1082, 202, 542, 2041, 12, 6775, 1016, 16, 7658, 18, 23940, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 9610, 261, 3299, 5101, 559, 13, 202, 202, 95, 1082, 202, 3593, 7658, 18, 56, 31853, 3217, 30, 1082, 202, 3593, 7658, 18, 23882, 3217, 30, 1082, 202, 3593, 7658, 18, 14217, 30, 1082, 202, 3593, 7658, 18, 19044, 3217, 30, 1082, 202, 3593, 7658, 18, 31052, 30, 1082, 202, 3593, 7658, 18, 15640, 30, 1082, 202, 3593, 7658, 18, 17088, 30, 1082, 2 ]
internalRemoveChild(oldChild,MUTATION_LOCAL);
if (newChild != oldChild) { internalRemoveChild(oldChild,MUTATION_LOCAL); }
public Node replaceChild(Node newChild, Node oldChild) throws DOMException { makeChildNode(); // If Mutation Events are being generated, this operation might // throw aggregate events twice when modifying an Attr -- once // on insertion and once on removal. DOM Level 2 does not specify // this as either desirable or undesirable, but hints that // aggregations should be issued only once per user request. EnclosingAttr enclosingAttr=null; DocumentImpl ownerDocument = ownerDocument(); if(MUTATIONEVENTS && ownerDocument.mutationEvents) { // MUTATION PREPROCESSING AND PRE-EVENTS: // If we're within the scope of an Attr and DOMAttrModified // was requested, we need to preserve its previous value for // that event. LCount lc=LCount.lookup(MutationEventImpl.DOM_ATTR_MODIFIED); if(lc.captures+lc.bubbles+lc.defaults>0) { enclosingAttr=getEnclosingAttr(); } } // End mutation preprocessing internalInsertBefore(newChild, oldChild,MUTATION_LOCAL); internalRemoveChild(oldChild,MUTATION_LOCAL); if(MUTATIONEVENTS && ownerDocument.mutationEvents) { dispatchAggregateEvents(enclosingAttr); } return oldChild; }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/5e4c1ef1e1e683633fb690fdc35bf303094a940f/AttrImpl.java/clean/src/org/apache/xerces/dom/AttrImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 1453, 1763, 12, 907, 19783, 16, 2029, 1592, 1763, 13, 3639, 1216, 4703, 503, 288, 3639, 1221, 25550, 5621, 3639, 368, 971, 22891, 9043, 854, 3832, 4374, 16, 333, 1674, 4825, 3639, 368, 604, 7047, 2641, 13605, 1347, 21920, 392, 11289, 1493, 3647, 540, 368, 603, 12626, 471, 3647, 603, 14817, 18, 4703, 4557, 576, 1552, 486, 4800, 540, 368, 333, 487, 3344, 2832, 26063, 578, 640, 5489, 26063, 16, 1496, 13442, 716, 3639, 368, 25809, 1410, 506, 16865, 1338, 3647, 1534, 729, 590, 18, 3639, 1374, 19506, 3843, 16307, 3843, 33, 2011, 31, 3639, 4319, 2828, 19701, 273, 19701, 5621, 3639, 309, 12, 49, 1693, 2689, 29221, 597, 19701, 18, 28868, 3783, 13, 3639, 288, 5411, 368, 490, 1693, 2689, 7071, 16560, 1360, 4116, 7071, 17, 29221, 30, 5411, 368, 971, 732, 4565, 3470, 326, 2146, 434, 392, 11289, 471, 4703, 3843, 4575, 2398, 368, 1703, 3764, 16, 732, 1608, 358, 9420, 2097, 2416, 460, 364, 5411, 368, 716, 871, 18, 5411, 511, 1380, 9109, 33, 48, 1380, 18, 8664, 12, 20028, 1133, 2828, 18, 8168, 67, 12043, 67, 21143, 1769, 5411, 309, 12, 17704, 18, 71, 1657, 1823, 15, 17704, 18, 70, 22298, 1040, 15, 17704, 18, 7606, 34, 20, 13, 5411, 288, 7734, 16307, 3843, 33, 588, 21594, 3843, 5621, 5411, 289, 3639, 289, 368, 4403, 11934, 675, 10632, 3639, 2713, 4600, 4649, 12, 2704, 1763, 16, 1592, 1763, 16, 49, 1693, 2689, 67, 14922, 1769, 3639, 309, 261, 2704, 1763, 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, 2029, 1453, 1763, 12, 907, 19783, 16, 2029, 1592, 1763, 13, 3639, 1216, 4703, 503, 288, 3639, 1221, 25550, 5621, 3639, 368, 971, 22891, 9043, 854, 3832, 4374, 16, 333, 1674, 4825, 3639, 368, 604, 7047, 2641, 13605, 1347, 21920, 392, 11289, 1493, 3647, 540, 368, 603, 12626, 471, 3647, 603, 14817, 18, 4703, 4557, 576, 1552, 486, 4800, 540, 368, 333, 487, 3344, 2832, 26063, 578, 640, 5489, 26063, 16, 1496, 13442, 716, 3639, 368, 25809, 1410, 506, 16865, 1338, 3647, 1534, 729, 590, 18, 3639, 1374, 19506, 3843, 16307, 3843, 33, 2011, 31, 3639, 4319, 2828, 19701, 273, 19701, 5621, 3639, 309, 12, 49, 1693, 2689, 29221, 597, 19701, 18, 28868, 3783, 13, 3639, 288, 2 ]
String location = fAdditionalLocations.get(i).toString(); File dir = new File(location, "plugins"); if (!dir.exists() || !dir.isDirectory()) dir = new File(location);
String location = fAdditionalLocations.get(i/2).toString(); File dir = new File(location);
private URL[] computePluginURLs() { URL[] base = PluginPathFinder.getPluginPaths(location); if (fAdditionalLocations.size() == 0) return base; File[] extraLocations = new File[fAdditionalLocations.size()]; for (int i = 0; i < extraLocations.length; i++) { String location = fAdditionalLocations.get(i).toString(); File dir = new File(location, "plugins"); //$NON-NLS-1$ if (!dir.exists() || !dir.isDirectory()) dir = new File(location); extraLocations[i] = dir; } URL[] additional = PluginPathFinder.scanLocations(extraLocations); if (additional.length == 0) return base; URL[] result = new URL[base.length + additional.length]; System.arraycopy(base, 0, result, 0, base.length); System.arraycopy(additional, 0, result, base.length, additional.length); return result; }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/1efcb32c98e8525d10d37b0dd074fd50009a0e64/TargetPluginsTab.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/preferences/TargetPluginsTab.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 1976, 8526, 3671, 3773, 15749, 1435, 288, 1082, 202, 1785, 8526, 1026, 225, 273, 6258, 743, 8441, 18, 588, 3773, 4466, 12, 3562, 1769, 6862, 202, 430, 261, 74, 10552, 10985, 18, 1467, 1435, 422, 374, 13, 9506, 202, 2463, 1026, 31, 25083, 202, 812, 8526, 2870, 10985, 273, 394, 1387, 63, 74, 10552, 10985, 18, 1467, 1435, 15533, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2870, 10985, 18, 2469, 31, 277, 27245, 288, 9506, 202, 780, 2117, 273, 284, 10552, 10985, 18, 588, 12, 77, 2934, 10492, 5621, 9506, 202, 812, 1577, 273, 394, 1387, 12, 3562, 16, 315, 8057, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 430, 16051, 1214, 18, 1808, 1435, 747, 401, 1214, 18, 291, 2853, 10756, 6862, 202, 1214, 273, 394, 1387, 12, 3562, 1769, 9506, 202, 7763, 10985, 63, 77, 65, 273, 1577, 31, 1082, 202, 97, 1082, 202, 1785, 8526, 3312, 273, 6258, 743, 8441, 18, 9871, 10985, 12, 7763, 10985, 1769, 25083, 202, 430, 261, 13996, 18, 2469, 422, 374, 13, 9506, 202, 2463, 1026, 31, 25083, 202, 1785, 8526, 563, 273, 394, 1976, 63, 1969, 18, 2469, 397, 3312, 18, 2469, 15533, 1082, 202, 3163, 18, 1126, 3530, 12, 1969, 16, 374, 16, 563, 16, 374, 16, 1026, 18, 2469, 1769, 1082, 202, 3163, 18, 1126, 3530, 12, 13996, 16, 374, 16, 563, 16, 1026, 18, 2469, 16, 3312, 18, 2469, 1769, 25083, 202, 2463, 563, 31, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 1976, 8526, 3671, 3773, 15749, 1435, 288, 1082, 202, 1785, 8526, 1026, 225, 273, 6258, 743, 8441, 18, 588, 3773, 4466, 12, 3562, 1769, 6862, 202, 430, 261, 74, 10552, 10985, 18, 1467, 1435, 422, 374, 13, 9506, 202, 2463, 1026, 31, 25083, 202, 812, 8526, 2870, 10985, 273, 394, 1387, 63, 74, 10552, 10985, 18, 1467, 1435, 15533, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2870, 10985, 18, 2469, 31, 277, 27245, 288, 9506, 202, 780, 2117, 273, 284, 10552, 10985, 18, 588, 12, 77, 2934, 10492, 5621, 9506, 202, 812, 1577, 273, 394, 1387, 12, 3562, 16, 315, 8057, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 430, 2 ]
entity.setLocationStatus(loop, entity.LOC_WET);
entity.setLocationStatus(loop, Entity.LOC_WET);
public void doSetLocationsExposure(Entity entity, Hex hex, boolean isPavementStep) { String desc = new String(); //if NOT possible to flood armorless locations while moving, this and all "desc" references can be removed if ( hex.levelOf(Terrain.WATER) > 0 && entity.getMovementType() != Entity.MovementType.HOVER && !isPavementStep) { if (entity instanceof Mech && !entity.isProne() && hex.levelOf(Terrain.WATER) == 1) { for (int loop = 0; loop < entity.locations(); loop++) { entity.setLocationStatus(loop, entity.LOC_NORMAL); //this will need to adjust for VACUUM, and add a breachCheck } entity.setLocationStatus(Mech.LOC_RLEG, entity.LOC_WET); entity.setLocationStatus(Mech.LOC_LLEG, entity.LOC_WET); desc += breachCheck(entity, Mech.LOC_RLEG, 0); desc += breachCheck(entity, Mech.LOC_LLEG, 0); } else { for (int loop = 0; loop < entity.locations(); loop++) { entity.setLocationStatus(loop, entity.LOC_WET); desc += breachCheck(entity, loop, 0); } } }else { for (int loop = 0; loop < entity.locations(); loop++) { entity.setLocationStatus(loop, entity.LOC_NORMAL); //this will need to adjust for VACUUM, and add a breachCheck } } phaseReport.append(desc); }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/081ff116f362e9370abbd6ad62657e01b1162204/Server.java/buggy/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 694, 10985, 424, 11291, 12, 1943, 1522, 16, 15734, 3827, 16, 1250, 29962, 842, 820, 4160, 13, 288, 3639, 514, 3044, 273, 394, 514, 5621, 368, 430, 4269, 3323, 358, 20802, 369, 23563, 280, 2656, 7838, 1323, 12499, 16, 333, 471, 777, 315, 5569, 6, 5351, 848, 506, 3723, 3639, 309, 261, 3827, 18, 2815, 951, 12, 56, 264, 7596, 18, 59, 13641, 13, 405, 374, 5411, 597, 1522, 18, 588, 49, 26140, 559, 1435, 480, 3887, 18, 49, 26140, 559, 18, 7995, 2204, 5411, 597, 401, 291, 52, 842, 820, 4160, 13, 288, 5411, 309, 261, 1096, 1276, 7499, 343, 597, 401, 1096, 18, 291, 2050, 476, 1435, 597, 3827, 18, 2815, 951, 12, 56, 264, 7596, 18, 59, 13641, 13, 422, 404, 13, 288, 7734, 364, 261, 474, 2798, 273, 374, 31, 2798, 411, 1522, 18, 12352, 5621, 2798, 27245, 288, 10792, 1522, 18, 542, 2735, 1482, 12, 6498, 16, 1522, 18, 29450, 67, 15480, 1769, 225, 368, 2211, 903, 1608, 358, 5765, 364, 776, 2226, 57, 2799, 16, 471, 527, 279, 324, 12974, 1564, 7734, 289, 7734, 1522, 18, 542, 2735, 1482, 12, 4667, 343, 18, 29450, 67, 54, 19384, 16, 1522, 18, 29450, 67, 59, 1584, 1769, 7734, 1522, 18, 542, 2735, 1482, 12, 4667, 343, 18, 29450, 67, 48, 19384, 16, 1522, 18, 29450, 67, 59, 1584, 1769, 7734, 3044, 1011, 324, 12974, 1564, 12, 1096, 16, 7499, 343, 18, 29450, 67, 54, 19384, 16, 374, 1769, 1171, 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, 694, 10985, 424, 11291, 12, 1943, 1522, 16, 15734, 3827, 16, 1250, 29962, 842, 820, 4160, 13, 288, 3639, 514, 3044, 273, 394, 514, 5621, 368, 430, 4269, 3323, 358, 20802, 369, 23563, 280, 2656, 7838, 1323, 12499, 16, 333, 471, 777, 315, 5569, 6, 5351, 848, 506, 3723, 3639, 309, 261, 3827, 18, 2815, 951, 12, 56, 264, 7596, 18, 59, 13641, 13, 405, 374, 5411, 597, 1522, 18, 588, 49, 26140, 559, 1435, 480, 3887, 18, 49, 26140, 559, 18, 7995, 2204, 5411, 597, 401, 291, 52, 842, 820, 4160, 13, 288, 5411, 309, 261, 1096, 1276, 7499, 343, 597, 401, 1096, 18, 291, 2050, 476, 1435, 597, 3827, 18, 2815, 951, 12, 2 ]
this.included = included; }
this.included = included; }
public void setIncluded(boolean included) { this.included = included; }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 19323, 12, 6494, 5849, 13, 288, 202, 202, 2211, 18, 20405, 273, 5849, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 19323, 12, 6494, 5849, 13, 288, 202, 202, 2211, 18, 20405, 273, 5849, 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 ]
assertEquals("0.1", "public class temp \n{ ()\n text here", doc.getText(0, doc.getLength()));
assertEquals("0.1", "public class temp \n{ ()\n text here", doc.getText(0, doc.getLength()));
public void testInsideClassWithBraceSets () throws BadLocationException { // just paren BraceReduction rm = doc._reduced; doc.insertString(0, "public class temp \n{ ()\ntext here", null); doc.indentLine(); assertEquals("0.1", "public class temp \n{ ()\n text here", doc.getText(0, doc.getLength())); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/e325016b29b8dde8e3ba0908ae34d55edb22c64f/IndentTest.java/clean/drjava/src/edu/rice/cs/drjava/model/definitions/IndentTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 18619, 797, 1190, 21965, 2785, 1832, 1216, 6107, 2735, 503, 288, 565, 368, 2537, 22146, 565, 605, 9963, 3715, 4062, 6692, 273, 997, 6315, 1118, 26372, 31, 565, 997, 18, 6387, 780, 12, 20, 16, 315, 482, 667, 1906, 521, 82, 95, 225, 1832, 64, 496, 408, 2674, 3113, 446, 1769, 565, 997, 18, 9355, 1670, 5621, 565, 1815, 8867, 2932, 20, 18, 21, 3113, 315, 482, 667, 1906, 521, 82, 95, 225, 1832, 64, 82, 225, 977, 2674, 3113, 1171, 997, 18, 588, 1528, 12, 20, 16, 997, 18, 588, 1782, 1435, 10019, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 18619, 797, 1190, 21965, 2785, 1832, 1216, 6107, 2735, 503, 288, 565, 368, 2537, 22146, 565, 605, 9963, 3715, 4062, 6692, 273, 997, 6315, 1118, 26372, 31, 565, 997, 18, 6387, 780, 12, 20, 16, 315, 482, 667, 1906, 521, 82, 95, 225, 1832, 64, 496, 408, 2674, 3113, 446, 1769, 565, 997, 18, 9355, 1670, 5621, 565, 1815, 8867, 2932, 20, 18, 21, 3113, 315, 482, 667, 1906, 521, 82, 95, 225, 1832, 64, 82, 225, 977, 2674, 3113, 1171, 997, 18, 588, 1528, 12, 20, 16, 997, 18, 588, 1782, 1435, 10019, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return js_escape(cx, args);
return js_escape(args);
public Object execMethod(IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) { if (f.hasTag(FTAG)) { int methodId = f.methodId(); switch (methodId) { case Id_decodeURI: case Id_decodeURIComponent: { String str = ScriptRuntime.toString(args, 0); return decode(cx, str, methodId == Id_decodeURI); } case Id_encodeURI: case Id_encodeURIComponent: { String str = ScriptRuntime.toString(args, 0); return encode(cx, str, methodId == Id_encodeURI); } case Id_escape: return js_escape(cx, args); case Id_eval: return js_eval(cx, scope, args); case Id_isFinite: { if (args.length < 1) return Boolean.FALSE; double d = ScriptRuntime.toNumber(args[0]); return (d != d || d == Double.POSITIVE_INFINITY || d == Double.NEGATIVE_INFINITY) ? Boolean.FALSE : Boolean.TRUE; } case Id_isNaN: { // The global method isNaN, as per ECMA-262 15.1.2.6. if (args.length < 1) return Boolean.TRUE; double d = ScriptRuntime.toNumber(args[0]); return (d != d) ? Boolean.TRUE : Boolean.FALSE; } case Id_parseFloat: return js_parseFloat(cx, args); case Id_parseInt: return js_parseInt(cx, args); case Id_unescape: return js_unescape(cx, args); case Id_uneval: { Object value = (args.length != 0) ? args[0] : Undefined.instance; return ScriptRuntime.uneval(cx, scope, value); } case Id_new_CommonError: // The implementation of all the ECMA error constructors // (SyntaxError, TypeError, etc.) return NativeError.make(cx, scope, f, args); } } throw f.unknown(); }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/4ad826a35e76cb27011d7ce32f9515c2d80a93c0/NativeGlobal.java/buggy/js/rhino/src/org/mozilla/javascript/NativeGlobal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 12, 548, 2083, 284, 16, 1772, 9494, 16, 22780, 2146, 16, 11794, 22780, 15261, 16, 1033, 8526, 833, 13, 565, 288, 3639, 309, 261, 74, 18, 5332, 1805, 12, 4464, 1781, 3719, 288, 5411, 509, 707, 548, 273, 284, 18, 2039, 548, 5621, 5411, 1620, 261, 2039, 548, 13, 288, 7734, 648, 3124, 67, 3922, 3098, 30, 7734, 648, 3124, 67, 3922, 19000, 30, 288, 10792, 514, 609, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 10792, 327, 2495, 12, 71, 92, 16, 609, 16, 707, 548, 422, 3124, 67, 3922, 3098, 1769, 7734, 289, 7734, 648, 3124, 67, 3015, 3098, 30, 7734, 648, 3124, 67, 3015, 19000, 30, 288, 10792, 514, 609, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 10792, 327, 2017, 12, 71, 92, 16, 609, 16, 707, 548, 422, 3124, 67, 3015, 3098, 1769, 7734, 289, 7734, 648, 3124, 67, 6939, 30, 10792, 327, 3828, 67, 6939, 12, 1968, 1769, 7734, 648, 3124, 67, 8622, 30, 10792, 327, 3828, 67, 8622, 12, 71, 92, 16, 2146, 16, 833, 1769, 7734, 648, 3124, 67, 291, 26491, 30, 288, 10792, 309, 261, 1968, 18, 2469, 411, 404, 13, 13491, 327, 3411, 18, 21053, 31, 10792, 1645, 302, 273, 7739, 5576, 18, 869, 1854, 12, 1968, 63, 20, 19226, 10792, 327, 261, 72, 480, 302, 747, 302, 422, 3698, 18, 7057, 16325, 67, 17716, 747, 18701, 302, 422, 3698, 18, 5407, 22421, 67, 17716, 13, 21821, 692, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 12, 548, 2083, 284, 16, 1772, 9494, 16, 22780, 2146, 16, 11794, 22780, 15261, 16, 1033, 8526, 833, 13, 565, 288, 3639, 309, 261, 74, 18, 5332, 1805, 12, 4464, 1781, 3719, 288, 5411, 509, 707, 548, 273, 284, 18, 2039, 548, 5621, 5411, 1620, 261, 2039, 548, 13, 288, 7734, 648, 3124, 67, 3922, 3098, 30, 7734, 648, 3124, 67, 3922, 19000, 30, 288, 10792, 514, 609, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 10792, 327, 2495, 12, 71, 92, 16, 609, 16, 707, 548, 422, 3124, 67, 3922, 3098, 1769, 7734, 289, 7734, 648, 3124, 67, 3015, 3098, 30, 7734, 648, 3124, 67, 3015, 19000, 30, 288, 10792, 514, 2 ]
treeViewer.setLabelProvider(new WorkbenchLabelProvider());
treeViewer.setLabelProvider(WorkbenchLabelProvider.getDecoratingWorkbenchLabelProvider());
protected void createTreeViewer(int heightHint) { // Create drill down. DrillDownComposite drillDown = new DrillDownComposite(this, SWT.BORDER); GridData spec = new GridData( GridData.VERTICAL_ALIGN_FILL | GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.GRAB_VERTICAL); spec.widthHint = SIZING_SELECTION_PANE_WIDTH; spec.heightHint = heightHint; drillDown.setLayoutData(spec); drillDown.setFont(this.getFont()); // Create tree viewer inside drill down. treeViewer = new TreeViewer(drillDown, SWT.NONE); drillDown.setChildTree(treeViewer); ContainerContentProvider cp = new ContainerContentProvider(); cp.showClosedProjects(showClosedProjects); treeViewer.setContentProvider(cp); treeViewer.setLabelProvider(new WorkbenchLabelProvider()); treeViewer.setSorter(new ViewerSorter() {}); treeViewer.addSelectionChangedListener( new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { IStructuredSelection selection = (IStructuredSelection)event.getSelection(); containerSelectionChanged((IContainer) selection.getFirstElement()); // allow null } }); treeViewer.addDoubleClickListener( new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { ISelection selection = event.getSelection(); if (selection instanceof IStructuredSelection) { Object item = ((IStructuredSelection)selection).getFirstElement(); if (treeViewer.getExpandedState(item)) treeViewer.collapseToLevel(item, 1); else treeViewer.expandToLevel(item, 1); } } }); // This has to be done after the viewer has been laid out treeViewer.setInput(ResourcesPlugin.getWorkspace()); treeViewer.getTree().setFont(this.getFont());}
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/90c46ca1a4ae8e0019beea3a5597b679d261035a/ContainerSelectionGroup.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/misc/ContainerSelectionGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 752, 2471, 18415, 12, 474, 2072, 7002, 13, 288, 202, 759, 1788, 5081, 737, 2588, 18, 202, 8956, 737, 4164, 9400, 5081, 737, 4164, 273, 394, 11473, 737, 4164, 9400, 12, 2211, 16, 348, 8588, 18, 38, 7954, 1769, 202, 6313, 751, 857, 273, 394, 7145, 751, 12, 202, 202, 6313, 751, 18, 21654, 10109, 67, 26439, 67, 29818, 571, 7145, 751, 18, 44, 20344, 67, 26439, 67, 29818, 571, 202, 202, 6313, 751, 18, 6997, 2090, 67, 44, 20344, 571, 7145, 751, 18, 6997, 2090, 67, 21654, 10109, 1769, 202, 2793, 18, 2819, 7002, 273, 5705, 62, 1360, 67, 1090, 15445, 67, 30819, 41, 67, 10023, 31, 202, 2793, 18, 4210, 7002, 273, 2072, 7002, 31, 202, 3069, 737, 4164, 18, 542, 3744, 751, 12, 2793, 1769, 202, 3069, 737, 4164, 18, 542, 5711, 12, 2211, 18, 588, 5711, 10663, 202, 759, 1788, 2151, 14157, 4832, 5081, 737, 2588, 18, 202, 3413, 18415, 273, 394, 4902, 18415, 12, 3069, 737, 4164, 16, 348, 8588, 18, 9826, 1769, 202, 3069, 737, 4164, 18, 542, 1763, 2471, 12, 3413, 18415, 1769, 202, 2170, 1350, 2249, 3283, 273, 394, 4039, 1350, 2249, 5621, 202, 4057, 18, 4500, 7395, 15298, 12, 4500, 7395, 15298, 1769, 202, 3413, 18415, 18, 542, 1350, 2249, 12, 4057, 1769, 202, 3413, 18415, 18, 542, 2224, 2249, 12, 2704, 4147, 22144, 2224, 2249, 10663, 202, 3413, 18415, 18, 542, 24952, 12, 2704, 4441, 264, 24952, 1435, 2618, 1769, 202, 3413, 18415, 18, 1289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 752, 2471, 18415, 12, 474, 2072, 7002, 13, 288, 202, 759, 1788, 5081, 737, 2588, 18, 202, 8956, 737, 4164, 9400, 5081, 737, 4164, 273, 394, 11473, 737, 4164, 9400, 12, 2211, 16, 348, 8588, 18, 38, 7954, 1769, 202, 6313, 751, 857, 273, 394, 7145, 751, 12, 202, 202, 6313, 751, 18, 21654, 10109, 67, 26439, 67, 29818, 571, 7145, 751, 18, 44, 20344, 67, 26439, 67, 29818, 571, 202, 202, 6313, 751, 18, 6997, 2090, 67, 44, 20344, 571, 7145, 751, 18, 6997, 2090, 67, 21654, 10109, 1769, 202, 2793, 18, 2819, 7002, 273, 5705, 62, 1360, 67, 1090, 15445, 67, 30819, 41, 67, 10023, 31, 202, 2793, 18, 4210, 7002, 273, 2072, 7002, 31, 2 ]
new String[] { buffer.toString() });
new String[] { buffer.getPath() });
private double paintHeader(Graphics2D gfx, double pageX, double pageY, double pageWidth) { String headerText = jEdit.getProperty("print.headerText", new String[] { buffer.toString() }); FontRenderContext frc = gfx.getFontRenderContext(); gfx.setColor(headerColor); Rectangle2D bounds = font.getStringBounds(headerText,frc); Rectangle2D headerBounds = new Rectangle2D.Double( pageX,pageY,pageWidth,bounds.getHeight()); gfx.fill(headerBounds); gfx.setColor(headerTextColor); lm = font.getLineMetrics(headerText,frc); gfx.drawString(headerText, (float)(pageX + (pageWidth - bounds.getWidth()) / 2), (float)(pageY + lm.getAscent())); return headerBounds.getHeight(); }
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/0c4e249bf15534486f44667c52dacb3cf857be9b/BufferPrintable.java/clean/org/gjt/sp/jedit/print/BufferPrintable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1645, 12574, 1864, 12, 17558, 22, 40, 30940, 16, 1645, 23613, 16, 1645, 23298, 16, 202, 21821, 1645, 1363, 2384, 13, 202, 95, 202, 202, 780, 1446, 1528, 273, 525, 4666, 18, 588, 1396, 2932, 1188, 18, 3374, 1528, 3113, 1082, 202, 2704, 514, 8526, 288, 1613, 18, 10492, 1435, 15549, 202, 202, 5711, 3420, 1042, 284, 1310, 273, 30940, 18, 588, 5711, 3420, 1042, 5621, 202, 202, 75, 19595, 18, 542, 2957, 12, 3374, 2957, 1769, 202, 202, 19463, 22, 40, 4972, 273, 3512, 18, 588, 780, 5694, 12, 3374, 1528, 16, 74, 1310, 1769, 202, 202, 19463, 22, 40, 1446, 5694, 273, 394, 13264, 22, 40, 18, 5265, 12, 1082, 202, 2433, 60, 16, 2433, 61, 16, 2433, 2384, 16, 10576, 18, 588, 2686, 10663, 202, 202, 75, 19595, 18, 5935, 12, 3374, 5694, 1769, 202, 202, 75, 19595, 18, 542, 2957, 12, 3374, 31061, 1769, 202, 202, 25972, 273, 3512, 18, 588, 1670, 5653, 12, 3374, 1528, 16, 74, 1310, 1769, 202, 202, 75, 19595, 18, 9446, 780, 12, 3374, 1528, 16, 1082, 9079, 261, 5659, 21433, 2433, 60, 397, 261, 2433, 2384, 300, 4972, 18, 588, 2384, 10756, 342, 576, 3631, 1082, 9079, 261, 5659, 21433, 2433, 61, 397, 14966, 18, 588, 13665, 319, 1435, 10019, 202, 202, 2463, 1446, 5694, 18, 588, 2686, 5621, 202, 97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, 3113, 1082, 202, 2704, 514, 8526, 288, 1613, 18, 10492, 1435, 15549, 202, 202, 5711, 3420, 1042, 284, 1310, 273, 30940, 18, 588, 5711, 3420, 1042, 5621, 202, 202, 75, 19595, 18, 542, 2957, 12, 3374, 2957, 1769, 202, 202, 19463, 22, 40, 4972, 273, 3512, 18, 588, 780, 5694, 12, 3374, 1528, 16, 74, 1310, 1769, 202, 202, 19463, 22, 40, 1446, 5694, 273, 394, 13264, 22, 40, 18, 5265, 12, 1082, 202, 2433, 60, 16, 2 ]
revealInPackageExplorer(lastElement);
public void interestChanged(List<ITaskscapeNode> nodes) {// if (MylarPlugin.getTaskscapeManager().getTempRaisedHandle() != null) {// final IJavaElement raisedElement = JavaCore.create(MylarPlugin.getTaskscapeManager().getTempRaisedHandle());// final PackageExplorerPart packageExplorer = PackageExplorerPart.getFromActivePerspective();// if (packageExplorer != null) {// Workbench.getInstance().getDisplay().asyncExec(new Runnable() {// public void run() { // packageExplorer.getTreeViewer().refresh(raisedElement.getParent());// }// });// }// } else { ITaskscapeNode lastNode = nodes.get(nodes.size()-1); IJavaElement lastElement = JavaCore.create(lastNode.getElementHandle()); // PackageExplorerPart packageExplorer = PackageExplorerPart.getFromActivePerspective();// for (ITaskscapeNode node : nodes) {// IJavaElement element = JavaCore.create(node.getElementHandle());// packageExplorer.getTreeViewer().refresh(element, false);// } revealInPackageExplorer(lastElement); // if (!suppressJavaModelAddition(lastElement, packageExplorer)) {// for (ITaskscapeNode node : nodes) {// IJavaElement element = JavaCore.create(node.getElementHandle());// if (element != null && element.exists()) {// if (node.getDegreeOfInterest().isInteresting()) {// fireModelUpdate(element, ChangeKind.ADDED);// } // }// }// } else if (lastElement != null) {// if (!lastNode.getDegreeOfInterest().isInteresting()) {// if (Workbench.getInstance().getActiveWorkbenchWindow().getActivePage().getActivePart() instanceof PackageExplorerPart) {// if (FilterPackageExplorerAction.getDefault() != null && FilterPackageExplorerAction.getDefault().isChecked()) {// fireModelUpdate(lastElement, ChangeKind.REMOVED);// }// } else {// fireModelUpdate(lastElement, ChangeKind.REMOVED);// }// }// }// if (lastElement != null && packageExplorer != null && packageExplorer.getTreeViewer().getControl().isVisible()) {// revealInPackageExplorer(lastElement);// }// } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/69ed92ffe1bc1ecd976f665654008ef0910231bd/JavaUiUpdateBridge.java/buggy/org.eclipse.mylyn.java.ui/src/org/eclipse/mylyn/java/JavaUiUpdateBridge.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 16513, 5033, 12, 682, 32, 1285, 835, 12476, 907, 34, 2199, 13, 288, 759, 3639, 309, 261, 12062, 7901, 3773, 18, 588, 2174, 12476, 1318, 7675, 588, 7185, 12649, 5918, 3259, 1435, 480, 446, 13, 288, 759, 5411, 727, 467, 5852, 1046, 11531, 1046, 273, 5110, 4670, 18, 2640, 12, 12062, 7901, 3773, 18, 588, 2174, 12476, 1318, 7675, 588, 7185, 12649, 5918, 3259, 10663, 759, 5411, 727, 7508, 20938, 1988, 2181, 20938, 273, 7508, 20938, 1988, 18, 588, 1265, 3896, 14781, 16772, 5621, 759, 5411, 309, 261, 5610, 20938, 480, 446, 13, 288, 759, 2868, 4147, 22144, 18, 588, 1442, 7675, 588, 4236, 7675, 3810, 1905, 12, 2704, 10254, 1435, 288, 759, 5375, 1071, 918, 1086, 1435, 288, 368, 8227, 2181, 20938, 18, 588, 2471, 18415, 7675, 9144, 12, 354, 5918, 1046, 18, 588, 3054, 10663, 759, 5375, 289, 759, 2868, 15549, 759, 5411, 289, 759, 3639, 289, 469, 288, 5411, 467, 2174, 12476, 907, 1142, 907, 273, 2199, 18, 588, 12, 4690, 18, 1467, 1435, 17, 21, 1769, 5411, 467, 5852, 1046, 1142, 1046, 273, 5110, 4670, 18, 2640, 12, 2722, 907, 18, 21336, 3259, 10663, 13491, 368, 5411, 7508, 20938, 1988, 2181, 20938, 273, 7508, 20938, 1988, 18, 588, 1265, 3896, 14781, 16772, 5621, 759, 5411, 364, 261, 1285, 835, 12476, 907, 756, 294, 2199, 13, 288, 759, 2398, 202, 45, 5852, 1046, 930, 273, 5110, 4670, 18, 2640, 12, 2159, 18, 21336, 3259, 10663, 759, 2398, 202, 5610, 20938, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 16513, 5033, 12, 682, 32, 1285, 835, 12476, 907, 34, 2199, 13, 288, 759, 3639, 309, 261, 12062, 7901, 3773, 18, 588, 2174, 12476, 1318, 7675, 588, 7185, 12649, 5918, 3259, 1435, 480, 446, 13, 288, 759, 5411, 727, 467, 5852, 1046, 11531, 1046, 273, 5110, 4670, 18, 2640, 12, 12062, 7901, 3773, 18, 588, 2174, 12476, 1318, 7675, 588, 7185, 12649, 5918, 3259, 10663, 759, 5411, 727, 7508, 20938, 1988, 2181, 20938, 273, 7508, 20938, 1988, 18, 588, 1265, 3896, 14781, 16772, 5621, 759, 5411, 309, 261, 5610, 20938, 480, 446, 13, 288, 759, 2868, 4147, 22144, 18, 588, 1442, 7675, 588, 4236, 7675, 3810, 1905, 12, 2704, 10254, 1435, 288, 759, 5375, 1071, 918, 2 ]
if(reportEmitter.isHidden())
if ( reportEmitter.isHidden( ) )
public void startFooter( ) { if(reportEmitter.isHidden()) { return; } writer.openTag( "tfoot" ); //$NON-NLS-1$ }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/356f42c14715dd39c97f3d38a4fb13940b93a484/HTMLTableEmitter.java/clean/engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLTableEmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 787, 13787, 12, 262, 202, 95, 202, 202, 430, 12, 6006, 13476, 18, 291, 9345, 10756, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 6299, 18, 3190, 1805, 12, 315, 88, 10923, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 787, 13787, 12, 262, 202, 95, 202, 202, 430, 12, 6006, 13476, 18, 291, 9345, 10756, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 6299, 18, 3190, 1805, 12, 315, 88, 10923, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 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 ]
private Set revertExtensionActivations() {
private void revertExtensionActivations() {
private Set revertExtensionActivations() { Preferences preferences = NavigatorPlugin.getDefault() .getPluginPreferences(); String activatedExtensionsString = preferences .getString(getPreferenceKey()); if (activatedExtensionsString != null && activatedExtensionsString.length() > 0) { String[] contentExtensionIds = activatedExtensionsString .split(DELIM); for (int i = 0; i < contentExtensionIds.length; i++) { activatedExtensions.add(contentExtensionIds[i]); } } else { /* * We add the default activation of every known extension, even * though some may not be bound to the associated content service; * this is because they could be bound at a later time through the * programmatic binding mechanism in INavigatorContentService. */ INavigatorContentDescriptor[] contentDescriptors = CONTENT_DESCRIPTOR_REGISTRY .getAllContentDescriptors(); for (int i = 0; i < contentDescriptors.length; i++) { if (contentDescriptors[i].isActiveByDefault()) { activatedExtensions.add(contentDescriptors[i].getId()); } } } return activatedExtensions; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/1b0f37bc4a054e18b1a977d97d5a410a1f6896d6/NavigatorActivationService.java/clean/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/NavigatorActivationService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1000, 15226, 3625, 12241, 1012, 1435, 288, 202, 202, 12377, 12750, 273, 423, 13061, 3773, 18, 588, 1868, 1435, 9506, 202, 18, 588, 3773, 12377, 5621, 202, 202, 780, 14892, 7513, 780, 273, 12750, 9506, 202, 18, 588, 780, 12, 588, 9624, 653, 10663, 202, 202, 430, 261, 18836, 7513, 780, 480, 446, 9506, 202, 10, 10, 14892, 7513, 780, 18, 2469, 1435, 405, 374, 13, 288, 1082, 202, 780, 8526, 913, 3625, 2673, 273, 14892, 7513, 780, 6862, 202, 18, 4939, 12, 31519, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 913, 3625, 2673, 18, 2469, 31, 277, 27245, 288, 9506, 202, 18836, 7513, 18, 1289, 12, 1745, 3625, 2673, 63, 77, 19226, 1082, 202, 97, 202, 202, 97, 469, 288, 1082, 202, 20308, 9506, 380, 1660, 527, 326, 805, 10027, 434, 3614, 4846, 2710, 16, 5456, 9506, 380, 11376, 2690, 2026, 486, 506, 2489, 358, 326, 3627, 913, 1156, 31, 9506, 380, 333, 353, 2724, 2898, 3377, 506, 2489, 622, 279, 5137, 813, 3059, 326, 9506, 380, 5402, 26500, 5085, 12860, 316, 2120, 13061, 1350, 1179, 18, 9506, 1195, 1082, 202, 706, 13061, 1350, 3187, 8526, 913, 12705, 273, 12577, 67, 1639, 27689, 67, 5937, 25042, 6862, 202, 18, 588, 1595, 1350, 12705, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 913, 12705, 18, 2469, 31, 277, 27245, 288, 9506, 202, 430, 261, 1745, 12705, 63, 77, 8009, 291, 3896, 858, 1868, 10756, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1000, 15226, 3625, 12241, 1012, 1435, 288, 202, 202, 12377, 12750, 273, 423, 13061, 3773, 18, 588, 1868, 1435, 9506, 202, 18, 588, 3773, 12377, 5621, 202, 202, 780, 14892, 7513, 780, 273, 12750, 9506, 202, 18, 588, 780, 12, 588, 9624, 653, 10663, 202, 202, 430, 261, 18836, 7513, 780, 480, 446, 9506, 202, 10, 10, 14892, 7513, 780, 18, 2469, 1435, 405, 374, 13, 288, 1082, 202, 780, 8526, 913, 3625, 2673, 273, 14892, 7513, 780, 6862, 202, 18, 4939, 12, 31519, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 913, 3625, 2673, 18, 2469, 31, 277, 27245, 288, 9506, 202, 18836, 7513, 18, 1289, 12, 1745, 3625, 2673, 63, 2 ]
public void putClass(String name, RubyModule rbClass) { classMap.put(name, rbClass);
public void putClass(String name, RubyModule rbClass, RubyModule parentModule) { if (parentModule == objectClass) { topLevelClasses.put(name, rbClass); } else { nonTopLevelClasses.put(rbClass.name(), rbClass); }
public void putClass(String name, RubyModule rbClass) { classMap.put(name, rbClass); }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/750e66982e97bcb72545a39ceacf6ee32a52a135/RubyClasses.java/clean/src/org/jruby/RubyClasses.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 797, 12, 780, 508, 16, 19817, 3120, 7138, 797, 13, 288, 3639, 29835, 18, 458, 12, 529, 16, 7138, 797, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 ]
if (current == eq.dispatchThread) throw new Error("Can't call invokeAndWait from event dispatch thread");
public static void invokeAndWait(Runnable runnable) throws InterruptedException, InvocationTargetException { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); Thread current = Thread.currentThread(); if (current == eq.dispatchThread) throw new Error("Can't call invokeAndWait from event dispatch thread"); InvocationEvent ie = new InvocationEvent(eq, runnable, current, true); synchronized (current) { eq.postEvent(ie); current.wait(); } Exception exception; if ((exception = ie.getException()) != null) throw new InvocationTargetException(exception); }
27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/2691345f38819752562419e27c65e8cb6f5abdd7/EventQueue.java/clean/libjava/java/awt/EventQueue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 4356, 1876, 5480, 12, 20013, 14685, 13, 565, 1216, 7558, 16, 15342, 225, 288, 565, 2587, 3183, 7555, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 3163, 1133, 3183, 5621, 377, 4884, 783, 273, 4884, 18, 2972, 3830, 5621, 565, 309, 261, 2972, 422, 7555, 18, 10739, 3830, 13, 1377, 604, 394, 1068, 2932, 2568, 1404, 745, 4356, 1876, 5480, 628, 871, 3435, 2650, 8863, 565, 11298, 1133, 9228, 273, 4202, 394, 11298, 1133, 12, 11253, 16, 14685, 16, 783, 16, 638, 1769, 565, 3852, 261, 2972, 13, 1377, 288, 3639, 7555, 18, 2767, 1133, 12, 1385, 1769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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 4356, 1876, 5480, 12, 20013, 14685, 13, 565, 1216, 7558, 16, 15342, 225, 288, 565, 2587, 3183, 7555, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 3163, 1133, 3183, 5621, 377, 4884, 783, 273, 4884, 18, 2972, 3830, 5621, 565, 309, 261, 2972, 422, 7555, 18, 10739, 3830, 13, 1377, 604, 394, 1068, 2932, 2568, 1404, 745, 4356, 1876, 5480, 628, 871, 3435, 2650, 8863, 565, 11298, 1133, 9228, 273, 4202, 394, 11298, 1133, 12, 11253, 16, 14685, 16, 783, 16, 638, 1769, 565, 3852, 261, 2972, 13, 1377, 288, 3639, 7555, 18, 2767, 1133, 12, 1385, 1769, 3639, 783, 18, 7048, 5621, 1377, 289, 565, 1185, 1520, 31, 565, 309, 14015, 4064, 2 ]
TableLayoutConstraints c2 = new TableLayoutConstraints(1, 1, 4, 1, TableLayout.FULL, TableLayout.FULL);
TableLayoutConstraints c2 = new TableLayoutConstraints(NEST_SPAN_START_COLUMN, NEST_ROW, NEST_SPAN_END_COLUMN, NEST_ROW, TableLayout.FULL, TableLayout.FULL);
public void actionPerformed(ActionEvent evt) { if(!mExpanded) { TableLayoutConstraints c2 = new TableLayoutConstraints(1, 1, 4, 1, TableLayout.FULL, TableLayout.FULL); add(mComponent, c2); // We are now expanded. mExpanded = true; mExpandButton.setIcon(mExpandedIcon); } else { remove(mComponent); // We are now collapsed. mExpanded = false; mExpandButton.setIcon(mCollapsedIcon); } revalidate(); repaint(); }
7933 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7933/44f96f399af74f89cf84a81f1ef7c48ff70fbb65/ExpandablePanel.java/buggy/modules/jackal/editors/org/vrjuggler/jccl/editors/ExpandablePanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 1803, 1133, 6324, 13, 5411, 288, 9079, 309, 12, 5, 81, 17957, 13, 9079, 288, 5375, 3555, 3744, 4878, 276, 22, 273, 394, 3555, 3744, 4878, 12, 5407, 882, 67, 3118, 1258, 67, 7570, 67, 11009, 16, 423, 11027, 67, 11226, 16, 423, 11027, 67, 3118, 1258, 67, 4415, 67, 11009, 16, 423, 11027, 67, 11226, 16, 3555, 3744, 18, 18111, 16, 3555, 3744, 18, 18111, 1769, 5375, 527, 12, 81, 1841, 16, 276, 22, 1769, 5375, 368, 1660, 854, 2037, 8406, 18, 5375, 312, 17957, 273, 638, 31, 5375, 312, 12271, 3616, 18, 542, 5554, 12, 81, 17957, 5554, 1769, 9079, 289, 9079, 469, 9079, 288, 5375, 1206, 12, 81, 1841, 1769, 5375, 368, 1660, 854, 2037, 17027, 18, 5375, 312, 17957, 273, 629, 31, 5375, 312, 12271, 3616, 18, 542, 5554, 12, 81, 28084, 5554, 1769, 9079, 289, 9079, 283, 5662, 5621, 9079, 24962, 5621, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 1803, 1133, 6324, 13, 5411, 288, 9079, 309, 12, 5, 81, 17957, 13, 9079, 288, 5375, 3555, 3744, 4878, 276, 22, 273, 394, 3555, 3744, 4878, 12, 5407, 882, 67, 3118, 1258, 67, 7570, 67, 11009, 16, 423, 11027, 67, 11226, 16, 423, 11027, 67, 3118, 1258, 67, 4415, 67, 11009, 16, 423, 11027, 67, 11226, 16, 3555, 3744, 18, 18111, 16, 3555, 3744, 18, 18111, 1769, 5375, 527, 12, 81, 1841, 16, 276, 22, 1769, 5375, 368, 1660, 854, 2037, 8406, 18, 5375, 312, 17957, 273, 638, 31, 5375, 312, 12271, 3616, 18, 542, 5554, 12, 81, 17957, 5554, 1769, 9079, 289, 9079, 469, 9079, 288, 5375, 1206, 12, 81, 1841, 1769, 5375, 2 ]
public boolean equals(Object o) { if (!(o instanceof TechAdvance)) return false; TechAdvance ta = (TechAdvance) o; if (ta.getName() == null || getName() == null) return false; return getName().equals(ta.getName()); }
8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/6d4902f6fb4cc244abe3aaada952f389c483c4fe/TechAdvance.java/buggy/triplea/src/games/strategy/triplea/delegate/TechAdvance.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1606, 12, 921, 320, 13, 202, 95, 202, 202, 430, 16051, 12, 83, 1276, 399, 8987, 1871, 5882, 3719, 1082, 202, 2463, 629, 31, 9506, 202, 56, 8987, 1871, 5882, 13561, 273, 261, 56, 8987, 1871, 5882, 13, 320, 31, 9506, 202, 430, 261, 2351, 18, 17994, 1435, 422, 446, 747, 1723, 1435, 422, 446, 13, 1082, 202, 2463, 629, 31, 6862, 202, 2463, 1723, 7675, 14963, 12, 2351, 18, 17994, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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202, 56, 8987, 1871, 5882, 13561, 273, 261, 56, 8987, 1871, 5882, 13, 320, 31, 9506, 202, 430, 261, 2351, 18, 17994, 1435, 422, 446, 747, 1723, 1435, 422, 446, 13, 1082, 202, 2463, 629, 31, 6862, 202, 2463, 1723, 7675, 14963, 12, 2351, 18, 17994, 10663, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throws NotImplementedException
public void end(HTML.Tag t) throws NotImplementedException { // FIXME: Implement. print ("StyleAction.end not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a3e083d3100ebabbd539297b5cb2118701b9674e/HTMLDocument.java/clean/core/src/classpath/javax/javax/swing/text/html/HTMLDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 679, 12, 4870, 18, 1805, 268, 13, 2398, 288, 3639, 368, 9852, 30, 10886, 18, 3639, 1172, 7566, 2885, 1803, 18, 409, 486, 8249, 8863, 1377, 289, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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, 316, 326, 981, 30, 4202, 1071, 918, 679, 12, 4870, 18, 1805, 268, 13, 2398, 288, 3639, 368, 9852, 30, 10886, 18, 3639, 1172, 7566, 2885, 1803, 18, 409, 486, 8249, 8863, 1377, 289, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final int n = name.length(); for (int i = 1; i < n; i++) { ch = name.charAt(i); result.append(Character.isJavaIdentifierPart(ch) ? ch : '_');
final int n = name.length(); for (int i = 1; i < n; i++) { ch = name.charAt(i); result.append(Character.isJavaIdentifierPart(ch) ? ch : '_'); } return result.toString();
public static String toJavaName(String name) { final StringBuffer result = new StringBuffer(); char ch = name.charAt(0); result.append(Character.isJavaIdentifierStart(ch) ? ch : '_'); final int n = name.length(); for (int i = 1; i < n; i++) { ch = name.charAt(i); result.append(Character.isJavaIdentifierPart(ch) ? ch : '_'); } return result.toString(); }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/12403cf863bd841e3ccf609c0c73148f847e7abc/Util.java/clean/src/org/apache/xalan/xsltc/compiler/util/Util.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 358, 5852, 461, 12, 780, 508, 13, 288, 202, 6385, 6674, 563, 273, 394, 6674, 5621, 202, 3001, 462, 273, 508, 18, 3001, 861, 12, 20, 1769, 202, 2088, 18, 6923, 12, 7069, 18, 291, 5852, 3004, 1685, 12, 343, 13, 692, 462, 294, 4427, 1769, 202, 6385, 509, 290, 273, 508, 18, 2469, 5621, 202, 1884, 261, 474,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 358, 5852, 461, 12, 780, 508, 13, 288, 202, 6385, 6674, 563, 273, 394, 6674, 5621, 202, 3001, 462, 273, 508, 18, 3001, 861, 12, 20, 1769, 202, 2088, 18, 6923, 12, 7069, 18, 291, 5852, 3004, 1685, 12, 343, 13, 692, 462, 294, 4427, 1769, 202, 6385, 509, 290, 273, 508, 18, 2469, 5621, 202, 1884, 261, 474, 277, 273, 404, 31, 277, 411, 290, 31, 277, 27245, 288, 202, 565, 462, 273, 508, 18, 3001, 861, 12, 77, 1769, 202, 565, 563, 18, 6923, 12, 7069, 18, 291, 5852, 3004, 1988, 12, 343, 13, 225, 692, 462, 294, 4427, 1769, 202, 97, 202, 2463, 563, 18, 10492, 5621, 565, 289, 2, -100, -100, -100 ]
final Bounds adjustedBounds = getAdjustedPlotBounds( );
final Bounds adjustedBounds = getAdjustedPlotBounds( true );
public void compute( Bounds bo ) throws ChartException, IllegalArgumentException { bo = bo.scaledInstance( dPointToPixel ); // CONVERSION boPlotBackground = BoundsImpl.copyInstance( bo ); // MUST BE 3-D DIMENSION ONLY HERE. iDimension = getDimension( cwa.getDimension( ) ); assert iDimension == IConstants.THREE_D; dXAxisPlotSpacing = cwa.getPlot( ).getHorizontalSpacing( ) * dPointToPixel; // CONVERSION dYAxisPlotSpacing = cwa.getPlot( ).getVerticalSpacing( ) * dPointToPixel; // CONVERSION dZAxisPlotSpacing = dXAxisPlotSpacing; final Axis[] axa = cwa.getPrimaryBaseAxes( ); final Axis axPrimaryBase = axa[0]; final Axis axPrimaryOrthogonal = cwa.getPrimaryOrthogonalAxis( axPrimaryBase ); final Axis axAncillaryBase = cwa.getAncillaryBaseAxis( axPrimaryBase ); // INITIALIZE AXES DATASETS Object oaData = null; // COMPUTE PRIMARY BASE DATA OneAxis oaxPrimaryBase = aax.getPrimaryBase( ); int iPrimaryAxisType = getAxisType( axPrimaryBase ); if ( iPrimaryAxisType == TEXT || oaxPrimaryBase.isCategoryScale( ) ) { oaData = getTypedDataSet( axPrimaryBase, iPrimaryAxisType, 0 ); } else if ( ( iPrimaryAxisType & NUMERICAL ) == NUMERICAL ) { oaData = getMinMax( axPrimaryBase, iPrimaryAxisType ); } else if ( ( iPrimaryAxisType & DATE_TIME ) == DATE_TIME ) { oaData = getMinMax( axPrimaryBase, iPrimaryAxisType ); } DataSetIterator dsiPrimaryBase = ( oaData instanceof DataSetIterator ) ? (DataSetIterator) oaData : new DataSetIterator( oaData, iPrimaryAxisType ); oaData = null; // COMPUTE ANCILLARY BASE DATA OneAxis oaxAncillaryBase = aax.getAncillaryBase( ); int iAncillaryAxisType = getAxisType( axAncillaryBase ); if ( iAncillaryAxisType == TEXT || oaxAncillaryBase.isCategoryScale( ) ) { oaData = getAncillaryDataSet( axAncillaryBase, axPrimaryOrthogonal, iAncillaryAxisType ); } else if ( ( iAncillaryAxisType & NUMERICAL ) == NUMERICAL ) { oaData = getMinMax( axAncillaryBase, iAncillaryAxisType ); } else if ( ( iAncillaryAxisType & DATE_TIME ) == DATE_TIME ) { oaData = getMinMax( axAncillaryBase, iAncillaryAxisType ); } DataSetIterator dsiAncillary = ( oaData instanceof DataSetIterator ) ? (DataSetIterator) oaData : new DataSetIterator( oaData, iAncillaryAxisType ); oaData = null; // COMPUTE ORTHOGONAL DATA OneAxis oaxPrimaryOrthogonal = aax.getPrimaryOrthogonal( ); int iOrthogonalAxisType = getAxisType( axPrimaryOrthogonal ); DataSetIterator dsiOrthogonal = null; if ( ( iOrthogonalAxisType & NUMERICAL ) == NUMERICAL || ( iOrthogonalAxisType & DATE_TIME ) == DATE_TIME ) { dsiOrthogonal = new DataSetIterator( getMinMax( axPrimaryOrthogonal, iOrthogonalAxisType ), iOrthogonalAxisType ); } else { throw new ChartException( ChartEnginePlugin.ID, ChartException.DATA_FORMAT, "exception.orthogonal.axis.numerical.datetime", //$NON-NLS-1$ Messages.getResourceBundle( rtc.getULocale( ) ) ); } // COMPUTE AUTOMATIC ZOOM SCALE AND FACTOR double dXDZ = dsiPrimaryBase.size( ) * 1d / dsiAncillary.size( ); final Bounds adjustedBounds = getAdjustedPlotBounds( ); double xOffset = adjustedBounds.getLeft( ); double yOffset = adjustedBounds.getTop( ); double zoomScale = detectZoomScale( get3DEngine( ), dXDZ, xOffset, yOffset, adjustedBounds.getWidth( ), adjustedBounds.getHeight( ) ); double dWZ = zoomScale; double dW = dXDZ * zoomScale; double dH = ( dW + dWZ ) / 2; double dX = -dW / 2; double dY = -dH / 2; double dZ = -dWZ / 2; Location panningOffset = getPanningOffset( ); double xZoom = computeAxisZoomFactor( get3DEngine( ), dX, dX + dW, Location3DImpl.create( dX, dY, dZ ), Location3DImpl.create( dX + dW, dY, dZ ), panningOffset.getX( ), panningOffset.getY( ) ); double yZoom = computeAxisZoomFactor( get3DEngine( ), dY, dY + dH, Location3DImpl.create( dX, dY, dZ ), Location3DImpl.create( dX, dY + dH, dZ ), panningOffset.getX( ), panningOffset.getY( ) ); double zZoom = computeAxisZoomFactor( get3DEngine( ), dZ, dZ + dWZ, Location3DImpl.create( dX, dY, dZ ), Location3DImpl.create( dX, dY, dZ + dWZ ), panningOffset.getX( ), panningOffset.getY( ) ); double dStart, dEnd; // COMPUTE PRIMARY-BASE-AXIS PROPERTIES AND ITS SCALE AutoScale scPrimaryBase = null; dStart = dX; dEnd = dX + dW; Scale sc = axPrimaryBase.getScale( ); scPrimaryBase = AutoScale.computeScale( ids, oaxPrimaryBase, dsiPrimaryBase, iPrimaryAxisType, dStart, dEnd, sc.getMin( ), sc.getMax( ), sc.isSetStep( ) ? new Double( sc.getStep( ) ) : null, axPrimaryBase.getFormatSpecifier( ), rtc, FORWARD, xZoom ); oaxPrimaryBase.set( scPrimaryBase ); // UPDATE SCALE ON PRIMARY-BASE // AXIS // COMPUTE ANCILLARY-BASE-AXIS PROPERTIES AND ITS SCALE AutoScale scAncillaryBase = null; dStart = dZ; dEnd = dZ + dWZ; sc = axAncillaryBase.getScale( ); scAncillaryBase = AutoScale.computeScale( ids, oaxAncillaryBase, dsiAncillary, iAncillaryAxisType, dStart, dEnd, sc.getMin( ), sc.getMax( ), sc.isSetStep( ) ? new Double( sc.getStep( ) ) : null, axAncillaryBase.getFormatSpecifier( ), rtc, FORWARD, zZoom ); oaxAncillaryBase.set( scAncillaryBase ); // UPDATE SCALE ON // ANCILLARY-BASE AXIS // COMPUTE PRIMARY-ORTHOGONAL-AXIS PROPERTIES AND ITS SCALE AutoScale scPrimaryOrthogonal = null; dStart = dY; dEnd = dH; sc = axPrimaryOrthogonal.getScale( ); scPrimaryOrthogonal = AutoScale.computeScale( ids, oaxPrimaryOrthogonal, dsiOrthogonal, iOrthogonalAxisType, dStart, dEnd, sc.getMin( ), sc.getMax( ), sc.isSetStep( ) ? new Double( sc.getStep( ) ) : null, axPrimaryOrthogonal.getFormatSpecifier( ), rtc, FORWARD, yZoom ); oaxPrimaryOrthogonal.set( scPrimaryOrthogonal ); // UPDATE SCALE ON // PRIMARY-ORTHOGONAL AXIS // Here we ignore the intersection Value/Max setting, always // use the Intersection.Min for 3D chart. double dYAxisLocationOnX = dX; double dYAxisLocationOnZ = dZ; double dXAxisLocation = dY; double dZAxisLocation = dY; // SETUP THE FULL DATASET FOR THE PRIMARY ORTHOGONAL AXIS iOrthogonalAxisType = getAxisType( axPrimaryOrthogonal ); oaData = getTypedDataSet( axPrimaryOrthogonal, iOrthogonalAxisType, 0 ); scPrimaryOrthogonal.setData( dsiOrthogonal ); // Setup the full dataset for the ancillary base axis. iAncillaryAxisType = getAxisType( axAncillaryBase ); if ( iAncillaryAxisType != IConstants.TEXT ) { scAncillaryBase.setData( getTypedDataSet( axAncillaryBase, iAncillaryAxisType, 0 ) ); } // SETUP THE FULL DATASET FOR THE PRIMARY ORTHOGONAL AXIS iPrimaryAxisType = getAxisType( axPrimaryBase ); if ( iPrimaryAxisType != IConstants.TEXT ) { scPrimaryBase.setData( getTypedDataSet( axPrimaryBase, iPrimaryAxisType, 0 ) ); } scPrimaryBase.resetShifts( ); scAncillaryBase.resetShifts( ); scPrimaryOrthogonal.resetShifts( ); // UPDATE FOR OVERLAYS final OneAxis axPH = aax.getPrimaryBase( ); final OneAxis axPV = aax.getPrimaryOrthogonal( ); final OneAxis axAB = aax.getAncillaryBase( ); // keep old invocation to ensure compatibility. axPH.setAxisCoordinate( dXAxisLocation ); axPV.setAxisCoordinate( dYAxisLocationOnX ); axAB.setAxisCoordinate( dZAxisLocation ); // set new 3D axis coordinate. this coordinate has been normalized to // Zero-coordinates. axPH.setAxisCoordinate3D( Location3DImpl.create( 0, dXAxisLocation, dYAxisLocationOnZ ) ); axPV.setAxisCoordinate3D( Location3DImpl.create( dYAxisLocationOnX, 0, dYAxisLocationOnZ ) ); axAB.setAxisCoordinate3D( Location3DImpl.create( dYAxisLocationOnX, dZAxisLocation, 0 ) ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/af18ea665c21e7871017fe926ce6933034dd6e68/PlotWith3DAxes.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWith3DAxes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3671, 12, 20382, 800, 262, 1216, 14804, 503, 16, 1082, 202, 31237, 202, 95, 202, 202, 1075, 273, 800, 18, 20665, 1442, 12, 302, 2148, 774, 9037, 11272, 368, 3492, 5757, 202, 202, 1075, 11532, 8199, 273, 20382, 2828, 18, 3530, 1442, 12, 800, 11272, 202, 202, 759, 10685, 9722, 890, 17, 40, 463, 3114, 3156, 1146, 20747, 670, 29340, 18, 202, 202, 77, 8611, 273, 20283, 12, 14098, 69, 18, 588, 8611, 12, 262, 11272, 202, 202, 11231, 277, 8611, 422, 467, 2918, 18, 2455, 9719, 67, 40, 31, 202, 202, 72, 60, 6558, 11532, 18006, 273, 14098, 69, 18, 588, 11532, 12, 262, 18, 588, 14457, 18006, 12, 262, 9506, 202, 14, 302, 2148, 774, 9037, 31, 368, 3492, 5757, 202, 202, 72, 61, 6558, 11532, 18006, 273, 14098, 69, 18, 588, 11532, 12, 262, 18, 588, 15704, 18006, 12, 262, 9506, 202, 14, 302, 2148, 774, 9037, 31, 368, 3492, 5757, 202, 202, 72, 62, 6558, 11532, 18006, 273, 302, 60, 6558, 11532, 18006, 31, 202, 202, 6385, 15509, 8526, 1740, 69, 273, 14098, 69, 18, 588, 6793, 2171, 26494, 12, 11272, 202, 202, 6385, 15509, 1740, 6793, 2171, 273, 1740, 69, 63, 20, 15533, 202, 202, 6385, 15509, 1740, 6793, 1162, 451, 28396, 273, 14098, 69, 18, 588, 6793, 1162, 451, 28396, 6558, 12, 1740, 6793, 2171, 11272, 202, 202, 6385, 15509, 1740, 979, 71, 737, 814, 2171, 273, 14098, 69, 18, 588, 979, 71, 737, 814, 2171, 6558, 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, 3671, 12, 20382, 800, 262, 1216, 14804, 503, 16, 1082, 202, 31237, 202, 95, 202, 202, 1075, 273, 800, 18, 20665, 1442, 12, 302, 2148, 774, 9037, 11272, 368, 3492, 5757, 202, 202, 1075, 11532, 8199, 273, 20382, 2828, 18, 3530, 1442, 12, 800, 11272, 202, 202, 759, 10685, 9722, 890, 17, 40, 463, 3114, 3156, 1146, 20747, 670, 29340, 18, 202, 202, 77, 8611, 273, 20283, 12, 14098, 69, 18, 588, 8611, 12, 262, 11272, 202, 202, 11231, 277, 8611, 422, 467, 2918, 18, 2455, 9719, 67, 40, 31, 202, 202, 72, 60, 6558, 11532, 18006, 273, 14098, 69, 18, 588, 11532, 12, 262, 18, 588, 14457, 18006, 12, 262, 9506, 202, 14, 302, 2 ]
icInsets.addListener(this); icInsets.setLayoutData(gdICInsets); icInsets.setEnabled(bEnableUI);
icInsets.addListener( this ); icInsets.setLayoutData( gdICInsets ); icInsets.setEnabled( bEnableUI );
private void placeComponents() { FillLayout flMain = new FillLayout(); flMain.marginHeight = 0; flMain.marginWidth = 0; GridLayout glAttributes = new GridLayout(); glAttributes.horizontalSpacing = 5; glAttributes.verticalSpacing = 5; glAttributes.marginHeight = 7; glAttributes.marginWidth = 7; GridLayout glGeneral = new GridLayout(); glGeneral.numColumns = 2; glGeneral.horizontalSpacing = 5; glGeneral.verticalSpacing = 5; FillLayout flOutline = new FillLayout(); this.setLayout(flMain); if (sGroupName == null || sGroupName.length() == 0) { grpAttributes = new Composite(this, SWT.NONE); } else { grpAttributes = new Group(this, SWT.NONE); ((Group) grpAttributes).setText(sGroupName); } grpAttributes.setLayout(glAttributes); cmpGeneral = new Composite(grpAttributes, SWT.NONE); GridData gdCMPGeneral = new GridData(GridData.FILL_HORIZONTAL); cmpGeneral.setLayoutData(gdCMPGeneral); cmpGeneral.setLayout(glGeneral); boolean bEnableUI = bEnabled; if (bVisibilityEnabled) { cbVisible = new Button(cmpGeneral, SWT.CHECK); GridData gdCBVisible = new GridData(GridData.FILL_HORIZONTAL); gdCBVisible.horizontalSpan = 2; cbVisible.setLayoutData(gdCBVisible); cbVisible.setSelection(this.lblCurrent.isVisible()); cbVisible.setText(Messages .getString("LabelAttributesComposite.Lbl.IsVisible")); //$NON-NLS-1$ cbVisible.addSelectionListener(this); if (bEnabled) { bEnableUI = cbVisible.getSelection(); } } if (bPositionEnabled) { lblPosition = new Label(cmpGeneral, SWT.NONE); GridData gdLBLPosition = new GridData(); lblPosition.setLayoutData(gdLBLPosition); lblPosition.setText(Messages .getString("LabelAttributesComposite.Lbl.Position")); //$NON-NLS-1$ lblPosition.setEnabled(bEnableUI); cmbPosition = new Combo(cmpGeneral, SWT.DROP_DOWN | SWT.READ_ONLY); GridData gdCMBPosition = new GridData(GridData.FILL_BOTH); cmbPosition.setLayoutData(gdCMBPosition); cmbPosition.addSelectionListener(this); cmbPosition.setEnabled(bEnableUI); } lblFont = new Label(cmpGeneral, SWT.NONE); GridData gdLFont = new GridData(); lblFont.setLayoutData(gdLFont); lblFont .setText(Messages .getString("LabelAttributesComposite.Lbl.Font")); //$NON-NLS-1$ lblFont.setEnabled(bEnableUI); fdcFont = new FontDefinitionComposite(cmpGeneral, SWT.NONE, this.fdCurrent, this.cdFont, this.isAlignmentEnabled); GridData gdFDCFont = new GridData(GridData.FILL_BOTH); gdFDCFont.heightHint = fdcFont.getPreferredSize().y; gdFDCFont.widthHint = 96; gdFDCFont.grabExcessVerticalSpace = false; fdcFont.setLayoutData(gdFDCFont); fdcFont.addListener(this); fdcFont.setEnabled(bEnableUI); lblFill = new Label(cmpGeneral, SWT.NONE); GridData gdLFill = new GridData(); lblFill.setLayoutData(gdLFill); lblFill.setText(Messages .getString("LabelAttributesComposite.Lbl.Background")); //$NON-NLS-1$ lblFill.setEnabled(bEnableUI); fccBackground = new FillChooserComposite(cmpGeneral, SWT.NONE, fBackground, false, false); GridData gdFCCBackground = new GridData(GridData.FILL_BOTH); gdFCCBackground.heightHint = fccBackground.getPreferredSize().y; fccBackground.setLayoutData(gdFCCBackground); fccBackground.addListener(this); fccBackground.setEnabled(bEnableUI); if (bShadowEnabled) { lblShadow = new Label(cmpGeneral, SWT.NONE); GridData gdLBLShadow = new GridData(); lblShadow.setLayoutData(gdLBLShadow); lblShadow.setText(Messages .getString("LabelAttributesComposite.Lbl.Shadow")); //$NON-NLS-1$ lblShadow.setEnabled(bEnableUI); fccShadow = new FillChooserComposite(cmpGeneral, SWT.NONE, cdShadow, false, false); GridData gdFCCShadow = new GridData(GridData.FILL_BOTH); fccShadow.setLayoutData(gdFCCShadow); fccShadow.addListener(this); fccShadow.setEnabled(bEnableUI); } grpOutline = new Group(grpAttributes, SWT.NONE); GridData gdGOutline = new GridData(GridData.FILL_HORIZONTAL); gdGOutline.heightHint = 110; grpOutline.setLayoutData(gdGOutline); grpOutline.setText(Messages .getString("LabelAttributesComposite.Lbl.Outline")); //$NON-NLS-1$ grpOutline.setLayout(flOutline); grpOutline.setEnabled(bEnableUI); liacOutline = new LineAttributesComposite(grpOutline, SWT.NONE, laCurrent, true, true, true); liacOutline.addListener(this); liacOutline.setEnabled(bEnableUI); if (bInsetsEnabled == true) { icInsets = new InsetsComposite(grpAttributes, SWT.NONE, insets, sUnits, serviceprovider); GridData gdICInsets = new GridData(GridData.FILL_HORIZONTAL); gdICInsets.heightHint = icInsets.getPreferredSize().y; gdICInsets.grabExcessVerticalSpace = false; icInsets.addListener(this); icInsets.setLayoutData(gdICInsets); icInsets.setEnabled(bEnableUI); } populateLists(); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/500b4482b64451f75339ee5037485c3309647704/LabelAttributesComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/LabelAttributesComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3166, 7171, 1435, 288, 202, 202, 8026, 3744, 1183, 6376, 273, 394, 14192, 3744, 5621, 202, 202, 2242, 6376, 18, 10107, 2686, 273, 374, 31, 202, 202, 2242, 6376, 18, 10107, 2384, 273, 374, 31, 202, 202, 6313, 3744, 5118, 2498, 273, 394, 7145, 3744, 5621, 202, 202, 7043, 2498, 18, 18396, 18006, 273, 1381, 31, 202, 202, 7043, 2498, 18, 17824, 18006, 273, 1381, 31, 202, 202, 7043, 2498, 18, 10107, 2686, 273, 2371, 31, 202, 202, 7043, 2498, 18, 10107, 2384, 273, 2371, 31, 202, 202, 6313, 3744, 5118, 12580, 273, 394, 7145, 3744, 5621, 202, 202, 7043, 12580, 18, 2107, 3380, 273, 576, 31, 202, 202, 7043, 12580, 18, 18396, 18006, 273, 1381, 31, 202, 202, 7043, 12580, 18, 17824, 18006, 273, 1381, 31, 202, 202, 8026, 3744, 1183, 21805, 273, 394, 14192, 3744, 5621, 202, 202, 2211, 18, 542, 3744, 12, 2242, 6376, 1769, 202, 202, 430, 261, 87, 3943, 422, 446, 747, 272, 3943, 18, 2469, 1435, 422, 374, 13, 288, 1082, 202, 17532, 2498, 273, 394, 14728, 12, 2211, 16, 348, 8588, 18, 9826, 1769, 202, 202, 97, 469, 288, 1082, 202, 17532, 2498, 273, 394, 3756, 12, 2211, 16, 348, 8588, 18, 9826, 1769, 1082, 202, 12443, 1114, 13, 14295, 2498, 2934, 542, 1528, 12, 87, 3943, 1769, 202, 202, 97, 202, 202, 17532, 2498, 18, 542, 3744, 12, 7043, 2498, 1769, 202, 202, 9625, 12580, 273, 394, 14728, 12, 17532, 2498, 16, 348, 8588, 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, 3166, 7171, 1435, 288, 202, 202, 8026, 3744, 1183, 6376, 273, 394, 14192, 3744, 5621, 202, 202, 2242, 6376, 18, 10107, 2686, 273, 374, 31, 202, 202, 2242, 6376, 18, 10107, 2384, 273, 374, 31, 202, 202, 6313, 3744, 5118, 2498, 273, 394, 7145, 3744, 5621, 202, 202, 7043, 2498, 18, 18396, 18006, 273, 1381, 31, 202, 202, 7043, 2498, 18, 17824, 18006, 273, 1381, 31, 202, 202, 7043, 2498, 18, 10107, 2686, 273, 2371, 31, 202, 202, 7043, 2498, 18, 10107, 2384, 273, 2371, 31, 202, 202, 6313, 3744, 5118, 12580, 273, 394, 7145, 3744, 5621, 202, 202, 7043, 12580, 18, 2107, 3380, 273, 576, 31, 202, 202, 7043, 12580, 18, 18396, 18006, 273, 2 ]
task.close( );
protected void renderReport( String fileName, String pageRange ) { report_design = inputPath + fileName + ".rptdesign"; report_document = outputPath + fileName + "_reportdocument"; IRenderTask task; // create directories to deposit output files createDir( fileName ); try { createReportDocument( report_design, report_document ); // open the document in the archive. reportDoc = engine.openReportDocument( report_document ); // Set IRenderOption IRenderOption htmlRenderOptions = new HTMLRenderOption( ); IRenderOption pdfRenderOptions = new HTMLRenderOption( ); HTMLRenderContext renderContext = new HTMLRenderContext( ); renderContext.setImageDirectory( "image" ); HashMap appContext = new HashMap( ); appContext.put( EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT, renderContext ); htmlRenderOptions.setOutputFormat( "html" ); pdfRenderOptions.setOutputFormat( "pdf" ); htmlRenderOptions.getOutputSetting( ).put( HTMLRenderOption.URL_ENCODING, "UTF-8" ); pdfRenderOptions.getOutputSetting( ).put( HTMLRenderOption.URL_ENCODING, "UTF-8" ); int i_bookmark = -1; if ( pageRange != null ) { i_bookmark = pageRange.indexOf( "bookmark_" ); } if ( i_bookmark == -1 ) { if ( pageRange != null && pageRange.equals( "no" ) ) { /* set page number 1 and then render the first page */ // render html output outputFileName = outputPath + fileName + "/html/page1" + ".html"; removeFile( outputFileName ); htmlRenderOptions.setOutputFileName( outputFileName ); task = engine.createRenderTask( reportDoc ); task.setLocale( Locale.ENGLISH ); task.setAppContext( appContext ); task.setRenderOption( htmlRenderOptions ); task.setPageNumber( 1 ); task.render( ); task.close( ); File htmlFile = new File( outputFileName ); assertTrue( "Render " + fileName + " to html failed. ", htmlFile.exists( ) ); assertTrue( "Render " + fileName + " to html failed. ", htmlFile.length( ) != 0 ); // render pdf output outputFileName = outputPath + fileName + "/pdf/page1" + ".pdf"; removeFile( outputFileName ); pdfRenderOptions.setOutputFileName( outputFileName ); task = engine.createRenderTask( reportDoc ); task.setLocale( Locale.ENGLISH ); task.setAppContext( appContext ); task.setRenderOption( pdfRenderOptions ); task.setPageNumber( 1 ); task.render( ); task.close( ); File pdfFile = new File( outputFileName ); assertTrue( "Render " + fileName + " to pdf failed. ", pdfFile.exists( ) ); assertTrue( "Render " + fileName + " to pdf failed. ", pdfFile.length( ) != 0 ); } else { /* set page range and then render according to range */ // render html output outputFileName = outputPath + fileName + "/html/page" + pageRange + ".html"; removeFile( outputFileName ); htmlRenderOptions.setOutputFileName( outputFileName ); task = engine.createRenderTask( reportDoc ); task.setLocale( Locale.ENGLISH ); task.setAppContext( appContext ); task.setRenderOption( htmlRenderOptions ); task.setPageRange( pageRange ); task.render( ); task.close( ); File htmlFile = new File( outputFileName ); if ( pageRange != null && ( pageRange.equals( "0" ) || pageRange .equals( "abc" ) ) ) { assertFalse( htmlFile.exists( ) ); } else { assertTrue( "Render " + fileName + " to html failed. " + pageRange, htmlFile.exists( ) ); assertTrue( "Render " + fileName + " to html failed. " + pageRange, htmlFile.length( ) != 0 ); } // render pdf output outputFileName = outputPath + fileName + "/pdf/page" + pageRange + ".pdf"; removeFile( outputFileName ); pdfRenderOptions.setOutputFileName( outputFileName ); task = engine.createRenderTask( reportDoc ); task.setLocale( Locale.ENGLISH ); task.setAppContext( new HashMap( ) ); task.setRenderOption( pdfRenderOptions ); task.setPageRange( pageRange ); task.render( ); task.close( ); File pdfFile = new File( outputFileName ); if ( pageRange != null && ( pageRange.equals( "0" ) || pageRange .equals( "abc" ) ) ) { assertFalse( pdfFile.exists( ) ); } else { assertTrue( "Render " + fileName + " to pdf failed. " + pageRange, pdfFile.exists( ) ); assertTrue( "Render " + fileName + " to pdf failed. " + pageRange, pdfFile.length( ) != 0 ); } } } else { String bookmark = pageRange.substring( 9 ); // render html output outputFileName = outputPath + fileName + "/html/bookmark_" + bookmark + ".html"; removeFile( outputFileName ); htmlRenderOptions.setOutputFileName( outputFileName ); task = engine.createRenderTask( reportDoc ); task.setLocale( Locale.ENGLISH ); task.setAppContext( appContext ); task.setBookmark( bookmark ); task.setRenderOption( htmlRenderOptions ); task.render( ); task.close( ); File htmlFile = new File( outputFileName ); assertTrue( "Render " + fileName + " to html failed. " + pageRange, htmlFile.exists( ) ); assertTrue( "Render " + fileName + " to html failed. " + pageRange, htmlFile.length( ) != 0 ); // render pdf output outputFileName = outputPath + fileName + "/pdf/bookmark_" + bookmark + ".pdf"; removeFile( outputFileName ); pdfRenderOptions.setOutputFileName( outputFileName ); task = engine.createRenderTask( reportDoc ); task.setLocale( Locale.ENGLISH ); task.setAppContext( appContext ); task.setBookmark( bookmark ); task.setRenderOption( pdfRenderOptions ); task.render( ); task.close( ); File pdfFile = new File( outputFileName ); assertTrue( "Render " + fileName + " to pdf failed. " + pageRange, pdfFile.exists( ) ); assertTrue( "Render " + fileName + " to pdf failed. " + pageRange, pdfFile.length( ) != 0 ); } task.close( ); } catch ( Exception e ) { e.printStackTrace( ); assertTrue( "Render " + fileName + " failed. " + e.getLocalizedMessage( ), false ); } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/3d7502d5c8108135c6c10a5dd6deaab12120cb14/RenderTaskTest.java/buggy/testsuites/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/RenderTaskTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1743, 4820, 12, 514, 3968, 16, 514, 1363, 2655, 262, 202, 95, 202, 202, 6006, 67, 16934, 273, 810, 743, 397, 3968, 397, 3552, 86, 337, 16934, 14432, 202, 202, 6006, 67, 5457, 273, 19566, 397, 3968, 397, 4192, 6006, 5457, 14432, 202, 202, 45, 3420, 2174, 1562, 31, 202, 202, 759, 752, 6402, 358, 443, 1724, 876, 1390, 202, 202, 2640, 1621, 12, 3968, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 2640, 4820, 2519, 12, 2605, 67, 16934, 16, 2605, 67, 5457, 11272, 1082, 202, 759, 1696, 326, 1668, 316, 326, 5052, 18, 1082, 202, 6006, 1759, 273, 4073, 18, 3190, 4820, 2519, 12, 2605, 67, 5457, 11272, 1082, 202, 759, 1000, 467, 3420, 1895, 1082, 202, 45, 3420, 1895, 1729, 3420, 1320, 273, 394, 3982, 3420, 1895, 12, 11272, 1082, 202, 45, 3420, 1895, 8169, 3420, 1320, 273, 394, 3982, 3420, 1895, 12, 11272, 1082, 202, 4870, 3420, 1042, 28678, 273, 394, 3982, 3420, 1042, 12, 11272, 1082, 202, 5902, 1042, 18, 542, 2040, 2853, 12, 315, 2730, 6, 11272, 1082, 202, 8658, 595, 1042, 273, 394, 4317, 12, 11272, 1082, 202, 2910, 1042, 18, 458, 12, 10507, 2918, 18, 7215, 13181, 67, 4870, 67, 25230, 67, 13181, 16, 6862, 202, 5902, 1042, 11272, 1082, 202, 2620, 3420, 1320, 18, 542, 1447, 1630, 12, 315, 2620, 6, 11272, 1082, 202, 7699, 3420, 1320, 18, 542, 1447, 1630, 12, 315, 7699, 6, 11272, 1082, 202, 2620, 3420, 1320, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1743, 4820, 12, 514, 3968, 16, 514, 1363, 2655, 262, 202, 95, 202, 202, 6006, 67, 16934, 273, 810, 743, 397, 3968, 397, 3552, 86, 337, 16934, 14432, 202, 202, 6006, 67, 5457, 273, 19566, 397, 3968, 397, 4192, 6006, 5457, 14432, 202, 202, 45, 3420, 2174, 1562, 31, 202, 202, 759, 752, 6402, 358, 443, 1724, 876, 1390, 202, 202, 2640, 1621, 12, 3968, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 2640, 4820, 2519, 12, 2605, 67, 16934, 16, 2605, 67, 5457, 11272, 1082, 202, 759, 1696, 326, 1668, 316, 326, 5052, 18, 1082, 202, 6006, 1759, 273, 4073, 18, 3190, 4820, 2519, 12, 2605, 67, 5457, 11272, 1082, 202, 759, 1000, 2 ]
public CoordsScreen() { this.setTitle(""); //Radiobuttons for format TopP.addNext(chkDD =new mCheckBox("d.d"),CellConstants.DONTSTRETCH, CellConstants.WEST); TopP.addNext(chkDMM =new mCheckBox("dm.m\'"),CellConstants.DONTSTRETCH, CellConstants.WEST); TopP.addNext(chkDMS =new mCheckBox("dm\'s\""),CellConstants.DONTSTRETCH,CellConstants.WEST); TopP.addLast(chkUTM =new mCheckBox("UTM"),CellConstants.DONTSTRETCH, CellConstants.WEST); chkDD.setGroup(chkFormat); chkDMM.setGroup(chkFormat); chkDMS.setGroup(chkFormat); chkUTM.setGroup(chkFormat); // Input for degrees TopP.addNext(chcNS = new mChoice(new String[]{"N", "S"},0),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); chcNS.setInt(0); TopP.addNext(inpNSDeg = new mInput(),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); TopP.addNext(inpNSm = new mInput(),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); TopP.addLast(inpNSs = new mInput(),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); TopP.addNext(chcEW = new mChoice(new String[]{"E", "W"},0),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); chcEW.setInt(0); TopP.addNext(inpEWDeg = new mInput(),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); TopP.addNext(inpEWm = new mInput(),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); TopP.addLast(inpEWs = new mInput(),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); //Input for UTM TopP.addNext(new mLabel((String)lr.get(1400,"Zone")),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); TopP.addNext(new mLabel((String)lr.get(1402,"Easting")),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); TopP.addLast(new mLabel((String)lr.get(1401,"Northing")),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); TopP.addNext(inpUTMZone = new mInput(),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); TopP.addNext(inpUTMEasting = new mInput(),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); TopP.addLast(inpUTMNorthing = new mInput(),CellConstants.DONTSTRETCH, (CellConstants.DONTFILL|CellConstants.WEST)); // Buttons for cancel and apply TopP.addNext(btnCancel = new mButton((String)lr.get(614,"Cancel")),CellConstants.HSTRETCH, (CellConstants.HFILL)); btnCancel.setTag(SPAN,new Dimension(2,1)); TopP.addLast(btnApply = new mButton((String)lr.get(615,"Apply")),CellConstants.HSTRETCH, (CellConstants.HFILL)); btnApply.setTag(SPAN,new Dimension(2,1)); //add Panels this.addLast(TopP,CellConstants.DONTSTRETCH, CellConstants.WEST).setTag(SPAN,new Dimension(4,1));// this.addLast(BottomP,CellConstants.VSTRETCH, CellConstants.VFILL|CellConstants.WEST).setTag(SPAN,new Dimension(4,1)); }
51026 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51026/5e565682d12384b1a1aec7b57ee6de597d797436/CoordsScreen.java/buggy/src/CacheWolf/CoordsScreen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10320, 87, 7956, 1435, 202, 95, 202, 202, 2211, 18, 542, 4247, 2932, 8863, 202, 202, 759, 6621, 77, 947, 2644, 87, 364, 740, 202, 202, 3401, 52, 18, 1289, 2134, 12, 27038, 5698, 273, 2704, 312, 19174, 2932, 72, 18, 72, 6, 3631, 4020, 2918, 18, 40, 10079, 882, 10238, 1792, 16, 8614, 2918, 18, 31285, 1769, 202, 202, 3401, 52, 18, 1289, 2134, 12, 27038, 40, 8206, 273, 2704, 312, 19174, 2932, 10956, 18, 81, 3730, 6, 3631, 4020, 2918, 18, 40, 10079, 882, 10238, 1792, 16, 8614, 2918, 18, 31285, 1769, 202, 202, 3401, 52, 18, 1289, 2134, 12, 27038, 40, 3537, 273, 2704, 312, 19174, 2932, 10956, 3730, 87, 8530, 3631, 4020, 2918, 18, 40, 10079, 882, 10238, 1792, 16, 4020, 2918, 18, 31285, 1769, 202, 202, 3401, 52, 18, 1289, 3024, 12, 27038, 1693, 49, 273, 2704, 312, 19174, 2932, 1693, 49, 6, 3631, 4020, 2918, 18, 40, 10079, 882, 10238, 1792, 16, 8614, 2918, 18, 31285, 1769, 202, 202, 27038, 5698, 18, 542, 1114, 12, 27038, 1630, 1769, 202, 202, 27038, 40, 8206, 18, 542, 1114, 12, 27038, 1630, 1769, 202, 202, 27038, 40, 3537, 18, 542, 1114, 12, 27038, 1630, 1769, 202, 202, 27038, 1693, 49, 18, 542, 1114, 12, 27038, 1630, 1769, 202, 202, 759, 2741, 364, 10904, 202, 202, 3401, 52, 18, 1289, 2134, 12, 343, 71, 3156, 273, 394, 312, 10538, 12, 2704, 514, 63, 7073, 6, 50, 3113, 315, 55, 6, 5779, 20, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10320, 87, 7956, 1435, 202, 95, 202, 202, 2211, 18, 542, 4247, 2932, 8863, 202, 202, 759, 6621, 77, 947, 2644, 87, 364, 740, 202, 202, 3401, 52, 18, 1289, 2134, 12, 27038, 5698, 273, 2704, 312, 19174, 2932, 72, 18, 72, 6, 3631, 4020, 2918, 18, 40, 10079, 882, 10238, 1792, 16, 8614, 2918, 18, 31285, 1769, 202, 202, 3401, 52, 18, 1289, 2134, 12, 27038, 40, 8206, 273, 2704, 312, 19174, 2932, 10956, 18, 81, 3730, 6, 3631, 4020, 2918, 18, 40, 10079, 882, 10238, 1792, 16, 8614, 2918, 18, 31285, 1769, 202, 202, 3401, 52, 18, 1289, 2134, 12, 27038, 40, 3537, 273, 2704, 312, 19174, 2932, 10956, 3730, 87, 8530, 3631, 4020, 2 ]
setModified(true);
public void setHidden(boolean hidden) { if (hidden != _hidden) { _hidden = hidden; setModified(true); } }
53908 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53908/f4d6afc6707f57fd84bf6b624f0c119657b0a766/LayoutModel.java/buggy/portal-ejb/src/com/liferay/portal/model/LayoutModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 9345, 12, 6494, 5949, 13, 288, 202, 202, 430, 261, 6345, 480, 389, 6345, 13, 288, 1082, 202, 67, 6345, 273, 5949, 31, 1082, 202, 542, 4575, 12, 3767, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fsu.freeSpaceUnix("", true);
fsu.freeSpaceUnix("", true, false);
public void testGetFreeSpaceUnix_String_EmptyPath() throws Exception { String lines = "Filesystem 1K-blocks Used Available Use% Mounted on\n" + "xxx:/home/users/s 14428928 12956424 1472504 90% /home/users/s"; final StringReader reader = new StringReader(lines); FileSystemUtils fsu = new FileSystemUtils() { protected BufferedReader openProcessStream(String[] params) { return new BufferedReader(reader); } }; try { fsu.freeSpaceUnix("", false); fail(); } catch (IllegalArgumentException ex) {} try { fsu.freeSpaceUnix("", true); fail(); } catch (IllegalArgumentException ex) {} }
56629 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56629/51c00809c94448efe21ee516bd1adcd0f73d7e0d/FileSystemUtilsTestCase.java/buggy/src/test/org/apache/commons/io/FileSystemUtilsTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 9194, 3819, 18729, 67, 780, 67, 1921, 743, 1435, 1216, 1185, 288, 3639, 514, 2362, 273, 5411, 315, 12861, 6647, 404, 47, 17, 7996, 1377, 10286, 15633, 2672, 9, 13076, 329, 603, 64, 82, 6, 397, 5411, 315, 18310, 27824, 8712, 19, 5577, 19, 87, 377, 30457, 6030, 29, 6030, 225, 2593, 8778, 1105, 3247, 282, 5045, 27, 2947, 3028, 225, 8566, 9, 342, 8712, 19, 5577, 19, 87, 14432, 3639, 727, 26227, 2949, 273, 394, 26227, 12, 3548, 1769, 3639, 10931, 1989, 2662, 89, 273, 394, 10931, 1989, 1435, 288, 5411, 4750, 10633, 1696, 2227, 1228, 12, 780, 8526, 859, 13, 288, 7734, 327, 394, 10633, 12, 10530, 1769, 5411, 289, 3639, 289, 31, 3639, 775, 288, 5411, 2662, 89, 18, 9156, 3819, 18729, 2932, 3113, 629, 1769, 5411, 2321, 5621, 3639, 289, 1044, 261, 31237, 431, 13, 2618, 3639, 775, 288, 5411, 2662, 89, 18, 9156, 3819, 18729, 2932, 3113, 638, 16, 629, 1769, 5411, 2321, 5621, 3639, 289, 1044, 261, 31237, 431, 13, 2618, 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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 315, 12861, 6647, 404, 47, 17, 7996, 1377, 10286, 15633, 2672, 9, 13076, 329, 603, 64, 82, 6, 397, 5411, 315, 18310, 27824, 8712, 19, 5577, 19, 87, 377, 30457, 6030, 29, 6030, 225, 2593, 8778, 1105, 3247, 282, 5045, 27, 2947, 3028, 225, 8566, 9, 342, 8712, 19, 5577, 19, 87, 14432, 3639, 727, 26227, 2949, 273, 394, 26227, 12, 3548, 1769, 3639, 10931, 1989, 2662, 89, 273, 394, 10931, 1989, 1435, 288, 5411, 4750, 10633, 1696, 2227, 1228, 12, 780, 8526, 859, 13, 288, 7734, 327, 394, 10633, 12, 10530, 1769, 5411, 289, 3639, 289, 2 ]
execution:
public void run() { execution: try { if ( init() ) { while ( true ) { if (flag == PLAY) { if ( !advance() ) break ; } else if (flag == STOP) { break execution ; } } } System.out.println( "InstanceInterpreter finished" ); if ( instance.instanceInObject.getRunningInterpretersRefcount().put() ) { /** * If this is the last running interpreter, then delete the * object from the global object pool (analogous to a delete * object action for passive objects) */ context.delObject( instance.instanceInObject ); } } catch ( LemRuntimeException e ) { e.printStackTrace(); } }
10434 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10434/39ab92ea0c203bed1e1e6320565716077c31eac3/InstanceInterpreter.java/buggy/trunk/src/runtime/InstanceInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 9079, 775, 288, 5411, 309, 261, 1208, 1435, 262, 288, 7734, 1323, 261, 638, 262, 288, 10792, 309, 261, 6420, 422, 453, 7868, 13, 288, 13491, 309, 261, 401, 361, 5882, 1435, 262, 18701, 898, 274, 10792, 289, 469, 309, 261, 6420, 422, 17815, 13, 288, 13491, 898, 4588, 274, 5397, 289, 7734, 289, 5411, 289, 5411, 2332, 18, 659, 18, 8222, 12, 315, 1442, 30010, 6708, 6, 11272, 5411, 309, 261, 791, 18, 1336, 382, 921, 18, 588, 7051, 2465, 1484, 5432, 1957, 1883, 7675, 458, 1435, 262, 288, 7734, 1783, 1171, 380, 971, 333, 353, 326, 1142, 3549, 16048, 16, 1508, 1430, 326, 1171, 380, 733, 628, 326, 2552, 733, 2845, 261, 304, 6238, 1481, 358, 279, 1430, 1171, 380, 733, 1301, 364, 23697, 2184, 13, 1171, 1195, 7734, 819, 18, 3771, 921, 12, 791, 18, 1336, 382, 921, 11272, 5411, 289, 3639, 289, 1044, 261, 511, 351, 11949, 425, 262, 288, 5411, 425, 18, 1188, 6332, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 9079, 775, 288, 5411, 309, 261, 1208, 1435, 262, 288, 7734, 1323, 261, 638, 262, 288, 10792, 309, 261, 6420, 422, 453, 7868, 13, 288, 13491, 309, 261, 401, 361, 5882, 1435, 262, 18701, 898, 274, 10792, 289, 469, 309, 261, 6420, 422, 17815, 13, 288, 13491, 898, 4588, 274, 5397, 289, 7734, 289, 5411, 289, 5411, 2332, 18, 659, 18, 8222, 12, 315, 1442, 30010, 6708, 6, 11272, 5411, 309, 261, 791, 18, 1336, 382, 921, 18, 588, 7051, 2465, 1484, 5432, 1957, 1883, 7675, 458, 1435, 262, 288, 7734, 1783, 1171, 380, 971, 333, 353, 326, 1142, 3549, 16048, 16, 1508, 1430, 326, 1171, 380, 733, 628, 326, 2552, 733, 2845, 2 ]
public boolean validateDrop(Object targetObject, int operation, TransferData transferType) { Object selectedObject = ((IStructuredSelection) ((TreeViewer) getViewer()) .getSelection()).getFirstElement(); if (selectedObject instanceof ITask) { if (getCurrentTarget() != null && getCurrentTarget() instanceof TaskCategory) { return true; } else { return false; } } // XXX refactored// else if (selectedObject instanceof BugzillaHit) {// if (getCurrentTarget() != null && getCurrentTarget() instanceof TaskCategory) {// return true;// } else {// return false;// }// } return TextTransfer.getInstance().isSupportedType(transferType); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/4cebf62c44ec668cabf38d7cc3801d3358ac2e56/TaskListView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1954, 7544, 12, 921, 1018, 921, 16, 509, 1674, 16, 565, 12279, 751, 7412, 559, 13, 288, 921, 3170, 921, 273, 14015, 45, 30733, 6233, 13, 14015, 2471, 18415, 13, 8893, 264, 1435, 2934, 588, 6233, 1435, 2934, 588, 3759, 1046, 5621, 430, 261, 8109, 921, 1276, 467, 2174, 13, 288, 565, 309, 261, 588, 3935, 2326, 1435, 480, 446, 597, 225, 5175, 2326, 1435, 1276, 3837, 4457, 13, 288, 377, 202, 2463, 638, 31, 565, 289, 469, 288, 377, 202, 2463, 629, 31, 565, 10523, 368, 11329, 283, 3493, 7653, 759, 12107, 309, 261, 8109, 921, 1276, 16907, 15990, 13616, 13, 288, 759, 202, 430, 261, 588, 3935, 2326, 1435, 480, 446, 597, 225, 5175, 2326, 1435, 1276, 3837, 4457, 13, 288, 759, 202, 202, 2463, 638, 31, 759, 202, 97, 469, 288, 759, 202, 202, 2463, 629, 31, 759, 202, 97, 759, 97, 4202, 327, 3867, 5912, 18, 588, 1442, 7675, 291, 7223, 559, 12, 13866, 559, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1954, 7544, 12, 921, 1018, 921, 16, 509, 1674, 16, 565, 12279, 751, 7412, 559, 13, 288, 921, 3170, 921, 273, 14015, 45, 30733, 6233, 13, 14015, 2471, 18415, 13, 8893, 264, 1435, 2934, 588, 6233, 1435, 2934, 588, 3759, 1046, 5621, 430, 261, 8109, 921, 1276, 467, 2174, 13, 288, 565, 309, 261, 588, 3935, 2326, 1435, 480, 446, 597, 225, 5175, 2326, 1435, 1276, 3837, 4457, 13, 288, 377, 202, 2463, 638, 31, 565, 289, 469, 288, 377, 202, 2463, 629, 31, 565, 10523, 368, 11329, 283, 3493, 7653, 759, 12107, 309, 261, 8109, 921, 1276, 16907, 15990, 13616, 13, 288, 759, 202, 430, 261, 588, 3935, 2326, 1435, 480, 446, 597, 225, 5175, 2 ]
public List getTrackerHits() { return hits; }
public List getTrackerHits() { return hits == null ? Collections.EMPTY_LIST : hits; }
public List getTrackerHits() { return hits; }
1507 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1507/3e93afd01bea947bd43bb8af930a9bc66c60f1b4/ITrack.java/buggy/src/java/hep/lcio/implementation/event/ITrack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 987, 336, 8135, 20950, 1435, 288, 202, 202, 2463, 11076, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 987, 336, 8135, 20950, 1435, 288, 202, 202, 2463, 11076, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register.ECX, cnt); cnt.loadTo(eContext, X86Register.ECX);
if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); L1AHelper.requestRegister(eContext, ECX, cnt); cnt.loadTo(eContext, ECX);
public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register.ECX, cnt); cnt.loadTo(eContext, X86Register.ECX); } // Load val val.load(eContext); if (os.isCode32()) { final X86Register.GPR lsb = val.getLsbRegister(eContext); final X86Register.GPR msb = val.getMsbRegister(eContext); final Label curInstrLabel = getCurInstrLabel(); // Calculate os.writeAND(X86Register.ECX, 63); os.writeCMP_Const(X86Register.ECX, 32); final Label gt32Label = new Label(curInstrLabel + "gt32"); final Label endLabel = new Label(curInstrLabel + "end"); os.writeJCC(gt32Label, X86Constants.JAE); // JAE /** ECX < 32 */ os.writeSHRD_CL(lsb, msb); os.writeSAR_CL(msb); os.writeJMP(endLabel); /** ECX >= 32 */ os.setObjectRef(gt32Label); os.writeMOV(INTSIZE, lsb, msb); os.writeSAR(msb, 31); os.writeSAR_CL(lsb); os.setObjectRef(endLabel); } else { final GPR64 valr = val.getRegister(eContext); os.writeSAR_CL(valr); } vstack.push(val); // Release cnt.release(eContext); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3757, 67, 80, 674, 86, 1435, 288, 202, 202, 6385, 3094, 1180, 7599, 273, 19510, 18, 5120, 1702, 5621, 202, 202, 6385, 3407, 1180, 1244, 273, 19510, 18, 5120, 3708, 5621, 759, 202, 202, 6385, 1139, 5292, 3996, 2864, 2845, 273, 425, 1042, 18, 588, 43, 8025, 2864, 5621, 202, 202, 759, 968, 7599, 1368, 7773, 60, 202, 202, 430, 16051, 13085, 18, 6117, 12, 60, 5292, 3996, 18, 7228, 60, 3719, 288, 1082, 202, 1125, 18, 1752, 737, 2047, 7736, 12, 73, 1042, 16, 1139, 5292, 3996, 18, 7228, 60, 1769, 1082, 202, 48, 21, 37, 2276, 18, 2293, 3996, 12, 73, 1042, 16, 1139, 5292, 3996, 18, 7228, 60, 16, 7599, 1769, 1082, 202, 13085, 18, 945, 774, 12, 73, 1042, 16, 1139, 5292, 3996, 18, 7228, 60, 1769, 202, 202, 97, 202, 202, 759, 4444, 1244, 202, 202, 1125, 18, 945, 12, 73, 1042, 1769, 202, 202, 430, 261, 538, 18, 291, 1085, 1578, 10756, 288, 1082, 202, 6385, 1139, 5292, 3996, 18, 43, 8025, 7180, 70, 273, 1244, 18, 588, 48, 18366, 3996, 12, 73, 1042, 1769, 1082, 202, 6385, 1139, 5292, 3996, 18, 43, 8025, 4086, 70, 273, 1244, 18, 588, 6947, 70, 3996, 12, 73, 1042, 1769, 5411, 727, 5287, 662, 382, 701, 2224, 273, 14135, 382, 701, 2224, 5621, 1082, 202, 759, 9029, 1082, 202, 538, 18, 2626, 4307, 12, 60, 5292, 3996, 18, 7228, 60, 16, 13746, 1769, 1082, 202, 538, 18, 2626, 39, 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, 3757, 67, 80, 674, 86, 1435, 288, 202, 202, 6385, 3094, 1180, 7599, 273, 19510, 18, 5120, 1702, 5621, 202, 202, 6385, 3407, 1180, 1244, 273, 19510, 18, 5120, 3708, 5621, 759, 202, 202, 6385, 1139, 5292, 3996, 2864, 2845, 273, 425, 1042, 18, 588, 43, 8025, 2864, 5621, 202, 202, 759, 968, 7599, 1368, 7773, 60, 202, 202, 430, 16051, 13085, 18, 6117, 12, 60, 5292, 3996, 18, 7228, 60, 3719, 288, 1082, 202, 1125, 18, 1752, 737, 2047, 7736, 12, 73, 1042, 16, 1139, 5292, 3996, 18, 7228, 60, 1769, 1082, 202, 48, 21, 37, 2276, 18, 2293, 3996, 12, 73, 1042, 16, 1139, 5292, 3996, 18, 7228, 60, 16, 7599, 1769, 2 ]