rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
sequencelengths
256
256
attention_mask
sequencelengths
256
256
labels
sequencelengths
128
128
pathBeyondViewID = pathInfo.substring(viewParameters.viewID.length());
pathBeyondViewID = pathInfo.substring(viewParameters.viewID.length() + 1);
public boolean handle() { String viewID = viewParameters.viewID; Logger.log.info("Handling view: " + viewID); String pathBeyondViewID = "" ; if (pathInfo.length() > viewID.length() + 1) { pathBeyondViewID = pathInfo.substring(viewParameters.viewID.length()); } if (Logger.log.isInfoEnabled()) { Logger.log.info("pathInfo: " + pathInfo + " pathBeyondViewID: " + pathBeyondViewID); } if (pathBeyondViewID.startsWith(HELPER_FINISHED_PATH)) { return handleHelperDone(); } if (pathBeyondViewID.startsWith(IN_HELPER_PATH)) { return handleHelperHelper(pathBeyondViewID); } return handleHelperStart(); }
46221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46221/c6fc8892a1bb06055d80a4b0669dbe7ee324e5bb/HelperHandlerHookBean.java/buggy/src/java/uk/ac/cam/caret/sakai/rsf/helper/HelperHandlerHookBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1640, 1435, 288, 202, 202, 780, 1476, 734, 273, 1476, 2402, 18, 1945, 734, 31, 202, 202, 3328, 18, 1330, 18, 1376, 2932, 14701, 1476, 30, 315, 397, 1476, 734, 1769, 9506, 202, 780, 589, 38, 17029, 1767, 734, 273, 1408, 274, 202, 202, 430, 261, 803, 966, 18, 2469, 1435, 405, 1476, 734, 18, 2469, 1435, 397, 404, 13, 288, 1082, 202, 803, 38, 17029, 1767, 734, 273, 17058, 18, 28023, 12, 1945, 2402, 18, 1945, 734, 18, 2469, 10663, 202, 202, 97, 202, 202, 430, 261, 3328, 18, 1330, 18, 291, 966, 1526, 10756, 288, 1082, 202, 3328, 18, 1330, 18, 1376, 2932, 803, 966, 30, 315, 397, 17058, 397, 315, 589, 38, 17029, 1767, 734, 30, 315, 397, 589, 38, 17029, 1767, 734, 1769, 202, 202, 97, 202, 202, 430, 261, 803, 38, 17029, 1767, 734, 18, 17514, 1190, 12, 20264, 3194, 67, 23259, 2056, 67, 4211, 3719, 288, 1082, 202, 2463, 1640, 2276, 7387, 5621, 202, 202, 97, 9506, 202, 430, 261, 803, 38, 17029, 1767, 734, 18, 17514, 1190, 12, 706, 67, 20264, 3194, 67, 4211, 3719, 288, 1082, 202, 2463, 1640, 2276, 2276, 12, 803, 38, 17029, 1767, 734, 1769, 202, 202, 97, 9506, 202, 2463, 1640, 2276, 1685, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1640, 1435, 288, 202, 202, 780, 1476, 734, 273, 1476, 2402, 18, 1945, 734, 31, 202, 202, 3328, 18, 1330, 18, 1376, 2932, 14701, 1476, 30, 315, 397, 1476, 734, 1769, 9506, 202, 780, 589, 38, 17029, 1767, 734, 273, 1408, 274, 202, 202, 430, 261, 803, 966, 18, 2469, 1435, 405, 1476, 734, 18, 2469, 1435, 397, 404, 13, 288, 1082, 202, 803, 38, 17029, 1767, 734, 273, 17058, 18, 28023, 12, 1945, 2402, 18, 1945, 734, 18, 2469, 10663, 202, 202, 97, 202, 202, 430, 261, 3328, 18, 1330, 18, 291, 966, 1526, 10756, 288, 1082, 202, 3328, 18, 1330, 18, 1376, 2932, 803, 966, 30, 315, 397, 17058, 397, 315, 589, 38, 2 ]
assert decl != null;
assert declarationStatement != null;
private static String createCollectionIterationText( @NotNull PsiForStatement forStatement) throws IncorrectOperationException{ final String text = forStatement.getText(); final int length = text.length(); @NonNls final StringBuffer out = new StringBuffer(length); final PsiStatement body = forStatement.getBody(); final PsiStatement firstStatement = getFirstStatement(body); final PsiStatement initialization = forStatement.getInitialization(); final PsiDeclarationStatement declaration = (PsiDeclarationStatement) initialization; if (declaration == null) { return null; } final PsiLocalVariable iterator = (PsiLocalVariable) declaration.getDeclaredElements()[0]; final PsiClassType iteratorType = (PsiClassType) iterator.getType(); final PsiType[] iteratorTypeParameters = iteratorType .getParameters(); PsiType iteratedContentsType = null; if(iteratorTypeParameters.length == 1){ final PsiType parameterType = iteratorTypeParameters[0]; if(parameterType instanceof PsiWildcardType){ final PsiWildcardType wildcardType = (PsiWildcardType) parameterType; iteratedContentsType = wildcardType.getExtendsBound(); } else{ iteratedContentsType = parameterType; } } final PsiMethodCallExpression initializer = (PsiMethodCallExpression) iterator.getInitializer(); if (initializer == null) { return null; } final PsiReferenceExpression methodExpression = initializer.getMethodExpression(); final PsiExpression collection = methodExpression.getQualifierExpression(); if (collection == null) { return null; } final PsiClassType collectionType = (PsiClassType) collection.getType(); if (collectionType == null) { return null; } final PsiType[] parameters = collectionType.getParameters(); final String collectionContentsTypeString; if(parameters.length == 1){ final PsiType parameterType = parameters[0]; if(parameterType instanceof PsiWildcardType){ final PsiWildcardType wildcardType = (PsiWildcardType) parameterType; final PsiType bound = wildcardType.getExtendsBound(); collectionContentsTypeString = bound.getCanonicalText(); } else if(parameterType != null){ collectionContentsTypeString = parameterType .getCanonicalText(); } else{ collectionContentsTypeString = "java.lang.Object"; } } else{ collectionContentsTypeString = "java.lang.Object"; } final String contentTypeString; if(iteratedContentsType != null){ contentTypeString = iteratedContentsType.getCanonicalText(); } else{ contentTypeString = collectionContentsTypeString; } final PsiManager psiManager = forStatement.getManager(); final PsiElementFactory elementFactory = psiManager.getElementFactory(); final PsiType contentType = elementFactory.createTypeFromText(contentTypeString, forStatement); final String iteratorName = iterator.getName(); final boolean isDeclaration = isIteratorNextDeclaration(firstStatement, iteratorName, contentTypeString); final PsiStatement statementToSkip; @NonNls final String finalString; final String contentVariableName; if(isDeclaration){ final PsiDeclarationStatement decl = (PsiDeclarationStatement) firstStatement; assert decl != null; final PsiElement[] declaredElements = decl.getDeclaredElements(); final PsiLocalVariable localVar = (PsiLocalVariable) declaredElements[0]; contentVariableName = localVar.getName(); statementToSkip = decl; if(localVar.hasModifierProperty(PsiModifier.FINAL)){ finalString = "final "; } else{ finalString = ""; } } else{ if(collection instanceof PsiReferenceExpression){ final PsiReferenceExpression referenceExpression = (PsiReferenceExpression)collection; final String collectionName = referenceExpression.getReferenceName(); contentVariableName = createNewVarName(forStatement, contentType, collectionName); } else{ contentVariableName = createNewVarName(forStatement, contentType, null); } final Project project = forStatement.getProject(); final CodeStyleSettings codeStyleSettings = CodeStyleSettingsManager.getSettings(project); if(codeStyleSettings.GENERATE_FINAL_LOCALS){ finalString = "final "; } else{ finalString = ""; } statementToSkip = null; } @NonNls final String iterableTypeString = "java.lang.Iterable<" + contentTypeString + '>'; final PsiManager manager = forStatement.getManager(); final PsiElementFactory factory = manager.getElementFactory(); final PsiType collectionContentsType = factory .createTypeFromText(collectionContentsTypeString, forStatement); final String castString; if(iteratedContentsType == null || iteratedContentsType .isAssignableFrom(collectionContentsType)){ castString = ""; } else{ castString = '(' + iterableTypeString + ')'; } out.append("for("); out.append(finalString); out.append(contentTypeString); out.append(' '); out.append(contentVariableName); out.append(": "); out.append(castString); out.append(collection.getText()); out.append(')'); replaceIteratorNext(body, contentVariableName, iteratorName, statementToSkip, out, contentTypeString); return out.toString(); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/9c59a0ba1e8fc5685a99bd20714c4dfa226d5c4c/ForCanBeForeachInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/jdk15/ForCanBeForeachInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 760, 514, 752, 2532, 10795, 1528, 12, 7734, 632, 5962, 453, 7722, 1290, 3406, 364, 3406, 13, 7734, 1216, 657, 6746, 10602, 95, 5411, 727, 514, 977, 273, 364, 3406, 18, 588, 1528, 5621, 5411, 727, 509, 769, 273, 977, 18, 2469, 5621, 5411, 632, 3989, 50, 3251, 727, 6674, 596, 273, 394, 6674, 12, 2469, 1769, 5411, 727, 453, 7722, 3406, 1417, 273, 364, 3406, 18, 588, 2250, 5621, 5411, 727, 453, 7722, 3406, 1122, 3406, 273, 7521, 3406, 12, 3432, 1769, 5411, 727, 453, 7722, 3406, 10313, 273, 10792, 364, 3406, 18, 588, 17701, 5621, 5411, 727, 453, 7722, 6094, 3406, 8266, 273, 10792, 261, 52, 7722, 6094, 3406, 13, 10313, 31, 5411, 309, 261, 22448, 422, 446, 13, 288, 7734, 327, 446, 31, 5411, 289, 5411, 727, 453, 7722, 2042, 3092, 2775, 273, 10792, 261, 52, 7722, 2042, 3092, 13, 8266, 18, 588, 18888, 3471, 1435, 63, 20, 15533, 5411, 727, 453, 7722, 18328, 2775, 559, 273, 261, 52, 7722, 18328, 13, 2775, 18, 588, 559, 5621, 5411, 727, 453, 7722, 559, 8526, 2775, 559, 2402, 273, 2775, 559, 10792, 263, 588, 2402, 5621, 5411, 453, 7722, 559, 29873, 6323, 559, 273, 446, 31, 5411, 309, 12, 9838, 559, 2402, 18, 2469, 422, 404, 15329, 7734, 727, 453, 7722, 559, 28240, 273, 2775, 559, 2402, 63, 20, 15533, 7734, 309, 12, 6775, 559, 1276, 453, 7722, 12121, 559, 15329, 10792, 727, 453, 7722, 12121, 559, 8531, 559, 273, 18701, 261, 52, 7722, 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, 3238, 760, 514, 752, 2532, 10795, 1528, 12, 7734, 632, 5962, 453, 7722, 1290, 3406, 364, 3406, 13, 7734, 1216, 657, 6746, 10602, 95, 5411, 727, 514, 977, 273, 364, 3406, 18, 588, 1528, 5621, 5411, 727, 509, 769, 273, 977, 18, 2469, 5621, 5411, 632, 3989, 50, 3251, 727, 6674, 596, 273, 394, 6674, 12, 2469, 1769, 5411, 727, 453, 7722, 3406, 1417, 273, 364, 3406, 18, 588, 2250, 5621, 5411, 727, 453, 7722, 3406, 1122, 3406, 273, 7521, 3406, 12, 3432, 1769, 5411, 727, 453, 7722, 3406, 10313, 273, 10792, 364, 3406, 18, 588, 17701, 5621, 5411, 727, 453, 7722, 6094, 3406, 8266, 273, 10792, 261, 52, 7722, 6094, 3406, 13, 10313, 31, 5411, 309, 261, 2 ]
String status = null;
public boolean readRichSequence(BufferedReader reader, SymbolTokenization symParser, RichSeqIOListener rlistener, Namespace ns) throws IllegalSymbolException, IOException, ParseException { String line; boolean hasAnotherSequence = true; //boolean hasInternalWhitespace = false; rlistener.startSequence(); if (ns==null) ns=RichObjectFactory.getDefaultNamespace(); rlistener.setNamespace(ns); // Get an ordered list of key->value pairs in array-tuples String sectionKey = null; NCBITaxon tax = null; String organism = null; String accession = null; int xrefCount = 0; do { List section = this.readSection(reader); sectionKey = ((String[])section.get(0))[0]; if(sectionKey == null){ throw new ParseException("Section key was null. Accession:"+ accession == null ? "Not set" : accession); } // process section-by-section if (sectionKey.equals(LOCUS_TAG)) { // entryname dataclass; moltype; sequencelength AA. String loc = ((String[])section.get(0))[1]; Matcher m = lp.matcher(loc); if (m.matches()) { rlistener.setName(m.group(2)); rlistener.setDivision(m.group(3)); rlistener.addSequenceProperty(Terms.getDataClassTerm(),m.group(4)); rlistener.addSequenceProperty(Terms.getMolTypeTerm(),m.group(5)); } else { throw new ParseException("Bad ID line found: "+loc); } } else if (sectionKey.equals(DEFINITION_TAG)) { String val = ((String[])section.get(0))[1]; if (val.endsWith(".")) val = val.substring(0, val.length()-1); // chomp dot rlistener.setDescription(val); } else if (sectionKey.equals(SOURCE_TAG)) { // use SOURCE_TAG and TAXON_TAG values String sciname = null; String comname = null; List synonym = new ArrayList(); int taxid = 0; for (int i = 0; i < section.size(); i++) { String tag = ((String[])section.get(i))[0]; String value = ((String[])section.get(i))[1].trim(); if (tag.equals(SOURCE_TAG)) { if (value.endsWith(".")) value = value.substring(0,value.length()-1); // chomp trailing dot String[] parts = value.split("\\("); sciname = parts[0].trim(); if (parts.length>1) { comname = parts[1].trim(); if (comname.endsWith(")")) comname = comname.substring(0,comname.length()-1); // chomp trailing bracket if (parts.length>2) { // synonyms for (int j = 2 ; j < parts.length; j++) { String syn = parts[j].trim(); if (syn.endsWith(")")) syn = syn.substring(0,syn.length()-1); // chomp trailing bracket synonym.add(syn); } } } } else if (tag.equals(TAXON_TAG)) { String[] parts = value.split(";"); for (int j = 0; j < parts.length; j++) { String[] bits = parts[j].split("="); if (bits[0].equals("NCBI_TaxID")) { String[] morebits = bits[1].split(","); taxid = Integer.parseInt(morebits[0].trim()); } } } else if (tag.equals(ORGANELLE_TAG)) { if (value.endsWith(".")) value = value.substring(0,value.length()-1); // chomp trailing dot String[] parts = value.split(";"); for (int j = 0; j < parts.length; j++) { parts[j]=parts[j].trim(); rlistener.addSequenceProperty(Terms.getOrganelleTerm(),parts[j]); } } } // Set the Taxon tax = (NCBITaxon)RichObjectFactory.getObject(SimpleNCBITaxon.class, new Object[]{new Integer(taxid)}); rlistener.setTaxon(tax); try { if (sciname!=null) tax.addName(NCBITaxon.SCIENTIFIC,sciname); if (comname!=null) tax.addName(NCBITaxon.COMMON,comname); for (Iterator j = synonym.iterator(); j.hasNext(); ) tax.addName(NCBITaxon.SYNONYM, (String)j.next()); } catch (ChangeVetoException e) { throw new ParseException(e); } } else if (sectionKey.equals(DATE_TAG)) { String chunk = ((String[])section.get(0))[1]; Matcher dm = dp.matcher(chunk); if (dm.matches()) { String date = dm.group(1).trim(); String type = dm.group(2).trim(); String rel = dm.group(3); if (rel!=null) rel = rel.trim(); if (type.startsWith("integrated into UniProtKB")) { String dbname = type.split("/")[1]; rlistener.addSequenceProperty(Terms.getDateCreatedTerm(), date); rlistener.addSequenceProperty(Terms.getUniProtDBNameTerm(), dbname); } else if (type.equalsIgnoreCase("sequence version")) { if (rel==null) throw new ParseException("Version missing for "+type); rlistener.addSequenceProperty(Terms.getDateUpdatedTerm(), date); rlistener.addSequenceProperty(Terms.getRelUpdatedTerm(), rel); } else if (type.equalsIgnoreCase("entry version")) { if (rel==null) throw new ParseException("Version missing for "+type); rlistener.addSequenceProperty(Terms.getDateAnnotatedTerm(), date); rlistener.addSequenceProperty(Terms.getRelAnnotatedTerm(), rel); } else throw new ParseException("Bad date type found: "+type); } else throw new ParseException("Bad date line found: "+chunk); } else if (sectionKey.equals(ACCESSION_TAG)) { // if multiple accessions, store only first as accession, // and store rest in annotation String[] accs = ((String[])section.get(0))[1].split(";"); accession = accs[0].trim(); rlistener.setAccession(accession); for (int i = 1; i < accs.length; i++) { rlistener.addSequenceProperty(Terms.getAdditionalAccessionTerm(),accs[i].trim()); } } else if (sectionKey.equals(KEYWORDS_TAG)) { String val = ((String[])section.get(0))[1]; if (val.endsWith(".")) val = val.substring(0, val.length()-1); // chomp dot String[] kws = val.split(";"); for (int i = 0; i < kws.length; i++) { String kw = kws[i].trim(); if (kw.length()==0) continue; rlistener.addSequenceProperty(Terms.getKeywordTerm(), kw); } } else if (sectionKey.equals(GENE_TAG)) { String[] genes = ((String[])section.get(0))[1].split("\\s+(or|and)\\s+"); for (int geneID = 0; geneID < genes.length; geneID++) { String[] parts = genes[geneID].split(";"); for (int j = 0; j < parts.length; j++) { String[] moreparts = parts[j].split("="); String[] values = moreparts[1].split(","); // nasty hack - we really should have notes on the gene object itself... if such a thing existed... if (moreparts[0].trim().equals(Terms.GENENAME_KEY)) rlistener.addSequenceProperty(Terms.getGeneNameTerm(),geneID+":"+values[0].trim()); else if (moreparts[0].trim().equals(Terms.GENESYNONYM_KEY)) { for (int k = 0; k < values.length; k++) rlistener.addSequenceProperty(Terms.getGeneSynonymTerm(),geneID+":"+values[k].trim()); } else if (moreparts[0].trim().equals(Terms.ORDLOCNAME_KEY)) { for (int k = 0; k < values.length; k++) rlistener.addSequenceProperty(Terms.getOrderedLocusNameTerm(),geneID+":"+values[k].trim()); } else if (moreparts[0].trim().equals(Terms.ORFNAME_KEY)) { for (int k = 0; k < values.length; k++) rlistener.addSequenceProperty(Terms.getORFNameTerm(),geneID+":"+values[k].trim()); } } } } else if (sectionKey.equals(DATABASE_XREF_TAG)) { // database_identifier; primary_identifier; secondary_identifier.... String val = ((String[])section.get(0))[1]; if (val.endsWith(".")) val = val.substring(0, val.length()-1); // chomp dot String[] parts = val.split(";"); // construct a DBXREF out of the dbname part[0] and accession part[1] String dbname = parts[0].trim(); String acc = parts[1].trim(); CrossRef crossRef = (CrossRef)RichObjectFactory.getObject(SimpleCrossRef.class,new Object[]{dbname,acc,new Integer(0)}); // assign remaining bits of info as additional accession annotations for (int j = 2; j < parts.length; j++) { ComparableTerm t = (ComparableTerm)Terms.getAdditionalAccessionTerm(); Note note = new SimpleNote(t,parts[j].trim(),j); try { ((RichAnnotation)crossRef.getAnnotation()).addNote(note); } catch (ChangeVetoException ce) { ParseException pe = new ParseException("Could not annotate additional accession terms"); pe.initCause(ce); throw pe; } } RankedCrossRef rcrossRef = new SimpleRankedCrossRef(crossRef, ++xrefCount); rlistener.setRankedCrossRef(rcrossRef); } else if (sectionKey.equals(REFERENCE_TAG) && !this.getElideReferences()) { // first line of section has rank and location String refrank = ((String[])section.get(0))[1]; int ref_rank = Integer.parseInt(refrank.substring(1,refrank.length()-1)); // rest can be in any order String authors = null; String consortium = null; String title = null; String locator = null; String pubmed = null; String medline = null; String doi = null; String remark = null; Integer rstart = null; Integer rend = null; for (int i = 1; i < section.size(); i++) { String key = ((String[])section.get(i))[0]; String val = ((String[])section.get(i))[1]; //System.err.println(key+": "+val); if (key.equals(AUTHORS_TAG)) { if (val.endsWith(";")) val = val.trim().substring(0, val.length()-1); // chomp semicolon authors = val; } if (key.equals(CONSORTIUM_TAG)) { if (val.endsWith(";")) val = val.trim().substring(0, val.length()-1); // chomp semicolon consortium = val; } if (key.equals(TITLE_TAG)) { if (val.endsWith(";")) val = val.trim().substring(0, val.length()-1); // chomp semicolon if (val.endsWith("\"")) val = val.trim().substring(1, val.length()-2); // chomp quotes title = val; } if (key.equals(LOCATION_TAG)) { if (val.endsWith(".")) val = val.trim().substring(0, val.length()-1); // chomp dot locator = val; } if (key.equals(REFERENCE_XREF_TAG)) { // database_identifier=primary_identifier; String[] refs = val.split(";"); for (int j = 0 ; j < refs.length; j++) { if (refs[j].trim().length()==0) continue; String[] parts = refs[j].split("="); String db = parts[0]; String ref = parts[1]; if (db.equalsIgnoreCase(Terms.PUBMED_KEY)) pubmed = ref; else if (db.equalsIgnoreCase(Terms.MEDLINE_KEY)) medline = ref; else if (db.equalsIgnoreCase(Terms.DOI_KEY)) doi = ref; } } if (key.equals(RP_LINE_TAG)) { remark = val; if (val.endsWith(".")) val = val.substring(0, val.length()-1); // chomp dot // Try to use it to find the location of the reference, if we have one. Matcher m = rppat.matcher(val); if (m.matches()) { rstart = Integer.valueOf(m.group(1)); rend = Integer.valueOf(m.group(2)); } } if (key.equals(RC_LINE_TAG)) { // Split into key=value pairs separated by semicolons and terminated with semicolon. String[] parts = val.split(";"); for (int j = 0; j < parts.length; j++) { String[] subparts = parts[j].split("="); // get term for first section String termName = subparts[0].trim(); Term t; if (termName.equalsIgnoreCase(Terms.SPECIES_KEY)) t = Terms.getSpeciesTerm(); else if (termName.equalsIgnoreCase(Terms.STRAIN_KEY)) t = Terms.getStrainTerm(); else if (termName.equalsIgnoreCase(Terms.TISSUE_KEY)) t = Terms.getTissueTerm(); else if (termName.equalsIgnoreCase(Terms.TRANSPOSON_KEY)) t = Terms.getTransposonTerm(); else if (termName.equalsIgnoreCase(Terms.PLASMID_KEY)) t = Terms.getPlasmidTerm(); else throw new ParseException("Invalid RC term found: "+termName); // assign notes using term and rank:second section as value // nasty hack - we really should have notes on the reference itself. rlistener.addSequenceProperty(t, ref_rank+":"+subparts[1].trim()); } } } // create the pubmed crossref and assign to the bioentry CrossRef pcr = null; if (pubmed!=null) { pcr = (CrossRef)RichObjectFactory.getObject(SimpleCrossRef.class,new Object[]{Terms.PUBMED_KEY, pubmed, new Integer(0)}); RankedCrossRef rpcr = new SimpleRankedCrossRef(pcr, 0); rlistener.setRankedCrossRef(rpcr); } // create the medline crossref and assign to the bioentry CrossRef mcr = null; if (medline!=null) { mcr = (CrossRef)RichObjectFactory.getObject(SimpleCrossRef.class,new Object[]{Terms.MEDLINE_KEY, medline, new Integer(0)}); RankedCrossRef rmcr = new SimpleRankedCrossRef(mcr, 0); rlistener.setRankedCrossRef(rmcr); } // create the doi crossref and assign to the bioentry CrossRef dcr = null; if (doi!=null) { dcr = (CrossRef)RichObjectFactory.getObject(SimpleCrossRef.class,new Object[]{Terms.DOI_KEY, doi, new Integer(0)}); RankedCrossRef rdcr = new SimpleRankedCrossRef(dcr, 0); rlistener.setRankedCrossRef(rdcr); } // create the docref object try { List auths = null; if(authors != null) auths = DocRefAuthor.Tools.parseAuthorString(authors); if (consortium!=null){ if(auths == null) auths = new ArrayList(); auths.add(new SimpleDocRefAuthor(consortium,true,false)); } DocRef dr = (DocRef)RichObjectFactory.getObject(SimpleDocRef.class,new Object[]{auths,locator}); if (title!=null) dr.setTitle(title); // assign either the pubmed or medline to the docref - medline gets priority, then pubmed, then doi if (mcr!=null) dr.setCrossref(mcr); else if (pcr!=null) dr.setCrossref(pcr); else if (dcr!=null) dr.setCrossref(dcr); // assign the remarks if (!this.getElideComments()) dr.setRemark(remark); // assign the docref to the bioentry RankedDocRef rdr = new SimpleRankedDocRef(dr,rstart,rend,ref_rank); rlistener.setRankedDocRef(rdr); } catch (ChangeVetoException e) { throw new ParseException(e); } } else if (sectionKey.equals(COMMENT_TAG) && !this.getElideComments()) { // Set up some comments String val = ((String[])section.get(0))[1]; if (UniProtCommentParser.isParseable(val)) rlistener.setComment(val); else { // copyright message rlistener.addSequenceProperty(Terms.getCopyrightTerm(), val); } } else if (sectionKey.equals(FEATURE_TAG) && !this.getElideFeatures()) { // starting from second line of input, start a new feature whenever we come across // a key that does not start with / boolean seenAFeature = false; for (int i = 1 ; i < section.size(); i++) { String key = ((String[])section.get(i))[0]; String val = ((String[])section.get(i))[1]; val = val.trim(); if (val.endsWith(".")) val = val.substring(0,val.length()-1); // chomp dot if (key.startsWith("/")) { key = key.substring(1); // strip leading slash if (key.equals("FTId")) rlistener.addFeatureProperty(Terms.getFTIdTerm(),val); else { // should never happen - but here just in case rlistener.addFeatureProperty(RichObjectFactory.getDefaultOntology().getOrCreateTerm(key),val); } } else { // new feature! // end previous feature if (seenAFeature) rlistener.endFeature(); // start next one, with lots of lovely info in it RichFeature.Template templ = new RichFeature.Template(); templ.annotation = new SimpleRichAnnotation(); templ.sourceTerm = Terms.getUniProtTerm(); templ.typeTerm = RichObjectFactory.getDefaultOntology().getOrCreateTerm(key); templ.featureRelationshipSet = new TreeSet(); templ.rankedCrossRefs = new TreeSet(); String desc = null; String status = null; val = val.replaceAll("\n", " "); // Nasty hack but we have to do this, sadly. Matcher m = fp.matcher(val); if (m.matches()) { String loc = m.group(1); desc = m.group(3); templ.location = UniProtLocationParser.parseLocation(loc); } else { System.err.println("XX"+val+"XX"); throw new ParseException("Bad feature value: "+val); } rlistener.startFeature(templ); if (desc!=null) rlistener.addFeatureProperty(Terms.getFeatureDescTerm(),desc); seenAFeature = true; } } if (seenAFeature) rlistener.endFeature(); } else if (sectionKey.equals(START_SEQUENCE_TAG) && !this.getElideSymbols()) { StringBuffer seq = new StringBuffer(); for (int i = 0 ; i < section.size(); i++) seq.append(((String[])section.get(i))[1]); try { SymbolList sl = new SimpleSymbolList(symParser, seq.toString().replaceAll("\\s+","").replaceAll("[\\.|~]","-")); rlistener.addSymbols(symParser.getAlphabet(), (Symbol[])(sl.toList().toArray(new Symbol[0])), 0, sl.length()); } catch (Exception e) { throw new ParseException(e); } } } while (!sectionKey.equals(END_SEQUENCE_TAG)); // Allows us to tolerate trailing whitespace without // thinking that there is another Sequence to follow while (true) { reader.mark(1); int c = reader.read(); if (c == -1) { hasAnotherSequence = false; break; } if (Character.isWhitespace((char) c)) { //hasInternalWhitespace = true; continue; } //if (hasInternalWhitespace) //System.err.println("Warning: whitespace found between sequence entries"); reader.reset(); break; } // Finish up. rlistener.endSequence(); return hasAnotherSequence; }
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/05b36241610b2e40a85168dccc182f8d5f51e4de/UniProtFormat.java/clean/src/org/biojavax/bio/seq/io/UniProtFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 855, 22591, 4021, 12, 17947, 2514, 2949, 16, 5411, 8565, 1345, 1588, 5382, 2678, 16, 5411, 534, 1354, 6926, 4294, 2223, 436, 12757, 16, 5411, 6005, 3153, 13, 5411, 1216, 2141, 5335, 503, 16, 1860, 16, 10616, 288, 7734, 514, 980, 31, 3639, 1250, 711, 37, 24413, 4021, 273, 638, 31, 3639, 368, 6494, 711, 3061, 9431, 273, 629, 31, 7734, 436, 12757, 18, 1937, 4021, 5621, 7734, 309, 261, 2387, 631, 2011, 13, 3153, 33, 22591, 921, 1733, 18, 588, 1868, 3402, 5621, 3639, 436, 12757, 18, 542, 3402, 12, 2387, 1769, 7734, 368, 968, 392, 5901, 666, 434, 498, 2122, 1132, 5574, 316, 526, 17, 17705, 3639, 514, 2442, 653, 273, 446, 31, 3639, 423, 8876, 1285, 651, 265, 5320, 273, 446, 31, 3639, 514, 15501, 6228, 273, 446, 31, 3639, 514, 2006, 285, 273, 446, 31, 3639, 509, 15187, 1380, 273, 374, 31, 3639, 741, 288, 5411, 987, 2442, 273, 333, 18, 896, 5285, 12, 10530, 1769, 5411, 2442, 653, 273, 14015, 780, 63, 5717, 3464, 18, 588, 12, 20, 3719, 63, 20, 15533, 5411, 309, 12, 3464, 653, 422, 446, 15329, 7734, 604, 394, 10616, 2932, 5285, 498, 1703, 446, 18, 5016, 285, 2773, 15, 13491, 2006, 285, 422, 446, 692, 315, 1248, 444, 6, 294, 2006, 285, 1769, 5411, 289, 5411, 368, 1207, 2442, 17, 1637, 17, 3464, 5411, 309, 261, 3464, 653, 18, 14963, 12, 29450, 3378, 67, 7927, 3719, 288, 7734, 368, 1241, 529, 225, 501, 1106, 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, 1250, 855, 22591, 4021, 12, 17947, 2514, 2949, 16, 5411, 8565, 1345, 1588, 5382, 2678, 16, 5411, 534, 1354, 6926, 4294, 2223, 436, 12757, 16, 5411, 6005, 3153, 13, 5411, 1216, 2141, 5335, 503, 16, 1860, 16, 10616, 288, 7734, 514, 980, 31, 3639, 1250, 711, 37, 24413, 4021, 273, 638, 31, 3639, 368, 6494, 711, 3061, 9431, 273, 629, 31, 7734, 436, 12757, 18, 1937, 4021, 5621, 7734, 309, 261, 2387, 631, 2011, 13, 3153, 33, 22591, 921, 1733, 18, 588, 1868, 3402, 5621, 3639, 436, 12757, 18, 542, 3402, 12, 2387, 1769, 7734, 368, 968, 392, 5901, 666, 434, 498, 2122, 1132, 5574, 316, 526, 17, 17705, 3639, 514, 2442, 653, 273, 446, 31, 3639, 2 ]
TraceClassVisitor tv = new TraceClassVisitor( cw, new PrintWriter( System.err)) { protected TraceMethodVisitor createTraceMethodVisitor() { return new TraceMethodVisitor() { protected void appendLabel( Label l) { super.appendLabel(l); buf.append( " "+System.identityHashCode( l)); } }; } };
public void test() throws Exception { Attribute[] tattributes = new Attribute[] { new StubStackMapTableAttribute()}; Attribute[] attributes = new Attribute[] { new StackMapTableAttribute()}; ClassWriter cw = new ClassWriter( false); TraceClassVisitor tv = new TraceClassVisitor( cw, new PrintWriter( System.err)) { protected TraceMethodVisitor createTraceMethodVisitor() { return new TraceMethodVisitor() { protected void appendLabel( Label l) { super.appendLabel(l); buf.append( " "+System.identityHashCode( l)); } }; } }; ClassReader cr1 = new ClassReader( is); cr1.accept( tv, attributes, false); ClassReader cr2 = new ClassReader( cw.toByteArray()); if(!Arrays.equals(cr1.b, cr2.b)) { StringWriter sw1 = new StringWriter(); StringWriter sw2 = new StringWriter(); ClassVisitor cv1 = new TraceClassVisitor(new PrintWriter(sw1)); ClassVisitor cv2 = new TraceClassVisitor(new PrintWriter(sw2)); cr1.accept( cv1, attributes, false); cr2.accept( cv2, attributes, false); assertEquals("different data", sw1.toString(), sw2.toString()); } }
392 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/392/45df8e02b4bf1bc8313d51eb04cd138cf7fbf651/StackMapTableAttributeTest.java/clean/test/conform/org/objectweb/asm/attrs/StackMapTableAttributeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1435, 1216, 1185, 288, 565, 3601, 8526, 268, 4350, 273, 394, 3601, 8526, 288, 394, 26483, 2624, 863, 1388, 1499, 17767, 31, 565, 3601, 8526, 1677, 273, 394, 3601, 8526, 288, 394, 7283, 863, 1388, 1499, 17767, 31, 3639, 31807, 14098, 273, 394, 31807, 12, 629, 1769, 565, 2677, 797, 7413, 13521, 273, 394, 2677, 797, 7413, 12, 14098, 16, 394, 14071, 12, 2332, 18, 370, 3719, 288, 3639, 4750, 2677, 1305, 7413, 752, 3448, 1305, 7413, 1435, 288, 1850, 327, 394, 2677, 1305, 7413, 1435, 288, 2868, 4750, 918, 714, 2224, 12, 5287, 328, 13, 288, 7734, 2240, 18, 6923, 2224, 12, 80, 1769, 7734, 1681, 18, 6923, 12, 315, 13773, 3163, 18, 10781, 21952, 12, 328, 10019, 2868, 289, 5411, 289, 31, 3639, 289, 1377, 289, 31, 3639, 1659, 2514, 4422, 21, 273, 394, 1659, 2514, 12, 353, 1769, 565, 4422, 21, 18, 9436, 12, 13521, 16, 1677, 16, 629, 1769, 3639, 1659, 2514, 4422, 22, 273, 394, 1659, 2514, 12, 14098, 18, 869, 8826, 10663, 3639, 309, 12, 5, 12726, 18, 14963, 12, 3353, 21, 18, 70, 16, 4422, 22, 18, 70, 3719, 288, 7734, 17436, 1352, 21, 273, 394, 17436, 5621, 1377, 17436, 1352, 22, 273, 394, 17436, 5621, 1377, 1659, 7413, 8951, 21, 273, 394, 2677, 797, 7413, 12, 2704, 14071, 12, 5328, 21, 10019, 1377, 1659, 7413, 8951, 22, 273, 394, 2677, 797, 7413, 12, 2704, 14071, 12, 5328, 22, 10019, 1377, 4422, 21, 18, 9436, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1435, 1216, 1185, 288, 565, 3601, 8526, 268, 4350, 273, 394, 3601, 8526, 288, 394, 26483, 2624, 863, 1388, 1499, 17767, 31, 565, 3601, 8526, 1677, 273, 394, 3601, 8526, 288, 394, 7283, 863, 1388, 1499, 17767, 31, 3639, 31807, 14098, 273, 394, 31807, 12, 629, 1769, 565, 2677, 797, 7413, 13521, 273, 394, 2677, 797, 7413, 12, 14098, 16, 394, 14071, 12, 2332, 18, 370, 3719, 288, 3639, 4750, 2677, 1305, 7413, 752, 3448, 1305, 7413, 1435, 288, 1850, 327, 394, 2677, 1305, 7413, 1435, 288, 2868, 4750, 918, 714, 2224, 12, 5287, 328, 13, 288, 7734, 2240, 18, 6923, 2224, 12, 80, 1769, 7734, 1681, 18, 6923, 12, 315, 13773, 3163, 18, 10781, 2 ]
else { scriptable = makeJavaScriptObject(javaScriptClassName); } scriptable.setDomNode(domNode); scriptable.setParentScope(ScriptableObject.getTopLevelScope((Scriptable) domNode.getPage().getScriptObject())); return scriptable;
public SimpleScriptable makeScriptableFor(final DomNode domNode) { // Get the JS class name for the specified DOM node. // Walk up the inheritance chain if necessary. String javaScriptClassName = null; for( Class c = domNode.getClass(); javaScriptClassName == null && c != null; c = c.getSuperclass() ) { javaScriptClassName = (String) getHtmlJavaScriptMapping().get( c ); } final SimpleScriptable scriptable; if (javaScriptClassName == null) { // We don't have a specific subclass for this element so create something generic. scriptable = makeJavaScriptObject("HTMLElement"); getLog().debug("No javascript class found for element <"+domNode.getNodeName()+">. Using HTMLElement"); } else { scriptable = makeJavaScriptObject(javaScriptClassName); } scriptable.setDomNode(domNode); // parent scope needs to be set to "window" (no simple unit test found to illustrate the necessity) // if navigation has continued, the window may contain an other page as the on to which the current node // belongs to // see test JavaScriptEngineTest#testScopeInInactivePage scriptable.setParentScope(ScriptableObject.getTopLevelScope((Scriptable) domNode.getPage().getScriptObject())); return scriptable; }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/a29b4d215e65ac8211b0fc8aaf4d375d3c5c55c3/SimpleScriptable.java/clean/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/SimpleScriptable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4477, 3651, 429, 1221, 3651, 429, 1290, 12, 6385, 12965, 907, 24984, 13, 288, 3639, 368, 968, 326, 6756, 667, 508, 364, 326, 1269, 4703, 756, 18, 3639, 368, 7564, 731, 326, 16334, 2687, 309, 4573, 18, 3639, 514, 2252, 3651, 3834, 273, 446, 31, 3639, 364, 12, 1659, 276, 273, 24984, 18, 588, 797, 5621, 2252, 3651, 3834, 422, 446, 597, 276, 480, 446, 31, 276, 273, 276, 18, 588, 28471, 1435, 262, 288, 5411, 2252, 3651, 3834, 273, 261, 780, 13, 19633, 16634, 3233, 7675, 588, 12, 276, 11272, 3639, 289, 3639, 727, 4477, 3651, 429, 2728, 429, 31, 3639, 309, 261, 6290, 3651, 3834, 422, 446, 13, 288, 5411, 368, 1660, 2727, 1404, 1240, 279, 2923, 10177, 364, 333, 930, 1427, 752, 5943, 5210, 18, 5411, 2728, 429, 273, 1221, 16634, 921, 2932, 5062, 11155, 8863, 5411, 9189, 7675, 4148, 2932, 2279, 11341, 667, 1392, 364, 930, 411, 6, 15, 9859, 907, 18, 588, 18948, 1435, 15, 6441, 18, 11637, 19408, 11155, 8863, 3639, 289, 3639, 469, 288, 5411, 2728, 429, 273, 1221, 16634, 921, 12, 6290, 3651, 3834, 1769, 3639, 289, 3639, 2728, 429, 18, 542, 8832, 907, 12, 9859, 907, 1769, 3639, 368, 982, 2146, 4260, 358, 506, 444, 358, 315, 5668, 6, 261, 2135, 4143, 2836, 1842, 1392, 358, 277, 2906, 27008, 340, 326, 290, 3957, 560, 13, 3639, 368, 309, 10394, 711, 17545, 5957, 16, 326, 2742, 2026, 912, 392, 1308, 1363, 487, 326, 603, 358, 1492, 326, 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, 4477, 3651, 429, 1221, 3651, 429, 1290, 12, 6385, 12965, 907, 24984, 13, 288, 3639, 368, 968, 326, 6756, 667, 508, 364, 326, 1269, 4703, 756, 18, 3639, 368, 7564, 731, 326, 16334, 2687, 309, 4573, 18, 3639, 514, 2252, 3651, 3834, 273, 446, 31, 3639, 364, 12, 1659, 276, 273, 24984, 18, 588, 797, 5621, 2252, 3651, 3834, 422, 446, 597, 276, 480, 446, 31, 276, 273, 276, 18, 588, 28471, 1435, 262, 288, 5411, 2252, 3651, 3834, 273, 261, 780, 13, 19633, 16634, 3233, 7675, 588, 12, 276, 11272, 3639, 289, 3639, 727, 4477, 3651, 429, 2728, 429, 31, 3639, 309, 261, 6290, 3651, 3834, 422, 446, 13, 288, 5411, 368, 1660, 2727, 1404, 1240, 2 ]
realStereo.setNamespace(ns);
public MAbstraction buildRealization(MModelElement client, MModelElement supplier) { MAbstraction realization = new MAbstractionImpl();// MStereotype realStereo = (MStereotype)STANDARDS.lookup("realize");// System.out.println("real ist: "+realStereo); MStereotype realStereo = new MStereotypeImpl(); realStereo.setName("realize"); if (supplier.getNamespace() != null) { MNamespace ns = supplier.getNamespace(); realization.setNamespace(ns); realStereo.setNamespace(ns); // ns.addOwnedElement(STANDARDS); } else if (client.getNamespace() != null) { MNamespace ns = client.getNamespace(); realization.setNamespace(ns); realStereo.setNamespace(ns); // ns.addOwnedElement(STANDARDS); } realization.setStereotype(realStereo); realization.addSupplier(supplier); realization.addClient(client); return realization; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ccb822c30e1c762f951b4d90d6a4c793d58079d9/MMUtil.java/clean/src_new/org/argouml/uml/MMUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 490, 5895, 701, 1128, 1361, 6955, 1588, 12, 49, 1488, 1046, 1004, 16, 490, 1488, 1046, 17402, 13, 288, 202, 202, 5535, 70, 701, 1128, 2863, 1588, 273, 394, 490, 5895, 701, 1128, 2828, 5621, 759, 3196, 202, 3537, 387, 73, 10570, 2863, 55, 22854, 273, 261, 3537, 387, 73, 10570, 13, 882, 4307, 985, 3948, 18, 8664, 2932, 7688, 554, 8863, 759, 3196, 202, 3163, 18, 659, 18, 8222, 2932, 7688, 19165, 30, 13773, 7688, 55, 22854, 1769, 202, 202, 3537, 387, 73, 10570, 2863, 55, 22854, 273, 394, 9238, 387, 73, 10570, 2828, 5621, 202, 202, 7688, 55, 22854, 18, 542, 461, 2932, 7688, 554, 8863, 202, 202, 430, 261, 2859, 5742, 18, 588, 3402, 1435, 480, 446, 13, 288, 1082, 565, 490, 3402, 3153, 273, 17402, 18, 588, 3402, 5621, 1082, 565, 2863, 1588, 18, 542, 3402, 12, 2387, 1769, 1082, 565, 2863, 55, 22854, 18, 542, 3402, 12, 2387, 1769, 1082, 565, 368, 1082, 565, 3153, 18, 1289, 5460, 329, 1046, 12, 882, 4307, 985, 3948, 1769, 202, 202, 97, 202, 202, 12107, 309, 261, 2625, 18, 588, 3402, 1435, 480, 446, 13, 288, 1082, 565, 490, 3402, 3153, 273, 1004, 18, 588, 3402, 5621, 1082, 565, 2863, 1588, 18, 542, 3402, 12, 2387, 1769, 1082, 565, 2863, 55, 22854, 18, 542, 3402, 12, 2387, 1769, 1082, 565, 368, 1082, 565, 3153, 18, 1289, 5460, 329, 1046, 12, 882, 4307, 985, 3948, 1769, 202, 202, 97, 202, 202, 7688, 1588, 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, 490, 5895, 701, 1128, 1361, 6955, 1588, 12, 49, 1488, 1046, 1004, 16, 490, 1488, 1046, 17402, 13, 288, 202, 202, 5535, 70, 701, 1128, 2863, 1588, 273, 394, 490, 5895, 701, 1128, 2828, 5621, 759, 3196, 202, 3537, 387, 73, 10570, 2863, 55, 22854, 273, 261, 3537, 387, 73, 10570, 13, 882, 4307, 985, 3948, 18, 8664, 2932, 7688, 554, 8863, 759, 3196, 202, 3163, 18, 659, 18, 8222, 2932, 7688, 19165, 30, 13773, 7688, 55, 22854, 1769, 202, 202, 3537, 387, 73, 10570, 2863, 55, 22854, 273, 394, 9238, 387, 73, 10570, 2828, 5621, 202, 202, 7688, 55, 22854, 18, 542, 461, 2932, 7688, 554, 8863, 202, 202, 430, 261, 2859, 5742, 18, 588, 2 ]
final String queryString = "select count (distinct bs2gp) from CompositeSequenceImpl as cs inner join cs.arrayDesign as ar " + "inner join cs.biologicalCharacteristic, BioSequence2GeneProductImpl as bs2gp " + "where bs2gp.bioSequence=cs.biologicalCharacteristic and ar.id = :id";
final String queryString = "select count (distinct bs2gp) from CompositeSequenceImpl as cs inner join cs.arrayDesign as ar " + "inner join cs.biologicalCharacteristic, BioSequence2GeneProductImpl as bs2gp " + "where bs2gp.bioSequence=cs.biologicalCharacteristic and ar.id = :id";
protected long handleNumBlatResults( ArrayDesign arrayDesign ) throws Exception { if (arrayDesign == null || arrayDesign.getId() == null) { throw new IllegalArgumentException(); } long id = arrayDesign.getId(); final String queryString = "select count (distinct bs2gp) from CompositeSequenceImpl as cs inner join cs.arrayDesign as ar " + "inner join cs.biologicalCharacteristic, BioSequence2GeneProductImpl as bs2gp " + "where bs2gp.bioSequence=cs.biologicalCharacteristic and ar.id = :id"; return queryByIdReturnInteger( id, queryString ); }
4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/a38ec5b62d473dbb459399b7f03a372b314f1d88/ArrayDesignDaoImpl.java/buggy/gemma-mda/src/main/java/ubic/gemma/model/expression/arrayDesign/ArrayDesignDaoImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1525, 1640, 2578, 38, 4801, 3447, 12, 1510, 15478, 526, 15478, 262, 1216, 1185, 288, 3639, 309, 261, 1126, 15478, 422, 446, 747, 526, 15478, 18, 26321, 1435, 422, 446, 13, 288, 5411, 604, 394, 2754, 5621, 3639, 289, 3639, 1525, 612, 273, 526, 15478, 18, 26321, 5621, 3639, 727, 514, 11337, 273, 315, 4025, 1056, 261, 24592, 7081, 22, 6403, 13, 628, 225, 14728, 4021, 2828, 487, 2873, 3443, 1233, 2873, 18, 1126, 15478, 487, 419, 315, 397, 3639, 315, 7872, 1233, 2873, 18, 13266, 18224, 7069, 5846, 16, 21209, 4021, 22, 24442, 4133, 2828, 487, 7081, 22, 6403, 315, 397, 3639, 315, 6051, 7081, 22, 6403, 18, 21010, 4021, 33, 2143, 18, 13266, 18224, 7069, 5846, 471, 419, 18, 350, 273, 294, 350, 14432, 3639, 327, 843, 5132, 990, 4522, 12, 612, 16, 11337, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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1126, 15478, 422, 446, 747, 526, 15478, 18, 26321, 1435, 422, 446, 13, 288, 5411, 604, 394, 2754, 5621, 3639, 289, 3639, 1525, 612, 273, 526, 15478, 18, 26321, 5621, 3639, 727, 514, 11337, 273, 315, 4025, 1056, 261, 24592, 7081, 22, 6403, 13, 628, 225, 14728, 4021, 2828, 487, 2873, 3443, 1233, 2873, 18, 1126, 15478, 487, 419, 315, 397, 3639, 315, 7872, 1233, 2873, 18, 13266, 18224, 7069, 5846, 16, 21209, 4021, 22, 24442, 4133, 2828, 487, 7081, 22, 6403, 315, 397, 3639, 315, 6051, 7081, 22, 6403, 18, 21010, 4021, 33, 2143, 18, 13266, 18224, 7069, 2 ]
p_start = createRefillTimePreference(start, earliest); p_end = createRefillTimePreference(end, earliest);
p_start = createRefillTimePreference(start, earliest, AspectType.START_TIME); p_end = createRefillTimePreference(end, earliest, AspectType.END_TIME);
private NewTask fillInTask(NewTask newRefill, long start, long end, long earliest, double qty, Asset asset) { // create preferences Vector prefs = new Vector(); Preference p_start,p_end,p_qty; p_start = createRefillTimePreference(start, earliest); p_end = createRefillTimePreference(end, earliest); p_qty = createRefillRatePreference(qty); prefs.add(p_start); prefs.add(p_end); prefs.add(p_qty); newRefill.setPreferences(prefs.elements()); //create Prepositional Phrases Vector pp_vector = new Vector(); pp_vector.add(createPrepPhrase(Constants.Preposition.FOR, getOrgName())); pp_vector.add(createPrepPhrase(Constants.Preposition.OFTYPE, inventoryPlugin.getSupplyType())); Object io; Enumeration geolocs = getAssetUtils().getGeolocLocationAtTime( getMyOrganization(), end); if (geolocs.hasMoreElements()) { io = (GeolocLocation)geolocs.nextElement(); } else { io = getHomeLocation(); } pp_vector.addElement(createPrepPhrase(Constants.Preposition.TO, io)); TypeIdentificationPG tip = asset.getTypeIdentificationPG(); MaintainedItem itemID = MaintainedItem. findOrMakeMaintainedItem("Inventory", tip.getTypeIdentification(), null, tip.getNomenclature(), inventoryPlugin); pp_vector.add(createPrepPhrase(Constants.Preposition.MAINTAINING, itemID)); pp_vector.add(createPrepPhrase(Constants.Preposition.REFILL, null)); newRefill.setPrepositionalPhrases(pp_vector.elements()); return newRefill; }
11319 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11319/6b98fa6c43734537f2c625977b3ba3ac3429d6d0/RefillProjectionGenerator.java/clean/bbn/src/org/cougaar/logistics/plugin/inventory/RefillProjectionGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1166, 2174, 3636, 382, 2174, 12, 1908, 2174, 394, 1957, 737, 16, 1525, 787, 16, 1525, 679, 16, 1525, 20674, 16, 21821, 1645, 26667, 16, 10494, 3310, 13, 288, 565, 368, 752, 12750, 565, 5589, 15503, 273, 394, 5589, 5621, 565, 29125, 293, 67, 1937, 16, 84, 67, 409, 16, 84, 67, 85, 4098, 31, 565, 293, 67, 1937, 273, 752, 1957, 737, 950, 9624, 12, 1937, 16, 20674, 1769, 565, 293, 67, 409, 273, 752, 1957, 737, 950, 9624, 12, 409, 16, 20674, 1769, 565, 293, 67, 85, 4098, 273, 752, 1957, 737, 4727, 9624, 12, 85, 4098, 1769, 565, 15503, 18, 1289, 12, 84, 67, 1937, 1769, 565, 15503, 18, 1289, 12, 84, 67, 409, 1769, 565, 15503, 18, 1289, 12, 84, 67, 85, 4098, 1769, 565, 394, 1957, 737, 18, 542, 12377, 12, 1484, 2556, 18, 6274, 10663, 565, 368, 2640, 2962, 3276, 287, 4360, 17415, 565, 5589, 8228, 67, 7737, 273, 394, 5589, 5621, 565, 8228, 67, 7737, 18, 1289, 12, 2640, 15543, 12812, 12, 2918, 18, 1386, 3276, 18, 7473, 16, 336, 6001, 461, 1435, 10019, 565, 8228, 67, 7737, 18, 1289, 12, 2640, 15543, 12812, 12, 2918, 18, 1386, 3276, 18, 3932, 2399, 16, 4766, 565, 13086, 3773, 18, 588, 3088, 1283, 559, 1435, 10019, 3639, 1033, 2527, 31, 565, 13864, 8244, 355, 22280, 273, 24689, 1989, 7675, 588, 18809, 355, 504, 2735, 861, 950, 12, 6862, 6862, 225, 2108, 93, 8113, 9334, 6862, 6862, 225, 679, 1769, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1166, 2174, 3636, 382, 2174, 12, 1908, 2174, 394, 1957, 737, 16, 1525, 787, 16, 1525, 679, 16, 1525, 20674, 16, 21821, 1645, 26667, 16, 10494, 3310, 13, 288, 565, 368, 752, 12750, 565, 5589, 15503, 273, 394, 5589, 5621, 565, 29125, 293, 67, 1937, 16, 84, 67, 409, 16, 84, 67, 85, 4098, 31, 565, 293, 67, 1937, 273, 752, 1957, 737, 950, 9624, 12, 1937, 16, 20674, 1769, 565, 293, 67, 409, 273, 752, 1957, 737, 950, 9624, 12, 409, 16, 20674, 1769, 565, 293, 67, 85, 4098, 273, 752, 1957, 737, 4727, 9624, 12, 85, 4098, 1769, 565, 15503, 18, 1289, 12, 84, 67, 1937, 1769, 565, 15503, 18, 1289, 12, 84, 67, 409, 2 ]
setModel( model );
getProvider( ).connect( model );
public boolean onBroughtToTop( IReportEditorPage prePage ) { if ( getEditorInput( ) != prePage.getEditorInput( ) ) { setInput( prePage.getEditorInput( ) ); } ModuleHandle model = SessionHandleAdapter.getInstance( ).getReportDesignHandle( ); if ( model != null && getModel() != model) { Object oldModel = getModel( ); setModel( model ); rebuildReportDesign( oldModel ); if ( getModel( ) != null ) { setViewContentsAsMasterPage(); markPageStale( IPageStaleType.NONE ); } updateStackActions( ); } return true; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/604ce5391dbc451664ffe72c0eb2da50e51bc4ed/ReportMasterPageEditorFormPage.java/buggy/UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/ui/editors/pages/ReportMasterPageEditorFormPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 603, 38, 303, 9540, 774, 3401, 12, 467, 4820, 6946, 1964, 675, 1964, 262, 202, 95, 202, 202, 430, 261, 336, 6946, 1210, 12, 262, 480, 675, 1964, 18, 588, 6946, 1210, 12, 262, 262, 202, 202, 95, 1082, 202, 542, 1210, 12, 675, 1964, 18, 588, 6946, 1210, 12, 262, 11272, 202, 202, 97, 9506, 202, 3120, 3259, 938, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 18, 588, 4820, 15478, 3259, 12, 11272, 202, 202, 430, 261, 938, 480, 446, 597, 7454, 1435, 480, 938, 13, 202, 202, 95, 6862, 202, 921, 1592, 1488, 273, 7454, 12, 11272, 6862, 1082, 202, 542, 1488, 12, 938, 11272, 1082, 202, 266, 3510, 4820, 15478, 12, 1592, 1488, 11272, 1082, 202, 430, 261, 7454, 12, 262, 480, 446, 262, 1082, 202, 95, 9506, 202, 542, 1767, 6323, 1463, 7786, 1964, 5621, 9506, 202, 3355, 1964, 19155, 12, 467, 1964, 19155, 559, 18, 9826, 11272, 1082, 202, 97, 1082, 202, 2725, 2624, 6100, 12, 11272, 6862, 202, 97, 6862, 202, 2463, 638, 31, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 603, 38, 303, 9540, 774, 3401, 12, 467, 4820, 6946, 1964, 675, 1964, 262, 202, 95, 202, 202, 430, 261, 336, 6946, 1210, 12, 262, 480, 675, 1964, 18, 588, 6946, 1210, 12, 262, 262, 202, 202, 95, 1082, 202, 542, 1210, 12, 675, 1964, 18, 588, 6946, 1210, 12, 262, 11272, 202, 202, 97, 9506, 202, 3120, 3259, 938, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 18, 588, 4820, 15478, 3259, 12, 11272, 202, 202, 430, 261, 938, 480, 446, 597, 7454, 1435, 480, 938, 13, 202, 202, 95, 6862, 202, 921, 1592, 1488, 273, 7454, 12, 11272, 6862, 1082, 202, 542, 1488, 12, 938, 11272, 1082, 202, 266, 3510, 4820, 15478, 2 ]
case LEFT: iNewPointToCheck = 2; iPrevPointToCheck = 1;
case LEFT : iNewPointToCheck = 2; iPrevPointToCheck = 1;
final protected boolean[] checkTickLabelsVisibility( IDisplayServer xs, Label la, int iLabelLocation ) throws ChartException { boolean[] ba = new boolean[daTickCoordinates.length]; boolean vis = la.isSetVisible( ) && la.isVisible( ); Arrays.fill( ba, vis ); if ( !vis ) { // all non-visible label, skip checking. return ba; } if ( iType != TEXT && !bCategoryScale ) { // Already auto scaled, just return all as true. return ba; } final double dAngleInDegrees = la.getCaption( ) .getFont( ) .getRotation( ); double x = 0, y = 0; int iNewPointToCheck = 0, iPrevPointToCheck = 0; /* * Rectangle points are layed out like this * * 0 1 * NextLabel * 3 2 * * 0 1 0 1 * PreviousLabel NextLabel * 3 2 3 2 * */ boolean isNegativeRotation = ( dAngleInDegrees < 0 && dAngleInDegrees > -90 ); switch ( iLabelLocation ) { case ABOVE: iNewPointToCheck = isNegativeRotation ? 3 : 0; iPrevPointToCheck = isNegativeRotation ? 1 : 3; break; case BELOW: iNewPointToCheck = isNegativeRotation ? 3 : 0; iPrevPointToCheck = isNegativeRotation ? 0 : 2; break; case LEFT: iNewPointToCheck = 2; iPrevPointToCheck = 1; break; case RIGHT: iNewPointToCheck = 3; iPrevPointToCheck = 0; break; } RotatedRectangle rrPrev[] = new RotatedRectangle[2]; DataSetIterator dsi = getData( ); dsi.reset( ); final int iDateTimeUnit = ( iType == IConstants.DATE_TIME ) ? CDateTime.computeUnit( dsi ) : IConstants.UNDEFINED; String sText = null; dsi.reset( ); for ( int i = 0; i < daTickCoordinates.length - 1; i++ ) { if ( dsi.hasNext( ) ) { sText = formatCategoryValue( iType, dsi.next( ), iDateTimeUnit ); } else { sText = NULL_STRING; } if ( iLabelLocation == ABOVE || iLabelLocation == BELOW ) { x = this.daTickCoordinates[i]; } else if ( iLabelLocation == LEFT || iLabelLocation == RIGHT ) { y = this.daTickCoordinates[i]; } la.getCaption( ).setValue( sText ); if ( isAxisLabelStaggered( ) && i % 2 == 1 ) { ba[i] = checkOneTickLabelVisibility( rrPrev, 1, iLabelLocation, x, y, iNewPointToCheck, iPrevPointToCheck, la, xs, i ); } else { ba[i] = checkOneTickLabelVisibility( rrPrev, 0, iLabelLocation, x, y, iNewPointToCheck, iPrevPointToCheck, la, xs, i ); } } return ba; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e5190634b7d993e200827f366f533ffbc5d0b341/AutoScale.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6385, 4750, 1250, 8526, 866, 6264, 5888, 10135, 12, 1599, 291, 1601, 2081, 9280, 16, 5287, 7125, 16, 1082, 202, 474, 277, 2224, 2735, 262, 1216, 14804, 503, 202, 95, 202, 202, 6494, 8526, 9846, 273, 394, 1250, 63, 2414, 6264, 13431, 18, 2469, 15533, 202, 202, 6494, 2281, 273, 7125, 18, 291, 694, 6207, 12, 262, 597, 7125, 18, 291, 6207, 12, 11272, 202, 202, 12726, 18, 5935, 12, 9846, 16, 2281, 11272, 202, 202, 430, 261, 401, 3516, 262, 202, 202, 95, 1082, 202, 759, 777, 1661, 17, 8613, 1433, 16, 2488, 6728, 18, 1082, 202, 2463, 9846, 31, 202, 202, 97, 202, 202, 430, 261, 277, 559, 480, 9204, 597, 401, 70, 4457, 5587, 262, 202, 202, 95, 1082, 202, 759, 17009, 3656, 12304, 16, 2537, 327, 777, 487, 638, 18, 1082, 202, 2463, 9846, 31, 202, 202, 97, 202, 202, 6385, 1645, 302, 8467, 382, 24400, 273, 7125, 18, 588, 21158, 12, 262, 9506, 202, 18, 588, 5711, 12, 262, 9506, 202, 18, 588, 14032, 12, 11272, 202, 202, 9056, 619, 273, 374, 16, 677, 273, 374, 31, 202, 202, 474, 277, 1908, 2148, 18126, 273, 374, 16, 277, 9958, 2148, 18126, 273, 374, 31, 9506, 202, 20308, 1082, 380, 13264, 3143, 854, 328, 528, 329, 596, 3007, 333, 1082, 380, 1082, 380, 4202, 374, 1850, 404, 565, 1082, 380, 540, 4804, 2224, 1082, 380, 4202, 890, 1850, 576, 26924, 380, 3639, 1082, 380, 4202, 374, 2868, 404, 565, 374, 1850, 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, 6385, 4750, 1250, 8526, 866, 6264, 5888, 10135, 12, 1599, 291, 1601, 2081, 9280, 16, 5287, 7125, 16, 1082, 202, 474, 277, 2224, 2735, 262, 1216, 14804, 503, 202, 95, 202, 202, 6494, 8526, 9846, 273, 394, 1250, 63, 2414, 6264, 13431, 18, 2469, 15533, 202, 202, 6494, 2281, 273, 7125, 18, 291, 694, 6207, 12, 262, 597, 7125, 18, 291, 6207, 12, 11272, 202, 202, 12726, 18, 5935, 12, 9846, 16, 2281, 11272, 202, 202, 430, 261, 401, 3516, 262, 202, 202, 95, 1082, 202, 759, 777, 1661, 17, 8613, 1433, 16, 2488, 6728, 18, 1082, 202, 2463, 9846, 31, 202, 202, 97, 202, 202, 430, 261, 277, 559, 480, 9204, 597, 401, 70, 4457, 5587, 2 ]
pushInput(new Input(in, null, systemId, null));
pushInput(new Input(in, null, null, systemId, null, null, false));
public XMLParser(InputStream in, String systemId, boolean validating, boolean namespaceAware, boolean coalescing, boolean replaceERefs, boolean externalEntities, boolean supportDTD, boolean baseAware, boolean stringInterning, XMLReporter reporter, XMLResolver resolver) { this.validating = validating; this.namespaceAware = namespaceAware; this.coalescing = coalescing; this.replaceERefs = replaceERefs; this.externalEntities = externalEntities; this.supportDTD = supportDTD; this.baseAware = baseAware; this.stringInterning = stringInterning; this.reporter = reporter; this.resolver = resolver; if (validating) { validationStack = new LinkedList(); ids = new HashSet(); idrefs = new HashSet(); } pushInput(new Input(in, null, systemId, null)); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/04c1b36b98ba98b0efae9ad0b948798f7346549f/XMLParser.java/buggy/gnu/xml/stream/XMLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3167, 2678, 12, 4348, 316, 16, 514, 30083, 16, 10402, 1250, 18075, 16, 10402, 1250, 1981, 10155, 16, 10402, 1250, 1825, 287, 742, 310, 16, 10402, 1250, 1453, 41, 9837, 16, 10402, 1250, 3903, 8108, 16, 10402, 1250, 2865, 25728, 16, 10402, 1250, 1026, 10155, 16, 10402, 1250, 533, 21843, 310, 16, 10402, 3167, 13289, 11528, 16, 10402, 3167, 4301, 5039, 13, 225, 288, 565, 333, 18, 877, 1776, 273, 18075, 31, 565, 333, 18, 4937, 10155, 273, 1981, 10155, 31, 565, 333, 18, 2894, 287, 742, 310, 273, 1825, 287, 742, 310, 31, 565, 333, 18, 2079, 41, 9837, 273, 1453, 41, 9837, 31, 565, 333, 18, 9375, 8108, 273, 3903, 8108, 31, 565, 333, 18, 13261, 25728, 273, 2865, 25728, 31, 565, 333, 18, 1969, 10155, 273, 1026, 10155, 31, 565, 333, 18, 1080, 21843, 310, 273, 533, 21843, 310, 31, 565, 333, 18, 266, 7988, 273, 11528, 31, 565, 333, 18, 14122, 273, 5039, 31, 565, 309, 261, 877, 1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 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3167, 2678, 12, 4348, 316, 16, 514, 30083, 16, 10402, 1250, 18075, 16, 10402, 1250, 1981, 10155, 16, 10402, 1250, 1825, 287, 742, 310, 16, 10402, 1250, 1453, 41, 9837, 16, 10402, 1250, 3903, 8108, 16, 10402, 1250, 2865, 25728, 16, 10402, 1250, 1026, 10155, 16, 10402, 1250, 533, 21843, 310, 16, 10402, 3167, 13289, 11528, 16, 10402, 3167, 4301, 5039, 13, 225, 288, 565, 333, 18, 877, 1776, 273, 18075, 31, 565, 333, 18, 4937, 10155, 273, 1981, 10155, 31, 565, 333, 18, 2894, 287, 742, 310, 273, 1825, 287, 742, 310, 31, 565, 333, 18, 2079, 41, 9837, 273, 1453, 41, 9837, 31, 565, 333, 18, 9375, 8108, 273, 3903, 8108, 31, 565, 333, 18, 2 ]
if (jj_3R_42()) jj_scanpos = xsp;
if (jj_3R_43()) jj_scanpos = xsp;
static final private boolean jj_3R_32() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(27)) { jj_scanpos = xsp; if (jj_scan_token(28)) return true; } xsp = jj_scanpos; if (jj_3R_42()) jj_scanpos = xsp; return false; }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/773e62df340910756fa4992c37d1a6531e796a5c/ExpressionParser.java/clean/aspectwerkz3/src/main/org/codehaus/aspectwerkz/expression/ast/ExpressionParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 727, 3238, 1250, 10684, 67, 23, 54, 67, 1578, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 5324, 3719, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 6030, 3719, 327, 638, 31, 565, 289, 565, 619, 1752, 273, 10684, 67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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 727, 3238, 1250, 10684, 67, 23, 54, 67, 1578, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 5324, 3719, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 6030, 3719, 327, 638, 31, 565, 289, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 8942, 10756, 10684, 67, 9871, 917, 273, 619, 1752, 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 ]
System.out.println( Thread.currentThread().getName() + " took a self-signal off the queue!" );
public Signal getNextSignal() throws LemRuntimeException { synchronized( instanceInObject ) { while ( true ) { if ( signalSelfQueue.size() > 0 ) { System.out.println( Thread.currentThread().getName() + " took a self-signal off the queue!" ); return (Signal) signalSelfQueue.remove( 0 ); } else if ( signalQueue.size() > 0 ) { System.out.println( Thread.currentThread().getName() + " took a signal off the queue!" ); return (Signal) signalQueue.remove( 0 ); } System.out.println( Thread.currentThread().getName() + " propogating a signal" ); if ( instanceInObject.propogateNextSignal() ) { /** Have a signal */ System.out.println( Thread.currentThread().getName() + " has a signal!" ); continue; } try { System.out.println( Thread.currentThread().getName() + " waiting patiently for a signal." ); instanceInObject.wait(); System.out.println( Thread.currentThread().getName() + " woke up! Any signals?" ); /** * After taking instanceInObject's lock, we must * always recheck this Instance's queue because * another instance may have propogated a signal * from the runtime.Object. * * So go back to the top. */ } catch ( Exception e ) { System.out.println( "Some weirdo exception occurred" ); e.printStackTrace(); } } } }
10434 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10434/d6c8a38156925e4a09b1fa8d0835e99b076a3f78/Instance.java/buggy/trunk/src/runtime/Instance.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12032, 6927, 11208, 1435, 1216, 511, 351, 11949, 288, 202, 202, 22043, 12, 791, 382, 921, 262, 288, 9506, 202, 17523, 261, 638, 262, 288, 9506, 202, 430, 261, 4277, 10084, 3183, 18, 1467, 1435, 405, 374, 262, 288, 6862, 202, 3163, 18, 659, 18, 8222, 12, 4884, 18, 2972, 3830, 7675, 17994, 1435, 397, 315, 23151, 279, 365, 17, 10420, 3397, 326, 2389, 4442, 11272, 6862, 202, 2463, 261, 11208, 13, 4277, 10084, 3183, 18, 4479, 12, 374, 11272, 9506, 202, 97, 469, 309, 261, 4277, 3183, 18, 1467, 1435, 405, 374, 262, 288, 6862, 202, 3163, 18, 659, 18, 8222, 12, 4884, 18, 2972, 3830, 7675, 17994, 1435, 397, 315, 23151, 279, 4277, 3397, 326, 2389, 4442, 11272, 6862, 202, 2463, 261, 11208, 13, 4277, 3183, 18, 4479, 12, 374, 11272, 9506, 202, 97, 9506, 202, 3163, 18, 659, 18, 8222, 12, 4884, 18, 2972, 3830, 7675, 17994, 1435, 397, 315, 2270, 717, 1776, 279, 4277, 6, 11272, 9506, 202, 430, 261, 791, 382, 921, 18, 5986, 717, 340, 2134, 11208, 1435, 262, 288, 6862, 202, 26873, 21940, 279, 4277, 1195, 6862, 202, 3163, 18, 659, 18, 8222, 12, 4884, 18, 2972, 3830, 7675, 17994, 1435, 397, 315, 711, 279, 4277, 4442, 11272, 6862, 202, 17143, 31, 9506, 202, 97, 9506, 202, 698, 288, 6862, 202, 3163, 18, 659, 18, 8222, 12, 4884, 18, 2972, 3830, 7675, 17994, 1435, 17322, 202, 15, 315, 7336, 18608, 715, 364, 279, 4277, 1199, 11272, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12032, 6927, 11208, 1435, 1216, 511, 351, 11949, 288, 202, 202, 22043, 12, 791, 382, 921, 262, 288, 9506, 202, 17523, 261, 638, 262, 288, 9506, 202, 430, 261, 4277, 10084, 3183, 18, 1467, 1435, 405, 374, 262, 288, 6862, 202, 3163, 18, 659, 18, 8222, 12, 4884, 18, 2972, 3830, 7675, 17994, 1435, 397, 315, 23151, 279, 365, 17, 10420, 3397, 326, 2389, 4442, 11272, 6862, 202, 2463, 261, 11208, 13, 4277, 10084, 3183, 18, 4479, 12, 374, 11272, 9506, 202, 97, 469, 309, 261, 4277, 3183, 18, 1467, 1435, 405, 374, 262, 288, 6862, 202, 3163, 18, 659, 18, 8222, 12, 4884, 18, 2972, 3830, 7675, 17994, 1435, 397, 315, 23151, 279, 4277, 3397, 2 ]
Object result; try { result = interpret(cx, frame, null); } finally { cx.interpreterLineCounting = null; } return result;
return interpretLoop(cx, frame, null);
static Object interpret(InterpretedFunction ifun, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) { if (!ScriptRuntime.hasTopCall(cx)) { return ScriptRuntime.doTopCall(ifun, cx, scope, thisObj, args); } if (cx.interpreterSecurityDomain != ifun.securityDomain) { Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = ifun.securityDomain; try { return ifun.securityController.callWithDomain( ifun.securityDomain, cx, ifun, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } CallFrame frame = new CallFrame(); initFrame(cx, scope, thisObj, args, null, 0, args.length, ifun, null, frame); Object result; try { result = interpret(cx, frame, null); } finally { // Always clenup interpreterLineCounting to avoid memory leaks // throgh stored in Context frame cx.interpreterLineCounting = null; } return result; }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/bfa8309763e2523e019dce764cbca002cf6f54ad/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 2465, 15089, 329, 2083, 309, 318, 16, 18701, 1772, 9494, 16, 22780, 2146, 16, 18701, 22780, 15261, 16, 1033, 8526, 833, 13, 565, 288, 3639, 309, 16051, 3651, 5576, 18, 5332, 3401, 1477, 12, 71, 92, 3719, 288, 5411, 327, 7739, 5576, 18, 2896, 3401, 1477, 12, 430, 318, 16, 9494, 16, 2146, 16, 15261, 16, 833, 1769, 3639, 289, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 309, 318, 18, 7462, 3748, 13, 288, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 309, 318, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 309, 318, 18, 7462, 2933, 18, 1991, 1190, 3748, 12, 10792, 309, 318, 18, 7462, 3748, 16, 9494, 16, 309, 318, 16, 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, 3049, 3219, 2623, 273, 394, 3049, 3219, 5621, 3639, 1208, 3219, 12, 71, 92, 16, 2146, 16, 15261, 16, 833, 16, 446, 16, 374, 16, 833, 18, 2469, 16, 5375, 309, 318, 16, 446, 16, 2623, 1769, 3639, 1033, 563, 31, 3639, 775, 288, 5411, 563, 273, 10634, 12, 71, 92, 16, 2623, 16, 446, 1769, 3639, 289, 3095, 288, 5411, 368, 14178, 29059, 416, 16048, 1670, 1380, 310, 358, 4543, 3778, 20891, 87, 5411, 368, 286, 303, 17680, 4041, 316, 1772, 2623, 5411, 9494, 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, 2465, 15089, 329, 2083, 309, 318, 16, 18701, 1772, 9494, 16, 22780, 2146, 16, 18701, 22780, 15261, 16, 1033, 8526, 833, 13, 565, 288, 3639, 309, 16051, 3651, 5576, 18, 5332, 3401, 1477, 12, 71, 92, 3719, 288, 5411, 327, 7739, 5576, 18, 2896, 3401, 1477, 12, 430, 318, 16, 9494, 16, 2146, 16, 15261, 16, 833, 1769, 3639, 289, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 309, 318, 18, 7462, 3748, 13, 288, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 309, 318, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 309, 318, 18, 7462, 2933, 2 ]
actionPropertyChange(event);
update(event.getProperty());
public void propertyChange(PropertyChangeEvent event) { actionPropertyChange(event); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/da62d07d65d14601a24bc2d132072bc969f41838/ActionContributionItem.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/action/ActionContributionItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1272, 3043, 12, 1396, 20930, 871, 13, 288, 5411, 1089, 12, 2575, 18, 588, 1396, 10663, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1272, 3043, 12, 1396, 20930, 871, 13, 288, 5411, 1089, 12, 2575, 18, 588, 1396, 10663, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
addByteCode(ByteCode.ACONST_NULL);
cfw.add(ByteCode.ACONST_NULL);
private void generateCodeFromNode(Node node, Node parent) { // System.out.println("gen code for " + node.toString()); int type = node.getType(); Node child = node.getFirstChild(); switch (type) { case Token.LOOP: case Token.WITH: case Token.LABEL: visitStatement(node); while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } break; case Token.CASE: case Token.DEFAULT: // XXX shouldn't these be StatementNodes? case Token.SCRIPT: case Token.BLOCK: case Token.EMPTY: case Token.NOP: // no-ops. visitStatement(node); while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } break; case Token.FUNCTION: if (inFunction || parent.getType() != Token.SCRIPT) { int fnIndex = node.getExistingIntProp(Node.FUNCTION_PROP); OptFunctionNode fn; fn = (OptFunctionNode)scriptOrFn.getFunctionNode(fnIndex); int t = fn.getFunctionType(); if (t != FunctionNode.FUNCTION_STATEMENT) { visitFunction(fn, t); } } break; case Token.NAME: visitName(node); break; case Token.NEW: case Token.CALL: visitCall(node, type, child); break; case Token.NUMBER: case Token.STRING: visitLiteral(node); break; case Token.THIS: aload(thisObjLocal); break; case Token.THISFN: classFile.add(ByteCode.ALOAD_0); break; case Token.NULL: addByteCode(ByteCode.ACONST_NULL); break; case Token.TRUE: classFile.add(ByteCode.GETSTATIC, "java/lang/Boolean", "TRUE", "Ljava/lang/Boolean;"); break; case Token.FALSE: classFile.add(ByteCode.GETSTATIC, "java/lang/Boolean", "FALSE", "Ljava/lang/Boolean;"); break; case Token.UNDEFINED: pushUndefined(); break; case Token.REGEXP: visitObject(node); break; case Token.TRY: visitTryCatchFinally(node, child); break; case Token.THROW: visitThrow(node, child); break; case Token.RETURN: visitReturn(node, child); break; case Token.SWITCH: visitSwitch(node, child); break; case Token.COMMA: { Node next = child.getNext(); while (next != null) { generateCodeFromNode(child, node); addByteCode(ByteCode.POP); child = next; next = next.getNext(); } generateCodeFromNode(child, node); break; } case Token.NEWSCOPE: addScriptRuntimeInvoke("newScope", "()Lorg/mozilla/javascript/Scriptable;"); break; case Token.ENTERWITH: visitEnterWith(node, child); break; case Token.LEAVEWITH: visitLeaveWith(node, child); break; case Token.ENUMINIT: visitEnumInit(node, child); break; case Token.ENUMNEXT: visitEnumNext(node, child); break; case Token.ENUMDONE: visitEnumDone(node, child); break; case Token.POP: visitStatement(node); if (child.getType() == Token.SETVAR) { /* special case this so as to avoid unnecessary load's & pop's */ visitSetVar(child, child.getFirstChild(), false); } else { while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } if (node.getIntProp(Node.ISNUMBER_PROP, -1) != -1) addByteCode(ByteCode.POP2); else addByteCode(ByteCode.POP); } break; case Token.POPV: visitStatement(node); while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } astore(scriptResultLocal); break; case Token.TARGET: visitTarget(node); break; case Token.JSR: case Token.GOTO: case Token.IFEQ: case Token.IFNE: visitGOTO(node, type, child); break; case Token.NOT: { int trueTarget = acquireLabel(); int falseTarget = acquireLabel(); int beyond = acquireLabel(); generateIfJump(child, node, trueTarget, falseTarget); markLabel(trueTarget); classFile.add(ByteCode.GETSTATIC, "java/lang/Boolean", "FALSE", "Ljava/lang/Boolean;"); addByteCode(ByteCode.GOTO, beyond); markLabel(falseTarget); classFile.add(ByteCode.GETSTATIC, "java/lang/Boolean", "TRUE", "Ljava/lang/Boolean;"); markLabel(beyond); classFile.adjustStackTop(-1); break; } case Token.BITNOT: addByteCode(ByteCode.NEW, "java/lang/Double"); addByteCode(ByteCode.DUP); generateCodeFromNode(child, node); addScriptRuntimeInvoke("toInt32", "(Ljava/lang/Object;)I"); push(-1); // implement ~a as (a ^ -1) addByteCode(ByteCode.IXOR); addByteCode(ByteCode.I2D); addDoubleConstructor(); break; case Token.VOID: generateCodeFromNode(child, node); addByteCode(ByteCode.POP); pushUndefined(); break; case Token.TYPEOF: generateCodeFromNode(child, node); addScriptRuntimeInvoke("typeof", "(Ljava/lang/Object;" +")Ljava/lang/String;"); break; case Token.TYPEOFNAME: visitTypeofname(node); break; case Token.INC: visitIncDec(node, true); break; case Token.DEC: visitIncDec(node, false); break; case Token.OR: case Token.AND: { generateCodeFromNode(child, node); addByteCode(ByteCode.DUP); addScriptRuntimeInvoke("toBoolean", "(Ljava/lang/Object;)Z"); int falseTarget = acquireLabel(); if (type == Token.AND) addByteCode(ByteCode.IFEQ, falseTarget); else addByteCode(ByteCode.IFNE, falseTarget); addByteCode(ByteCode.POP); generateCodeFromNode(child.getNext(), node); markLabel(falseTarget); } break; case Token.ADD: { generateCodeFromNode(child, node); generateCodeFromNode(child.getNext(), node); switch (node.getIntProp(Node.ISNUMBER_PROP, -1)) { case Node.BOTH: addByteCode(ByteCode.DADD); break; case Node.LEFT: addOptRuntimeInvoke("add", "(DLjava/lang/Object;)Ljava/lang/Object;"); break; case Node.RIGHT: addOptRuntimeInvoke("add", "(Ljava/lang/Object;D)Ljava/lang/Object;"); break; default: addScriptRuntimeInvoke("add", "(Ljava/lang/Object;" +"Ljava/lang/Object;" +")Ljava/lang/Object;"); } } break; case Token.MUL: visitArithmetic(node, ByteCode.DMUL, child, parent); break; case Token.SUB: visitArithmetic(node, ByteCode.DSUB, child, parent); break; case Token.DIV: case Token.MOD: visitArithmetic(node, type == Token.DIV ? ByteCode.DDIV : ByteCode.DREM, child, parent); break; case Token.BITOR: case Token.BITXOR: case Token.BITAND: case Token.LSH: case Token.RSH: case Token.URSH: visitBitOp(node, type, child); break; case Token.POS: case Token.NEG: addByteCode(ByteCode.NEW, "java/lang/Double"); addByteCode(ByteCode.DUP); generateCodeFromNode(child, node); addScriptRuntimeInvoke("toNumber", "(Ljava/lang/Object;)D"); if (type == Token.NEG) { addByteCode(ByteCode.DNEG); } addDoubleConstructor(); break; case Optimizer.TO_DOUBLE: // cnvt to double (not Double) generateCodeFromNode(child, node); addScriptRuntimeInvoke("toNumber", "(Ljava/lang/Object;)D"); break; case Optimizer.TO_OBJECT: { // convert from double int prop = -1; if (child.getType() == Token.NUMBER) { prop = child.getIntProp(Node.ISNUMBER_PROP, -1); } if (prop != -1) { child.removeProp(Node.ISNUMBER_PROP); generateCodeFromNode(child, node); child.putIntProp(Node.ISNUMBER_PROP, prop); } else { addByteCode(ByteCode.NEW, "java/lang/Double"); addByteCode(ByteCode.DUP); generateCodeFromNode(child, node); addDoubleConstructor(); } break; } case Token.IN: case Token.INSTANCEOF: case Token.LE: case Token.LT: case Token.GE: case Token.GT: // need a result Object visitRelOp(node, child); break; case Token.EQ: case Token.NE: case Token.SHEQ: case Token.SHNE: visitEqOp(node, child); break; case Token.GETPROP: visitGetProp(node, child); break; case Token.GETELEM: while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } aload(variableObjectLocal); if (node.getIntProp(Node.ISNUMBER_PROP, -1) != -1) { addOptRuntimeInvoke( "getElem", "(Ljava/lang/Object;D" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"); } else { addScriptRuntimeInvoke( "getElem", "(Ljava/lang/Object;" +"Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"); } break; case Token.GETVAR: { OptLocalVariable lVar = (OptLocalVariable)(node.getProp(Node.VARIABLE_PROP)); visitGetVar(lVar, node.getIntProp(Node.ISNUMBER_PROP, -1) != -1, node.getString()); } break; case Token.SETVAR: visitSetVar(node, child, true); break; case Token.SETNAME: visitSetName(node, child); break; case Token.SETPROP: visitSetProp(node, child); break; case Token.SETELEM: while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } aload(variableObjectLocal); if (node.getIntProp(Node.ISNUMBER_PROP, -1) != -1) { addOptRuntimeInvoke( "setElem", "(Ljava/lang/Object;" +"D" +"Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"); } else { addScriptRuntimeInvoke( "setElem", "(Ljava/lang/Object;" +"Ljava/lang/Object;" +"Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"); } break; case Token.DELPROP: aload(contextLocal); aload(variableObjectLocal); while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } addScriptRuntimeInvoke("delete", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Ljava/lang/Object;" +"Ljava/lang/Object;" +")Ljava/lang/Object;"); break; case Token.BINDNAME: case Token.GETBASE: visitBind(node, type, child); break; case Token.GETTHIS: generateCodeFromNode(child, node); addScriptRuntimeInvoke("getThis", "(Lorg/mozilla/javascript/Scriptable;" +")Lorg/mozilla/javascript/Scriptable;"); break; case Token.PARENT: generateCodeFromNode(child, node); addScriptRuntimeInvoke("getParent", "(Ljava/lang/Object;" +")Lorg/mozilla/javascript/Scriptable;"); break; case Token.NEWTEMP: visitNewTemp(node, child); break; case Token.USETEMP: visitUseTemp(node, child); break; case Token.NEWLOCAL: visitNewLocal(node, child); break; case Token.USELOCAL: visitUseLocal(node, child); break; default: throw new RuntimeException("Unexpected node type "+type); } }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/bd2594e6ebd6d8099b587934641c8f7650d87761/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 1085, 28570, 12, 907, 756, 16, 2029, 982, 13, 565, 288, 3639, 368, 2332, 18, 659, 18, 8222, 2932, 4507, 981, 364, 315, 397, 756, 18, 10492, 10663, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 1620, 261, 723, 13, 288, 2868, 648, 3155, 18, 28677, 30, 2868, 648, 3155, 18, 9147, 30, 2868, 648, 3155, 18, 13545, 30, 7734, 3757, 3406, 12, 2159, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 2103, 1085, 28570, 12, 3624, 16, 756, 1769, 10792, 1151, 273, 1151, 18, 588, 2134, 5621, 7734, 289, 7734, 898, 31, 2868, 648, 3155, 18, 13415, 30, 2868, 648, 3155, 18, 5280, 30, 7734, 368, 11329, 12044, 1404, 4259, 506, 8056, 3205, 35, 2868, 648, 3155, 18, 10885, 30, 2868, 648, 3155, 18, 11403, 30, 2868, 648, 3155, 18, 13625, 30, 2868, 648, 3155, 18, 3417, 52, 30, 7734, 368, 1158, 17, 4473, 18, 7734, 3757, 3406, 12, 2159, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 2103, 1085, 28570, 12, 3624, 16, 756, 1769, 10792, 1151, 273, 1151, 18, 588, 2134, 5621, 7734, 289, 7734, 898, 31, 2868, 648, 3155, 18, 7788, 30, 7734, 309, 261, 267, 2083, 747, 982, 18, 588, 559, 1435, 480, 3155, 18, 10885, 13, 288, 10792, 509, 2295, 1016, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 12056, 2083, 907, 2295, 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, 3238, 918, 2103, 1085, 28570, 12, 907, 756, 16, 2029, 982, 13, 565, 288, 3639, 368, 2332, 18, 659, 18, 8222, 2932, 4507, 981, 364, 315, 397, 756, 18, 10492, 10663, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 1620, 261, 723, 13, 288, 2868, 648, 3155, 18, 28677, 30, 2868, 648, 3155, 18, 9147, 30, 2868, 648, 3155, 18, 13545, 30, 7734, 3757, 3406, 12, 2159, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 2103, 1085, 28570, 12, 3624, 16, 756, 1769, 10792, 1151, 273, 1151, 18, 588, 2134, 5621, 7734, 289, 7734, 898, 31, 2868, 648, 3155, 18, 13415, 30, 2868, 648, 2 ]
public void handleException(Throwable e) { super.handleException(e); removeListener(l); }
void fireListeners(final LabelProviderChangedEvent event) { Object [] array = listeners.getListeners(); for (int i = 0; i < array.length; i ++) { final ILabelProviderListener l = (ILabelProviderListener)array[i]; Platform.run(new SafeRunnable() { public void run() { l.labelProviderChanged(event); } public void handleException(Throwable e) { super.handleException(e); //If and unexpected exception happens, remove it //to make sure the workbench keeps running. removeListener(l); } }); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e8477e9d466ef58559b76fa62a3c7e84260a1416/DecoratorManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecoratorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 4452, 5583, 12, 6385, 5287, 2249, 27553, 871, 13, 288, 202, 202, 921, 5378, 526, 273, 4679, 18, 588, 5583, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 526, 18, 2469, 31, 277, 965, 13, 288, 1082, 202, 6385, 467, 2224, 2249, 2223, 328, 273, 261, 45, 2224, 2249, 2223, 13, 1126, 63, 77, 15533, 1082, 202, 8201, 18, 2681, 12, 2704, 14060, 20013, 1435, 288, 9506, 202, 482, 918, 1086, 1435, 288, 6862, 202, 80, 18, 1925, 2249, 5033, 12, 2575, 1769, 9506, 202, 97, 9506, 202, 482, 918, 20879, 12, 15155, 425, 13, 288, 6862, 202, 9565, 18, 4110, 503, 12, 73, 1769, 6862, 202, 759, 2047, 471, 9733, 1520, 10555, 16, 1206, 518, 6862, 202, 759, 869, 1221, 3071, 326, 1440, 22144, 20948, 3549, 18, 6862, 202, 4479, 2223, 12, 80, 1769, 9506, 202, 97, 1082, 202, 22938, 202, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 6459, 4452, 5583, 12, 6385, 5287, 2249, 27553, 871, 13, 288, 202, 202, 921, 5378, 526, 273, 4679, 18, 588, 5583, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 526, 18, 2469, 31, 277, 965, 13, 288, 1082, 202, 6385, 467, 2224, 2249, 2223, 328, 273, 261, 45, 2224, 2249, 2223, 13, 1126, 63, 77, 15533, 1082, 202, 8201, 18, 2681, 12, 2704, 14060, 20013, 1435, 288, 9506, 202, 482, 918, 1086, 1435, 288, 6862, 202, 80, 18, 1925, 2249, 5033, 12, 2575, 1769, 9506, 202, 97, 9506, 202, 482, 918, 20879, 12, 15155, 425, 13, 288, 6862, 202, 9565, 18, 4110, 503, 12, 73, 1769, 6862, 202, 759, 2047, 471, 9733, 1520, 2 ]
"http:
"http:
public DescriptorSpecification getSpecification() { return new DescriptorSpecification( "http://qsar.sourceforge.net/dicts/qsar-descriptors:LargestPiSystem", this.getClass().getName(), "$Id$", "The Chemistry Development Kit"); }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/e4d8df51acdc4001b3a539f04e0156e76d56d6b3/LargestPiSystemDescriptor.java/clean/src/org/openscience/cdk/qsar/descriptors/molecular/LargestPiSystemDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 12823, 8615, 20189, 1480, 1435, 288, 3639, 327, 394, 12823, 8615, 12, 7734, 315, 2505, 2207, 12926, 297, 18, 3168, 1884, 908, 18, 2758, 19, 16287, 19, 12926, 297, 17, 72, 8379, 30, 48, 11475, 16539, 3163, 3113, 7734, 333, 18, 588, 797, 7675, 17994, 9334, 7734, 4662, 548, 8, 3113, 7734, 315, 1986, 26542, 2128, 1505, 11284, 1475, 305, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 12823, 8615, 20189, 1480, 1435, 288, 3639, 327, 394, 12823, 8615, 12, 7734, 315, 2505, 2207, 12926, 297, 18, 3168, 1884, 908, 18, 2758, 19, 16287, 19, 12926, 297, 17, 72, 8379, 30, 48, 11475, 16539, 3163, 3113, 7734, 333, 18, 588, 797, 7675, 17994, 9334, 7734, 4662, 548, 8, 3113, 7734, 315, 1986, 26542, 2128, 1505, 11284, 1475, 305, 8863, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.err.println(name);
public static void main (String args[]) throws Exception { DefaultHandler handler = new DefaultHandler(); XSDHandler me = new XSDHandler(new XSGrammarResolver(), new XMLErrorReporter(), new EntityResolverWrapper(new org.apache.xerces.impl.v2.XSDHandler.DummyResolver()), new SymbolTable()); me.parseSchema(args[0], args[1]); Enumeration types = me.fUnparsedTypeRegistry.keys(); String name = null; while(types.hasMoreElements()) { name = (String)types.nextElement(); System.err.println(name); } System.err.println("traversing completed!"); } // main
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/3618bca0a04de9dccc91c9be85b335ec71742d27/XSDHandler.java/clean/src/org/apache/xerces/impl/v2/XSDHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 261, 780, 833, 63, 5717, 1216, 1185, 288, 3639, 2989, 1503, 1838, 273, 394, 2989, 1503, 5621, 3639, 26462, 1503, 1791, 273, 394, 26462, 1503, 12, 2704, 1139, 55, 18576, 4301, 9334, 394, 3167, 668, 13289, 9334, 394, 3887, 4301, 3611, 12, 2704, 2358, 18, 19211, 18, 92, 264, 764, 18, 11299, 18, 90, 22, 18, 31244, 1503, 18, 20094, 4301, 1435, 3631, 394, 8565, 1388, 10663, 3639, 1791, 18, 2670, 3078, 12, 1968, 63, 20, 6487, 833, 63, 21, 19226, 3639, 13864, 1953, 273, 1791, 18, 74, 984, 10817, 559, 4243, 18, 2452, 5621, 3639, 514, 508, 273, 446, 31, 3639, 1323, 12, 2352, 18, 5332, 7417, 3471, 10756, 288, 5411, 508, 273, 261, 780, 13, 2352,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 261, 780, 833, 63, 5717, 1216, 1185, 288, 3639, 2989, 1503, 1838, 273, 394, 2989, 1503, 5621, 3639, 26462, 1503, 1791, 273, 394, 26462, 1503, 12, 2704, 1139, 55, 18576, 4301, 9334, 394, 3167, 668, 13289, 9334, 394, 3887, 4301, 3611, 12, 2704, 2358, 18, 19211, 18, 92, 264, 764, 18, 11299, 18, 90, 22, 18, 31244, 1503, 18, 20094, 4301, 1435, 3631, 394, 8565, 1388, 10663, 3639, 1791, 18, 2670, 3078, 12, 1968, 63, 20, 6487, 833, 63, 21, 19226, 3639, 13864, 1953, 273, 1791, 18, 74, 984, 10817, 559, 4243, 18, 2452, 5621, 3639, 514, 508, 273, 446, 31, 3639, 1323, 12, 2352, 18, 5332, 7417, 3471, 10756, 288, 5411, 508, 273, 2 ]
Config.dbTag.set(originMA.toString());
Config.dbTag.set(dbName);
void initDB() { String juddiHomeDirProperty = System.getProperty("juddi.homeDir", ""); File juddiHomeDir = new File(juddiHomeDirProperty, originMA.toString()); if(!juddiHomeDir.isDirectory()) { if (!juddiHomeDir.mkdirs()) { logger.fatal("Unable to access jUDDI home directory " + juddiHomeDir.getAbsolutePath()); return; } } File confDir = new File(juddiHomeDir, "conf"); if(!confDir.isDirectory()) { if (!confDir.mkdirs()) { logger.fatal("Unable to access jUDDI configuration directory " + confDir.getAbsolutePath()); return; } } copyFiles("conf", confDir.toString()); Config.dbTag.set(originMA.toString()); if (logger.isDebugEnabled()) { // verify that we agree with juddi on home and config directories logger.debug(originMA.toString() + ": juddi home = " + Config.getHomeDir() + " YPServer thinks juddi home = " + juddiHomeDir); logger.debug(originMA.toString() + ": juddi config = " + Config.getConfigDir() + " YPServer thinks juddi config = " + confDir); } dbDirectory = new File(Config.getHomeDir(), "hsql"); dbDirectory.mkdirs(); synchronized (databaseLocker) { if (databaseEnvelope!=null) { // rehydrate! try { databaseEnvelope.dumpPayload(dbDirectory); snapshotDatabase(); // re-snapshot to avoid keeping a big array around // Note that this call re-syncs on databaseLocker // but we don't want a gap. return; // done - all is well } catch (IOException ioe) { logger.error("Unrecoverable database snapshot "+dbDirectory, ioe); } } // no successful recovery, so we'll have to start over org.juddi.datastore.jdbc.HSQLDataStoreFactory.getURL(); copyFiles("hsql", dbDirectory.getPath()); snapshotDatabase(); // take a snapshot immediately } //hack(); }
6378 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6378/3308560229777ec650839df6d3bc748d57c56f00/YPServer.java/buggy/yp/src/org/cougaar/yp/YPServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 1208, 2290, 1435, 288, 565, 514, 525, 20567, 77, 8684, 1621, 1396, 225, 273, 2332, 18, 588, 1396, 2932, 78, 20567, 77, 18, 8712, 1621, 3113, 1408, 1769, 5411, 1387, 525, 20567, 77, 8684, 1621, 273, 394, 1387, 12, 78, 20567, 77, 8684, 1621, 1396, 16, 4026, 5535, 18, 10492, 10663, 565, 309, 12, 5, 78, 20567, 77, 8684, 1621, 18, 291, 2853, 10756, 288, 1377, 309, 16051, 78, 20567, 77, 8684, 1621, 18, 24816, 8291, 10756, 288, 202, 4901, 18, 30709, 2932, 3370, 358, 2006, 525, 12587, 2565, 6382, 1867, 315, 397, 1875, 377, 525, 20567, 77, 8684, 1621, 18, 588, 10368, 743, 10663, 202, 2463, 31, 1377, 289, 565, 289, 565, 1387, 2195, 1621, 273, 394, 1387, 12, 78, 20567, 77, 8684, 1621, 16, 315, 3923, 8863, 565, 309, 12, 5, 3923, 1621, 18, 291, 2853, 10756, 288, 1377, 309, 16051, 3923, 1621, 18, 24816, 8291, 10756, 288, 202, 4901, 18, 30709, 2932, 3370, 358, 2006, 525, 12587, 2565, 1664, 1867, 315, 397, 1875, 377, 2195, 1621, 18, 588, 10368, 743, 10663, 202, 2463, 31, 1377, 289, 565, 289, 565, 1610, 2697, 2932, 3923, 3113, 2195, 1621, 18, 10492, 10663, 565, 1903, 18, 1966, 1805, 18, 542, 12, 1966, 461, 1769, 565, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 1377, 368, 3929, 716, 732, 1737, 992, 598, 525, 20567, 77, 603, 6382, 471, 642, 6402, 1377, 1194, 18, 4148, 12, 10012, 5535, 18, 10492, 1435, 397, 6398, 525, 20567, 77, 6382, 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, 918, 1208, 2290, 1435, 288, 565, 514, 525, 20567, 77, 8684, 1621, 1396, 225, 273, 2332, 18, 588, 1396, 2932, 78, 20567, 77, 18, 8712, 1621, 3113, 1408, 1769, 5411, 1387, 525, 20567, 77, 8684, 1621, 273, 394, 1387, 12, 78, 20567, 77, 8684, 1621, 1396, 16, 4026, 5535, 18, 10492, 10663, 565, 309, 12, 5, 78, 20567, 77, 8684, 1621, 18, 291, 2853, 10756, 288, 1377, 309, 16051, 78, 20567, 77, 8684, 1621, 18, 24816, 8291, 10756, 288, 202, 4901, 18, 30709, 2932, 3370, 358, 2006, 525, 12587, 2565, 6382, 1867, 315, 397, 1875, 377, 525, 20567, 77, 8684, 1621, 18, 588, 10368, 743, 10663, 202, 2463, 31, 1377, 289, 565, 289, 565, 1387, 2195, 1621, 273, 2 ]
public RaiseException newNoMethodError(String message) { return newRaiseException(getClass("NoMethodError"), message);
public RaiseException newNoMethodError(String message, String name) { return new RaiseException(new RubyNameError(this, this.getClass("NoMethodError"), message, name), true);
public RaiseException newNoMethodError(String message) { return newRaiseException(getClass("NoMethodError"), message); }
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/1278c5bb3507a052d150d814f15453542ae41aed/Ruby.java/buggy/src/org/jruby/Ruby.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 20539, 503, 394, 2279, 1305, 668, 12, 780, 883, 13, 288, 377, 202, 2463, 394, 30570, 503, 12, 588, 797, 2932, 2279, 1305, 668, 6, 3631, 883, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 20539, 503, 394, 2279, 1305, 668, 12, 780, 883, 13, 288, 377, 202, 2463, 394, 30570, 503, 12, 588, 797, 2932, 2279, 1305, 668, 6, 3631, 883, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return;
return;
private IProgressMonitorWithBlocking getBlockingProgressMonitor() { return new IProgressMonitorWithBlocking() { /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#beginTask(java.lang.String, * int) */ public void beginTask(String name, int totalWork) { final String finalName = name; final int finalWork = totalWork; runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { getProgressMonitor().beginTask(finalName, finalWork); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitorWithBlocking#clearBlocked() */ public void clearBlocked() { runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { ((IProgressMonitorWithBlocking) getProgressMonitor()) .clearBlocked(); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#done() */ public void done() { runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { getProgressMonitor().done(); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#internalWorked(double) */ public void internalWorked(double work) { final double finalWork = work; runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { getProgressMonitor().internalWorked(finalWork); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#isCanceled() */ public boolean isCanceled() { return getProgressMonitor().isCanceled(); } /** * Run the runnable as an asyncExec if we are already open. * * @param runnable */ private void runAsync(final Runnable runnable) { if (alreadyClosed) { return; } Shell currentShell = getShell(); Display display; if (currentShell == null) { display = Display.getDefault(); } else { if(currentShell.isDisposed())//Don't bother if it has been closed return; display = currentShell.getDisplay(); } display.asyncExec(new Runnable(){ /* (non-Javadoc) * @see java.lang.Runnable#run() */ public void run() { if (alreadyClosed) { return;//Check again as the async may come too late } Shell shell = getShell(); if(shell != null && shell.isDisposed()) return; runnable.run(); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitorWithBlocking#setBlocked(org.eclipse.core.runtime.IStatus) */ public void setBlocked(IStatus reason) { final IStatus finalReason = reason; runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { ((IProgressMonitorWithBlocking) getProgressMonitor()) .setBlocked(finalReason); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#setCanceled(boolean) */ public void setCanceled(boolean value) { // Just a listener - doesn't matter. } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#setTaskName(java.lang.String) */ public void setTaskName(String name) { final String finalName = name; runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { getProgressMonitor().setTaskName(finalName); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#subTask(java.lang.String) */ public void subTask(String name) { final String finalName = name; runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { getProgressMonitor().subTask(finalName); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#worked(int) */ public void worked(int work) { internalWorked(work); } }; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/35d15f71cf899f7392f14dee1944aa390f1a1388/ProgressMonitorFocusJobDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressMonitorFocusJobDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 5491, 7187, 1190, 8728, 336, 8728, 5491, 7187, 1435, 288, 202, 202, 2463, 394, 467, 5491, 7187, 1190, 8728, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 3644, 18, 9448, 18, 45, 5491, 7187, 7, 10086, 2174, 12, 6290, 18, 4936, 18, 780, 16, 9506, 380, 1377, 509, 13, 9506, 1195, 1082, 202, 482, 918, 2376, 2174, 12, 780, 508, 16, 509, 2078, 2421, 13, 288, 9506, 202, 6385, 514, 727, 461, 273, 508, 31, 9506, 202, 6385, 509, 727, 2421, 273, 2078, 2421, 31, 9506, 202, 2681, 2771, 12, 2704, 10254, 1435, 288, 6862, 202, 20308, 25083, 380, 261, 5836, 17, 24060, 13, 25083, 380, 9944, 380, 632, 5946, 2252, 18, 4936, 18, 20013, 7, 2681, 1435, 25083, 1195, 6862, 202, 482, 918, 1086, 1435, 288, 25083, 202, 588, 5491, 7187, 7675, 10086, 2174, 12, 6385, 461, 16, 727, 2421, 1769, 6862, 202, 97, 9506, 202, 22938, 1082, 202, 97, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 3644, 18, 9448, 18, 45, 5491, 7187, 1190, 8728, 7, 8507, 23722, 1435, 9506, 1195, 1082, 202, 482, 918, 2424, 23722, 1435, 288, 9506, 202, 2681, 2771, 12, 2704, 10254, 1435, 288, 6862, 202, 20308, 25083, 380, 261, 5836, 17, 24060, 13, 25083, 380, 9944, 380, 632, 5946, 2252, 18, 4936, 18, 20013, 7, 2681, 1435, 25083, 1195, 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, 467, 5491, 7187, 1190, 8728, 336, 8728, 5491, 7187, 1435, 288, 202, 202, 2463, 394, 467, 5491, 7187, 1190, 8728, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 3644, 18, 9448, 18, 45, 5491, 7187, 7, 10086, 2174, 12, 6290, 18, 4936, 18, 780, 16, 9506, 380, 1377, 509, 13, 9506, 1195, 1082, 202, 482, 918, 2376, 2174, 12, 780, 508, 16, 509, 2078, 2421, 13, 288, 9506, 202, 6385, 514, 727, 461, 273, 508, 31, 9506, 202, 6385, 509, 727, 2421, 273, 2078, 2421, 31, 9506, 202, 2681, 2771, 12, 2704, 10254, 1435, 288, 6862, 202, 20308, 25083, 380, 261, 5836, 2 ]
public void initDrawAttributes(GraphStructure graphStruct, Rectangle bounds) { (graphStruct.getAttributes()).put(this, this.attributes); GraphConstants.setAutoSize(this.attributes, true); GraphConstants.setVerticalTextPosition(this.attributes, JLabel.CENTER); GraphConstants.setBounds(this.attributes, bounds); try { ImageIcon icon = ImageLoader.getImageIcon("filter.GIF"); GraphConstants.setIcon(this.attributes, icon); } catch (Exception ex) { ex.printStackTrace(); } this.port = new DefaultPort(); this.add(this.port); // graphStruct.getCells().add(this); }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/9574bffa88473a3796b28f590b1c66b1a1a61c01/GEPhasedFilter.java/buggy/streams/src/streamit/eclipse/grapheditor/graph/GEPhasedFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 6493, 2498, 12, 4137, 6999, 2667, 3823, 16, 13264, 4972, 13, 202, 95, 202, 202, 12, 4660, 3823, 18, 588, 2498, 1435, 2934, 458, 12, 2211, 16, 333, 18, 4350, 1769, 25083, 202, 4137, 2918, 18, 542, 4965, 1225, 12, 2211, 18, 4350, 16, 638, 1769, 202, 202, 4137, 2918, 18, 542, 15704, 1528, 2555, 12, 2211, 18, 4350, 16, 21403, 18, 19835, 1769, 202, 202, 4137, 2918, 18, 542, 5694, 12, 2211, 18, 4350, 16, 4972, 1769, 1082, 202, 698, 3196, 202, 95, 1082, 202, 2040, 5554, 4126, 273, 3421, 2886, 18, 588, 2040, 5554, 2932, 2188, 18, 43, 5501, 8863, 1082, 202, 4137, 2918, 18, 542, 5554, 12, 2211, 18, 4350, 16, 4126, 1769, 202, 202, 97, 1044, 261, 503, 431, 13, 3196, 202, 95, 1082, 202, 338, 18, 1188, 6332, 5621, 202, 202, 97, 9506, 202, 2211, 18, 655, 273, 394, 2989, 2617, 5621, 202, 202, 2211, 18, 1289, 12, 2211, 18, 655, 1769, 9506, 202, 759, 202, 202, 4660, 3823, 18, 588, 10505, 7675, 1289, 12, 2211, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 6493, 2498, 12, 4137, 6999, 2667, 3823, 16, 13264, 4972, 13, 202, 95, 202, 202, 12, 4660, 3823, 18, 588, 2498, 1435, 2934, 458, 12, 2211, 16, 333, 18, 4350, 1769, 25083, 202, 4137, 2918, 18, 542, 4965, 1225, 12, 2211, 18, 4350, 16, 638, 1769, 202, 202, 4137, 2918, 18, 542, 15704, 1528, 2555, 12, 2211, 18, 4350, 16, 21403, 18, 19835, 1769, 202, 202, 4137, 2918, 18, 542, 5694, 12, 2211, 18, 4350, 16, 4972, 1769, 1082, 202, 698, 3196, 202, 95, 1082, 202, 2040, 5554, 4126, 273, 3421, 2886, 18, 588, 2040, 5554, 2932, 2188, 18, 43, 5501, 8863, 1082, 202, 4137, 2918, 18, 542, 5554, 12, 2211, 18, 4350, 16, 2 ]
setupLex(Parser.JAVADOCTAGMARK); setupLex(Parser.JAVADOCTOKEN, "mock");
setupLex(Parser.JAVADOCTAG, "@mock");
public void testMultipleJavaDocTags() throws Exception { // setup values setupLex(Parser.JAVADOCSTART); setupLex(Parser.JAVADOCNEWLINE); setupLex(Parser.JAVADOCTAGMARK); setupLex(Parser.JAVADOCTOKEN, "This"); setupLex(Parser.JAVADOCTOKEN, "is"); setupLex(Parser.JAVADOCTOKEN, "great!"); setupLex(Parser.JAVADOCNEWLINE); setupLex(Parser.JAVADOCTAGMARK); setupLex(Parser.JAVADOCTOKEN, "mock"); setupLex(Parser.JAVADOCTOKEN, "generate"); setupLex(Parser.JAVADOCNEWLINE); setupLex(Parser.JAVADOCEND); setupLex(0); // expectations builder.addExpectedAddJavaDocValues(""); builder.addExpectedAddJavaDocTagValues("This", "is great!"); builder.addExpectedAddJavaDocTagValues("mock", "generate"); // execute Parser parser = new Parser(lexer, builder); parser.parse(); // verify builder.verify(); }
2045 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2045/145f451ef926e63f0552aa1026ac26bce61857e0/ParserTest.java/buggy/qdox/src/test/com/thoughtworks/qdox/parser/ParserTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 8438, 5852, 1759, 3453, 1435, 1216, 1185, 288, 3639, 368, 3875, 924, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 10809, 7570, 1769, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 10809, 12917, 5997, 1769, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 51, 1268, 1781, 12693, 1769, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 51, 1268, 6239, 16, 315, 2503, 8863, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 51, 1268, 6239, 16, 315, 291, 8863, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 51, 1268, 6239, 16, 315, 75, 6150, 4442, 1769, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 10809, 12917, 5997, 1769, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 51, 1268, 1781, 12693, 1769, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 51, 1268, 6239, 16, 315, 22851, 8863, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 51, 1268, 6239, 16, 315, 7163, 8863, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 10809, 12917, 5997, 1769, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 10809, 4415, 1769, 3639, 3875, 14756, 12, 20, 1769, 3639, 368, 26305, 3639, 2089, 18, 1289, 6861, 986, 5852, 1759, 1972, 2932, 8863, 3639, 2089, 18, 1289, 6861, 986, 5852, 1759, 1805, 1972, 2932, 2503, 3113, 315, 291, 18825, 4442, 1769, 3639, 2089, 18, 1289, 6861, 986, 5852, 1759, 1805, 1972, 2932, 22851, 3113, 315, 7163, 8863, 3639, 368, 1836, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 8438, 5852, 1759, 3453, 1435, 1216, 1185, 288, 3639, 368, 3875, 924, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 10809, 7570, 1769, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 10809, 12917, 5997, 1769, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 51, 1268, 1781, 12693, 1769, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 51, 1268, 6239, 16, 315, 2503, 8863, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 51, 1268, 6239, 16, 315, 291, 8863, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 51, 1268, 6239, 16, 315, 75, 6150, 4442, 1769, 3639, 3875, 14756, 12, 2678, 18, 46, 5856, 1880, 10809, 12917, 5997, 1769, 3639, 2 ]
private void sqlInsertMenu( TextDocumentDomainObject textDocument, int menuIndex, MenuDomainObject menu ) {
private void sqlInsertMenu(TextDocumentDomainObject textDocument, int menuIndex, MenuDomainObject menu) {
private void sqlInsertMenu( TextDocumentDomainObject textDocument, int menuIndex, MenuDomainObject menu ) { String sqlInsertMenu = "INSERT INTO menus (meta_id, menu_index, sort_order) VALUES(?,?,?) SELECT @@IDENTITY"; String menuIdString = service.sqlQueryStr( sqlInsertMenu, new String[]{ "" + textDocument.getId(), "" + menuIndex, "" + menu.getSortOrder() } ); int menuId = Integer.parseInt( menuIdString ); menu.setId( menuId ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/426e02922134692191843388e801681038ccfaaa/DocumentStoringVisitor.java/clean/server/src/imcode/server/document/DocumentStoringVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1847, 4600, 4599, 12, 3867, 2519, 3748, 921, 977, 2519, 16, 509, 3824, 1016, 16, 27573, 9809, 3748, 921, 3824, 262, 288, 3639, 514, 1847, 4600, 4599, 273, 315, 11356, 12421, 21374, 261, 3901, 67, 350, 16, 3824, 67, 1615, 16, 1524, 67, 1019, 13, 13477, 3680, 27166, 16, 8535, 9111, 22175, 29413, 14432, 3639, 514, 3824, 548, 780, 273, 1156, 18, 4669, 1138, 1585, 12, 1847, 4600, 4599, 16, 394, 514, 63, 7073, 5411, 1408, 397, 977, 2519, 18, 26321, 9334, 1408, 397, 3824, 1016, 16, 1408, 397, 3824, 18, 588, 31460, 1435, 3639, 289, 11272, 3639, 509, 3824, 548, 273, 2144, 18, 2670, 1702, 12, 3824, 548, 780, 11272, 3639, 3824, 18, 542, 548, 12, 3824, 548, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1847, 4600, 4599, 12, 3867, 2519, 3748, 921, 977, 2519, 16, 509, 3824, 1016, 16, 27573, 9809, 3748, 921, 3824, 262, 288, 3639, 514, 1847, 4600, 4599, 273, 315, 11356, 12421, 21374, 261, 3901, 67, 350, 16, 3824, 67, 1615, 16, 1524, 67, 1019, 13, 13477, 3680, 27166, 16, 8535, 9111, 22175, 29413, 14432, 3639, 514, 3824, 548, 780, 273, 1156, 18, 4669, 1138, 1585, 12, 1847, 4600, 4599, 16, 394, 514, 63, 7073, 5411, 1408, 397, 977, 2519, 18, 26321, 9334, 1408, 397, 3824, 1016, 16, 1408, 397, 3824, 18, 588, 31460, 1435, 3639, 289, 11272, 3639, 509, 3824, 548, 273, 2144, 18, 2670, 1702, 12, 3824, 548, 780, 11272, 3639, 3824, 18, 542, 548, 2 ]
public static RubyHash unmarshalFrom(UnmarshalStream input) throws java.io.IOException {
public static RubyHash unmarshalFrom(UnmarshalStream input) throws IOException {
public static RubyHash unmarshalFrom(UnmarshalStream input) throws java.io.IOException { RubyHash result = newHash(input.getRuntime()); input.registerLinkTarget(result); int size = input.unmarshalInt(); for (int i = 0; i < size; i++) { IRubyObject key = input.unmarshalObject(); IRubyObject value = input.unmarshalObject(); result.aset(key, value); } return result; }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/d70012034b8795a6917f9e3b903281a59f12d372/RubyHash.java/buggy/src/org/jruby/RubyHash.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 2310, 11401, 1265, 12, 9593, 1228, 810, 13, 1216, 1860, 288, 3639, 19817, 2310, 563, 273, 394, 2310, 12, 2630, 18, 588, 5576, 10663, 3639, 810, 18, 4861, 2098, 2326, 12, 2088, 1769, 3639, 509, 963, 273, 810, 18, 318, 3108, 1702, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 963, 31, 277, 27245, 288, 5411, 15908, 10340, 921, 498, 273, 810, 18, 318, 3108, 921, 5621, 5411, 15908, 10340, 921, 460, 273, 810, 18, 318, 3108, 921, 5621, 5411, 563, 18, 2759, 12, 856, 16, 460, 1769, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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, 509, 963, 273, 810, 18, 318, 3108, 1702, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 963, 31, 277, 27245, 288, 5411, 15908, 10340, 921, 498, 273, 810, 18, 318, 3108, 921, 5621, 5411, 15908, 10340, 921, 460, 273, 810, 18, 318, 3108, 921, 5621, 5411, 563, 18, 2759, 12, 856, 16, 460, 1769, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Map parameters = new HashMap();
mojo.setOutputDirectory( outputDirectory.getAbsolutePath() );
public void testModelloJPoxMojo() throws Exception { ModelloCore modelloCore = (ModelloCore) lookup( ModelloCore.ROLE ); ModelloJPoxJdoMappingMojo mojo = new ModelloJPoxJdoMappingMojo(); File outputDirectory = getTestFile( "target/jpox-jdo-mapping-test" ); if ( outputDirectory.exists() ) { FileUtils.deleteDirectory( outputDirectory ); } assertTrue( outputDirectory.mkdirs() ); // ---------------------------------------------------------------------- // Call the mojo // ---------------------------------------------------------------------- Map parameters = new HashMap(); parameters.put( "outputDirectory", outputDirectory.getAbsolutePath() ); parameters.put( "model", getTestPath( "src/test/resources/jpox-model.mdo" ) ); parameters.put( "version", "1.0.0" ); parameters.put( "packageWithVersion", Boolean.FALSE.toString() ); parameters.put( "modelloCore", modelloCore ); PluginExecutionRequest request = new PluginExecutionRequest( parameters ); PluginExecutionResponse response = new PluginExecutionResponse(); mojo.execute( request, response ); // ---------------------------------------------------------------------- // Assert // ---------------------------------------------------------------------- File configuration = new File( outputDirectory, "META-INF/package.jdo" ); assertTrue( "Could not read the jpox configuration.", configuration.canRead() ); }
47828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47828/f3a18a3eac35f7a4bd902ca51b3d1dc5fb722c2a/ModelloJPoxJdoMappingMojoTest.java/clean/modello-maven-plugin/src/test/java/org/codehaus/modello/ModelloJPoxJdoMappingMojoTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1488, 383, 29532, 2409, 49, 10007, 1435, 3639, 1216, 1185, 565, 288, 3639, 3164, 383, 4670, 938, 383, 4670, 273, 261, 1488, 383, 4670, 13, 3689, 12, 3164, 383, 4670, 18, 16256, 11272, 3639, 3164, 383, 29532, 2409, 46, 2896, 3233, 49, 10007, 312, 10007, 273, 394, 3164, 383, 29532, 2409, 46, 2896, 3233, 49, 10007, 5621, 3639, 1387, 29373, 273, 29384, 812, 12, 315, 3299, 19, 78, 1631, 92, 17, 78, 2896, 17, 6770, 17, 3813, 6, 11272, 3639, 309, 261, 29373, 18, 1808, 1435, 262, 3639, 288, 5411, 13779, 18, 3733, 2853, 12, 29373, 11272, 3639, 289, 3639, 1815, 5510, 12, 29373, 18, 24816, 8291, 1435, 11272, 3639, 368, 8879, 13465, 3639, 368, 3049, 326, 312, 10007, 3639, 368, 8879, 13465, 3639, 312, 10007, 18, 542, 1447, 2853, 12, 29373, 18, 588, 10368, 743, 1435, 11272, 3639, 1472, 18, 458, 12, 315, 2844, 2853, 3113, 29373, 18, 588, 10368, 743, 1435, 11272, 3639, 1472, 18, 458, 12, 315, 2284, 3113, 29384, 743, 12, 315, 4816, 19, 3813, 19, 4683, 19, 78, 1631, 92, 17, 2284, 18, 1264, 83, 6, 262, 11272, 3639, 1472, 18, 458, 12, 315, 1589, 3113, 315, 21, 18, 20, 18, 20, 6, 11272, 3639, 1472, 18, 458, 12, 315, 5610, 1190, 1444, 3113, 3411, 18, 21053, 18, 10492, 1435, 11272, 3639, 1472, 18, 458, 12, 315, 2284, 383, 4670, 3113, 938, 383, 4670, 11272, 3639, 6258, 3210, 691, 590, 273, 394, 6258, 3210, 691, 12, 1472, 11272, 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, 1488, 383, 29532, 2409, 49, 10007, 1435, 3639, 1216, 1185, 565, 288, 3639, 3164, 383, 4670, 938, 383, 4670, 273, 261, 1488, 383, 4670, 13, 3689, 12, 3164, 383, 4670, 18, 16256, 11272, 3639, 3164, 383, 29532, 2409, 46, 2896, 3233, 49, 10007, 312, 10007, 273, 394, 3164, 383, 29532, 2409, 46, 2896, 3233, 49, 10007, 5621, 3639, 1387, 29373, 273, 29384, 812, 12, 315, 3299, 19, 78, 1631, 92, 17, 78, 2896, 17, 6770, 17, 3813, 6, 11272, 3639, 309, 261, 29373, 18, 1808, 1435, 262, 3639, 288, 5411, 13779, 18, 3733, 2853, 12, 29373, 11272, 3639, 289, 3639, 1815, 5510, 12, 29373, 18, 24816, 8291, 1435, 11272, 3639, 368, 8879, 13465, 3639, 368, 2 ]
public CallableStatement fireCallableOperation(Operation op,
public CallableStatement fireCallableOperation(Operation op,
public CallableStatement fireCallableOperation(Operation op, DataContainer source, List variables) { Element el = Element.parse(op.getSQL()); StringBuffer sql = new StringBuffer("{"); List leafs = el.getLeafElements(); for (int i = 0; i < leafs.size(); i++) { Element leaf = (Element) leafs.get(i); if (leaf.isBindVar()) { // we need the substring call to get rid of the leading ":" variables.add(((Identifier) leaf).toString().substring(1)); sql.append("?"); if (i == 0) { sql.append(" = call "); i++; } } else { if (i == 0) { sql.append("call "); } sql.append(" " + leaf + " "); } } sql.append("}"); String sqlString = sql.toString(); com.arsdigita.db.CallableStatement cs; // This will only work correctly if conn is really of type // com.arsdigita.db.Connection. try { cs = (com.arsdigita.db.CallableStatement)getConnection() .prepareCall(sqlString); } catch (SQLException e) { throw PersistenceException.newInstance(e); } catch (ClassCastException e) { throw PersistenceException.newInstance(e); } // this close after use will be automatically set to false if any // out params are registered, since we can't know when // to close if there are out parameters. cs.setCloseAfterUse(true); try { for (int i = 0; i < variables.size(); i++) { String variable = (String) variables.get(i); cs.registerOutParameter(i + 1, op.getBindType(variable)); Object value = source.lookupValue(new String[] {variable}); if (value != null) { // the next IF statement allows us to allow users // to pass in java.util.Date instead of having to // pass in java.sql.Date (and loose the seconds) or // the java.sql.Timestamp if (value instanceof java.util.Date) { value = new java.sql.Timestamp (((java.util.Date)value).getTime()); } cs.setObject(i + 1, value); } } } catch (Exception e) { throw PersistenceException.newInstance ("Error preparing CallableStatement: " + Utilities.LINE_BREAK + sql.toString() + Utilities.LINE_BREAK + "Variables: " + variables, e); } if ((!el.isSelect() || el.isSelectForUpdate()) && !el.isDDL()) { cs.setNeedsAutoCommitOff(true); } else { cs.setNeedsAutoCommitOff(false); } try { cs.execute(); return cs; } catch (SQLException e) { throw PersistenceException.newInstance ("Error executing SQL: " + Utilities.LINE_BREAK + sqlString, e); } }
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/558097820abc0198518796cedde797658cda9a5e/DataStore.java/buggy/archive/core-platform/src/com/arsdigita/persistence/DataStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10464, 3406, 4452, 11452, 2988, 12, 2988, 1061, 16, 4766, 10792, 1910, 2170, 1084, 16, 4766, 10402, 987, 3152, 13, 288, 3639, 3010, 415, 273, 3010, 18, 2670, 12, 556, 18, 588, 3997, 10663, 3639, 6674, 1847, 273, 394, 6674, 2932, 95, 8863, 3639, 987, 7839, 87, 273, 415, 18, 588, 9858, 3471, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 7839, 87, 18, 1467, 5621, 277, 27245, 288, 5411, 3010, 7839, 273, 261, 1046, 13, 7839, 87, 18, 588, 12, 77, 1769, 5411, 309, 261, 12070, 18, 291, 3357, 1537, 10756, 288, 7734, 368, 732, 1608, 326, 3019, 745, 358, 336, 10911, 434, 326, 7676, 6153, 7734, 3152, 18, 1289, 12443, 12, 3004, 13, 7839, 2934, 10492, 7675, 28023, 12, 21, 10019, 7734, 1847, 18, 6923, 2932, 7225, 1769, 7734, 309, 261, 77, 422, 374, 13, 288, 10792, 1847, 18, 6923, 2932, 273, 745, 315, 1769, 10792, 277, 9904, 31, 7734, 289, 5411, 289, 469, 288, 7734, 309, 261, 77, 422, 374, 13, 288, 10792, 1847, 18, 6923, 2932, 1991, 315, 1769, 7734, 289, 7734, 1847, 18, 6923, 2932, 315, 397, 7839, 397, 315, 315, 1769, 5411, 289, 3639, 289, 3639, 1847, 18, 6923, 2932, 1532, 1769, 3639, 514, 1847, 780, 273, 1847, 18, 10492, 5621, 3639, 532, 18, 5913, 11052, 69, 18, 1966, 18, 11452, 3406, 2873, 31, 3639, 368, 1220, 903, 1338, 1440, 8783, 309, 1487, 353, 8654, 434, 618, 540, 368, 532, 18, 5913, 11052, 69, 18, 1966, 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, 10464, 3406, 4452, 11452, 2988, 12, 2988, 1061, 16, 4766, 10792, 1910, 2170, 1084, 16, 4766, 10402, 987, 3152, 13, 288, 3639, 3010, 415, 273, 3010, 18, 2670, 12, 556, 18, 588, 3997, 10663, 3639, 6674, 1847, 273, 394, 6674, 2932, 95, 8863, 3639, 987, 7839, 87, 273, 415, 18, 588, 9858, 3471, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 7839, 87, 18, 1467, 5621, 277, 27245, 288, 5411, 3010, 7839, 273, 261, 1046, 13, 7839, 87, 18, 588, 12, 77, 1769, 5411, 309, 261, 12070, 18, 291, 3357, 1537, 10756, 288, 7734, 368, 732, 1608, 326, 3019, 745, 358, 336, 10911, 434, 326, 7676, 6153, 7734, 3152, 18, 1289, 12443, 12, 3004, 2 ]
}
}
private void initTable() //ok -- !!ima za dovyr6wane - skrivane na koloni!! { try { countriesT.setFlag(flag_pm); rs = countriesT.getTable(); //columnsNames = null; model = new imakante.com.CustomTableModel(conn,rs, columnsNames); table = new imakante.com.CustomTable(model); } catch(Exception e) { e.printStackTrace(); } table.requestFocus(); try { table.setEditingRow(0); } catch(Exception ex) { } // HideColumns(getColumnIndex("id_pm")); HideColumns(getColumnIndex("id_pp")); HideColumns(getColumnIndex("id_ppp")); HideColumns(getColumnIndex("id_pd")); HideColumns(getColumnIndex("id_pf")); HideColumns(getColumnIndex("m1_pd")); HideColumns(getColumnIndex("m2_pd")); HideColumns(getColumnIndex("m3_pd")); HideColumns(getColumnIndex("v1_pd")); HideColumns(getColumnIndex("v2_pd")); HideColumns(getColumnIndex("v3_pd")); HideColumns(getColumnIndex("flag_pm")); HideColumns(getColumnIndex("id_sl_curs")); HideColumns(getColumnIndex("id_n_group")); }
12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/7faacb2f15fd2a7082ec1a40f155d879f6a11b69/FrmProduct.java/buggy/src/nom/FrmProduct.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 1208, 1388, 1435, 368, 601, 225, 1493, 401, 5, 13888, 25001, 741, 29139, 86, 26, 91, 8806, 300, 4343, 86, 427, 8806, 9583, 417, 355, 265, 77, 8548, 565, 288, 1377, 775, 3639, 288, 5411, 17603, 56, 18, 542, 4678, 12, 6420, 67, 7755, 1769, 5411, 3597, 273, 17603, 56, 18, 588, 1388, 5621, 6647, 368, 5112, 1557, 273, 446, 31, 5411, 938, 273, 394, 709, 581, 7974, 18, 832, 18, 3802, 1388, 1488, 12, 4646, 16, 5453, 16, 2168, 1557, 1769, 5411, 1014, 273, 394, 709, 581, 7974, 18, 832, 18, 3802, 1388, 12, 2284, 1769, 4766, 5411, 289, 4202, 1044, 12, 503, 425, 13, 4202, 288, 6647, 425, 18, 1188, 6332, 5621, 4202, 289, 4202, 1014, 18, 2293, 9233, 5621, 4202, 775, 3639, 288, 1850, 1014, 18, 542, 28029, 1999, 12, 20, 1769, 4202, 289, 540, 1044, 12, 503, 431, 13, 540, 288, 7734, 289, 4202, 368, 25180, 3380, 12, 588, 21689, 2932, 350, 67, 7755, 7923, 1769, 540, 25180, 3380, 12, 588, 21689, 2932, 350, 67, 11858, 7923, 1769, 540, 25180, 3380, 12, 588, 21689, 2932, 350, 67, 11858, 84, 7923, 1769, 3639, 25180, 3380, 12, 588, 21689, 2932, 350, 67, 22353, 7923, 1769, 3639, 25180, 3380, 12, 588, 21689, 2932, 350, 67, 14241, 7923, 1769, 3639, 25180, 3380, 12, 588, 21689, 2932, 81, 21, 67, 22353, 7923, 1769, 3639, 25180, 3380, 12, 588, 21689, 2932, 81, 22, 67, 22353, 7923, 1769, 3639, 25180, 3380, 12, 588, 21689, 2932, 81, 23, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 1208, 1388, 1435, 368, 601, 225, 1493, 401, 5, 13888, 25001, 741, 29139, 86, 26, 91, 8806, 300, 4343, 86, 427, 8806, 9583, 417, 355, 265, 77, 8548, 565, 288, 1377, 775, 3639, 288, 5411, 17603, 56, 18, 542, 4678, 12, 6420, 67, 7755, 1769, 5411, 3597, 273, 17603, 56, 18, 588, 1388, 5621, 6647, 368, 5112, 1557, 273, 446, 31, 5411, 938, 273, 394, 709, 581, 7974, 18, 832, 18, 3802, 1388, 1488, 12, 4646, 16, 5453, 16, 2168, 1557, 1769, 5411, 1014, 273, 394, 709, 581, 7974, 18, 832, 18, 3802, 1388, 12, 2284, 1769, 4766, 5411, 289, 4202, 1044, 12, 503, 425, 13, 4202, 288, 6647, 425, 18, 1188, 6332, 5621, 4202, 289, 4202, 2 ]
{ int sql_type = getField(column).getSQLType(); switch (sql_type) { case Types.SMALLINT: return 0; case Types.INTEGER: return 0; case Types.REAL: return 8; case Types.FLOAT: return 16; case Types.DOUBLE: return 16; default: throw new SQLException("no scale for non-numeric data types"); } }
{ int sql_type = getField(column).getSQLType(); switch (sql_type) { case Types.SMALLINT: return 0; case Types.INTEGER: return 0; case Types.REAL: return 8; case Types.FLOAT: return 16; case Types.DOUBLE: return 16; default: throw new SQLException("no scale for non-numeric data types"); } }
public int getScale(int column) throws SQLException { int sql_type = getField(column).getSQLType(); switch (sql_type) { case Types.SMALLINT: return 0; case Types.INTEGER: return 0; case Types.REAL: return 8; case Types.FLOAT: return 16; case Types.DOUBLE: return 16; default: throw new SQLException("no scale for non-numeric data types"); } }
49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/6a061da272f04e1463864065f87f1f3fd61d6162/ResultSetMetaData.java/buggy/src/interfaces/jdbc/postgresql/ResultSetMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 1322, 1869, 12, 474, 1057, 13, 1216, 6483, 202, 95, 202, 202, 474, 1847, 67, 723, 273, 5031, 12, 2827, 2934, 588, 3997, 559, 5621, 202, 202, 9610, 261, 4669, 67, 723, 13, 202, 202, 95, 1082, 202, 3593, 7658, 18, 23882, 3217, 30, 9506, 202, 2463, 374, 31, 1082, 202, 3593, 7658, 18, 14217, 30, 9506, 202, 2463, 374, 31, 1082, 202, 3593, 7658, 18, 31052, 30, 9506, 202, 2463, 1725, 31, 1082, 202, 3593, 7658, 18, 15640, 30, 9506, 202, 2463, 2872, 31, 1082, 202, 3593, 7658, 18, 17088, 30, 9506, 202, 2463, 2872, 31, 1082, 202, 1886, 30, 9506, 202, 12849, 394, 6483, 2932, 2135, 3159, 364, 1661, 17, 5246, 501, 1953, 8863, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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202, 202, 9610, 261, 4669, 67, 723, 13, 202, 202, 95, 1082, 202, 3593, 7658, 18, 23882, 3217, 30, 9506, 202, 2463, 374, 31, 1082, 202, 3593, 7658, 18, 14217, 30, 9506, 202, 2463, 374, 31, 1082, 202, 3593, 7658, 18, 31052, 30, 9506, 202, 2463, 1725, 31, 1082, 202, 3593, 7658, 18, 15640, 30, 9506, 202, 2463, 2872, 31, 1082, 202, 3593, 7658, 18, 17088, 30, 9506, 202, 2463, 2872, 31, 1082, 202, 1886, 30, 9506, 202, 12849, 394, 6483, 2932, 2135, 3159, 364, 1661, 17, 5246, 501, 1953, 2 ]
return contentType; }
return contentType; }
public String getContentType() { return contentType; }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/c94b7421a32b1583fb8dd65d3de21fd43b09dc90/WebClient.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/WebClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 514, 17470, 1435, 288, 7734, 327, 5064, 31, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 2398, 1071, 514, 17470, 1435, 288, 7734, 327, 5064, 31, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (fValue > b.fValue) {
} else if (value > b.value) {
public int compareTo(Double b) { if (fValue < b.fValue) { return -1; } else if (fValue > b.fValue) { return 1; } else { return 0; } }
25979 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25979/3df67a1be8e33d1ba411241de9fc6873bac67590/Double.java/buggy/user/super/com/google/gwt/emul/java/lang/Double.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 9292, 12, 5265, 324, 13, 288, 565, 309, 261, 74, 620, 411, 324, 18, 74, 620, 13, 288, 1377, 327, 300, 21, 31, 565, 289, 469, 309, 261, 1132, 405, 324, 18, 1132, 13, 288, 1377, 327, 404, 31, 565, 289, 469, 288, 1377, 327, 374, 31, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 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, 509, 9292, 12, 5265, 324, 13, 288, 565, 309, 261, 74, 620, 411, 324, 18, 74, 620, 13, 288, 1377, 327, 300, 21, 31, 565, 289, 469, 309, 261, 1132, 405, 324, 18, 1132, 13, 288, 1377, 327, 404, 31, 565, 289, 469, 288, 1377, 327, 374, 31, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 String contentVariableName; final String finalString; final PsiStatement statementToSkip;
private String createCollectionIterationText(PsiForStatement forStatement, Project project) throws IncorrectOperationException{ final int length = forStatement.getText().length(); final StringBuffer out = new StringBuffer(length); final PsiStatement body = forStatement.getBody(); final PsiStatement firstStatement = getFirstStatement(body); final String contentVariableName; final String finalString; final PsiStatement statementToSkip; final PsiStatement initialization = forStatement.getInitialization(); final PsiDeclarationStatement declaration = (PsiDeclarationStatement) initialization; final PsiLocalVariable iterator = (PsiLocalVariable) declaration.getDeclaredElements()[0]; final PsiMethodCallExpression initializer = (PsiMethodCallExpression) iterator.getInitializer(); final PsiExpression collection = initializer.getMethodExpression() .getQualifierExpression(); final PsiClassType type = (PsiClassType) collection.getType(); final PsiType[] parameters = type.getParameters(); final String contentTypeString; if(parameters.length == 1){ final PsiType parameterType = parameters[0]; if(parameterType instanceof PsiWildcardType){ final PsiWildcardType wildcardType = (PsiWildcardType) parameterType; final PsiType bound = wildcardType.getExtendsBound(); contentTypeString = bound.getCanonicalText(); } else{ contentTypeString = parameterType.getCanonicalText(); } } else{ contentTypeString = "java.lang.Object"; } final PsiManager psiManager = PsiManager.getInstance(project); final PsiElementFactory elementFactory = psiManager.getElementFactory(); final PsiType contentType = elementFactory.createTypeFromText(contentTypeString, forStatement); final String iteratorName = iterator.getName(); final boolean isDeclaration = isIteratorNextDeclaration(firstStatement, iteratorName, contentTypeString); if(isDeclaration){ final PsiDeclarationStatement decl = (PsiDeclarationStatement) firstStatement; assert decl != null; final PsiElement[] declaredElements = decl.getDeclaredElements(); final PsiLocalVariable localVar = (PsiLocalVariable) declaredElements[0]; contentVariableName = localVar.getName(); statementToSkip = decl; if(localVar.hasModifierProperty(PsiModifier.FINAL)){ finalString = "final "; } else{ finalString = ""; } } else{ if(collection instanceof PsiReferenceExpression){ final String collectionName = ((PsiReferenceExpression) collection).getReferenceName(); contentVariableName = createNewVarName(project, forStatement, contentType, collectionName); } else{ contentVariableName = createNewVarName(project, forStatement, contentType, null); } if(CodeStyleSettingsManager.getSettings(project).GENERATE_FINAL_LOCALS){ finalString = "final "; } else{ finalString = ""; } statementToSkip = null; } out.append("for(" + finalString + contentTypeString + ' ' + contentVariableName + ": " + collection.getText() + ')'); replaceIteratorNext(body, contentVariableName, iteratorName, statementToSkip, out, contentTypeString); return out.toString(); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/fca4a2a7b3bb9b4ae2848f026d06eb262318948d/ForCanBeForeachInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/jdk15/ForCanBeForeachInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 514, 752, 2532, 10795, 1528, 12, 52, 7722, 1290, 3406, 364, 3406, 16, 4766, 5397, 5420, 1984, 13, 7734, 1216, 657, 6746, 10602, 95, 5411, 727, 509, 769, 273, 364, 3406, 18, 588, 1528, 7675, 2469, 5621, 5411, 727, 6674, 596, 273, 394, 6674, 12, 2469, 1769, 5411, 727, 453, 7722, 3406, 1417, 273, 364, 3406, 18, 588, 2250, 5621, 5411, 727, 453, 7722, 3406, 1122, 3406, 273, 7521, 3406, 12, 3432, 1769, 5411, 727, 514, 913, 21519, 31, 5411, 727, 514, 727, 780, 31, 5411, 727, 453, 7722, 3406, 3021, 774, 6368, 31, 5411, 727, 453, 7722, 3406, 10313, 273, 10792, 364, 3406, 18, 588, 17701, 5621, 5411, 727, 453, 7722, 6094, 3406, 8266, 273, 10792, 261, 52, 7722, 6094, 3406, 13, 10313, 31, 5411, 727, 453, 7722, 2042, 3092, 2775, 273, 10792, 261, 52, 7722, 2042, 3092, 13, 8266, 18, 588, 18888, 3471, 1435, 63, 20, 15533, 5411, 727, 453, 7722, 12592, 2300, 12562, 273, 10792, 261, 52, 7722, 12592, 2300, 13, 2775, 18, 588, 14729, 5621, 5411, 727, 453, 7722, 2300, 1849, 273, 12562, 18, 588, 1305, 2300, 1435, 10792, 263, 588, 16185, 2300, 5621, 5411, 727, 453, 7722, 18328, 618, 273, 261, 52, 7722, 18328, 13, 1849, 18, 588, 559, 5621, 5411, 727, 453, 7722, 559, 8526, 1472, 273, 618, 18, 588, 2402, 5621, 5411, 727, 514, 5064, 780, 31, 5411, 309, 12, 3977, 18, 2469, 422, 404, 15329, 7734, 727, 453, 7722, 559, 28240, 273, 1472, 63, 20, 15533, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 514, 752, 2532, 10795, 1528, 12, 52, 7722, 1290, 3406, 364, 3406, 16, 4766, 5397, 5420, 1984, 13, 7734, 1216, 657, 6746, 10602, 95, 5411, 727, 509, 769, 273, 364, 3406, 18, 588, 1528, 7675, 2469, 5621, 5411, 727, 6674, 596, 273, 394, 6674, 12, 2469, 1769, 5411, 727, 453, 7722, 3406, 1417, 273, 364, 3406, 18, 588, 2250, 5621, 5411, 727, 453, 7722, 3406, 1122, 3406, 273, 7521, 3406, 12, 3432, 1769, 5411, 727, 514, 913, 21519, 31, 5411, 727, 514, 727, 780, 31, 5411, 727, 453, 7722, 3406, 3021, 774, 6368, 31, 5411, 727, 453, 7722, 3406, 10313, 273, 10792, 364, 3406, 18, 588, 17701, 5621, 5411, 727, 453, 7722, 6094, 3406, 8266, 273, 10792, 2 ]
ttp.getProxyTreeFactory().setProxyFactory(new ProxyFactory());
ttp.getProxyTreeFactory().setProxyFactory(new PrintFactory());
public void testTreeProxy() { LoadableScene ls = new Icosahedra(); SceneProxyTreeBuilder ttp = new SceneProxyTreeBuilder(ls.makeWorld()); ttp.setProxyTreeFactory(new ProxyTreeFactory()); ttp.getProxyTreeFactory().setProxyFactory(new ProxyFactory()); ttp.setProxyConnector(new ProxyConnector()); SceneTreeNode tn = ttp.createProxyTree(); new TreeDumper().dumpTree(tn); System.out.println("++++++++++++++++++++++"); }
25476 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25476/0521bc6724dfd837547f8c3554b06cb098cd25f2/TreeProxyTest.java/buggy/test/de/jreality/scene/proxy/tree/TreeProxyTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 2471, 3886, 1435, 288, 565, 4444, 429, 14370, 7180, 273, 394, 467, 14445, 9795, 329, 354, 5621, 565, 29347, 3886, 25060, 3574, 84, 273, 394, 29347, 3886, 25060, 12, 3251, 18, 6540, 18071, 10663, 565, 3574, 84, 18, 542, 3886, 2471, 1733, 12, 2704, 7659, 2471, 1733, 10663, 565, 3574, 84, 18, 588, 3886, 2471, 1733, 7675, 542, 3886, 1733, 12, 2704, 3038, 1733, 10663, 565, 3574, 84, 18, 542, 3886, 7487, 12, 2704, 7659, 7487, 10663, 565, 29347, 12513, 16002, 273, 3574, 84, 18, 2640, 3886, 2471, 5621, 565, 394, 4902, 26711, 7675, 8481, 2471, 12, 5088, 1769, 565, 2332, 18, 659, 18, 8222, 2932, 20934, 20934, 20934, 20934, 20934, 9904, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 2471, 3886, 1435, 288, 565, 4444, 429, 14370, 7180, 273, 394, 467, 14445, 9795, 329, 354, 5621, 565, 29347, 3886, 25060, 3574, 84, 273, 394, 29347, 3886, 25060, 12, 3251, 18, 6540, 18071, 10663, 565, 3574, 84, 18, 542, 3886, 2471, 1733, 12, 2704, 7659, 2471, 1733, 10663, 565, 3574, 84, 18, 588, 3886, 2471, 1733, 7675, 542, 3886, 1733, 12, 2704, 3038, 1733, 10663, 565, 3574, 84, 18, 542, 3886, 7487, 12, 2704, 7659, 7487, 10663, 565, 29347, 12513, 16002, 273, 3574, 84, 18, 2640, 3886, 2471, 5621, 565, 394, 4902, 26711, 7675, 8481, 2471, 12, 5088, 1769, 565, 2332, 18, 659, 18, 8222, 2932, 20934, 20934, 20934, 20934, 20934, 9904, 8863, 225, 289, 2 ]
public org.quickfix.field.EncodedLegIssuer getEncodedLegIssuer() throws FieldNotFound { org.quickfix.field.EncodedLegIssuer value = new org.quickfix.field.EncodedLegIssuer();
public quickfix.field.EncodedLegIssuer getEncodedLegIssuer() throws FieldNotFound { quickfix.field.EncodedLegIssuer value = new quickfix.field.EncodedLegIssuer();
public org.quickfix.field.EncodedLegIssuer getEncodedLegIssuer() throws FieldNotFound { org.quickfix.field.EncodedLegIssuer value = new org.quickfix.field.EncodedLegIssuer(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/MultilegOrderCancelReplaceRequest.java/buggy/src/java/src/quickfix/fix43/MultilegOrderCancelReplaceRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 8329, 16667, 28799, 8329, 16667, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 8329, 16667, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 8329, 16667, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 8329, 16667, 28799, 8329, 16667, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 8329, 16667, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 8329, 16667, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (x != readByte()) throw new StreamCorruptedException();
if (x != readByte()) throw new StreamCorruptedException("Not a GIF!");
public final void checkByte(int x) throws IOException { if (x != readByte()) throw new StreamCorruptedException(); }
1353 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1353/e64ad4e0c3f911bed234fefe9a9a2589beae4c33/GIFInputStream.java/clean/src/haui/gif/GIFInputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 866, 3216, 12, 474, 619, 13, 1216, 1860, 288, 565, 309, 261, 92, 480, 22301, 10756, 604, 394, 3961, 22701, 329, 503, 2932, 1248, 279, 31978, 4442, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 866, 3216, 12, 474, 619, 13, 1216, 1860, 288, 565, 309, 261, 92, 480, 22301, 10756, 604, 394, 3961, 22701, 329, 503, 2932, 1248, 279, 31978, 4442, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
276, 277, 278, -1,
276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, 292, -1, -1, -1, -1, -1, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 336, -1, -1, 339, 340, 341, 342, -1, 344, 126, 346, 347, 348, 349, 350, 351, 33, -1, -1, -1, 356, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, 126, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 256, 257, 258, 259, 260, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, 292, -1, -1, -1, -1, -1, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, -1, -1, -1, -1, -1, -1, -1, -1, 126, -1, -1, 33, -1, -1, -1, -1, -1, -1, 336, 41, -1, 339, 340, 341, 342, -1, 344, -1, 346, 347, 348, 349, 350, 351, -1, -1, -1, -1, 356,
private static final short[] yyCheck3() { return new short[] { -1, -1, 10, -1, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 37, 38, -1, -1, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, 124, 125, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, 333, 334, -1, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, 93, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, -1, 37, 38, -1, 343, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, 93, 94, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, 43, 44, 45, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, 326, 62, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 0, 343, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, 43, 44, 45, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 124, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, 38, -1, 338, 41, -1, -1, 44, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, 37, 38, -1, 93, 94, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, 60, 41, 62, 63, 44, -1, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 94, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, -1, 44, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 124, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, 94, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, 60, -1, 62, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 318, 319, 320, 321, 322, 323, 324, 93, 94, 327, 328, -1, -1, -1, -1, 333, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 125, -1, -1, -1, -1, -1, 281, 282, -1, 94, -1, 96, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, 126, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 0, 293, 294, 295, 296, 297, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 41, -1, -1, 44, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, 58, 59, 60, -1, 62, 63, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 0, 293, 294, 295, 296, 297, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 41, -1, -1, 44, -1, 338, -1, 125, -1, -1, 343, 304, 305, -1, -1, 308, -1, 58, 59, 60, -1, 62, 63, 316, 317, 318, 319, 320, 321, -1, 323, 324, 0, -1, 327, -1, -1, -1, 331, 332, 333, 334, 10, -1, -1, -1, -1, -1, -1, -1, -1, 344, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, 41, -1, -1, 44, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, -1, -1, 93, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 125, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, -1, -1, -1, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, 93, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, 125, -1, 41, -1, -1, 44, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 325, 326, -1, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 0, 343, 41, -1, -1, 44, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 125, -1, -1, 0, -1, -1, -1, -1, -1, -1, 58, 59, -1, 10, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, 41, 93, -1, 44, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, 58, 59, -1, 10, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, 125, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, -1, -1, 41, 93, -1, 44, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 325, 326, -1, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, 125, -1, -1, -1, 343, 41, -1, -1, 44, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 93, -1, -1, 58, 59, -1, -1, -1, 63, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 325, 326, -1, -1, 329, 330, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, 125, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 325, 326, -1, -1, 329, 330, -1, 281, 282, -1, -1, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 325, 326, -1, -1, 329, 330, -1, 281, 282, -1, -1, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 0, -1, 338, 41, -1, -1, 44, 343, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 338, 41, -1, -1, 44, 343, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 41, -1, -1, 44, -1, -1, -1, 125, 10, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, 41, -1, -1, 44, -1, -1, 125, 10, -1, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 41, -1, -1, 44, -1, -1, -1, 125, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 125, -1, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 125, -1, 281, 282, -1, -1, -1, 93, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, 262, 263, 264, 343, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, 0, 343, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, 0, -1, -1, 343, -1, 41, -1, -1, 44, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 41, 343, -1, 44, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 93, 58, 59, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 125, -1, -1, 41, 93, -1, 44, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 125, -1, -1, 41, -1, -1, 44, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, 41, -1, -1, 44, -1, 10, -1, -1, -1, -1, -1, 125, -1, -1, -1, 93, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, 93, 58, 59, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, -1, -1, 125, -1, -1, 10, 93, 290, 291, -1, 293, 294, 295, 296, 297, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, 125, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, 93, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, -1, -1, -1, -1, -1, 10, -1, 290, 291, -1, 293, 294, 295, 296, 297, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, 41, -1, -1, 44, -1, 10, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, 338, -1, -1, -1, -1, 343, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, 93, 58, 59, 338, -1, -1, -1, -1, 343, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, 94, -1, 125, -1, -1, -1, 93, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 124, -1, -1, -1, -1, -1, -1, -1, 125, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 343, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 0, 91, -1, -1, 94, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 124, 125, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, 91, -1, -1, 94, 290, 291, -1, 293, 294, 295, 296, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 125, -1, -1, -1, -1, -1, -1, -1, 281, 282, 124, 125, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, -1, -1, -1, -1, 333, 334, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 343, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, -1, -1, 338, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 290, 291, 281, 293, 294, 295, 296, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 37, 38, 338, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, 0, 47, -1, -1, -1, -1, 91, -1, -1, 94, 10, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, 124, 125, 41, 42, 43, 44, 45, 46, 47, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 124, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, 91, -1, 0, 94, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, 41, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 91, -1, -1, 94, 10, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, 124, 125, 41, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 125, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 0, -1, 338, 93, -1, -1, -1, -1, -1, -1, 10, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 318, 319, 320, 321, 322, 323, 324, 325, -1, 327, 328, -1, -1, -1, 125, 333, 334, -1, 290, 291, 41, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, -1, 337, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 290, 291, -1, 293, 294, 295, 296, 297, 281, 0, 125, -1, -1, -1, -1, -1, -1, 290, 291, 10, 293, 294, 295, 296, 297, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 59, 60, 61, 62, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, 0, -1, 290, 291, -1, 293, 294, 295, 296, 297, 10, -1, -1, -1, -1, -1, -1, 91, -1, -1, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, -1, -1, 91, 290, 291, 94, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 124, 125, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 336, -1, -1, 339, 340, 341, 342, -1, 126, -1, 346, 347, 348, 349, 350, 351, 33, -1, 290, 291, 356, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 126, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 256, 257, 258, 259, 260, 261, 59, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, }; }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/clean/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 23, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 300, 21, 16, 282, 1728, 16, 282, 300, 21, 16, 225, 890, 8942, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 225, 2593, 24, 16, 225, 30616, 16, 282, 18091, 16, 5411, 18012, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 20170, 16, 282, 14856, 16, 282, 21193, 16, 282, 13291, 16, 282, 12292, 16, 282, 300, 21, 16, 282, 17495, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 17066, 16, 282, 14995, 16, 282, 4752, 16, 282, 300, 21, 16, 282, 22684, 16, 282, 13746, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 23, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 300, 21, 16, 282, 1728, 16, 282, 300, 21, 16, 225, 890, 8942, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 2 ]
method.addParameter(new JParameter(JType.Int, "index"));
method.addParameter(new JParameter(JType.INT, "index"));
protected void createInsertMethod(JClass jClass) { JMethod method = new JMethod(null, this.getWriteMethodName()); method.addException(SGTypes.IndexOutOfBoundsException); method.addParameter(new JParameter(JType.Int, "index")); final JParameter parameter = new JParameter(this.getContentType().getJType(), this.getContentName()); method.addParameter(parameter); JSourceCode sourceCode = method.getSourceCode(); this.addMaxSizeCheck(method.getName(), sourceCode); sourceCode.add("this."); sourceCode.append(this.getName()); sourceCode.append(".add(index, "); sourceCode.append(this.getContentType().createToJavaObjectCode(parameter.getName())); sourceCode.append(");"); if (this.isBound()) { this.createBoundPropertyCode(sourceCode); } jClass.addMethod(method); }
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/34c708e3c0e8dd4b42534f5834f9a280e0c9968b/CollectionInfo.java/clean/castor/trunk/src/main/java/org/exolab/castor/builder/CollectionInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 752, 4600, 1305, 12, 46, 797, 525, 797, 13, 288, 3639, 804, 1305, 707, 273, 394, 804, 1305, 12, 2011, 16, 333, 18, 588, 3067, 11666, 10663, 3639, 707, 18, 1289, 503, 12, 30820, 2016, 18, 30548, 1769, 3639, 707, 18, 1289, 1662, 12, 2704, 804, 1662, 12, 46, 559, 18, 3217, 16, 315, 1615, 7923, 1769, 3639, 727, 804, 1662, 1569, 273, 394, 804, 1662, 12, 2211, 18, 588, 8046, 7675, 588, 46, 559, 9334, 333, 18, 588, 1350, 461, 10663, 3639, 707, 18, 1289, 1662, 12, 6775, 1769, 3639, 804, 1830, 1085, 20260, 273, 707, 18, 588, 1830, 1085, 5621, 3639, 333, 18, 1289, 21485, 1564, 12, 2039, 18, 17994, 9334, 20260, 1769, 3639, 20260, 18, 1289, 2932, 2211, 1199, 1769, 3639, 20260, 18, 6923, 12, 2211, 18, 17994, 10663, 3639, 20260, 18, 6923, 2932, 18, 1289, 12, 1615, 16, 315, 1769, 3639, 20260, 18, 6923, 12, 2211, 18, 588, 8046, 7675, 2640, 774, 5852, 921, 1085, 12, 6775, 18, 17994, 1435, 10019, 3639, 20260, 18, 6923, 2932,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1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 752, 4600, 1305, 12, 46, 797, 525, 797, 13, 288, 3639, 804, 1305, 707, 273, 394, 804, 1305, 12, 2011, 16, 333, 18, 588, 3067, 11666, 10663, 3639, 707, 18, 1289, 503, 12, 30820, 2016, 18, 30548, 1769, 3639, 707, 18, 1289, 1662, 12, 2704, 804, 1662, 12, 46, 559, 18, 3217, 16, 315, 1615, 7923, 1769, 3639, 727, 804, 1662, 1569, 273, 394, 804, 1662, 12, 2211, 18, 588, 8046, 7675, 588, 46, 559, 9334, 333, 18, 588, 1350, 461, 10663, 3639, 707, 18, 1289, 1662, 12, 6775, 1769, 3639, 804, 1830, 1085, 20260, 273, 707, 18, 588, 1830, 1085, 5621, 3639, 333, 18, 1289, 21485, 1564, 12, 2039, 18, 17994, 9334, 20260, 1769, 3639, 2 ]
public boolean canContain( DesignElement content )
public boolean canContain( IElementDefn type )
public boolean canContain( DesignElement content ) { return canContain( content.getDefn( ) ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/99be7a628d41e2d0a01f81aba61ded46fe3c43a0/SlotDefn.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/SlotDefn.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 848, 22928, 12, 29703, 1046, 913, 262, 202, 95, 202, 202, 2463, 848, 22928, 12, 913, 18, 588, 3262, 82, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 848, 22928, 12, 29703, 1046, 913, 262, 202, 95, 202, 202, 2463, 848, 22928, 12, 913, 18, 588, 3262, 82, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw getRuntime().newTypeError(name + " is not a module."); }
throw getRuntime().newTypeError(name + " is not a module."); }
public RubyModule defineModuleUnder(String name) { IRubyObject type = getConstantAt(name); if (type == null) { return (RubyModule) setConstant(name, getRuntime().defineModuleUnder(name, cref)); } if (!(type instanceof RubyModule)) { throw getRuntime().newTypeError(name + " is not a module."); } return (RubyModule) type; }
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/1278c5bb3507a052d150d814f15453542ae41aed/RubyModule.java/clean/src/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 3120, 4426, 3120, 14655, 12, 780, 508, 13, 288, 3639, 15908, 10340, 921, 618, 273, 24337, 861, 12, 529, 1769, 7734, 309, 261, 723, 422, 446, 13, 288, 5411, 327, 261, 54, 10340, 3120, 13, 444, 6902, 12, 529, 16, 2868, 202, 202, 588, 5576, 7675, 11255, 3120, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 3120, 4426, 3120, 14655, 12, 780, 508, 13, 288, 3639, 15908, 10340, 921, 618, 273, 24337, 861, 12, 529, 1769, 7734, 309, 261, 723, 422, 446, 13, 288, 5411, 327, 261, 54, 10340, 3120, 13, 444, 6902, 12, 529, 16, 2868, 202, 202, 588, 5576, 7675, 11255, 3120, 14655, 12, 529, 16, 1519, 74, 10019, 540, 289, 3639, 309, 16051, 12, 723, 1276, 19817, 3120, 3719, 288, 540, 202, 12849, 18814, 7675, 2704, 19030, 12, 529, 397, 315, 353, 486, 279, 1605, 1199, 1769, 3639, 289, 540, 327, 261, 54, 10340, 3120, 13, 618, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
{ return PG_USER; }
{ return PG_USER; }
public String getUserName() throws SQLException { return PG_USER; }
45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/e25c93c7eb4a9a1a50b771cc33448b9d3519f403/Connection.java/clean/src/interfaces/jdbc/org/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 30456, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 22116, 67, 4714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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 30456, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 22116, 67, 4714, 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 ]
if (useTls)
if (useTls) {
public static URLConnection getUrlConnection(URL url, Proxy proxy, boolean useTls) throws IOException, NoSuchAlgorithmException, KeyManagementException { SSLContext ctx; if (useTls) ctx = SSLContext.getInstance("TLS"); else ctx = SSLContext.getInstance("SSL"); javax.net.ssl.TrustManager[] tm = new javax.net.ssl.TrustManager[] { new RepositoryTrustManager() }; ctx.init(null, tm, null); HttpsURLConnection.setDefaultSSLSocketFactory(ctx.getSocketFactory()); if (proxy == null) { proxy = Proxy.NO_PROXY; } URLConnection connection = url.openConnection(proxy); return connection; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/925c56cd29a486a51cfd56ee2c309ee45ca25183/WebClientUtil.java/buggy/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/WebClientUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1976, 1952, 8928, 1952, 12, 1785, 880, 16, 7659, 2889, 16, 1250, 999, 26115, 13, 1216, 1860, 16, 1082, 202, 28341, 17293, 16, 1929, 10998, 503, 288, 202, 202, 6745, 1042, 1103, 31, 202, 202, 430, 261, 1202, 26115, 13, 1082, 202, 5900, 273, 26886, 18, 588, 1442, 2932, 9905, 8863, 202, 202, 12107, 1082, 202, 5900, 273, 26886, 18, 588, 1442, 2932, 6745, 8863, 202, 202, 28384, 18, 2758, 18, 8157, 18, 14146, 1318, 8526, 6118, 273, 394, 6863, 18, 2758, 18, 8157, 18, 14146, 1318, 8526, 288, 394, 6281, 14146, 1318, 1435, 289, 31, 202, 202, 5900, 18, 2738, 12, 2011, 16, 6118, 16, 446, 1769, 202, 202, 22077, 14790, 18, 542, 1868, 1260, 25831, 1733, 12, 5900, 18, 588, 4534, 1733, 10663, 202, 202, 430, 261, 5656, 422, 446, 13, 288, 1082, 202, 5656, 273, 7659, 18, 3417, 67, 16085, 31, 202, 202, 97, 202, 202, 14790, 1459, 273, 880, 18, 3190, 1952, 12, 5656, 1769, 202, 202, 2463, 1459, 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, 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, 13, 1082, 202, 5900, 273, 26886, 18, 588, 1442, 2932, 9905, 8863, 202, 202, 12107, 1082, 202, 5900, 273, 26886, 18, 588, 1442, 2932, 6745, 8863, 202, 202, 28384, 18, 2758, 18, 8157, 18, 14146, 1318, 8526, 6118, 273, 394, 6863, 18, 2758, 18, 8157, 18, 14146, 1318, 8526, 288, 394, 6281, 14146, 1318, 1435, 289, 31, 202, 202, 5900, 18, 2738, 12, 2011, 16, 6118, 16, 446, 1769, 202, 202, 22077, 14790, 18, 542, 1868, 2 ]
if ( fields[columnIndex - 1].getOID() == 26) { LargeObjectManager lom = connection.getLargeObjectAPI(); LargeObject lob = lom.open(getInt(columnIndex)); byte buf[] = lob.read(lob.size()); lob.close(); return buf; }
LargeObjectManager lom = connection.getLargeObjectAPI(); LargeObject lob = lom.open(getInt(columnIndex)); byte buf[] = lob.read(lob.size()); lob.close(); return buf;
public byte[] getBytes(int columnIndex) throws SQLException { if (columnIndex < 1 || columnIndex > fields.length) throw new PSQLException("postgresql.res.colrange"); //If the data is already binary then just return it if (binaryCursor) return this_row[columnIndex - 1]; if (connection.haveMinimumCompatibleVersion("7.2")) { //Version 7.2 supports the bytea datatype for byte arrays return PGbytea.toBytes(getString(columnIndex)); } else { //Version 7.1 and earlier supports LargeObjects for byte arrays wasNullFlag = (this_row[columnIndex - 1] == null); // Handle OID's as BLOBS if (!wasNullFlag) { if ( fields[columnIndex - 1].getOID() == 26) { LargeObjectManager lom = connection.getLargeObjectAPI(); LargeObject lob = lom.open(getInt(columnIndex)); byte buf[] = lob.read(lob.size()); lob.close(); return buf; } } } return null; }
46563 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46563/512a3aef36591386640f34866c1acbe58c20ca6e/ResultSet.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1160, 8526, 8425, 12, 474, 14882, 13, 1216, 6483, 202, 95, 202, 202, 430, 261, 2827, 1016, 411, 404, 747, 14882, 405, 1466, 18, 2469, 13, 1082, 202, 12849, 394, 453, 23116, 2932, 2767, 24330, 18, 455, 18, 1293, 3676, 8863, 202, 202, 759, 2047, 326, 501, 353, 1818, 3112, 1508, 2537, 327, 518, 202, 202, 430, 261, 8578, 6688, 13, 1082, 202, 2463, 333, 67, 492, 63, 2827, 1016, 300, 404, 15533, 202, 202, 430, 261, 4071, 18, 21516, 13042, 14599, 1444, 2932, 27, 18, 22, 6, 3719, 202, 202, 95, 1082, 202, 759, 1444, 2371, 18, 22, 6146, 326, 1160, 69, 11172, 364, 1160, 5352, 1082, 202, 2463, 22116, 7229, 69, 18, 869, 2160, 12, 588, 780, 12, 2827, 1016, 10019, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 759, 1444, 2371, 18, 21, 471, 13805, 6146, 16236, 908, 4710, 364, 1160, 5352, 1082, 202, 17416, 2041, 4678, 273, 261, 2211, 67, 492, 63, 2827, 1016, 300, 404, 65, 422, 446, 1769, 1082, 202, 759, 5004, 18026, 1807, 487, 605, 6038, 55, 1082, 202, 430, 16051, 17416, 2041, 4678, 13, 1082, 202, 95, 9506, 202, 430, 261, 1466, 63, 2827, 1016, 300, 404, 8009, 588, 12945, 1435, 422, 10659, 13, 9506, 202, 95, 6862, 202, 20020, 921, 1318, 328, 362, 273, 1459, 18, 588, 20020, 921, 2557, 5621, 6862, 202, 20020, 921, 22925, 273, 328, 362, 18, 3190, 12, 588, 1702, 12, 2827, 1016, 10019, 6862, 202, 7229, 1681, 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, 1160, 8526, 8425, 12, 474, 14882, 13, 1216, 6483, 202, 95, 202, 202, 430, 261, 2827, 1016, 411, 404, 747, 14882, 405, 1466, 18, 2469, 13, 1082, 202, 12849, 394, 453, 23116, 2932, 2767, 24330, 18, 455, 18, 1293, 3676, 8863, 202, 202, 759, 2047, 326, 501, 353, 1818, 3112, 1508, 2537, 327, 518, 202, 202, 430, 261, 8578, 6688, 13, 1082, 202, 2463, 333, 67, 492, 63, 2827, 1016, 300, 404, 15533, 202, 202, 430, 261, 4071, 18, 21516, 13042, 14599, 1444, 2932, 27, 18, 22, 6, 3719, 202, 202, 95, 1082, 202, 759, 1444, 2371, 18, 22, 6146, 326, 1160, 69, 11172, 364, 1160, 5352, 1082, 202, 2463, 22116, 7229, 69, 18, 869, 2160, 2 ]
void withContext() {
private void withContext() {
void withContext() { dim.contextFactory.call(this); }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/2d4fc75b74d717c754829dde488ff0a7456682cc/Dim.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Dim.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 598, 1042, 1435, 3639, 288, 5411, 2464, 18, 2472, 1733, 18, 1991, 12, 2211, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 598, 1042, 1435, 3639, 288, 5411, 2464, 18, 2472, 1733, 18, 1991, 12, 2211, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}
protected Error[] setClasspath ( IJavaProject _javaProject, IClasspathEntry[] _entries, String _classpath) throws Exception { String classpath = IOUtils.toString(new FileInputStream(_classpath)); List errors = new ArrayList(); for(int ii = 0; ii < _entries.length; ii++){ IJavaModelStatus status = JavaConventions.validateClasspathEntry( _javaProject, _entries[ii], true); if(!status.isOK()){ errors.add(createErrorFromStatus(_classpath, classpath, status)); } } IJavaModelStatus status = JavaConventions.validateClasspath( _javaProject, _entries, _javaProject.getOutputLocation()); if(status.isOK() && errors.isEmpty()){ _javaProject.setRawClasspath(_entries, null); _javaProject.makeConsistent(null); } if(!status.isOK()){ errors.add(createErrorFromStatus(_classpath, classpath, status)); } return (Error[])errors.toArray(new Error[errors.size()]); }
46034 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46034/3ce07e7efa7590f2c89463924125d6d9e3d3f6a3/ProjectUpdateCommand.java/clean/src/java/org/eclim/command/project/ProjectUpdateCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1068, 8526, 444, 17461, 261, 1377, 467, 5852, 4109, 389, 6290, 4109, 16, 467, 17461, 1622, 8526, 389, 8219, 16, 514, 389, 26302, 13, 565, 1216, 1185, 225, 288, 565, 514, 10006, 273, 18044, 18, 10492, 12, 2704, 11907, 24899, 26302, 10019, 565, 987, 1334, 273, 394, 2407, 5621, 565, 364, 12, 474, 6072, 273, 374, 31, 6072, 411, 389, 8219, 18, 2469, 31, 6072, 27245, 95, 1377, 467, 5852, 1488, 1482, 1267, 273, 5110, 442, 24862, 18, 5662, 17461, 1622, 12, 1850, 389, 6290, 4109, 16, 389, 8219, 63, 2835, 6487, 638, 1769, 1377, 309, 12, 5, 2327, 18, 291, 3141, 10756, 95, 3639, 1334, 18, 1289, 12, 2640, 668, 1265, 1482, 24899, 26302, 16, 10006, 16, 1267, 10019, 2868, 467, 5852, 1488, 1482, 1267, 273, 5110, 442, 24862, 18, 5662, 17461, 12, 3639, 389, 6290, 4109, 16, 389, 8219, 16, 389, 6290, 4109, 18, 588, 1447, 2735, 10663, 565, 309, 12, 2327, 18, 291, 3141, 1435, 597, 1334, 18, 291, 1921, 10756, 95, 1377, 389, 6290, 4109, 18, 542, 4809, 17461, 24899, 8219, 16, 446, 1769, 1377, 389, 6290, 4109, 18, 6540, 17579, 319, 12, 2011, 1769, 3639, 309, 12, 5, 2327, 18, 291, 3141, 10756, 95, 1377, 1334, 18, 1289, 12, 2640, 668, 1265, 1482, 24899, 26302, 16, 10006, 16, 1267, 10019, 3639, 327, 261, 668, 63, 5717, 4324, 18, 31447, 12, 2704, 1068, 63, 4324, 18, 1467, 1435, 19226, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1068, 8526, 444, 17461, 261, 1377, 467, 5852, 4109, 389, 6290, 4109, 16, 467, 17461, 1622, 8526, 389, 8219, 16, 514, 389, 26302, 13, 565, 1216, 1185, 225, 288, 565, 514, 10006, 273, 18044, 18, 10492, 12, 2704, 11907, 24899, 26302, 10019, 565, 987, 1334, 273, 394, 2407, 5621, 565, 364, 12, 474, 6072, 273, 374, 31, 6072, 411, 389, 8219, 18, 2469, 31, 6072, 27245, 95, 1377, 467, 5852, 1488, 1482, 1267, 273, 5110, 442, 24862, 18, 5662, 17461, 1622, 12, 1850, 389, 6290, 4109, 16, 389, 8219, 63, 2835, 6487, 638, 1769, 1377, 309, 12, 5, 2327, 18, 291, 3141, 10756, 95, 3639, 1334, 18, 1289, 12, 2640, 668, 1265, 1482, 24899, 26302, 16, 10006, 2 ]
length1 = offset - temp_offset - 2 * increment;
length1 = offset - temp_offset - (increment<<1);
private int process_end_comment()throws ParseException { int length1; while (true) { ch = getChar(); if (XMLChar.isValidChar(ch)) { if (ch == '-' && skipChar('-')) { length1 = offset - temp_offset - 2 * increment; break; } } else throw new ParseException( "Error in comment: Invalid Char" + formatLineNumber()); } if (getChar() == '>') { //System.out.println(" " + temp_offset + " " + length1 // + " comment " + depth); if (encoding < FORMAT_UTF_16BE) writeVTD(temp_offset, length1, TOKEN_COMMENT, depth); else writeVTD(temp_offset >> 1, length1 >> 1, TOKEN_COMMENT, depth); //length1 = 0; return STATE_DOC_END; //break; } throw new ParseException("Error in comment: '-->' expected" + formatLineNumber()); }
3680 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3680/1f2b80b4cb76c470bdfde885252e2a9cff56206e/VTDGen.java/clean/com/ximpleware/VTDGen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 1207, 67, 409, 67, 3469, 1435, 15069, 10616, 288, 202, 202, 474, 769, 21, 31, 202, 202, 17523, 261, 3767, 13, 288, 1082, 202, 343, 273, 23577, 5621, 1082, 202, 430, 261, 4201, 2156, 18, 26810, 2156, 12, 343, 3719, 288, 9506, 202, 430, 261, 343, 422, 4014, 597, 2488, 2156, 2668, 6627, 3719, 288, 6862, 202, 2469, 21, 273, 1384, 300, 1906, 67, 3348, 300, 576, 380, 5504, 31, 6862, 202, 8820, 31, 9506, 202, 97, 1082, 202, 97, 469, 9506, 202, 12849, 394, 10616, 12, 25083, 202, 6, 668, 316, 2879, 30, 1962, 3703, 6, 6862, 9506, 202, 15, 740, 31063, 10663, 202, 202, 97, 202, 202, 430, 261, 588, 2156, 1435, 422, 7481, 13, 288, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 315, 397, 1906, 67, 3348, 397, 315, 315, 397, 769, 21, 1082, 202, 759, 397, 315, 2879, 315, 397, 3598, 1769, 1082, 202, 430, 261, 5999, 411, 10449, 67, 5159, 67, 2313, 5948, 13, 9506, 202, 2626, 58, 23409, 12, 5814, 67, 3348, 16, 769, 21, 16, 14275, 67, 12200, 16, 3598, 1769, 1082, 202, 12107, 9506, 202, 2626, 58, 23409, 12, 5814, 67, 3348, 1671, 404, 16, 769, 21, 1671, 404, 16, 25083, 202, 8412, 67, 12200, 16, 3598, 1769, 1082, 202, 759, 2469, 21, 273, 374, 31, 1082, 202, 2463, 7442, 67, 19693, 67, 4415, 31, 1082, 202, 759, 8820, 31, 202, 202, 97, 202, 202, 12849, 394, 10616, 2932, 668, 316, 2879, 30, 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, 509, 1207, 67, 409, 67, 3469, 1435, 15069, 10616, 288, 202, 202, 474, 769, 21, 31, 202, 202, 17523, 261, 3767, 13, 288, 1082, 202, 343, 273, 23577, 5621, 1082, 202, 430, 261, 4201, 2156, 18, 26810, 2156, 12, 343, 3719, 288, 9506, 202, 430, 261, 343, 422, 4014, 597, 2488, 2156, 2668, 6627, 3719, 288, 6862, 202, 2469, 21, 273, 1384, 300, 1906, 67, 3348, 300, 576, 380, 5504, 31, 6862, 202, 8820, 31, 9506, 202, 97, 1082, 202, 97, 469, 9506, 202, 12849, 394, 10616, 12, 25083, 202, 6, 668, 316, 2879, 30, 1962, 3703, 6, 6862, 9506, 202, 15, 740, 31063, 10663, 202, 202, 97, 202, 202, 430, 261, 588, 2156, 1435, 422, 2 ]
grp.enumerate(ts,false);
AccessController.doPrivileged(new PrivilegedAction() { public Object run() { grp.enumerate(ts,false); return null; } });
private void addGroup(ThreadGroup grp) { final int max = grp.activeCount() * 2; final Thread[] ts = new Thread[max]; grp.enumerate(ts,false); for (int i = 0; i < max; i++) { final Thread t = ts[i]; if (t != null) { JIFSFile F = new JIFSFthread(t.getName(),t, this); addFSE(F); } } final int gmax = grp.activeGroupCount() * 2; final ThreadGroup[] tgs = new ThreadGroup[gmax]; grp.enumerate(tgs, false); for (int i = 0; i < gmax; i++) { final ThreadGroup tg = tgs[i]; if (tg != null) { addGroup(tg); } } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/77d5336d9baa2efd535e4d83393c0986c025ccf7/JIFSDthreads.java/clean/fs/src/fs/org/jnode/fs/jifs/directories/JIFSDthreads.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 18899, 12, 3830, 1114, 14295, 13, 288, 202, 202, 6385, 509, 943, 273, 14295, 18, 3535, 1380, 1435, 380, 576, 31, 202, 202, 6385, 4884, 8526, 3742, 273, 394, 4884, 63, 1896, 15533, 202, 202, 17532, 18, 7924, 12600, 12, 3428, 16, 5743, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 943, 31, 277, 27245, 288, 1082, 202, 6385, 4884, 268, 273, 3742, 63, 77, 15533, 1082, 202, 430, 261, 88, 480, 446, 13, 288, 9506, 202, 46, 45, 4931, 812, 478, 273, 394, 804, 45, 4931, 42, 5930, 12, 88, 18, 17994, 9334, 88, 16, 333, 1769, 202, 5411, 527, 42, 1090, 12, 42, 1769, 1082, 202, 97, 202, 202, 97, 9506, 202, 6385, 509, 314, 1896, 273, 14295, 18, 3535, 1114, 1380, 1435, 380, 576, 31, 202, 202, 6385, 4884, 1114, 8526, 268, 564, 273, 394, 4884, 1114, 63, 75, 1896, 15533, 202, 202, 17532, 18, 7924, 12600, 12, 88, 564, 16, 629, 1769, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 314, 1896, 31, 277, 27245, 288, 1082, 202, 6385, 4884, 1114, 18289, 273, 268, 564, 63, 77, 15533, 1082, 202, 430, 261, 88, 75, 480, 446, 13, 288, 9506, 202, 1289, 1114, 12, 88, 75, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 18899, 12, 3830, 1114, 14295, 13, 288, 202, 202, 6385, 509, 943, 273, 14295, 18, 3535, 1380, 1435, 380, 576, 31, 202, 202, 6385, 4884, 8526, 3742, 273, 394, 4884, 63, 1896, 15533, 202, 202, 17532, 18, 7924, 12600, 12, 3428, 16, 5743, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 943, 31, 277, 27245, 288, 1082, 202, 6385, 4884, 268, 273, 3742, 63, 77, 15533, 1082, 202, 430, 261, 88, 480, 446, 13, 288, 9506, 202, 46, 45, 4931, 812, 478, 273, 394, 804, 45, 4931, 42, 5930, 12, 88, 18, 17994, 9334, 88, 16, 333, 1769, 202, 5411, 527, 42, 1090, 12, 42, 1769, 1082, 202, 97, 202, 202, 2 ]
root = getLocalApiDocRoot(className);
root = apiDocRoot;
private String mapApiDocRoot(String className) { String root = null; if (specifiedPackages.isEmpty() || isSpecifiedPackage(className)) root = getLocalApiDocRoot(className); else root = getExternalApiDocRoot(className); if (root == null) root = ""; return root; }
47201 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47201/79a8c001740f08d96264606e9d548d69f12a9fbf/StringUtil.java/buggy/src/gr/spinellis/umlgraph/doclet/StringUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 852, 3064, 1759, 2375, 12, 780, 2658, 13, 288, 202, 202, 780, 1365, 273, 446, 31, 202, 202, 430, 261, 13827, 11425, 18, 291, 1921, 1435, 747, 353, 17068, 2261, 12, 12434, 3719, 1082, 202, 3085, 273, 6993, 3064, 1759, 2375, 12, 12434, 1769, 202, 202, 12107, 1082, 202, 3085, 273, 22319, 3064, 1759, 2375, 12, 12434, 1769, 202, 202, 430, 261, 3085, 422, 446, 13, 1082, 202, 3085, 273, 1408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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 852, 3064, 1759, 2375, 12, 780, 2658, 13, 288, 202, 202, 780, 1365, 273, 446, 31, 202, 202, 430, 261, 13827, 11425, 18, 291, 1921, 1435, 747, 353, 17068, 2261, 12, 12434, 3719, 1082, 202, 3085, 273, 6993, 3064, 1759, 2375, 12, 12434, 1769, 202, 202, 12107, 1082, 202, 3085, 273, 22319, 3064, 1759, 2375, 12, 12434, 1769, 202, 202, 430, 261, 3085, 422, 446, 13, 1082, 202, 3085, 273, 1408, 31, 202, 202, 2463, 1365, 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 ]
if (rsType == -1 && fetch == null) rsType = ResultSet.TYPE_FORWARD_ONLY; else if (rsType == -1) rsType = fetch.getResultSetType(); if (rsConcur == -1) rsConcur = ResultSet.CONCUR_READ_ONLY; PreparedStatement stmnt; if (rsType == ResultSet.TYPE_FORWARD_ONLY && rsConcur == ResultSet.CONCUR_READ_ONLY) stmnt = conn.prepareStatement(getSQL()); else stmnt = conn.prepareStatement(getSQL(), rsType, rsConcur); try { setParameters(stmnt); if (fetch != null) { if (fetch.getFetchBatchSize() > 0) stmnt.setFetchSize(fetch.getFetchBatchSize()); if (rsType != ResultSet.TYPE_FORWARD_ONLY && fetch.getFetchDirection() != ResultSet.FETCH_FORWARD) stmnt.setFetchDirection(fetch.getFetchDirection()); } return stmnt; } catch (SQLException se) { try { stmnt.close(); } catch (SQLException se2) { } throw se; }
return prepareStatement(conn, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
public PreparedStatement prepareStatement(Connection conn, JDBCFetchConfiguration fetch, int rsType, int rsConcur) throws SQLException { if (rsType == -1 && fetch == null) rsType = ResultSet.TYPE_FORWARD_ONLY; else if (rsType == -1) rsType = fetch.getResultSetType(); if (rsConcur == -1) rsConcur = ResultSet.CONCUR_READ_ONLY; PreparedStatement stmnt; if (rsType == ResultSet.TYPE_FORWARD_ONLY && rsConcur == ResultSet.CONCUR_READ_ONLY) stmnt = conn.prepareStatement(getSQL()); else stmnt = conn.prepareStatement(getSQL(), rsType, rsConcur); try { setParameters(stmnt); if (fetch != null) { if (fetch.getFetchBatchSize() > 0) stmnt.setFetchSize(fetch.getFetchBatchSize()); if (rsType != ResultSet.TYPE_FORWARD_ONLY && fetch.getFetchDirection() != ResultSet.FETCH_FORWARD) stmnt.setFetchDirection(fetch.getFetchDirection()); } return stmnt; } catch (SQLException se) { try { stmnt.close(); } catch (SQLException se2) { } throw se; } }
47053 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47053/fb770599b09eb179ec9b9a9815941290468175e7/SQLBuffer.java/buggy/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLBuffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16913, 21406, 12, 1952, 1487, 16, 3639, 16364, 5005, 1750, 2158, 16, 509, 3597, 559, 16, 509, 3597, 442, 1397, 13, 3639, 1216, 6483, 288, 3639, 309, 261, 5453, 559, 422, 300, 21, 597, 2158, 422, 446, 13, 5411, 3597, 559, 273, 10842, 18, 2399, 67, 7473, 21343, 67, 10857, 31, 3639, 469, 309, 261, 5453, 559, 422, 300, 21, 13, 5411, 3597, 559, 273, 2158, 18, 588, 13198, 559, 5621, 3639, 309, 261, 5453, 442, 1397, 422, 300, 21, 13, 5411, 3597, 442, 1397, 273, 10842, 18, 2248, 7509, 67, 6949, 67, 10857, 31, 3639, 16913, 384, 21818, 31, 3639, 309, 261, 5453, 559, 422, 10842, 18, 2399, 67, 7473, 21343, 67, 10857, 5411, 597, 3597, 442, 1397, 422, 10842, 18, 2248, 7509, 67, 6949, 67, 10857, 13, 5411, 384, 21818, 273, 1487, 18, 9366, 3406, 12, 588, 3997, 10663, 3639, 469, 5411, 384, 21818, 273, 1487, 18, 9366, 3406, 12, 588, 3997, 9334, 3597, 559, 16, 3597, 442, 1397, 1769, 3639, 775, 288, 5411, 22556, 12, 334, 21818, 1769, 5411, 309, 261, 5754, 480, 446, 13, 288, 7734, 309, 261, 5754, 18, 588, 5005, 23304, 1435, 405, 374, 13, 10792, 384, 21818, 18, 542, 5005, 1225, 12, 5754, 18, 588, 5005, 23304, 10663, 7734, 309, 261, 5453, 559, 480, 10842, 18, 2399, 67, 7473, 21343, 67, 10857, 10792, 597, 2158, 18, 588, 5005, 8212, 1435, 480, 10842, 18, 20231, 67, 7473, 21343, 13, 10792, 384, 21818, 18, 542, 5005, 8212, 12, 5754, 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, 16913, 21406, 12, 1952, 1487, 16, 3639, 16364, 5005, 1750, 2158, 16, 509, 3597, 559, 16, 509, 3597, 442, 1397, 13, 3639, 1216, 6483, 288, 3639, 309, 261, 5453, 559, 422, 300, 21, 597, 2158, 422, 446, 13, 5411, 3597, 559, 273, 10842, 18, 2399, 67, 7473, 21343, 67, 10857, 31, 3639, 469, 309, 261, 5453, 559, 422, 300, 21, 13, 5411, 3597, 559, 273, 2158, 18, 588, 13198, 559, 5621, 3639, 309, 261, 5453, 442, 1397, 422, 300, 21, 13, 5411, 3597, 442, 1397, 273, 10842, 18, 2248, 7509, 67, 6949, 67, 10857, 31, 3639, 16913, 384, 21818, 31, 3639, 309, 261, 5453, 559, 422, 10842, 18, 2399, 67, 7473, 21343, 67, 10857, 5411, 597, 3597, 2 ]
NativeError result = new NativeError(); if (args.length >= 1) result.messageValue = ScriptRuntime.toString(args[0]); result.setPrototype(getClassPrototype(scope, "Error")); return result;
return make(cx, scope, f, args);
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { if (prototypeFlag) { if (methodId == Id_constructor) { NativeError result = new NativeError(); if (args.length >= 1) result.messageValue = ScriptRuntime.toString(args[0]); result.setPrototype(getClassPrototype(scope, "Error")); return result; } else if (methodId == Id_toString) { return js_toString(thisObj); } } return super.execMethod(methodId, f, cx, scope, thisObj, args); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/b5a9ce9cefb92cb99beb398d17a1d7320876a0f8/NativeError.java/clean/js/rhino/src/org/mozilla/javascript/NativeError.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 18541, 4678, 13, 288, 5411, 309, 261, 2039, 548, 422, 3124, 67, 12316, 13, 288, 7734, 16717, 668, 563, 273, 394, 16717, 668, 5621, 7734, 309, 261, 1968, 18, 2469, 1545, 404, 13, 10792, 563, 18, 2150, 620, 273, 7739, 5576, 18, 10492, 12, 1968, 63, 20, 19226, 7734, 563, 18, 542, 15846, 12, 588, 797, 15846, 12, 4887, 16, 315, 668, 7923, 1769, 7734, 327, 563, 31, 5411, 289, 5411, 469, 309, 261, 2039, 548, 422, 3124, 67, 10492, 13, 288, 7734, 327, 3828, 67, 10492, 12, 2211, 2675, 1769, 5411, 289, 3639, 289, 3639, 327, 2240, 18, 4177, 1305, 12, 2039, 548, 16, 284, 16, 9494, 16, 2146, 16, 15261, 16, 833, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 18541, 4678, 13, 288, 5411, 309, 261, 2039, 548, 422, 3124, 67, 12316, 13, 288, 7734, 16717, 668, 563, 273, 394, 16717, 668, 5621, 7734, 309, 261, 1968, 18, 2469, 1545, 404, 13, 10792, 563, 18, 2150, 620, 273, 7739, 5576, 18, 10492, 12, 1968, 63, 20, 19226, 7734, 563, 18, 542, 15846, 12, 588, 797, 15846, 12, 4887, 16, 315, 668, 7923, 1769, 7734, 327, 563, 31, 5411, 289, 5411, 469, 309, 261, 2039, 548, 422, 3124, 67, 10492, 13, 2 ]
return getRuntime().getNil();
if (args[0] instanceof RubyFixnum) { int idx = RubyNumeric.fix2int(args[0]); if (idx < 0) { idx += getValue().length(); } return idx < 0 || idx >= getValue().length() ? getRuntime().getNil() : RubyFixnum.newFixnum(getRuntime(), getValue().charAt(idx)); } else if (args[0] instanceof RubyRegexp) { return RubyRegexp.regexpValue(args[0]).search(this, 0) >= 0 ? RubyRegexp.last_match(getRuntime().getBackref()) : getRuntime().getNil(); } else if (args[0] instanceof RubyString) { return getValue().indexOf(stringValue(args[0]).getValue()) != -1 ? args[0] : getRuntime().getNil(); } else if (args[0] instanceof RubyRange) { long[] begLen = ((RubyRange) args[0]).getBeginLength(getValue().length(), true, false); return begLen == null ? getRuntime().getNil() : substr((int) begLen[0], (int) begLen[1]); } int idx = (int) RubyNumeric.num2long(args[0]); if (idx < 0) { idx += getValue().length(); } return idx < 0 || idx >= getValue().length() ? getRuntime().getNil() : RubyFixnum.newFixnum(getRuntime(), getValue().charAt(idx));
public IRubyObject aref(IRubyObject[] args) { try { return arefWithErrors(args); } catch (IndexError e) { } catch (RangeError e) { } return getRuntime().getNil(); }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/c3988bcedc9973ff7f8c24ac6423ecb89f3ada35/RubyString.java/clean/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 854, 74, 12, 7937, 10340, 921, 8526, 833, 13, 288, 202, 565, 775, 288, 202, 3639, 327, 854, 74, 1190, 4229, 12, 1968, 1769, 202, 565, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 854, 74, 12, 7937, 10340, 921, 8526, 833, 13, 288, 202, 565, 775, 288, 202, 3639, 327, 854, 74, 1190, 4229, 12, 1968, 1769, 202, 565, 289, 1044, 261, 1016, 668, 425, 13, 288, 202, 565, 289, 1044, 261, 2655, 668, 425, 13, 288, 202, 565, 289, 202, 377, 202, 565, 327, 18814, 7675, 588, 12616, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private static HtmlTag getLastCrumbAsLink(String[] crumbs, String trail) throws Exception
private static HtmlTag getLastCrumbAsLink(String[] crumbs, String trail) throws Exception
private static HtmlTag getLastCrumbAsLink(String[] crumbs, String trail) throws Exception { String crumb = crumbs[crumbs.length - 1]; HtmlTag link = makeLink("/" + trail + crumb, crumb); link.head = HtmlUtil.BR.html(); link.addAttribute("class", "page_title"); return link; }
6058 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6058/3155676b2f8325f44dd5f6b23a1202cb270efa4a/HtmlUtil.java/buggy/src/fitnesse/html/HtmlUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 27153, 7595, 12893, 3592, 1463, 2098, 12, 780, 8526, 4422, 10099, 16, 514, 15569, 13, 202, 225, 1216, 1185, 202, 95, 202, 202, 780, 28044, 273, 4422, 10099, 63, 3353, 10099, 18, 2469, 300, 404, 15533, 202, 202, 4353, 1805, 1692, 273, 1221, 2098, 2932, 4898, 397, 15569, 397, 28044, 16, 28044, 1769, 202, 202, 1232, 18, 1978, 273, 5430, 1304, 18, 7192, 18, 2620, 5621, 202, 202, 1232, 18, 1289, 1499, 2932, 1106, 3113, 315, 2433, 67, 2649, 8863, 202, 202, 2463, 1692, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 27153, 7595, 12893, 3592, 1463, 2098, 12, 780, 8526, 4422, 10099, 16, 514, 15569, 13, 202, 225, 1216, 1185, 202, 95, 202, 202, 780, 28044, 273, 4422, 10099, 63, 3353, 10099, 18, 2469, 300, 404, 15533, 202, 202, 4353, 1805, 1692, 273, 1221, 2098, 2932, 4898, 397, 15569, 397, 28044, 16, 28044, 1769, 202, 202, 1232, 18, 1978, 273, 5430, 1304, 18, 7192, 18, 2620, 5621, 202, 202, 1232, 18, 1289, 1499, 2932, 1106, 3113, 315, 2433, 67, 2649, 8863, 202, 202, 2463, 1692, 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 ]
for (int i = 0; i < theFrames.length; i++) { if (theFrames[i] instanceof RuleEditor) { ((RuleEditor)theFrames[i]).recolorSyntax(); }
JInternalFrame[] theFrames = DesktopPane.getAllFrames();
public void actionPerformed(ActionEvent e) { PreferencesDialog theDialog = new PreferencesDialog(MainFrame.getMainFrame()); theDialog.setVisible(true); //to realize the change immediately... takes too long /* if (theDialog.wasApproved()) { // make the change realized... JInternalFrame[] theFrames = DesktopPane.getAllFrames(); for (int i = 0; i < theFrames.length; i++) { if (theFrames[i] instanceof RuleEditor) { ((RuleEditor)theFrames[i]).recolorSyntax(); } } }*/ }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/b614d4abef68545f39b6afc1e8521d6ccc484b8e/MainFrame.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 288, 1082, 202, 12377, 6353, 202, 5787, 6353, 273, 394, 28310, 6353, 12, 6376, 3219, 18, 588, 6376, 3219, 10663, 1082, 202, 5787, 6353, 18, 542, 6207, 12, 3767, 1769, 6862, 202, 759, 869, 2863, 554, 326, 2549, 7636, 2777, 5530, 4885, 1525, 9506, 202, 20308, 1082, 202, 430, 261, 5787, 6353, 18, 17416, 31639, 10756, 288, 9506, 202, 759, 1221, 326, 2549, 2863, 1235, 2777, 9506, 202, 46, 3061, 3219, 8526, 326, 15162, 273, 10597, 11869, 8485, 18, 588, 1595, 15162, 5621, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 326, 15162, 18, 2469, 31, 277, 27245, 288, 6862, 202, 430, 261, 5787, 15162, 63, 77, 65, 1276, 6781, 6946, 13, 288, 25083, 202, 12443, 2175, 6946, 13, 5787, 15162, 63, 77, 65, 2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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 288, 1082, 202, 12377, 6353, 202, 5787, 6353, 273, 394, 28310, 6353, 12, 6376, 3219, 18, 588, 6376, 3219, 10663, 1082, 202, 5787, 6353, 18, 542, 6207, 12, 3767, 1769, 6862, 202, 759, 869, 2863, 554, 326, 2549, 7636, 2777, 5530, 4885, 1525, 9506, 202, 20308, 1082, 202, 430, 261, 5787, 6353, 18, 17416, 31639, 10756, 288, 9506, 202, 759, 1221, 326, 2549, 2863, 1235, 2777, 9506, 202, 46, 3061, 3219, 8526, 326, 15162, 273, 10597, 11869, 8485, 18, 588, 1595, 15162, 5621, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 326, 15162, 18, 2469, 31, 277, 27245, 288, 6862, 202, 430, 261, 5787, 15162, 63, 2 ]
public ASTEnumerationSpecifier(IASTScope scope, String name, int startingOffset, int nameOffset)
public ASTEnumerationSpecifier(IASTScope scope, String name, int startingOffset, int nameOffset, int nameEndOffset )
public ASTEnumerationSpecifier(IASTScope scope, String name, int startingOffset, int nameOffset) { super( scope, name ); this.name = name; offsets.setNameOffset( nameOffset ); offsets.setStartingOffset( startingOffset); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/e95da4dadebf96c72bbb248f97571b58e92fb39c/ASTEnumerationSpecifier.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/quick/ASTEnumerationSpecifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9183, 21847, 21416, 12, 45, 9053, 3876, 2146, 16, 514, 508, 16, 509, 5023, 2335, 16, 509, 508, 2335, 16, 509, 508, 1638, 2335, 262, 565, 288, 377, 202, 9565, 12, 2146, 16, 508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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9183, 21847, 21416, 12, 45, 9053, 3876, 2146, 16, 514, 508, 16, 509, 5023, 2335, 16, 509, 508, 2335, 16, 509, 508, 1638, 2335, 262, 565, 288, 377, 202, 9565, 12, 2146, 16, 508, 11272, 3639, 333, 18, 529, 273, 508, 31, 3639, 8738, 18, 542, 461, 2335, 12, 508, 2335, 11272, 3639, 8738, 18, 542, 11715, 2335, 12, 5023, 2335, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
text.append("()");
text.append("()");
protected String constructBodyFileContent(String lineDelimiter){ StringBuffer text = new StringBuffer(); text.append("#include \""); text.append(getCreatedClassHeaderFile().getElementName()); text.append("\""); text.append(lineDelimiter); text.append(lineDelimiter); if(isInline()) return text.toString(); // constructor text.append(getNewClassName()); text.append("::"); text.append(getNewClassName()); text.append("()"); text.append(lineDelimiter); text.append("{}"); text.append(lineDelimiter); // destructor text.append(getNewClassName()); text.append("::~"); text.append(getNewClassName()); text.append("()"); text.append(lineDelimiter); text.append("{}"); text.append(lineDelimiter); return text.toString(); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1738ff26440cb838b4d42f49cb8d29c4cc9babdf/NewClassWizardPage.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/NewClassWizardPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 4872, 2250, 25391, 12, 780, 980, 12007, 15329, 202, 202, 780, 1892, 977, 273, 394, 6674, 5621, 202, 202, 955, 18, 6923, 2932, 7, 6702, 1239, 8863, 202, 202, 955, 18, 6923, 12, 588, 6119, 797, 1864, 812, 7675, 21336, 461, 10663, 202, 202, 955, 18, 6923, 2932, 8530, 1769, 202, 202, 955, 18, 6923, 12, 1369, 12007, 1769, 6862, 202, 955, 18, 6923, 12, 1369, 12007, 1769, 6862, 1082, 202, 430, 12, 291, 10870, 10756, 1082, 202, 2463, 977, 18, 10492, 5621, 6862, 202, 759, 3885, 202, 202, 955, 18, 6923, 12, 588, 1908, 3834, 10663, 202, 202, 955, 18, 6923, 2932, 30, 2773, 1769, 3196, 202, 955, 18, 6923, 12, 588, 1908, 3834, 10663, 202, 202, 955, 18, 6923, 2932, 1435, 8863, 202, 202, 955, 18, 6923, 12, 1369, 12007, 1769, 6862, 202, 955, 18, 6923, 2932, 9338, 1769, 202, 202, 955, 18, 6923, 12, 1369, 12007, 1769, 6862, 1082, 202, 759, 23819, 280, 202, 202, 955, 18, 6923, 12, 588, 1908, 3834, 10663, 202, 202, 955, 18, 6923, 2932, 2866, 98, 8863, 3196, 202, 955, 18, 6923, 12, 588, 1908, 3834, 10663, 202, 202, 955, 18, 6923, 2932, 1435, 8863, 3196, 202, 955, 18, 6923, 12, 1369, 12007, 1769, 6862, 202, 955, 18, 6923, 2932, 9338, 1769, 3196, 202, 955, 18, 6923, 12, 1369, 12007, 1769, 25083, 202, 2463, 977, 18, 10492, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 4872, 2250, 25391, 12, 780, 980, 12007, 15329, 202, 202, 780, 1892, 977, 273, 394, 6674, 5621, 202, 202, 955, 18, 6923, 2932, 7, 6702, 1239, 8863, 202, 202, 955, 18, 6923, 12, 588, 6119, 797, 1864, 812, 7675, 21336, 461, 10663, 202, 202, 955, 18, 6923, 2932, 8530, 1769, 202, 202, 955, 18, 6923, 12, 1369, 12007, 1769, 6862, 202, 955, 18, 6923, 12, 1369, 12007, 1769, 6862, 1082, 202, 430, 12, 291, 10870, 10756, 1082, 202, 2463, 977, 18, 10492, 5621, 6862, 202, 759, 3885, 202, 202, 955, 18, 6923, 12, 588, 1908, 3834, 10663, 202, 202, 955, 18, 6923, 2932, 30, 2773, 1769, 3196, 202, 955, 18, 6923, 12, 588, 1908, 3834, 2 ]
mb.push(cd.getConglomerateName());
pushIndexName(cd, mb);
private void generateDistinctScan ( ExpressionClassBuilder acb, MethodBuilder mb ) throws StandardException { ConglomerateDescriptor cd = getTrulyTheBestAccessPath().getConglomerateDescriptor(); CostEstimate costEstimate = getFinalCostEstimate(); int colRefItem = (referencedCols == null) ? -1 : acb.addItem(referencedCols); boolean tableLockGranularity = tableDescriptor.getLockGranularity() == TableDescriptor.TABLE_LOCK_GRANULARITY; /* ** getDistinctScanResultSet ** ( ** activation, ** resultSetNumber, ** resultRowAllocator, ** conglomereNumber, ** tableName, ** indexName, ** colRefItem, ** lockMode, ** tableLocked, ** isolationLevel, ** optimizerEstimatedRowCount, ** optimizerEstimatedRowCost, ** closeCleanupMethod ** ); */ /* Get the hash key columns and wrap them in a formattable */ int[] hashKeyColumns; hashKeyColumns = new int[resultColumns.size()]; if (referencedCols == null) { for (int index = 0; index < hashKeyColumns.length; index++) { hashKeyColumns[index] = index; } } else { int index = 0; for (int colNum = referencedCols.anySetBit(); colNum != -1; colNum = referencedCols.anySetBit(colNum)) { hashKeyColumns[index++] = colNum; } } FormatableIntHolder[] fihArray = FormatableIntHolder.getFormatableIntHolders(hashKeyColumns); FormatableArrayHolder hashKeyHolder = new FormatableArrayHolder(fihArray); int hashKeyItem = acb.addItem(hashKeyHolder); long conglomNumber = cd.getConglomerateNumber(); StaticCompiledOpenConglomInfo scoci = getLanguageConnectionContext(). getTransactionCompile(). getStaticCompiledConglomInfo(conglomNumber); acb.pushGetResultSetFactoryExpression(mb); acb.pushThisAsActivation(mb); mb.push(conglomNumber); mb.push(acb.addItem(scoci)); resultColumns.generateHolder(acb, mb, referencedCols, (FormatableBitSet) null); mb.push(getResultSetNumber()); mb.push(hashKeyItem); mb.push(tableDescriptor.getName()); //User may have supplied optimizer overrides in the sql //Pass them onto execute phase so it can be shown in //run time statistics. if (tableProperties != null) mb.push(org.apache.derby.iapi.util.PropertyUtil.sortProperties(tableProperties)); else mb.pushNull("java.lang.String"); mb.push(cd.getConglomerateName()); mb.push(cd.isConstraint()); mb.push(colRefItem); mb.push(getTrulyTheBestAccessPath().getLockMode()); mb.push(tableLockGranularity); mb.push(getCompilerContext().getScanIsolationLevel()); mb.push(costEstimate.singleScanRowCount()); mb.push(costEstimate.getEstimatedCost()); closeMethodArgument(acb, mb); mb.callMethod(VMOpcode.INVOKEINTERFACE, (String) null, "getDistinctScanResultSet", ClassName.NoPutResultSet, 17); }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/fee55d87f3fc069978517ad5ae20dd461e478e05/FromBaseTable.java/buggy/java/engine/org/apache/derby/impl/sql/compile/FromBaseTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2103, 23402, 7972, 202, 12, 202, 202, 2300, 797, 1263, 202, 1077, 70, 16, 202, 202, 1305, 1263, 4903, 202, 13, 1216, 8263, 503, 202, 95, 202, 202, 442, 7043, 362, 12600, 3187, 7976, 273, 336, 1070, 332, 93, 1986, 14173, 1862, 743, 7675, 588, 442, 7043, 362, 12600, 3187, 5621, 202, 202, 8018, 13638, 6991, 13638, 273, 2812, 1490, 8018, 13638, 5621, 202, 202, 474, 645, 1957, 1180, 273, 261, 20883, 8011, 422, 446, 13, 692, 25083, 202, 17, 21, 294, 25083, 202, 1077, 70, 18, 1289, 1180, 12, 20883, 8011, 1769, 202, 202, 6494, 1014, 2531, 43, 27234, 273, 1014, 3187, 18, 588, 2531, 43, 27234, 1435, 422, 3555, 3187, 18, 7775, 67, 6589, 67, 6997, 1258, 19545, 4107, 31, 1082, 202, 20308, 202, 202, 636, 2343, 376, 7694, 7972, 13198, 202, 202, 636, 261, 202, 202, 636, 202, 202, 16908, 16, 6862, 202, 636, 202, 202, 2088, 694, 1854, 16, 6862, 202, 636, 202, 202, 2088, 1999, 21156, 16, 6862, 202, 636, 202, 202, 591, 7043, 362, 822, 1854, 16, 6862, 202, 636, 202, 202, 18033, 16, 6862, 202, 636, 202, 202, 1615, 461, 16, 6862, 202, 636, 202, 202, 1293, 1957, 1180, 16, 6862, 202, 636, 202, 202, 739, 2309, 16, 6862, 202, 636, 202, 202, 2121, 8966, 16, 202, 202, 636, 202, 202, 291, 12255, 2355, 16, 202, 202, 636, 202, 202, 29594, 9122, 17275, 26359, 16, 202, 202, 636, 202, 202, 29594, 9122, 17275, 1999, 8018, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2103, 23402, 7972, 202, 12, 202, 202, 2300, 797, 1263, 202, 1077, 70, 16, 202, 202, 1305, 1263, 4903, 202, 13, 1216, 8263, 503, 202, 95, 202, 202, 442, 7043, 362, 12600, 3187, 7976, 273, 336, 1070, 332, 93, 1986, 14173, 1862, 743, 7675, 588, 442, 7043, 362, 12600, 3187, 5621, 202, 202, 8018, 13638, 6991, 13638, 273, 2812, 1490, 8018, 13638, 5621, 202, 202, 474, 645, 1957, 1180, 273, 261, 20883, 8011, 422, 446, 13, 692, 25083, 202, 17, 21, 294, 25083, 202, 1077, 70, 18, 1289, 1180, 12, 20883, 8011, 1769, 202, 202, 6494, 1014, 2531, 43, 27234, 273, 1014, 3187, 18, 588, 2531, 43, 27234, 1435, 422, 3555, 3187, 18, 7775, 67, 2 ]
assertEquals(JavaUtil.convertJavaToRuby(ruby, null, Object.class).type().toName(), "NilClass"); assertEquals(JavaUtil.convertJavaToRuby(ruby, new Integer(1000), Integer.TYPE).type().toName(), "Fixnum"); assertEquals(JavaUtil.convertJavaToRuby(ruby, new Double(1.0), Double.TYPE).type().toName(), "Float"); assertEquals(JavaUtil.convertJavaToRuby(ruby, Boolean.TRUE, Boolean.TYPE).type().toName(), "TrueClass"); assertEquals(JavaUtil.convertJavaToRuby(ruby, Boolean.FALSE, Boolean.TYPE).type().toName(), "FalseClass"); assertEquals(JavaUtil.convertJavaToRuby(ruby, "AString", String.class).type().toName(), "String");
assertEquals(JavaUtil.convertJavaToRuby(ruby, null).type().toName(), "NilClass"); assertEquals(JavaUtil.convertJavaToRuby(ruby, new Integer(1000)).type().toName(), "Fixnum"); assertEquals(JavaUtil.convertJavaToRuby(ruby, new Double(1.0)).type().toName(), "Float"); assertEquals(JavaUtil.convertJavaToRuby(ruby, Boolean.TRUE).type().toName(), "TrueClass"); assertEquals(JavaUtil.convertJavaToRuby(ruby, Boolean.FALSE).type().toName(), "FalseClass"); assertEquals(JavaUtil.convertJavaToRuby(ruby, "AString").type().toName(), "String");
public void testConvertJavaToRuby() { assertEquals(JavaUtil.convertJavaToRuby(ruby, null, Object.class).type().toName(), "NilClass"); assertEquals(JavaUtil.convertJavaToRuby(ruby, new Integer(1000), Integer.TYPE).type().toName(), "Fixnum"); assertEquals(JavaUtil.convertJavaToRuby(ruby, new Double(1.0), Double.TYPE).type().toName(), "Float"); assertEquals(JavaUtil.convertJavaToRuby(ruby, Boolean.TRUE, Boolean.TYPE).type().toName(), "TrueClass"); assertEquals(JavaUtil.convertJavaToRuby(ruby, Boolean.FALSE, Boolean.TYPE).type().toName(), "FalseClass"); assertEquals(JavaUtil.convertJavaToRuby(ruby, "AString", String.class).type().toName(), "String"); }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/0a526b01cbfccc8f939ebe1c3b73363469a0bfd5/TestJavaUtil.java/buggy/org/jruby/test/TestJavaUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2723, 5852, 774, 54, 10340, 1435, 288, 3639, 1815, 8867, 12, 5852, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 446, 16, 1033, 18, 1106, 2934, 723, 7675, 869, 461, 9334, 315, 12616, 797, 8863, 3639, 1815, 8867, 12, 5852, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 394, 2144, 12, 18088, 3631, 2144, 18, 2399, 2934, 723, 7675, 869, 461, 9334, 315, 8585, 2107, 8863, 3639, 1815, 8867, 12, 5852, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 394, 3698, 12, 21, 18, 20, 3631, 3698, 18, 2399, 2934, 723, 7675, 869, 461, 9334, 315, 4723, 8863, 3639, 1815, 8867, 12, 5852, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 3411, 18, 18724, 16, 3411, 18, 2399, 2934, 723, 7675, 869, 461, 9334, 315, 5510, 797, 8863, 3639, 1815, 8867, 12, 5852, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 3411, 18, 21053, 16, 3411, 18, 2399, 2934, 723, 7675, 869, 461, 9334, 315, 8381, 797, 8863, 3639, 1815, 8867, 12, 5852, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 315, 37, 780, 3113, 514, 18, 1106, 2934, 723, 7675, 869, 461, 9334, 315, 780, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2723, 5852, 774, 54, 10340, 1435, 288, 3639, 1815, 8867, 12, 5852, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 446, 16, 1033, 18, 1106, 2934, 723, 7675, 869, 461, 9334, 315, 12616, 797, 8863, 3639, 1815, 8867, 12, 5852, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 394, 2144, 12, 18088, 3631, 2144, 18, 2399, 2934, 723, 7675, 869, 461, 9334, 315, 8585, 2107, 8863, 3639, 1815, 8867, 12, 5852, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 394, 3698, 12, 21, 18, 20, 3631, 3698, 18, 2399, 2934, 723, 7675, 869, 461, 9334, 315, 4723, 8863, 3639, 1815, 8867, 12, 5852, 1304, 18, 6283, 5852, 774, 54, 2 ]
public String getSelectedText()
public String getSelectedText(Selection s)
public String getSelectedText() { return getSelectedText("\n"); } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/03e75008b5af800755476fc92bf9a72bf3f931f4/JEditTextArea.java/buggy/org/gjt/sp/jedit/textarea/JEditTextArea.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 16625, 1528, 1435, 202, 95, 202, 202, 2463, 16625, 1528, 31458, 82, 8863, 202, 97, 368, 9090,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 16625, 1528, 1435, 202, 95, 202, 202, 2463, 16625, 1528, 31458, 82, 8863, 202, 97, 368, 9090, 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 ]
public void invoke(MessageContext msgctx) throws AxisFault {// if (msgctx.getServiceContext() == null) {// EndpointReference toEPR = msgctx.getTo();// QName serviceName = new QName(toEPR.getAddress());// AxisService service =// msgctx.getEngineContext().getEngineConfig().getService(serviceName);//// if (service != null) {// EngineContext engineContext = msgctx.getEngineContext();// ServiceContext serviceContext = engineContext.getService(service.getName());// if (serviceContext == null) {// serviceContext = new ServiceContext(service,engineContext);// }// msgctx.setServiceContext(serviceContext);// // let add the Handlers// ExecutionChain chain = msgctx.getExecutionChain();// chain.addPhases(serviceContext.getPhases(EngineConfiguration.INFLOW));//// } else {// throw new AxisFault("No service found under the " + toEPR.getAddress());// }//// }//// if (msgctx.getoperationConfig() == null) {// AxisService service = msgctx.getServiceContext().getServiceConfig();// String action = (String) msgctx.getWSAAction();// if (action != null) {// QName operationName = new QName(action);// AxisOperation op = service.getOperation(operationName);// if (op != null) {// msgctx.setOperationConfig(op);// } else{// throw new AxisFault("No Operation named "+ operationName + " Not found" );// }// //if no operation found let it go, this is for a handler may be. e.g. Create Sequance in RM// } else {// throw new AxisFault("Operation not found, WSA Action is Null");// }//// } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/300f5888904c5abbc97474bfee7c9727b7c7451a/AddressingBasedDispatcher.java/clean/modules/core/src/org/apache/axis/engine/AddressingBasedDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4356, 12, 1079, 1042, 1234, 5900, 13, 1216, 15509, 7083, 288, 759, 3639, 309, 261, 3576, 5900, 18, 588, 1179, 1042, 1435, 422, 446, 13, 288, 759, 5411, 6961, 2404, 358, 41, 8025, 273, 1234, 5900, 18, 588, 774, 5621, 759, 5411, 16723, 6773, 273, 394, 16723, 12, 869, 41, 8025, 18, 588, 1887, 10663, 759, 5411, 15509, 1179, 1156, 273, 759, 7734, 1234, 5900, 18, 588, 4410, 1042, 7675, 588, 4410, 809, 7675, 588, 1179, 12, 15423, 1769, 1307, 5411, 309, 261, 3278, 480, 446, 13, 288, 759, 7734, 10507, 1042, 4073, 1042, 273, 1234, 5900, 18, 588, 4410, 1042, 5621, 759, 7734, 1956, 1042, 1156, 1042, 273, 4073, 1042, 18, 588, 1179, 12, 3278, 18, 17994, 10663, 759, 7734, 309, 261, 3278, 1042, 422, 446, 13, 288, 759, 10792, 1156, 1042, 273, 394, 1956, 1042, 12, 3278, 16, 8944, 1042, 1769, 759, 7734, 289, 759, 7734, 1234, 5900, 18, 542, 1179, 1042, 12, 3278, 1042, 1769, 759, 7734, 368, 2231, 527, 326, 14100, 759, 7734, 8687, 3893, 2687, 273, 1234, 5900, 18, 588, 3210, 3893, 5621, 759, 7734, 2687, 18, 1289, 3731, 3304, 12, 3278, 1042, 18, 588, 3731, 3304, 12, 4410, 1750, 18, 706, 17430, 10019, 1307, 5411, 289, 469, 288, 759, 7734, 604, 394, 15509, 7083, 2932, 2279, 1156, 1392, 3613, 326, 315, 397, 358, 41, 8025, 18, 588, 1887, 10663, 759, 5411, 289, 1307, 3639, 289, 1307, 3639, 309, 261, 3576, 5900, 18, 588, 7624, 809, 1435, 422, 446, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4356, 12, 1079, 1042, 1234, 5900, 13, 1216, 15509, 7083, 288, 759, 3639, 309, 261, 3576, 5900, 18, 588, 1179, 1042, 1435, 422, 446, 13, 288, 759, 5411, 6961, 2404, 358, 41, 8025, 273, 1234, 5900, 18, 588, 774, 5621, 759, 5411, 16723, 6773, 273, 394, 16723, 12, 869, 41, 8025, 18, 588, 1887, 10663, 759, 5411, 15509, 1179, 1156, 273, 759, 7734, 1234, 5900, 18, 588, 4410, 1042, 7675, 588, 4410, 809, 7675, 588, 1179, 12, 15423, 1769, 1307, 5411, 309, 261, 3278, 480, 446, 13, 288, 759, 7734, 10507, 1042, 4073, 1042, 273, 1234, 5900, 18, 588, 4410, 1042, 5621, 759, 7734, 1956, 1042, 1156, 1042, 273, 4073, 1042, 18, 588, 1179, 12, 3278, 2 ]
public void actionPerformed(ActionEvent e) { JComboBox cb = (JComboBox)e.getSource(); ColoredObject item = ((ColoredObject)cb.getSelectedItem()); if(item != null) cb.setForeground(item.getColor());
public void actionPerformed(ActionEvent event) { if(XJFileChooser.shared().displayChooseDirectory(getJavaContainer())) { downloadPathField.setText(XJFileChooser.shared().getSelectedFilePath()); EditorPreferences.setDownloadPath(downloadPathField.getText()); }
public void actionPerformed(ActionEvent e) { JComboBox cb = (JComboBox)e.getSource(); ColoredObject item = ((ColoredObject)cb.getSelectedItem()); if(item != null) cb.setForeground(item.getColor()); }
51505 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51505/73cd349bb31b15b43b1fa12d3c7fb8ceb7d58642/DialogPrefs.java/buggy/src/org/antlr/works/dialog/DialogPrefs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 7734, 804, 22199, 2875, 273, 261, 46, 22199, 13, 73, 18, 588, 1830, 5621, 7734, 1558, 7653, 921, 761, 273, 14015, 914, 7653, 921, 13, 7358, 18, 588, 7416, 1180, 10663, 7734, 309, 12, 1726, 480, 446, 13, 10792, 2875, 18, 542, 23206, 12, 1726, 18, 588, 2957, 10663, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 7734, 804, 22199, 2875, 273, 261, 46, 22199, 13, 73, 18, 588, 1830, 5621, 7734, 1558, 7653, 921, 761, 273, 14015, 914, 7653, 921, 13, 7358, 18, 588, 7416, 1180, 10663, 7734, 309, 12, 1726, 480, 446, 13, 10792, 2875, 18, 542, 23206, 12, 1726, 18, 588, 2957, 10663, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (sb == null)
} if (sb == null) {
void addStr(int row, int col, String str, boolean ischar) { if (debug) getLogger().debug("TXTRenderer.addStr(" + row + ", " + col + ", \"" + str + "\", " + ischar + ")"); if (suppressGraphics &&!ischar) return; StringBuffer sb; if (row < 0) row = 0; if (ischar) sb = charData[row]; else sb = decoData[row]; if (sb == null) sb = new StringBuffer(); if ((col + str.length()) > maxX) col = maxX - str.length(); if (col < 0) { col = 0; if (str.length() > maxX) str = str.substring(0, maxX); } // Pad to col for (int countr = sb.length(); countr < col; countr++) sb.append(' '); if (debug) getLogger().debug("TXTRenderer.addStr() sb.length()=" + sb.length()); for (int countr = col; countr < (col + str.length()); countr++) { if (countr >= sb.length()) sb.append(str.charAt(countr - col)); else { if (debug) getLogger().debug("TXTRenderer.addStr() sb.length()=" + sb.length() + " countr=" + countr); sb.setCharAt(countr, str.charAt(countr - col)); } } if (ischar) charData[row] = sb; else decoData[row] = sb; }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/080758135d662b79c2d14b02e74dae860afd3161/TXTRenderer.java/clean/src/org/apache/fop/render/txt/TXTRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 527, 1585, 12, 474, 1027, 16, 509, 645, 16, 514, 609, 16, 1250, 353, 3001, 13, 288, 3639, 309, 261, 4148, 13, 5411, 7156, 7675, 4148, 2932, 29399, 6747, 18, 1289, 1585, 2932, 397, 1027, 397, 3104, 315, 397, 645, 1171, 9079, 397, 3104, 11843, 397, 609, 397, 1548, 3113, 315, 397, 353, 3001, 397, 7310, 1769, 3639, 309, 261, 10840, 17558, 597, 5, 291, 3001, 13, 5411, 327, 31, 3639, 6674, 2393, 31, 3639, 309, 261, 492, 411, 374, 13, 5411, 1027, 273, 374, 31, 3639, 309, 261, 291, 3001, 13, 5411, 2393, 273, 1149, 751, 63, 492, 15533, 3639, 469, 5411, 2393, 273, 2109, 83, 751, 63, 492, 15533, 3639, 289, 309, 261, 18366, 422, 446, 13, 288, 5411, 2393, 273, 394, 6674, 5621, 3639, 309, 14015, 1293, 397, 609, 18, 2469, 10756, 405, 21482, 13, 5411, 645, 273, 21482, 300, 609, 18, 2469, 5621, 3639, 309, 261, 1293, 411, 374, 13, 288, 5411, 645, 273, 374, 31, 5411, 309, 261, 701, 18, 2469, 1435, 405, 21482, 13, 7734, 609, 273, 609, 18, 28023, 12, 20, 16, 21482, 1769, 3639, 289, 3639, 368, 30961, 358, 645, 3639, 364, 261, 474, 276, 465, 313, 273, 2393, 18, 2469, 5621, 276, 465, 313, 411, 645, 31, 276, 465, 313, 27245, 5411, 2393, 18, 6923, 2668, 28005, 3639, 309, 261, 4148, 13, 5411, 7156, 7675, 4148, 2932, 29399, 6747, 18, 1289, 1585, 1435, 2393, 18, 2469, 1435, 1546, 1171, 9079, 397, 2393, 18, 2469, 10663, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 527, 1585, 12, 474, 1027, 16, 509, 645, 16, 514, 609, 16, 1250, 353, 3001, 13, 288, 3639, 309, 261, 4148, 13, 5411, 7156, 7675, 4148, 2932, 29399, 6747, 18, 1289, 1585, 2932, 397, 1027, 397, 3104, 315, 397, 645, 1171, 9079, 397, 3104, 11843, 397, 609, 397, 1548, 3113, 315, 397, 353, 3001, 397, 7310, 1769, 3639, 309, 261, 10840, 17558, 597, 5, 291, 3001, 13, 5411, 327, 31, 3639, 6674, 2393, 31, 3639, 309, 261, 492, 411, 374, 13, 5411, 1027, 273, 374, 31, 3639, 309, 261, 291, 3001, 13, 5411, 2393, 273, 1149, 751, 63, 492, 15533, 3639, 469, 5411, 2393, 273, 2109, 83, 751, 63, 492, 15533, 3639, 289, 309, 261, 18366, 422, 2 ]
rect.x - boardRect.x, boardRect.height - (int)(36*scale), rect.width, (int)(36*scale));
rect.x - boardRect.x, boardRect.height - (int)(36*scale), rect.width, (int)(36*scale));
private void drawHexes(Rectangle rect) { // rect is the view int drawX = (int)(rect.x / (HEX_WC*scale))-1; int drawY = (int)(rect.y / (HEX_H*scale))-1; int drawWidth = (int)(rect.width / (HEX_WC*scale))+3; int drawHeight = (int)(rect.height / (HEX_H*scale))+3; // only draw what we came to draw boardGraph.setClip(rect.x - boardRect.x, rect.y - boardRect.y, rect.width, rect.height); // clear, if we need to if (rect.x < (21*scale)) { boardGraph.clearRect( rect.x - boardRect.x, rect.y - boardRect.y, (int)(21*scale) - rect.x, rect.height); } if (rect.y < (36*scale)) { boardGraph.clearRect( rect.x - boardRect.x, rect.y - boardRect.y, rect.width, (int)(36*scale) - rect.y); } if (rect.x > boardSize.width - view.width - (21*scale)) { boardGraph.clearRect( boardRect.width - (int)(21*scale), rect.y - boardRect.y, (int)(21*scale), rect.height); } if (rect.y > boardSize.height - view.height - (int)(36*scale)) { boardGraph.clearRect( rect.x - boardRect.x, boardRect.height - (int)(36*scale), rect.width, (int)(36*scale)); } // draw some hexes for (int i = 0; i < drawHeight; i++) { for (int j = 0; j < drawWidth; j++) { drawHex(new Coords(j + drawX, i + drawY)); } } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/18ec0036f3c5df3d8fbef60e9dd53cc153fc889e/BoardView1.java/buggy/megamek/src/megamek/client/ui/AWT/BoardView1.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3724, 7037, 281, 12, 19463, 4917, 13, 288, 377, 202, 377, 202, 759, 4917, 353, 326, 1476, 3639, 509, 3724, 60, 273, 261, 474, 21433, 2607, 18, 92, 342, 261, 20661, 67, 59, 39, 14, 5864, 3719, 17, 21, 31, 3639, 509, 3724, 61, 273, 261, 474, 21433, 2607, 18, 93, 342, 261, 20661, 67, 44, 14, 5864, 3719, 17, 21, 31, 3639, 509, 3724, 2384, 273, 261, 474, 21433, 2607, 18, 2819, 342, 261, 20661, 67, 59, 39, 14, 5864, 3719, 15, 23, 31, 3639, 509, 3724, 2686, 273, 261, 474, 21433, 2607, 18, 4210, 342, 261, 20661, 67, 44, 14, 5864, 3719, 15, 23, 31, 3639, 368, 1338, 3724, 4121, 732, 22497, 358, 3724, 3639, 11094, 4137, 18, 542, 15339, 12, 2607, 18, 92, 300, 11094, 6120, 18, 92, 16, 4917, 18, 93, 300, 11094, 6120, 18, 93, 16, 21821, 4917, 18, 2819, 16, 4917, 18, 4210, 1769, 3639, 368, 2424, 16, 309, 732, 1608, 358, 3639, 309, 261, 2607, 18, 92, 411, 261, 5340, 14, 5864, 3719, 288, 5411, 11094, 4137, 18, 8507, 6120, 12, 2398, 202, 202, 2607, 18, 92, 300, 11094, 6120, 18, 92, 16, 4917, 18, 93, 300, 11094, 6120, 18, 93, 16, 2398, 202, 202, 12, 474, 21433, 5340, 14, 5864, 13, 300, 4917, 18, 92, 16, 4917, 18, 4210, 1769, 3639, 289, 3639, 309, 261, 2607, 18, 93, 411, 261, 5718, 14, 5864, 3719, 288, 5411, 11094, 4137, 18, 8507, 6120, 12, 2398, 202, 202, 2607, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3724, 7037, 281, 12, 19463, 4917, 13, 288, 377, 202, 377, 202, 759, 4917, 353, 326, 1476, 3639, 509, 3724, 60, 273, 261, 474, 21433, 2607, 18, 92, 342, 261, 20661, 67, 59, 39, 14, 5864, 3719, 17, 21, 31, 3639, 509, 3724, 61, 273, 261, 474, 21433, 2607, 18, 93, 342, 261, 20661, 67, 44, 14, 5864, 3719, 17, 21, 31, 3639, 509, 3724, 2384, 273, 261, 474, 21433, 2607, 18, 2819, 342, 261, 20661, 67, 59, 39, 14, 5864, 3719, 15, 23, 31, 3639, 509, 3724, 2686, 273, 261, 474, 21433, 2607, 18, 4210, 342, 261, 20661, 67, 44, 14, 5864, 3719, 15, 23, 31, 3639, 368, 1338, 3724, 4121, 732, 22497, 358, 3724, 2 ]
String reason = Verifier.checkNamespaceCollision(additional, this);
final String reason = Verifier.checkNamespaceCollision(additional, this);
public void addNamespaceDeclaration(Namespace additional) { // Verify the new namespace prefix doesn't collide with another // declared namespace, an attribute prefix, or this element's prefix String reason = Verifier.checkNamespaceCollision(additional, this); if (reason != null) { throw new IllegalAddException(this, additional, reason); } if (additionalNamespaces == null) { additionalNamespaces = new ArrayList(INITIAL_ARRAY_SIZE); } additionalNamespaces.add(additional); }
49530 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49530/b48373d95cd91986f83ac5345566258d80e88027/Element.java/buggy/core/src/java/org/jdom/Element.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 3402, 6094, 12, 3402, 3312, 13, 288, 3639, 368, 8553, 326, 394, 1981, 1633, 3302, 1404, 645, 8130, 598, 4042, 3639, 368, 7886, 1981, 16, 392, 1566, 1633, 16, 578, 333, 930, 1807, 1633, 3639, 727, 514, 3971, 273, 6160, 1251, 18, 1893, 3402, 13535, 1951, 12, 13996, 16, 333, 1769, 3639, 309, 261, 10579, 480, 446, 13, 288, 5411, 604, 394, 2141, 986, 503, 12, 2211, 16, 3312, 16, 3971, 1769, 3639, 289, 3639, 309, 261, 13996, 13180, 422, 446, 13, 288, 5411, 3312, 13180, 273, 394, 2407, 12, 28497, 67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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 3402, 6094, 12, 3402, 3312, 13, 288, 3639, 368, 8553, 326, 394, 1981, 1633, 3302, 1404, 645, 8130, 598, 4042, 3639, 368, 7886, 1981, 16, 392, 1566, 1633, 16, 578, 333, 930, 1807, 1633, 3639, 727, 514, 3971, 273, 6160, 1251, 18, 1893, 3402, 13535, 1951, 12, 13996, 16, 333, 1769, 3639, 309, 261, 10579, 480, 446, 13, 288, 5411, 604, 394, 2141, 986, 503, 12, 2211, 16, 3312, 16, 3971, 1769, 3639, 289, 3639, 309, 261, 13996, 13180, 422, 446, 13, 288, 5411, 3312, 13180, 273, 394, 2407, 12, 28497, 67, 8552, 67, 4574, 1769, 3639, 289, 3639, 3312, 13180, 18, 1289, 12, 13996, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100 ]
String getBorderTopColor();
String getBorderTopColor( );
String getBorderTopColor();
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/418b538dedc46927b62e9d884dd3fc2419ed5e34/IScriptStyle.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/IScriptStyle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 780, 2882, 1019, 3401, 2957, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 780, 2882, 1019, 3401, 2957, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new JavaRefactoringDescriptor(ID_INTRODUCE_PARAMETER, extended.getProject(), NLS.bind(RefactoringCoreMessages.IntroduceParameterRefactoring_descriptor_description, new String[] { fParameter.getNewName(), signature, ASTNodes.asString(fSelectedExpression)}), getComment(), arguments, extended.getFlags());
public final ChangeDescriptor getDescriptor() { final ChangeDescriptor descriptor= getChildren()[0].getDescriptor(); if (descriptor instanceof JavaRefactoringDescriptor) { final JavaRefactoringDescriptor extended= (JavaRefactoringDescriptor) descriptor; final Map arguments= new HashMap(); arguments.put(ATTRIBUTE_ARGUMENT, fParameter.getNewName()); arguments.put(ATTRIBUTE_SELECTION, new Integer(fSelectionStart).toString() + " " + new Integer(fSelectionLength).toString()); //$NON-NLS-1$ arguments.putAll(extended.getArguments()); String signature= fChangeSignatureRefactoring.getMethodName(); try { signature= fChangeSignatureRefactoring.getOldMethodSignature(); } catch (JavaModelException exception) { JavaPlugin.log(exception); } return new JavaRefactoringDescriptor(ID_INTRODUCE_PARAMETER, extended.getProject(), NLS.bind(RefactoringCoreMessages.IntroduceParameterRefactoring_descriptor_description, new String[] { fParameter.getNewName(), signature, ASTNodes.asString(fSelectedExpression)}), getComment(), arguments, extended.getFlags()); } return null; }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/0432e0d7c5a62e819812c87710ddd951922b9dd2/IntroduceParameterRefactoring.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 727, 7576, 3187, 22161, 1435, 288, 9506, 202, 6385, 7576, 3187, 4950, 33, 10268, 1435, 63, 20, 8009, 588, 3187, 5621, 9506, 202, 430, 261, 12628, 1276, 5110, 426, 3493, 6053, 3187, 13, 288, 6862, 202, 6385, 5110, 426, 3493, 6053, 3187, 7021, 33, 261, 5852, 426, 3493, 6053, 3187, 13, 4950, 31, 6862, 202, 6385, 1635, 1775, 33, 394, 4317, 5621, 6862, 202, 7099, 18, 458, 12, 11616, 67, 18311, 16, 284, 1662, 18, 588, 1908, 461, 10663, 6862, 202, 7099, 18, 458, 12, 11616, 67, 1090, 15445, 16, 394, 2144, 12, 74, 6233, 1685, 2934, 10492, 1435, 397, 315, 315, 397, 394, 2144, 12, 74, 6233, 1782, 2934, 10492, 10663, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 7099, 18, 458, 1595, 12, 14948, 18, 588, 4628, 10663, 6862, 202, 780, 3372, 33, 284, 3043, 5374, 426, 3493, 6053, 18, 588, 11666, 5621, 6862, 202, 698, 288, 25083, 202, 8195, 33, 284, 3043, 5374, 426, 3493, 6053, 18, 588, 7617, 1305, 5374, 5621, 6862, 202, 97, 1044, 261, 5852, 1488, 503, 1520, 13, 288, 25083, 202, 5852, 3773, 18, 1330, 12, 4064, 1769, 6862, 202, 97, 6862, 202, 2463, 394, 5110, 426, 3493, 6053, 3187, 12, 734, 67, 3217, 54, 1212, 57, 1441, 67, 9819, 16, 7021, 18, 588, 4109, 9334, 29117, 18, 4376, 12, 426, 3493, 6053, 4670, 5058, 18, 1702, 303, 2544, 311, 1662, 426, 3493, 6053, 67, 12628, 67, 3384, 16, 394, 514, 8526, 288, 284, 1662, 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, 1875, 202, 482, 727, 7576, 3187, 22161, 1435, 288, 9506, 202, 6385, 7576, 3187, 4950, 33, 10268, 1435, 63, 20, 8009, 588, 3187, 5621, 9506, 202, 430, 261, 12628, 1276, 5110, 426, 3493, 6053, 3187, 13, 288, 6862, 202, 6385, 5110, 426, 3493, 6053, 3187, 7021, 33, 261, 5852, 426, 3493, 6053, 3187, 13, 4950, 31, 6862, 202, 6385, 1635, 1775, 33, 394, 4317, 5621, 6862, 202, 7099, 18, 458, 12, 11616, 67, 18311, 16, 284, 1662, 18, 588, 1908, 461, 10663, 6862, 202, 7099, 18, 458, 12, 11616, 67, 1090, 15445, 16, 394, 2144, 12, 74, 6233, 1685, 2934, 10492, 1435, 397, 315, 315, 397, 394, 2144, 12, 74, 6233, 1782, 2934, 10492, 10663, 4329, 3993, 17, 5106, 2 ]
this.languageRange = language.getLanguage();
if ( "".equals(language.getCountry())) { this.languageRange = language.getLanguage(); } else { this.languageRange = language.getLanguage() + '-' + language.getCountry(); }
public void setAcceptLanguage(Locale language) { this.languageRange = language.getLanguage(); }
7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/AcceptLanguage.java/clean/trunk/src/gov/nist/javax/sip/header/AcceptLanguage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 5933, 3779, 12, 3916, 2653, 13, 288, 202, 202, 2211, 18, 4923, 2655, 273, 2653, 18, 588, 3779, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 5933, 3779, 12, 3916, 2653, 13, 288, 202, 202, 2211, 18, 4923, 2655, 273, 2653, 18, 588, 3779, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
localVarsList.set(j, argsList.get(j));
localVarsList.set(j, args.get(j));
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby.getRubyScope().push(); if (getRefValue() != null) { // savedCref = ruby.getCRef(); s.a. ruby.setCRef(getRefValue()); ruby.getRubyFrame().setCbase(getRefValue()); } if (getTable() != null) { // ? +++ // List tmpList = Collections.nCopies(body.nd_tbl()[0].intValue() + 1, getRuby().getNil()); // ? --- // localVarsList = new ShiftableList(new ArrayList(tmpList)); // localVarsList.set(0, body); // localVarsList.shift(1); localVarsList = new RubyPointer(ruby.getNil(), getTable().getId(0).intValue() + 1); localVarsList.set(0, this); // +++ // localVarsList.set(3, argsList, argsList.size()); // --- localVarsList.inc(); ruby.getRubyScope().setLocalVars(localVarsList); ruby.getRubyScope().setLocalTbl(getTable()); } else { localVarsList = ruby.getRubyScope().getLocalVars(); ruby.getRubyScope().setLocalVars(null); ruby.getRubyScope().setLocalTbl(null); } Node body = getNextNode(); RubyVarmap.push(ruby); // PUSH_TAG(PROT_FUNC); RubyObject result = ruby.getNil(); try { Node node = null; int i; if (body.getType() == Constants.NODE_ARGS) { node = body; body = null; } else if (body.getType() == Constants.NODE_BLOCK) { node = body.getHeadNode(); body = body.getNextNode(); } if (node != null) { if (node.getType() != Constants.NODE_ARGS) { // rb_bug("no argument-node"); } i = node.getCount(); if (i > (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + i + ")"); } if (node.getRest() == -1) { int opt = i; Node optNode = node.getOptNode(); while (optNode != null) { opt++; optNode = optNode.getNextNode(); } if (opt < (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + opt + ")"); } ruby.getRubyFrame().setArgs(localVarsList != null ? localVarsList.getPointer(2) : null); } if (localVarsList != null) { if (i > 0) { localVarsList.inc(2); for (int j = 0; j < i; j++ ) { localVarsList.set(j, argsList.get(j)); } localVarsList.dec(2); } argsList.inc(i); if (node.getOptNode() != null) { Node optNode = node.getOptNode(); while (optNode != null && argsList.size() != 0) { ((AssignableNode)optNode.getHeadNode()).assign(ruby, recv, argsList.getRuby(0), true); argsList.inc(1); optNode = optNode.getNextNode(); } recv.eval(optNode); } if (node.getRest() >= 0) { RubyArray array = null; if (argsList.size() > 0) { array = RubyArray.m_newArray(ruby, argsList); } else { array = RubyArray.m_newArray(ruby, 0); } localVarsList.set(node.getRest(), array); } } } result = recv.eval(body); } catch (ReturnException rExcptn) { } RubyVarmap.pop(ruby); ruby.getRubyScope().pop(); ruby.setCRef(savedCref); return result; }
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java
[ 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, 13, 288, 3639, 385, 1957, 907, 5198, 39, 1734, 273, 22155, 18, 588, 39, 1957, 5621, 368, 965, 15, 273, 446, 31, 3639, 368, 5848, 8526, 1191, 5555, 273, 446, 31, 7734, 19817, 4926, 833, 682, 273, 394, 19817, 4926, 12, 1968, 1769, 3639, 19817, 4926, 1191, 5555, 682, 273, 446, 31, 7734, 22155, 18, 588, 54, 10340, 3876, 7675, 6206, 5621, 7734, 309, 261, 588, 30556, 1435, 480, 446, 13, 288, 5411, 368, 5198, 39, 1734, 273, 22155, 18, 588, 39, 1957, 5621, 272, 18, 69, 18, 5411, 22155, 18, 542, 39, 1957, 12, 588, 30556, 10663, 5411, 22155, 18, 588, 54, 10340, 3219, 7675, 542, 39, 1969, 12, 588, 30556, 10663, 3639, 289, 3639, 309, 261, 588, 1388, 1435, 480, 446, 13, 288, 13491, 368, 692, 965, 15, 5411, 368, 987, 1853, 682, 273, 5737, 18, 82, 15670, 12, 3432, 18, 4880, 67, 16187, 1435, 63, 20, 8009, 474, 620, 1435, 397, 404, 16, 4170, 10340, 7675, 588, 12616, 10663, 5411, 368, 692, 9948, 5411, 368, 1191, 5555, 682, 273, 394, 2638, 430, 2121, 682, 12, 2704, 2407, 12, 5645, 682, 10019, 5411, 368, 1191, 5555, 682, 18, 542, 12, 20, 16, 1417, 1769, 5411, 368, 1191, 5555, 682, 18, 4012, 12, 21, 1769, 13491, 1191, 5555, 682, 273, 394, 19817, 4926, 12, 27768, 18, 588, 12616, 9334, 5638, 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, 19817, 921, 745, 12, 54, 10340, 22155, 16, 19817, 921, 10665, 16, 19817, 548, 612, 16, 19817, 921, 8526, 833, 16, 1250, 1158, 8051, 13, 288, 3639, 385, 1957, 907, 5198, 39, 1734, 273, 22155, 18, 588, 39, 1957, 5621, 368, 965, 15, 273, 446, 31, 3639, 368, 5848, 8526, 1191, 5555, 273, 446, 31, 7734, 19817, 4926, 833, 682, 273, 394, 19817, 4926, 12, 1968, 1769, 3639, 19817, 4926, 1191, 5555, 682, 273, 446, 31, 7734, 22155, 18, 588, 54, 10340, 3876, 7675, 6206, 5621, 7734, 309, 261, 588, 30556, 1435, 480, 446, 13, 288, 5411, 368, 5198, 39, 1734, 273, 22155, 18, 588, 39, 1957, 5621, 272, 18, 69, 18, 5411, 22155, 18, 542, 39, 2 ]
public TA_RetCode CDLTHRUSTING( int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], MInteger outBegIdx, MInteger outNbElement, int outInteger[] ){ double EqualPeriodTotal, BodyLongPeriodTotal; int i, outIdx, EqualTrailingIdx, BodyLongTrailingIdx, lookbackTotal; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; lookbackTotal = CDLTHRUSTING_Lookback (); if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } EqualPeriodTotal = 0; EqualTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].avgPeriod) ; BodyLongPeriodTotal = 0; BodyLongTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) ; i = EqualTrailingIdx; while( i < startIdx ) { EqualPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ; i++; } i = BodyLongTrailingIdx; while( i < startIdx ) { BodyLongPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ; i++; } i = startIdx; outIdx = 0; do { if( ( inClose[i-1] >= inOpen[i-1] ? 1 : -1 ) == -1 && ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) > ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) != 0.0? BodyLongPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && ( inClose[i] >= inOpen[i] ? 1 : -1 ) == 1 && inOpen[i] < inLow[i-1] && inClose[i] > inClose[i-1] + ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].avgPeriod) != 0.0? EqualPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && inClose[i] <= inClose[i-1] + ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) * 0.5 ) outInteger[outIdx++] = -100; else outInteger[outIdx++] = 0; EqualPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) - ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[EqualTrailingIdx-1] - inOpen[EqualTrailingIdx-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[EqualTrailingIdx-1] - inLow[EqualTrailingIdx-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[EqualTrailingIdx-1] - ( inClose[EqualTrailingIdx-1] >= inOpen[EqualTrailingIdx-1] ? inClose[EqualTrailingIdx-1] : inOpen[EqualTrailingIdx-1] ) ) + ( ( inClose[EqualTrailingIdx-1] >= inOpen[EqualTrailingIdx-1] ? inOpen[EqualTrailingIdx-1] : inClose[EqualTrailingIdx-1] ) - inLow[EqualTrailingIdx-1] ) : 0 ) ) ) ; BodyLongPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) - ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[BodyLongTrailingIdx-1] - inOpen[BodyLongTrailingIdx-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[BodyLongTrailingIdx-1] - inLow[BodyLongTrailingIdx-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[BodyLongTrailingIdx-1] - ( inClose[BodyLongTrailingIdx-1] >= inOpen[BodyLongTrailingIdx-1] ? inClose[BodyLongTrailingIdx-1] : inOpen[BodyLongTrailingIdx-1] ) ) + ( ( inClose[BodyLongTrailingIdx-1] >= inOpen[BodyLongTrailingIdx-1] ? inOpen[BodyLongTrailingIdx-1] : inClose[BodyLongTrailingIdx-1] ) - inLow[BodyLongTrailingIdx-1] ) : 0 ) ) ) ; i++; EqualTrailingIdx++; BodyLongTrailingIdx++; } while( i <= endIdx ); outNbElement.value = outIdx; outBegIdx.value = startIdx; return TA_RetCode. TA_SUCCESS;}
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/1bccb7a13486c61b10e8ebdf0c938797539a3f3d/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 399, 37, 67, 7055, 1085, 385, 8914, 2455, 54, 5996, 1360, 12, 509, 27108, 16, 509, 679, 4223, 16, 1645, 316, 3678, 63, 6487, 1645, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 490, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 509, 596, 4522, 8526, 262, 95, 1645, 9057, 5027, 5269, 16, 5652, 3708, 5027, 5269, 31, 509, 277, 16, 596, 4223, 16, 9057, 16808, 4223, 16, 5652, 3708, 16808, 4223, 16, 2324, 823, 5269, 31, 309, 12, 27108, 411, 374, 262, 327, 9833, 67, 7055, 1085, 18, 399, 37, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 309, 12, 261, 409, 4223, 411, 374, 13, 747, 261, 409, 4223, 411, 27108, 3719, 327, 9833, 67, 7055, 1085, 18, 399, 37, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 2324, 823, 5269, 273, 39, 8914, 2455, 54, 5996, 1360, 67, 9794, 823, 261, 1769, 309, 12, 27108, 411, 2324, 823, 5269, 262, 27108, 273, 2324, 823, 5269, 31, 309, 12, 27108, 405, 679, 4223, 262, 288, 659, 24059, 4223, 18, 1132, 273, 374, 274, 659, 22816, 1046, 18, 1132, 273, 374, 274, 327, 9833, 67, 7055, 1085, 18, 399, 37, 67, 12778, 31, 289, 9057, 5027, 5269, 273, 374, 31, 9057, 16808, 4223, 273, 27108, 300, 12, 2211, 18, 71, 464, 298, 2628, 63, 9833, 67, 39, 464, 298, 5568, 559, 18, 9833, 67, 5812, 18, 517, 1490, 1435, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 399, 37, 67, 7055, 1085, 385, 8914, 2455, 54, 5996, 1360, 12, 509, 27108, 16, 509, 679, 4223, 16, 1645, 316, 3678, 63, 6487, 1645, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 490, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 509, 596, 4522, 8526, 262, 95, 1645, 9057, 5027, 5269, 16, 5652, 3708, 5027, 5269, 31, 509, 277, 16, 596, 4223, 16, 9057, 16808, 4223, 16, 5652, 3708, 16808, 4223, 16, 2324, 823, 5269, 31, 309, 12, 27108, 411, 374, 262, 327, 9833, 67, 7055, 1085, 18, 399, 37, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 309, 12, 261, 409, 4223, 411, 2 ]
trayIcon = new TrayIcon(offIcon, "Jive Messenger", menu);
trayIcon = new TrayIcon(offIcon, appName, menu);
public Launcher() { // Initialize the SystemTray now (to avoid a bug!) final SystemTray tray = SystemTray.getDefaultSystemTray(); // Use the native look and feel. try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } catch (Exception e) { e.printStackTrace(); } String title = "Jive Messenger"; frame = new DroppableFrame() { public void fileDropped(File file) { String fileName = file.getName(); if (fileName.endsWith(".jar") || fileName.endsWith(".war")) { installPlugin(file); } } }; frame.setTitle(title); ImageIcon splash = null; JLabel splashLabel = null; // Set the icon. try { splash = new ImageIcon(getClass().getClassLoader().getResource("splash.gif")); splashLabel = new JLabel("", splash, JLabel.LEFT); onIcon = new ImageIcon(getClass().getClassLoader().getResource("messenger_on-16x16.gif")); offIcon = new ImageIcon(getClass().getClassLoader().getResource("messenger_off-16x16.gif")); frame.setIconImage(offIcon.getImage()); } catch (Exception e) { } JPanel mainPanel = new JPanel(); mainPanel.setLayout(new BorderLayout()); // Add buttons final JButton startButton = new JButton("Start"); startButton.setActionCommand("Start"); final JButton stopButton = new JButton("Stop"); stopButton.setActionCommand("Stop"); final JButton browserButton = new JButton("Launch Admin"); browserButton.setActionCommand("Launch Admin"); final JButton quitButton = new JButton("Quit"); quitButton.setActionCommand("Quit"); toolbar.setLayout(new GridBagLayout()); toolbar.add(startButton, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); toolbar.add(stopButton, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); toolbar.add(browserButton, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); toolbar.add(quitButton, new GridBagConstraints(3, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); if (splashLabel != null) { mainPanel.add(splashLabel, BorderLayout.CENTER); } mainPanel.add(toolbar, BorderLayout.SOUTH); // create the main menu of the system tray icon JPopupMenu menu = new JPopupMenu("Messenger Menu"); final JMenuItem showMenuItem = new JMenuItem("Hide"); showMenuItem.setActionCommand("Hide/Show"); menu.add(showMenuItem); final JMenuItem startMenuItem = new JMenuItem("Start"); startMenuItem.setActionCommand("Start"); menu.add(startMenuItem); final JMenuItem stopMenuItem = new JMenuItem("Stop"); stopMenuItem.setActionCommand("Stop"); menu.add(stopMenuItem); final JMenuItem browserMenuItem = new JMenuItem("Launch Admin"); browserMenuItem.setActionCommand("Launch Admin"); menu.add(browserMenuItem); menu.addSeparator(); final JMenuItem quitMenuItem = new JMenuItem("Quit"); quitMenuItem.setActionCommand("Quit"); menu.add(quitMenuItem); browserButton.setEnabled(false); stopButton.setEnabled(false); browserMenuItem.setEnabled(false); stopMenuItem.setEnabled(false); ActionListener actionListener = new ActionListener() { public void actionPerformed(ActionEvent e) { if ("Start".equals(e.getActionCommand())) { frame.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); // Adjust button and menu items. startApplication(); startButton.setEnabled(false); stopButton.setEnabled(true); startMenuItem.setEnabled(false); stopMenuItem.setEnabled(true); // Change to the "on" icon. frame.setIconImage(onIcon.getImage()); trayIcon.setIcon(onIcon); // Start a thread to enable the admin button after 8 seconds. Thread thread = new Thread() { public void run() { try { sleep(8000); } catch (Exception e) { } // Enable the Launch Admin button/menu item only if the // server has started. if (stopButton.isEnabled()) { browserButton.setEnabled(true); browserMenuItem.setEnabled(true); frame.setCursor(Cursor.getDefaultCursor()); } } }; thread.start(); } else if ("Stop".equals(e.getActionCommand())) { stopApplication(); // Change to the "off" button. frame.setIconImage(offIcon.getImage()); trayIcon.setIcon(offIcon); // Adjust buttons and menu items. frame.setCursor(Cursor.getDefaultCursor()); browserButton.setEnabled(false); startButton.setEnabled(true); stopButton.setEnabled(false); browserMenuItem.setEnabled(false); startMenuItem.setEnabled(true); stopMenuItem.setEnabled(false); } else if ("Launch Admin".equals(e.getActionCommand())) { launchBrowser(); } else if ("Quit".equals(e.getActionCommand())) { stopApplication(); System.exit(0); } else if ("Hide/Show".equals(e.getActionCommand()) || "PressAction".equals(e.getActionCommand())) { // Hide/Unhide the window if the user clicked in the system tray icon or // selected the menu option if (frame.isVisible()) { frame.setVisible(false); frame.setState(Frame.ICONIFIED); showMenuItem.setText("Show"); } else { frame.setVisible(true); frame.setState(Frame.NORMAL); showMenuItem.setText("Hide"); } } } }; // Register a listener for the radio buttons. startButton.addActionListener(actionListener); stopButton.addActionListener(actionListener); browserButton.addActionListener(actionListener); quitButton.addActionListener(actionListener); // Register a listener for the menu items. quitMenuItem.addActionListener(actionListener); browserMenuItem.addActionListener(actionListener); stopMenuItem.addActionListener(actionListener); startMenuItem.addActionListener(actionListener); showMenuItem.addActionListener(actionListener); // Set the system tray icon with the menu trayIcon = new TrayIcon(offIcon, "Jive Messenger", menu); trayIcon.setIconAutoSize(true); trayIcon.addActionListener(actionListener); tray.addTrayIcon(trayIcon); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { stopApplication(); System.exit(0); } public void windowIconified(WindowEvent e) { // Make the window disappear when minimized frame.setVisible(false); showMenuItem.setText("Show"); } }); frame.getContentPane().add(mainPanel); frame.pack(); // frame.setSize(539,418); frame.setResizable(false); GraphicUtils.centerWindowOnScreen(frame); frame.setVisible(true); // Start the app. startButton.doClick(); }
6312 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6312/92a7f09233601a55e057ecc58d2c460e0e68f33a/Launcher.java/clean/src/java/org/jivesoftware/messenger/launcher/Launcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14643, 264, 1435, 288, 3639, 368, 9190, 326, 2332, 56, 435, 2037, 261, 869, 4543, 279, 7934, 24949, 3639, 727, 2332, 56, 435, 268, 435, 273, 2332, 56, 435, 18, 588, 1868, 3163, 56, 435, 5621, 3639, 368, 2672, 326, 6448, 2324, 471, 1656, 292, 18, 3639, 775, 288, 5411, 6484, 1318, 18, 542, 9794, 1876, 2954, 292, 12, 5370, 1318, 18, 588, 3163, 9794, 1876, 2954, 292, 3834, 10663, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 3639, 289, 3639, 514, 2077, 273, 315, 46, 688, 490, 18912, 14432, 3639, 2623, 273, 394, 10895, 19586, 3219, 1435, 288, 5411, 1071, 918, 585, 23683, 12, 812, 585, 13, 288, 7734, 514, 3968, 273, 585, 18, 17994, 5621, 7734, 309, 261, 17812, 18, 5839, 1190, 2932, 18, 11930, 7923, 747, 3968, 18, 5839, 1190, 2932, 18, 905, 6, 3719, 288, 10792, 3799, 3773, 12, 768, 1769, 7734, 289, 5411, 289, 3639, 289, 31, 3639, 2623, 18, 542, 4247, 12, 2649, 1769, 3639, 3421, 5554, 6121, 961, 273, 446, 31, 3639, 21403, 6121, 961, 2224, 273, 446, 31, 3639, 368, 1000, 326, 4126, 18, 3639, 775, 288, 5411, 6121, 961, 273, 394, 3421, 5554, 12, 588, 797, 7675, 588, 7805, 7675, 588, 1420, 2932, 13106, 961, 18, 13905, 7923, 1769, 5411, 6121, 961, 2224, 273, 394, 21403, 2932, 3113, 6121, 961, 16, 21403, 18, 10066, 1769, 5411, 603, 5554, 273, 394, 3421, 5554, 12, 588, 797, 7675, 588, 7805, 7675, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14643, 264, 1435, 288, 3639, 368, 9190, 326, 2332, 56, 435, 2037, 261, 869, 4543, 279, 7934, 24949, 3639, 727, 2332, 56, 435, 268, 435, 273, 2332, 56, 435, 18, 588, 1868, 3163, 56, 435, 5621, 3639, 368, 2672, 326, 6448, 2324, 471, 1656, 292, 18, 3639, 775, 288, 5411, 6484, 1318, 18, 542, 9794, 1876, 2954, 292, 12, 5370, 1318, 18, 588, 3163, 9794, 1876, 2954, 292, 3834, 10663, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 3639, 289, 3639, 514, 2077, 273, 315, 46, 688, 490, 18912, 14432, 3639, 2623, 273, 394, 10895, 19586, 3219, 1435, 288, 5411, 1071, 918, 585, 23683, 12, 812, 585, 13, 288, 7734, 2 ]
SpringConfig config = new SpringConfig(application); ConfigurableApplicationContext appCtx = (ConfigurableApplicationContext) new XmlApplicationContextDriver().getApplicationContext( config.getBeanReferences(), parent);
GrailsRuntimeConfigurator config = new GrailsRuntimeConfigurator(application,parent); ConfigurableApplicationContext appCtx = (ConfigurableApplicationContext)config.configure(new MockServletContext());
public static void main(String[] args) throws Exception { if(args.length < 2) return; String type = args[0]; String domainClassName = args[1]; ApplicationContext parent = new ClassPathXmlApplicationContext("applicationContext.xml"); GrailsApplication application = (DefaultGrailsApplication)parent.getBean("grailsApplication", DefaultGrailsApplication.class); GrailsDomainClass domainClass = getDomainCallFromApplication(application,domainClassName); // bootstrap application to try hibernate domain classes if(domainClass == null) { SpringConfig config = new SpringConfig(application); ConfigurableApplicationContext appCtx = (ConfigurableApplicationContext) new XmlApplicationContextDriver().getApplicationContext( config.getBeanReferences(), parent); Assert.notNull(appCtx); } // retry domainClass = getDomainCallFromApplication(application,domainClassName); if(domainClass == null) { LOG.debug("Unable to generate ["+type+"] domain class not found for name ["+domainClassName+"]"); return; } GroovyClassLoader gcl = new GroovyClassLoader(Thread.currentThread().getContextClassLoader()); GrailsTemplateGenerator generator = (GrailsTemplateGenerator)gcl.parseClass(gcl.getResourceAsStream("org/codehaus/groovy/grails/scaffolding/DefaultGrailsTemplateGenerator.groovy")) .newInstance(); if(VIEWS.equals(type) || ALL.equals(type)) { LOG.info("Generating views for domain class ["+domainClass.getName()+"]"); generator.generateViews(domainClass,"."); } else if(CONTROLLER.equals(type)|| ALL.equals(type)) { LOG.info("Generating controller for domain class ["+domainClass.getName()+"]"); generator.generateController(domainClass,"."); } else { LOG.info("Grails was unable to generate templates for unsupported type ["+type+"]"); } }
46315 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46315/329f94375a619df71514910099d6faf66b35eae8/GenerateUtils.java/buggy/grails/src/commons/grails/util/GenerateUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 3639, 309, 12, 1968, 18, 2469, 411, 576, 13, 5411, 327, 31, 3639, 514, 618, 273, 833, 63, 20, 15533, 3639, 514, 2461, 3834, 273, 833, 63, 21, 15533, 3639, 4257, 1042, 982, 273, 394, 1659, 743, 4432, 28278, 2932, 3685, 1042, 18, 2902, 8863, 3639, 10812, 14573, 3208, 2521, 273, 261, 1868, 14571, 14573, 3208, 13, 2938, 18, 588, 3381, 2932, 2752, 14573, 3208, 3113, 2989, 14571, 14573, 3208, 18, 1106, 1769, 3639, 10812, 14573, 3748, 797, 2461, 797, 273, 15809, 1477, 1265, 3208, 12, 3685, 16, 4308, 3834, 1769, 3639, 368, 7065, 2521, 358, 775, 366, 24360, 2461, 3318, 3639, 309, 12, 4308, 797, 422, 446, 13, 288, 5411, 22751, 809, 642, 273, 394, 22751, 809, 12, 3685, 1769, 5411, 29312, 28278, 595, 6442, 273, 261, 31660, 28278, 13, 7734, 394, 5714, 28278, 4668, 7675, 588, 28278, 12, 10792, 642, 18, 588, 3381, 8221, 9334, 982, 1769, 5411, 5452, 18, 902, 2041, 12, 2910, 6442, 1769, 3639, 289, 3639, 368, 3300, 3639, 2461, 797, 273, 15809, 1477, 1265, 3208, 12, 3685, 16, 4308, 3834, 1769, 3639, 309, 12, 4308, 797, 422, 446, 13, 288, 5411, 2018, 18, 4148, 2932, 3370, 358, 2103, 8247, 15, 723, 9078, 65, 2461, 667, 486, 1392, 364, 508, 8247, 15, 4308, 3834, 9078, 4279, 1769, 5411, 327, 31, 3639, 289, 3639, 20841, 7805, 314, 830, 273, 394, 20841, 7805, 12, 3830, 18, 2972, 3830, 7675, 29120, 7805, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 3639, 309, 12, 1968, 18, 2469, 411, 576, 13, 5411, 327, 31, 3639, 514, 618, 273, 833, 63, 20, 15533, 3639, 514, 2461, 3834, 273, 833, 63, 21, 15533, 3639, 4257, 1042, 982, 273, 394, 1659, 743, 4432, 28278, 2932, 3685, 1042, 18, 2902, 8863, 3639, 10812, 14573, 3208, 2521, 273, 261, 1868, 14571, 14573, 3208, 13, 2938, 18, 588, 3381, 2932, 2752, 14573, 3208, 3113, 2989, 14571, 14573, 3208, 18, 1106, 1769, 3639, 10812, 14573, 3748, 797, 2461, 797, 273, 15809, 1477, 1265, 3208, 12, 3685, 16, 4308, 3834, 1769, 3639, 368, 7065, 2521, 358, 775, 366, 24360, 2461, 3318, 3639, 309, 12, 4308, 797, 2 ]
public HabitatPortal(String habitatName, Enumeration services) { // Data struRctures /////////////////////////////////////////////////// _portals = new Hashtable(); // GUI stuff ///////////////////////////////////////////////////////// setTitle(habitatName); setSize(HabitatPortal.WIDTH, HabitatPortal.HEIGHT); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); _mainPanel = new JPanel(new BorderLayout()); _ctrlPanel = new JPanel(new GridLayout(2, 1, 5, 5)); _dataLabel = new JLabel(""); _portalPanel = new JPanel(_cardLayout = new CardLayout()); _logPane = new JScrollPane(_logArea = new JTextArea("some text", 8, 10)); _logArea.setEditable(false); if (services != null) { Vector servicesListing = new Vector(); while (services.hasMoreElements()) { ServiceInterface si = (ServiceInterface) services.nextElement(); String serviceDesc = si.getDescription(); servicesListing.add(serviceDesc); _portalPanel.add(si.startDisplay(), serviceDesc); _portals.put(serviceDesc, si); } _servicesList = new JList(servicesListing.toArray()); } else _servicesList = new JList(new String[] { "hello", "there" }); _servicesList.addListSelectionListener(new ListSelectionListener() { public void valueChanged(ListSelectionEvent lse) { String service = "" + _servicesList.getSelectedValue(); try { _dataLabel.setText(generateHTML(_portals.get(service))); _cardLayout.show(_portalPanel, service); } catch (Exception e) { } } }); _mainPanel.add(_ctrlPanel, BorderLayout.WEST); _mainPanel.add(_portalPanel, BorderLayout.CENTER); _mainPanel.add(_logPane, BorderLayout.SOUTH); _ctrlPanel.add(_servicesList); _ctrlPanel.add(new JScrollPane(_dataLabel)); _ctrlPanel.setMinimumSize(new Dimension(CTRL_WIDTH, HEIGHT)); getContentPane().add(_mainPanel); show(); }
14653 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14653/5f44205561a219c3740ab95da1db0183a3b94415/HabitatPortal.java/clean/portal/HabitatPortal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 670, 30258, 270, 24395, 12, 780, 366, 30258, 270, 461, 16, 13864, 4028, 13, 288, 3639, 368, 1910, 609, 89, 54, 299, 1823, 23415, 3517, 19, 565, 389, 655, 1031, 273, 394, 18559, 5621, 3639, 368, 10978, 10769, 23415, 3517, 18235, 19, 565, 14109, 12, 76, 30258, 270, 461, 1769, 565, 19106, 12, 44, 30258, 270, 24395, 18, 10023, 16, 670, 30258, 270, 24395, 18, 14595, 1769, 565, 9277, 4605, 2988, 12, 46, 3219, 18, 28682, 67, 673, 67, 13384, 1769, 3639, 389, 5254, 5537, 273, 394, 24048, 12, 2704, 30814, 10663, 565, 389, 16277, 5537, 273, 394, 24048, 12, 2704, 7145, 3744, 12, 22, 16, 404, 16, 1381, 16, 1381, 10019, 565, 389, 892, 2224, 273, 394, 21403, 2932, 8863, 565, 389, 24386, 5537, 273, 394, 24048, 24899, 3327, 3744, 273, 394, 14338, 3744, 10663, 565, 389, 1330, 8485, 273, 394, 804, 26360, 24899, 1330, 5484, 273, 394, 804, 1528, 5484, 2932, 19068, 977, 3113, 1725, 16, 1728, 10019, 565, 389, 1330, 5484, 18, 542, 15470, 12, 5743, 1769, 3639, 309, 261, 8387, 480, 446, 13, 288, 1377, 5589, 4028, 19081, 273, 394, 5589, 5621, 1377, 1323, 261, 8387, 18, 5332, 7417, 3471, 10756, 288, 3639, 1956, 1358, 7533, 273, 261, 18348, 13, 4028, 18, 4285, 1046, 5621, 3639, 514, 1156, 4217, 273, 7533, 18, 588, 3291, 5621, 3639, 4028, 19081, 18, 1289, 12, 3278, 4217, 1769, 3639, 389, 24386, 5537, 18, 1289, 12, 7722, 18, 1937, 4236, 9334, 1156, 4217, 1769, 7734, 389, 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, 670, 30258, 270, 24395, 12, 780, 366, 30258, 270, 461, 16, 13864, 4028, 13, 288, 3639, 368, 1910, 609, 89, 54, 299, 1823, 23415, 3517, 19, 565, 389, 655, 1031, 273, 394, 18559, 5621, 3639, 368, 10978, 10769, 23415, 3517, 18235, 19, 565, 14109, 12, 76, 30258, 270, 461, 1769, 565, 19106, 12, 44, 30258, 270, 24395, 18, 10023, 16, 670, 30258, 270, 24395, 18, 14595, 1769, 565, 9277, 4605, 2988, 12, 46, 3219, 18, 28682, 67, 673, 67, 13384, 1769, 3639, 389, 5254, 5537, 273, 394, 24048, 12, 2704, 30814, 10663, 565, 389, 16277, 5537, 273, 394, 24048, 12, 2704, 7145, 3744, 12, 22, 16, 404, 16, 1381, 16, 1381, 10019, 565, 389, 892, 2224, 273, 2 ]
switch ( eDerivedStructuralFeatureID( eFeature ) )
switch ( featureID )
public void eUnset( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case ComponentPackage.MARKER_LINE__LINE_ATTRIBUTES : setLineAttributes( (LineAttributes) null ); return; case ComponentPackage.MARKER_LINE__VALUE : setValue( (DataElement) null ); return; case ComponentPackage.MARKER_LINE__LABEL : setLabel( (Label) null ); return; case ComponentPackage.MARKER_LINE__LABEL_ANCHOR : unsetLabelAnchor( ); return; case ComponentPackage.MARKER_LINE__FORMAT_SPECIFIER : setFormatSpecifier( (FormatSpecifier) null ); return; } eDynamicUnset( eFeature ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/036e8c78765730b146e5854b9d6c397a296fed86/MarkerLineImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/MarkerLineImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19698, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 5435, 2261, 18, 25989, 67, 5997, 972, 5997, 67, 22308, 294, 9506, 202, 542, 1670, 2498, 12, 261, 1670, 2498, 13, 446, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 5435, 2261, 18, 25989, 67, 5997, 972, 4051, 294, 9506, 202, 542, 620, 12, 261, 751, 1046, 13, 446, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 5435, 2261, 18, 25989, 67, 5997, 972, 13545, 294, 9506, 202, 542, 2224, 12, 261, 2224, 13, 446, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 5435, 2261, 18, 25989, 67, 5997, 972, 13545, 67, 20360, 916, 294, 9506, 202, 18579, 2224, 11605, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 5435, 2261, 18, 25989, 67, 5997, 972, 7254, 67, 13847, 10591, 294, 9506, 202, 542, 1630, 21416, 12, 261, 1630, 21416, 13, 446, 11272, 9506, 202, 2463, 31, 202, 202, 97, 202, 202, 73, 9791, 13250, 12, 425, 4595, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 5435, 2261, 18, 25989, 67, 5997, 972, 5997, 67, 22308, 294, 9506, 202, 542, 1670, 2498, 12, 261, 1670, 2498, 13, 446, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 5435, 2261, 18, 25989, 67, 5997, 972, 4051, 294, 9506, 202, 542, 620, 12, 261, 751, 1046, 13, 446, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 5435, 2261, 18, 25989, 67, 5997, 972, 13545, 294, 9506, 202, 542, 2224, 12, 261, 2224, 13, 446, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 5435, 2261, 2 ]
preferences.clear();
public void reset(String key) throws ReadOnlyException { if(isReadOnly(key)) { throw new ReadOnlyException( EXCEPTIONS.getString("error.preference.readonly", "Preference key ") ); } preferences.clear(); for(int i=0;i<defaultPreferences.length;i++) { if(key.equals(defaultPreferences[i].getName())) { preferences.put(key, defaultPreferences[i]); } } }
51810 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51810/599dbcbe5380e2279d2da3106562ae3b06d2a11c/PortletPreferencesImpl.java/buggy/pluto-container/src/main/java/org/apache/pluto/core/impl/PortletPreferencesImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 12, 780, 498, 13, 1216, 20617, 503, 288, 3639, 309, 12, 291, 12066, 12, 856, 3719, 288, 5411, 604, 394, 20617, 503, 12, 7734, 23136, 55, 18, 588, 780, 2932, 1636, 18, 19141, 18, 16365, 3113, 315, 9624, 498, 9369, 5411, 11272, 3639, 289, 7734, 364, 12, 474, 277, 33, 20, 31, 77, 32, 1886, 12377, 18, 2469, 31, 77, 27245, 288, 6647, 309, 12, 856, 18, 14963, 12, 1886, 12377, 63, 77, 8009, 17994, 1435, 3719, 288, 9079, 12750, 18, 458, 12, 856, 16, 805, 12377, 63, 77, 19226, 6647, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 12, 780, 498, 13, 1216, 20617, 503, 288, 3639, 309, 12, 291, 12066, 12, 856, 3719, 288, 5411, 604, 394, 20617, 503, 12, 7734, 23136, 55, 18, 588, 780, 2932, 1636, 18, 19141, 18, 16365, 3113, 315, 9624, 498, 9369, 5411, 11272, 3639, 289, 7734, 364, 12, 474, 277, 33, 20, 31, 77, 32, 1886, 12377, 18, 2469, 31, 77, 27245, 288, 6647, 309, 12, 856, 18, 14963, 12, 1886, 12377, 63, 77, 8009, 17994, 1435, 3719, 288, 9079, 12750, 18, 458, 12, 856, 16, 805, 12377, 63, 77, 19226, 6647, 289, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super( sharedScope, baseQueryDefn, aggrTable );
super( sharedScope, baseQueryDefn, aggrTable, engine.getSession( ) );
IVDataSourceExecutor( Scriptable sharedScope, IBaseQueryDefinition baseQueryDefn, AggregateTable aggrTable ) { super( sharedScope, baseQueryDefn, aggrTable ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/0049044a5bef6d7cacb43d07aaac96e021a89ed5/PreparedIVDataSourceQuery.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedIVDataSourceQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 8188, 8597, 6325, 12, 22780, 5116, 3876, 16, 9506, 202, 45, 2171, 1138, 1852, 1026, 1138, 3262, 82, 16, 18059, 1388, 1737, 3197, 1388, 262, 202, 202,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8188, 8597, 6325, 12, 22780, 5116, 3876, 16, 9506, 202, 45, 2171, 1138, 1852, 1026, 1138, 3262, 82, 16, 18059, 1388, 1737, 3197, 1388, 262, 202, 202, 95, 1082, 202, 9565, 12, 5116, 3876, 16, 1026, 1138, 3262, 82, 16, 1737, 3197, 1388, 11272, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new BignumDefinition(ruby).getType();
RubyClass result = ruby.defineClass("Bignum", ruby.getClasses().getIntegerClass()); CallbackFactory callbackFactory = ruby.callbackFactory(); result.defineMethod("~", callbackFactory.getMethod(RubyBignum.class, "op_invert")); result.defineMethod("&", callbackFactory.getMethod(RubyBignum.class, "op_and", RubyNumeric.class)); result.defineMethod("<<", callbackFactory.getMethod(RubyBignum.class, "op_lshift", RubyNumeric.class)); result.defineMethod("%", callbackFactory.getMethod(RubyBignum.class, "op_mod", RubyNumeric.class)); result.defineMethod("+", callbackFactory.getMethod(RubyBignum.class, "op_plus", RubyNumeric.class)); result.defineMethod("*", callbackFactory.getMethod(RubyBignum.class, "op_mul", RubyNumeric.class)); result.defineMethod("**", callbackFactory.getMethod(RubyBignum.class, "op_pow", RubyNumeric.class)); result.defineMethod("-", callbackFactory.getMethod(RubyBignum.class, "op_minus", RubyNumeric.class)); result.defineMethod("modulo", callbackFactory.getMethod(RubyBignum.class, "op_mod", RubyNumeric.class)); result.defineMethod("/", callbackFactory.getMethod(RubyBignum.class, "op_div", RubyNumeric.class)); result.defineMethod(">>", callbackFactory.getMethod(RubyBignum.class, "op_rshift", RubyNumeric.class)); result.defineMethod("|", callbackFactory.getMethod(RubyBignum.class, "op_or", RubyNumeric.class)); result.defineMethod("^", callbackFactory.getMethod(RubyBignum.class, "op_xor", RubyNumeric.class)); result.defineMethod("-@", callbackFactory.getMethod(RubyBignum.class, "op_uminus")); result.defineMethod("[]", callbackFactory.getMethod(RubyBignum.class, "aref", RubyNumeric.class)); result.defineMethod("coerce", callbackFactory.getMethod(RubyBignum.class, "coerce", RubyNumeric.class)); result.defineMethod("remainder", callbackFactory.getMethod(RubyBignum.class, "remainder", RubyNumeric.class)); result.defineMethod("hash", callbackFactory.getMethod(RubyBignum.class, "hash")); result.defineMethod("size", callbackFactory.getMethod(RubyBignum.class, "size")); result.defineMethod("to_f", callbackFactory.getMethod(RubyBignum.class, "to_f")); result.defineMethod("to_i", callbackFactory.getMethod(RubyBignum.class, "to_i")); result.defineMethod("to_s", callbackFactory.getMethod(RubyBignum.class, "to_s")); return result;
public static RubyClass createBignumClass(Ruby ruby) { return new BignumDefinition(ruby).getType(); }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/1c602493a83e2050f401fa6925ec7e9269b45e4e/RubyBignum.java/clean/src/org/jruby/RubyBignum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 752, 38, 724, 379, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 563, 273, 22155, 18, 11255, 797, 2932, 38, 724, 379, 3113, 22155, 18, 588, 4818, 7675, 588, 4522, 797, 10663, 8444, 1733, 1348, 1733, 273, 22155, 18, 3394, 1733, 5621, 225, 563, 18, 11255, 1305, 2932, 98, 3113, 1348, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 556, 67, 267, 1097, 7923, 1769, 563, 18, 11255, 1305, 2932, 10, 3113, 1348, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 556, 67, 464, 3113, 19817, 9902, 18, 1106, 10019, 563, 18, 11255, 1305, 2932, 17685, 3113, 1348, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 556, 67, 80, 4012, 3113, 19817, 9902, 18, 1106, 10019, 563, 18, 11255, 1305, 27188, 3113, 1348, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 556, 67, 1711, 3113, 19817, 9902, 18, 1106, 10019, 563, 18, 11255, 1305, 2932, 15, 3113, 1348, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 556, 67, 10103, 3113, 19817, 9902, 18, 1106, 10019, 563, 18, 11255, 1305, 2932, 14, 3113, 1348, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 556, 67, 16411, 3113, 19817, 9902, 18, 1106, 10019, 563, 18, 11255, 1305, 2932, 636, 3113, 1348, 1733, 18, 588, 1305, 12, 54, 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, 19817, 797, 752, 38, 724, 379, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 563, 273, 22155, 18, 11255, 797, 2932, 38, 724, 379, 3113, 22155, 18, 588, 4818, 7675, 588, 4522, 797, 10663, 8444, 1733, 1348, 1733, 273, 22155, 18, 3394, 1733, 5621, 225, 563, 18, 11255, 1305, 2932, 98, 3113, 1348, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 556, 67, 267, 1097, 7923, 1769, 563, 18, 11255, 1305, 2932, 10, 3113, 1348, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 556, 67, 464, 3113, 19817, 9902, 18, 1106, 10019, 563, 18, 11255, 1305, 2932, 17685, 3113, 1348, 1733, 18, 2 ]
if(log.isInfoEnabled()) log.info("mbr=" + mbr + " (size=" + suspected_mbrs.size() + ")");
if(log.isDebugEnabled()) log.debug("mbr=" + mbr + " (size=" + suspected_mbrs.size() + ")");
void addSuspectedMember(Address mbr) { if(mbr == null) return; if(!members.contains(mbr)) return; synchronized(suspected_mbrs) { if(!suspected_mbrs.contains(mbr)) { suspected_mbrs.addElement(mbr); if(log.isInfoEnabled()) log.info("mbr=" + mbr + " (size=" + suspected_mbrs.size() + ")"); } if(stopped && suspected_mbrs.size() > 0) { stopped=false; timer.add(this, true); } } }
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/85b7a7c351493f88f1d6a3045b9cbd0b817f95cd/FD.java/clean/src/org/jgroups/protocols/FD.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 527, 55, 407, 1789, 4419, 12, 1887, 312, 2848, 13, 288, 5411, 309, 12, 1627, 86, 422, 446, 13, 327, 31, 5411, 309, 12, 5, 7640, 18, 12298, 12, 1627, 86, 3719, 327, 31, 5411, 3852, 12, 87, 407, 1789, 67, 1627, 5453, 13, 288, 7734, 309, 12, 5, 87, 407, 1789, 67, 1627, 5453, 18, 12298, 12, 1627, 86, 3719, 288, 10792, 11375, 1789, 67, 1627, 5453, 18, 1289, 1046, 12, 1627, 86, 1769, 10792, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 1627, 86, 1546, 397, 312, 2848, 397, 315, 261, 1467, 1546, 397, 11375, 1789, 67, 1627, 5453, 18, 1467, 1435, 397, 7310, 1769, 7734, 289, 7734, 309, 12, 24228, 597, 11375, 1789, 67, 1627, 5453, 18, 1467, 1435, 405, 374, 13, 288, 10792, 9627, 33, 5743, 31, 10792, 5441, 18, 1289, 12, 2211, 16, 638, 1769, 7734, 289, 5411, 289, 3639, 289, 2, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 527, 55, 407, 1789, 4419, 12, 1887, 312, 2848, 13, 288, 5411, 309, 12, 1627, 86, 422, 446, 13, 327, 31, 5411, 309, 12, 5, 7640, 18, 12298, 12, 1627, 86, 3719, 327, 31, 5411, 3852, 12, 87, 407, 1789, 67, 1627, 5453, 13, 288, 7734, 309, 12, 5, 87, 407, 1789, 67, 1627, 5453, 18, 12298, 12, 1627, 86, 3719, 288, 10792, 11375, 1789, 67, 1627, 5453, 18, 1289, 1046, 12, 1627, 86, 1769, 10792, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 1627, 86, 1546, 397, 312, 2848, 397, 315, 261, 1467, 1546, 397, 11375, 1789, 67, 1627, 5453, 18, 1467, 1435, 397, 7310, 1769, 7734, 289, 7734, 309, 12, 24228, 2 ]
} else if (session.isCoreSession()){
} else if (session.isCoreSession() && !isTerminated()){
public void terminate() throws MIException { // An inferior will be destroy():interrupt and kill if // - For attach session: // the inferior was not disconnected yet (no need to try // to kill a disconnected program). // - For Program session: // if the inferior was not terminated. // - For PostMortem(Core): send event // else noop if ((session.isAttachSession() && isConnected()) || (session.isProgramSession() && !isTerminated())) { CommandFactory factory = session.getCommandFactory(); MIExecAbort abort = factory.createMIExecAbort(); // Try to interrupt the inferior, first. interrupt(); session.postCommand(abort); abort.getMIInfo(); setTerminated(abort.getToken(), true); } else if (session.isCoreSession()){ setTerminated(0, true); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/2b910440821f0f58e5364b3436106216523e6431/MIInferior.java/buggy/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/MIInferior.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 10850, 1435, 1216, 20806, 503, 288, 202, 202, 759, 1922, 12455, 9659, 903, 506, 5546, 13332, 31847, 471, 8673, 309, 202, 202, 759, 300, 2457, 3306, 1339, 30, 202, 202, 759, 282, 326, 12455, 9659, 1703, 486, 17853, 4671, 261, 2135, 1608, 358, 775, 202, 202, 759, 282, 358, 8673, 279, 17853, 5402, 2934, 202, 202, 759, 300, 2457, 13586, 1339, 30, 202, 202, 759, 282, 309, 326, 12455, 9659, 1703, 486, 14127, 18, 202, 202, 759, 300, 2457, 5616, 49, 499, 351, 12, 4670, 4672, 1366, 871, 202, 202, 759, 469, 17065, 202, 202, 430, 14015, 3184, 18, 291, 4761, 2157, 1435, 597, 20854, 10756, 747, 261, 3184, 18, 291, 9459, 2157, 1435, 597, 401, 291, 21888, 1435, 3719, 288, 1082, 202, 2189, 1733, 3272, 273, 1339, 18, 588, 2189, 1733, 5621, 1082, 202, 7492, 1905, 13572, 6263, 273, 3272, 18, 2640, 7492, 1905, 13572, 5621, 1082, 202, 759, 6161, 358, 13123, 326, 12455, 9659, 16, 1122, 18, 1082, 202, 31847, 5621, 1082, 202, 3184, 18, 2767, 2189, 12, 18623, 1769, 1082, 202, 18623, 18, 588, 7492, 966, 5621, 1082, 202, 542, 21888, 12, 18623, 18, 588, 1345, 9334, 638, 1769, 202, 202, 97, 469, 309, 261, 3184, 18, 291, 4670, 2157, 10756, 95, 1082, 202, 542, 21888, 12, 20, 16, 638, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 10850, 1435, 1216, 20806, 503, 288, 202, 202, 759, 1922, 12455, 9659, 903, 506, 5546, 13332, 31847, 471, 8673, 309, 202, 202, 759, 300, 2457, 3306, 1339, 30, 202, 202, 759, 282, 326, 12455, 9659, 1703, 486, 17853, 4671, 261, 2135, 1608, 358, 775, 202, 202, 759, 282, 358, 8673, 279, 17853, 5402, 2934, 202, 202, 759, 300, 2457, 13586, 1339, 30, 202, 202, 759, 282, 309, 326, 12455, 9659, 1703, 486, 14127, 18, 202, 202, 759, 300, 2457, 5616, 49, 499, 351, 12, 4670, 4672, 1366, 871, 202, 202, 759, 469, 17065, 202, 202, 430, 14015, 3184, 18, 291, 4761, 2157, 1435, 597, 20854, 10756, 747, 261, 3184, 18, 291, 9459, 2157, 1435, 597, 2 ]
final Member member0 = getMemberArg(evaluator, args, 0, true); final Member member1 = getMemberArg(evaluator, args, 1, true); if (member0.isNull() || member1.isNull()) { return Collections.EMPTY_LIST; } if (member0.getLevel() != member1.getLevel()) { throw newEvalException(this, "Members must belong to the same level"); } return FunUtil.memberRange(evaluator, member0, member1); }
List members = (List) getArg(evaluator, args, 0); ExpBase exp = (ExpBase) getArgNoEval(args, 2); Double n = getDoubleArg(evaluator, args, 1); return topOrBottom(evaluator.push(), members, exp, true, false, n.doubleValue()); }
public Object evaluate(Evaluator evaluator, Exp[] args) { final Member member0 = getMemberArg(evaluator, args, 0, true); final Member member1 = getMemberArg(evaluator, args, 1, true); if (member0.isNull() || member1.isNull()) { return Collections.EMPTY_LIST; } if (member0.getLevel() != member1.getLevel()) { throw newEvalException(this, "Members must belong to the same level"); } return FunUtil.memberRange(evaluator, member0, member1); }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/8ce2540c398f87f14f1a0a792bb7fcaef78a148a/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 5956, 12, 15876, 18256, 16, 7784, 8526, 833, 13, 288, 7734, 727, 8596, 3140, 20, 273, 18925, 4117, 12, 14168, 639, 16, 833, 16, 374, 16, 638, 1769, 7734, 727, 8596, 3140, 21, 273, 18925, 4117, 12, 14168, 639, 16, 833, 16, 404, 16, 638, 1769, 7734, 309, 261, 5990, 20, 18, 291, 2041, 1435, 747, 3140, 21, 18, 291, 2041, 10756, 288, 10792, 327, 5737, 18, 13625, 67, 7085, 31, 7734, 289, 7734, 309, 261, 5990, 20, 18, 588, 2355, 1435, 480, 3140, 21, 18, 588, 2355, 10756, 288, 10792, 604, 394, 13904, 503, 12, 2211, 16, 315, 6918, 1297, 10957, 358, 326, 1967, 1801, 8863, 7734, 289, 7734, 327, 478, 318, 1304, 18, 5990, 2655, 12, 14168, 639, 16, 3140, 20, 16, 3140, 21, 1769, 5411, 289, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 5956, 12, 15876, 18256, 16, 7784, 8526, 833, 13, 288, 7734, 727, 8596, 3140, 20, 273, 18925, 4117, 12, 14168, 639, 16, 833, 16, 374, 16, 638, 1769, 7734, 727, 8596, 3140, 21, 273, 18925, 4117, 12, 14168, 639, 16, 833, 16, 404, 16, 638, 1769, 7734, 309, 261, 5990, 20, 18, 291, 2041, 1435, 747, 3140, 21, 18, 291, 2041, 10756, 288, 10792, 327, 5737, 18, 13625, 67, 7085, 31, 7734, 289, 7734, 309, 261, 5990, 20, 18, 588, 2355, 1435, 480, 3140, 21, 18, 588, 2355, 10756, 288, 10792, 604, 394, 13904, 503, 12, 2211, 16, 315, 6918, 1297, 10957, 358, 326, 1967, 1801, 8863, 7734, 289, 7734, 327, 478, 318, 1304, 18, 5990, 2 ]
tabs[i] = new EnvironmentTab(); tabs[i++].setLaunchConfigurationDialog(dialog); tabs[i] = new JavaJRETab(); tabs[i++].setLaunchConfigurationDialog(dialog); tabs[i] = new CommonTab(); tabs[i++].setLaunchConfigurationDialog(dialog);
public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[10]; int i = 0; tabs[i] = new JavaArgumentsTab2(); tabs[i++].setLaunchConfigurationDialog(dialog);// tabs[i] = new JavaClasspathTab();// tabs[i++].setLaunchConfigurationDialog(dialog); tabs[i] = new SourceLookupTab(); tabs[i++].setLaunchConfigurationDialog(dialog);// tabs[i] = new EnvironmentTab();// tabs[i++].setLaunchConfigurationDialog(dialog);// tabs[i] = new JavaJRETab();// tabs[i++].setLaunchConfigurationDialog(dialog); // tabs[i] = new CommonTab();// tabs[i++].setLaunchConfigurationDialog(dialog); ILaunchConfigurationTab[] tabs2 = new ILaunchConfigurationTab[i]; System.arraycopy(tabs, 0, tabs2, 0, i); setTabs(tabs2); }
56633 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56633/45cb231c6f5e0fedbe2d6cbf9f171fcc45696eeb/JBossLaunchConfigurationTabGroup.java/clean/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/config/JBossLaunchConfigurationTabGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 17348, 12, 2627, 4760, 1750, 6353, 6176, 16, 514, 1965, 13, 288, 202, 202, 2627, 4760, 1750, 5661, 8526, 10920, 273, 394, 467, 9569, 1750, 5661, 63, 2163, 15533, 202, 202, 474, 277, 273, 374, 31, 202, 202, 16056, 63, 77, 65, 273, 394, 5110, 4628, 5661, 22, 5621, 202, 202, 16056, 63, 77, 9904, 8009, 542, 9569, 1750, 6353, 12, 12730, 1769, 759, 202, 202, 16056, 63, 77, 65, 273, 394, 5110, 17461, 5661, 5621, 759, 202, 202, 16056, 63, 77, 9904, 8009, 542, 9569, 1750, 6353, 12, 12730, 1769, 202, 202, 16056, 63, 77, 65, 273, 394, 4998, 6609, 5661, 5621, 202, 202, 16056, 63, 77, 9904, 8009, 542, 9569, 1750, 6353, 12, 12730, 1769, 759, 202, 202, 16056, 63, 77, 65, 273, 394, 7518, 5661, 5621, 759, 202, 202, 16056, 63, 77, 9904, 8009, 542, 9569, 1750, 6353, 12, 12730, 1769, 759, 202, 202, 16056, 63, 77, 65, 273, 394, 5110, 46, 862, 5661, 5621, 759, 202, 202, 16056, 63, 77, 9904, 8009, 542, 9569, 1750, 6353, 12, 12730, 1769, 202, 368, 202, 202, 16056, 63, 77, 65, 273, 394, 5658, 5661, 5621, 759, 202, 202, 16056, 63, 77, 9904, 8009, 542, 9569, 1750, 6353, 12, 12730, 1769, 9506, 202, 2627, 4760, 1750, 5661, 8526, 10920, 22, 273, 394, 467, 9569, 1750, 5661, 63, 77, 15533, 202, 202, 3163, 18, 1126, 3530, 12, 16056, 16, 374, 16, 10920, 22, 16, 374, 16, 277, 1769, 202, 202, 542, 17348, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 17348, 12, 2627, 4760, 1750, 6353, 6176, 16, 514, 1965, 13, 288, 202, 202, 2627, 4760, 1750, 5661, 8526, 10920, 273, 394, 467, 9569, 1750, 5661, 63, 2163, 15533, 202, 202, 474, 277, 273, 374, 31, 202, 202, 16056, 63, 77, 65, 273, 394, 5110, 4628, 5661, 22, 5621, 202, 202, 16056, 63, 77, 9904, 8009, 542, 9569, 1750, 6353, 12, 12730, 1769, 759, 202, 202, 16056, 63, 77, 65, 273, 394, 5110, 17461, 5661, 5621, 759, 202, 202, 16056, 63, 77, 9904, 8009, 542, 9569, 1750, 6353, 12, 12730, 1769, 202, 202, 16056, 63, 77, 65, 273, 394, 4998, 6609, 5661, 5621, 202, 202, 16056, 63, 77, 9904, 8009, 542, 9569, 1750, 6353, 2 ]
if ( controls.getReturningAttributes() == null ) {
public boolean accept( LdapContext ctx, SearchResult result, SearchControls controls ) throws NamingException { if ( controls.getReturningAttributes() == null ) { return filter( result.getAttributes() ); } return true; }
10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/02f6306db73367b7b358c6907b8aadc6a4024c8a/CollectiveAttributeService.java/buggy/core/src/main/java/org/apache/ldap/server/collective/CollectiveAttributeService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 2791, 12, 18053, 1042, 1103, 16, 29740, 563, 16, 5167, 16795, 11022, 262, 7734, 1216, 26890, 3639, 288, 5411, 309, 261, 11022, 18, 588, 28365, 2498, 1435, 422, 446, 262, 5411, 288, 7734, 327, 1034, 12, 563, 18, 588, 2498, 1435, 11272, 5411, 289, 5411, 327, 638, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 1250, 2791, 12, 18053, 1042, 1103, 16, 29740, 563, 16, 5167, 16795, 11022, 262, 7734, 1216, 26890, 3639, 288, 5411, 309, 261, 11022, 18, 588, 28365, 2498, 1435, 422, 446, 262, 5411, 288, 7734, 327, 1034, 12, 563, 18, 588, 2498, 1435, 11272, 5411, 289, 5411, 327, 638, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(j + nextWordLen > 60) {
if (j + nextWordLen > 60) {
static void showMessageDialog(Component parent, String msg, String title, int flags) { if(msg.length() > 60) { StringBuffer buf = new StringBuffer(); int len = msg.length(); int j = 0; int i; for(i = 0; i < len; i++, j++) { char c = msg.charAt(i); buf.append(c); if(Character.isWhitespace(c)) { int remainder = len - i; int k; for(k = i + 1; k < len; k++) { if(Character.isWhitespace(msg.charAt(k))) { break; } } if(k < len) { int nextWordLen = k - i; if(j + nextWordLen > 60) { buf.append('\n'); j = 0; } } } } msg = buf.toString(); } JOptionPane.showMessageDialog(parent, msg, title, flags); }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/bebd557da53b74c60ab8525aa96904d4cee6224c/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 2405, 1079, 6353, 12, 1841, 982, 16, 514, 1234, 16, 21394, 514, 2077, 16, 509, 2943, 13, 288, 3639, 309, 12, 3576, 18, 2469, 1435, 405, 4752, 13, 288, 5411, 6674, 1681, 273, 394, 6674, 5621, 5411, 509, 562, 273, 1234, 18, 2469, 5621, 5411, 509, 525, 273, 374, 31, 5411, 509, 277, 31, 5411, 364, 12, 77, 273, 374, 31, 277, 411, 562, 31, 277, 9904, 16, 525, 27245, 288, 7734, 1149, 276, 273, 1234, 18, 3001, 861, 12, 77, 1769, 7734, 1681, 18, 6923, 12, 71, 1769, 7734, 309, 12, 7069, 18, 291, 9431, 12, 71, 3719, 288, 10792, 509, 10022, 273, 562, 300, 277, 31, 10792, 509, 417, 31, 10792, 364, 12, 79, 273, 277, 397, 404, 31, 417, 411, 562, 31, 417, 27245, 288, 13491, 309, 12, 7069, 18, 291, 9431, 12, 3576, 18, 3001, 861, 12, 79, 20349, 288, 18701, 898, 31, 13491, 289, 10792, 289, 10792, 309, 12, 79, 411, 562, 13, 288, 13491, 509, 1024, 3944, 2891, 273, 417, 300, 277, 31, 13491, 309, 261, 78, 397, 1024, 3944, 2891, 405, 4752, 13, 288, 18701, 1681, 18, 6923, 2668, 64, 82, 8284, 18701, 525, 273, 374, 31, 13491, 289, 10792, 289, 7734, 289, 5411, 289, 5411, 1234, 273, 1681, 18, 10492, 5621, 3639, 289, 3639, 804, 1895, 8485, 18, 4500, 1079, 6353, 12, 2938, 16, 1234, 16, 2077, 16, 2943, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 2405, 1079, 6353, 12, 1841, 982, 16, 514, 1234, 16, 21394, 514, 2077, 16, 509, 2943, 13, 288, 3639, 309, 12, 3576, 18, 2469, 1435, 405, 4752, 13, 288, 5411, 6674, 1681, 273, 394, 6674, 5621, 5411, 509, 562, 273, 1234, 18, 2469, 5621, 5411, 509, 525, 273, 374, 31, 5411, 509, 277, 31, 5411, 364, 12, 77, 273, 374, 31, 277, 411, 562, 31, 277, 9904, 16, 525, 27245, 288, 7734, 1149, 276, 273, 1234, 18, 3001, 861, 12, 77, 1769, 7734, 1681, 18, 6923, 12, 71, 1769, 7734, 309, 12, 7069, 18, 291, 9431, 12, 71, 3719, 288, 10792, 509, 10022, 273, 562, 300, 277, 31, 10792, 509, 417, 31, 10792, 364, 12, 79, 2 ]
public void run() { Task newTask = new Task(TasksUiPlugin.getTaskListManager().genUniqueTaskHandle(), DESCRIPTION_DEFAULT, true); scheduleNewTask(newTask); Object selectedObject = null; TaskListView view = TaskListView.getFromActivePerspective(); if (view != null) { selectedObject = ((IStructuredSelection) view.getViewer().getSelection()).getFirstElement(); } if (selectedObject instanceof TaskCategory) { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) selectedObject); } else if (selectedObject instanceof ITask) { ITask task = (ITask) selectedObject; if (task.getContainer() instanceof TaskCategory) { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) task.getContainer()); } else if (view != null && view.getDrilledIntoCategory() instanceof TaskCategory) { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) view.getDrilledIntoCategory()); } else { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, TasksUiPlugin.getTaskListManager().getTaskList().getRootCategory()); } } else if (view != null && view.getDrilledIntoCategory() instanceof TaskCategory) { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) view.getDrilledIntoCategory()); } else { if (view != null && view.getDrilledIntoCategory() != null) { MessageDialog .openInformation(Display.getCurrent().getActiveShell(), TasksUiPlugin.TITLE_DIALOG, "The new task has been added to the root of the list, since tasks can not be added to a query."); } TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, TasksUiPlugin.getTaskListManager().getTaskList().getRootCategory()); } TaskUiUtil.openEditor(newTask, true); if (view != null) { view.getViewer().refresh(); view.setInRenameAction(true); view.getViewer().editElement(newTask, 4); view.setInRenameAction(false); }
public void run(IAction action) { run();
public void run() { Task newTask = new Task(TasksUiPlugin.getTaskListManager().genUniqueTaskHandle(), DESCRIPTION_DEFAULT, true); scheduleNewTask(newTask); Object selectedObject = null; TaskListView view = TaskListView.getFromActivePerspective(); if (view != null) { selectedObject = ((IStructuredSelection) view.getViewer().getSelection()).getFirstElement(); } if (selectedObject instanceof TaskCategory) { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) selectedObject); } else if (selectedObject instanceof ITask) { ITask task = (ITask) selectedObject; if (task.getContainer() instanceof TaskCategory) { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) task.getContainer()); } else if (view != null && view.getDrilledIntoCategory() instanceof TaskCategory) { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) view.getDrilledIntoCategory()); } else { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, TasksUiPlugin.getTaskListManager().getTaskList().getRootCategory()); } } else if (view != null && view.getDrilledIntoCategory() instanceof TaskCategory) { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) view.getDrilledIntoCategory()); } else { if (view != null && view.getDrilledIntoCategory() != null) { MessageDialog .openInformation(Display.getCurrent().getActiveShell(), TasksUiPlugin.TITLE_DIALOG, "The new task has been added to the root of the list, since tasks can not be added to a query."); } TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, TasksUiPlugin.getTaskListManager().getTaskList().getRootCategory()); } TaskUiUtil.openEditor(newTask, true); if (view != null) { view.getViewer().refresh(); view.setInRenameAction(true); view.getViewer().editElement(newTask, 4); view.setInRenameAction(false); } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/361c6ec2e7073ec246d53febe37ad9c793dafa31/NewLocalTaskAction.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/NewLocalTaskAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 2174, 394, 2174, 273, 394, 3837, 12, 6685, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 4507, 6303, 2174, 3259, 9334, 21736, 67, 5280, 16, 638, 1769, 202, 202, 10676, 1908, 2174, 12, 2704, 2174, 1769, 202, 202, 921, 3170, 921, 273, 446, 31, 202, 202, 2174, 682, 1767, 1476, 273, 3837, 682, 1767, 18, 588, 1265, 3896, 14781, 16772, 5621, 202, 202, 430, 261, 1945, 480, 446, 13, 288, 1082, 202, 8109, 921, 273, 14015, 45, 30733, 6233, 13, 1476, 18, 588, 18415, 7675, 588, 6233, 1435, 2934, 588, 3759, 1046, 5621, 202, 202, 97, 202, 202, 430, 261, 8109, 921, 1276, 3837, 4457, 13, 288, 1082, 202, 6685, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 7675, 1289, 2174, 12, 2704, 2174, 16, 261, 2174, 4457, 13, 3170, 921, 1769, 202, 202, 97, 469, 309, 261, 8109, 921, 1276, 467, 2174, 13, 288, 1082, 202, 1285, 835, 1562, 273, 261, 1285, 835, 13, 3170, 921, 31, 1082, 202, 430, 261, 4146, 18, 588, 2170, 1435, 1276, 3837, 4457, 13, 288, 9506, 202, 6685, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 7675, 1289, 2174, 12, 2704, 2174, 16, 261, 2174, 4457, 13, 1562, 18, 588, 2170, 10663, 1082, 202, 97, 469, 309, 261, 1945, 480, 446, 597, 1476, 18, 588, 8956, 13148, 5952, 4457, 1435, 1276, 3837, 4457, 13, 288, 9506, 202, 6685, 13943, 3773, 18, 588, 2174, 682, 1318, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 2174, 394, 2174, 273, 394, 3837, 12, 6685, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 4507, 6303, 2174, 3259, 9334, 21736, 67, 5280, 16, 638, 1769, 202, 202, 10676, 1908, 2174, 12, 2704, 2174, 1769, 202, 202, 921, 3170, 921, 273, 446, 31, 202, 202, 2174, 682, 1767, 1476, 273, 3837, 682, 1767, 18, 588, 1265, 3896, 14781, 16772, 5621, 202, 202, 430, 261, 1945, 480, 446, 13, 288, 1082, 202, 8109, 921, 273, 14015, 45, 30733, 6233, 13, 1476, 18, 588, 18415, 7675, 588, 6233, 1435, 2934, 588, 3759, 1046, 5621, 202, 202, 97, 202, 202, 430, 261, 8109, 921, 1276, 3837, 4457, 13, 288, 1082, 202, 6685, 2 ]
+ " requires a lock of type " + lockType + " for user "
+ " requires must be locked to user "
public void assertLock(CmsObject cms, String resourceName, int lockType) { try { // get the actual resource from the VFS CmsResource res = cms.readResource(resourceName, CmsResourceFilter.ALL); CmsLock lock = cms.getLock(res); if (lockType == CmsLock.TYPE_UNLOCKED) { if (!lock.isNullLock()) { fail("[Lock " + resourceName + " must be unlocked]"); } } else if (lock.isNullLock() || lock.getType() != lockType || !lock.getUserId().equals(cms.getRequestContext().currentUser().getId())) { fail("[Lock " + resourceName + " requires a lock of type " + lockType + " for user " + cms.getRequestContext().currentUser().getId() + " but has a lock of type " + lock.getType() + " for user " + lock.getUserId() + "]"); } } catch (CmsException e) { fail("cannot read resource " + resourceName + " " + CmsException.getStackTraceAsString(e)); } }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/0a325deda5c054061b5c35a9c0aa5deed3c6eaad/OpenCmsTestCase.java/buggy/test/org/opencms/test/OpenCmsTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1815, 2531, 12, 4747, 921, 6166, 16, 514, 9546, 16, 509, 2176, 559, 13, 288, 3639, 775, 288, 5411, 368, 336, 326, 3214, 1058, 628, 326, 23567, 5411, 7630, 400, 273, 6166, 18, 896, 1420, 12, 3146, 461, 16, 21082, 18, 4685, 1769, 5411, 2149, 2531, 2176, 273, 6166, 18, 588, 2531, 12, 455, 1769, 5411, 309, 261, 739, 559, 422, 2149, 2531, 18, 2399, 67, 2124, 6589, 2056, 13, 288, 7734, 309, 16051, 739, 18, 291, 2041, 2531, 10756, 288, 10792, 2321, 2932, 63, 2531, 315, 397, 9546, 397, 315, 1297, 506, 25966, 4279, 1769, 7734, 289, 5411, 289, 469, 309, 261, 739, 18, 291, 2041, 2531, 1435, 7734, 747, 2176, 18, 588, 559, 1435, 480, 2176, 559, 7734, 747, 401, 739, 18, 588, 10502, 7675, 14963, 12, 6851, 18, 588, 21426, 7675, 2972, 1299, 7675, 26321, 1435, 3719, 288, 7734, 2321, 2932, 63, 2531, 315, 10792, 397, 9546, 10792, 397, 315, 4991, 279, 2176, 434, 618, 315, 10792, 397, 2176, 559, 10792, 397, 315, 364, 729, 315, 10792, 397, 6166, 18, 588, 21426, 7675, 2972, 1299, 7675, 26321, 1435, 10792, 397, 315, 1496, 711, 279, 2176, 434, 618, 315, 10792, 397, 2176, 18, 588, 559, 1435, 10792, 397, 315, 364, 729, 315, 10792, 397, 2176, 18, 588, 10502, 1435, 10792, 397, 9870, 1769, 5411, 289, 3639, 289, 1044, 261, 4747, 503, 425, 13, 288, 5411, 2321, 2932, 12892, 855, 1058, 315, 397, 9546, 397, 315, 315, 397, 11228, 18, 588, 6332, 8092, 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, 1815, 2531, 12, 4747, 921, 6166, 16, 514, 9546, 16, 509, 2176, 559, 13, 288, 3639, 775, 288, 5411, 368, 336, 326, 3214, 1058, 628, 326, 23567, 5411, 7630, 400, 273, 6166, 18, 896, 1420, 12, 3146, 461, 16, 21082, 18, 4685, 1769, 5411, 2149, 2531, 2176, 273, 6166, 18, 588, 2531, 12, 455, 1769, 5411, 309, 261, 739, 559, 422, 2149, 2531, 18, 2399, 67, 2124, 6589, 2056, 13, 288, 7734, 309, 16051, 739, 18, 291, 2041, 2531, 10756, 288, 10792, 2321, 2932, 63, 2531, 315, 397, 9546, 397, 315, 1297, 506, 25966, 4279, 1769, 7734, 289, 5411, 289, 469, 309, 261, 739, 18, 291, 2041, 2531, 1435, 7734, 747, 2176, 18, 588, 559, 1435, 2 ]
if (ordinalExp != null) { if (ordinalExp instanceof MondrianDef.Column) { checkColumn((MondrianDef.Column) ordinalExp); } this.ordinalExp = ordinalExp; } else { this.ordinalExp = this.keyExp; } this.parentExp = parentExp; if (parentExp != null) { Util.assertTrue(!isAll, "'All' level '" + this + "' must not be parent-child"); Util.assertTrue(unique, "Parent-child level '" + this + "' must have uniqueMembers=\"true\""); } this.nullParentValue = nullParentValue; Util.assertPrecondition(parentExp != null || nullParentValue == null,
if (ordinalExp != null) { if (ordinalExp instanceof MondrianDef.Column) { checkColumn((MondrianDef.Column) ordinalExp); } this.ordinalExp = ordinalExp; } else { this.ordinalExp = this.keyExp; } this.parentExp = parentExp; if (parentExp != null) { Util.assertTrue(!isAll, "'All' level '" + this + "' must not be parent-child"); Util.assertTrue(unique, "Parent-child level '" + this + "' must have uniqueMembers=\"true\""); } this.nullParentValue = nullParentValue; Util.assertPrecondition(parentExp != null || nullParentValue == null,
RolapLevel(RolapHierarchy hierarchy, int depth, String name, MondrianDef.Expression keyExp, MondrianDef.Expression nameExp, MondrianDef.Expression ordinalExp, MondrianDef.Expression parentExp, String nullParentValue, MondrianDef.Closure xmlClosure, RolapProperty[] properties, int flags, HideMemberCondition hideMemberCondition, LevelType levelType) { Util.assertPrecondition(properties != null, "properties != null"); Util.assertPrecondition(hideMemberCondition != null, "hideMemberCondition != null"); Util.assertPrecondition(levelType != null, "levelType != null"); this.hierarchy = hierarchy; this.name = name; this.uniqueName = Util.makeFqName(hierarchy, name); if (keyExp instanceof MondrianDef.Column) { checkColumn((MondrianDef.Column) keyExp); } this.flags = flags; final boolean isAll = (flags & ALL) == ALL; this.unique = (flags & UNIQUE) == UNIQUE; this.depth = depth; this.keyExp = keyExp; if (nameExp != null) { if (nameExp instanceof MondrianDef.Column) { checkColumn((MondrianDef.Column) nameExp); } } this.nameExp = nameExp; if (ordinalExp != null) { if (ordinalExp instanceof MondrianDef.Column) { checkColumn((MondrianDef.Column) ordinalExp); } this.ordinalExp = ordinalExp; } else { this.ordinalExp = this.keyExp; } this.parentExp = parentExp; if (parentExp != null) { Util.assertTrue(!isAll, "'All' level '" + this + "' must not be parent-child"); Util.assertTrue(unique, "Parent-child level '" + this + "' must have uniqueMembers=\"true\""); } this.nullParentValue = nullParentValue; Util.assertPrecondition(parentExp != null || nullParentValue == null, "parentExp != null || nullParentValue == null"); this.xmlClosure = xmlClosure; for (int i = 0; i < properties.length; i++) { RolapProperty property = properties[i]; if (property.exp instanceof MondrianDef.Column) { checkColumn((MondrianDef.Column) property.exp); } } this.properties = properties; ArrayList list = new ArrayList(); for (Level level = this; level != null; level = level.getParentLevel()) { final Property[] levelProperties = level.getProperties(); for (int i = 0; i < levelProperties.length; i++) { final Property levelProperty = levelProperties[i]; Property existingProperty = lookupProperty( list, levelProperty.getName()); if (existingProperty == null) { list.add(levelProperty); } else if (existingProperty.getType() != levelProperty.getType()) { throw Util.newError( "Property " + this.getName() + "." + levelProperty.getName() + " overrides a " + "property with the same name but different type"); } } } this.inheritedProperties = (RolapProperty[]) list.toArray( RolapProperty.emptyArray); this.levelType = levelType; Dimension dim = hierarchy.getDimension(); if (dim.getDimensionType() == DimensionType.TimeDimension) { if (!levelType.isTime() && !isAll) { throw MondrianResource.instance() .newNonTimeLevelInTimeHierarchy(getUniqueName()); } } else if (dim.getDimensionType() == null) { // there was no dimension type assigned to the dimension // - check later } else { if (levelType.isTime()) { throw MondrianResource.instance() .newTimeLevelInNonTimeHierarchy(getUniqueName()); } } this.hideMemberCondition = hideMemberCondition; this.closedPeer = null; }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/RolapLevel.java/clean/src/main/mondrian/rolap/RolapLevel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 4984, 438, 2355, 12, 4984, 438, 12074, 9360, 16, 3639, 509, 3598, 16, 3639, 514, 508, 16, 3639, 490, 1434, 566, 304, 3262, 18, 2300, 498, 2966, 16, 3639, 490, 1434, 566, 304, 3262, 18, 2300, 508, 2966, 16, 3639, 490, 1434, 566, 304, 3262, 18, 2300, 12675, 2966, 16, 3639, 490, 1434, 566, 304, 3262, 18, 2300, 982, 2966, 16, 3639, 514, 446, 3054, 620, 16, 3639, 490, 1434, 566, 304, 3262, 18, 10573, 2025, 10573, 16, 3639, 11714, 438, 1396, 8526, 1790, 16, 3639, 509, 2943, 16, 3639, 25180, 4419, 3418, 3639, 6853, 4419, 3418, 16, 3639, 4557, 559, 1801, 559, 13, 565, 288, 3639, 3564, 18, 11231, 1386, 4175, 12, 4738, 480, 446, 16, 315, 4738, 480, 446, 8863, 3639, 3564, 18, 11231, 1386, 4175, 12, 11248, 4419, 3418, 480, 446, 16, 7734, 315, 11248, 4419, 3418, 480, 446, 8863, 3639, 3564, 18, 11231, 1386, 4175, 12, 2815, 559, 480, 446, 16, 315, 2815, 559, 480, 446, 8863, 202, 202, 2211, 18, 17937, 273, 9360, 31, 202, 202, 2211, 18, 529, 273, 508, 31, 202, 202, 2211, 18, 6270, 461, 273, 3564, 18, 6540, 28200, 461, 12, 17937, 16, 508, 1769, 202, 202, 430, 261, 856, 2966, 1276, 490, 1434, 566, 304, 3262, 18, 1494, 13, 288, 1082, 202, 1893, 1494, 12443, 49, 1434, 566, 304, 3262, 18, 1494, 13, 498, 2966, 1769, 202, 202, 97, 202, 202, 2211, 18, 7133, 273, 2943, 31, 202, 202, 6385, 1250, 353, 1595, 273, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 4984, 438, 2355, 12, 4984, 438, 12074, 9360, 16, 3639, 509, 3598, 16, 3639, 514, 508, 16, 3639, 490, 1434, 566, 304, 3262, 18, 2300, 498, 2966, 16, 3639, 490, 1434, 566, 304, 3262, 18, 2300, 508, 2966, 16, 3639, 490, 1434, 566, 304, 3262, 18, 2300, 12675, 2966, 16, 3639, 490, 1434, 566, 304, 3262, 18, 2300, 982, 2966, 16, 3639, 514, 446, 3054, 620, 16, 3639, 490, 1434, 566, 304, 3262, 18, 10573, 2025, 10573, 16, 3639, 11714, 438, 1396, 8526, 1790, 16, 3639, 509, 2943, 16, 3639, 25180, 4419, 3418, 3639, 6853, 4419, 3418, 16, 3639, 4557, 559, 1801, 559, 13, 565, 288, 3639, 3564, 18, 11231, 1386, 4175, 12, 4738, 480, 446, 16, 2 ]
public org.quickfix.field.Factor getFactor() throws FieldNotFound { org.quickfix.field.Factor value = new org.quickfix.field.Factor();
public quickfix.field.Factor getFactor() throws FieldNotFound { quickfix.field.Factor value = new quickfix.field.Factor();
public org.quickfix.field.Factor getFactor() throws FieldNotFound { org.quickfix.field.Factor value = new org.quickfix.field.Factor(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityStatus.java/clean/src/java/src/quickfix/fix44/SecurityStatus.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 6837, 2812, 3362, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 6837, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 6837, 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, 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286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 6837, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 6837, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (typesToExportField == null) return initialTypesFieldValue;
if (typesToExportField == null) { return initialTypesFieldValue; }
public String getTypesFieldValue() { if (typesToExportField == null) return initialTypesFieldValue; return typesToExportField.getText(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/WizardExportPage.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardExportPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 20780, 13559, 1435, 288, 3639, 309, 261, 2352, 774, 6144, 974, 422, 446, 13, 5411, 327, 2172, 2016, 13559, 31, 3639, 327, 1953, 774, 6144, 974, 18, 588, 1528, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 20780, 13559, 1435, 288, 3639, 309, 261, 2352, 774, 6144, 974, 422, 446, 13, 5411, 327, 2172, 2016, 13559, 31, 3639, 327, 1953, 774, 6144, 974, 18, 588, 1528, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
result = CONVERSION_NONTRIVIAL;
return CONVERSION_NONTRIVIAL;
public static int getConversionWeight(Object fromObj, Class to) { int fromCode = getJSTypeCode(fromObj); int result = CONVERSION_NONE; switch (fromCode) { case JSTYPE_UNDEFINED: if (to == ScriptRuntime.StringClass || to == ScriptRuntime.ObjectClass) { result = 1; } break; case JSTYPE_NULL: if (!to.isPrimitive()) { result = 1; } break; case JSTYPE_BOOLEAN: // "boolean" is #1 if (to == Boolean.TYPE) { result = 1; } else if (to == ScriptRuntime.BooleanClass) { result = 2; } else if (to == ScriptRuntime.ObjectClass) { result = 3; } else if (to == ScriptRuntime.StringClass) { result = 4; } break; case JSTYPE_NUMBER: if (to.isPrimitive()) { if (to == Double.TYPE) { result = 1; } else if (to != Boolean.TYPE) { result = 1 + getSizeRank(to); } } else { if (to == ScriptRuntime.StringClass) { // native numbers are #1-8 result = 9; } else if (to == ScriptRuntime.ObjectClass) { result = 10; } else if (ScriptRuntime.NumberClass.isAssignableFrom(to)) { // "double" is #1 result = 2; } } break; case JSTYPE_STRING: if (to == ScriptRuntime.StringClass) { result = 1; } else if (to.isInstance(fromObj)) { result = 2; } else if (to.isPrimitive()) { if (to == Character.TYPE) { result = 3; } else if (to != Boolean.TYPE) { result = 4; } } break; case JSTYPE_JAVA_CLASS: if (to == ScriptRuntime.ClassClass) { result = 1; } else if (to == ScriptRuntime.ObjectClass) { result = 3; } else if (to == ScriptRuntime.StringClass) { result = 4; } break; case JSTYPE_JAVA_OBJECT: case JSTYPE_JAVA_ARRAY: if (to == ScriptRuntime.StringClass) { result = 2; } else if (to.isPrimitive() && to != Boolean.TYPE) { result = (fromCode == JSTYPE_JAVA_ARRAY) ? CONVERSION_NONTRIVIAL : 2 + getSizeRank(to); } else { Object javaObj = fromObj; if (javaObj instanceof Wrapper) { javaObj = ((Wrapper)javaObj).unwrap(); } if (to.isInstance(javaObj)) { result = CONVERSION_NONTRIVIAL; } } break; case JSTYPE_OBJECT: // Other objects takes #1-#3 spots if (to.isArray()) { if (fromObj instanceof NativeArray) { // This is a native array conversion to a java array // Array conversions are all equal, and preferable to object // and string conversion, per LC3. result = 1; } } else if (to == ScriptRuntime.ObjectClass) { result = 2; } else if (to == ScriptRuntime.StringClass) { result = 3; } else if (to == ScriptRuntime.DateClass) { if (fromObj instanceof NativeDate) { // This is a native date to java date conversion result = 1; } } else if (to.isPrimitive() || to != Boolean.TYPE) { result = 3 + getSizeRank(to); } break; } return result; }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/11eddf0c611b2537267e99835d22096964c80528/NativeJavaObject.java/buggy/src/org/mozilla/javascript/NativeJavaObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 336, 6814, 6544, 12, 921, 628, 2675, 16, 1659, 358, 13, 288, 3639, 509, 628, 1085, 273, 30257, 15460, 12, 2080, 2675, 1769, 3639, 509, 563, 273, 3492, 5757, 67, 9826, 31, 3639, 1620, 261, 2080, 1085, 13, 288, 3639, 648, 804, 882, 1738, 67, 2124, 15544, 30, 5411, 309, 261, 869, 422, 7739, 5576, 18, 780, 797, 747, 7734, 358, 422, 7739, 5576, 18, 921, 797, 13, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 8560, 30, 5411, 309, 16051, 869, 18, 291, 9840, 10756, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 17900, 30, 5411, 368, 315, 6494, 6, 353, 468, 21, 5411, 309, 261, 869, 422, 3411, 18, 2399, 13, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 469, 309, 261, 869, 422, 7739, 5576, 18, 5507, 797, 13, 288, 7734, 563, 273, 576, 31, 5411, 289, 5411, 469, 309, 261, 869, 422, 7739, 5576, 18, 921, 797, 13, 288, 7734, 563, 273, 890, 31, 5411, 289, 5411, 469, 309, 261, 869, 422, 7739, 5576, 18, 780, 797, 13, 288, 7734, 563, 273, 1059, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 9931, 30, 5411, 309, 261, 869, 18, 291, 9840, 10756, 288, 7734, 309, 261, 869, 422, 3698, 18, 2399, 13, 288, 10792, 563, 273, 404, 31, 7734, 289, 7734, 469, 309, 261, 869, 480, 3411, 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, 509, 336, 6814, 6544, 12, 921, 628, 2675, 16, 1659, 358, 13, 288, 3639, 509, 628, 1085, 273, 30257, 15460, 12, 2080, 2675, 1769, 3639, 509, 563, 273, 3492, 5757, 67, 9826, 31, 3639, 1620, 261, 2080, 1085, 13, 288, 3639, 648, 804, 882, 1738, 67, 2124, 15544, 30, 5411, 309, 261, 869, 422, 7739, 5576, 18, 780, 797, 747, 7734, 358, 422, 7739, 5576, 18, 921, 797, 13, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 8560, 30, 5411, 309, 16051, 869, 18, 291, 9840, 10756, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 17900, 30, 5411, 2 ]
if (gb != null) gb.firePropertyChange(this, Component.PROPERTY_VISIBLE, oldVisible, visible);
if (gb != null) gb.firePropertyChange(this, PROPERTY_COLUMN_VISIBLE, oldVisible, visible);
public void setVisible(boolean visible) { boolean oldVisible = this.visible; GridBox gb = (GridBox) getParent(); this.visible = visible; if (gb != null) gb.firePropertyChange(this, Component.PROPERTY_VISIBLE, oldVisible, visible); }
51553 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51553/f1f0c95a57d8d7a88b8db0d8dac14769628aba36/GridBox.java/buggy/src/thinwire/ui/GridBox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 16697, 12, 6494, 6021, 13, 288, 5411, 1250, 1592, 6207, 273, 333, 18, 8613, 31, 5411, 7145, 3514, 21649, 273, 261, 6313, 3514, 13, 5089, 5621, 5411, 333, 18, 8613, 273, 6021, 31, 5411, 309, 261, 4490, 480, 446, 13, 21649, 18, 12179, 1396, 3043, 12, 2211, 16, 9759, 67, 11009, 67, 29588, 16, 1592, 6207, 16, 6021, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 540, 1071, 918, 16697, 12, 6494, 6021, 13, 288, 5411, 1250, 1592, 6207, 273, 333, 18, 8613, 31, 5411, 7145, 3514, 21649, 273, 261, 6313, 3514, 13, 5089, 5621, 5411, 333, 18, 8613, 273, 6021, 31, 5411, 309, 261, 4490, 480, 446, 13, 21649, 18, 12179, 1396, 3043, 12, 2211, 16, 9759, 67, 11009, 67, 29588, 16, 1592, 6207, 16, 6021, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.cellsFitPage = fitPage;
this.cellsFitPage = fitPage;
public void setCellsFitPage(boolean fitPage) { this.cellsFitPage = fitPage; }
3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/ed86dfb474e6fa22e1797452482e751a297a7e1f/Table.java/clean/itext/src/com/lowagie/text/Table.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 10505, 14219, 1964, 12, 6494, 4845, 1964, 13, 288, 3639, 333, 18, 14741, 14219, 1964, 273, 4845, 1964, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 10505, 14219, 1964, 12, 6494, 4845, 1964, 13, 288, 3639, 333, 18, 14741, 14219, 1964, 273, 4845, 1964, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new EntityReferenceImpl(location, name, null, null, null, replacementText);
return new EntityReferenceImpl(location, declaration, name);
public EntityReference createEntityReference(String name, //EntityDeclaration declaration) String replacementText) { //return new EntityReferenceImpl(location, declaration, name); return new EntityReferenceImpl(location, name, null, null, null, replacementText); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/85b35b1bda7ca489cbe770303289ed28c2a49363/XMLEventFactoryImpl.java/buggy/gnu/xml/stream/XMLEventFactoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3887, 2404, 752, 1943, 2404, 12, 780, 508, 16, 4766, 9079, 368, 1943, 6094, 8266, 13, 4766, 9079, 514, 6060, 1528, 13, 225, 288, 565, 368, 2463, 394, 3887, 2404, 2828, 12, 3562, 16, 8266, 16, 508, 1769, 565, 327, 394, 3887, 2404, 2828, 12, 3562, 16, 508, 16, 446, 16, 446, 16, 446, 16, 4766, 282, 6060, 1528, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1943, 6094, 8266, 13, 4766, 9079, 514, 6060, 1528, 13, 225, 288, 565, 368, 2463, 394, 3887, 2404, 2828, 12, 3562, 16, 8266, 16, 508, 1769, 565, 327, 394, 3887, 2404, 2828, 12, 3562, 16, 508, 16, 446, 16, 446, 16, 446, 16, 4766, 282, 6060, 1528, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (methodName == VM_MagicNames.getMemoryWord) {
if (methodName == VM_MagicNames.getMemoryInt || methodName == VM_MagicNames.getMemoryWord || methodName == VM_MagicNames.getMemoryAddress) {
private final boolean genMagic (VM_MethodReference m) { VM_Atom methodName = m.getName(); if (methodName == VM_MagicNames.attempt) { // attempt gets called with four arguments // base // offset // oldVal // newVal // returns ([base+offset] == oldVal) // if ([base+offset] == oldVal) [base+offset] := newVal // (operation on memory is atomic) asm.emitPOP_Reg (T1); // newVal asm.emitPOP_Reg (EAX); // oldVal (EAX is implicit arg to LCMPXCNG asm.emitPOP_Reg (S0); // S0 = offset asm.emitADD_Reg_RegInd(S0, SP); // S0 += base if (VM.BuildForSingleVirtualProcessor) { asm.emitMOV_RegInd_Reg (S0, T1); // simply a store on uniprocessor (need not be atomic or cmp/xchg) asm.emitMOV_RegInd_Imm (SP, 1); // 'push' true (overwriting base) } else { asm.emitLockNextInstruction(); asm.emitCMPXCHG_RegInd_Reg (S0, T1); // atomic compare-and-exchange asm.emitMOV_RegInd_Imm (SP, 0); // 'push' false (overwriting base) VM_ForwardReference fr = asm.forwardJcc(asm.NE); // skip if compare fails asm.emitMOV_RegInd_Imm (SP, 1); // 'push' true (overwriting base) fr.resolve(asm); } return true; } if (methodName == VM_MagicNames.invokeMain) { // invokeMain gets "called" with two arguments: // String[] mainArgs // the arguments to the main method // INSTRUCTION[] mainCode // the code for the main method asm.emitPOP_Reg (S0); // genParameterRegisterLoad(1); // pass 1 parameter word asm.emitCALL_Reg(S0); // branches to mainCode with mainArgs on the stack return true; } if (methodName == VM_MagicNames.saveThreadState) { int offset = VM_Entrypoints.saveThreadStateInstructionsField.getOffset(); genParameterRegisterLoad(1); // pass 1 parameter word asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.threadSwitch) { int offset = VM_Entrypoints.threadSwitchInstructionsField.getOffset(); genParameterRegisterLoad(2); // pass 2 parameter words asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.restoreHardwareExceptionState) { int offset = VM_Entrypoints.restoreHardwareExceptionStateInstructionsField.getOffset(); genParameterRegisterLoad(1); // pass 1 parameter word asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.invokeClassInitializer) { asm.emitPOP_Reg (S0); asm.emitCALL_Reg(S0); // call address just popped return true; } /* * sysCall0, sysCall1, sysCall2, sysCall3 and sysCall4 return * an integer (32 bits). * * hi mem * branch address <- SP * * before call to C * hi mem * branch address * saved ebx * saved pr * saved jtoc <- SP */ if (methodName == VM_MagicNames.sysCall0) { asm.emitMOV_Reg_Reg(T0, SP); // T0 <- SP asm.emitPUSH_Reg(EBX); // save three nonvolatiles: EBX asm.emitPUSH_Reg(ESI); asm.emitPUSH_Reg(JTOC); // JTOC aka EDI asm.emitCALL_RegInd(T0); // branch to C code asm.emitPOP_Reg(JTOC); // restore the three nonvolatiles asm.emitPOP_Reg(ESI); asm.emitPOP_Reg(EBX); asm.emitMOV_RegInd_Reg(SP, T0); // store return value return true; } if (methodName == VM_MagicNames.sysCall1) { asm.emitPOP_Reg(S0); // first and only argument asm.emitMOV_Reg_Reg(T0, SP); // T0 <- SP asm.emitPUSH_Reg(EBX); // save three nonvolatiles: EBX asm.emitPUSH_Reg(ESI); asm.emitPUSH_Reg(JTOC); // JTOC aka EDI asm.emitPUSH_Reg(S0); // push arg on stack asm.emitCALL_RegInd(T0); // branch to C code asm.emitPOP_Reg(S0); // pop the argument asm.emitPOP_Reg(JTOC); // restore the three nonvolatiles asm.emitPOP_Reg(ESI); asm.emitPOP_Reg(EBX); asm.emitMOV_RegInd_Reg(SP, T0); // store return value return true; } if (methodName == VM_MagicNames.sysCall2) { // C require its arguments reversed asm.emitPOP_Reg(T1); // second arg asm.emitPOP_Reg(S0); // first arg asm.emitMOV_Reg_Reg(T0, SP); // T0 <- SP asm.emitPUSH_Reg(EBX); // save three nonvolatiles: EBX asm.emitPUSH_Reg(ESI); asm.emitPUSH_Reg(JTOC); // JTOC aka EDI asm.emitPUSH_Reg(T1); // reorder arguments for C asm.emitPUSH_Reg(S0); // reorder arguments for C asm.emitCALL_RegInd(T0); // branch to C code asm.emitADD_Reg_Imm(SP, WORDSIZE*2); // pop the arguments asm.emitPOP_Reg(JTOC); // restore the three nonvolatiles asm.emitPOP_Reg(ESI); asm.emitPOP_Reg(EBX); asm.emitMOV_RegInd_Reg(SP, T0); // store return value return true; } if (methodName == VM_MagicNames.sysCall3) { // C require its arguments reversed asm.emitMOV_Reg_RegInd(T0, SP); // load 3rd arg asm.emitMOV_RegDisp_Reg(SP, -1*WORDSIZE, T0); // store 3rd arg asm.emitMOV_Reg_RegDisp(T0, SP, WORDSIZE); // load 2nd arg asm.emitMOV_RegDisp_Reg(SP, -2*WORDSIZE, T0); // store 2nd arg asm.emitMOV_Reg_RegDisp(T0, SP, 2*WORDSIZE); // load 1st arg asm.emitMOV_RegDisp_Reg(SP, -3*WORDSIZE, T0); // store 1st arg asm.emitMOV_Reg_Reg(T0, SP); // T0 <- SP asm.emitMOV_RegDisp_Reg(SP, 2*WORDSIZE, EBX); // save three nonvolatiles: EBX asm.emitMOV_RegDisp_Reg(SP, 1*WORDSIZE, ESI); asm.emitMOV_RegInd_Reg(SP, JTOC); // JTOC aka EDI asm.emitADD_Reg_Imm(SP, -3*WORDSIZE); // grow the stack asm.emitCALL_RegDisp(T0, 3*WORDSIZE); // fourth arg on stack is address to call asm.emitADD_Reg_Imm(SP, WORDSIZE*3); // pop the arguments asm.emitPOP_Reg(JTOC); // restore the three nonvolatiles asm.emitPOP_Reg(ESI); asm.emitPOP_Reg(EBX); asm.emitMOV_RegInd_Reg(SP, T0); // store return value return true; } if (methodName == VM_MagicNames.sysCall4) { // C require its arguments reversed asm.emitMOV_Reg_RegDisp(T0, SP, WORDSIZE); // load 3rd arg asm.emitMOV_RegDisp_Reg(SP, -1*WORDSIZE, T0); // store 3th arg asm.emitMOV_Reg_RegDisp(T0, SP, 2*WORDSIZE); // load 2nd arg asm.emitMOV_RegDisp_Reg(SP, -2*WORDSIZE, T0); // store 2nd arg asm.emitMOV_Reg_RegDisp(T0, SP, 3*WORDSIZE); // load 1st arg asm.emitMOV_RegDisp_Reg(SP, -3*WORDSIZE, T0); // store 1st arg asm.emitMOV_Reg_Reg(T0, SP); // T0 <- SP asm.emitMOV_RegDisp_Reg(SP, 3*WORDSIZE, EBX); // save three nonvolatiles: EBX asm.emitMOV_RegDisp_Reg(SP, 2*WORDSIZE, ESI); asm.emitMOV_RegDisp_Reg(SP, 1*WORDSIZE, JTOC); // JTOC aka EDI asm.emitADD_Reg_Imm(SP, -3*WORDSIZE); // grow the stack asm.emitCALL_RegDisp(T0, 4*WORDSIZE); // fifth arg on stack is address to call asm.emitADD_Reg_Imm(SP, WORDSIZE*4); // pop the arguments asm.emitPOP_Reg(JTOC); // restore the three nonvolatiles asm.emitPOP_Reg(ESI); asm.emitPOP_Reg(EBX); asm.emitMOV_RegInd_Reg(SP, T0); // store return value return true; } /* * sysCall_L_0 returns a long and takes no arguments */ if (methodName == VM_MagicNames.sysCall_L_0) { asm.emitMOV_Reg_Reg(T0, SP); asm.emitPUSH_Reg(EBX); // save three nonvolatiles: EBX asm.emitPUSH_Reg(ESI); asm.emitPUSH_Reg(JTOC); // JTOC aka EDI asm.emitCALL_RegInd(T0); // first arg on stack is address to call asm.emitPOP_Reg(JTOC); // restore the three nonvolatiles asm.emitPOP_Reg(ESI); asm.emitPOP_Reg(EBX); asm.emitMOV_RegInd_Reg(SP, T1); // store return value: hi half asm.emitPUSH_Reg(T0); // low half return true; } /* * sysCall_L_I returns a long and takes an integer argument */ if (methodName == VM_MagicNames.sysCall_L_I) { asm.emitPOP_Reg(S0); // the one integer argument asm.emitMOV_Reg_Reg(T0, SP); // T0 <- SP asm.emitPUSH_Reg(EBX); // save three nonvolatiles: EBX asm.emitPUSH_Reg(ESI); asm.emitPUSH_Reg(JTOC); // JTOC aka EDI asm.emitPUSH_Reg(S0); // push arg on stack asm.emitCALL_RegInd(T0); // branch to C code asm.emitPOP_Reg(S0); // pop the argument asm.emitPOP_Reg(JTOC); // restore the three nonvolatiles asm.emitPOP_Reg(ESI); asm.emitPOP_Reg(EBX); asm.emitMOV_RegInd_Reg(SP, T1); // store return value: hi half asm.emitPUSH_Reg(T0); // low half return true; } if (methodName == VM_MagicNames.sysCallAD) { // address, double // C require its arguments reversed asm.emitMOV_Reg_RegInd(T0, SP); // load 2nd arg asm.emitMOV_RegDisp_Reg(SP, -2*WORDSIZE, T0); // store 2nd arg asm.emitMOV_Reg_RegDisp(T0, SP, WORDSIZE); // load 2nd arg asm.emitMOV_RegDisp_Reg(SP, -1*WORDSIZE, T0); // store 2nd arg asm.emitMOV_Reg_RegDisp(T0, SP, 2*WORDSIZE); // load 1st arg asm.emitMOV_RegDisp_Reg(SP, -3*WORDSIZE, T0); // store 1st arg asm.emitMOV_Reg_Reg(T0, SP); // T0 <- SP asm.emitMOV_RegDisp_Reg(SP, 2*WORDSIZE, EBX); // save three nonvolatiles: EBX asm.emitMOV_RegDisp_Reg(SP, 1*WORDSIZE, ESI); asm.emitMOV_RegInd_Reg(SP, JTOC); // JTOC aka EDI asm.emitADD_Reg_Imm(SP, -3*WORDSIZE); // grow the stack asm.emitCALL_RegDisp(T0, 3*WORDSIZE); // 4th word on orig. stack is address to call asm.emitADD_Reg_Imm(SP, WORDSIZE*3); // pop the arguments asm.emitPOP_Reg(JTOC); // restore the three nonvolatiles asm.emitPOP_Reg(ESI); asm.emitPOP_Reg(EBX); asm.emitMOV_RegInd_Reg(SP, T0); // store return value return true; } /* * A special version of sysCall2, for invoking sigWait and allowing * collection of the frame making the call. The signature of the * magic is shared between powerPC and intel to simplify the caller. * The signature is * address to "call" * toc or undefined for intel * address of a lock/barrier which will be passed to sigWait * value to store into the lock/barrier, also passed to sigWait. * the VM_Register object of the executing thread. * * The magic stores the current ip/fp into the VM_Register, to * allow collection of this thread from the current frame and below. * It then reverses the order of the two parameters on the stack to * conform to C calling convention, and finally invokes sigwait. * * stack: * low memory * ip -- address of sysPthreadSigWait in sys.C * toc -- * p1 -- address of lockword * p2 -- value to store in lockword * address of VM_Register object for this thread * high mem * This to be invoked from baseline code only. */ if (methodName == VM_MagicNames.sysCallSigWait) { int fpOffset = VM_Entrypoints.registersFPField.getOffset(); int ipOffset = VM_Entrypoints.registersIPField.getOffset(); int gprsOffset = VM_Entrypoints.registersGPRsField.getOffset(); asm.emitMOV_Reg_RegInd(T0, SP); // T0 <- context register obj @ asm.emitLEA_Reg_RegDisp(S0, SP, fp2spOffset(0)); // compute FP asm.emitMOV_RegDisp_Reg(T0, fpOffset, S0); // store fp in context asm.emitCALL_Imm (asm.getMachineCodeIndex() + 5); asm.emitPOP_Reg(T1); // T1 <- IP asm.emitMOV_RegDisp_Reg(T0, ipOffset, T1); // store ip in context asm.emitMOV_Reg_RegDisp(T0, T0, gprsOffset); // T0 <- grps array @ asm.emitMOV_Reg_RegDisp(T1, SP, WORDSIZE); // second arg asm.emitMOV_Reg_RegDisp(S0, SP, 2*WORDSIZE); // first arg asm.emitMOV_Reg_Reg(T0, SP); // T0 <- [sysPthreadSigWait @] asm.emitADD_Reg_Imm(T0, 4*WORDSIZE); asm.emitPUSH_Reg(JTOC); // save JTOC aka EDI asm.emitPUSH_Reg(T1); // reorder arguments for C asm.emitPUSH_Reg(S0); // reorder arguments for C asm.emitCALL_RegInd(T0); // branch to C code asm.emitADD_Reg_Imm(SP, WORDSIZE*2); // pop the arguments asm.emitPOP_Reg(JTOC); // restore JTOC asm.emitADD_Reg_Imm(SP, WORDSIZE*4); // pop all but last asm.emitMOV_RegInd_Reg(SP, T0); // overwrite last with return value return true; } if (methodName == VM_MagicNames.getFramePointer) { asm.emitLEA_Reg_RegDisp(S0, SP, fp2spOffset(0)); asm.emitPUSH_Reg (S0); return true; } if (methodName == VM_MagicNames.getCallerFramePointer) { asm.emitPOP_Reg(T0); // Callee FP asm.emitPUSH_RegDisp(T0, STACKFRAME_FRAME_POINTER_OFFSET); // Caller FP return true; } if (methodName == VM_MagicNames.setCallerFramePointer) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // fp asm.emitMOV_RegDisp_Reg(S0, STACKFRAME_FRAME_POINTER_OFFSET, T0); // [S0+SFPO] <- T0 return true; } if (methodName == VM_MagicNames.getCompiledMethodID) { asm.emitPOP_Reg(T0); // Callee FP asm.emitPUSH_RegDisp(T0, STACKFRAME_METHOD_ID_OFFSET); // Callee CMID return true; } if (methodName == VM_MagicNames.setCompiledMethodID) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // fp asm.emitMOV_RegDisp_Reg(S0, STACKFRAME_METHOD_ID_OFFSET, T0); // [S0+SMIO] <- T0 return true; } if (methodName == VM_MagicNames.getReturnAddressLocation) { asm.emitPOP_Reg(T0); // Callee FP asm.emitADD_Reg_Imm(T0, STACKFRAME_RETURN_ADDRESS_OFFSET); // location containing callee return address asm.emitPUSH_Reg(T0); // Callee return address return true; } if (methodName == VM_MagicNames.getTocPointer || methodName == VM_MagicNames.getJTOC ) { asm.emitPUSH_Reg(JTOC); return true; } if (methodName == VM_MagicNames.getThreadId) { VM_ProcessorLocalState.emitPushField(asm,VM_Entrypoints.threadIdField.getOffset()); return true; } // set the Thread id register (not really a register) if (methodName == VM_MagicNames.setThreadId) { VM_ProcessorLocalState.emitPopField(asm,VM_Entrypoints.threadIdField.getOffset()); return true; } // get the processor register (PR) if (methodName == VM_MagicNames.getProcessorRegister) { asm.emitPUSH_Reg(PR); return true; } // set the processor register (PR) if (methodName == VM_MagicNames.setProcessorRegister) { asm.emitPOP_Reg(PR); return true; } // Get the value in ESI if (methodName == VM_MagicNames.getESIAsProcessor) { asm.emitPUSH_Reg(ESI); return true; } // Set the value in ESI if (methodName == VM_MagicNames.setESIAsProcessor) { asm.emitPOP_Reg(ESI); return true; } if (methodName == VM_MagicNames.getIntAtOffset || methodName == VM_MagicNames.getObjectAtOffset || methodName == VM_MagicNames.getObjectArrayAtOffset || methodName == VM_MagicNames.prepare) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, 0); // pushes [T0+S0] return true; } if (methodName == VM_MagicNames.getByteAtOffset) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitMOV_Reg_RegIdx_Byte(T0, T0, S0, asm.BYTE, 0); // load and zero extend byte [T0+S0] asm.emitPUSH_Reg (T0); return true; } if (methodName == VM_MagicNames.setIntAtOffset || methodName == VM_MagicNames.setObjectAtOffset ) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T1); // obj ref asm.emitMOV_RegIdx_Reg(T1, S0, asm.BYTE, 0, T0); // [T1+S0] <- T0 return true; } if (methodName == VM_MagicNames.setByteAtOffset) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T1); // obj ref asm.emitMOV_RegIdx_Reg_Byte(T1, S0, asm.BYTE, 0, T0); // [T1+S0] <- (byte) T0 return true; } if (methodName == VM_MagicNames.getLongAtOffset) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, 4); // pushes [T0+S0+4] asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, 0); // pushes [T0+S0] return true; } if ((methodName == VM_MagicNames.setLongAtOffset) || (methodName == VM_MagicNames.setDoubleAtOffset)) { asm.emitMOV_Reg_RegInd (T0, SP); // value high asm.emitMOV_Reg_RegDisp(S0, SP, +8 ); // offset asm.emitMOV_Reg_RegDisp(T1, SP, +12); // obj ref asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, 0, T0); // [T1+S0] <- T0 asm.emitMOV_Reg_RegDisp(T0, SP, +4 ); // value low asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, 4, T0); // [T1+S0+4] <- T0 asm.emitADD_Reg_Imm (SP, WORDSIZE * 4); // pop stack locations return true; } if (methodName == VM_MagicNames.getMemoryWord) { asm.emitPOP_Reg(T0); // address asm.emitPUSH_RegInd(T0); // pushes [T0+0] return true; } if (methodName == VM_MagicNames.getMemoryAddress) { asm.emitPOP_Reg(T0); // address asm.emitPUSH_RegInd(T0); // pushes [T0+0] return true; } if (methodName == VM_MagicNames.setMemoryWord) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // address asm.emitMOV_RegInd_Reg(S0,T0); // [S0+0] <- T0 return true; } if (methodName == VM_MagicNames.setMemoryAddress) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // address asm.emitMOV_RegInd_Reg(S0,T0); // [S0+0] <- T0 return true; } if (methodName == VM_MagicNames.objectAsAddress || methodName == VM_MagicNames.addressAsByteArray || methodName == VM_MagicNames.addressAsIntArray || methodName == VM_MagicNames.addressAsObject || methodName == VM_MagicNames.addressAsObjectArray || methodName == VM_MagicNames.addressAsType || methodName == VM_MagicNames.objectAsType || methodName == VM_MagicNames.objectAsShortArray || methodName == VM_MagicNames.objectAsByteArray || methodName == VM_MagicNames.objectAsIntArray || methodName == VM_MagicNames.addressAsThread || methodName == VM_MagicNames.objectAsThread || methodName == VM_MagicNames.objectAsProcessor ||//-#if RVM_WITH_JIKESRVM_MEMORY_MANAGERS methodName == VM_MagicNames.addressAsBlockControl || methodName == VM_MagicNames.addressAsSizeControl || methodName == VM_MagicNames.addressAsSizeControlArray ||//-#endif methodName == VM_MagicNames.threadAsCollectorThread || methodName == VM_MagicNames.addressAsRegisters || methodName == VM_MagicNames.addressAsStack || methodName == VM_MagicNames.floatAsIntBits || methodName == VM_MagicNames.intBitsAsFloat || methodName == VM_MagicNames.doubleAsLongBits || methodName == VM_MagicNames.longBitsAsDouble) { // no-op (a type change, not a representation change) return true; } // code for VM_Type VM_Magic.getObjectType(Object object) if (methodName == VM_MagicNames.getObjectType) { asm.emitPOP_Reg (T0); // object ref VM_ObjectModel.baselineEmitLoadTIB(asm,S0,T0); asm.emitPUSH_RegDisp(S0, TIB_TYPE_INDEX<<LG_WORDSIZE); // push VM_Type slot of TIB return true; } if (methodName == VM_MagicNames.getArrayLength) { asm.emitPOP_Reg(T0); // object ref asm.emitPUSH_RegDisp(T0, VM_ObjectModel.getArrayLengthOffset()); return true; } if (methodName == VM_MagicNames.sync) { // nothing required on IA32 return true; } if (methodName == VM_MagicNames.isync) { // nothing required on IA32 return true; } // baseline compiled invocation only: all paramaters on the stack // hi mem // Code // GPRs // FPRs // Spills // low-mem if (methodName == VM_MagicNames.invokeMethodReturningVoid) { int offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.invokeMethodReturningInt) { int offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitPUSH_Reg(T0); return true; } if (methodName == VM_MagicNames.invokeMethodReturningLong) { int offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitPUSH_Reg(T0); // high half asm.emitPUSH_Reg(T1); // low half return true; } if (methodName == VM_MagicNames.invokeMethodReturningFloat) { int offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitSUB_Reg_Imm (SP, 4); asm.emitFSTP_RegInd_Reg(SP, FP0); return true; } if (methodName == VM_MagicNames.invokeMethodReturningDouble) { int offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitSUB_Reg_Imm (SP, 8); asm.emitFSTP_RegInd_Reg_Quad(SP, FP0); return true; } if (methodName == VM_MagicNames.invokeMethodReturningObject) { int offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitPUSH_Reg(T0); return true; } // baseline invocation // one paramater, on the stack -- actual code if (methodName == VM_MagicNames.dynamicBridgeTo) { if (VM.VerifyAssertions) VM._assert(klass.isDynamicBridge()); // save the branch address for later asm.emitPOP_Reg (S0); // S0<-code address asm.emitADD_Reg_Imm(SP, fp2spOffset(0) - 4); // just popped 4 bytes above. // restore FPU state asm.emitFRSTOR_RegDisp(SP, FPU_SAVE_OFFSET); // restore GPRs asm.emitMOV_Reg_RegDisp (T0, SP, T0_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (T1, SP, T1_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (EBX, SP, EBX_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (JTOC, SP, JTOC_SAVE_OFFSET); // pop frame asm.emitPOP_RegDisp (PR, VM_Entrypoints.framePointerField.getOffset()); // FP<-previous FP // branch asm.emitJMP_Reg (S0); return true; } if (methodName == VM_MagicNames.returnToNewStack) { // SP gets frame pointer for new stack asm.emitPOP_Reg (SP); // restore nonvolatile registers asm.emitMOV_Reg_RegDisp (JTOC, SP, JTOC_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (EBX, SP, EBX_SAVE_OFFSET); // discard current stack frame asm.emitPOP_RegDisp (PR, VM_Entrypoints.framePointerField.getOffset()); // return to caller- pop parameters from stack asm.emitRET_Imm(parameterWords << LG_WORDSIZE); return true; } if (methodName == VM_MagicNames.roundToZero) { // Store the FPU Control Word to a JTOC slot asm.emitFNSTCW_RegDisp(JTOC, VM_Entrypoints.FPUControlWordField.getOffset()); // Set the bits in the status word that control round to zero. // Note that we use a 32-bit OR, even though we only care about the // low-order 16 bits asm.emitOR_RegDisp_Imm(JTOC,VM_Entrypoints.FPUControlWordField.getOffset(), 0x00000c00); // Now store the result back into the FPU Control Word asm.emitFLDCW_RegDisp(JTOC,VM_Entrypoints.FPUControlWordField.getOffset()); return true; } if (methodName == VM_MagicNames.clearFloatingPointState) { // Clear the hardware floating-point state asm.emitFNINIT(); return true; } if (methodName == VM_MagicNames.getTime) { VM.sysWrite("WARNING: VM_Compiler compiling unimplemented magic: getTime in " + method + "\n"); asm.emitMOV_RegInd_Imm(SP, 0); // TEMP!! for now, return 0 return true; } if (methodName == VM_MagicNames.getTimeBase) { asm.emitRDTSC(); // read timestamp counter instruction asm.emitPUSH_Reg(EDX); // upper 32 bits asm.emitPUSH_Reg(EAX); // lower 32 bits return true; } if (methodName == VM_MagicNames.wordFromInt || methodName == VM_MagicNames.wordToInt || methodName == VM_MagicNames.wordToAddress || methodName == VM_MagicNames.wordToWord) { // no-op return true; } if (methodName == VM_MagicNames.wordAnd) { asm.emitPOP_Reg(T0); asm.emitAND_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordOr) { asm.emitPOP_Reg(T0); asm.emitOR_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordXor) { asm.emitPOP_Reg(T0); asm.emitXOR_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordNot) { asm.emitNOT_RegInd (SP); return true; } if (methodName == VM_MagicNames.wordAdd) { asm.emitPOP_Reg(T0); asm.emitADD_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordSub || methodName == VM_MagicNames.wordDiff) { asm.emitPOP_Reg(T0); asm.emitSUB_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordZero) { asm.emitPUSH_Imm(0); return true; } if (methodName == VM_MagicNames.wordMax) { asm.emitPUSH_Imm(-1); return true; } if (methodName == VM_MagicNames.wordLT) { generateAddrComparison(asm.LLT); return true; } if (methodName == VM_MagicNames.wordLE) { generateAddrComparison(asm.LLE); return true; } if (methodName == VM_MagicNames.wordGT) { generateAddrComparison(asm.LGT); return true; } if (methodName == VM_MagicNames.wordGE) { generateAddrComparison(asm.LGE); return true; } if (methodName == VM_MagicNames.wordEQ) { generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordNE) { generateAddrComparison(asm.NE); return true; } if (methodName == VM_MagicNames.wordIsZero) { asm.emitPUSH_Imm(0); generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordIsMax) { asm.emitPUSH_Imm(-1); generateAddrComparison(asm.EQ); return true; } return false; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/82b734510ac9600511c6996f7cd13904a6e62ef7/VM_Compiler.java/buggy/rvm/src/vm/arch/intel/compilers/baseline/VM_Compiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 1250, 3157, 19289, 261, 7397, 67, 1305, 2404, 312, 13, 288, 565, 8251, 67, 3641, 4918, 273, 312, 18, 17994, 5621, 565, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 11764, 13, 288, 1377, 368, 4395, 5571, 2566, 598, 12792, 1775, 1377, 368, 282, 1026, 1377, 368, 282, 1384, 1377, 368, 282, 1592, 3053, 1377, 368, 282, 20957, 1377, 368, 1135, 23265, 1969, 15, 3348, 65, 422, 1592, 3053, 13, 1377, 368, 309, 23265, 1969, 15, 3348, 65, 422, 1592, 3053, 13, 306, 1969, 15, 3348, 65, 519, 20957, 1377, 368, 261, 7624, 603, 3778, 353, 7960, 13, 1377, 20415, 18, 18356, 30374, 67, 1617, 261, 56, 21, 1769, 5411, 368, 20957, 1377, 20415, 18, 18356, 30374, 67, 1617, 261, 41, 2501, 1769, 6647, 368, 1592, 3053, 261, 41, 2501, 353, 10592, 1501, 358, 27727, 4566, 60, 39, 4960, 1377, 20415, 18, 18356, 30374, 67, 1617, 261, 55, 20, 1769, 5411, 368, 348, 20, 273, 1384, 1377, 20415, 18, 18356, 8355, 67, 1617, 67, 1617, 3866, 12, 55, 20, 16, 11405, 1769, 225, 368, 348, 20, 1011, 1026, 1377, 309, 261, 7397, 18, 3116, 1290, 5281, 6466, 5164, 13, 288, 202, 23522, 18, 18356, 5980, 58, 67, 1617, 3866, 67, 1617, 261, 55, 20, 16, 399, 21, 1769, 4202, 368, 8616, 279, 1707, 603, 640, 625, 16127, 280, 261, 14891, 486, 506, 7960, 578, 9411, 19, 92, 343, 75, 13, 202, 23522, 18, 18356, 5980, 58, 67, 1617, 3866, 67, 1170, 81, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 1250, 3157, 19289, 261, 7397, 67, 1305, 2404, 312, 13, 288, 565, 8251, 67, 3641, 4918, 273, 312, 18, 17994, 5621, 565, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 11764, 13, 288, 1377, 368, 4395, 5571, 2566, 598, 12792, 1775, 1377, 368, 282, 1026, 1377, 368, 282, 1384, 1377, 368, 282, 1592, 3053, 1377, 368, 282, 20957, 1377, 368, 1135, 23265, 1969, 15, 3348, 65, 422, 1592, 3053, 13, 1377, 368, 309, 23265, 1969, 15, 3348, 65, 422, 1592, 3053, 13, 306, 1969, 15, 3348, 65, 519, 20957, 1377, 368, 261, 7624, 603, 3778, 353, 7960, 13, 1377, 20415, 18, 18356, 30374, 67, 1617, 261, 56, 21, 1769, 5411, 368, 20957, 1377, 20415, 2 ]
warn("PMP Convention error: " + e.toString());
logger.debug("PMP Convention error: " + e.toString());
public void characterData (char ch[], int start, int length) { String s = toString(ch, start, length).trim(); System.out.println("Start PMP chardata (" + CurrentElement + ") :" + s); System.out.println(" ElTitle: " + elementTitle); if (CurrentElement == STRING && BUILTIN.equals("spacegroup")) { cdo.setObjectProperty("Crystal", "spacegroup", s); } else if (CurrentElement == FLOATARRAY && (elementTitle.equals("a") || elementTitle.equals("b") || elementTitle.equals("c"))) { String axis = elementTitle + "-axis"; cdo.startObject(axis); try { StringTokenizer st = new StringTokenizer(s); System.out.println("Tokens: " + st.countTokens()); if (st.countTokens() > 2) { String token = st.nextToken(); warn("FloatArray (Token): " + token); cdo.setObjectProperty(axis, "x", token); token = st.nextToken(); warn("FloatArray (Token): " + token); cdo.setObjectProperty(axis, "y", token); token = st.nextToken(); warn("FloatArray (Token): " + token); cdo.setObjectProperty(axis, "z", token); } else { warn("PMP Convention error: incorrect number of cell axis fractions!\n"); } } catch (Exception e) { warn("PMP Convention error: " + e.toString()); } cdo.endObject(axis); } else { super.characterData(ch, start, length); } System.out.println("End PMP chardata"); }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/e04a2bbd6afdac34488441c1ce22ad5f73d254ff/PMPConvention.java/clean/org/openscience/cdk/io/cml/PMPConvention.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3351, 751, 261, 3001, 462, 63, 6487, 509, 787, 16, 509, 769, 13, 288, 202, 780, 272, 273, 1762, 12, 343, 16, 787, 16, 769, 2934, 5290, 5621, 202, 3163, 18, 659, 18, 8222, 2932, 1685, 453, 4566, 1149, 892, 7566, 397, 6562, 1046, 397, 9369, 20514, 397, 272, 1769, 202, 3163, 18, 659, 18, 8222, 2932, 10426, 4247, 30, 315, 397, 930, 4247, 1769, 202, 430, 261, 3935, 1046, 422, 9469, 597, 10937, 2627, 56, 706, 18, 14963, 2932, 2981, 1655, 6, 3719, 288, 202, 565, 276, 2896, 18, 542, 921, 1396, 2932, 12893, 31365, 3113, 315, 2981, 1655, 3113, 272, 1769, 202, 97, 469, 309, 261, 3935, 1046, 422, 15483, 8552, 597, 1875, 282, 261, 2956, 4247, 18, 14963, 2932, 69, 7923, 747, 1082, 565, 930, 4247, 18, 14963, 2932, 70, 7923, 747, 1082, 565, 930, 4247, 18, 14963, 2932, 71, 6, 20349, 288, 202, 565, 514, 2654, 273, 930, 4247, 397, 3701, 4890, 14432, 202, 565, 276, 2896, 18, 1937, 921, 12, 4890, 1769, 202, 565, 775, 288, 202, 21114, 202, 780, 10524, 384, 273, 394, 16370, 12, 87, 1769, 202, 202, 3163, 18, 659, 18, 8222, 2932, 5157, 30, 315, 397, 384, 18, 1883, 5157, 10663, 202, 202, 430, 261, 334, 18, 1883, 5157, 1435, 405, 576, 13, 288, 1082, 565, 514, 1147, 273, 384, 18, 4285, 1345, 5621, 1082, 565, 1894, 2932, 4723, 1076, 261, 1345, 4672, 315, 397, 1147, 1769, 1082, 565, 276, 2896, 18, 542, 921, 1396, 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, 3351, 751, 261, 3001, 462, 63, 6487, 509, 787, 16, 509, 769, 13, 288, 202, 780, 272, 273, 1762, 12, 343, 16, 787, 16, 769, 2934, 5290, 5621, 202, 3163, 18, 659, 18, 8222, 2932, 1685, 453, 4566, 1149, 892, 7566, 397, 6562, 1046, 397, 9369, 20514, 397, 272, 1769, 202, 3163, 18, 659, 18, 8222, 2932, 10426, 4247, 30, 315, 397, 930, 4247, 1769, 202, 430, 261, 3935, 1046, 422, 9469, 597, 10937, 2627, 56, 706, 18, 14963, 2932, 2981, 1655, 6, 3719, 288, 202, 565, 276, 2896, 18, 542, 921, 1396, 2932, 12893, 31365, 3113, 315, 2981, 1655, 3113, 272, 1769, 202, 97, 469, 309, 261, 3935, 1046, 422, 15483, 8552, 597, 1875, 282, 2 ]
JOptionPane pane = new JOptionPane(message, messageType);
JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE);
public static String showInputDialog(Component parentComponent, Object message, String title, int messageType) { JOptionPane pane = new JOptionPane(message, messageType); pane.setWantsInput(true); JDialog dialog = pane.createDialog(parentComponent, title); dialog.pack(); dialog.show(); return (String) pane.getInputValue(); }
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/a0a040160e6587688c585243fc9558a7195ab5d7/JOptionPane.java/buggy/libjava/javax/swing/JOptionPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 514, 2405, 1210, 6353, 12, 1841, 982, 1841, 16, 4766, 4202, 1033, 883, 16, 514, 2077, 16, 4766, 4202, 509, 22402, 13, 225, 288, 565, 804, 1895, 8485, 13618, 273, 394, 804, 1895, 8485, 12, 2150, 16, 23328, 882, 1146, 67, 8723, 1769, 565, 13618, 18, 542, 59, 4388, 1210, 12, 3767, 1769, 565, 804, 6353, 6176, 273, 13618, 18, 2640, 6353, 12, 2938, 1841, 16, 2077, 1769, 565, 6176, 18, 2920, 5621, 565, 6176, 18, 4500, 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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, 282, 1071, 760, 514, 2405, 1210, 6353, 12, 1841, 982, 1841, 16, 4766, 4202, 1033, 883, 16, 514, 2077, 16, 4766, 4202, 509, 22402, 13, 225, 288, 565, 804, 1895, 8485, 13618, 273, 394, 804, 1895, 8485, 12, 2150, 16, 23328, 882, 1146, 67, 8723, 1769, 565, 13618, 18, 542, 59, 4388, 1210, 12, 3767, 1769, 565, 804, 6353, 6176, 273, 13618, 18, 2640, 6353, 12, 2938, 1841, 16, 2077, 1769, 565, 6176, 18, 2920, 5621, 565, 6176, 18, 4500, 5621, 565, 327, 261, 780, 13, 13618, 18, 588, 1210, 620, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.StrikeCurrency getStrikeCurrency() throws FieldNotFound { org.quickfix.field.StrikeCurrency value = new org.quickfix.field.StrikeCurrency();
public quickfix.field.StrikeCurrency getStrikeCurrency() throws FieldNotFound { quickfix.field.StrikeCurrency value = new quickfix.field.StrikeCurrency();
public org.quickfix.field.StrikeCurrency getStrikeCurrency() throws FieldNotFound { org.quickfix.field.StrikeCurrency value = new org.quickfix.field.StrikeCurrency(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderMassStatusRequest.java/clean/src/java/src/quickfix/fix44/OrderMassStatusRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 7623, 24017, 2547, 7623, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 7623, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 7623, 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, 1585, 2547, 7623, 24017, 2547, 7623, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 7623, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 7623, 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 ]
printCellContents(crosstab, header, grx, x, y, false, y == 0 && crosstab.getHeaderCell() == null);
printCellContents(header, grx, x, y, false, y == 0 && crosstab.getHeaderCell() == null);
private void printCrosstabRows(JRCrosstab crosstab, Graphics2D grx, int rowHeadersXOffset) { JRCrosstabRowGroup[] groups = crosstab.getRowGroups(); for (int i = 0, x = 0, y = 0; i < groups.length; i++) { JRCrosstabRowGroup group = groups[i]; if (group.getTotalPosition() == BucketDefinition.TOTAL_POSITION_START) { JRCellContents totalHeader = group.getTotalHeader(); printCellContents(crosstab, totalHeader, grx, x, y, false, y == 0 && crosstab.getHeaderCell() == null); printCrosstabDataCellsRow(crosstab, grx, rowHeadersXOffset, y, i); y += totalHeader.getHeight(); } JRCellContents header = group.getHeader(); printCellContents(crosstab, header, grx, x, y, false, y == 0 && crosstab.getHeaderCell() == null); if (i == groups.length - 1) { printCrosstabDataCellsRow(crosstab, grx, rowHeadersXOffset, y, groups.length); } if (group.getTotalPosition() == BucketDefinition.TOTAL_POSITION_END) { JRCellContents totalHeader = group.getTotalHeader(); printCellContents(crosstab, totalHeader, grx, x, y + header.getHeight(), false, false); printCrosstabDataCellsRow(crosstab, grx, rowHeadersXOffset, y + header.getHeight(), i); } x += group.getWidth(); } }
10789 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10789/199132b357dfd806a918766349632b1a08fa5ab7/JRDesignViewer.java/clean/jasperreports/src/net/sf/jasperreports/view/JRDesignViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1172, 39, 6973, 334, 378, 4300, 12, 46, 11529, 6973, 334, 378, 30783, 334, 378, 16, 16830, 22, 40, 3821, 92, 16, 509, 1027, 3121, 60, 2335, 13, 202, 95, 202, 202, 46, 11529, 6973, 334, 378, 1999, 1114, 8526, 3252, 273, 30783, 334, 378, 18, 588, 1999, 3621, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 16, 619, 273, 374, 16, 677, 273, 374, 31, 277, 411, 3252, 18, 2469, 31, 277, 27245, 202, 202, 95, 1082, 202, 46, 11529, 6973, 334, 378, 1999, 1114, 1041, 273, 3252, 63, 77, 15533, 25083, 202, 430, 261, 1655, 18, 588, 5269, 2555, 1435, 422, 7408, 1852, 18, 28624, 67, 15258, 67, 7570, 13, 1082, 202, 95, 9506, 202, 46, 54, 4020, 6323, 2078, 1864, 273, 1041, 18, 588, 5269, 1864, 5621, 9506, 202, 1188, 4020, 6323, 12, 71, 6973, 334, 378, 16, 2078, 1864, 16, 3821, 92, 16, 619, 16, 677, 16, 629, 16, 677, 422, 374, 597, 30783, 334, 378, 18, 588, 1864, 4020, 1435, 422, 446, 1769, 9506, 202, 1188, 39, 6973, 334, 378, 751, 10505, 1999, 12, 71, 6973, 334, 378, 16, 3821, 92, 16, 1027, 3121, 60, 2335, 16, 677, 16, 277, 1769, 9506, 202, 93, 1011, 2078, 1864, 18, 588, 2686, 5621, 1082, 202, 97, 25083, 202, 46, 54, 4020, 6323, 1446, 273, 1041, 18, 588, 1864, 5621, 1082, 202, 1188, 4020, 6323, 12, 71, 6973, 334, 378, 16, 1446, 16, 3821, 92, 16, 619, 16, 677, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1172, 39, 6973, 334, 378, 4300, 12, 46, 11529, 6973, 334, 378, 30783, 334, 378, 16, 16830, 22, 40, 3821, 92, 16, 509, 1027, 3121, 60, 2335, 13, 202, 95, 202, 202, 46, 11529, 6973, 334, 378, 1999, 1114, 8526, 3252, 273, 30783, 334, 378, 18, 588, 1999, 3621, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 16, 619, 273, 374, 16, 677, 273, 374, 31, 277, 411, 3252, 18, 2469, 31, 277, 27245, 202, 202, 95, 1082, 202, 46, 11529, 6973, 334, 378, 1999, 1114, 1041, 273, 3252, 63, 77, 15533, 25083, 202, 430, 261, 1655, 18, 588, 5269, 2555, 1435, 422, 7408, 1852, 18, 28624, 67, 15258, 67, 7570, 13, 1082, 202, 2 ]
if (event.getJob().getResult().equals(Status.OK_STATUS)) {
if (event.getJob().getResult().getCode() == Status.OK && event.getJob().getResult().getMessage() != null) {
public void submitBug() { if (isDirty()) { this.doSave(new NullProgressMonitor()); } updateBug(); submitButton.setEnabled(false); ExistingBugEditor.this.showBusy(true); BugzillaReportSubmitForm bugzillaReportSubmitForm; try { if (taskData.isLocallyCreated()) { boolean wrap = IBugzillaConstants.BugzillaServerVersion.SERVER_218.equals(repository.getVersion()); bugzillaReportSubmitForm = BugzillaReportSubmitForm.makeNewBugPost(repository.getUrl(), repository .getUserName(), repository.getPassword(), editorInput.getProxySettings(), repository .getCharacterEncoding(), taskData, wrap); } else { bugzillaReportSubmitForm = BugzillaReportSubmitForm.makeExistingBugPost(taskData, repository.getUrl(), repository.getUserName(), repository.getPassword(), editorInput.getProxySettings(), removeCC, repository.getCharacterEncoding()); } } catch (UnsupportedEncodingException e) { // should never get here but just in case... MessageDialog.openError(null, "Posting Error", "Ensure proper encoding selected in " + TaskRepositoriesView.NAME + "."); return; } final BugzillaRepositoryConnector bugzillaRepositoryClient = (BugzillaRepositoryConnector) MylarTaskListPlugin .getRepositoryManager().getRepositoryConnector(BugzillaPlugin.REPOSITORY_KIND); IJobChangeListener closeEditorListener = new IJobChangeListener() { public void done(final IJobChangeEvent event) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { if (event.getJob().getResult().equals(Status.OK_STATUS)) { close(); } else { submitButton.setEnabled(true); ExistingBugEditor.this.showBusy(false); } } }); } public void aboutToRun(IJobChangeEvent event) { // ignore } public void awake(IJobChangeEvent event) { // ignore } public void running(IJobChangeEvent event) { // ignore } public void scheduled(IJobChangeEvent event) { // ignore } public void sleeping(IJobChangeEvent event) { // ignore } }; bugzillaRepositoryClient.submitBugReport(taskData, bugzillaReportSubmitForm, closeEditorListener); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/1d2c54ecf6f4ebb7f907c065bf563708a0cddbb6/ExistingBugEditor.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/ExistingBugEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4879, 19865, 1435, 288, 202, 202, 430, 261, 291, 10785, 10756, 288, 1082, 202, 2211, 18, 2896, 4755, 12, 2704, 4112, 5491, 7187, 10663, 202, 202, 97, 202, 202, 2725, 19865, 5621, 202, 202, 9297, 3616, 18, 542, 1526, 12, 5743, 1769, 202, 202, 9895, 19865, 6946, 18, 2211, 18, 4500, 29289, 12, 3767, 1769, 202, 202, 19865, 15990, 4820, 11620, 1204, 7934, 15990, 4820, 11620, 1204, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 4146, 751, 18, 291, 1333, 1230, 6119, 10756, 288, 9506, 202, 6494, 2193, 273, 467, 19865, 15990, 2918, 18, 19865, 15990, 2081, 1444, 18, 4370, 67, 22, 2643, 18, 14963, 12, 9071, 18, 588, 1444, 10663, 9506, 202, 925, 15990, 4820, 11620, 1204, 273, 16907, 15990, 4820, 11620, 1204, 18, 6540, 1908, 19865, 3349, 12, 9071, 18, 588, 1489, 9334, 3352, 25083, 202, 18, 588, 15296, 9334, 3352, 18, 588, 3913, 9334, 4858, 1210, 18, 588, 3886, 2628, 9334, 3352, 25083, 202, 18, 588, 7069, 4705, 9334, 1562, 751, 16, 2193, 1769, 1082, 202, 97, 469, 288, 9506, 202, 925, 15990, 4820, 11620, 1204, 273, 16907, 15990, 4820, 11620, 1204, 18, 6540, 9895, 19865, 3349, 12, 4146, 751, 16, 3352, 18, 588, 1489, 9334, 25083, 202, 9071, 18, 588, 15296, 9334, 3352, 18, 588, 3913, 9334, 4858, 1210, 18, 588, 3886, 2628, 9334, 1206, 6743, 16, 25083, 202, 9071, 18, 588, 7069, 4705, 10663, 1082, 202, 97, 202, 202, 97, 1044, 261, 8544, 13836, 425, 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, 225, 202, 482, 918, 4879, 19865, 1435, 288, 202, 202, 430, 261, 291, 10785, 10756, 288, 1082, 202, 2211, 18, 2896, 4755, 12, 2704, 4112, 5491, 7187, 10663, 202, 202, 97, 202, 202, 2725, 19865, 5621, 202, 202, 9297, 3616, 18, 542, 1526, 12, 5743, 1769, 202, 202, 9895, 19865, 6946, 18, 2211, 18, 4500, 29289, 12, 3767, 1769, 202, 202, 19865, 15990, 4820, 11620, 1204, 7934, 15990, 4820, 11620, 1204, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 4146, 751, 18, 291, 1333, 1230, 6119, 10756, 288, 9506, 202, 6494, 2193, 273, 467, 19865, 15990, 2918, 18, 19865, 15990, 2081, 1444, 18, 4370, 67, 22, 2643, 18, 14963, 12, 9071, 18, 588, 1444, 10663, 9506, 202, 925, 2 ]
assertEquals("length getBytes", 2, result.length); assertEquals("first byte getBytes", 0x34, result[0]); assertEquals("second byte getBytes", 0x12, result[1]);
assertEquals( "length getBytes", 2, result.length ); assertEquals( "first byte getBytes", 0x34, result[ 0 ] ); assertEquals( "second byte getBytes", 0x12, result[ 1 ] );
public void testToBytes() { ZipShort zs = new ZipShort(0x1234); byte[] result = zs.getBytes(); assertEquals("length getBytes", 2, result.length); assertEquals("first byte getBytes", 0x34, result[0]); assertEquals("second byte getBytes", 0x12, result[1]); }
10884 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10884/8348e0b29d34f62b8f140a99598373fb0cbf7fcb/ZipShortTest.java/clean/src/test/java/org/codehaus/plexus/archiver/zip/ZipShortTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 21033, 1435, 288, 3639, 8603, 4897, 998, 87, 273, 394, 8603, 4897, 12, 20, 92, 28462, 1769, 3639, 1160, 8526, 563, 273, 998, 87, 18, 588, 2160, 5621, 3639, 1815, 8867, 2932, 2469, 8425, 3113, 576, 16, 563, 18, 2469, 1769, 3639, 1815, 8867, 2932, 3645, 1160, 8425, 3113, 374, 92, 5026, 16, 563, 63, 20, 19226, 3639, 1815, 8867, 2932, 8538, 1160, 8425, 3113, 374, 92, 2138, 16, 563, 63, 21, 19226, 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,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, 1815, 8867, 2932, 3645, 1160, 8425, 3113, 374, 92, 5026, 16, 563, 63, 20, 19226, 3639, 1815, 8867, 2932, 8538, 1160, 8425, 3113, 374, 92, 2138, 16, 563, 63, 21, 19226, 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 ]
public String getReadonlyExpr() { return (readonlyExpr); }
public String getReadonlyExpr() { return (readonlyExpr); }
public String getReadonlyExpr() { return (readonlyExpr); }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/db064e19656421b94aaf753550935d95f44bd5f9/ELTextareaTag.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELTextareaTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 514, 282, 19900, 3700, 4742, 1435, 288, 327, 261, 16365, 4742, 1769, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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742, 1435, 288, 327, 261, 16365, 4742, 1769, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Container getContainer();
Container getContainer();
public Container getContainer();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextContainerProxy.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextContainerProxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4039, 9272, 5621, 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,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 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4039, 9272, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
InsertHandler rh = new InsertHandler(m, id, node);
InsertHandler rh = new InsertHandler(m, id, node, now);
private boolean handleInsertRequest(Message m) { long id = m.getLong(DMT.UID); if(node.recentlyCompleted(id)) { Message rejected = DMT.createFNPRejectedLoop(id); try { ((PeerNode)(m.getSource())).sendAsync(rejected, null); } catch (NotConnectedException e) { Logger.normal(this, "Rejecting insert request: "+e); } } if(!node.lockUID(id)) { Logger.minor(this, "Could not lock ID "+id); return false; } InsertHandler rh = new InsertHandler(m, id, node); Thread t = new Thread(rh, "InsertHandler for "+id+" on "+node.portNumber); t.setDaemon(true); t.start(); Logger.minor(this, "Started InsertHandler for "+id); return true; }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/f82d43713da81d5da5e7d7bf206d70f81e40f4ea/NodeDispatcher.java/buggy/src/freenet/node/NodeDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 1640, 4600, 691, 12, 1079, 312, 13, 288, 3639, 1525, 612, 273, 312, 18, 588, 3708, 12, 40, 6152, 18, 3060, 1769, 3639, 309, 12, 2159, 18, 20872, 715, 9556, 12, 350, 3719, 288, 5411, 2350, 11876, 273, 463, 6152, 18, 2640, 19793, 52, 19902, 6452, 12, 350, 1769, 5411, 775, 288, 7734, 14015, 6813, 907, 21433, 81, 18, 588, 1830, 10756, 2934, 4661, 2771, 12, 266, 6059, 16, 446, 1769, 5411, 289, 1044, 261, 1248, 8932, 503, 425, 13, 288, 7734, 4242, 18, 6130, 12, 2211, 16, 315, 21705, 310, 2243, 590, 30, 13773, 73, 1769, 5411, 289, 3639, 289, 3639, 309, 12, 5, 2159, 18, 739, 3060, 12, 350, 3719, 288, 5411, 4242, 18, 17364, 12, 2211, 16, 315, 4445, 486, 2176, 1599, 13773, 350, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 8040, 1503, 6259, 273, 394, 8040, 1503, 12, 81, 16, 612, 16, 756, 16, 2037, 1769, 3639, 4884, 268, 273, 394, 4884, 12, 30138, 16, 315, 4600, 1503, 364, 13773, 350, 9078, 603, 13773, 2159, 18, 655, 1854, 1769, 3639, 268, 18, 542, 12858, 12, 3767, 1769, 3639, 268, 18, 1937, 5621, 3639, 4242, 18, 17364, 12, 2211, 16, 315, 9217, 8040, 1503, 364, 13773, 350, 1769, 3639, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 1640, 4600, 691, 12, 1079, 312, 13, 288, 3639, 1525, 612, 273, 312, 18, 588, 3708, 12, 40, 6152, 18, 3060, 1769, 3639, 309, 12, 2159, 18, 20872, 715, 9556, 12, 350, 3719, 288, 5411, 2350, 11876, 273, 463, 6152, 18, 2640, 19793, 52, 19902, 6452, 12, 350, 1769, 5411, 775, 288, 7734, 14015, 6813, 907, 21433, 81, 18, 588, 1830, 10756, 2934, 4661, 2771, 12, 266, 6059, 16, 446, 1769, 5411, 289, 1044, 261, 1248, 8932, 503, 425, 13, 288, 7734, 4242, 18, 6130, 12, 2211, 16, 315, 21705, 310, 2243, 590, 30, 13773, 73, 1769, 5411, 289, 3639, 289, 3639, 309, 12, 5, 2159, 18, 739, 3060, 12, 350, 3719, 288, 5411, 4242, 18, 2 ]