rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
&& !opt.matchesHideExpression(tags[i].text())) {
|
&& !opt.matchesHideExpression(tags[i].text())) {
|
public void print(Options iopt, ClassDoc c) { opt = (Options)iopt.clone(); // Process class-local options (through @opt tags) opt.setOptions(c); String cs = name(c); // Print generalization (through the Java superclass) ClassDoc s = c.superclass(); if (s != null && !s.toString().equals("java.lang.Object")) { if (!opt.matchesHideExpression(c.toString()) && !opt.matchesHideExpression(s.toString()) && !hidden(c) && !hidden(s)) { opt.w.println("\t//" + c + " extends " + s); opt.w.println("\t" + name(s) + " -> " + cs + " [dir=back,arrowtail=empty];"); } } // Print generalizations (through @extends tags) Tag tags[] = c.tags("extends"); for (int i = 0; i < tags.length; i++) { if (!opt.matchesHideExpression(c.toString()) && !opt.matchesHideExpression(tags[i].text())) { opt.w.println("\t//" + c + " extends " + tags[i].text()); opt.w.println("\t" + name(tags[i].text()) + " -> " + cs + " [dir=back,arrowtail=empty];"); } } // Print realizations (Java interfaces) ClassDoc ifs[] = c.interfaces(); for (int i = 0; i < ifs.length; i++) { if (!opt.matchesHideExpression(c.toString()) && !opt.matchesHideExpression(ifs[i].toString()) && !hidden(c) && !hidden(ifs[i])) { opt.w.print("\t" + name(ifs[i]) + " -> " + cs + " [dir=back,arrowtail=empty,style=dashed];"); opt.w.println("\t//" + c + " implements " + ifs[i]); } } // Print other associations relation("assoc", c, cs, "arrowhead=none"); relation("navassoc", c, cs, "arrowhead=open"); relation("has", c, cs, "arrowhead=none, arrowtail=ediamond"); relation("composed", c, cs, "arrowhead=none, arrowtail=diamond"); relation("depend", c, cs, "arrowhead=open, style=dashed"); }
|
47201 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47201/01b5ee673e70f9ae7ebf822a9eb42a9566990d57/UmlGraph.java/buggy/src/gr/spinellis/umlgraph/doclet/UmlGraph.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1172,
12,
1320,
2527,
337,
16,
27785,
276,
13,
288,
202,
202,
3838,
273,
261,
1320,
13,
1594,
337,
18,
14056,
5621,
202,
202,
759,
4389,
667,
17,
3729,
702,
261,
10064,
632,
3838,
2342,
13,
202,
202,
3838,
18,
542,
1320,
12,
71,
1769,
202,
202,
780,
2873,
273,
508,
12,
71,
1769,
202,
202,
759,
3038,
7470,
1588,
261,
10064,
326,
5110,
12098,
13,
202,
202,
797,
1759,
272,
273,
276,
18,
9565,
1106,
5621,
202,
202,
430,
261,
87,
480,
446,
597,
401,
87,
18,
10492,
7675,
14963,
2932,
6290,
18,
4936,
18,
921,
6,
3719,
202,
202,
95,
1082,
202,
430,
16051,
3838,
18,
8436,
15690,
2300,
12,
71,
18,
10492,
10756,
9506,
202,
10,
10,
401,
3838,
18,
8436,
15690,
2300,
12,
87,
18,
10492,
10756,
9506,
202,
10,
10,
401,
6345,
12,
71,
13,
597,
401,
6345,
12,
87,
3719,
1082,
202,
95,
9506,
202,
3838,
18,
91,
18,
8222,
31458,
88,
759,
6,
397,
276,
397,
315,
3231,
315,
397,
272,
1769,
9506,
202,
3838,
18,
91,
18,
8222,
31458,
88,
6,
397,
508,
12,
87,
13,
397,
315,
317,
315,
397,
2873,
397,
315,
306,
1214,
33,
823,
16,
7815,
13101,
33,
5531,
65,
4868,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
759,
3038,
7470,
7089,
261,
10064,
632,
13020,
2342,
13,
202,
202,
1805,
2342,
8526,
273,
276,
18,
4156,
2932,
13020,
8863,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1172,
12,
1320,
2527,
337,
16,
27785,
276,
13,
288,
202,
202,
3838,
273,
261,
1320,
13,
1594,
337,
18,
14056,
5621,
202,
202,
759,
4389,
667,
17,
3729,
702,
261,
10064,
632,
3838,
2342,
13,
202,
202,
3838,
18,
542,
1320,
12,
71,
1769,
202,
202,
780,
2873,
273,
508,
12,
71,
1769,
202,
202,
759,
3038,
7470,
1588,
261,
10064,
326,
5110,
12098,
13,
202,
202,
797,
1759,
272,
273,
276,
18,
9565,
1106,
5621,
202,
202,
430,
261,
87,
480,
446,
597,
401,
87,
18,
10492,
7675,
14963,
2932,
6290,
18,
4936,
18,
921,
6,
3719,
202,
202,
95,
1082,
202,
430,
16051,
3838,
18,
8436,
15690,
2300,
12,
71,
18,
10492,
2
] |
localAst.newExpressionStatement(result);
|
targetAst.newExpressionStatement(result);
|
public ASTNode sample(AST localAst, boolean parented) { Expression result = localAst.newSimpleName("foo"); //$NON-NLS-1$ if (parented) { localAst.newExpressionStatement(result); } return result; }
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/f7bc2ee5d62baf64b6f044f322b40cdaa75e5dcc/ASTTest.java/clean/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/ASTTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
9183,
907,
3296,
12,
9053,
1191,
21385,
16,
1250,
982,
329,
13,
288,
9506,
202,
2300,
563,
273,
1191,
21385,
18,
2704,
5784,
461,
2932,
11351,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
430,
261,
2938,
329,
13,
288,
6862,
202,
3729,
21385,
18,
2704,
2300,
3406,
12,
2088,
1769,
9506,
202,
97,
9506,
202,
2463,
563,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
9183,
907,
3296,
12,
9053,
1191,
21385,
16,
1250,
982,
329,
13,
288,
9506,
202,
2300,
563,
273,
1191,
21385,
18,
2704,
5784,
461,
2932,
11351,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
430,
261,
2938,
329,
13,
288,
6862,
202,
3729,
21385,
18,
2704,
2300,
3406,
12,
2088,
1769,
9506,
202,
97,
9506,
202,
2463,
563,
31,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
buildPccText(pccTxt, getFeatList().iterator(), ":", "\tFEAT:", lineSep);
|
if (featList != null) { for (LevelProperty<String> lp : featList) { pccTxt.append(lineSep).append(lp.getLevel()); pccTxt.append("\tFEATAUTO:").append(lp.getObject()); } }
|
public String getPCCText() { final StringBuffer pccTxt = new StringBuffer(200); pccTxt.append("CLASS:").append(getDisplayName()); pccTxt.append(super.getPCCText(false)); pccTxt.append("\tABB:").append(getAbbrev()); checkAdd(pccTxt, "", "EXCLASS:", exClass); checkAdd(pccTxt, "", "EXCHANGELEVEL:", levelExchange); if (hasSubClass) { pccTxt.append("\tHASSUBCLASS:Y"); } if (hasSubstitutionClass) { pccTxt.append("\tHASSUBSTITUTIONLEVEL:Y"); } pccTxt.append("\tHD:").append(hitDie); checkAdd(pccTxt, "ANY", "DEITY:", CoreUtility.join(deityList, '|')); checkAdd(pccTxt, "", "ATTACKCYCLE", attackCycle); checkAdd(pccTxt, "", "CASTAS:", castAs); if (prohibitedSchools != null) { pccTxt.append('\t').append("PROHIBITED:"); pccTxt.append(CollectionUtilities.joinStringRepresentations(prohibitedSchools, ",")); } checkAdd(pccTxt, Constants.s_NONE, "SPELLSTAT:", spellBaseStat); checkAdd(pccTxt, Constants.s_NONE, "SPELLTYPE:", spellType); if (usesSpellbook) { pccTxt.append("\tSPELLBOOK:Y"); } // if (skillPoints != 0) // { // pccTxt.append("\tSTARTSKILLPTS:").append(skillPoints); // } if (skillPointFormula.length() != 0) { pccTxt.append("\tSTARTSKILLPTS:").append(skillPointFormula); } if (!visible) { pccTxt.append("\tVISIBLE:N"); } if (initialFeats != 0) { pccTxt.append("\tXTRAFEATS:").append(initialFeats); } if (levelsPerFeat != null) { pccTxt.append("\tLEVELSPERFEAT:").append(levelsPerFeat.intValue()); } if (maxLevel != 20) { pccTxt.append("\tMAXLEVEL:").append(maxLevel); } if (!memorizeSpells) { pccTxt.append("\tMEMORIZE:N"); } if (multiPreReqs) { pccTxt.append("\tMULTIPREREQS:Y"); } if (!getKnownSpellsList().isEmpty()) { pccTxt.append("\tKNOWNSPELLS:"); boolean flag = false; for (String spell : knownSpellsList) { if (flag) { pccTxt.append(Constants.PIPE); } flag = true; pccTxt.append(spell); } } if (itemCreationMultiplier.length() != 0) { pccTxt.append("\tITEMCREATE:").append(itemCreationMultiplier); } if (classSpellChoices != null) { checkAdd(pccTxt, "", "SPELLLIST:", classSpellChoices.toString()); } checkAdd(pccTxt, "", "SPECIALS:", specialsString); if (classSkillChoices != null) { checkAdd(pccTxt, "", "SKILLLIST:", classSkillChoices.toString()); } if (getWeaponProfBonus().size() != 0) { pccTxt.append("\tWEAPONBONUS:"); boolean first = true; for (final String prof : getWeaponProfBonus()) { if (first != true) { pccTxt.append(Constants.PIPE); } pccTxt.append(prof); first = false; } } // now all the level-based stuff final String lineSep = System.getProperty("line.separator"); String regionString = getRegionString(); if ((regionString != null) && !regionString.startsWith("0|")) { final int x = regionString.indexOf('|'); pccTxt.append(lineSep).append(regionString.substring(0, x)).append( "\tREGION:").append(regionString.substring(x + 1)); } // if (kitString != null && !kitString.startsWith("0|")) // { // int x = kitString.indexOf('|'); // pccTxt.append(lineSep + kitString.substring(0, // x)).append("\tKIT:").append(kitString.substring(x + 1)); // } List<String> kits = getSafeListFor(ListKey.KITS); for (int iKit = 0; iKit < kits.size(); ++iKit) { final String kitString = kits.get(iKit); final int x = kitString.indexOf('|'); if (x >= 0) { pccTxt.append(lineSep + kitString.substring(0, x)).append( "\tKIT:").append(kitString.substring(x + 1)); } } for (final String known : getSpecialtyKnownList()) { pccTxt.append("\tSPECIALTYKNOWN:").append(known); } pccTxt.append(lineSep); if (castMap != null) { for (int x = 0; x < castMap.size(); ++x) { if (castMap.containsKey(x)) { final String c = castMap.get(x); final String l = lineSep + String.valueOf(x) + "\tCAST:"; checkAdd(pccTxt, "0", l, c); } } } for (int x = 0; x < getKnownList().size(); ++x) { final String c = knownList.get(x); final String l = lineSep + String.valueOf(x + 1) + "\tKNOWN:"; checkAdd(pccTxt, "0", l, c); } // Output the level based DR only for (DamageReduction reduction : getDRList()) { for (Prerequisite prereq : reduction.getPreReqList()) { if (DamageReduction.isPrereqForClassLevel(prereq, getKeyName())) { pccTxt.append(lineSep).append(prereq.getOperand()).append( "\t").append(reduction.getPCCText(false)); } } } if (SR != null) { for (LevelProperty<String> lp : SR) { pccTxt.append(lineSep).append(lp.getLevel()).append("\tSR:") .append(lp.getObject()); } } // Output the list of spells associated with the class. for (int i = 0; i <= maxLevel; i++) { final List<PCSpell> spellList = getSpellSupport() .getSpellListForLevel(i); if (spellList != null) { for (PCSpell spell : spellList) { pccTxt.append(lineSep).append(i).append("\tSPELLS:") .append(spell.getPCCText()); } } } if (templates != null) { for (final LevelProperty<String> lp : templates) { pccTxt.append(lineSep).append(lp.getLevel()); pccTxt.append("\tTEMPLATE:").append(lp.getObject()); } } for (int x = 0; x < getBonusList().size(); ++x) { final BonusObj aBonus = getBonusList().get(x); String bonusString = aBonus.toString(); final int levelEnd = bonusString.indexOf('|'); final String maybeLevel = bonusString.substring(0, levelEnd); pccTxt.append(lineSep); if (CoreUtility.isIntegerString(maybeLevel)) { pccTxt.append(maybeLevel); bonusString = bonusString.substring(levelEnd + 1); } else { pccTxt.append("0"); } pccTxt.append("\tBONUS:").append(bonusString); } for (int x = 0; x < getVariableCount(); ++x) { final String c = getVariableDefinition(x); final int y = c.indexOf('|'); pccTxt.append(lineSep).append(c.substring(0, y)) .append("\tDEFINE:").append(c.substring(y + 1)); } List<LevelAbility> levelAbilityList = getLevelAbilityList(); if ((levelAbilityList != null) && !levelAbilityList.isEmpty()) { for (LevelAbility ability : levelAbilityList) { pccTxt.append(lineSep).append(String.valueOf(ability.level())) .append("\tADD:").append(ability.getTagData()); } } final List<SpecialAbility> specialAbilityList = getListFor(ListKey.SPECIAL_ABILITY); if ((specialAbilityList != null) && (specialAbilityList.size() != 0)) { for (SpecialAbility sa : specialAbilityList) { final String src = sa.getSASource(); final String lev = src.substring(src.lastIndexOf('|') + 1); pccTxt.append(lineSep).append(lev).append("\tSA:").append( sa.toString()); } } if (addDomains != null) { for (LevelProperty<Domain> domainLP : addDomains) { pccTxt.append(lineSep).append(domainLP.getLevel()); pccTxt.append("\tADDDOMAINS:").append( domainLP.getObject().getKeyName()); } } if (domainList != null) { for (LevelProperty<Domain> domainLP : domainList) { pccTxt.append(lineSep).append(domainLP.getLevel()); pccTxt.append("\tDOMAIN:").append( domainLP.getObject().getKeyName()); } } buildPccText(pccTxt, getFeatList().iterator(), ":", "\tFEAT:", lineSep); // TODO - Add ABILITY tokens. if (featAutos != null) { for (LevelProperty<String> autoFeat : featAutos) { pccTxt.append(lineSep).append(autoFeat.getLevel()); pccTxt.append("\tFEATAUTO:").append(autoFeat.getObject()); } } // TODO - This should be removed. if ((uattList != null) && (uattList.size() != 0)) { for (int x = 0; x < uattList.size(); ++x) { pccTxt.append(lineSep).append(String.valueOf(x + 1)).append( "\tUATT:").append(uattList.get(x)); } } List<String> udamList = getListFor(ListKey.UDAM); if ((udamList != null) && (udamList.size() != 0)) { for (int x = 0; x < udamList.size(); ++x) { pccTxt.append(lineSep).append(String.valueOf(x + 1)).append( "\tUDAM:").append(udamList.get(x)); } } List<String> umultList = getListFor(ListKey.UMULT); if ((umultList != null) && (umultList.size() != 0)) { buildPccText(pccTxt, umultList.iterator(), "|", "\tUMULT:", lineSep); } return pccTxt.toString(); }
|
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/9c2e3c65216fee1104af94c2b3b9e864377d1f91/PCClass.java/clean/code/src/java/pcgen/core/PCClass.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1689,
39,
1268,
408,
1435,
288,
202,
202,
6385,
6674,
293,
952,
21811,
273,
394,
6674,
12,
6976,
1769,
202,
202,
84,
952,
21811,
18,
6923,
2932,
5237,
2773,
2934,
6923,
12,
588,
20524,
10663,
202,
202,
84,
952,
21811,
18,
6923,
12,
9565,
18,
588,
3513,
1268,
408,
12,
5743,
10019,
202,
202,
84,
952,
21811,
18,
6923,
31458,
88,
2090,
38,
2773,
2934,
6923,
12,
588,
5895,
27216,
10663,
202,
202,
1893,
986,
12,
84,
952,
21811,
16,
23453,
315,
2294,
5237,
2773,
16,
431,
797,
1769,
202,
202,
1893,
986,
12,
84,
952,
21811,
16,
23453,
315,
2294,
14473,
10398,
2773,
16,
1801,
11688,
1769,
202,
202,
430,
261,
5332,
1676,
797,
13,
288,
1082,
202,
84,
952,
21811,
18,
6923,
31458,
88,
44,
8423,
3457,
5237,
30,
61,
8863,
202,
202,
97,
202,
202,
430,
261,
5332,
23798,
797,
13,
202,
202,
95,
1082,
202,
84,
952,
21811,
18,
6923,
31458,
88,
44,
8423,
3457,
882,
1285,
13269,
10398,
30,
61,
8863,
202,
202,
97,
202,
202,
84,
952,
21811,
18,
6923,
31458,
88,
44,
40,
2773,
2934,
6923,
12,
15989,
23196,
1769,
202,
202,
1893,
986,
12,
84,
952,
21811,
16,
315,
15409,
3113,
315,
1639,
4107,
2773,
16,
4586,
6497,
18,
5701,
12,
323,
560,
682,
16,
6699,
6134,
1769,
202,
202,
1893,
986,
12,
84,
952,
21811,
16,
23453,
315,
789,
56,
3649,
16068,
23181,
3113,
13843,
13279,
1769,
202,
202,
1893,
986,
12,
84,
952,
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,
514,
1689,
39,
1268,
408,
1435,
288,
202,
202,
6385,
6674,
293,
952,
21811,
273,
394,
6674,
12,
6976,
1769,
202,
202,
84,
952,
21811,
18,
6923,
2932,
5237,
2773,
2934,
6923,
12,
588,
20524,
10663,
202,
202,
84,
952,
21811,
18,
6923,
12,
9565,
18,
588,
3513,
1268,
408,
12,
5743,
10019,
202,
202,
84,
952,
21811,
18,
6923,
31458,
88,
2090,
38,
2773,
2934,
6923,
12,
588,
5895,
27216,
10663,
202,
202,
1893,
986,
12,
84,
952,
21811,
16,
23453,
315,
2294,
5237,
2773,
16,
431,
797,
1769,
202,
202,
1893,
986,
12,
84,
952,
21811,
16,
23453,
315,
2294,
14473,
10398,
2773,
16,
1801,
11688,
1769,
202,
202,
430,
261,
5332,
1676,
797,
2
] |
results.put("processAmount", new Double((String)ar.getResponseField(AuthorizeResponse.AMOUNT)));
|
results.put("processAmount", new Double(ar.getResponseField(AuthorizeResponse.AMOUNT)));
|
private static void processAuthTransResult(Map reply, Map results) { String version = getVersion(); AuthorizeResponse ar = (AuthorizeResponse)reply.get("authorizeResponse"); Boolean authResult = (Boolean)reply.get("authResult"); results.put("authResult", new Boolean(authResult.booleanValue())); results.put("authFlag",ar.getReasonCode()); results.put("authMessage",ar.getReasonText()); if(authResult.booleanValue()) { //passed results.put("authCode", ar.getResponseField(AuthorizeResponse.AUTHORIZATION_CODE)); results.put("authRefNum", ar.getResponseField(AuthorizeResponse.TRANSACTION_ID)); results.put("cvCode", ar.getResponseField(AuthorizeResponse.CID_RESPONSE_CODE)); results.put("avsCode", ar.getResponseField(AuthorizeResponse.AVS_RESULT_CODE)); results.put("processAmount", new Double((String)ar.getResponseField(AuthorizeResponse.AMOUNT))); } else { results.put("authCode", ar.getResponseCode()); results.put("processAmount", new Double("0.00")); results.put("authRefNum", AuthorizeResponse.ERROR); } Debug.logInfo("processAuthTransResult: " + results.toString(),module); }
|
45953 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45953/55bcc8af8f0d7045d61027d64770bc0a1f5b089f/AIMPaymentServices.java/clean/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1207,
1730,
1429,
1253,
12,
863,
4332,
16,
1635,
1686,
13,
288,
3639,
514,
1177,
273,
8343,
5621,
3639,
23859,
1064,
419,
273,
261,
18987,
1064,
13,
10629,
18,
588,
2932,
22488,
1064,
8863,
3639,
3411,
1357,
1253,
273,
261,
5507,
13,
10629,
18,
588,
2932,
1944,
1253,
8863,
3639,
1686,
18,
458,
2932,
1944,
1253,
3113,
394,
3411,
12,
1944,
1253,
18,
6494,
620,
1435,
10019,
3639,
1686,
18,
458,
2932,
1944,
4678,
3113,
297,
18,
588,
8385,
1085,
10663,
3639,
1686,
18,
458,
2932,
1944,
1079,
3113,
297,
18,
588,
8385,
1528,
10663,
3639,
309,
12,
1944,
1253,
18,
6494,
620,
10756,
288,
368,
23603,
5411,
1686,
18,
458,
2932,
1944,
1085,
3113,
419,
18,
588,
1064,
974,
12,
18987,
1064,
18,
17866,
2689,
67,
5572,
10019,
5411,
1686,
18,
458,
2932,
1944,
1957,
2578,
3113,
419,
18,
588,
1064,
974,
12,
18987,
1064,
18,
22364,
67,
734,
10019,
5411,
1686,
18,
458,
2932,
19774,
1085,
3113,
419,
18,
588,
1064,
974,
12,
18987,
1064,
18,
25992,
67,
14508,
67,
5572,
10019,
5411,
1686,
18,
458,
2932,
842,
87,
1085,
3113,
419,
18,
588,
1064,
974,
12,
18987,
1064,
18,
5856,
55,
67,
12289,
67,
5572,
10019,
5411,
1686,
18,
458,
2932,
2567,
6275,
3113,
394,
3698,
12,
297,
18,
588,
1064,
974,
12,
18987,
1064,
18,
2192,
51,
5321,
3719,
1769,
3639,
289,
469,
288,
5411,
1686,
18,
458,
2932,
1944,
1085,
3113,
419,
18,
588,
1064,
1085,
10663,
5411,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1207,
1730,
1429,
1253,
12,
863,
4332,
16,
1635,
1686,
13,
288,
3639,
514,
1177,
273,
8343,
5621,
3639,
23859,
1064,
419,
273,
261,
18987,
1064,
13,
10629,
18,
588,
2932,
22488,
1064,
8863,
3639,
3411,
1357,
1253,
273,
261,
5507,
13,
10629,
18,
588,
2932,
1944,
1253,
8863,
3639,
1686,
18,
458,
2932,
1944,
1253,
3113,
394,
3411,
12,
1944,
1253,
18,
6494,
620,
1435,
10019,
3639,
1686,
18,
458,
2932,
1944,
4678,
3113,
297,
18,
588,
8385,
1085,
10663,
3639,
1686,
18,
458,
2932,
1944,
1079,
3113,
297,
18,
588,
8385,
1528,
10663,
3639,
309,
12,
1944,
1253,
18,
6494,
620,
10756,
288,
368,
23603,
5411,
1686,
18,
458,
2932,
1944,
1085,
3113,
2
] |
public void execute( Assembly assembly, Archiver archiver, AssemblerConfigurationSource configSource ) throws ArchiveCreationException, AssemblyFormattingException { List moduleSets = assembly.getModuleSets(); boolean includeBaseDirectory = assembly.isIncludeBaseDirectory(); for ( Iterator i = moduleSets.iterator(); i.hasNext(); ) { ModuleSet moduleSet = ( ModuleSet ) i.next(); Set moduleProjects = getModuleProjects( moduleSet, configSource ); ModuleSources sources = moduleSet.getSources(); ModuleBinaries binaries = moduleSet.getBinaries(); if ( sources == null && binaries == null ) { getLogger().warn( "Encountered ModuleSet with no sources or binaries specified. Skipping." ); continue; } addModuleSourceFileSets( moduleSet.getSources(), moduleProjects, archiver, configSource, includeBaseDirectory ); addModuleBinaries( moduleSet.getBinaries(), moduleProjects, archiver, configSource, includeBaseDirectory ); } }
|
7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/fcbf2d7e6b0034bb441e500278f97310e9a04dc8/ModuleSetAssemblyPhase.java/clean/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/archive/phase/ModuleSetAssemblyPhase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
12,
2970,
11534,
19931,
16,
16959,
1667,
6637,
1667,
16,
2970,
5747,
749,
1750,
1830,
642,
1830,
262,
3639,
1216,
13124,
9906,
503,
16,
2970,
11534,
23974,
503,
565,
288,
3639,
987,
1605,
2785,
273,
19931,
18,
588,
3120,
2785,
5621,
3639,
1250,
2341,
2171,
2853,
273,
19931,
18,
291,
8752,
2171,
2853,
5621,
3639,
364,
261,
4498,
277,
273,
1605,
2785,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
3639,
288,
5411,
5924,
694,
1605,
694,
273,
261,
5924,
694,
262,
277,
18,
4285,
5621,
5411,
1000,
1605,
15298,
273,
11251,
15298,
12,
1605,
694,
16,
642,
1830,
11272,
13491,
5924,
8628,
5550,
273,
1605,
694,
18,
588,
8628,
5621,
5411,
5924,
9913,
5646,
4158,
5646,
273,
1605,
694,
18,
588,
9913,
5646,
5621,
13491,
309,
261,
5550,
422,
446,
597,
4158,
5646,
422,
446,
262,
5411,
288,
7734,
7156,
7675,
8935,
12,
315,
4280,
29625,
5924,
694,
598,
1158,
5550,
578,
4158,
5646,
1269,
18,
27455,
1199,
11272,
7734,
1324,
31,
5411,
289,
5411,
527,
3120,
31150,
2785,
12,
1605,
694,
18,
588,
8628,
9334,
1605,
15298,
16,
6637,
1667,
16,
642,
1830,
16,
19694,
2341,
2171,
2853,
11272,
5411,
527,
3120,
9913,
5646,
12,
1605,
694,
18,
588,
9913,
5646,
9334,
1605,
15298,
16,
6637,
1667,
16,
642,
1830,
16,
2341,
2171,
2853,
11272,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
12,
2970,
11534,
19931,
16,
16959,
1667,
6637,
1667,
16,
2970,
5747,
749,
1750,
1830,
642,
1830,
262,
3639,
1216,
13124,
9906,
503,
16,
2970,
11534,
23974,
503,
565,
288,
3639,
987,
1605,
2785,
273,
19931,
18,
588,
3120,
2785,
5621,
3639,
1250,
2341,
2171,
2853,
273,
19931,
18,
291,
8752,
2171,
2853,
5621,
3639,
364,
261,
4498,
277,
273,
1605,
2785,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
3639,
288,
5411,
5924,
694,
1605,
694,
273,
261,
5924,
694,
262,
277,
18,
4285,
5621,
5411,
1000,
1605,
15298,
273,
11251,
15298,
12,
1605,
694,
16,
642,
1830,
11272,
13491,
5924,
8628,
5550,
273,
1605,
694,
18,
588,
8628,
5621,
5411,
5924,
9913,
2
] |
||
this.value=s;
|
this.valueString=s;
|
public void setValue( String s ) { this.value=s; }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/0124baebe268d181280e0777008d644f32dbdf6c/JXPathSet.java/clean/proposal/embed/src/java/org/apache/tools/ant/taskdefs/optional/JXPathSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5524,
12,
514,
272,
262,
288,
3639,
333,
18,
1132,
780,
33,
87,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5524,
12,
514,
272,
262,
288,
3639,
333,
18,
1132,
780,
33,
87,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
e.printStackTrace(); fail("There is a problem that is preventing the tests to continue!");
|
fail("" + e.getMessage());
|
private void runMyTest(String whichTest, String locale){ pageContext.setAttribute(Globals.LOCALE_KEY, new Locale(locale, locale), PageContext.SESSION_SCOPE); request.setAttribute("runTest", whichTest); try { pageContext.forward("/test/org/apache/struts/taglib/html/TestCancelTag1.jsp"); } catch (Exception e) { e.printStackTrace(); fail("There is a problem that is preventing the tests to continue!"); } }
|
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/41f313c7dd7ac74b5445118d14aee50b24296729/TestCancelTag1.java/clean/src/test/org/apache/struts/taglib/html/TestCancelTag1.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1086,
12062,
4709,
12,
780,
1492,
4709,
16,
514,
2573,
15329,
377,
202,
2433,
1042,
18,
542,
1499,
12,
19834,
18,
25368,
67,
3297,
16,
394,
6458,
12,
6339,
16,
2573,
3631,
3460,
1042,
18,
7042,
67,
19444,
1769,
202,
202,
2293,
18,
542,
1499,
2932,
2681,
4709,
3113,
1492,
4709,
1769,
3639,
775,
288,
1082,
202,
2433,
1042,
18,
11565,
2932,
19,
3813,
19,
3341,
19,
19211,
19,
701,
12940,
19,
2692,
2941,
19,
2620,
19,
4709,
6691,
1805,
21,
18,
24926,
8863,
202,
202,
97,
202,
202,
14683,
261,
503,
425,
13,
288,
1082,
202,
73,
18,
1188,
6332,
5621,
1082,
202,
6870,
2932,
9828,
353,
279,
6199,
716,
353,
5309,
310,
326,
7434,
358,
1324,
4442,
1769,
202,
202,
97,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1086,
12062,
4709,
12,
780,
1492,
4709,
16,
514,
2573,
15329,
377,
202,
2433,
1042,
18,
542,
1499,
12,
19834,
18,
25368,
67,
3297,
16,
394,
6458,
12,
6339,
16,
2573,
3631,
3460,
1042,
18,
7042,
67,
19444,
1769,
202,
202,
2293,
18,
542,
1499,
2932,
2681,
4709,
3113,
1492,
4709,
1769,
3639,
775,
288,
1082,
202,
2433,
1042,
18,
11565,
2932,
19,
3813,
19,
3341,
19,
19211,
19,
701,
12940,
19,
2692,
2941,
19,
2620,
19,
4709,
6691,
1805,
21,
18,
24926,
8863,
202,
202,
97,
202,
202,
14683,
261,
503,
425,
13,
288,
1082,
202,
73,
18,
1188,
6332,
5621,
1082,
202,
6870,
2932,
9828,
353,
279,
6199,
716,
353,
5309,
310,
326,
7434,
2
] |
if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); }
|
if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); }
|
public RubyObject m_protected(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_PROTECTED); } else { setMethodVisibility(args, Constants.NOEX_PROTECTED); } return this; }
|
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
312,
67,
1117,
12,
54,
10340,
921,
8526,
833,
13,
288,
202,
202,
430,
261,
588,
54,
10340,
7675,
588,
4368,
2355,
1435,
1545,
1059,
597,
401,
291,
29048,
10756,
288,
1082,
202,
12849,
394,
19817,
24918,
12,
9506,
202,
588,
54,
10340,
9334,
9506,
202,
6,
382,
8869,
30,
848,
1404,
2549,
707,
9478,
8863,
202,
202,
97,
202,
202,
430,
261,
1968,
18,
2469,
422,
374,
13,
288,
1082,
202,
588,
54,
10340,
7675,
542,
2459,
1305,
3876,
12,
2918,
18,
19444,
67,
3373,
26729,
1769,
202,
202,
97,
469,
288,
1082,
202,
542,
1305,
10135,
12,
1968,
16,
5245,
18,
3417,
2294,
67,
3373,
26729,
1769,
202,
202,
97,
202,
202,
2463,
333,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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117,
12,
54,
10340,
921,
8526,
833,
13,
288,
202,
202,
430,
261,
588,
54,
10340,
7675,
588,
4368,
2355,
1435,
1545,
1059,
597,
401,
291,
29048,
10756,
288,
1082,
202,
12849,
394,
19817,
24918,
12,
9506,
202,
588,
54,
10340,
9334,
9506,
202,
6,
382,
8869,
30,
848,
1404,
2549,
707,
9478,
8863,
202,
202,
97,
202,
202,
430,
261,
1968,
18,
2469,
422,
374,
13,
288,
1082,
202,
588,
54,
10340,
7675,
542,
2459,
1305,
3876,
12,
2918,
18,
19444,
67,
3373,
26729,
1769,
202,
202,
97,
469,
288,
1082,
202,
542,
1305,
10135,
12,
1968,
16,
5245,
18,
3417,
2294,
67,
3373,
26729,
1769,
202,
202,
97,
202,
202,
2
] |
throw org.postgresql.Driver.notImplemented();
|
notUpdateable();
|
public void deleteRow() throws SQLException { throw org.postgresql.Driver.notImplemented(); }
|
52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/45b5d792afa60ae24d57cdceaaec0e03cf6abb2a/ResultSet.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1430,
1999,
1435,
1216,
6483,
565,
288,
202,
486,
1891,
429,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1430,
1999,
1435,
1216,
6483,
565,
288,
202,
486,
1891,
429,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} else {
|
public void start() throws InserterException { for(int i=0;i<dataBlockInserters.length;i++) { dataBlockInserters[i] = new SingleBlockInserter(parent.parent, dataBlocks[i], (short)-1, FreenetURI.EMPTY_CHK_URI, blockInsertContext, this, false, CHKBlock.DATA_LENGTH, i, getCHKOnly, false, false, parent.token); dataBlockInserters[i].schedule(); } if(splitfileAlgo == null) { // Don't need to encode blocks } else { // Encode blocks Thread t = new Thread(new EncodeBlocksRunnable(), "Blocks encoder"); t.setDaemon(true); t.start(); } }
|
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/a6a9cc01004d94d4bdefc0b76c0bdb1962187369/SplitFileInserterSegment.java/buggy/src/freenet/client/async/SplitFileInserterSegment.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
1435,
1216,
657,
550,
387,
503,
288,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
77,
32,
892,
1768,
382,
550,
5432,
18,
2469,
31,
77,
27245,
288,
1082,
202,
892,
1768,
382,
550,
5432,
63,
77,
65,
273,
4697,
202,
2704,
10326,
1768,
382,
550,
387,
12,
2938,
18,
2938,
16,
501,
6450,
63,
77,
6487,
261,
6620,
24950,
21,
16,
478,
2842,
278,
3098,
18,
13625,
67,
1792,
47,
67,
3098,
16,
1203,
4600,
1042,
16,
333,
16,
629,
16,
6469,
47,
1768,
18,
4883,
67,
7096,
16,
277,
16,
336,
1792,
47,
3386,
16,
629,
16,
629,
16,
982,
18,
2316,
1769,
1082,
202,
892,
1768,
382,
550,
5432,
63,
77,
8009,
10676,
5621,
202,
202,
97,
202,
202,
430,
12,
4939,
768,
22430,
422,
446,
13,
288,
1082,
202,
759,
7615,
1404,
1608,
358,
2017,
4398,
202,
202,
97,
469,
288,
1082,
202,
759,
6240,
4398,
1082,
202,
3830,
268,
273,
394,
4884,
12,
2704,
6240,
6450,
20013,
9334,
315,
6450,
7261,
8863,
1082,
202,
88,
18,
542,
12858,
12,
3767,
1769,
1082,
202,
88,
18,
1937,
5621,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
1435,
1216,
657,
550,
387,
503,
288,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
77,
32,
892,
1768,
382,
550,
5432,
18,
2469,
31,
77,
27245,
288,
1082,
202,
892,
1768,
382,
550,
5432,
63,
77,
65,
273,
4697,
202,
2704,
10326,
1768,
382,
550,
387,
12,
2938,
18,
2938,
16,
501,
6450,
63,
77,
6487,
261,
6620,
24950,
21,
16,
478,
2842,
278,
3098,
18,
13625,
67,
1792,
47,
67,
3098,
16,
1203,
4600,
1042,
16,
333,
16,
629,
16,
6469,
47,
1768,
18,
4883,
67,
7096,
16,
277,
16,
336,
1792,
47,
3386,
16,
629,
16,
629,
16,
982,
18,
2316,
1769,
1082,
202,
892,
1768,
382,
550,
5432,
63,
2
] |
|
System.err.println(" Calling file persist from factory"); try { if (_manager == null) _manager = new FilePersistenceManager(filePath); return _manager; }catch (Throwable t) { t.printStackTrace(); return null; }
|
if (Trace.trace) Trace.info("persistence", "Creating file manager: " + filePath); try { if (_manager == null) _manager = new FilePersistenceManager(filePath); return _manager; } catch (Throwable t) { t.printStackTrace(); return null; }
|
private PersistenceManager createManagerFile(String filePath) { System.err.println(" Calling file persist from factory"); try { if (_manager == null) _manager = new FilePersistenceManager(filePath); return _manager; }catch (Throwable t) { t.printStackTrace(); return null; } }// end of file persistence
|
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/865db49a8a234ec38b0bc1e4c1a7fe8eec70850f/PersistenceFactory.java/clean/src/org/jgroups/persistence/PersistenceFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
13381,
1318,
752,
1318,
812,
12,
780,
4612,
13,
565,
288,
202,
3163,
18,
370,
18,
8222,
2932,
21020,
585,
3898,
628,
3272,
8863,
202,
698,
202,
565,
288,
202,
202,
430,
261,
67,
4181,
422,
446,
13,
202,
377,
1082,
565,
389,
4181,
273,
394,
1387,
13182,
1318,
12,
22787,
1769,
202,
202,
2463,
389,
4181,
31,
202,
565,
289,
14683,
261,
15155,
268,
13,
202,
202,
95,
1082,
565,
268,
18,
1188,
6332,
5621,
1082,
565,
327,
446,
31,
202,
202,
97,
565,
289,
759,
679,
434,
585,
9756,
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,
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4181,
422,
446,
13,
202,
377,
1082,
565,
389,
4181,
273,
394,
1387,
13182,
1318,
12,
22787,
1769,
202,
202,
2463,
389,
4181,
31,
202,
565,
289,
14683,
261,
15155,
268,
13,
202,
202,
95,
1082,
565,
268,
18,
1188,
6332,
5621,
1082,
565,
327,
446,
31,
202,
202,
97,
565,
289,
759,
679,
434,
585,
9756,
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
] |
return super.sqlStringForValue(v,kp) + "::" + s;
|
String c = ""; if (attribute.className().equals("String") || attribute.className().equals("java.lang.String")) { c = "'"; } return new StringBuffer(c).append(super.sqlStringForValue(v,kp)).append("'::").append(s).toString();
|
public String sqlStringForValue(Object v, String kp) { if(_disableTypeCasting) { return super.sqlStringForValue(v,kp); } EOAttribute attribute; int lastDotIdx = kp.lastIndexOf("."); if (lastDotIdx == -1) { attribute = entity().attributeNamed(kp); } else { EOEntity kpEntity = entityForKeyPath(kp); attribute = kpEntity.attributeNamed(kp.substring(lastDotIdx+1)); } if(attribute != null && v != null && v != NSKeyValueCoding.NullValue) { String s = columnTypeStringForAttribute(attribute); return super.sqlStringForValue(v,kp) + "::" + s; } return super.sqlStringForValue(v,kp); }
|
22541 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22541/1d1d76d888237e3852b3a6f28e2b6eb86e62728a/PostgresqlExpression.java/buggy/PlugIns/PostgresqlPlugIn/Sources/com/webobjects/jdbcadaptor/PostgresqlExpression.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1847,
780,
1290,
620,
12,
921,
331,
16,
514,
14061,
13,
288,
3639,
309,
24899,
8394,
559,
9735,
310,
13,
288,
5411,
327,
2240,
18,
4669,
780,
1290,
620,
12,
90,
16,
79,
84,
1769,
3639,
289,
3639,
512,
51,
1499,
1566,
31,
3639,
509,
1142,
10412,
4223,
273,
14061,
18,
2722,
31985,
2932,
1199,
1769,
3639,
309,
261,
2722,
10412,
4223,
422,
300,
21,
13,
288,
5411,
1566,
273,
1522,
7675,
4589,
7604,
12,
79,
84,
1769,
3639,
289,
469,
288,
5411,
512,
51,
1943,
14061,
1943,
273,
1522,
19759,
743,
12,
79,
84,
1769,
5411,
1566,
273,
14061,
1943,
18,
4589,
7604,
12,
79,
84,
18,
28023,
12,
2722,
10412,
4223,
15,
21,
10019,
3639,
289,
3639,
309,
12,
4589,
480,
446,
597,
331,
480,
446,
597,
331,
480,
11472,
13841,
30315,
18,
2041,
620,
13,
288,
5411,
514,
272,
273,
27280,
780,
1290,
1499,
12,
4589,
1769,
5411,
514,
276,
273,
1408,
31,
309,
261,
4589,
18,
12434,
7675,
14963,
2932,
780,
7923,
747,
1566,
18,
12434,
7675,
14963,
2932,
6290,
18,
4936,
18,
780,
6,
3719,
288,
276,
273,
5862,
31,
289,
327,
394,
6674,
12,
71,
2934,
6923,
12,
9565,
18,
4669,
780,
1290,
620,
12,
90,
16,
79,
84,
13,
2934,
6923,
2932,
4278,
2773,
2934,
6923,
12,
87,
2934,
10492,
5621,
3639,
289,
1171,
327,
2240,
18,
4669,
780,
1290,
620,
12,
90,
16,
79,
84,
1769,
565,
289,
2,
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,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1847,
780,
1290,
620,
12,
921,
331,
16,
514,
14061,
13,
288,
3639,
309,
24899,
8394,
559,
9735,
310,
13,
288,
5411,
327,
2240,
18,
4669,
780,
1290,
620,
12,
90,
16,
79,
84,
1769,
3639,
289,
3639,
512,
51,
1499,
1566,
31,
3639,
509,
1142,
10412,
4223,
273,
14061,
18,
2722,
31985,
2932,
1199,
1769,
3639,
309,
261,
2722,
10412,
4223,
422,
300,
21,
13,
288,
5411,
1566,
273,
1522,
7675,
4589,
7604,
12,
79,
84,
1769,
3639,
289,
469,
288,
5411,
512,
51,
1943,
14061,
1943,
273,
1522,
19759,
743,
12,
79,
84,
1769,
5411,
1566,
273,
14061,
1943,
18,
4589,
7604,
12,
79,
84,
18,
28023,
12,
2722,
10412,
4223,
15,
21,
10019,
2
] |
if (theData.itsNestedFunctions != null) { for (i = 0; i < theData.itsNestedFunctions.length; i++) createFunctionObject(theData.itsNestedFunctions[i], scope);
|
if (theData.isFunction) { if (fnOrScript.itsClosure != null) { scope = fnOrScript.itsClosure; }else if (!theData.itsUseDynamicScope) { scope = fnOrScript.getParentScope(); } }else { scope = ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, theData.itsFromEvalCode);
|
public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, NativeFunction fnOrScript, InterpreterData theData) throws JavaScriptException { if (cx.interpreterSecurityDomain != theData.securityDomain) { // If securityDomain is different, update domain in Cotext // and call self under new domain Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = theData.securityDomain; try { return interpret(cx, scope, thisObj, args, fnOrScript, theData); } finally { cx.interpreterSecurityDomain = savedDomain; } } int i; Object lhs; final int maxStack = theData.itsMaxStack; final int maxVars = (fnOrScript.argNames == null) ? 0 : fnOrScript.argNames.length; final int maxLocals = theData.itsMaxLocals; final int maxTryDepth = theData.itsMaxTryDepth; final int VAR_SHFT = maxStack; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int TRY_SCOPE_SHFT = LOCAL_SHFT + maxLocals;// stack[0 <= i < VAR_SHFT]: stack data// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_SCOPE_SHFT]: used for newtemp/usetemp// stack[TRY_SCOPE_SHFT <= i]: try scopes// when 0 <= i < LOCAL_SHFT and stack[x] == DBL_MRK,// sDbl[i] gives the number value final Object DBL_MRK = Interpreter.DBL_MRK; Object[] stack = new Object[TRY_SCOPE_SHFT + maxTryDepth]; double[] sDbl = new double[TRY_SCOPE_SHFT]; int stackTop = -1; byte[] iCode = theData.itsICode; String[] strings = theData.itsStringTable; int pc = 0; int iCodeLength = theData.itsICodeTop; final Scriptable undefined = Undefined.instance; if (maxVars != 0) { int definedArgs = fnOrScript.argCount; if (definedArgs != 0) { if (definedArgs > args.length) { definedArgs = args.length; } for (i = 0; i != definedArgs; ++i) { stack[VAR_SHFT + i] = args[i]; } } for (i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } } if (theData.itsNestedFunctions != null) { for (i = 0; i < theData.itsNestedFunctions.length; i++) createFunctionObject(theData.itsNestedFunctions[i], scope); } Object id; Object rhs, val; double valDbl; boolean valBln; int count; int slot; String name = null; Object[] outArgs; int lIntValue; double lDbl; int rIntValue; double rDbl;// tryStack[2 * i]: starting pc of catch block// tryStack[2 * i + 1]: starting pc of finally block int[] tryStack = null; int tryStackTop = 0; InterpreterFrame frame = null; if (cx.debugger != null) { frame = new InterpreterFrame(scope, theData, fnOrScript); cx.pushFrame(frame); } Object result = undefined; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; while (pc < iCodeLength) { try { switch (iCode[pc] & 0xff) { case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : if (tryStackTop == 0) { tryStack = new int[maxTryDepth * 2]; } i = getTarget(iCode, pc + 1); if (i == pc) i = 0; tryStack[tryStackTop * 2] = i; i = getTarget(iCode, pc + 3); if (i == (pc + 2)) i = 0; tryStack[tryStackTop * 2 + 1] = i; stack[TRY_SCOPE_SHFT + tryStackTop] = scope; ++tryStackTop; pc += 4; break; case TokenStream.GE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl <= lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl <= rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.GT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl < lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl < rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IN : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.INSTANCEOF : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.instanceOf(scope, lhs, rhs); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.EQ : --stackTop; valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.NE : --stackTop; valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHEQ : --stackTop; valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHNE : --stackTop; valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IFNE : val = stack[stackTop]; if (val != DBL_MRK) { valBln = !ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = !(valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.IFEQ : val = stack[stackTop]; if (val != DBL_MRK) { valBln = ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = (valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : sDbl[++stackTop] = pc + 3; if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : slot = (iCode[pc + 1] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = (int)sDbl[LOCAL_SHFT + slot]; continue; case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break; case TokenStream.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; pc = getTarget(iCode, pc + 1); break; case TokenStream.BITNOT : rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; case TokenStream.BITAND : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; case TokenStream.BITOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; case TokenStream.BITXOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; case TokenStream.LSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; case TokenStream.RSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; case TokenStream.URSH : rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; case TokenStream.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case TokenStream.SUB : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; case TokenStream.NEG : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; case TokenStream.POS : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; case TokenStream.MUL : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; case TokenStream.DIV : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; case TokenStream.MOD : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; case TokenStream.BINDNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; case TokenStream.GETBASE : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.getBase(scope, name); pc += 2; break; case TokenStream.SETNAME : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; // what about class cast exception here for lhs? stack[stackTop] = ScriptRuntime.setName ((Scriptable)lhs, rhs, scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.DELPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(lhs, rhs); break; case TokenStream.GETPROP : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; case TokenStream.SETPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; case TokenStream.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case TokenStream.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case TokenStream.PROPINC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; case TokenStream.PROPDEC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; case TokenStream.ELEMINC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; case TokenStream.ELEMDEC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; case TokenStream.GETTHIS : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getThis((Scriptable)lhs); break; case TokenStream.NEWTEMP : slot = (iCode[++pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.USETEMP : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; break; case TokenStream.CALLSPECIAL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int lineNum = getShort(iCode, pc + 1); name = strings[getShort(iCode, pc + 3)]; count = getShort(iCode, pc + 5); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, lhs, rhs, outArgs, thisObj, scope, name, lineNum); pc += 6; instructionCount = cx.instructionCount; break; case TokenStream.CALL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } cx.instructionCount = instructionCount; count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined) { i = getShort(iCode, pc + 1); if (i != -1) lhs = strings[i]; } Scriptable calleeScope = scope; if (theData.itsNeedsActivation) { calleeScope = ScriptableObject. getTopLevelScope(scope); } stack[stackTop] = ScriptRuntime.call(cx, lhs, rhs, outArgs, calleeScope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.NEW : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined && getShort(iCode, pc + 1) != -1) { // special code for better error message for call // to undefined lhs = strings[getShort(iCode, pc + 1)]; } stack[stackTop] = ScriptRuntime.newObject(cx, lhs, outArgs, scope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.TYPEOF : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; case TokenStream.TYPEOFNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; case TokenStream.STRING : stack[++stackTop] = strings[getShort(iCode, pc + 1)]; pc += 2; break; case SHORTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc + 1); pc += 2; break; case INTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc + 1); pc += 4; break; case TokenStream.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = theData. itsDoubleTable[getShort(iCode, pc + 1)]; pc += 2; break; case TokenStream.NAME : stack[++stackTop] = ScriptRuntime.name (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEINC : stack[++stackTop] = ScriptRuntime.postIncrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEDEC : stack[++stackTop] = ScriptRuntime.postDecrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.SETVAR : slot = (iCode[++pc] & 0xFF); stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.GETVAR : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; break; case TokenStream.VARINC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) + 1.0; break; case TokenStream.VARDEC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) - 1.0; break; case TokenStream.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case TokenStream.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case TokenStream.NULL : stack[++stackTop] = null; break; case TokenStream.THIS : stack[++stackTop] = thisObj; break; case TokenStream.THISFN : stack[++stackTop] = fnOrScript; break; case TokenStream.FALSE : stack[++stackTop] = Boolean.FALSE; break; case TokenStream.TRUE : stack[++stackTop] = Boolean.TRUE; break; case TokenStream.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case TokenStream.THROW : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; throw new JavaScriptException(result); case TokenStream.JTHROW : result = stack[stackTop]; // No need to check for DBL_MRK: result is Exception --stackTop; if (result instanceof JavaScriptException) throw (JavaScriptException)result; else throw (RuntimeException)result; case TokenStream.ENTERWITH : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); break; case TokenStream.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); break; case TokenStream.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case TokenStream.ENUMINIT : slot = (iCode[++pc] & 0xFF); lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.initEnum(lhs, scope); break; case TokenStream.ENUMNEXT : slot = (iCode[++pc] & 0xFF); val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = ScriptRuntime. nextEnum((Enumeration)val); break; case TokenStream.GETPROTO : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; case TokenStream.GETPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs); break; case TokenStream.GETSCOPEPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; case TokenStream.SETPROTO : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; case TokenStream.SETPARENT : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : i = getShort(iCode, pc + 1); stack[++stackTop] = new InterpretedFunction( theData.itsNestedFunctions[i], scope, cx); createFunctionObject( (InterpretedFunction)stack[stackTop], scope); pc += 2; break; case TokenStream.OBJECT : i = getShort(iCode, pc + 1); stack[++stackTop] = theData.itsRegExpLiterals[i]; pc += 2; break; case SOURCEFILE_ICODE : cx.interpreterSourceFile = theData.itsSourceFile; break; case LINE_ICODE : case BREAKPOINT_ICODE : i = getShort(iCode, pc + 1); cx.interpreterLine = i; if (frame != null) frame.setLineNumber(i); if ((iCode[pc] & 0xff) == BREAKPOINT_ICODE || cx.inLineStepMode) { cx.getDebuggableEngine(). getDebugger().handleBreakpointHit(cx); } pc += 2; break; default : dumpICode(theData); throw new RuntimeException("Unknown icode : " + (iCode[pc] & 0xff) + " @ pc : " + pc); } pc++; } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } final int SCRIPT_THROW = 0, ECMA = 1, RUNTIME = 2, OTHER = 3; int exType; Object errObj; // Object seen by catch for (;;) { if (ex instanceof JavaScriptException) { errObj = ScriptRuntime. unwrapJavaScriptException((JavaScriptException)ex); exType = SCRIPT_THROW; } else if (ex instanceof EcmaError) { // an offical ECMA error object, errObj = ((EcmaError)ex).getErrorObject(); exType = ECMA; } else if (ex instanceof WrappedException) { Object w = ((WrappedException) ex).unwrap(); if (w instanceof Throwable) { ex = (Throwable) w; continue; } errObj = ex; exType = RUNTIME; } else if (ex instanceof RuntimeException) { errObj = ex; exType = RUNTIME; } else { errObj = ex; // Error instance exType = OTHER; } break; } if (exType != OTHER && cx.debugger != null) { cx.debugger.handleExceptionThrown(cx, errObj); } boolean rethrow = true; if (exType != OTHER && tryStackTop > 0) { --tryStackTop; if (exType == SCRIPT_THROW || exType == ECMA) { // Check for catch only for // JavaScriptException and EcmaError pc = tryStack[tryStackTop * 2]; if (pc != 0) { // Has catch block rethrow = false; } } if (rethrow) { pc = tryStack[tryStackTop * 2 + 1]; if (pc != 0) { // has finally block rethrow = false; errObj = ex; } } } if (rethrow) { if (frame != null) cx.popFrame(); if (exType == SCRIPT_THROW) throw (JavaScriptException)ex; if (exType == ECMA || exType == RUNTIME) throw (RuntimeException)ex; throw (Error)ex; } // We caught an exception, // Notify instruction observer if necessary // and point pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc; // prepare stack and restore this function's security domain. scope = (Scriptable)stack[TRY_SCOPE_SHFT + tryStackTop]; stackTop = 0; stack[0] = errObj; } } if (frame != null) cx.popFrame(); if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } return result; }
|
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/7ab2eb958bc5d5b8575262b37554c7e600ccf6e9/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
282,
16717,
2083,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
326,
751,
18,
7462,
3748,
13,
288,
6647,
368,
971,
4373,
3748,
353,
3775,
16,
1089,
2461,
316,
385,
352,
408,
6647,
368,
471,
745,
365,
3613,
394,
2461,
5411,
1033,
5198,
3748,
273,
9494,
18,
2761,
11599,
4368,
3748,
31,
5411,
9494,
18,
2761,
11599,
4368,
3748,
273,
326,
751,
18,
7462,
3748,
31,
5411,
775,
288,
7734,
327,
10634,
12,
71,
92,
16,
2146,
16,
15261,
16,
833,
16,
2295,
1162,
3651,
16,
326,
751,
1769,
5411,
289,
3095,
288,
7734,
9494,
18,
2761,
11599,
4368,
3748,
273,
5198,
3748,
31,
5411,
289,
3639,
289,
3639,
509,
277,
31,
3639,
1033,
8499,
31,
3639,
727,
509,
943,
2624,
273,
326,
751,
18,
1282,
2747,
2624,
31,
3639,
727,
509,
943,
5555,
273,
261,
4293,
1162,
3651,
18,
3175,
1557,
422,
446,
13,
18701,
692,
374,
294,
2295,
1162,
3651,
18,
3175,
1557,
18,
2469,
31,
3639,
727,
509,
943,
1333,
1031,
273,
326,
751,
18,
1282,
2747,
1333,
1031,
31,
3639,
727,
509,
943,
7833,
6148,
273,
326,
751,
18,
1282,
2747,
7833,
6148,
31,
3639,
727,
509,
8350,
67,
2664,
4464,
273,
943,
2624,
31,
3639,
727,
509,
15234,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
282,
16717,
2083,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
326,
751,
18,
7462,
3748,
13,
288,
6647,
368,
971,
4373,
3748,
353,
3775,
16,
1089,
2461,
316,
385,
352,
408,
6647,
368,
471,
745,
365,
3613,
394,
2461,
5411,
1033,
5198,
3748,
273,
9494,
18,
2761,
11599,
4368,
3748,
31,
5411,
9494,
18,
2761,
11599,
4368,
3748,
273,
326,
751,
18,
7462,
3748,
31,
5411,
775,
288,
7734,
327,
10634,
12,
71,
92,
16,
2
] |
Field f[] = new Field[13]; java.sql.ResultSet r; Vector v = new Vector(); f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, NAME_SIZE); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, NAME_SIZE); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, NAME_SIZE); f[3] = new Field(connection, "NON_UNIQUE", iBoolOid, 1); f[4] = new Field(connection, "INDEX_QUALIFIER", iVarcharOid, NAME_SIZE); f[5] = new Field(connection, "INDEX_NAME", iVarcharOid, NAME_SIZE); f[6] = new Field(connection, "TYPE", iInt2Oid, 2); f[7] = new Field(connection, "ORDINAL_POSITION", iInt2Oid, 2); f[8] = new Field(connection, "COLUMN_NAME", iVarcharOid, NAME_SIZE); f[9] = new Field(connection, "ASC_OR_DESC", iVarcharOid, NAME_SIZE); f[10] = new Field(connection, "CARDINALITY", iInt4Oid, 4); f[11] = new Field(connection, "PAGES", iInt4Oid, 4); f[12] = new Field(connection, "FILTER_CONDITION", iVarcharOid, NAME_SIZE); r = connection.ExecSQL("select " + "c.relname, " + "x.indisunique, " + "i.relname, " + "x.indisclustered, " + "a.amname, " + "x.indkey, " + "c.reltuples, " + "c.relpages, " + "x.indexrelid " + "FROM pg_index x, pg_class c, pg_class i, pg_am a " + "WHERE ((c.relname = '" + tableName.toLowerCase() + "') " + " AND (c.oid = x.indrelid) " + " AND (i.oid = x.indexrelid) " + " AND (i.relam = a.oid)) " + "ORDER BY x.indisunique DESC, " + " x.indisclustered, a.amname, i.relname"); while (r.next()) { String columnOrdinalString = r.getString(6); StringTokenizer stok = new StringTokenizer(columnOrdinalString); int [] columnOrdinals = new int[stok.countTokens()]; int o = 0; while (stok.hasMoreTokens()) { columnOrdinals[o++] = Integer.parseInt(stok.nextToken());
|
String select; String from; String where = ""; if (connection.haveMinimumServerVersion("7.3")) { select = "SELECT NULL AS TABLE_CAT, n.nspname AS TABLE_SCHEM, "; from = " FROM pg_catalog.pg_namespace n, pg_catalog.pg_class ct, pg_catalog.pg_class ci, pg_catalog.pg_index i, pg_catalog.pg_attribute a, pg_catalog.pg_am am "; where = " AND n.oid = ct.relnamespace "; if (schema != null && ! "".equals(schema)) { where += " AND n.nspname = '"+escapeQuotes(schema.toLowerCase())+"' ";
|
public java.sql.ResultSet getIndexInfo(String catalog, String schema, String tableName, boolean unique, boolean approximate) throws SQLException { Field f[] = new Field[13]; java.sql.ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple stuff f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, NAME_SIZE); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, NAME_SIZE); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, NAME_SIZE); f[3] = new Field(connection, "NON_UNIQUE", iBoolOid, 1); f[4] = new Field(connection, "INDEX_QUALIFIER", iVarcharOid, NAME_SIZE); f[5] = new Field(connection, "INDEX_NAME", iVarcharOid, NAME_SIZE); f[6] = new Field(connection, "TYPE", iInt2Oid, 2); f[7] = new Field(connection, "ORDINAL_POSITION", iInt2Oid, 2); f[8] = new Field(connection, "COLUMN_NAME", iVarcharOid, NAME_SIZE); f[9] = new Field(connection, "ASC_OR_DESC", iVarcharOid, NAME_SIZE); f[10] = new Field(connection, "CARDINALITY", iInt4Oid, 4); f[11] = new Field(connection, "PAGES", iInt4Oid, 4); f[12] = new Field(connection, "FILTER_CONDITION", iVarcharOid, NAME_SIZE); r = connection.ExecSQL("select " + "c.relname, " + "x.indisunique, " + "i.relname, " + "x.indisclustered, " + "a.amname, " + "x.indkey, " + "c.reltuples, " + "c.relpages, " + "x.indexrelid " + "FROM pg_index x, pg_class c, pg_class i, pg_am a " + "WHERE ((c.relname = '" + tableName.toLowerCase() + "') " + " AND (c.oid = x.indrelid) " + " AND (i.oid = x.indexrelid) " + " AND (i.relam = a.oid)) " + "ORDER BY x.indisunique DESC, " + " x.indisclustered, a.amname, i.relname"); while (r.next()) { // indkey is an array of column ordinals (integers). In the JDBC // interface, this has to be separated out into a separate // tuple for each indexed column. Also, getArray() is not yet // implemented for Postgres JDBC, so we parse by hand. String columnOrdinalString = r.getString(6); StringTokenizer stok = new StringTokenizer(columnOrdinalString); int [] columnOrdinals = new int[stok.countTokens()]; int o = 0; while (stok.hasMoreTokens()) { columnOrdinals[o++] = Integer.parseInt(stok.nextToken()); } java.sql.ResultSet columnNameRS = connection.ExecSQL("select a.attname FROM pg_attribute a WHERE a.attrelid = " + r.getInt(9)); for (int i = 0; i < columnOrdinals.length; i++) { byte [] [] tuple = new byte [13] []; tuple[0] = "".getBytes(); tuple[1] = "".getBytes(); tuple[2] = r.getBytes(1); tuple[3] = r.getBoolean(2) ? "false".getBytes() : "true".getBytes(); tuple[4] = null; tuple[5] = r.getBytes(3); tuple[6] = r.getBoolean(4) ? Integer.toString(java.sql.DatabaseMetaData.tableIndexClustered).getBytes() : r.getString(5).equals("hash") ? Integer.toString(java.sql.DatabaseMetaData.tableIndexHashed).getBytes() : Integer.toString(java.sql.DatabaseMetaData.tableIndexOther).getBytes(); tuple[7] = Integer.toString(i + 1).getBytes(); if (columnNameRS.next()) { tuple[8] = columnNameRS.getBytes(1); } else { tuple[8] = "".getBytes(); } tuple[9] = null; // sort sequence ??? tuple[10] = r.getBytes(7); // inexact tuple[11] = r.getBytes(8); tuple[12] = null; v.addElement(tuple); } } return connection.getResultSet(null, f, v, "OK", 1); }
|
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/7c553901d7ab010ad1cb5bf44f9ca2fdae83909a/AbstractJdbc1DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
8088,
966,
12,
780,
6222,
16,
514,
1963,
16,
514,
4775,
16,
1250,
3089,
16,
1250,
21204,
13,
1216,
6483,
202,
95,
202,
202,
974,
284,
8526,
273,
394,
2286,
63,
3437,
15533,
202,
202,
6290,
18,
4669,
18,
13198,
436,
31,
202,
759,
10842,
364,
326,
3063,
843,
716,
732,
1608,
358,
741,
202,
202,
5018,
331,
273,
394,
5589,
5621,
202,
202,
759,
1021,
394,
10842,
3193,
10769,
202,
202,
74,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
6048,
67,
4574,
1769,
202,
202,
74,
63,
21,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
6048,
67,
4574,
1769,
202,
202,
74,
63,
22,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
6048,
67,
4574,
1769,
202,
202,
74,
63,
23,
65,
273,
394,
2286,
12,
4071,
16,
315,
3993,
67,
16879,
3113,
277,
7464,
19105,
16,
404,
1769,
202,
202,
74,
63,
24,
65,
273,
394,
2286,
12,
4071,
16,
315,
9199,
67,
8729,
10591,
3113,
277,
58,
22483,
19105,
16,
6048,
67,
4574,
1769,
202,
202,
74,
63,
25,
65,
273,
394,
2286,
12,
4071,
16,
315,
9199,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
6048,
67,
4574,
1769,
202,
202,
74,
63,
26,
65,
273,
394,
2286,
12,
4071,
16,
315,
2399,
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,
2252,
18,
4669,
18,
13198,
8088,
966,
12,
780,
6222,
16,
514,
1963,
16,
514,
4775,
16,
1250,
3089,
16,
1250,
21204,
13,
1216,
6483,
202,
95,
202,
202,
974,
284,
8526,
273,
394,
2286,
63,
3437,
15533,
202,
202,
6290,
18,
4669,
18,
13198,
436,
31,
202,
759,
10842,
364,
326,
3063,
843,
716,
732,
1608,
358,
741,
202,
202,
5018,
331,
273,
394,
5589,
5621,
202,
202,
759,
1021,
394,
10842,
3193,
10769,
202,
202,
74,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
6048,
67,
4574,
1769,
202,
202,
74,
63,
21,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
2
] |
this.argCount = (short)argCount; this.version = (short)cx.getLanguageVersion();
|
this.argCount = argCount; this.version = version;
|
public final void initScriptFunction(Context cx, String functionName, String[] argNames, int argCount) { if (!(argNames != null && 0 <= argCount && argCount <= argNames.length)) { throw new IllegalArgumentException(); } if (!(this.argNames == null)) { // Initialization can only be done once throw new IllegalStateException(); } this.functionName = functionName; this.argNames = argNames; this.argCount = (short)argCount; this.version = (short)cx.getLanguageVersion(); }
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/37375e32cf16d65268effed2bfea1cc25d1c3dcf/NativeFunction.java/clean/js/rhino/src/org/mozilla/javascript/NativeFunction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
1208,
3651,
2083,
12,
1042,
9494,
16,
514,
14117,
16,
29159,
514,
8526,
1501,
1557,
16,
509,
1501,
1380,
13,
565,
288,
3639,
309,
16051,
12,
3175,
1557,
480,
446,
2868,
597,
374,
1648,
1501,
1380,
597,
1501,
1380,
1648,
1501,
1557,
18,
2469,
3719,
3639,
288,
5411,
604,
394,
2754,
5621,
3639,
289,
3639,
309,
16051,
12,
2211,
18,
3175,
1557,
422,
446,
3719,
288,
5411,
368,
26586,
848,
1338,
506,
2731,
3647,
5411,
604,
394,
5477,
5621,
3639,
289,
3639,
333,
18,
915,
461,
273,
14117,
31,
3639,
333,
18,
3175,
1557,
273,
1501,
1557,
31,
3639,
333,
18,
3175,
1380,
273,
261,
6620,
13,
3175,
1380,
31,
3639,
333,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
1208,
3651,
2083,
12,
1042,
9494,
16,
514,
14117,
16,
29159,
514,
8526,
1501,
1557,
16,
509,
1501,
1380,
13,
565,
288,
3639,
309,
16051,
12,
3175,
1557,
480,
446,
2868,
597,
374,
1648,
1501,
1380,
597,
1501,
1380,
1648,
1501,
1557,
18,
2469,
3719,
3639,
288,
5411,
604,
394,
2754,
5621,
3639,
289,
3639,
309,
16051,
12,
2211,
18,
3175,
1557,
422,
446,
3719,
288,
5411,
368,
26586,
848,
1338,
506,
2731,
3647,
5411,
604,
394,
5477,
5621,
3639,
289,
3639,
333,
18,
915,
461,
273,
14117,
31,
3639,
333,
18,
3175,
1557,
273,
1501,
1557,
31,
3639,
333,
18,
3175,
1380,
273,
261,
6620,
13,
3175,
1380,
31,
3639,
333,
18,
1589,
273,
2
] |
throws SchedulerException {
|
throws SchedulerException {
|
public void addGlobalTriggerListener(TriggerListener triggerListener) throws SchedulerException { throw new SchedulerException( "Operation not supported for remote schedulers.", SchedulerException.ERR_UNSUPPORTED_FUNCTION_IN_THIS_CONFIGURATION); }
|
55677 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55677/cf7f5f77ce5bb6364145230d302b86f1cdadea88/RemoteScheduler.java/clean/src/java/org/quartz/impl/RemoteScheduler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
5160,
6518,
2223,
12,
6518,
2223,
3080,
2223,
13,
5411,
1216,
12620,
503,
288,
3639,
604,
394,
12620,
503,
12,
7734,
315,
2988,
486,
3260,
364,
2632,
272,
4292,
414,
1199,
16,
7734,
12620,
503,
18,
9712,
67,
2124,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
5160,
6518,
2223,
12,
6518,
2223,
3080,
2223,
13,
5411,
1216,
12620,
503,
288,
3639,
604,
394,
12620,
503,
12,
7734,
315,
2988,
486,
3260,
364,
2632,
272,
4292,
414,
1199,
16,
7734,
12620,
503,
18,
9712,
67,
2124,
21134,
67,
7788,
67,
706,
67,
2455,
5127,
67,
21200,
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
] |
case Token.REF_CALL :
|
private static void dumpICode(InterpreterData idata) { if (!Token.printICode) { return; } int iCodeLength = idata.itsICodeTop; byte iCode[] = idata.itsICode; String[] strings = idata.itsStringTable; PrintStream out = System.out; out.println("ICode dump, for " + idata.itsName + ", length = " + iCodeLength); out.println("MaxStack = " + idata.itsMaxStack); int indexReg = 0; for (int pc = 0; pc < iCodeLength; ) { out.flush(); out.print(" [" + pc + "] "); int token = iCode[pc]; int icodeLength = bytecodeSpan(token); String tname = bytecodeName(token); int old_pc = pc; ++pc; switch (token) { default: if (icodeLength != 1) Kit.codeBug(); out.println(tname); break; case Icode_GOSUB : case Token.GOTO : case Token.IFEQ : case Token.IFNE : case Icode_IFEQ_POP : case Icode_LEAVEDQ : { int newPC = pc + getShort(iCode, pc) - 1; out.println(tname + " " + newPC); pc += 2; break; } case Icode_VAR_INC_DEC : case Icode_NAME_INC_DEC : case Icode_PROP_INC_DEC : case Icode_ELEM_INC_DEC : case Icode_REF_INC_DEC: { int incrDecrType = iCode[pc]; out.println(tname + " " + incrDecrType); ++pc; break; } case Icode_CALLSPECIAL : { int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int line = getShort(iCode, pc+2); out.println(tname+" "+callType+" "+isNew+" "+indexReg+" "+line); pc += 4; break; } case Token.REGEXP : out.println(tname+" "+idata.itsRegExpLiterals[indexReg]); break; case Token.OBJECTLIT : case Icode_SPARE_ARRAYLIT : out.println(tname+" "+idata.literalIds[indexReg]); break; case Icode_CLOSURE_EXPR : case Icode_CLOSURE_STMT : out.println(tname+" "+idata.itsNestedFunctions[indexReg]); break; case Token.CALL : case Token.NEW : case Token.REF_CALL : out.println(tname+' '+indexReg); pc += 2; break; case Token.THROW : { int line = getShort(iCode, pc); out.println(tname + " : " + line); pc += 2; break; } case Icode_SHORTNUMBER : { int value = getShort(iCode, pc); out.println(tname + " " + value); pc += 2; break; } case Icode_INTNUMBER : { int value = getInt(iCode, pc); out.println(tname + " " + value); pc += 4; break; } case Token.NUMBER : { double value = idata.itsDoubleTable[indexReg]; out.println(tname + " " + value); pc += 2; break; } case Icode_LINE : { int line = getShort(iCode, pc); out.println(tname + " : " + line); pc += 2; break; } case Icode_REG_STR1: { String str = strings[0xFF & iCode[pc]]; out.println(tname + " \"" + str + '"'); ++pc; break; } case Icode_REG_STR2: { String str = strings[getIndex(iCode, pc)]; out.println(tname + " \"" + str + '"'); pc += 2; break; } case Icode_REG_STR4: { String str = strings[getInt(iCode, pc)]; out.println(tname + " \"" + str + '"'); pc += 4; break; } case Icode_REG_IND1: { indexReg = 0xFF & iCode[pc]; out.println(tname+" "+indexReg); ++pc; break; } case Icode_REG_IND2: { indexReg = getIndex(iCode, pc); out.println(tname+" "+indexReg); pc += 2; break; } case Icode_REG_IND4: { indexReg = getInt(iCode, pc); out.println(tname+" "+indexReg); pc += 4; break; } case Icode_GETVAR1: case Icode_SETVAR1: indexReg = iCode[pc]; out.println(tname+" "+indexReg); ++pc; break; } if (old_pc + icodeLength != pc) Kit.codeBug(); } int[] table = idata.itsExceptionTable; if (table != null) { out.println("Exception handlers: " +table.length / EXCEPTION_SLOT_SIZE); for (int i = 0; i != table.length; i += EXCEPTION_SLOT_SIZE) { int tryStart = table[i + EXCEPTION_TRY_START_SLOT]; int tryEnd = table[i + EXCEPTION_TRY_END_SLOT]; int catchStart = table[i + EXCEPTION_CATCH_SLOT]; int finallyStart = table[i + EXCEPTION_FINALLY_SLOT]; int withDepth = table[i + EXCEPTION_WITH_DEPTH_SLOT]; int exceptionLocal = table[i + EXCEPTION_LOCAL_SLOT]; out.println(" tryStart="+tryStart+" tryEnd="+tryEnd +" catchStart="+catchStart +" finallyStart="+finallyStart +" withDepth="+withDepth +" exceptionLocal="+exceptionLocal); } } out.flush(); }
|
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/11ce08544db8e939610fd279089ebe3b0ecc910a/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
4657,
45,
1085,
12,
30010,
751,
612,
396,
13,
565,
288,
3639,
309,
16051,
1345,
18,
1188,
45,
1085,
13,
288,
5411,
327,
31,
3639,
289,
3639,
509,
277,
1085,
1782,
273,
612,
396,
18,
1282,
45,
1085,
3401,
31,
3639,
1160,
277,
1085,
8526,
273,
612,
396,
18,
1282,
45,
1085,
31,
3639,
514,
8526,
2064,
273,
612,
396,
18,
1282,
780,
1388,
31,
3639,
21677,
596,
273,
2332,
18,
659,
31,
3639,
596,
18,
8222,
2932,
45,
1085,
4657,
16,
364,
315,
397,
612,
396,
18,
1282,
461,
10792,
397,
3104,
769,
273,
315,
397,
277,
1085,
1782,
1769,
3639,
596,
18,
8222,
2932,
2747,
2624,
273,
315,
397,
612,
396,
18,
1282,
2747,
2624,
1769,
3639,
509,
770,
1617,
273,
374,
31,
3639,
364,
261,
474,
6125,
273,
374,
31,
6125,
411,
277,
1085,
1782,
31,
262,
288,
5411,
596,
18,
11330,
5621,
5411,
596,
18,
1188,
2932,
8247,
397,
6125,
397,
9850,
315,
1769,
5411,
509,
1147,
273,
277,
1085,
63,
2436,
15533,
5411,
509,
277,
710,
1782,
273,
22801,
6952,
12,
2316,
1769,
5411,
514,
27829,
273,
22801,
461,
12,
2316,
1769,
5411,
509,
1592,
67,
2436,
273,
6125,
31,
5411,
965,
2436,
31,
5411,
1620,
261,
2316,
13,
288,
2868,
805,
30,
7734,
309,
261,
3487,
1782,
480,
404,
13,
1475,
305,
18,
710,
19865,
5621,
7734,
596,
18,
8222,
12,
88,
529,
1769,
7734,
898,
31,
2868,
648,
467,
710,
67,
43,
4618,
3457,
294,
2868,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
4657,
45,
1085,
12,
30010,
751,
612,
396,
13,
565,
288,
3639,
309,
16051,
1345,
18,
1188,
45,
1085,
13,
288,
5411,
327,
31,
3639,
289,
3639,
509,
277,
1085,
1782,
273,
612,
396,
18,
1282,
45,
1085,
3401,
31,
3639,
1160,
277,
1085,
8526,
273,
612,
396,
18,
1282,
45,
1085,
31,
3639,
514,
8526,
2064,
273,
612,
396,
18,
1282,
780,
1388,
31,
3639,
21677,
596,
273,
2332,
18,
659,
31,
3639,
596,
18,
8222,
2932,
45,
1085,
4657,
16,
364,
315,
397,
612,
396,
18,
1282,
461,
10792,
397,
3104,
769,
273,
315,
397,
277,
1085,
1782,
1769,
3639,
596,
18,
8222,
2932,
2747,
2624,
273,
315,
397,
612,
396,
18,
1282,
2
] |
|
notifyValueChange(value);
|
notifyValueChange(value);
|
public void setValue(int value) { setState(EDITTED); if (_value != value) { int old = _value; _value = value; _tableEntry.setText(""+value); notifyValueChange(value); } }
|
213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/6ea028d8eadb16e8a65e9f022d6334b04e6afb3e/CvValue.java/clean/jmri/jmrit/symbolicprog/CvValue.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5524,
12,
474,
460,
13,
288,
3196,
202,
542,
1119,
12,
10776,
6404,
1769,
202,
202,
430,
261,
67,
1132,
480,
460,
13,
288,
1082,
202,
474,
1592,
273,
389,
1132,
31,
1082,
202,
67,
1132,
273,
460,
31,
1082,
202,
67,
2121,
1622,
18,
542,
1528,
2932,
6,
15,
1132,
1769,
1082,
202,
12336,
620,
3043,
12,
1132,
1769,
3196,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5524,
12,
474,
460,
13,
288,
3196,
202,
542,
1119,
12,
10776,
6404,
1769,
202,
202,
430,
261,
67,
1132,
480,
460,
13,
288,
1082,
202,
474,
1592,
273,
389,
1132,
31,
1082,
202,
67,
1132,
273,
460,
31,
1082,
202,
67,
2121,
1622,
18,
542,
1528,
2932,
6,
15,
1132,
1769,
1082,
202,
12336,
620,
3043,
12,
1132,
1769,
3196,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void sentHandshake() {
|
public synchronized void sentHandshake() {
|
public void sentHandshake() { long now = System.currentTimeMillis(); if(invalidVersion() && !firstHandshake) { sendHandshakeTime = now + Node.MIN_TIME_BETWEEN_VERSION_PROBES + node.random.nextInt(Node.RANDOMIZED_TIME_BETWEEN_VERSION_PROBES); } else { sendHandshakeTime = now + Node.MIN_TIME_BETWEEN_HANDSHAKE_SENDS + node.random.nextInt(Node.RANDOMIZED_TIME_BETWEEN_HANDSHAKE_SENDS); } firstHandshake = false; }
|
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/d69dceaa72feee5ece14b8de951841aa9b614188/PeerNode.java/clean/src/freenet/node/PeerNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
3271,
14545,
1435,
288,
3639,
1525,
2037,
273,
2332,
18,
2972,
28512,
5621,
3639,
309,
12,
5387,
1444,
1435,
597,
401,
3645,
14545,
13,
288,
5411,
1366,
14545,
950,
273,
2037,
397,
2029,
18,
6236,
67,
4684,
67,
38,
19311,
67,
5757,
67,
3373,
38,
3991,
2398,
202,
15,
756,
18,
9188,
18,
4285,
1702,
12,
907,
18,
54,
28159,
24131,
67,
4684,
67,
38,
19311,
67,
5757,
67,
3373,
38,
3991,
1769,
3639,
289,
469,
288,
5411,
1366,
14545,
950,
273,
2037,
397,
2029,
18,
6236,
67,
4684,
67,
38,
19311,
67,
12346,
8325,
6859,
67,
21675,
55,
540,
202,
202,
15,
756,
18,
9188,
18,
4285,
1702,
12,
907,
18,
54,
28159,
24131,
67,
4684,
67,
38,
19311,
67,
12346,
8325,
6859,
67,
21675,
55,
1769,
3639,
289,
3639,
1122,
14545,
273,
629,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
1071,
3852,
918,
3271,
14545,
1435,
288,
3639,
1525,
2037,
273,
2332,
18,
2972,
28512,
5621,
3639,
309,
12,
5387,
1444,
1435,
597,
401,
3645,
14545,
13,
288,
5411,
1366,
14545,
950,
273,
2037,
397,
2029,
18,
6236,
67,
4684,
67,
38,
19311,
67,
5757,
67,
3373,
38,
3991,
2398,
202,
15,
756,
18,
9188,
18,
4285,
1702,
12,
907,
18,
54,
28159,
24131,
67,
4684,
67,
38,
19311,
67,
5757,
67,
3373,
38,
3991,
1769,
3639,
289,
469,
288,
5411,
1366,
14545,
950,
273,
2037,
397,
2029,
18,
6236,
67,
4684,
67,
38,
19311,
67,
12346,
8325,
6859,
67,
21675,
55,
540,
202,
202,
15,
756,
18,
9188,
18,
4285,
1702,
12,
907,
18,
54,
28159,
24131,
2
] |
if (paint.equals(getPaint())) return;
|
if (paint.equals(getPaint())) return;
|
public void setPaint(Paint paint) { if (paint.equals(getPaint())) return; try { if (paint instanceof Color) { setColor((Color)paint); } else if (paint instanceof GradientPaint) { super.setPaint(paint); writePaint((GradientPaint)paint); } else if (paint instanceof TexturePaint) { super.setPaint(paint); writePaint((TexturePaint)paint); } else { super.setPaint(paint); writePaint(paint); } } catch (IOException e) { handleException(e); } }
|
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/f1a2e8bd347e294e5391728379b76d4500a7093d/AbstractVectorGraphicsIO.java/clean/freehep-graphicsio/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
12699,
12,
12699,
12574,
13,
288,
3639,
309,
261,
84,
1598,
18,
14963,
12,
588,
12699,
1435,
3719,
327,
31,
3639,
775,
288,
5411,
309,
261,
84,
1598,
1276,
5563,
13,
288,
7734,
16207,
12443,
2957,
13,
84,
1598,
1769,
5411,
289,
469,
309,
261,
84,
1598,
1276,
25846,
12699,
13,
288,
7734,
2240,
18,
542,
12699,
12,
84,
1598,
1769,
7734,
1045,
12699,
12443,
15651,
12699,
13,
84,
1598,
1769,
5411,
289,
469,
309,
261,
84,
1598,
1276,
28582,
12699,
13,
288,
7734,
2240,
18,
542,
12699,
12,
84,
1598,
1769,
7734,
1045,
12699,
12443,
10967,
12699,
13,
84,
1598,
1769,
5411,
289,
469,
288,
7734,
2240,
18,
542,
12699,
12,
84,
1598,
1769,
7734,
1045,
12699,
12,
84,
1598,
1769,
5411,
289,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
20879,
12,
73,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
12699,
12,
12699,
12574,
13,
288,
3639,
309,
261,
84,
1598,
18,
14963,
12,
588,
12699,
1435,
3719,
327,
31,
3639,
775,
288,
5411,
309,
261,
84,
1598,
1276,
5563,
13,
288,
7734,
16207,
12443,
2957,
13,
84,
1598,
1769,
5411,
289,
469,
309,
261,
84,
1598,
1276,
25846,
12699,
13,
288,
7734,
2240,
18,
542,
12699,
12,
84,
1598,
1769,
7734,
1045,
12699,
12443,
15651,
12699,
13,
84,
1598,
1769,
5411,
289,
469,
309,
261,
84,
1598,
1276,
28582,
12699,
13,
288,
7734,
2240,
18,
542,
12699,
12,
84,
1598,
1769,
7734,
1045,
12699,
12443,
10967,
12699,
13,
84,
1598,
1769,
5411,
289,
469,
288,
7734,
2240,
18,
542,
12699,
12,
84,
1598,
1769,
2
] |
maxBondOrder == types[i].getMaxBondOrder()) {
|
maxBondOrder <= types[i].getMaxBondOrder()) {
|
public IAtomType findMatchingAtomType(IAtomContainer atomContainer, IAtom atom) throws CDKException { if (factory == null) { try { factory = AtomTypeFactory.getInstance("org/openscience/cdk/config/data/structgen_atomtypes.xml", atom.getBuilder()); } catch (Exception ex1) { logger.error(ex1.getMessage()); logger.debug(ex1); throw new CDKException("Could not instantiate the AtomType list!", ex1); } } double bondOrderSum = atomContainer.getBondOrderSum(atom); double maxBondOrder = atomContainer.getMaximumBondOrder(atom); int charge = atom.getFormalCharge(); int hcount = atom.getHydrogenCount(); IAtomType[] types = factory.getAtomTypes(atom.getSymbol()); for (int i=0; i<types.length; i++) { IAtomType type = types[i]; logger.debug(" ... matching atom ", atom, " vs ", type); if (bondOrderSum - charge + hcount == types[i].getBondOrderSum() && maxBondOrder == types[i].getMaxBondOrder()) { return type; } } logger.debug(" No Match"); return null; }
|
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/ca61d95a315d66bb021efd5a9e3e2e60d8b85718/StructGenMatcher.java/buggy/src/org/openscience/cdk/atomtype/StructGenMatcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8831,
559,
1104,
9517,
3641,
559,
12,
45,
3641,
2170,
22487,
16,
8831,
3179,
13,
1216,
24570,
288,
3639,
309,
261,
6848,
422,
446,
13,
288,
5411,
775,
288,
7734,
3272,
273,
7149,
559,
1733,
18,
588,
1442,
2932,
3341,
19,
20346,
71,
6254,
19,
71,
2883,
19,
1425,
19,
892,
19,
1697,
4507,
67,
7466,
2352,
18,
2902,
3113,
12900,
3179,
18,
588,
1263,
10663,
5411,
289,
1044,
261,
503,
431,
21,
13,
288,
7734,
1194,
18,
1636,
12,
338,
21,
18,
24906,
10663,
7734,
1194,
18,
4148,
12,
338,
21,
1769,
7734,
604,
394,
24570,
2932,
4445,
486,
10275,
326,
7149,
559,
666,
5,
3113,
431,
21,
1769,
5411,
289,
3639,
289,
202,
202,
9056,
8427,
2448,
3495,
273,
22487,
18,
588,
9807,
2448,
3495,
12,
7466,
1769,
202,
202,
9056,
943,
9807,
2448,
273,
22487,
18,
588,
13528,
9807,
2448,
12,
7466,
1769,
202,
202,
474,
13765,
273,
3179,
18,
588,
12183,
17649,
5621,
202,
202,
474,
366,
1883,
273,
3179,
18,
588,
17507,
24096,
1380,
5621,
3639,
8831,
559,
8526,
1953,
273,
3272,
18,
588,
3641,
2016,
12,
7466,
18,
588,
5335,
10663,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
2352,
18,
2469,
31,
277,
27245,
288,
5411,
8831,
559,
618,
273,
1953,
63,
77,
15533,
5411,
1194,
18,
4148,
2932,
282,
1372,
3607,
3179,
3104,
3179,
16,
315,
6195,
3104,
618,
1769,
1082,
202,
430,
261,
26425,
2448,
3495,
300,
13765,
397,
366,
1883,
422,
1953,
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,
8831,
559,
1104,
9517,
3641,
559,
12,
45,
3641,
2170,
22487,
16,
8831,
3179,
13,
1216,
24570,
288,
3639,
309,
261,
6848,
422,
446,
13,
288,
5411,
775,
288,
7734,
3272,
273,
7149,
559,
1733,
18,
588,
1442,
2932,
3341,
19,
20346,
71,
6254,
19,
71,
2883,
19,
1425,
19,
892,
19,
1697,
4507,
67,
7466,
2352,
18,
2902,
3113,
12900,
3179,
18,
588,
1263,
10663,
5411,
289,
1044,
261,
503,
431,
21,
13,
288,
7734,
1194,
18,
1636,
12,
338,
21,
18,
24906,
10663,
7734,
1194,
18,
4148,
12,
338,
21,
1769,
7734,
604,
394,
24570,
2932,
4445,
486,
10275,
326,
7149,
559,
666,
5,
3113,
431,
21,
1769,
5411,
289,
3639,
289,
202,
202,
2
] |
myDirectionBinding = new ComboViewerBinding(myDirectionComboViewer, argument, EOArgument.DIRECTION, null, null, null);
|
if (argument != null) { myDirectionBinding = new ComboViewerBinding(myDirectionComboViewer, argument, EOArgument.DIRECTION, null, null, null); }
|
protected void _argumentChanged(AbstractEOArgument _argument) { EOArgument argument = (EOArgument) _argument; myDirectionBinding = new ComboViewerBinding(myDirectionComboViewer, argument, EOArgument.DIRECTION, null, null, null); }
|
50596 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50596/5cab7d59d9e5a4f57299b839896c4d807c48597c/EOArgumentBasicEditorSection.java/buggy/wolips/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/editors/attribute/EOArgumentBasicEditorSection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
389,
3446,
5033,
12,
7469,
41,
51,
1379,
389,
3446,
13,
288,
565,
512,
51,
1379,
1237,
273,
261,
41,
51,
1379,
13,
389,
3446,
31,
565,
309,
261,
3446,
480,
446,
13,
288,
3399,
8212,
5250,
273,
394,
1286,
1075,
18415,
5250,
12,
4811,
8212,
16156,
18415,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
389,
3446,
5033,
12,
7469,
41,
51,
1379,
389,
3446,
13,
288,
565,
512,
51,
1379,
1237,
273,
261,
41,
51,
1379,
13,
389,
3446,
31,
565,
309,
261,
3446,
480,
446,
13,
288,
3399,
8212,
5250,
273,
394,
1286,
1075,
18415,
5250,
12,
4811,
8212,
16156,
18415,
16,
1237,
16,
512,
51,
1379,
18,
30516,
16,
446,
16,
446,
16,
446,
1769,
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
] |
def = testF2(file, offset);
|
def = testCtrl_F3(file, offset);
|
public void testBasicDefinition() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("extern int MyInt; // MyInt is in another file\n"); //$NON-NLS-1$ buffer.append("extern const int MyConst; // MyConst is in another file\n"); //$NON-NLS-1$ buffer.append("void MyFunc(int); // often used in header files\n"); //$NON-NLS-1$ buffer.append("struct MyStruct; // often used in header files\n"); //$NON-NLS-1$ buffer.append("typedef int NewInt; // a normal typedef statement\n"); //$NON-NLS-1$ buffer.append("class MyClass; // often used in header files\n"); //$NON-NLS-1$ buffer.append("int MyInt;\n"); //$NON-NLS-1$ buffer.append("extern const int MyConst = 42;\n"); //$NON-NLS-1$ buffer.append("void MyFunc(int a) { cout << a << endl; }\n"); //$NON-NLS-1$ buffer.append("struct MyStruct { int Member1; int Member2; };\n"); //$NON-NLS-1$ buffer.append("class MyClass { int MemberVar; };\n"); //$NON-NLS-1$ String code = buffer.toString(); IFile file = importFile("testBasicDefinition.cpp", code); //$NON-NLS-1$ int offset = code.indexOf("MyInt;\n") + 2; //$NON-NLS-1$ IASTNode def = testF2(file, offset); IASTNode decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "MyInt"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 11); assertEquals(((ASTNode)decl).getLength(), 5); assertEquals(((IASTName)def).toString(), "MyInt"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 330); assertEquals(((ASTNode)def).getLength(), 5); offset = code.indexOf("MyConst = 42") + 2; //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "MyConst"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 69); assertEquals(((ASTNode)decl).getLength(), 7); assertEquals(((IASTName)def).toString(), "MyConst"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 354); assertEquals(((ASTNode)def).getLength(), 7); offset = code.indexOf("MyFunc(int a)") + 2; //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "MyFunc"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 115); assertEquals(((ASTNode)decl).getLength(), 6); assertEquals(((IASTName)def).toString(), "MyFunc"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 373); assertEquals(((ASTNode)def).getLength(), 6); offset = code.indexOf("MyStruct {") + 2; //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "MyStruct"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 171); assertEquals(((ASTNode)decl).getLength(), 8); assertEquals(((IASTName)def).toString(), "MyStruct"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 417); assertEquals(((ASTNode)def).getLength(), 8); offset = code.indexOf("MyClass {") + 2; //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "MyClass"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 278); assertEquals(((ASTNode)decl).getLength(), 7); assertEquals(((IASTName)def).toString(), "MyClass"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 463); assertEquals(((ASTNode)def).getLength(), 7); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/a80f774ac034fed44b578ede9c708e773e1fabcf/CPPSelectionTestsDOMIndexer.java/clean/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selectiontests/CPPSelectionTestsDOMIndexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
8252,
1852,
1435,
1216,
1185,
288,
3639,
6674,
1613,
273,
394,
6674,
5621,
3639,
1613,
18,
6923,
2932,
338,
798,
509,
8005,
1702,
31,
4202,
368,
8005,
1702,
353,
316,
4042,
585,
64,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
1613,
18,
6923,
2932,
338,
798,
1866,
509,
8005,
9661,
31,
282,
368,
8005,
9661,
353,
316,
4042,
585,
64,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
1613,
18,
6923,
2932,
6459,
8005,
2622,
12,
474,
1769,
4202,
368,
16337,
1399,
316,
1446,
1390,
64,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
1613,
18,
6923,
2932,
1697,
8005,
3823,
31,
3639,
368,
16337,
1399,
316,
1446,
1390,
64,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
1613,
18,
6923,
2932,
723,
536,
509,
27407,
31,
377,
368,
279,
2212,
618,
536,
3021,
64,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
1613,
18,
6923,
2932,
1106,
8005,
797,
31,
1850,
368,
16337,
1399,
316,
1446,
1390,
64,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
1613,
18,
6923,
2932,
474,
8005,
1702,
9747,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
1613,
18,
6923,
2932,
338,
798,
1866,
509,
8005,
9661,
273,
14856,
9747,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
1613,
18,
6923,
2932,
6459,
8005,
2622,
12,
474,
279,
13,
288,
276,
659,
2296,
279,
2296,
679,
80,
31,
289,
64,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
8252,
1852,
1435,
1216,
1185,
288,
3639,
6674,
1613,
273,
394,
6674,
5621,
3639,
1613,
18,
6923,
2932,
338,
798,
509,
8005,
1702,
31,
4202,
368,
8005,
1702,
353,
316,
4042,
585,
64,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
1613,
18,
6923,
2932,
338,
798,
1866,
509,
8005,
9661,
31,
282,
368,
8005,
9661,
353,
316,
4042,
585,
64,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
1613,
18,
6923,
2932,
6459,
8005,
2622,
12,
474,
1769,
4202,
368,
16337,
1399,
316,
1446,
1390,
64,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
1613,
18,
6923,
2932,
1697,
8005,
3823,
31,
3639,
368,
16337,
1399,
316,
1446,
2
] |
public org.quickfix.field.UnderlyingCreditRating getUnderlyingCreditRating() throws FieldNotFound { org.quickfix.field.UnderlyingCreditRating value = new org.quickfix.field.UnderlyingCreditRating();
|
public quickfix.field.UnderlyingCreditRating getUnderlyingCreditRating() throws FieldNotFound { quickfix.field.UnderlyingCreditRating value = new quickfix.field.UnderlyingCreditRating();
|
public org.quickfix.field.UnderlyingCreditRating getUnderlyingCreditRating() throws FieldNotFound { org.quickfix.field.UnderlyingCreditRating value = new org.quickfix.field.UnderlyingCreditRating(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/IndicationOfInterest.java/buggy/src/java/src/quickfix/fix44/IndicationOfInterest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16520,
20388,
10833,
765,
6291,
16520,
20388,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16520,
20388,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16520,
20388,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16520,
20388,
10833,
765,
6291,
16520,
20388,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16520,
20388,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16520,
20388,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
switch ( eDerivedStructuralFeatureID( eFeature ) )
|
switch ( featureID )
|
public void eSet( EStructuralFeature eFeature, Object newValue ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case ComponentPackage.SERIES__VISIBLE : setVisible( ( (Boolean) newValue ).booleanValue( ) ); return; case ComponentPackage.SERIES__LABEL : setLabel( (Label) newValue ); return; case ComponentPackage.SERIES__DATA_DEFINITION : getDataDefinition( ).clear( ); getDataDefinition( ).addAll( (Collection) newValue ); return; case ComponentPackage.SERIES__SERIES_IDENTIFIER : setSeriesIdentifier( (Object) newValue ); return; case ComponentPackage.SERIES__DATA_POINT : setDataPoint( (DataPoint) newValue ); return; case ComponentPackage.SERIES__DATA_SETS : getDataSets( ).clear( ); getDataSets( ).addAll( (Collection) newValue ); return; case ComponentPackage.SERIES__LABEL_POSITION : setLabelPosition( (Position) newValue ); return; case ComponentPackage.SERIES__STACKED : setStacked( ( (Boolean) newValue ).booleanValue( ) ); return; case ComponentPackage.SERIES__TRIGGERS : getTriggers( ).clear( ); getTriggers( ).addAll( (Collection) newValue ); return; case ComponentPackage.SERIES__TRANSLUCENT : setTranslucent( ( (Boolean) newValue ).booleanValue( ) ); return; case ComponentPackage.SERIES__CURVE_FITTING : setCurveFitting( (CurveFitting) newValue ); return; } eDynamicSet( eFeature, newValue ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/036e8c78765730b146e5854b9d6c397a296fed86/SeriesImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/SeriesImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
20199,
12,
512,
14372,
4595,
425,
4595,
16,
1033,
6129,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
5435,
2261,
18,
2123,
8805,
972,
29588,
294,
9506,
202,
542,
6207,
12,
261,
261,
5507,
13,
6129,
262,
18,
6494,
620,
12,
262,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
5435,
2261,
18,
2123,
8805,
972,
13545,
294,
9506,
202,
542,
2224,
12,
261,
2224,
13,
6129,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
5435,
2261,
18,
2123,
8805,
972,
4883,
67,
25312,
294,
9506,
202,
588,
751,
1852,
12,
262,
18,
8507,
12,
11272,
9506,
202,
588,
751,
1852,
12,
262,
18,
1289,
1595,
12,
261,
2532,
13,
6129,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
5435,
2261,
18,
2123,
8805,
972,
2123,
8805,
67,
16606,
294,
9506,
202,
542,
6485,
3004,
12,
261,
921,
13,
6129,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
5435,
2261,
18,
2123,
8805,
972,
4883,
67,
8941,
294,
9506,
202,
542,
751,
2148,
12,
261,
751,
2148,
13,
6129,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
5435,
2261,
18,
2123,
8805,
972,
4883,
67,
28092,
294,
9506,
202,
588,
751,
2785,
12,
262,
18,
8507,
12,
11272,
9506,
202,
588,
751,
2785,
12,
262,
18,
1289,
1595,
12,
261,
2532,
13,
6129,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
5435,
2261,
18,
2123,
8805,
972,
13545,
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,
20199,
12,
512,
14372,
4595,
425,
4595,
16,
1033,
6129,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
5435,
2261,
18,
2123,
8805,
972,
29588,
294,
9506,
202,
542,
6207,
12,
261,
261,
5507,
13,
6129,
262,
18,
6494,
620,
12,
262,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
5435,
2261,
18,
2123,
8805,
972,
13545,
294,
9506,
202,
542,
2224,
12,
261,
2224,
13,
6129,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
5435,
2261,
18,
2123,
8805,
972,
4883,
67,
25312,
294,
9506,
202,
588,
751,
1852,
12,
262,
18,
8507,
12,
11272,
9506,
202,
588,
751,
2
] |
this.sipManCallback = sipManCallback;
|
try { console.logEntry(); } finally { console.logExit(); }
|
public CallProcessing(SipManager sipManCallback) { this.sipManCallback = sipManCallback; }
|
49033 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49033/8197c5f154ea4bc27d15d8d58dd253dfc2c5a75a/CallProcessing.java/buggy/src/src/net/sourceforge/gjtapi/raw/sipprovider/sip/CallProcessing.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3049,
7798,
12,
17550,
1318,
10341,
5669,
2428,
13,
565,
288,
3639,
775,
288,
2983,
18,
1330,
1622,
5621,
289,
3095,
288,
2983,
18,
1330,
6767,
5621,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3049,
7798,
12,
17550,
1318,
10341,
5669,
2428,
13,
565,
288,
3639,
775,
288,
2983,
18,
1330,
1622,
5621,
289,
3095,
288,
2983,
18,
1330,
6767,
5621,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
RouterInfo info = NetworkDatabaseFacade.getInstance().lookupRouterInfoLocally(_target.getNextHop()); if (info == null) { if (_log.shouldLog(Log.ERROR)) _log.error("Error - unable to look up peer " + _target.toBase64() + ", even though we were queued up via onSuccess??"); return; } else { if (_log.shouldLog(Log.INFO)) _log.info("Lookup successful for tested peer " + _target.toBase64() + ", now continue with the test"); JobQueue.getInstance().addJob(new BuildTestMessageJob(info, Router.getInstance().getRouterInfo().getIdentity().getHash(), new JoinJob(_target, true), new JoinJob(_target, false), TIMEOUT, PRIORITY)); } }
|
RouterInfo info = NetworkDatabaseFacade.getInstance().lookupRouterInfoLocally(_target.getNextHop()); if (info == null) { if (_log.shouldLog(Log.ERROR)) _log.error("Error - unable to look up peer " + _target.toBase64() + ", even though we were queued up via onSuccess??"); return; } else { if (_log.shouldLog(Log.INFO)) _log.info("Lookup successful for tested peer " + _target.toBase64() + ", now continue with the test"); Hash peer = Router.getInstance().getRouterInfo().getIdentity().getHash(); JoinJob success = new JoinJob(_target, true); JoinJob failure = new JoinJob(_target, false); BuildTestMessageJob test = new BuildTestMessageJob(info, peer, success, failure, TIMEOUT, PRIORITY); JobQueue.getInstance().addJob(test); } }
|
public void runJob() { RouterInfo info = NetworkDatabaseFacade.getInstance().lookupRouterInfoLocally(_target.getNextHop()); if (info == null) { if (_log.shouldLog(Log.ERROR)) _log.error("Error - unable to look up peer " + _target.toBase64() + ", even though we were queued up via onSuccess??"); return; } else { if (_log.shouldLog(Log.INFO)) _log.info("Lookup successful for tested peer " + _target.toBase64() + ", now continue with the test"); JobQueue.getInstance().addJob(new BuildTestMessageJob(info, Router.getInstance().getRouterInfo().getIdentity().getHash(), new JoinJob(_target, true), new JoinJob(_target, false), TIMEOUT, PRIORITY)); } }
|
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/86759d2f9c63d203488c7e8b34e64be162a16ce9/HandleTunnelCreateMessageJob.java/clean/router/java/src/net/i2p/router/tunnelmanager/HandleTunnelCreateMessageJob.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
2278,
1435,
288,
202,
565,
9703,
966,
1123,
273,
5128,
4254,
12467,
18,
588,
1442,
7675,
8664,
8259,
966,
1333,
1230,
24899,
3299,
18,
588,
2134,
27461,
10663,
202,
565,
309,
261,
1376,
422,
446,
13,
288,
202,
202,
430,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
3589,
3719,
1875,
565,
389,
1330,
18,
1636,
2932,
668,
300,
13496,
358,
2324,
731,
4261,
315,
397,
389,
3299,
18,
869,
2171,
1105,
1435,
397,
3104,
5456,
11376,
732,
4591,
12234,
731,
3970,
20613,
35,
7225,
1769,
202,
202,
2463,
31,
202,
565,
289,
469,
288,
202,
202,
430,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
5923,
3719,
1875,
565,
389,
1330,
18,
1376,
2932,
6609,
6873,
364,
18432,
4261,
315,
397,
389,
3299,
18,
869,
2171,
1105,
1435,
397,
3104,
2037,
1324,
598,
326,
1842,
8863,
202,
202,
2278,
3183,
18,
588,
1442,
7675,
1289,
2278,
12,
2704,
3998,
4709,
1079,
2278,
12,
1376,
16,
9703,
18,
588,
1442,
7675,
588,
8259,
966,
7675,
588,
4334,
7675,
588,
2310,
9334,
394,
4214,
2278,
24899,
3299,
16,
638,
3631,
394,
4214,
2278,
24899,
3299,
16,
629,
3631,
24374,
16,
30193,
10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7675,
8664,
8259,
966,
1333,
1230,
24899,
3299,
18,
588,
2134,
27461,
10663,
202,
565,
309,
261,
1376,
422,
446,
13,
288,
202,
202,
430,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
3589,
3719,
1875,
565,
389,
1330,
18,
1636,
2932,
668,
300,
13496,
358,
2324,
731,
4261,
315,
397,
389,
3299,
18,
869,
2171,
1105,
1435,
397,
3104,
5456,
11376,
732,
4591,
12234,
731,
3970,
20613,
35,
7225,
1769,
202,
202,
2463,
31,
202,
565,
289,
469,
288,
202,
202,
430,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
5923,
3719,
1875,
565,
389,
1330,
2
] |
throw new UnsupportedOperationException();
|
return;
|
protected void initConfig() { throw new UnsupportedOperationException(); }
|
4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/a4cbc12a90309458b060dfc136391a1d4bf1df61/HttpFetcher.java/buggy/gemma-core/src/main/java/ubic/gemma/loader/util/fetcher/HttpFetcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
809,
1435,
288,
3639,
327,
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,
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0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
809,
1435,
288,
3639,
327,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
VM_ProcessorLocalState.emitCompareFieldWithImm(asm, VM_Entrypoints.takeYieldpointField.getOffsetAsInt(), 0);
|
VM_ProcessorLocalState.emitCompareFieldWithImm(asm, VM_Entrypoints.takeYieldpointField.getOffset(), 0);
|
private final void genThreadSwitchTest (int whereFrom) { if (!isInterruptible) { return; } // thread switch requested ?? VM_ProcessorLocalState.emitCompareFieldWithImm(asm, VM_Entrypoints.takeYieldpointField.getOffsetAsInt(), 0); VM_ForwardReference fr1; if (whereFrom == VM_Thread.PROLOGUE) { // Take yieldpoint if yieldpoint flag is non-zero (either 1 or -1) fr1 = asm.forwardJcc(asm.EQ); asm.emitCALL_RegDisp(JTOC, VM_Entrypoints.yieldpointFromPrologueMethod.getOffsetAsInt()); } else if (whereFrom == VM_Thread.BACKEDGE) { // Take yieldpoint if yieldpoint flag is >0 fr1 = asm.forwardJcc(asm.LE); asm.emitCALL_RegDisp(JTOC, VM_Entrypoints.yieldpointFromBackedgeMethod.getOffsetAsInt()); } else { // EPILOGUE // Take yieldpoint if yieldpoint flag is non-zero (either 1 or -1) fr1 = asm.forwardJcc(asm.EQ); asm.emitCALL_RegDisp(JTOC, VM_Entrypoints.yieldpointFromEpilogueMethod.getOffsetAsInt()); } fr1.resolve(asm); //-#if RVM_WITH_ADAPTIVE_SYSTEM if (options.INVOCATION_COUNTERS) { int id = compiledMethod.getId(); com.ibm.JikesRVM.adaptive.VM_InvocationCounts.allocateCounter(id); asm.emitMOV_Reg_RegDisp(ECX, JTOC, VM_Entrypoints.invocationCountsField.getOffsetAsInt()); asm.emitSUB_RegDisp_Imm(ECX, compiledMethod.getId() << 2, 1); VM_ForwardReference notTaken = asm.forwardJcc(asm.GT); asm.emitPUSH_Imm(id); genParameterRegisterLoad(1); asm.emitCALL_RegDisp(JTOC, VM_Entrypoints.invocationCounterTrippedMethod.getOffsetAsInt()); notTaken.resolve(asm); } //-#endif }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/c19269673fcdd14e39a92c30e8ccef4cb7ce0402/VM_Compiler.java/clean/rvm/src/vm/arch/intel/compilers/baseline/VM_Compiler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
727,
918,
3157,
3830,
10200,
4709,
261,
474,
1625,
1265,
13,
288,
565,
309,
16051,
291,
14126,
1523,
13,
288,
1377,
327,
31,
565,
289,
377,
368,
2650,
1620,
3764,
5317,
565,
8251,
67,
5164,
2042,
1119,
18,
18356,
8583,
974,
1190,
1170,
81,
12,
23522,
16,
8251,
67,
1622,
4139,
18,
22188,
16348,
1153,
974,
18,
588,
2335,
9334,
374,
1769,
565,
8251,
67,
8514,
2404,
3812,
21,
31,
565,
309,
261,
6051,
1265,
422,
8251,
67,
3830,
18,
3373,
4842,
1821,
13,
288,
1377,
368,
17129,
2824,
1153,
309,
2824,
1153,
2982,
353,
1661,
17,
7124,
261,
73,
2927,
404,
578,
300,
21,
13,
1377,
3812,
21,
273,
20415,
18,
11565,
46,
952,
12,
23522,
18,
27247,
1769,
1377,
20415,
18,
18356,
13730,
67,
1617,
1669,
84,
12,
46,
4296,
39,
16,
8251,
67,
1622,
4139,
18,
23604,
1153,
1265,
626,
1330,
344,
1305,
18,
588,
2335,
31720,
10663,
377,
289,
469,
309,
261,
6051,
1265,
422,
8251,
67,
3830,
18,
8720,
27732,
13,
288,
1377,
368,
17129,
2824,
1153,
309,
2824,
1153,
2982,
353,
405,
20,
1377,
3812,
21,
273,
20415,
18,
11565,
46,
952,
12,
23522,
18,
900,
1769,
1377,
20415,
18,
18356,
13730,
67,
1617,
1669,
84,
12,
46,
4296,
39,
16,
8251,
67,
1622,
4139,
18,
23604,
1153,
1265,
2711,
7126,
1305,
18,
588,
2335,
31720,
10663,
377,
289,
469,
288,
368,
512,
1102,
4842,
1821,
1377,
368,
17129,
2824,
1153,
309,
2824,
1153,
2982,
353,
1661,
17,
7124,
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,
918,
3157,
3830,
10200,
4709,
261,
474,
1625,
1265,
13,
288,
565,
309,
16051,
291,
14126,
1523,
13,
288,
1377,
327,
31,
565,
289,
377,
368,
2650,
1620,
3764,
5317,
565,
8251,
67,
5164,
2042,
1119,
18,
18356,
8583,
974,
1190,
1170,
81,
12,
23522,
16,
8251,
67,
1622,
4139,
18,
22188,
16348,
1153,
974,
18,
588,
2335,
9334,
374,
1769,
565,
8251,
67,
8514,
2404,
3812,
21,
31,
565,
309,
261,
6051,
1265,
422,
8251,
67,
3830,
18,
3373,
4842,
1821,
13,
288,
1377,
368,
17129,
2824,
1153,
309,
2824,
1153,
2982,
353,
1661,
17,
7124,
261,
73,
2927,
404,
578,
300,
21,
13,
1377,
3812,
21,
273,
20415,
18,
11565,
46,
952,
12,
23522,
2
] |
public void widgetSelected(SelectionEvent selectionEvent) { view(createHighlightsURI()); }
|
public void widgetSelected(SelectionEvent selectionEvent) { openPrompt(); }
|
public void widgetSelected(SelectionEvent selectionEvent) { view(createHighlightsURI()); }
|
27487 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27487/4caf1149f61cd88259d2d90ab9e8078360b1ebac/Browser.java/clean/src/syndie/gui/Browser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
3604,
7416,
12,
6233,
1133,
4421,
1133,
13,
288,
1476,
12,
2640,
16205,
87,
3098,
10663,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3604,
7416,
12,
6233,
1133,
4421,
1133,
13,
288,
1476,
12,
2640,
16205,
87,
3098,
10663,
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
] |
session.getLogger().info("AUTH method PLAIN succeeded");
|
getLogger().info("AUTH method PLAIN succeeded");
|
private void doPlainAuth(SMTPSession session, String initialResponse) throws IOException { String userpass = null, user = null, pass = null, responseString = null; if (initialResponse == null) { responseString = "334 OK. Continue authentication"; session.writeResponse(responseString); userpass = session.readCommandLine(); } else { userpass = initialResponse.trim(); } try { if (userpass != null) { userpass = Base64.decodeAsString(userpass); } if (userpass != null) { /* See: RFC 2595, Section 6 The mechanism consists of a single message from the client to the server. The client sends the authorization identity (identity to login as), followed by a US-ASCII NUL character, followed by the authentication identity (identity whose password will be used), followed by a US-ASCII NUL character, followed by the clear-text password. The client may leave the authorization identity empty to indicate that it is the same as the authentication identity. The server will verify the authentication identity and password with the system authentication database and verify that the authentication credentials permit the client to login as the authorization identity. If both steps succeed, the user is logged in. */ StringTokenizer authTokenizer = new StringTokenizer(userpass, "\0"); String authorize_id = authTokenizer.nextToken(); // Authorization Identity user = authTokenizer.nextToken(); // Authentication Identity try { pass = authTokenizer.nextToken(); // Password } catch (java.util.NoSuchElementException _) { // If we got here, this is what happened. RFC 2595 // says that "the client may leave the authorization // identity empty to indicate that it is the same as // the authentication identity." As noted above, // that would be represented as a decoded string of // the form: "\0authenticate-id\0password". The // first call to nextToken will skip the empty // authorize-id, and give us the authenticate-id, // which we would store as the authorize-id. The // second call will give us the password, which we // think is the authenticate-id (user). Then when // we ask for the password, there are no more // elements, leading to the exception we just // caught. So we need to move the user to the // password, and the authorize_id to the user. pass = user; user = authorize_id; } authTokenizer = null; } } catch (Exception e) { // Ignored - this exception in parsing will be dealt // with in the if clause below } // Authenticate user if ((user == null) || (pass == null)) { responseString = "501 Could not decode parameters for AUTH PLAIN"; session.writeResponse(responseString); } else if (session.getConfigurationData().getUsersRepository().test(user, pass)) { session.setUser(user); responseString = "235 Authentication Successful"; session.writeResponse(responseString); session.getLogger().info("AUTH method PLAIN succeeded"); } else { responseString = "535 Authentication Failed"; session.writeResponse(responseString); session.getLogger().error("AUTH method PLAIN failed"); } return; }
|
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/1e54e17c5b4ae0a48897dc42c15ec5fe7f7bdac4/AuthCmdHandler.java/buggy/trunk/src/java/org/apache/james/smtpserver/AuthCmdHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
13360,
1730,
12,
55,
14636,
2157,
1339,
16,
514,
2172,
1064,
13,
5411,
1216,
1860,
288,
3639,
514,
729,
5466,
273,
446,
16,
729,
273,
446,
16,
1342,
273,
446,
16,
766,
780,
273,
446,
31,
3639,
309,
261,
6769,
1064,
422,
446,
13,
288,
5411,
766,
780,
273,
315,
3707,
24,
7791,
18,
16773,
5107,
14432,
5411,
1339,
18,
2626,
1064,
12,
2740,
780,
1769,
5411,
729,
5466,
273,
1339,
18,
896,
21391,
5621,
3639,
289,
469,
288,
5411,
729,
5466,
273,
2172,
1064,
18,
5290,
5621,
3639,
289,
3639,
775,
288,
5411,
309,
261,
1355,
5466,
480,
446,
13,
288,
7734,
729,
5466,
273,
3360,
1105,
18,
3922,
8092,
12,
1355,
5466,
1769,
5411,
289,
5411,
309,
261,
1355,
5466,
480,
446,
13,
288,
7734,
1748,
225,
2164,
30,
8372,
576,
6162,
25,
16,
10092,
1666,
10792,
1021,
12860,
20915,
434,
279,
2202,
883,
628,
326,
1004,
358,
326,
10792,
1438,
18,
225,
1021,
1004,
9573,
326,
6093,
4215,
261,
10781,
358,
10792,
3925,
487,
3631,
10860,
635,
279,
11836,
17,
13756,
423,
1506,
3351,
16,
10860,
635,
326,
10792,
5107,
4215,
261,
10781,
8272,
2201,
903,
506,
1399,
3631,
10792,
10860,
635,
279,
11836,
17,
13756,
423,
1506,
3351,
16,
10860,
635,
326,
2424,
17,
955,
10792,
2201,
18,
225,
1021,
1004,
2026,
8851,
326,
6093,
4215,
1008,
358,
10792,
10768,
716,
518,
353,
326,
1967,
487,
326,
5107,
4215,
18,
10792,
1021,
1438,
903,
3929,
326,
5107,
4215,
471,
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,
741,
13360,
1730,
12,
55,
14636,
2157,
1339,
16,
514,
2172,
1064,
13,
5411,
1216,
1860,
288,
3639,
514,
729,
5466,
273,
446,
16,
729,
273,
446,
16,
1342,
273,
446,
16,
766,
780,
273,
446,
31,
3639,
309,
261,
6769,
1064,
422,
446,
13,
288,
5411,
766,
780,
273,
315,
3707,
24,
7791,
18,
16773,
5107,
14432,
5411,
1339,
18,
2626,
1064,
12,
2740,
780,
1769,
5411,
729,
5466,
273,
1339,
18,
896,
21391,
5621,
3639,
289,
469,
288,
5411,
729,
5466,
273,
2172,
1064,
18,
5290,
5621,
3639,
289,
3639,
775,
288,
5411,
309,
261,
1355,
5466,
480,
446,
13,
288,
7734,
729,
5466,
273,
3360,
1105,
18,
3922,
8092,
12,
1355,
5466,
1769,
2
] |
char c = readCh();
|
int c = readCh();
|
private void readEntityDecl(boolean inExternalSubset) throws IOException, XMLStreamException { int flags = 0; // Check if parameter entity boolean peFlag = false; expandPE = false; requireWhitespace(); if (tryRead('%')) { peFlag = true; requireWhitespace(); } expandPE = true; // Read entity name String name = readNmtoken(true); if (name.indexOf(':') != -1) error("illegal character ':' in entity name", name); if (peFlag) name = "%" + name; requireWhitespace(); mark(1); char c = readCh(); reset(); if (c == '"' || c == '\'') { // Internal entity replacement text String value = readLiteral(flags | LIT_DISABLE_EREF); doctype.addEntityDecl(name, value, inExternalSubset); } else { ExternalIds ids = readExternalIds(false, false); // Check for NDATA boolean white = tryWhitespace(); if (!peFlag && tryRead("NDATA")) { if (!white) error("whitespace required before NDATA"); requireWhitespace(); ids.notationName = readNmtoken(true); } doctype.addEntityDecl(name, ids, inExternalSubset); } // finish skipWhitespace(); require('>'); }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/b91aa9e58f8db725da1b33461ffd38af23bedf33/XMLParser.java/buggy/gnu/xml/stream/XMLParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
855,
1943,
3456,
12,
6494,
316,
6841,
20315,
13,
565,
1216,
1860,
16,
21526,
225,
288,
565,
509,
2943,
273,
374,
31,
565,
368,
2073,
309,
1569,
1522,
565,
1250,
2804,
4678,
273,
629,
31,
565,
4542,
1423,
273,
629,
31,
565,
2583,
9431,
5621,
565,
309,
261,
698,
1994,
2668,
8604,
3719,
1377,
288,
3639,
2804,
4678,
273,
638,
31,
3639,
2583,
9431,
5621,
1377,
289,
565,
4542,
1423,
273,
638,
31,
565,
368,
2720,
1522,
508,
565,
514,
508,
273,
855,
50,
1010,
969,
12,
3767,
1769,
565,
309,
261,
529,
18,
31806,
2668,
2497,
13,
480,
300,
21,
13,
1377,
555,
2932,
31751,
3351,
3921,
316,
1522,
508,
3113,
508,
1769,
565,
309,
261,
347,
4678,
13,
1377,
508,
273,
20880,
397,
508,
31,
565,
2583,
9431,
5621,
565,
2267,
12,
21,
1769,
565,
509,
276,
273,
855,
782,
5621,
565,
2715,
5621,
565,
309,
261,
71,
422,
4754,
747,
276,
422,
14118,
6134,
1377,
288,
3639,
368,
3186,
1522,
6060,
977,
3639,
514,
460,
273,
855,
6177,
12,
7133,
571,
511,
1285,
67,
13498,
2782,
67,
654,
26897,
1769,
3639,
24909,
18,
1289,
1943,
3456,
12,
529,
16,
460,
16,
316,
6841,
20315,
1769,
1377,
289,
565,
469,
1377,
288,
3639,
11352,
2673,
3258,
273,
855,
6841,
2673,
12,
5743,
16,
629,
1769,
3639,
368,
2073,
364,
423,
4883,
3639,
1250,
9578,
273,
775,
9431,
5621,
3639,
309,
16051,
347,
4678,
597,
775,
1994,
2932,
2908,
3706,
6,
3719,
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,
282,
3238,
918,
855,
1943,
3456,
12,
6494,
316,
6841,
20315,
13,
565,
1216,
1860,
16,
21526,
225,
288,
565,
509,
2943,
273,
374,
31,
565,
368,
2073,
309,
1569,
1522,
565,
1250,
2804,
4678,
273,
629,
31,
565,
4542,
1423,
273,
629,
31,
565,
2583,
9431,
5621,
565,
309,
261,
698,
1994,
2668,
8604,
3719,
1377,
288,
3639,
2804,
4678,
273,
638,
31,
3639,
2583,
9431,
5621,
1377,
289,
565,
4542,
1423,
273,
638,
31,
565,
368,
2720,
1522,
508,
565,
514,
508,
273,
855,
50,
1010,
969,
12,
3767,
1769,
565,
309,
261,
529,
18,
31806,
2668,
2497,
13,
480,
300,
21,
13,
1377,
555,
2932,
31751,
3351,
3921,
316,
1522,
508,
3113,
508,
1769,
565,
309,
2
] |
0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 881, 232, 51, 52, 53, 54, 55, 56, 0, 251, 251, 251, 57, 251, 0, 0, 0, 251, 251, 0, 0, 0, 251, 0, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 0, 251, 251, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 251, 251, 251, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 4, 5, 6, 251, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 251, 251, 251, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 4, 5, 6, 251, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0,
|
private static final short[] yyTable4() { return new short[] { 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 45, 58, 0, 46, 47, 48, 49, 0, 50, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 3, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 45, 233, 0, 261, 47, 48, 49, 0, 50, 412, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 0, 0, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 233, 0, 0, 0, 0, 45, 0, 0, 46, 47, 48, 49, 0, 50, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 0, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 0, 0, 46, 47, 48, 49, 0, 50, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 0, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 231, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 231, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 414, 48, 49, 0, 231, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 611, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 615, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 611, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 804, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 808, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 812, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 867, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 251, 0, 0, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 869, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 881, 232, 51, 52, 53, 54, 55, 56, 0, 251, 251, 251, 57, 251, 0, 0, 0, 251, 251, 0, 0, 0, 251, 0, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 0, 251, 251, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 251, 251, 251, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 4, 5, 6, 251, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 266, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 526, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 526, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 593, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 483, 0, 0, 0, 0, 0, 0, 483, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 641, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 483, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 769, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 798, 0, 51, 52, 53, 54, 55, 56, 0, 483, 483, 483, 57, 483, 0, 0, 0, 483, 483, 0, 0, 0, 483, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 0, 483, 483, 0, 483, 483, 59, 0, 0, 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 0, 0, 0, 483, 483, 483, 483, 483, 483, 0, 4, 5, 6, 483, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 0, 207, 0, 0, 106, 47, 48, 49, 0, 47, 0, 51, 52, 53, 54, 55, 56, 0, 213, 213, 213, 57, 213, 0, 0, 0, 213, 213, 0, 0, 0, 213, 0, 213, 213, 213, 213, 213, 213, 213, 47, 0, 0, 0, 213, 213, 213, 213, 213, 213, 213, 0, 0, 0, 0, 0, 0, 47, 47, 0, 213, 0, 0, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 0, 213, 213, 0, 213, 213, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 213, 0, 0, 213, 213, 213, 213, 175, 0, 174, 213, 213, 213, 213, 213, 213, 0, 0, 0, 0, 213, 0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 47, 47, 47, 0, 0, 47, 47, 47, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 47, 47, 0, 47, 47, 47, 47, 47, 0, 0, 0, 0, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 251, 0, 199, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 0, 200, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 0, 0, 199, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 183, 178, 0, 186, 0, 181, 179, 0, 180, 173, 182, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 176, 182, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 35, 36, 159, 38, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 116, 117, 118, 119, 120, 121, 122, 123, 0, 173, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 281, 282, 199, 283, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 183, 178, 0, 0, 0, 181, 179, 0, 180, 173, 182, 0, 0, 0, 520, 516, 0, 0, 521, 0, 0, 0, 0, 175, 0, 174, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 183, 178, 0, 0, 0, 181, 179, 0, 180, 173, 182, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 177, 184, 185, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 0, 0, 199, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 0, 0, 0, 0, 546, 509, 0, 0, 547, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 584, 509, 0, 0, 585, 0, 0, 0, 0, 173, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 587, 516, 0, 173, 588, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 183, 178, 0, 0, 0, 181, 179, 0, 180, 173, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 177, 184, 185, 175, 0, 174, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 175, 0, 174, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 177, 184, 185, 175, 0, 174, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 175, 0, 174, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 177, 184, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 602, 509, 0, 0, 603, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 605, 516, 0, 0, 606, 0, 0, 0, 0, 173, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 643, 509, 0, 173, 644, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 646, 516, 0, 0, 647, 0, 0, 0, 0, 173, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 857, 509, 0, 173, 858, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 860, 516, 0, 0, 861, 0, 0, 0, 0, 173, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 4, 5, 6, 0, 8, 0, 0, 173, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 102, 34, 35, 36, 103, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 104, 0, 0, 105, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 107, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 0, 0, 46, 47, 48, 49, 0, 50, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 107, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 276, 0, 0, 349, 47, 48, 49, 0, 350, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 107, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 276, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 107, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 787, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 107, }; }
|
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/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,
1388,
24,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
565,
374,
16,
565,
374,
16,
282,
5342,
16,
282,
4200,
16,
282,
9035,
16,
282,
11201,
16,
282,
10213,
16,
282,
4248,
16,
282,
6969,
16,
2398,
374,
16,
565,
374,
16,
282,
10659,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
282,
12732,
16,
282,
9131,
16,
5411,
12899,
16,
282,
5196,
16,
282,
8231,
16,
282,
3847,
16,
282,
13159,
16,
282,
13438,
16,
282,
13191,
16,
282,
6580,
16,
282,
18091,
16,
282,
18012,
16,
5411,
16977,
16,
282,
8063,
16,
565,
374,
16,
282,
20170,
16,
282,
14856,
16,
565,
374,
16,
282,
21193,
16,
282,
13291,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
282,
14995,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
282,
12292,
16,
282,
17066,
16,
565,
374,
16,
282,
17077,
16,
5411,
17495,
16,
282,
9934,
16,
282,
17160,
16,
565,
374,
16,
282,
6437,
16,
565,
374,
16,
282,
21119,
16,
282,
18106,
16,
282,
15935,
16,
282,
22431,
16,
5411,
21483,
16,
282,
13850,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
282,
15981,
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,
1388,
24,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
565,
374,
16,
565,
374,
16,
282,
5342,
16,
282,
4200,
16,
282,
9035,
16,
282,
11201,
16,
282,
10213,
16,
282,
4248,
16,
282,
6969,
16,
2398,
374,
16,
565,
374,
16,
282,
10659,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
282,
12732,
16,
282,
9131,
16,
5411,
12899,
16,
282,
5196,
16,
282,
8231,
16,
282,
3847,
16,
282,
13159,
16,
282,
13438,
16,
282,
13191,
16,
282,
6580,
16,
282,
18091,
16,
282,
18012,
16,
5411,
16977,
16,
282,
8063,
16,
565,
374,
16,
282,
20170,
16,
2
] |
public int getNightDuration(){ return getIntColumnValue(getColumnNameNightDuration()); }
|
public int getNightDuration() { return getIntColumnValue(getColumnNameNightDuration()); }
|
public int getNightDuration(){ return getIntColumnValue(getColumnNameNightDuration()); }
|
57001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57001/33e5c85ca31478329116ab80b95fd07320394530/AccountPhoneEntryBMPBean.java/buggy/src/java/com/idega/block/finance/data/AccountPhoneEntryBMPBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
11069,
750,
5326,
1435,
95,
565,
327,
8145,
29515,
12,
588,
8516,
50,
750,
5326,
10663,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
11069,
750,
5326,
1435,
95,
565,
327,
8145,
29515,
12,
588,
8516,
50,
750,
5326,
10663,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void setAsChildFor(User personToSet, User parent) throws CreateException, RemoteException, java.rmi.RemoteException;
|
public void setAsChildFor(User personToSet, User parent) throws CreateException, RemoteException, java.rmi.RemoteException;
|
public void setAsChildFor(User personToSet, User parent) throws CreateException, RemoteException, java.rmi.RemoteException;
|
57353 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57353/57f2f857238b73420255a22299b47b59aa516640/MemberFamilyLogic.java/buggy/src/java/is/idega/idegaweb/member/business/MemberFamilyLogic.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
1463,
1763,
1290,
12,
1299,
6175,
25208,
16,
2177,
982,
13,
1216,
1788,
503,
16,
18361,
16,
1082,
202,
6290,
18,
8864,
77,
18,
5169,
503,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
1463,
1763,
1290,
12,
1299,
6175,
25208,
16,
2177,
982,
13,
1216,
1788,
503,
16,
18361,
16,
1082,
202,
6290,
18,
8864,
77,
18,
5169,
503,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (molecule.getDegree(atom) == 1)
|
if (molecule.getBondCount(atom) == 1)
|
public AtomContainer getInitialLongestChain(Molecule molecule) throws org.openscience.cdk.exception.NoSuchAtomException { double [][] conMat = molecule.getConnectionMatrix(); int [][] apsp = PathTools.computeFloydAPSP(conMat); int maxPathLength = 0; int bestStartAtom = -1, bestEndAtom = -1; Atom atom = null, startAtom = null, endAtom =null; for (int f = 0; f < apsp.length; f++) { atom = molecule.getAtomAt(f); if (molecule.getDegree(atom) == 1) { for (int g = 0; g < apsp.length; g++) { if (apsp[f][g] > maxPathLength) { maxPathLength = apsp[f][g]; bestStartAtom = f; bestEndAtom = g; } } } } startAtom = molecule.getAtomAt(bestStartAtom); endAtom = molecule.getAtomAt(bestEndAtom); AtomContainer path = new AtomContainer(); path.addAtom(startAtom); PathTools.depthFirstTargetSearch(molecule, startAtom, endAtom, path); return path; }
|
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/8f48289329a19a6b8b62d1a6692d0a4afd0842c2/AtomPlacer.java/buggy/src/org/openscience/cdk/layout/AtomPlacer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
7149,
2170,
24044,
3708,
395,
3893,
12,
29669,
13661,
13,
1216,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
4064,
18,
28341,
3641,
503,
202,
95,
202,
202,
9056,
5378,
8526,
356,
15947,
273,
13661,
18,
588,
1952,
4635,
5621,
202,
202,
474,
5378,
8526,
513,
1752,
225,
273,
2666,
10348,
18,
9200,
42,
2466,
72,
2203,
3118,
12,
591,
15947,
1769,
202,
202,
474,
943,
743,
1782,
273,
374,
31,
202,
202,
474,
3796,
1685,
3641,
273,
300,
21,
16,
3796,
1638,
3641,
273,
300,
21,
31,
202,
202,
3641,
3179,
273,
446,
16,
787,
3641,
273,
446,
16,
679,
3641,
273,
2011,
31,
202,
202,
1884,
261,
474,
284,
273,
374,
31,
284,
411,
513,
1752,
18,
2469,
31,
284,
27245,
202,
202,
95,
1082,
202,
7466,
273,
13661,
18,
588,
3641,
861,
12,
74,
1769,
1082,
202,
430,
261,
81,
10545,
18,
588,
22885,
12,
7466,
13,
422,
404,
13,
1082,
202,
95,
9506,
202,
1884,
261,
474,
314,
273,
374,
31,
314,
411,
513,
1752,
18,
2469,
31,
314,
27245,
9506,
202,
95,
6862,
202,
430,
261,
438,
1752,
63,
74,
6362,
75,
65,
405,
943,
743,
1782,
13,
6862,
202,
95,
25083,
202,
1896,
743,
1782,
273,
513,
1752,
63,
74,
6362,
75,
15533,
25083,
202,
12729,
1685,
3641,
273,
284,
31,
25083,
202,
12729,
1638,
3641,
273,
314,
31,
6862,
202,
97,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
1937,
3641,
273,
13661,
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,
7149,
2170,
24044,
3708,
395,
3893,
12,
29669,
13661,
13,
1216,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
4064,
18,
28341,
3641,
503,
202,
95,
202,
202,
9056,
5378,
8526,
356,
15947,
273,
13661,
18,
588,
1952,
4635,
5621,
202,
202,
474,
5378,
8526,
513,
1752,
225,
273,
2666,
10348,
18,
9200,
42,
2466,
72,
2203,
3118,
12,
591,
15947,
1769,
202,
202,
474,
943,
743,
1782,
273,
374,
31,
202,
202,
474,
3796,
1685,
3641,
273,
300,
21,
16,
3796,
1638,
3641,
273,
300,
21,
31,
202,
202,
3641,
3179,
273,
446,
16,
787,
3641,
273,
446,
16,
679,
3641,
273,
2011,
31,
202,
202,
1884,
261,
474,
284,
273,
374,
31,
284,
2
] |
suite.addTest(new VersionSettingTestSuite(testClass, "SNMPv1 Tests", SnmpAgentConfig.VERSION1)); suite.addTest(new VersionSettingTestSuite(testClass, "SNMPv2 Tests", SnmpAgentConfig.VERSION2C));
|
TestSuite joeSuite = new PropertySettingTestSuite("JoeSnmp Tests", "org.opennms.snmp.strategyClass", "org.opennms.netmgt.snmp.joesnmp.JoeSnmpStrategy"); joeSuite.addTest(new VersionSettingTestSuite(testClass, "SNMPv1 Tests", SnmpAgentConfig.VERSION1)); joeSuite.addTest(new VersionSettingTestSuite(testClass, "SNMPv2 Tests", SnmpAgentConfig.VERSION2C)); joeSuite.addTest(new VersionSettingTestSuite(testClass, "SNMPv3 Tests", SnmpAgentConfig.VERSION3)); suite.addTest(joeSuite); TestSuite snmp4jSuite = new PropertySettingTestSuite("SNMP4J Tests", "org.opennms.snmp.strategyClass", "org.opennms.netmgt.snmp.snmp4j.Snmp4JStrategy"); snmp4jSuite.addTest(new VersionSettingTestSuite(testClass, "SNMPv1 Tests", SnmpAgentConfig.VERSION1)); snmp4jSuite.addTest(new VersionSettingTestSuite(testClass, "SNMPv2 Tests", SnmpAgentConfig.VERSION2C)); snmp4jSuite.addTest(new VersionSettingTestSuite(testClass, "SNMPv3 Tests", SnmpAgentConfig.VERSION3)); suite.addTest(snmp4jSuite);
|
public static TestSuite suite() { Class testClass = IfSnmpCollectorTest.class; TestSuite suite = new TestSuite(testClass.getName()); suite.addTest(new VersionSettingTestSuite(testClass, "SNMPv1 Tests", SnmpAgentConfig.VERSION1)); suite.addTest(new VersionSettingTestSuite(testClass, "SNMPv2 Tests", SnmpAgentConfig.VERSION2C)); return suite; }
|
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/c14187cc8d8c3fe190fca48e4c239a30f53ede6c/IfSnmpCollectorTest.java/clean/src/services/org/opennms/netmgt/capsd/IfSnmpCollectorTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
7766,
13587,
11371,
1435,
288,
3639,
1659,
1842,
797,
273,
971,
10461,
1291,
7134,
4709,
18,
1106,
31,
3639,
7766,
13587,
11371,
273,
394,
7766,
13587,
12,
3813,
797,
18,
17994,
10663,
3639,
11371,
18,
1289,
4709,
12,
2704,
4049,
5568,
4709,
13587,
12,
3813,
797,
16,
315,
13653,
4566,
90,
21,
7766,
87,
3113,
18961,
1291,
3630,
809,
18,
5757,
21,
10019,
3639,
11371,
18,
1289,
4709,
12,
2704,
4049,
5568,
4709,
13587,
12,
3813,
797,
16,
315,
13653,
4566,
90,
22,
7766,
87,
3113,
18961,
1291,
3630,
809,
18,
5757,
22,
39,
10019,
3639,
327,
11371,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
7766,
13587,
11371,
1435,
288,
3639,
1659,
1842,
797,
273,
971,
10461,
1291,
7134,
4709,
18,
1106,
31,
3639,
7766,
13587,
11371,
273,
394,
7766,
13587,
12,
3813,
797,
18,
17994,
10663,
3639,
11371,
18,
1289,
4709,
12,
2704,
4049,
5568,
4709,
13587,
12,
3813,
797,
16,
315,
13653,
4566,
90,
21,
7766,
87,
3113,
18961,
1291,
3630,
809,
18,
5757,
21,
10019,
3639,
11371,
18,
1289,
4709,
12,
2704,
4049,
5568,
4709,
13587,
12,
3813,
797,
16,
315,
13653,
4566,
90,
22,
7766,
87,
3113,
18961,
1291,
3630,
809,
18,
5757,
22,
39,
10019,
3639,
327,
11371,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
private AnAction processGroupElement(Element element, final ClassLoader loader, PluginId pluginId) { final Application app = ApplicationManager.getApplication(); final IdeaPluginDescriptor plugin = app.getPlugin(pluginId); @NonNls final String resBundleName = plugin != null ? plugin.getResourceBundleBaseName() : ACTIONS_BUNDLE; ResourceBundle bundle = null; if (resBundleName != null) { bundle = ResourceBundle.getBundle(resBundleName, Locale.getDefault(), loader); } if (LOG.isDebugEnabled()) { LOG.debug("enter: processGroupElement(" + element.getName() + ")"); } if (!GROUP_ELEMENT_NAME.equals(element.getName())) { LOG.error("unexpected name of element \"" + element.getName() + "\""); return null; } String className = element.getAttributeValue(CLASS_ATTR_NAME); if (className == null) { // use default group if class isn't specified className = DefaultActionGroup.class.getName(); } try { Class aClass = Class.forName(className, true, loader); Object obj = new ConstructorInjectionComponentAdapter(className, aClass).getComponentInstance(ApplicationManager.getApplication().getPicoContainer()); if (!(obj instanceof ActionGroup)) { LOG.error("class with name \"" + className + "\" should be instance of " + ActionGroup.class.getName()); return null; } if (element.getChildren().size() != element.getChildren(ADD_TO_GROUP_ELEMENT_NAME).size() ) { // if (!(obj instanceof DefaultActionGroup)) { LOG.error("class with name \"" + className + "\" should be instance of " + DefaultActionGroup.class.getName() + " because there are children specified"); return null; } } ActionGroup group = (ActionGroup)obj; // read ID and register loaded group String id = element.getAttributeValue(ID_ATTR_NAME); if (id != null && id.length() == 0) { LOG.error("ID of the group cannot be an empty string"); return null; } if (Boolean.valueOf(element.getAttributeValue(INTERNAL_ATTR_NAME)).booleanValue() && !ApplicationManagerEx.getApplicationEx().isInternal()) { myNotRegisteredInternalActionIds.add(id); return null; } if (id != null) { registerAction(id, group); } // text Presentation presentation = group.getTemplatePresentation(); String text = loadTextForElement(element, bundle, id, GROUP_ELEMENT_NAME); presentation.setText(text); // description String description = loadDescriptionForElement(element, bundle, id, GROUP_ELEMENT_NAME); presentation.setDescription(description); // icon setIcon(element.getAttributeValue(ICON_ATTR_NAME), className, loader, presentation); // popup String popup = element.getAttributeValue(POPAP_ATTR_NAME); if (popup != null) { group.setPopup(Boolean.valueOf(popup).booleanValue()); } // process all group's children. There are other groups, actions, references and links for (final Object o : element.getChildren()) { Element child = (Element)o; String name = child.getName(); if (ACTION_ELEMENT_NAME.equals(name)) { AnAction action = processActionElement(child, loader, pluginId); if (action != null) { assertActionIsGroupOrStub(action); ((DefaultActionGroup)group).add(action, this); } } else if (SEPARATOR_ELEMENT_NAME.equals(name)) { processSeparatorNode((DefaultActionGroup)group, child); } else if (GROUP_ELEMENT_NAME.equals(name)) { AnAction action = processGroupElement(child, loader, pluginId); if (action != null) { ((DefaultActionGroup)group).add(action, this); } } else if (ADD_TO_GROUP_ELEMENT_NAME.equals(name)) { processAddToGroupNode(group, child); } else if (REFERENCE_ELEMENT_NAME.equals(name)) { AnAction action = processReferenceElement(child); if (action != null) { ((DefaultActionGroup)group).add(action, this); } } else { LOG.error("unexpected name of element \"" + name + "\n"); return null; } } return group; } catch (ClassNotFoundException e) { LOG.error("class with name \"" + className + "\" not found"); return null; } catch (Exception e) { LOG.error("cannot create class \"" + className + "\"", e); return null; } }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
979,
1803,
2567,
1114,
1046,
12,
1046,
2956,
16,
6385,
7805,
6714,
16,
3773,
548,
4094,
548,
15329,
6385,
3208,
2910,
33,
3208,
1318,
18,
588,
3208,
5621,
6385,
45,
323,
69,
3773,
3187,
4094,
33,
2910,
18,
588,
3773,
12,
4094,
548,
1769,
36,
3989,
50,
3251,
6385,
780,
455,
3405,
461,
33,
4094,
5,
33,
2011,
35,
4094,
18,
588,
18731,
29907,
13332,
12249,
55,
67,
30245,
31,
18731,
9991,
33,
2011,
31,
430,
12,
455,
3405,
461,
5,
33,
2011,
15329,
9991,
33,
18731,
18,
588,
3405,
12,
455,
3405,
461,
16,
3916,
18,
588,
1868,
9334,
6714,
1769,
97,
430,
12,
4842,
18,
291,
2829,
1526,
10756,
95,
4842,
18,
4148,
2932,
2328,
30,
2567,
1114,
1046,
2932,
15,
2956,
18,
17994,
1435,
9078,
2225,
1769,
97,
430,
12,
5,
8468,
67,
10976,
67,
1985,
18,
14963,
12,
2956,
18,
17994,
1435,
3719,
95,
4842,
18,
1636,
2932,
21248,
529,
792,
2956,
8530,
15,
2956,
18,
17994,
1435,
9078,
8530,
1769,
2463,
2011,
31,
97,
780,
12434,
33,
2956,
18,
588,
14942,
12,
5237,
67,
12043,
67,
1985,
1769,
430,
12,
12434,
631,
2011,
15329,
759,
1202,
1886,
1655,
430,
1106,
291,
82,
1404,
13827,
12434,
33,
1868,
1803,
1114,
18,
1106,
18,
17994,
5621,
97,
698,
95,
797,
69,
797,
33,
797,
18,
1884,
461,
12,
12434,
16,
3767,
16,
6714,
1769,
921,
2603,
33,
2704,
6293,
12039,
1841,
4216,
12,
12434,
16,
69,
797,
2934,
588,
1841,
1442,
12,
3208,
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,
979,
1803,
2567,
1114,
1046,
12,
1046,
2956,
16,
6385,
7805,
6714,
16,
3773,
548,
4094,
548,
15329,
6385,
3208,
2910,
33,
3208,
1318,
18,
588,
3208,
5621,
6385,
45,
323,
69,
3773,
3187,
4094,
33,
2910,
18,
588,
3773,
12,
4094,
548,
1769,
36,
3989,
50,
3251,
6385,
780,
455,
3405,
461,
33,
4094,
5,
33,
2011,
35,
4094,
18,
588,
18731,
29907,
13332,
12249,
55,
67,
30245,
31,
18731,
9991,
33,
2011,
31,
430,
12,
455,
3405,
461,
5,
33,
2011,
15329,
9991,
33,
18731,
18,
588,
3405,
12,
455,
3405,
461,
16,
3916,
18,
588,
1868,
9334,
6714,
1769,
97,
430,
12,
4842,
18,
291,
2829,
1526,
10756,
95,
4842,
18,
4148,
2932,
2328,
30,
2
] |
||
dup.setSingleton(isSingleton());
|
dup.setSingleton(isSingleton());
|
public RubyObject m_dup() { RubyModule dup = (RubyModule) m_clone(); dup.setupObject(getRubyClass()); dup.setSingleton(isSingleton()); return dup; }
|
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
312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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
312,
67,
26427,
1435,
288,
202,
202,
54,
10340,
3120,
9417,
273,
261,
54,
10340,
3120,
13,
312,
67,
14056,
5621,
202,
202,
26427,
18,
8401,
921,
12,
588,
54,
10340,
797,
10663,
202,
202,
26427,
18,
542,
19571,
12,
291,
19571,
10663,
202,
202,
2463,
9417,
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
] |
min = (int) entry.min; max = (int) entry.max;
|
min = manager.convertRealIntoGraphics((int) entry.min); max = manager.convertRealIntoGraphics((int) entry.max); bin[i] = max;
|
public void paintComponent(Graphics g) { Graphics2D g2D = (Graphics2D) g; g2D.setColor(bgColor); g2D.fillRect(0, 0, WIDTH, HEIGHT); Font font = g2D.getFont(); FontMetrics fontMetrics = g2D.getFontMetrics(); int hFont = fontMetrics.getHeight(); Rectangle2D rStart = font.getStringBounds(min, g2D.getFontRenderContext()); int hStart = (int) rStart.getHeight(); Rectangle2D rEnd = font.getStringBounds(max, g2D.getFontRenderContext()); int hEnd = (int) rEnd.getHeight(); Rectangle2D rInput = font.getStringBounds("timepoint", g2D.getFontRenderContext()); int wInput = (int) rInput.getWidth(); g2D.setColor(axeColor); //y-axis g2D.drawLine(leftBorder, topBorder-8, leftBorder, tS+5); g2D.drawLine(leftBorder, topBorder-8, leftBorder-3, topBorder-5); g2D.drawLine(leftBorder, topBorder-8, leftBorder+3, topBorder-5); // x-axis g2D.drawLine(leftBorder-5, tS, lS+8, tS); g2D.drawLine(lS+5, tS-3, lS+8, tS); g2D.drawLine(lS+5, tS+3, lS+8, tS); // draw output interval g2D.drawString(min, 5, tS-window); g2D.drawLine(leftBorder-5, tS-window, leftBorder, tS-window); g2D.drawString(max, 5, topBorder+window); g2D.drawLine(leftBorder-5, topBorder+window, leftBorder, topBorder+window); g2D.drawString("timepoint", leftBorder+widthStat/2-wInput/2, tS+hFont+5); // cursor start output int xStartOutputPoints[] = {xStartOutput1, xStartOutput2, xStartOutput3}; int yStartOutputPoints[] = {yStartOutput1, yStartOutput2, yStartOutput3}; GeneralPath filledPolygonStartOutput = new GeneralPath(); filledPolygonStartOutput.moveTo(xStartOutputPoints[0], yStartOutputPoints[0]); for (int index = 1; index < xStartOutputPoints.length; index++) filledPolygonStartOutput.lineTo(xStartOutputPoints[index], yStartOutputPoints[index]); filledPolygonStartOutput.closePath(); // paint with selected color g2D.setColor(startColor); g2D.drawString(curMin, 10, tS-hStart-hFont-window); g2D.fill(filledPolygonStartOutput); // cursor end output int xEndOutputPoints[] = {xEndOutput1, xEndOutput2, xEndOutput3}; int yEndOutputPoints[] = {yEndOutput1, yEndOutput2, yEndOutput3}; GeneralPath filledPolygonEndOutput = new GeneralPath(); filledPolygonEndOutput.moveTo(xEndOutputPoints[0], yEndOutputPoints[0]); for (int index = 1; index < xEndOutputPoints.length; index++) filledPolygonEndOutput.lineTo(xEndOutputPoints[index], yEndOutputPoints[index]); filledPolygonEndOutput.closePath(); g2D.setColor(endColor); g2D.drawString(curMax, 10, topBorder+hEnd+hFont+window); g2D.fill(filledPolygonEndOutput); // paint histogram g2D.setColor(binColor); g2D.drawString("Pixel", 5, topBorder+heightStat/2); g2D.drawString("intensity", 5, topBorder+heightStat/2+hEnd+5); PixelsStatsEntry entry; int min, max; for (int i = 0; i < histogramData.length; i++) { entry = histogramData[i]; min = (int) entry.min; max = (int) entry.max; g2D.fillRect(leftBorder+i*sizeBin, max, sizeBin, min-max); } g2D.setColor(axeColor); int y, x; for (int i = 0; i < histogramData.length; i++) { y = (int) histogramData[i].max; x = leftBorder+(i+1)*sizeBin; g2D.drawLine(x, y, x, topBorder+heightStat+5); } // paint layered rectangles g2D.setColor(layerColor); //end rectangle Rectangle2D endOutput = new Rectangle2D.Double(leftBorder, topBorder, widthStat, heightEnd); g2D.fill(endOutput); // start rectangle Rectangle2D startOutput = new Rectangle2D.Double(leftBorder, controlOutputStart, widthStat, heightStart); g2D.fill(startOutput); g2D.setColor(endColor); g2D.draw(endOutput); g2D.setColor(startColor); g2D.draw(startOutput); }
|
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/83f676753e39a506a8cb86c443c49fa697ec99eb/HistogramPanel.java/clean/SRC/org/openmicroscopy/shoola/agents/rnd/pane/HistogramPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12574,
1841,
12,
17558,
314,
13,
202,
95,
202,
202,
17558,
22,
40,
314,
22,
40,
273,
261,
17558,
22,
40,
13,
314,
31,
202,
202,
75,
22,
40,
18,
542,
2957,
12,
12370,
2957,
1769,
202,
202,
75,
22,
40,
18,
5935,
6120,
12,
20,
16,
374,
16,
22631,
16,
4194,
7700,
1769,
3196,
202,
5711,
3512,
273,
314,
22,
40,
18,
588,
5711,
5621,
202,
202,
5711,
5653,
3512,
5653,
273,
314,
22,
40,
18,
588,
5711,
5653,
5621,
202,
202,
474,
366,
5711,
273,
3512,
5653,
18,
588,
2686,
5621,
202,
202,
19463,
22,
40,
436,
1685,
273,
3512,
18,
588,
780,
5694,
12,
1154,
16,
17322,
1082,
202,
75,
22,
40,
18,
588,
5711,
3420,
1042,
10663,
202,
202,
474,
366,
1685,
273,
261,
474,
13,
436,
1685,
18,
588,
2686,
5621,
202,
202,
19463,
22,
40,
436,
1638,
273,
3512,
18,
588,
780,
5694,
12,
1896,
16,
17322,
1082,
202,
75,
22,
40,
18,
588,
5711,
3420,
1042,
10663,
202,
202,
474,
366,
1638,
273,
261,
474,
13,
436,
1638,
18,
588,
2686,
5621,
202,
202,
19463,
22,
40,
436,
1210,
273,
3512,
18,
588,
780,
5694,
2932,
957,
1153,
3113,
17322,
1082,
202,
75,
22,
40,
18,
588,
5711,
3420,
1042,
10663,
202,
202,
474,
341,
1210,
273,
261,
474,
13,
436,
1210,
18,
588,
2384,
5621,
202,
202,
75,
22,
40,
18,
542,
2957,
12,
651,
73,
2957,
1769,
9506,
202,
759,
93,
17,
4890,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12574,
1841,
12,
17558,
314,
13,
202,
95,
202,
202,
17558,
22,
40,
314,
22,
40,
273,
261,
17558,
22,
40,
13,
314,
31,
202,
202,
75,
22,
40,
18,
542,
2957,
12,
12370,
2957,
1769,
202,
202,
75,
22,
40,
18,
5935,
6120,
12,
20,
16,
374,
16,
22631,
16,
4194,
7700,
1769,
3196,
202,
5711,
3512,
273,
314,
22,
40,
18,
588,
5711,
5621,
202,
202,
5711,
5653,
3512,
5653,
273,
314,
22,
40,
18,
588,
5711,
5653,
5621,
202,
202,
474,
366,
5711,
273,
3512,
5653,
18,
588,
2686,
5621,
202,
202,
19463,
22,
40,
436,
1685,
273,
3512,
18,
588,
780,
5694,
12,
1154,
16,
17322,
1082,
202,
75,
22,
40,
2
] |
if (isTitan()) { Log.warn("Calling getImageNames() for Titan, this is broken."); }
|
public String[] getImageNames() { if (isTitan()) { Log.warn("Calling getImageNames() for Titan, this is broken."); } String[] tempNames; if (baseColor != null) { int specialIncrement = ((isFlier() || isRangestriker()) ? 1 : 0); tempNames = new String[4 + specialIncrement]; String colorSuffix = "-" + (noBaseColor ? "black" : baseColor); tempNames[0] = getImageName(); tempNames[1] = "Power-" + getPower() + colorSuffix; tempNames[2] = "Skill-" + getSkill() + colorSuffix; tempNames[3] = getDisplayName() + "-Name" + colorSuffix; if (specialIncrement > 0) { tempNames[4] = (isFlier() ? "Flying" : "") + (isRangestriker() ? "Rangestrike" : "") + colorSuffix; } } else { tempNames = new String[1]; tempNames[0] = getImageName(); } return tempNames; }
|
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/09f5805bd96759f2d70b19dd28166ff7d69833a8/Creature.java/clean/Colossus/net/sf/colossus/server/Creature.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
10567,
1557,
1435,
565,
288,
3639,
309,
261,
291,
56,
305,
304,
10756,
3639,
288,
5411,
1827,
18,
8935,
2932,
19677,
10567,
1557,
1435,
364,
399,
305,
304,
16,
333,
353,
12933,
1199,
1769,
3639,
289,
3639,
514,
8526,
1906,
1557,
31,
3639,
309,
261,
1969,
2957,
480,
446,
13,
3639,
288,
5411,
509,
4582,
10798,
273,
14015,
291,
42,
9800,
1435,
747,
353,
9932,
313,
1766,
264,
10756,
692,
404,
294,
374,
1769,
5411,
1906,
1557,
273,
7734,
394,
514,
63,
24,
397,
4582,
10798,
15533,
5411,
514,
2036,
5791,
273,
225,
7514,
397,
261,
2135,
2171,
2957,
692,
315,
11223,
6,
294,
1026,
2957,
1769,
5411,
1906,
1557,
63,
20,
65,
273,
10567,
461,
5621,
5411,
1906,
1557,
63,
21,
65,
273,
315,
13788,
10951,
397,
1689,
2085,
1435,
397,
2036,
5791,
31,
13491,
1906,
1557,
63,
22,
65,
273,
315,
9030,
10951,
397,
1322,
16418,
1435,
397,
2036,
5791,
31,
5411,
1906,
1557,
63,
23,
65,
273,
22055,
1435,
397,
3701,
461,
6,
397,
2036,
5791,
31,
5411,
309,
261,
9371,
10798,
405,
374,
13,
5411,
288,
7734,
1906,
1557,
63,
24,
65,
273,
10792,
261,
291,
42,
9800,
1435,
692,
315,
42,
6291,
6,
294,
1408,
13,
397,
10792,
261,
291,
9932,
313,
1766,
264,
1435,
692,
315,
9932,
313,
2547,
6,
294,
1408,
13,
397,
2036,
5791,
31,
5411,
289,
3639,
289,
3639,
469,
3639,
288,
5411,
1906,
1557,
273,
394,
514,
63,
21,
15533,
5411,
1906,
1557,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
10567,
1557,
1435,
565,
288,
3639,
309,
261,
291,
56,
305,
304,
10756,
3639,
288,
5411,
1827,
18,
8935,
2932,
19677,
10567,
1557,
1435,
364,
399,
305,
304,
16,
333,
353,
12933,
1199,
1769,
3639,
289,
3639,
514,
8526,
1906,
1557,
31,
3639,
309,
261,
1969,
2957,
480,
446,
13,
3639,
288,
5411,
509,
4582,
10798,
273,
14015,
291,
42,
9800,
1435,
747,
353,
9932,
313,
1766,
264,
10756,
692,
404,
294,
374,
1769,
5411,
1906,
1557,
273,
7734,
394,
514,
63,
24,
397,
4582,
10798,
15533,
5411,
514,
2036,
5791,
273,
225,
7514,
397,
261,
2135,
2171,
2957,
692,
315,
11223,
6,
294,
1026,
2957,
1769,
5411,
1906,
1557,
63,
20,
65,
273,
10567,
2
] |
|
public Anchor(Properties attributes) { this("", new Font(attributes)); String value; if ((value = attributes.getProperty(ElementTags.LEADING)) != null) { setLeading(Float.parseFloat(value + "f")); } if ((value = attributes.getProperty(ElementTags.NAME)) != null) { setName(value); } if ((value = attributes.getProperty(ElementTags.REFERENCE)) != null) { setReference(value); }
|
public Anchor() { super(16);
|
public Anchor(Properties attributes) { this("", new Font(attributes)); String value; if ((value = attributes.getProperty(ElementTags.LEADING)) != null) { setLeading(Float.parseFloat(value + "f")); } if ((value = attributes.getProperty(ElementTags.NAME)) != null) { setName(value); } if ((value = attributes.getProperty(ElementTags.REFERENCE)) != null) { setReference(value); } }
|
3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/3a2d835c3d93873589949d3bea5d004641372386/Anchor.java/buggy/itext/src/com/lowagie/text/Anchor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
27285,
12,
2297,
1677,
13,
288,
3639,
333,
2932,
3113,
394,
10063,
12,
4350,
10019,
3639,
514,
460,
31,
3639,
309,
14015,
1132,
273,
1677,
18,
588,
1396,
12,
1046,
3453,
18,
900,
30118,
3719,
480,
446,
13,
288,
5411,
444,
19112,
12,
4723,
18,
2670,
4723,
12,
1132,
397,
315,
74,
7923,
1769,
3639,
289,
3639,
309,
14015,
1132,
273,
1677,
18,
588,
1396,
12,
1046,
3453,
18,
1985,
3719,
480,
446,
13,
288,
5411,
6788,
12,
1132,
1769,
3639,
289,
3639,
309,
14015,
1132,
273,
1677,
18,
588,
1396,
12,
1046,
3453,
18,
14617,
3719,
480,
446,
13,
288,
5411,
31098,
12,
1132,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
27285,
12,
2297,
1677,
13,
288,
3639,
333,
2932,
3113,
394,
10063,
12,
4350,
10019,
3639,
514,
460,
31,
3639,
309,
14015,
1132,
273,
1677,
18,
588,
1396,
12,
1046,
3453,
18,
900,
30118,
3719,
480,
446,
13,
288,
5411,
444,
19112,
12,
4723,
18,
2670,
4723,
12,
1132,
397,
315,
74,
7923,
1769,
3639,
289,
3639,
309,
14015,
1132,
273,
1677,
18,
588,
1396,
12,
1046,
3453,
18,
1985,
3719,
480,
446,
13,
288,
5411,
6788,
12,
1132,
1769,
3639,
289,
3639,
309,
14015,
1132,
273,
1677,
18,
588,
1396,
12,
1046,
3453,
18,
14617,
3719,
480,
446,
13,
288,
5411,
31098,
12,
1132,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for (int i = 0; i < configElements.length; ++i) { IConfigurationElement startElement = configElements[i];
|
IExtensionPoint point = registry.getExtensionPoint( PlatformUI.PLUGIN_ID, IWorkbenchConstants.PL_STARTUP); IExtension[] extensions = point.getExtensions(); for (int i = 0; i < extensions.length; ++i) { IExtension extension = extensions[i];
|
public void run() { IExtensionRegistry registry = Platform.getExtensionRegistry(); IConfigurationElement[] configElements = registry .getConfigurationElementsFor(PlatformUI.PLUGIN_ID, IWorkbenchConstants.PL_STARTUP); for (int i = 0; i < configElements.length; ++i) { IConfigurationElement startElement = configElements[i]; // if the plugin is not in the set of disabled plugins, then // execute the code to start it String id = startElement.getDeclaringExtension().getNamespace(); if (disabledPlugins.indexOf(id) == -1) Platform.run(new EarlyStartupRunnable(startElement)); } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/409c0933509236299f61f59215952d9e4a645039/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
288,
9506,
202,
45,
3625,
4243,
4023,
273,
11810,
18,
588,
3625,
4243,
5621,
9506,
202,
45,
1750,
1046,
8526,
642,
3471,
273,
4023,
25083,
202,
18,
588,
1750,
3471,
1290,
12,
8201,
5370,
18,
19415,
67,
734,
16,
6862,
9506,
202,
45,
2421,
22144,
2918,
18,
6253,
67,
7570,
3079,
1769,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
642,
3471,
18,
2469,
31,
965,
77,
13,
288,
6862,
202,
45,
1750,
1046,
13591,
273,
642,
3471,
63,
77,
15533,
6862,
202,
759,
309,
326,
1909,
353,
486,
316,
326,
444,
434,
5673,
4799,
16,
1508,
6862,
202,
759,
1836,
326,
981,
358,
787,
518,
6862,
202,
780,
612,
273,
13591,
18,
588,
3456,
5968,
3625,
7675,
588,
3402,
5621,
6862,
202,
430,
261,
9278,
9461,
18,
31806,
12,
350,
13,
422,
300,
21,
13,
25083,
202,
8201,
18,
2681,
12,
2704,
512,
20279,
22178,
20013,
12,
1937,
1046,
10019,
9506,
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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,
4023,
273,
11810,
18,
588,
3625,
4243,
5621,
9506,
202,
45,
1750,
1046,
8526,
642,
3471,
273,
4023,
25083,
202,
18,
588,
1750,
3471,
1290,
12,
8201,
5370,
18,
19415,
67,
734,
16,
6862,
9506,
202,
45,
2421,
22144,
2918,
18,
6253,
67,
7570,
3079,
1769,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
642,
3471,
18,
2469,
31,
965,
77,
13,
288,
6862,
202,
45,
1750,
1046,
13591,
273,
642,
3471,
63,
77,
15533,
6862,
202,
759,
309,
326,
1909,
353,
486,
316,
326,
444,
434,
5673,
4799,
16,
1508,
6862,
202,
759,
1836,
326,
981,
358,
787,
518,
6862,
202,
780,
612,
2
] |
private boolean handleDataReceived(Object sender, long seqno, boolean first, Message msg) {
|
private void handleDataReceived(Object sender, long seqno, Message msg) {
|
private boolean handleDataReceived(Object sender, long seqno, boolean first, Message msg) { Entry entry; if(trace) log.trace(new StringBuffer().append(local_addr).append(" <-- DATA(").append(sender). append(": #").append(seqno).append(", first=").append(first)); synchronized(connections) { entry=(Entry)connections.get(sender); if(entry == null) { entry=new Entry(); connections.put(sender, entry); } } synchronized(entry) { // only threads accessing the *same* entry will synchronize, everthing else is concurrent if(entry.received_msgs == null) { if(first) entry.received_msgs=new AckReceiverWindow(seqno); else { if(operational) { if(warn) log.warn(sender + "#" + seqno + " is not tagged as the first message sent by " + sender + " to me (" + local_addr + "); however, the table for received messages from " + sender + " is null. We probably haven't received the first message from " + sender + ". Discarding message: " + msg + ", headers (excluding UnicastHeader): " + msg.getHeaders()); } return false; } } } entry.received_msgs.add(seqno, msg); // entry.received_msgs is guaranteed to be non-null if we get here num_msgs_received++; num_bytes_received+=msg.getLength(); // Try to remove (from the AckReceiverWindow) as many messages as possible as pass them up Message m; while((m=entry.received_msgs.remove()) != null) passUp(new Event(Event.MSG, m)); return true; }
|
51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/31d2099f976d601edfa00b3014c000dc94a78887/UNICAST.java/clean/src/org/jgroups/protocols/UNICAST.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1640,
751,
8872,
12,
921,
5793,
16,
1525,
30734,
16,
2350,
1234,
13,
288,
3639,
3841,
565,
1241,
31,
3639,
309,
12,
5129,
13,
5411,
613,
18,
5129,
12,
2704,
6674,
7675,
6923,
12,
3729,
67,
4793,
2934,
6923,
2932,
411,
413,
8730,
2932,
2934,
6923,
12,
15330,
2934,
8227,
714,
2932,
30,
468,
20387,
6923,
12,
5436,
2135,
2934,
6923,
2932,
16,
1122,
1546,
2934,
6923,
12,
3645,
10019,
3639,
3852,
12,
13313,
13,
288,
5411,
1241,
28657,
1622,
13,
13313,
18,
588,
12,
15330,
1769,
5411,
309,
12,
4099,
422,
446,
13,
288,
7734,
1241,
33,
2704,
3841,
5621,
7734,
5921,
18,
458,
12,
15330,
16,
1241,
1769,
5411,
289,
3639,
289,
3639,
3852,
12,
4099,
13,
288,
368,
1338,
7403,
19531,
326,
380,
14307,
14,
1241,
903,
16978,
16,
14103,
4274,
469,
353,
10020,
5411,
309,
12,
4099,
18,
15213,
67,
27439,
422,
446,
13,
288,
7734,
309,
12,
3645,
13,
10792,
1241,
18,
15213,
67,
27439,
33,
2704,
22322,
12952,
3829,
12,
5436,
2135,
1769,
7734,
469,
288,
10792,
309,
12,
22716,
13,
288,
13491,
309,
12,
8935,
13,
18701,
613,
18,
8935,
12,
15330,
397,
13092,
397,
30734,
397,
315,
353,
486,
12503,
487,
326,
1122,
883,
3271,
635,
315,
397,
5793,
397,
4766,
565,
315,
358,
1791,
7566,
397,
1191,
67,
4793,
397,
315,
1769,
14025,
16,
326,
1014,
364,
5079,
2743,
628,
315,
397,
5793,
397,
4766,
565,
315,
353,
446,
18,
1660,
8656,
15032,
1404,
5079,
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,
1640,
751,
8872,
12,
921,
5793,
16,
1525,
30734,
16,
2350,
1234,
13,
288,
3639,
3841,
565,
1241,
31,
3639,
309,
12,
5129,
13,
5411,
613,
18,
5129,
12,
2704,
6674,
7675,
6923,
12,
3729,
67,
4793,
2934,
6923,
2932,
411,
413,
8730,
2932,
2934,
6923,
12,
15330,
2934,
8227,
714,
2932,
30,
468,
20387,
6923,
12,
5436,
2135,
2934,
6923,
2932,
16,
1122,
1546,
2934,
6923,
12,
3645,
10019,
3639,
3852,
12,
13313,
13,
288,
5411,
1241,
28657,
1622,
13,
13313,
18,
588,
12,
15330,
1769,
5411,
309,
12,
4099,
422,
446,
13,
288,
7734,
1241,
33,
2704,
3841,
5621,
7734,
5921,
18,
458,
12,
15330,
16,
1241,
1769,
5411,
289,
3639,
289,
3639,
3852,
2
] |
ReportAttachment attachment = (ReportAttachment) selection.getFirstElement();
|
RepositoryAttachment attachment = (RepositoryAttachment) selection.getFirstElement();
|
protected void createAttachmentLayout() { Section section = toolkit.createSection(form.getBody(), ExpandableComposite.TITLE_BAR | Section.TWISTIE); section.setText(LABEL_SECTION_ATTACHMENTS); section.setExpanded(true); section.setLayout(new GridLayout()); section.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); Composite attachmentsComposite = toolkit.createComposite(section); attachmentsComposite.setLayout(new GridLayout()); attachmentsComposite.setLayoutData(new GridData(GridData.FILL_BOTH)); section.setClient(attachmentsComposite); if (getReport().getAttachments().size() > 0) { attachmentsTable = toolkit.createTable(attachmentsComposite, SWT.SINGLE | SWT.BORDER | SWT.FULL_SELECTION); attachmentsTable.setLinesVisible(true); attachmentsTable.setHeaderVisible(true); attachmentsTable.setLayout(new GridLayout()); GridData tableGridData = new GridData(GridData.FILL_BOTH); // tableGridData.heightHint = 100; tableGridData.widthHint = DESCRIPTION_WIDTH; attachmentsTable.setLayoutData(tableGridData); for (int i = 0; i < attachmentsColumns.length; i++) { TableColumn column = new TableColumn(attachmentsTable, SWT.LEFT, i); column.setText(attachmentsColumns[i]); column.setWidth(attachmentsColumnWidths[i]); } TableViewer attachmentsTableViewer = new TableViewer(attachmentsTable); attachmentsTableViewer.setUseHashlookup(true); attachmentsTableViewer.setColumnProperties(attachmentsColumns); attachmentsTableViewer.setSorter(new ViewerSorter() { public int compare(Viewer viewer, Object e1, Object e2) { ReportAttachment attachment1 = (ReportAttachment) e1; ReportAttachment attachment2 = (ReportAttachment) e2; return attachment1.getDateCreated().compareTo(attachment2.getDateCreated()); } }); attachmentsTableViewer.setContentProvider(new IStructuredContentProvider() { public Object[] getElements(Object inputElement) { return getReport().getAttachments().toArray(); } public void dispose() { // ignore } public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { // ignore } }); attachmentsTableViewer.setLabelProvider(new ITableLabelProvider() { public Image getColumnImage(Object element, int columnIndex) { // ReportAttachment attachment = (ReportAttachment) element; return null; } public String getColumnText(Object element, int columnIndex) { ReportAttachment attachment = (ReportAttachment) element; switch (columnIndex) { case 0: return attachment.getDescription(); case 1: return attachment.getContentType(); case 2: return attachment.getCreator(); case 3: return attachment.getDateCreated().toString(); } return "unrecognized column"; } public void addListener(ILabelProviderListener listener) { // ignore } public void dispose() { // ignore } public boolean isLabelProperty(Object element, String property) { // ignore return false; } public void removeListener(ILabelProviderListener listener) { // ignore } }); attachmentsTableViewer.addDoubleClickListener(new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { String address = repository.getUrl() + "/attachment.cgi?id="; if (!event.getSelection().isEmpty()) { StructuredSelection selection = (StructuredSelection) event.getSelection(); ReportAttachment attachment = (ReportAttachment) selection.getFirstElement(); address += attachment.getId() + "&action=view"; ; TaskUiUtil.openUrl(address); } } }); attachmentsTableViewer.setInput(getReport()); } else { toolkit.createLabel(attachmentsComposite, "No attachments"); } }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/d6adf902ecafbef942349464348e4435750dd099/AbstractBugEditor.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/AbstractBugEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
6803,
3744,
1435,
288,
202,
202,
5285,
2442,
273,
5226,
8691,
18,
2640,
5285,
12,
687,
18,
588,
2250,
9334,
16429,
429,
9400,
18,
14123,
67,
21908,
571,
10092,
18,
18869,
5511,
8732,
1769,
202,
202,
3464,
18,
542,
1528,
12,
13545,
67,
19082,
67,
789,
9833,
1792,
3212,
55,
1769,
202,
202,
3464,
18,
542,
17957,
12,
3767,
1769,
202,
202,
3464,
18,
542,
3744,
12,
2704,
7145,
3744,
10663,
202,
202,
3464,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
202,
202,
9400,
10065,
9400,
273,
5226,
8691,
18,
2640,
9400,
12,
3464,
1769,
202,
202,
17828,
9400,
18,
542,
3744,
12,
2704,
7145,
3744,
10663,
202,
202,
17828,
9400,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
38,
18307,
10019,
202,
202,
3464,
18,
542,
1227,
12,
17828,
9400,
1769,
202,
202,
430,
261,
588,
4820,
7675,
588,
12961,
7675,
1467,
1435,
405,
374,
13,
288,
1082,
202,
17828,
1388,
273,
5226,
8691,
18,
2640,
1388,
12,
17828,
9400,
16,
348,
8588,
18,
20184,
571,
348,
8588,
18,
38,
7954,
571,
348,
8588,
18,
18111,
67,
1090,
15445,
1769,
1082,
202,
17828,
1388,
18,
542,
5763,
6207,
12,
3767,
1769,
1082,
202,
17828,
1388,
18,
542,
1864,
6207,
12,
3767,
1769,
1082,
202,
17828,
1388,
18,
542,
3744,
12,
2704,
7145,
3744,
10663,
1082,
202,
6313,
751,
1014,
6313,
751,
273,
394,
7145,
751,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
6803,
3744,
1435,
288,
202,
202,
5285,
2442,
273,
5226,
8691,
18,
2640,
5285,
12,
687,
18,
588,
2250,
9334,
16429,
429,
9400,
18,
14123,
67,
21908,
571,
10092,
18,
18869,
5511,
8732,
1769,
202,
202,
3464,
18,
542,
1528,
12,
13545,
67,
19082,
67,
789,
9833,
1792,
3212,
55,
1769,
202,
202,
3464,
18,
542,
17957,
12,
3767,
1769,
202,
202,
3464,
18,
542,
3744,
12,
2704,
7145,
3744,
10663,
202,
202,
3464,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
202,
202,
9400,
10065,
9400,
273,
5226,
8691,
18,
2640,
9400,
12,
3464,
1769,
202,
202,
17828,
9400,
18,
542,
3744,
12,
2704,
2
] |
if(element == null) return null; while (true) { int offset = element.getTextRange().getStartOffset() - 1; if (offset < 0) return null; element = element.getContainingFile().findElementAt(offset); if (element == null) return null; if (!(element instanceof PsiWhiteSpace) && !(element instanceof PsiComment)) return element; }
|
if(element == null || element.getNode() == null) return null; ASTNode leftNeibour = TreeUtil.prevLeaf(element.getNode()); while (leftNeibour != null && (leftNeibour.getElementType() == TokenType.WHITE_SPACE || leftNeibour.getPsi() instanceof PsiComment)) leftNeibour = TreeUtil.prevLeaf(leftNeibour); return leftNeibour != null ? leftNeibour.getPsi() : null;
|
public static PsiElement searchNonSpaceNonCommentBack(PsiElement element) { if(element == null) return null; while (true) { int offset = element.getTextRange().getStartOffset() - 1; if (offset < 0) return null; element = element.getContainingFile().findElementAt(offset); if (element == null) return null; if (!(element instanceof PsiWhiteSpace) && !(element instanceof PsiComment)) return element; } }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/3a831a6011b018b15f2f75bb5d7cec006dbff4bf/FilterUtil.java/buggy/source/com/intellij/psi/filters/FilterUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
453,
7722,
1046,
1623,
3989,
3819,
3989,
4469,
2711,
12,
52,
7722,
1046,
930,
13,
288,
565,
309,
12,
2956,
422,
446,
13,
327,
446,
31,
565,
1323,
261,
3767,
13,
288,
1377,
509,
1384,
273,
930,
18,
588,
1528,
2655,
7675,
588,
1685,
2335,
1435,
300,
404,
31,
1377,
309,
261,
3348,
411,
374,
13,
327,
446,
31,
1377,
930,
273,
930,
18,
588,
24344,
812,
7675,
4720,
1046,
861,
12,
3348,
1769,
1377,
309,
261,
2956,
422,
446,
13,
327,
446,
31,
1377,
309,
16051,
12,
2956,
1276,
453,
7722,
23108,
13,
597,
401,
12,
2956,
1276,
453,
7722,
4469,
3719,
327,
930,
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,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2956,
422,
446,
13,
327,
446,
31,
565,
1323,
261,
3767,
13,
288,
1377,
509,
1384,
273,
930,
18,
588,
1528,
2655,
7675,
588,
1685,
2335,
1435,
300,
404,
31,
1377,
309,
261,
3348,
411,
374,
13,
327,
446,
31,
1377,
930,
273,
930,
18,
588,
24344,
812,
7675,
4720,
1046,
861,
12,
3348,
1769,
1377,
309,
261,
2956,
422,
446,
13,
327,
446,
31,
1377,
309,
16051,
12,
2956,
1276,
453,
7722,
23108,
13,
597,
401,
12,
2956,
1276,
453,
7722,
4469,
3719,
327,
930,
31,
565,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (jj_3R_107()) {
|
if (jj_3R_108()) {
|
final private boolean jj_3R_68() { Token xsp; xsp = jj_scanpos; lookingAhead = true; jj_semLA = isNextTokenAnAssert(); lookingAhead = false; if (!jj_semLA || jj_3R_106()) { jj_scanpos = xsp; if (jj_3R_107()) { jj_scanpos = xsp; if (jj_3_40()) { jj_scanpos = xsp; if (jj_3R_108()) return true; } } } return false; }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/b068fe5a79db07a544f081402e946a51a0f553c2/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
9470,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
7849,
24250,
273,
638,
31,
565,
10684,
67,
12000,
2534,
273,
353,
9399,
979,
8213,
5621,
565,
7849,
24250,
273,
629,
31,
565,
309,
16051,
78,
78,
67,
12000,
2534,
747,
10684,
67,
23,
54,
67,
22135,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
21770,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
67,
7132,
10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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
9470,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
7849,
24250,
273,
638,
31,
565,
10684,
67,
12000,
2534,
273,
353,
9399,
979,
8213,
5621,
565,
7849,
24250,
273,
629,
31,
565,
309,
16051,
78,
78,
67,
12000,
2534,
747,
10684,
67,
23,
54,
67,
22135,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
21770,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
67,
7132,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
2
] |
index = i;
|
offset = i;
|
public OPT_StringConstantOperand(String v, int i) { value = v; index = i; }
|
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/d1d1434574eb350f48cb1d82f04917a27eea9bdc/OPT_StringConstantOperand.java/buggy/rvm/src/vm/compilers/optimizing/ir/instruction/operand/OPT_StringConstantOperand.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
16456,
67,
780,
6902,
10265,
12,
780,
331,
16,
509,
277,
13,
288,
565,
460,
273,
331,
31,
565,
1384,
273,
277,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
16456,
67,
780,
6902,
10265,
12,
780,
331,
16,
509,
277,
13,
288,
565,
460,
273,
331,
31,
565,
1384,
273,
277,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
RandomAccessStream ras = new RandomAccessStream(getMappedId(id)); ras.seek(offsets[offsets.length - 1]);
|
in.seek(offsets[offsets.length - 1]);
|
protected void initFile(String id) throws FormatException, IOException { if (noJJ2000) throw new FormatException(NO_JJ2000_MSG); super.initFile(id); try { r.setVar("id", getMappedId(id)); r.setVar("read", "r"); r.exec("in = new BEBufferedRandomAccessFile(id, read)"); r.exec("ff = new FileFormatReader(in)"); r.exec("ff.readFileFormat()"); r.exec("offsets = ff.getCodeStreamPos()"); offsets = (long[]) r.getVar("offsets"); } catch (ReflectException e) { throw new FormatException(e); } numImages = offsets.length; pixelType[0] = FormatReader.UINT8; BufferedImage img = openImage(id, 0); sizeX[0] = img.getWidth(); sizeY[0] = img.getHeight(); int numInvalid = 0; for (int i=1; i<offsets.length; i++) { if (offsets[i] - offsets[i - 1] < (sizeX[0] * sizeY[0] / 4)) { offsets[i - 1] = 0; numInvalid++; } } long[] tempOffsets = new long[numImages - numInvalid]; int pt = 0; for (int i=0; i<offsets.length; i++) { if (offsets[i] != 0) { tempOffsets[pt] = offsets[i]; pt++; } } offsets = tempOffsets; numImages = offsets.length; // read XML metadata from the end of the file RandomAccessStream ras = new RandomAccessStream(getMappedId(id)); ras.seek(offsets[offsets.length - 1]); boolean found = false; int off = -1; byte[] buf = new byte[2048]; while (!found) { int read = 0; if (ras.getFilePointer() == offsets[offsets.length - 1]) { read = ras.read(buf); } else { System.arraycopy(buf, buf.length - 10, buf, 0, 10); read = ras.read(buf, 10, buf.length - 10); } if (read == buf.length) read -= 10; for (int i=0; i<read+9; i++) { if (buf[i] == (byte) 0xff && buf[i+1] == (byte) 0xd9) { found = true; off = (int) (ras.getFilePointer() - (read+10) + i); i = buf.length; break; } } } if (off > 0 && off < ras.length() - 5) { ras.seek(off + 5); byte[] b = new byte[(int) (ras.length() - off)]; ras.read(b); String xml = new String(b); // assume that this XML string will be malformed, since that's how both // sample files are; this means we need to manually parse it :-( // first, let's strip out all comments while (xml.indexOf("<!--") != -1) { int start = xml.indexOf("<!--"); int end = xml.indexOf("-->", start); String pre = xml.substring(0, start); String post = xml.substring(end + 3); xml = pre + post; } // strip out binary data at the end - this is irrelevant for our purposes xml = xml.substring(0, xml.lastIndexOf("</MetadataSeq>") + 14); // each chunk appears on a separate line, so split up the chunks StringTokenizer st = new StringTokenizer(xml, "\r\n"); while (st.hasMoreTokens()) { String token = st.nextToken().trim(); if (token.indexOf("<") != -1) { String prefix = token.substring(1, token.indexOf(">")).trim(); token = token.substring(token.indexOf(">") + 1); while (token.indexOf("<") != -1) { int start = token.indexOf("<"); String s = token.substring(start + 1, token.indexOf(">", start)); token = token.substring(token.indexOf(">", start)); // get the prefix for this tag if (s.indexOf(" ") != -1) { String pre = s.substring(0, s.indexOf(" ")).trim(); s = s.substring(s.indexOf(" ") + 1); // get key/value pairs while (s.indexOf("=") != -1) { int eq = s.indexOf("="); String key = s.substring(0, eq).trim(); String value = s.substring(eq + 2, s.indexOf("\"", eq + 2)).trim(); // strip out the data types if (key.indexOf("runtype") == -1) { metadata.put(prefix + " " + pre + " " + key, value); } s = s.substring(s.indexOf("\"", eq + 2) + 1); } } } } } } String sigBits = (String) metadata.get("AdvancedImageAttributes SignificantBits value"); int bits = 0; if (sigBits != null && sigBits.length() > 0) { bits = Integer.parseInt(sigBits.trim()); } // determine the pixel size String pixX = (String) metadata.get( "CalibrationSeq _SEQUENCE_INDEX=\"0\" dCalibration value"); String pixZ = (String) metadata.get( "CalibrationSeq _SEQUENCE_INDEX=\"0\" dAspect value"); float pixSizeX = 0f; float pixSizeZ = 0f; if (pixX != null && pixX.length() > 0) { pixSizeX = Float.parseFloat(pixX.trim()); } if (pixZ != null && pixZ.length() > 0) { pixSizeZ = Float.parseFloat(pixZ.trim()); } String channels = (String) metadata.get("AdvancedImageAttributes VirtualComponents value"); if (channels != null && channels.length() > 0) { sizeC[0] = 3 - Integer.parseInt(channels.trim()); } else sizeC[0] = img.getRaster().getNumBands(); sizeT[0] = numImages; sizeZ[0] = 1; orderCertain[0] = false; currentOrder[0] = sizeC[0] == 3 ? "XYCTZ" : "XYTZC"; pixelType[0] = ImageTools.getPixelType(img); if (bits != 0) { validBits = new int[sizeC[0]]; for (int i=0; i<validBits.length; i++) validBits[i] = bits; } else validBits = null; MetadataStore store = getMetadataStore(id); store.setPixels( new Integer(sizeX[0]), new Integer(sizeY[0]), new Integer(1), new Integer(sizeC[0]), new Integer(numImages), new Integer(pixelType[0]), new Boolean(isLittleEndian(id)), currentOrder[0], null); store.setDimensions(new Float(pixSizeX), new Float(pixSizeX), new Float(pixSizeZ), null, null, null); }
|
46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/7c350b539e3a21909f0aaa3fc0a34c96b0fd2816/ND2Reader.java/buggy/loci/formats/in/ND2Reader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
309,
261,
2135,
46,
46,
17172,
13,
604,
394,
4077,
503,
12,
3417,
67,
46,
46,
17172,
67,
11210,
1769,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
775,
288,
1377,
436,
18,
542,
1537,
2932,
350,
3113,
336,
12868,
548,
12,
350,
10019,
1377,
436,
18,
542,
1537,
2932,
896,
3113,
315,
86,
8863,
1377,
436,
18,
4177,
2932,
267,
273,
394,
9722,
17947,
8529,
26933,
12,
350,
16,
855,
2225,
1769,
1377,
436,
18,
4177,
2932,
1403,
273,
394,
1387,
1630,
2514,
12,
267,
2225,
1769,
1377,
436,
18,
4177,
2932,
1403,
18,
896,
812,
1630,
1435,
8863,
1377,
436,
18,
4177,
2932,
16542,
273,
6875,
18,
588,
1085,
1228,
1616,
1435,
8863,
1377,
8738,
273,
261,
5748,
63,
5717,
436,
18,
588,
1537,
2932,
16542,
8863,
565,
289,
565,
1044,
261,
24452,
503,
425,
13,
288,
604,
394,
4077,
503,
12,
73,
1769,
289,
565,
818,
8946,
273,
8738,
18,
2469,
31,
565,
4957,
559,
63,
20,
65,
273,
4077,
2514,
18,
57,
3217,
28,
31,
565,
12362,
3774,
273,
1696,
2040,
12,
350,
16,
374,
1769,
565,
963,
60,
63,
20,
65,
273,
3774,
18,
588,
2384,
5621,
565,
963,
61,
63,
20,
65,
273,
3774,
18,
588,
2686,
5621,
565,
509,
818,
1941,
273,
374,
31,
565,
364,
261,
474,
277,
33,
21,
31,
277,
32,
16542,
18,
2469,
31,
277,
27245,
288,
1377,
309,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
309,
261,
2135,
46,
46,
17172,
13,
604,
394,
4077,
503,
12,
3417,
67,
46,
46,
17172,
67,
11210,
1769,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
775,
288,
1377,
436,
18,
542,
1537,
2932,
350,
3113,
336,
12868,
548,
12,
350,
10019,
1377,
436,
18,
542,
1537,
2932,
896,
3113,
315,
86,
8863,
1377,
436,
18,
4177,
2932,
267,
273,
394,
9722,
17947,
8529,
26933,
12,
350,
16,
855,
2225,
1769,
1377,
436,
18,
4177,
2932,
1403,
273,
394,
1387,
1630,
2514,
12,
267,
2225,
1769,
1377,
436,
18,
4177,
2932,
1403,
18,
896,
812,
1630,
1435,
8863,
1377,
436,
2
] |
return "true".equalsIgnoreCase(Platform.getDebugOption(JFACE + option));
|
if(Platform.isRunning()) return "true".equalsIgnoreCase(Platform.getDebugOption(JFACE + option)); else return false;
|
private static boolean getDebugOption(String option) { return "true".equalsIgnoreCase(Platform.getDebugOption(JFACE + option)); //$NON-NLS-1$ }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/8e5f2bac243713e1472654faa82a18f0b80eb152/Policy.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/util/Policy.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
1250,
29264,
1895,
12,
780,
1456,
13,
288,
202,
202,
430,
12,
8201,
18,
291,
7051,
10756,
327,
315,
3767,
9654,
14963,
5556,
12,
8201,
18,
588,
2829,
1895,
12,
46,
11300,
397,
1456,
10019,
469,
327,
629,
31,
4329,
3993,
17,
5106,
17,
21,
8,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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326,
981,
30,
225,
202,
1152,
760,
1250,
29264,
1895,
12,
780,
1456,
13,
288,
202,
202,
430,
12,
8201,
18,
291,
7051,
10756,
327,
315,
3767,
9654,
14963,
5556,
12,
8201,
18,
588,
2829,
1895,
12,
46,
11300,
397,
1456,
10019,
469,
327,
629,
31,
4329,
3993,
17,
5106,
17,
21,
8,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
List<Integer> itemIds, byte type, int flags, long tags, TargetConstraint tcon)
|
int itemId, byte type, int flags, long tags)
|
public SetTagsOperation(Session session, OperationContext oc, Mailbox mbox, Requester req, List<Integer> itemIds, byte type, int flags, long tags, TargetConstraint tcon) { super(session, oc, mbox, req, LOAD); mType = type; mFlags = flags; mTags = tags; mTcon = tcon; mItemIds = new int[itemIds.size()]; int i = 0; for (int id : itemIds) mItemIds[i++] = id; }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/5b68c498b8af7901a9a36760783bde0fc185902d/SetTagsOperation.java/buggy/ZimbraServer/src/java/com/zimbra/cs/operation/SetTagsOperation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
29578,
2988,
12,
2157,
1339,
16,
4189,
1042,
13345,
16,
11542,
2147,
312,
2147,
16,
868,
21207,
1111,
16,
7734,
509,
18424,
16,
1160,
618,
16,
509,
2943,
16,
1525,
2342,
13,
565,
288,
3639,
2240,
12,
3184,
16,
13345,
16,
312,
2147,
16,
1111,
16,
24089,
1769,
7734,
312,
559,
273,
618,
31,
3639,
312,
5094,
273,
2943,
31,
3639,
312,
3453,
273,
2342,
31,
3639,
21115,
591,
273,
268,
591,
31,
3639,
312,
1180,
2673,
273,
394,
509,
63,
1726,
2673,
18,
1467,
1435,
15533,
3639,
509,
277,
273,
374,
31,
3639,
364,
261,
474,
612,
294,
761,
2673,
13,
5411,
312,
1180,
2673,
63,
77,
9904,
65,
273,
612,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
29578,
2988,
12,
2157,
1339,
16,
4189,
1042,
13345,
16,
11542,
2147,
312,
2147,
16,
868,
21207,
1111,
16,
7734,
509,
18424,
16,
1160,
618,
16,
509,
2943,
16,
1525,
2342,
13,
565,
288,
3639,
2240,
12,
3184,
16,
13345,
16,
312,
2147,
16,
1111,
16,
24089,
1769,
7734,
312,
559,
273,
618,
31,
3639,
312,
5094,
273,
2943,
31,
3639,
312,
3453,
273,
2342,
31,
3639,
21115,
591,
273,
268,
591,
31,
3639,
312,
1180,
2673,
273,
394,
509,
63,
1726,
2673,
18,
1467,
1435,
15533,
3639,
509,
277,
273,
374,
31,
3639,
364,
261,
474,
612,
294,
761,
2673,
13,
5411,
312,
1180,
2673,
63,
77,
9904,
65,
273,
612,
31,
565,
289,
2,
-100,
-100
] |
fValIDRef = fDatatypeValidatorFactory.getBuiltInDV("XML11IDREFS");
|
fValIDRef = fDatatypeValidatorFactory.getBuiltInDV("XML11IDREF");
|
protected void init() { if(fValidation || fDynamicValidation) { super.init(); // now overwrite some entries in parent: try { fValID = fDatatypeValidatorFactory.getBuiltInDV("XML11ID"); fValIDRef = fDatatypeValidatorFactory.getBuiltInDV("XML11IDREFS"); fValIDRefs = fDatatypeValidatorFactory.getBuiltInDV("XML11IDREFS"); fValNMTOKEN = fDatatypeValidatorFactory.getBuiltInDV("XML11NMTOKENSymbol"); fValNMTOKENS = fDatatypeValidatorFactory.getBuiltInDV("XML11NMTOKENS"); } catch (Exception e) { // should never happen e.printStackTrace(System.err); } } } // init()
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/d5db0c307ccd5ee02d4af81525c263f762ce0499/XML11DTDValidator.java/buggy/src/org/apache/xerces/impl/dtd/XML11DTDValidator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
1435,
288,
3639,
309,
12,
74,
4354,
747,
284,
9791,
4354,
13,
288,
5411,
2240,
18,
2738,
5621,
5411,
368,
2037,
6156,
2690,
3222,
316,
982,
30,
5411,
775,
288,
7734,
284,
3053,
734,
4202,
273,
284,
20228,
5126,
1733,
18,
588,
16409,
382,
30199,
2932,
4201,
2499,
734,
8863,
7734,
284,
3053,
734,
1957,
565,
273,
284,
20228,
5126,
1733,
18,
588,
16409,
382,
30199,
2932,
4201,
2499,
734,
10771,
8863,
7734,
284,
3053,
734,
9837,
282,
273,
284,
20228,
5126,
1733,
18,
588,
16409,
382,
30199,
2932,
4201,
2499,
734,
862,
4931,
8863,
7734,
284,
3053,
50,
6152,
6239,
225,
273,
284,
20228,
5126,
1733,
18,
588,
16409,
382,
30199,
2932,
4201,
2499,
50,
6152,
6239,
5335,
8863,
7734,
284,
3053,
50,
6152,
6239,
55,
273,
284,
20228,
5126,
1733,
18,
588,
16409,
382,
30199,
2932,
4201,
2499,
50,
6152,
6239,
55,
8863,
5411,
289,
5411,
1044,
261,
503,
425,
13,
288,
7734,
368,
1410,
5903,
5865,
7734,
425,
18,
1188,
6332,
12,
3163,
18,
370,
1769,
5411,
289,
3639,
289,
565,
289,
368,
1208,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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288,
7734,
284,
3053,
734,
4202,
273,
284,
20228,
5126,
1733,
18,
588,
16409,
382,
30199,
2932,
4201,
2499,
734,
8863,
7734,
284,
3053,
734,
1957,
565,
273,
284,
20228,
5126,
1733,
18,
588,
16409,
382,
30199,
2932,
4201,
2499,
734,
10771,
8863,
7734,
284,
3053,
734,
9837,
282,
273,
284,
20228,
5126,
1733,
18,
588,
16409,
382,
30199,
2932,
4201,
2499,
734,
862,
4931,
8863,
7734,
284,
3053,
50,
6152,
6239,
225,
273,
284,
20228,
5126,
1733,
18,
588,
16409,
382,
30199,
2932,
4201,
2499,
2
] |
if(pingTime > MAX_THROTTLE_DELAY) {
|
if(bwlimitDelayTime > MAX_THROTTLE_DELAY) {
|
public synchronized boolean shouldRejectRequest() { long now = System.currentTimeMillis(); // Round trip time double pingTime = nodePinger.averagePingTime(); if(pingTime > MAX_PING_TIME) { if(now - lastAcceptedRequest > MAX_INTERREQUEST_TIME) { lastAcceptedRequest = now; return false; } Logger.minor( this, "shouldRejectRequest() == true because >MAX_PING_TIME"); return true; } if(pingTime > SUB_MAX_PING_TIME) { double x = (pingTime - SUB_MAX_PING_TIME) / (MAX_PING_TIME - SUB_MAX_PING_TIME); if(random.nextDouble() < x) Logger.minor( this, "shouldRejectRequest() == true because >SUB_MAX_PING_TIME"); return true; } // Bandwidth limited packets double bwlimitDelayTime = this.throttledPacketSendAverage.currentValue(); if(pingTime > MAX_THROTTLE_DELAY) { if(now - lastAcceptedRequest > MAX_INTERREQUEST_TIME) { lastAcceptedRequest = now; return false; } Logger.minor( this, "shouldRejectRequest() == true because >MAX_THROTTLE_DELAY"); return true; } if(bwlimitDelayTime > SUB_MAX_THROTTLE_DELAY) { double x = (pingTime - SUB_MAX_THROTTLE_DELAY) / (MAX_THROTTLE_DELAY - SUB_MAX_THROTTLE_DELAY); if(random.nextDouble() < x) Logger.minor( this, "shouldRejectRequest() == true because >SUB_MAX_THROTTLE_DELAY"); return true; } lastAcceptedRequest = now; return false; }
|
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/0c0eb1124ee5dea8ea3eb69a18dc5d617f9bfd05/Node.java/clean/src/freenet/node/Node.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
1250,
1410,
21705,
691,
1435,
288,
377,
202,
5748,
2037,
273,
2332,
18,
2972,
28512,
5621,
377,
202,
377,
202,
759,
11370,
20654,
813,
377,
202,
9056,
10087,
950,
273,
756,
52,
6658,
18,
15621,
17223,
950,
5621,
377,
202,
430,
12,
1382,
950,
405,
4552,
67,
20002,
67,
4684,
13,
288,
377,
202,
202,
430,
12,
3338,
300,
1142,
18047,
691,
405,
4552,
67,
9125,
5519,
67,
4684,
13,
288,
377,
1082,
202,
2722,
18047,
691,
273,
2037,
31,
377,
1082,
202,
2463,
629,
31,
377,
202,
202,
97,
377,
202,
202,
3328,
18,
17364,
12,
333,
16,
315,
13139,
21705,
691,
1435,
422,
638,
2724,
405,
6694,
67,
20002,
67,
4684,
8863,
377,
202,
202,
2463,
638,
31,
377,
202,
97,
377,
202,
430,
12,
1382,
950,
405,
10025,
67,
6694,
67,
20002,
67,
4684,
13,
288,
377,
202,
202,
9056,
619,
273,
261,
1382,
950,
300,
10025,
67,
6694,
67,
20002,
67,
4684,
13,
342,
261,
6694,
67,
20002,
67,
4684,
300,
10025,
67,
6694,
67,
20002,
67,
4684,
1769,
377,
202,
202,
430,
12,
9188,
18,
4285,
5265,
1435,
411,
619,
13,
377,
1082,
202,
3328,
18,
17364,
12,
333,
16,
315,
13139,
21705,
691,
1435,
422,
638,
2724,
405,
8362,
67,
6694,
67,
20002,
67,
4684,
8863,
377,
1082,
202,
2463,
638,
31,
377,
202,
97,
377,
202,
377,
202,
759,
27601,
2819,
13594,
12640,
377,
202,
377,
202,
9056,
12986,
3595,
6763,
950,
273,
333,
18,
27971,
1259,
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,
3852,
1250,
1410,
21705,
691,
1435,
288,
377,
202,
5748,
2037,
273,
2332,
18,
2972,
28512,
5621,
377,
202,
377,
202,
759,
11370,
20654,
813,
377,
202,
9056,
10087,
950,
273,
756,
52,
6658,
18,
15621,
17223,
950,
5621,
377,
202,
430,
12,
1382,
950,
405,
4552,
67,
20002,
67,
4684,
13,
288,
377,
202,
202,
430,
12,
3338,
300,
1142,
18047,
691,
405,
4552,
67,
9125,
5519,
67,
4684,
13,
288,
377,
1082,
202,
2722,
18047,
691,
273,
2037,
31,
377,
1082,
202,
2463,
629,
31,
377,
202,
202,
97,
377,
202,
202,
3328,
18,
17364,
12,
333,
16,
315,
13139,
21705,
691,
1435,
422,
638,
2724,
405,
6694,
67,
20002,
67,
4684,
8863,
377,
202,
2
] |
IGetParameterDefinitionTask task = getParameterDefinitionTask( design ); IReportRunnable runnable = getReportRunnable( design ); Map configMap = runnable.getTestConfig( );
|
IGetParameterDefinitionTask task = getParameterDefinitionTask( design ); IReportRunnable runnable = getReportRunnable( design ); Map configMap = runnable.getTestConfig( );
|
public Map getParsedParameters( IViewerReportDesignHandle design, InputOptions options, Map parameters ) throws ReportServiceException { Locale locale = (Locale) options.getOption( InputOptions.OPT_LOCALE ); Collection parameterList = getParameterDefinitions( design, options, false ); Map paramMap = new HashMap( ); Boolean isDesignerBoolean = (Boolean) options .getOption( InputOptions.OPT_IS_DESIGNER ); boolean isDesigner = ( isDesignerBoolean != null ? isDesignerBoolean .booleanValue( ) : false ); IGetParameterDefinitionTask task = getParameterDefinitionTask( design ); IReportRunnable runnable = getReportRunnable( design ); Map configMap = runnable.getTestConfig( ); for ( Iterator iter = parameterList.iterator( ); iter.hasNext( ); ) { ParameterDefinition parameterObj = (ParameterDefinition) iter .next( ); String paramValue = null; Object paramValueObj = null; String paramName = parameterObj.getName( ); String format = parameterObj.getPattern( ); ReportParameterConverter converter = new ReportParameterConverter( format, locale ); Set paramNames = null; if ( parameters != null ) { paramNames = parameters.keySet( ); } if ( parameters != null && paramName != null ) { boolean found = false; for ( Iterator it = paramNames.iterator( ); it.hasNext( ); ) { String name = (String) it.next( ); if ( paramName.equals( name ) ) { if ( parameters.get( name ) != null ) paramValue = parameters.get( name ).toString( ); paramValueObj = converter.parse( paramValue, parameterObj.getDataType( ) ); paramMap.put( paramName, paramValueObj ); found = true; break; } } if ( !found && configMap.containsKey( paramName ) && isDesigner ) { // Get value from test config String configValue = (String) configMap.get( paramName ); ReportParameterConverter cfgConverter = new ReportParameterConverter( format, Locale.US ); paramValueObj = cfgConverter.parse( configValue, parameterObj.getDataType( ) ); } else if ( !found ) { // Get default value from task paramValueObj = task.getDefaultValue( parameterObj .getName( ) ); } } } return paramMap; }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/ccc86e09d5249c5a9f62177f02563063d065c8f3/BirtViewerReportService.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1635,
25406,
2402,
12,
467,
18415,
4820,
15478,
3259,
8281,
16,
1082,
202,
1210,
1320,
702,
16,
1635,
1472,
262,
1082,
202,
15069,
8706,
15133,
202,
95,
202,
202,
3916,
2573,
273,
261,
3916,
13,
702,
18,
588,
1895,
12,
2741,
1320,
18,
15620,
67,
25368,
11272,
202,
202,
2532,
1569,
682,
273,
5575,
7130,
12,
8281,
16,
702,
16,
629,
11272,
202,
202,
863,
579,
863,
273,
394,
4317,
12,
11272,
202,
202,
5507,
353,
15478,
264,
5507,
273,
261,
5507,
13,
702,
9506,
202,
18,
588,
1895,
12,
2741,
1320,
18,
15620,
67,
5127,
67,
1639,
11260,
654,
11272,
202,
202,
6494,
353,
15478,
264,
273,
261,
353,
15478,
264,
5507,
480,
446,
692,
353,
15478,
264,
5507,
9506,
202,
18,
6494,
620,
12,
262,
294,
629,
11272,
1082,
3196,
202,
45,
967,
1662,
1852,
2174,
1562,
273,
5575,
1852,
2174,
12,
8281,
11272,
3196,
202,
45,
4820,
20013,
14685,
273,
22452,
20013,
12,
8281,
11272,
3196,
202,
863,
28607,
273,
14685,
18,
588,
4709,
809,
12,
11272,
9506,
202,
1884,
261,
4498,
1400,
273,
1569,
682,
18,
9838,
12,
11272,
1400,
18,
5332,
2134,
12,
11272,
262,
202,
202,
95,
1082,
202,
1662,
1852,
1569,
2675,
273,
261,
1662,
1852,
13,
1400,
6862,
202,
18,
4285,
12,
11272,
1082,
202,
780,
20250,
273,
446,
31,
1082,
202,
921,
20250,
2675,
273,
446,
31,
1082,
202,
780,
11466,
273,
1569,
2675,
18,
17994,
12,
11272,
1082,
202,
780,
740,
273,
1569,
2675,
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,
1635,
25406,
2402,
12,
467,
18415,
4820,
15478,
3259,
8281,
16,
1082,
202,
1210,
1320,
702,
16,
1635,
1472,
262,
1082,
202,
15069,
8706,
15133,
202,
95,
202,
202,
3916,
2573,
273,
261,
3916,
13,
702,
18,
588,
1895,
12,
2741,
1320,
18,
15620,
67,
25368,
11272,
202,
202,
2532,
1569,
682,
273,
5575,
7130,
12,
8281,
16,
702,
16,
629,
11272,
202,
202,
863,
579,
863,
273,
394,
4317,
12,
11272,
202,
202,
5507,
353,
15478,
264,
5507,
273,
261,
5507,
13,
702,
9506,
202,
18,
588,
1895,
12,
2741,
1320,
18,
15620,
67,
5127,
67,
1639,
11260,
654,
11272,
202,
202,
6494,
353,
15478,
264,
273,
261,
353,
15478,
264,
5507,
480,
446,
692,
2
] |
newBase = (MUseCase)o;
|
newBase = (MUseCase) o;
|
public void actionPerformed(ActionEvent e) { super.actionPerformed(e); Object source = e.getSource(); MUseCase newBase = null; MUseCase oldBase = null; MExtend extend = null; if (source instanceof UMLComboBox2) { UMLComboBox2 combo = (UMLComboBox2)source; newBase = (MUseCase)combo.getSelectedItem(); Object o = combo.getTarget(); if (o instanceof MExtend) { extend = (MExtend)o; o = combo.getSelectedItem(); if (o instanceof MUseCase) { newBase = (MUseCase)o; oldBase = extend.getBase(); if (newBase != oldBase) { extend.setBase(newBase); } } else { if (o != null && o.equals("")) { extend.setBase(null); } } } } }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ActionSetExtendBase.java/buggy/src_new/org/argouml/uml/ui/behavior/use_cases/ActionSetExtendBase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
2240,
18,
1128,
13889,
12,
73,
1769,
3639,
1033,
1084,
273,
425,
18,
588,
1830,
5621,
3639,
490,
3727,
2449,
394,
2171,
273,
446,
31,
3639,
490,
3727,
2449,
1592,
2171,
273,
446,
31,
3639,
490,
16675,
2133,
273,
446,
31,
3639,
309,
261,
3168,
1276,
587,
1495,
22199,
22,
13,
288,
5411,
587,
1495,
22199,
22,
16778,
273,
261,
57,
1495,
22199,
22,
13,
3168,
31,
5411,
394,
2171,
273,
261,
49,
3727,
2449,
13,
25053,
18,
588,
7416,
1180,
5621,
5411,
1033,
320,
273,
16778,
18,
588,
2326,
5621,
5411,
309,
261,
83,
1276,
490,
16675,
13,
288,
7734,
2133,
273,
261,
49,
16675,
13,
83,
31,
7734,
320,
273,
16778,
18,
588,
7416,
1180,
5621,
7734,
309,
261,
83,
1276,
490,
3727,
2449,
13,
288,
10792,
394,
2171,
273,
261,
49,
3727,
2449,
13,
320,
31,
10792,
1592,
2171,
273,
2133,
18,
588,
2171,
5621,
10792,
309,
261,
2704,
2171,
480,
1592,
2171,
13,
288,
13491,
2133,
18,
542,
2171,
12,
2704,
2171,
1769,
10792,
289,
7734,
289,
469,
288,
10792,
309,
261,
83,
480,
446,
597,
320,
18,
14963,
2932,
6,
3719,
288,
13491,
2133,
18,
542,
2171,
12,
2011,
1769,
10792,
289,
7734,
289,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
2240,
18,
1128,
13889,
12,
73,
1769,
3639,
1033,
1084,
273,
425,
18,
588,
1830,
5621,
3639,
490,
3727,
2449,
394,
2171,
273,
446,
31,
3639,
490,
3727,
2449,
1592,
2171,
273,
446,
31,
3639,
490,
16675,
2133,
273,
446,
31,
3639,
309,
261,
3168,
1276,
587,
1495,
22199,
22,
13,
288,
5411,
587,
1495,
22199,
22,
16778,
273,
261,
57,
1495,
22199,
22,
13,
3168,
31,
5411,
394,
2171,
273,
261,
49,
3727,
2449,
13,
25053,
18,
588,
7416,
1180,
5621,
5411,
1033,
320,
273,
16778,
18,
588,
2326,
5621,
5411,
309,
261,
83,
1276,
490,
16675,
13,
288,
7734,
2133,
273,
261,
49,
16675,
13,
83,
2
] |
public static void updateQueryOptions(TaskRepository repository, IProgressMonitor monitor) throws LoginException, IOException { String repositoryUrl = repository.getUrl();// BugzillaQueryPageParser parser = new BugzillaQueryPageParser(repository, monitor);// if (!parser.wasSuccessful())// return; RepositoryConfiguration config = ServerConfigurationFactory.getInstance().getConfiguration( repositoryUrl); // get the preferences store so that we can change the data in it IPreferenceStore prefs = BugzillaPlugin.getDefault().getPreferenceStore(); prefs.setValue(IBugzillaConstants.VALUES_STATUS + PREF_DELIM_REPOSITORY + repositoryUrl, queryOptionsToString(config.getStatusValues())); monitor.worked(1); prefs.setValue(IBugzillaConstants.VALUSE_STATUS_PRESELECTED + PREF_DELIM_REPOSITORY + repositoryUrl, queryOptionsToString(config.getOpenStatusValues())); monitor.worked(1); prefs.setValue(IBugzillaConstants.VALUES_RESOLUTION + PREF_DELIM_REPOSITORY + repositoryUrl, queryOptionsToString(config.getResolutions())); monitor.worked(1); prefs.setValue(IBugzillaConstants.VALUES_SEVERITY + PREF_DELIM_REPOSITORY + repositoryUrl, queryOptionsToString(config.getSeverities())); monitor.worked(1); prefs.setValue(IBugzillaConstants.VALUES_PRIORITY + PREF_DELIM_REPOSITORY + repositoryUrl, queryOptionsToString(config.getPriorities())); monitor.worked(1); prefs.setValue(IBugzillaConstants.VALUES_HARDWARE + PREF_DELIM_REPOSITORY + repositoryUrl, queryOptionsToString(config.getPlatforms())); monitor.worked(1); prefs.setValue(IBugzillaConstants.VALUES_OS + PREF_DELIM_REPOSITORY + repositoryUrl, queryOptionsToString(config.getOSs())); monitor.worked(1); prefs.setValue(IBugzillaConstants.VALUES_PRODUCT + PREF_DELIM_REPOSITORY + repositoryUrl, queryOptionsToString(config.getProducts())); monitor.worked(1); prefs.setValue(IBugzillaConstants.VALUES_COMPONENT + PREF_DELIM_REPOSITORY + repositoryUrl, queryOptionsToString(config.getComponents())); monitor.worked(1); prefs.setValue(IBugzillaConstants.VALUES_VERSION + PREF_DELIM_REPOSITORY + repositoryUrl, queryOptionsToString(config.getVersions())); monitor.worked(1); prefs.setValue(IBugzillaConstants.VALUES_TARGET + PREF_DELIM_REPOSITORY + repositoryUrl, queryOptionsToString(config.getTargetMilestones())); monitor.worked(1); for (String product: config.getProducts()) { prefs.setValue(IBugzillaConstants.VALUES_COMPONENT + PREF_DELIM_REPOSITORY + repositoryUrl+PREF_DELIM_REPOSITORY+product, queryOptionsToString(config.getComponents(product))); monitor.worked(1); prefs.setValue(IBugzillaConstants.VALUES_VERSION + PREF_DELIM_REPOSITORY + repositoryUrl+PREF_DELIM_REPOSITORY+product, queryOptionsToString(config.getVersions(product))); monitor.worked(1); prefs.setValue(IBugzillaConstants.VALUES_TARGET + PREF_DELIM_REPOSITORY + repositoryUrl+PREF_DELIM_REPOSITORY+product, queryOptionsToString(config.getTargetMilestones(product))); monitor.worked(1); } }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/2e572c6e48f7be2a6439bb565ee3990323af8431/BugzillaRepositoryUtil.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3845,
6459,
2725,
1138,
1320,
12,
2174,
3305,
9071,
16,
45,
5491,
11415,
305,
535,
4089,
13,
15069,
5358,
503,
16,
1082,
202,
14106,
95,
202,
202,
780,
9071,
1489,
33,
9071,
18,
588,
1489,
5621,
759,
202,
202,
19865,
15990,
1138,
1964,
2678,
4288,
33,
2704,
19865,
15990,
1138,
1964,
2678,
12,
9071,
16,
10259,
1769,
759,
202,
202,
430,
12,
5,
4288,
18,
17416,
14277,
10756,
759,
1082,
202,
2463,
31,
9506,
202,
3305,
1750,
1425,
33,
2081,
1750,
1733,
18,
588,
1442,
7675,
588,
1750,
12,
9506,
202,
9071,
1489,
1769,
202,
202,
759,
588,
451,
881,
14353,
19632,
10370,
270,
91,
557,
304,
24083,
546,
329,
396,
2738,
202,
202,
45,
9624,
2257,
1484,
2556,
33,
19865,
15990,
3773,
18,
588,
1868,
7675,
588,
9624,
2257,
5621,
202,
202,
1484,
2556,
18,
542,
620,
12,
13450,
637,
15990,
2918,
18,
16386,
67,
8608,
15,
3670,
42,
67,
31519,
67,
862,
30986,
15,
9071,
1489,
16,
9506,
202,
2271,
1320,
5808,
12,
1425,
18,
588,
1482,
1972,
1435,
10019,
202,
202,
10259,
18,
1252,
329,
12,
21,
1769,
202,
202,
1484,
2556,
18,
542,
620,
12,
13450,
637,
15990,
2918,
18,
2669,
8001,
67,
8608,
67,
3670,
4803,
2056,
15,
3670,
42,
67,
31519,
67,
862,
30986,
15,
9071,
1489,
16,
9506,
202,
2271,
1320,
5808,
12,
1425,
18,
588,
3678,
1482,
1972,
1435,
10019,
202,
202,
10259,
18,
1252,
329,
12,
21,
1769,
202,
202,
1484,
2556,
18,
542,
620,
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,
3845,
6459,
2725,
1138,
1320,
12,
2174,
3305,
9071,
16,
45,
5491,
11415,
305,
535,
4089,
13,
15069,
5358,
503,
16,
1082,
202,
14106,
95,
202,
202,
780,
9071,
1489,
33,
9071,
18,
588,
1489,
5621,
759,
202,
202,
19865,
15990,
1138,
1964,
2678,
4288,
33,
2704,
19865,
15990,
1138,
1964,
2678,
12,
9071,
16,
10259,
1769,
759,
202,
202,
430,
12,
5,
4288,
18,
17416,
14277,
10756,
759,
1082,
202,
2463,
31,
9506,
202,
3305,
1750,
1425,
33,
2081,
1750,
1733,
18,
588,
1442,
7675,
588,
1750,
12,
9506,
202,
9071,
1489,
1769,
202,
202,
759,
588,
451,
881,
14353,
19632,
10370,
270,
91,
557,
304,
24083,
546,
329,
396,
2738,
202,
202,
45,
9624,
2
] |
||
}else{ plugin.loadSettings(new Properties());
|
} catch (Throwable thr) { String msg = mLocalizer.msg("error.3", "Loading settings for plugin {0} failed!\n({1})", plugin.getButtonText(), f.getAbsolutePath()); ErrorHandler.handle(msg, thr);
|
public void activatePlugin(Plugin plugin) { String userDirectoryName = Settings.getUserDirectoryName(); File f; /* load plugin data */ f = new File(userDirectoryName, plugin.getClass().getName() + ".dat"); if (f.exists()) { ObjectInputStream in = null; try { in = new ObjectInputStream(new FileInputStream(f)); plugin.readData(in); } catch (Exception exc) { String msg = mLocalizer.msg("error.1", "Loading data for plugin {0} failed!\n({1})", plugin.getInfo().getName(), f.getAbsolutePath(), exc); ErrorHandler.handle(msg, exc); } finally { if (in != null) { try { in.close(); } catch (IOException exc) {} } } } /* load plugin settings */ f=new File(userDirectoryName,plugin.getClass().getName()+".prop"); if (f.exists()) { try { Properties p=new Properties(); FileInputStream in=new FileInputStream(f); p.load(in); in.close(); plugin.loadSettings(p); } catch (IOException exc) { String msg = mLocalizer.msg("error.3", "Loading settings for plugin {0} failed!\n({1})", plugin.getButtonText(), f.getAbsolutePath(), exc); ErrorHandler.handle(msg, exc); } }else{ plugin.loadSettings(new Properties()); } mInactivePlugins.remove(plugin); mActivePlugins.add(plugin); firePluginActivated(plugin); mLog.info("Plugin "+plugin.getClass().getName()+" activated"); }
|
9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/25c7e7a807e27268f3103046627918b52e5136a4/PluginLoader.java/buggy/tvbrowser/src/tvbrowser/core/PluginLoader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
10235,
3773,
12,
3773,
1909,
13,
288,
1850,
514,
729,
2853,
461,
273,
8709,
18,
588,
1299,
2853,
461,
5621,
565,
1387,
284,
31,
3639,
1748,
1262,
1909,
501,
1195,
5411,
284,
273,
394,
1387,
12,
1355,
2853,
461,
16,
1909,
18,
588,
797,
7675,
17994,
1435,
397,
3552,
3404,
8863,
565,
309,
261,
74,
18,
1808,
10756,
288,
1377,
22726,
316,
273,
446,
31,
1377,
775,
288,
3639,
316,
273,
394,
22726,
12,
2704,
11907,
12,
74,
10019,
3639,
1909,
18,
896,
751,
12,
267,
1769,
1377,
289,
1377,
1044,
261,
503,
3533,
13,
288,
3639,
514,
1234,
273,
312,
2042,
1824,
18,
3576,
2932,
1636,
18,
21,
3113,
315,
10515,
501,
364,
1909,
288,
20,
97,
2535,
24440,
82,
12590,
21,
12646,
16,
7734,
1909,
18,
588,
966,
7675,
17994,
9334,
284,
18,
588,
10368,
743,
9334,
3533,
1769,
3639,
26406,
18,
4110,
12,
3576,
16,
3533,
1769,
1377,
289,
1377,
3095,
288,
3639,
309,
261,
267,
480,
446,
13,
288,
1850,
775,
288,
316,
18,
4412,
5621,
289,
1044,
261,
14106,
3533,
13,
2618,
3639,
289,
1377,
289,
565,
289,
3639,
1748,
1262,
1909,
1947,
1195,
9079,
284,
33,
2704,
1387,
12,
1355,
2853,
461,
16,
4094,
18,
588,
797,
7675,
17994,
1435,
9078,
18,
5986,
8863,
565,
309,
261,
74,
18,
1808,
10756,
288,
1377,
775,
288,
3639,
6183,
293,
33,
2704,
6183,
5621,
3639,
11907,
316,
33,
2704,
11907,
12,
74,
1769,
3639,
293,
18,
945,
12,
267,
1769,
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,
10235,
3773,
12,
3773,
1909,
13,
288,
1850,
514,
729,
2853,
461,
273,
8709,
18,
588,
1299,
2853,
461,
5621,
565,
1387,
284,
31,
3639,
1748,
1262,
1909,
501,
1195,
5411,
284,
273,
394,
1387,
12,
1355,
2853,
461,
16,
1909,
18,
588,
797,
7675,
17994,
1435,
397,
3552,
3404,
8863,
565,
309,
261,
74,
18,
1808,
10756,
288,
1377,
22726,
316,
273,
446,
31,
1377,
775,
288,
3639,
316,
273,
394,
22726,
12,
2704,
11907,
12,
74,
10019,
3639,
1909,
18,
896,
751,
12,
267,
1769,
1377,
289,
1377,
1044,
261,
503,
3533,
13,
288,
3639,
514,
1234,
273,
312,
2042,
1824,
18,
3576,
2932,
1636,
18,
21,
3113,
315,
10515,
501,
364,
1909,
288,
2
] |
return first.isLessThanOrEqualTo(second) ? T : NIL;
|
return first.isLessThan(second) ? T : NIL;
|
public LispObject execute(LispObject first, LispObject second) throws LispError { return first.isLessThanOrEqualTo(second) ? T : NIL; }
|
8279 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8279/e7823709c2ec0ef66bed0b43af115265246ea854/Primitives.java/clean/j/src/org/armedbear/lisp/Primitives.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
511,
23831,
921,
1836,
12,
48,
23831,
921,
1122,
16,
511,
23831,
921,
2205,
13,
5411,
1216,
511,
23831,
668,
3639,
288,
5411,
327,
1122,
18,
291,
30899,
12,
8538,
13,
692,
399,
294,
423,
2627,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
511,
23831,
921,
2205,
13,
5411,
1216,
511,
23831,
668,
3639,
288,
5411,
327,
1122,
18,
291,
30899,
12,
8538,
13,
692,
399,
294,
423,
2627,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
kindName.append("MEMBERS");
|
kindName.append("MEMBERS");
|
private void logLookups(LookupKind[] kinds){ if (! CCorePlugin.getDefault().isDebugging() && Util.isActive(IDebugLogConstants.CONTENTASSIST)) return; StringBuffer kindName = new StringBuffer("Looking For "); for(int i = 0; i<kinds.length; i++){ LookupKind kind = kinds[i]; if(kind == IASTNode.LookupKind.ALL) kindName.append("ALL"); else if(kind == IASTNode.LookupKind.STRUCTURES) kindName.append("STRUCTURES"); else if(kind == IASTNode.LookupKind.STRUCTS) kindName.append("STRUCTS"); else if(kind == IASTNode.LookupKind.UNIONS) kindName.append("UNIONS"); else if(kind == IASTNode.LookupKind.CLASSES) kindName.append("CLASSES"); else if(kind == IASTNode.LookupKind.FUNCTIONS) kindName.append("FUNCTIONS"); else if(kind == IASTNode.LookupKind.VARIABLES) kindName.append("VARIABLES"); else if(kind == IASTNode.LookupKind.LOCAL_VARIABLES) kindName.append("LOCAL_VARIABLES"); else if(kind == IASTNode.LookupKind.MEMBERS) kindName.append("MEMBERS"); else if(kind == IASTNode.LookupKind.METHODS) kindName.append("METHODS"); else if(kind == IASTNode.LookupKind.FIELDS) kindName.append("FIELDS"); else if(kind == IASTNode.LookupKind.CONSTRUCTORS) kindName.append("CONSTRUCTORS"); else if(kind == IASTNode.LookupKind.NAMESPACES) kindName.append("NAMESPACES"); else if(kind == IASTNode.LookupKind.ENUMERATIONS) kindName.append("ENUMERATIONS"); else if(kind == IASTNode.LookupKind.ENUMERATORS) kindName.append("ENUMERATORS"); else if(kind == IASTNode.LookupKind.THIS) kindName.append("THIS"); kindName.append(", "); } log (kindName.toString()); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1738ff26440cb838b4d42f49cb8d29c4cc9babdf/CompletionEngine.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CompletionEngine.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
613,
6609,
87,
12,
6609,
5677,
8526,
21961,
15329,
202,
202,
430,
16051,
385,
4670,
3773,
18,
588,
1868,
7675,
291,
2829,
1998,
1435,
597,
3564,
18,
291,
3896,
12,
734,
73,
925,
1343,
2918,
18,
9689,
8423,
5511,
3719,
1082,
202,
2463,
31,
9506,
202,
780,
1892,
3846,
461,
273,
394,
6674,
2932,
9794,
310,
2457,
315,
1769,
202,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
32,
9224,
87,
18,
2469,
31,
277,
27245,
95,
1082,
202,
6609,
5677,
3846,
273,
21961,
63,
77,
15533,
1082,
202,
430,
12,
9224,
422,
467,
9053,
907,
18,
6609,
5677,
18,
4685,
13,
9506,
202,
9224,
461,
18,
6923,
2932,
4685,
8863,
1082,
202,
12107,
309,
12,
9224,
422,
467,
9053,
907,
18,
6609,
5677,
18,
13915,
4830,
55,
13,
6862,
9506,
202,
9224,
461,
18,
6923,
2932,
13915,
4830,
55,
8863,
1082,
202,
12107,
309,
12,
9224,
422,
467,
9053,
907,
18,
6609,
5677,
18,
13915,
55,
13,
6862,
9506,
202,
9224,
461,
18,
6923,
2932,
13915,
55,
8863,
1082,
202,
12107,
309,
12,
9224,
422,
467,
9053,
907,
18,
6609,
5677,
18,
2124,
1146,
55,
13,
6862,
9506,
202,
9224,
461,
18,
6923,
2932,
2124,
1146,
55,
8863,
1082,
202,
12107,
309,
12,
9224,
422,
467,
9053,
907,
18,
6609,
5677,
18,
27337,
13,
6862,
9506,
202,
9224,
461,
18,
6923,
2932,
27337,
8863,
1082,
202,
12107,
309,
12,
9224,
422,
467,
9053,
907,
18,
6609,
5677,
18,
7788,
55,
13,
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,
613,
6609,
87,
12,
6609,
5677,
8526,
21961,
15329,
202,
202,
430,
16051,
385,
4670,
3773,
18,
588,
1868,
7675,
291,
2829,
1998,
1435,
597,
3564,
18,
291,
3896,
12,
734,
73,
925,
1343,
2918,
18,
9689,
8423,
5511,
3719,
1082,
202,
2463,
31,
9506,
202,
780,
1892,
3846,
461,
273,
394,
6674,
2932,
9794,
310,
2457,
315,
1769,
202,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
32,
9224,
87,
18,
2469,
31,
277,
27245,
95,
1082,
202,
6609,
5677,
3846,
273,
21961,
63,
77,
15533,
1082,
202,
430,
12,
9224,
422,
467,
9053,
907,
18,
6609,
5677,
18,
4685,
13,
9506,
202,
9224,
461,
18,
6923,
2932,
4685,
8863,
1082,
202,
12107,
2
] |
List<OpenDefinitionsDocument> docs = _model.getDefinitionsDocuments(); for (int i=0; i < docs.size(); i++) { docs.get(i).removeFromDebugger();
|
if (shouldHighlight) { _removeThreadLocationHighlight(); DefinitionsDocument defDoc = doc.getDocument(); int startOffset = defDoc.getOffset(lineNumber); if (startOffset > -1) { int endOffset = defDoc.getLineEndPos(startOffset); if (endOffset > -1) { _currentThreadLocationHighlight = _currentDefPane.getHighlightManager().addHighlight(startOffset, endOffset, DefinitionsPane.THREAD_PAINTER); } }
|
public void run() { hideDebugger(); _removeThreadLocationHighlight(); // Ensure all doc breakpoints are gone List<OpenDefinitionsDocument> docs = _model.getDefinitionsDocuments(); for (int i=0; i < docs.size(); i++) { docs.get(i).removeFromDebugger(); } }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/896d23e2fc31ecf410625227cad5c5d61f4d6309/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
1850,
6853,
24113,
5621,
1850,
389,
4479,
3830,
2735,
16205,
5621,
1850,
368,
7693,
777,
997,
23416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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,
540,
1071,
918,
1086,
1435,
288,
1850,
6853,
24113,
5621,
1850,
389,
4479,
3830,
2735,
16205,
5621,
1850,
368,
7693,
777,
997,
23416,
854,
22296,
1850,
987,
32,
3678,
7130,
2519,
34,
3270,
273,
389,
2284,
18,
588,
7130,
12922,
5621,
1850,
364,
261,
474,
277,
33,
20,
31,
277,
411,
3270,
18,
1467,
5621,
277,
27245,
288,
5411,
3270,
18,
588,
12,
77,
2934,
4479,
1265,
24113,
5621,
1850,
289,
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
] |
private static ProActiveDescriptor internalGetProActiveDescriptor( String xmlDescriptorUrl, VariableContract variableContract, boolean hierarchicalSearch) throws ProActiveException { RuntimeFactory.getDefaultRuntime(); if (!xmlDescriptorUrl.startsWith("file:")) { xmlDescriptorUrl = "file:" + xmlDescriptorUrl; } ProActiveRuntimeImpl part = (ProActiveRuntimeImpl) ProActiveRuntimeImpl.getProActiveRuntime(); ProActiveDescriptor pad; try { if (!hierarchicalSearch) { //if not hierarchical search, we assume that the descriptor might has been //register with the default jobID pad = part.getDescriptor(xmlDescriptorUrl + ProActive.getJobId(), hierarchicalSearch); } else { pad = part.getDescriptor(xmlDescriptorUrl, hierarchicalSearch); } } catch (Exception e) { throw new ProActiveException(e); } // if pad found, returns it if (pad != null) { return pad; } // else parses it try { if (logger.isInfoEnabled()) { logger.info("************* Reading deployment descriptor: " + xmlDescriptorUrl + " ********************"); } ProActiveDescriptorHandler proActiveDescriptorHandler = ProActiveDescriptorHandler.createProActiveDescriptor(xmlDescriptorUrl, variableContract); pad = (ProActiveDescriptor) proActiveDescriptorHandler.getResultObject(); part.registerDescriptor(pad.getUrl(), pad); return pad; } catch (org.xml.sax.SAXException e) { //e.printStackTrace(); hides errors when testing parameters in xml descriptors logger.fatal( "a problem occurs when getting the proActiveDescriptor"); throw new ProActiveException(e); } catch (java.io.IOException e) { //e.printStackTrace(); hides errors when testing parameters in xml descriptors logger.fatal( "a problem occurs during the ProActiveDescriptor object creation"); throw new ProActiveException(e); } }
|
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/a5e5e535dec443ddf23a4fb2e4ab651cd70b575d/ProActive.java/clean/src/org/objectweb/proactive/ProActive.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
6015,
270,
395,
2126,
626,
3896,
3187,
7236,
967,
626,
3896,
3187,
12,
780,
2902,
3187,
1489,
16,
3092,
8924,
6105,
8924,
16,
6494,
76,
14529,
2979,
13,
15069,
626,
3896,
503,
95,
5576,
1733,
18,
588,
1868,
5576,
5621,
430,
12,
5,
2902,
3187,
1489,
18,
17514,
1190,
2932,
768,
2773,
3719,
95,
2902,
3187,
1489,
1546,
768,
2773,
15,
2902,
3187,
1489,
31,
97,
626,
3896,
5576,
2828,
2680,
28657,
626,
3896,
5576,
2828,
13,
626,
3896,
5576,
2828,
18,
588,
626,
3896,
5576,
5621,
626,
3896,
3187,
6982,
31,
698,
95,
430,
12,
5,
76,
14529,
2979,
15329,
759,
430,
902,
76,
5148,
335,
544,
991,
16,
1814,
428,
379,
546,
270,
451,
329,
2086,
535,
2031,
451,
345,
2196,
275,
759,
4861,
1918,
5787,
1886,
4688,
734,
6982,
33,
2680,
18,
588,
3187,
12,
2902,
3187,
1489,
15,
626,
3896,
18,
588,
23378,
9334,
76,
14529,
2979,
1769,
97,
12107,
95,
6982,
33,
2680,
18,
588,
3187,
12,
2902,
3187,
1489,
16,
76,
14529,
2979,
1769,
9090,
14683,
12,
503,
73,
15329,
12849,
2704,
626,
3896,
503,
12,
73,
1769,
97,
759,
430,
6982,
7015,
16,
6154,
305,
430,
12,
6982,
5,
33,
2011,
15329,
2463,
6982,
31,
97,
759,
12107,
1065,
2420,
305,
698,
95,
430,
12,
4901,
18,
291,
966,
1526,
10756,
95,
4901,
18,
1376,
2932,
1644,
23490,
15714,
21704,
12628,
2773,
15,
2902,
3187,
1489,
9078,
2751,
1007,
8863,
97,
626,
3896,
3187,
1503,
685,
3896,
3187,
1503,
33,
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,
6015,
270,
395,
2126,
626,
3896,
3187,
7236,
967,
626,
3896,
3187,
12,
780,
2902,
3187,
1489,
16,
3092,
8924,
6105,
8924,
16,
6494,
76,
14529,
2979,
13,
15069,
626,
3896,
503,
95,
5576,
1733,
18,
588,
1868,
5576,
5621,
430,
12,
5,
2902,
3187,
1489,
18,
17514,
1190,
2932,
768,
2773,
3719,
95,
2902,
3187,
1489,
1546,
768,
2773,
15,
2902,
3187,
1489,
31,
97,
626,
3896,
5576,
2828,
2680,
28657,
626,
3896,
5576,
2828,
13,
626,
3896,
5576,
2828,
18,
588,
626,
3896,
5576,
5621,
626,
3896,
3187,
6982,
31,
698,
95,
430,
12,
5,
76,
14529,
2979,
15329,
759,
430,
902,
76,
5148,
335,
544,
991,
16,
1814,
428,
379,
546,
270,
451,
329,
2086,
535,
2
] |
||
if (target.equals(SYSTEM_ERR)) { setWriter(createWriter(new SystemErrStream()));
|
if (honorReassignment) { if (target.equals(SYSTEM_ERR)) { setWriter(createWriter(new SystemErrStream())); } else { setWriter(createWriter(new SystemOutStream())); }
|
public void activateOptions() { if (target.equals(SYSTEM_ERR)) { setWriter(createWriter(new SystemErrStream())); } else { setWriter(createWriter(new SystemOutStream())); } super.activateOptions(); }
|
45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/84193ee4c23b68fc0ba31f0ece98b902a8ee8825/ConsoleAppender.java/clean/src/java/org/apache/log4j/ConsoleAppender.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
10235,
1320,
1435,
288,
3639,
309,
261,
3299,
18,
14963,
12,
14318,
67,
9712,
3719,
288,
5411,
444,
2289,
12,
2640,
2289,
12,
2704,
2332,
2524,
1228,
1435,
10019,
3639,
289,
469,
288,
5411,
444,
2289,
12,
2640,
2289,
12,
2704,
2332,
1182,
1228,
1435,
10019,
3639,
289,
3639,
2240,
18,
10014,
1320,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
10235,
1320,
1435,
288,
3639,
309,
261,
3299,
18,
14963,
12,
14318,
67,
9712,
3719,
288,
5411,
444,
2289,
12,
2640,
2289,
12,
2704,
2332,
2524,
1228,
1435,
10019,
3639,
289,
469,
288,
5411,
444,
2289,
12,
2640,
2289,
12,
2704,
2332,
1182,
1228,
1435,
10019,
3639,
289,
3639,
2240,
18,
10014,
1320,
5621,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
initialListSelection = changeLists.get(0);
|
for(ChangeList list: changeLists) { if (list instanceof LocalChangeList && ((LocalChangeList) list).isDefault()) { initialListSelection = list; break; } } if (initialListSelection == null) { initialListSelection = changeLists.get(0); }
|
public ChangesBrowser(final Project project, List<? extends ChangeList> changeLists, final List<Change> changes, ChangeList initialListSelection, final boolean showChangelistChooser, final boolean capableOfExcludingChanges) { super(new BorderLayout()); myProject = project; myAllChanges = new ArrayList<Change>(); myReadOnly = !showChangelistChooser; for (ChangeList list : changeLists) { myAllChanges.addAll(list.getChanges()); if (list instanceof LocalChangeList && ((LocalChangeList)list).isDefault() && initialListSelection == null) { initialListSelection = list; } } if (initialListSelection == null) { initialListSelection = changeLists.get(0); } myViewer = new ChangesTreeList(myProject, changes, capableOfExcludingChanges); myViewer.setDoubleClickHandler(new Runnable() { public void run() { showDiff(); } }); setSelectedList(initialListSelection); JPanel listPanel = new JPanel(new BorderLayout()); listPanel.add(myViewer); listPanel.setBorder(IdeBorderFactory.createTitledHeaderBorder(VcsBundle.message("commit.dialog.changed.files.label"))); add(listPanel, BorderLayout.CENTER); myHeaderPanel = new JPanel(new BorderLayout()); if (showChangelistChooser) { myHeaderPanel.add(new ChangeListChooser(changeLists), BorderLayout.EAST); } myHeaderPanel.add(createToolbar(), BorderLayout.WEST); add(myHeaderPanel, BorderLayout.NORTH); myViewer.installPopupHandler(myToolBarGroup); myViewer.setShowFlatten(PropertiesComponent.getInstance(myProject).isTrueValue(FLATTEN_OPTION_KEY)); }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/54a2c88667fe9ada226860917984c833bed488eb/ChangesBrowser.java/buggy/source/com/intellij/openapi/vcs/changes/ui/ChangesBrowser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
17776,
9132,
12,
6385,
5420,
1984,
16,
987,
12880,
3231,
7576,
682,
34,
2549,
7432,
16,
727,
987,
32,
3043,
34,
3478,
16,
13491,
7576,
682,
2172,
682,
6233,
16,
727,
1250,
2405,
782,
539,
5449,
17324,
16,
13491,
727,
1250,
22863,
951,
424,
18596,
7173,
13,
288,
565,
2240,
12,
2704,
30814,
10663,
565,
3399,
4109,
273,
1984,
31,
565,
3399,
1595,
7173,
273,
394,
2407,
32,
3043,
34,
5621,
565,
3399,
12066,
273,
401,
4500,
782,
539,
5449,
17324,
31,
565,
364,
261,
3043,
682,
666,
294,
2549,
7432,
13,
288,
1377,
3399,
1595,
7173,
18,
1289,
1595,
12,
1098,
18,
588,
7173,
10663,
1377,
309,
261,
1098,
1276,
3566,
3043,
682,
597,
14015,
2042,
3043,
682,
13,
1098,
2934,
291,
1868,
1435,
597,
2172,
682,
6233,
422,
446,
13,
288,
3639,
2172,
682,
6233,
273,
666,
31,
1377,
289,
565,
289,
565,
309,
261,
6769,
682,
6233,
422,
446,
13,
288,
1377,
364,
12,
3043,
682,
666,
30,
2549,
7432,
13,
288,
309,
261,
1098,
1276,
3566,
3043,
682,
597,
14015,
2042,
3043,
682,
13,
666,
2934,
291,
1868,
10756,
288,
2172,
682,
6233,
273,
666,
31,
898,
31,
289,
289,
309,
261,
6769,
682,
6233,
422,
446,
13,
288,
2172,
682,
6233,
273,
2549,
7432,
18,
588,
12,
20,
1769,
289,
565,
289,
565,
3399,
18415,
273,
394,
17776,
2471,
682,
12,
4811,
4109,
16,
3478,
16,
22863,
951,
424,
18596,
7173,
1769,
565,
3399,
18415,
18,
542,
5265,
6563,
1503,
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,
17776,
9132,
12,
6385,
5420,
1984,
16,
987,
12880,
3231,
7576,
682,
34,
2549,
7432,
16,
727,
987,
32,
3043,
34,
3478,
16,
13491,
7576,
682,
2172,
682,
6233,
16,
727,
1250,
2405,
782,
539,
5449,
17324,
16,
13491,
727,
1250,
22863,
951,
424,
18596,
7173,
13,
288,
565,
2240,
12,
2704,
30814,
10663,
565,
3399,
4109,
273,
1984,
31,
565,
3399,
1595,
7173,
273,
394,
2407,
32,
3043,
34,
5621,
565,
3399,
12066,
273,
401,
4500,
782,
539,
5449,
17324,
31,
565,
364,
261,
3043,
682,
666,
294,
2549,
7432,
13,
288,
1377,
3399,
1595,
7173,
18,
1289,
1595,
12,
1098,
18,
588,
7173,
10663,
1377,
309,
261,
1098,
1276,
3566,
3043,
682,
597,
14015,
2042,
2
] |
btnGeneralProp = new Button( cmp, SWT.TOGGLE ); { btnGeneralProp.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); btnGeneralProp.setText( Messages.getString( "ChartSheetImpl.Label.GeneralProperties" ) ); btnGeneralProp.addSelectionListener( this ); }
|
btnGeneralProp = createToggleButton( cmp, Messages.getString( "ChartSheetImpl.Label.GeneralProperties" ) ); btnGeneralProp.addSelectionListener( this );
|
private void createButtonGroup( Composite parent ) { Composite cmp = new Composite( parent, SWT.NONE ); { cmp.setLayout( new GridLayout( 5, true ) ); GridData gridData = new GridData( GridData.FILL_HORIZONTAL ); gridData.horizontalSpan = 3; gridData.grabExcessVerticalSpace = true; gridData.verticalAlignment = SWT.END; cmp.setLayoutData( gridData ); } btnTitleProp = new Button( cmp, SWT.TOGGLE ); { btnTitleProp.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); btnTitleProp.setText( Messages.getString( "ChartSheetImpl.Label.TitleProperties" ) ); //$NON-NLS-1$ btnTitleProp.addSelectionListener( this ); btnTitleProp.setEnabled( getChart( ).getTitle( ).isVisible( ) ); } btnBlockProp = new Button( cmp, SWT.TOGGLE ); { btnBlockProp.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); btnBlockProp.setText( Messages.getString( "ChartSheetImpl.Label.BlockProperties" ) ); //$NON-NLS-1$ btnBlockProp.addSelectionListener( this ); } btnGeneralProp = new Button( cmp, SWT.TOGGLE ); { btnGeneralProp.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); btnGeneralProp.setText( Messages.getString( "ChartSheetImpl.Label.GeneralProperties" ) ); //$NON-NLS-1$ btnGeneralProp.addSelectionListener( this ); } }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/978d95676effd7364e2b069a03cc2f90f4113717/ChartSheetImpl.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/chart/ChartSheetImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
3616,
1114,
12,
14728,
982,
262,
202,
95,
202,
202,
9400,
9411,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
9625,
18,
542,
3744,
12,
394,
7145,
3744,
12,
1381,
16,
638,
262,
11272,
1082,
202,
6313,
751,
3068,
751,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
11272,
1082,
202,
5222,
751,
18,
18396,
6952,
273,
890,
31,
1082,
202,
5222,
751,
18,
2752,
70,
424,
614,
15704,
3819,
273,
638,
31,
1082,
202,
5222,
751,
18,
17824,
11535,
273,
348,
8588,
18,
4415,
31,
1082,
202,
9625,
18,
542,
3744,
751,
12,
3068,
751,
11272,
202,
202,
97,
202,
202,
11898,
4247,
4658,
273,
394,
12569,
12,
9411,
16,
348,
8588,
18,
4296,
19491,
900,
11272,
202,
202,
95,
1082,
202,
11898,
4247,
4658,
18,
542,
3744,
751,
12,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
262,
11272,
1082,
202,
11898,
4247,
4658,
18,
542,
1528,
12,
4838,
18,
588,
780,
12,
315,
7984,
8229,
2828,
18,
2224,
18,
4247,
2297,
6,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
11898,
4247,
4658,
18,
1289,
6233,
2223,
12,
333,
11272,
1082,
202,
11898,
4247,
4658,
18,
542,
1526,
12,
336,
7984,
12,
262,
18,
588,
4247,
12,
262,
18,
291,
6207,
12,
262,
11272,
202,
202,
97,
202,
202,
11898,
1768,
4658,
273,
394,
12569,
12,
9411,
16,
348,
8588,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
3616,
1114,
12,
14728,
982,
262,
202,
95,
202,
202,
9400,
9411,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
9625,
18,
542,
3744,
12,
394,
7145,
3744,
12,
1381,
16,
638,
262,
11272,
1082,
202,
6313,
751,
3068,
751,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
11272,
1082,
202,
5222,
751,
18,
18396,
6952,
273,
890,
31,
1082,
202,
5222,
751,
18,
2752,
70,
424,
614,
15704,
3819,
273,
638,
31,
1082,
202,
5222,
751,
18,
17824,
11535,
273,
348,
8588,
18,
4415,
31,
1082,
202,
9625,
18,
542,
3744,
751,
12,
3068,
751,
11272,
202,
202,
97,
202,
202,
2
] |
String msg = "Wrong number of arguments for method '" + ruby.getRubyFrame().getLastFunc() + "' in class " + getRubyClass().toName() + ". " + args.length + " is not in Range " + min + ".." + max; throw new RubyArgumentException(getRuby(), msg);
|
throw new RubyArgumentException(getRuby(), "Wrong # of arguments for method. " + args.length + " is not in Range " + min + ".." + max);
|
protected int argCount(RubyObject[] args, int min, int max) { int len = args.length; if (len < min || (max > -1 && len > max)) { String msg = "Wrong number of arguments for method '" + ruby.getRubyFrame().getLastFunc() + "' in class " + getRubyClass().toName() + ". " + args.length + " is not in Range " + min + ".." + max; throw new RubyArgumentException(getRuby(), msg); } return len; }
|
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyObject.java/buggy/org/jruby/RubyObject.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
1501,
1380,
12,
54,
10340,
921,
8526,
833,
16,
509,
1131,
16,
509,
943,
13,
288,
3639,
509,
562,
273,
833,
18,
2469,
31,
3639,
309,
261,
1897,
411,
1131,
747,
261,
1896,
405,
300,
21,
597,
562,
405,
943,
3719,
288,
5411,
514,
1234,
273,
315,
13634,
1300,
434,
1775,
364,
707,
2119,
397,
22155,
18,
588,
54,
10340,
3219,
7675,
588,
3024,
2622,
1435,
397,
12900,
2491,
316,
667,
315,
397,
4170,
10340,
797,
7675,
869,
461,
1435,
397,
3552,
315,
397,
833,
18,
2469,
397,
7682,
315,
353,
486,
316,
8086,
315,
397,
1131,
397,
24119,
397,
943,
31,
5411,
604,
394,
19817,
1878,
12,
588,
54,
10340,
9334,
1234,
1769,
3639,
289,
3639,
327,
562,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
1501,
1380,
12,
54,
10340,
921,
8526,
833,
16,
509,
1131,
16,
509,
943,
13,
288,
3639,
509,
562,
273,
833,
18,
2469,
31,
3639,
309,
261,
1897,
411,
1131,
747,
261,
1896,
405,
300,
21,
597,
562,
405,
943,
3719,
288,
5411,
514,
1234,
273,
315,
13634,
1300,
434,
1775,
364,
707,
2119,
397,
22155,
18,
588,
54,
10340,
3219,
7675,
588,
3024,
2622,
1435,
397,
12900,
2491,
316,
667,
315,
397,
4170,
10340,
797,
7675,
869,
461,
1435,
397,
3552,
315,
397,
833,
18,
2469,
397,
7682,
315,
353,
486,
316,
8086,
315,
397,
1131,
397,
24119,
397,
943,
31,
5411,
604,
394,
19817,
1878,
12,
588,
54,
10340,
9334,
1234,
1769,
3639,
289,
2
] |
e.consume();
|
ke.consume();
|
public void keyPressed(KeyEvent e) { int code = e.getKeyCode(); if(code == KeyEvent.VK_ESCAPE) { e.consume(); value = null; setVisible(false); } }
|
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/d6078a18da6163fa4d1ea405ee68e109f1f3f980/Main.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
498,
24624,
12,
653,
1133,
425,
13,
288,
1082,
565,
509,
981,
273,
425,
18,
588,
653,
1085,
5621,
1082,
565,
309,
12,
710,
422,
23737,
18,
58,
47,
67,
24849,
13,
288,
1082,
202,
4491,
18,
21224,
5621,
13491,
460,
273,
446,
31,
13491,
16697,
12,
5743,
1769,
1082,
565,
289,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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,
3196,
202,
482,
918,
498,
24624,
12,
653,
1133,
425,
13,
288,
1082,
565,
509,
981,
273,
425,
18,
588,
653,
1085,
5621,
1082,
565,
309,
12,
710,
422,
23737,
18,
58,
47,
67,
24849,
13,
288,
1082,
202,
4491,
18,
21224,
5621,
13491,
460,
273,
446,
31,
13491,
16697,
12,
5743,
1769,
1082,
565,
289,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
b[i] = (byte) (Math.random() * 256.0);
|
b[i] = (byte) (r.nextInt(256));
|
public static void main(String[] args) throws IllegalBase64Exception { int iter; for (iter = 0; iter < 1000; iter++) { byte[] b = new byte[(int) (Math.random()*64.0)]; for (int i = 0; i < b.length; i++) b[i] = (byte) (Math.random() * 256.0); String encoded = encode(b); System.out.println(encoded); byte[] decoded = decode(encoded); if (decoded.length != b.length) { System.out.println("length mismatch"); return; } for (int i = 0; i < b.length; i++) if (b[i] != decoded[i]) { System.out.println("data mismatch: index "+i+" of "+b.length+" should be 0x"+Integer.toHexString(b[i] & 0xFF)+ " was 0x"+Integer.toHexString(decoded[i] & 0xFF)); return; } } System.out.println("passed "+iter+" tests"); }
|
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/ba9cd92cedb84fba4215658b978f92462ab2592c/Base64.java/clean/src/freenet/support/Base64.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
565,
1216,
2141,
2171,
1105,
503,
225,
288,
565,
509,
1400,
31,
565,
364,
261,
2165,
273,
374,
31,
1400,
411,
4336,
31,
1400,
27245,
288,
1377,
1160,
8526,
324,
273,
394,
1160,
63,
12,
474,
13,
261,
10477,
18,
9188,
1435,
14,
1105,
18,
20,
13,
15533,
1377,
364,
261,
474,
277,
273,
374,
31,
277,
411,
324,
18,
2469,
31,
277,
27245,
3639,
324,
63,
77,
65,
273,
261,
7229,
13,
261,
86,
18,
4285,
1702,
12,
5034,
10019,
1377,
514,
3749,
273,
2017,
12,
70,
1769,
377,
2332,
18,
659,
18,
8222,
12,
10787,
1769,
1377,
1160,
8526,
6383,
273,
2495,
12,
10787,
1769,
1377,
309,
261,
26646,
18,
2469,
480,
324,
18,
2469,
13,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
2469,
13484,
8863,
3639,
327,
31,
1377,
289,
1377,
364,
261,
474,
277,
273,
374,
31,
277,
411,
324,
18,
2469,
31,
277,
27245,
3639,
309,
261,
70,
63,
77,
65,
480,
6383,
63,
77,
5717,
288,
1850,
2332,
18,
659,
18,
8222,
2932,
892,
13484,
30,
770,
13773,
77,
9078,
434,
13773,
70,
18,
2469,
9078,
1410,
506,
374,
92,
6,
15,
4522,
18,
869,
14866,
12,
70,
63,
77,
65,
473,
374,
6356,
27921,
5411,
315,
1703,
374,
92,
6,
15,
4522,
18,
869,
14866,
12,
26646,
63,
77,
65,
473,
374,
6356,
10019,
1850,
327,
31,
3639,
289,
565,
289,
565,
2332,
18,
659,
18,
8222,
2932,
23603,
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,
760,
918,
2774,
12,
780,
8526,
833,
13,
565,
1216,
2141,
2171,
1105,
503,
225,
288,
565,
509,
1400,
31,
565,
364,
261,
2165,
273,
374,
31,
1400,
411,
4336,
31,
1400,
27245,
288,
1377,
1160,
8526,
324,
273,
394,
1160,
63,
12,
474,
13,
261,
10477,
18,
9188,
1435,
14,
1105,
18,
20,
13,
15533,
1377,
364,
261,
474,
277,
273,
374,
31,
277,
411,
324,
18,
2469,
31,
277,
27245,
3639,
324,
63,
77,
65,
273,
261,
7229,
13,
261,
86,
18,
4285,
1702,
12,
5034,
10019,
1377,
514,
3749,
273,
2017,
12,
70,
1769,
377,
2332,
18,
659,
18,
8222,
12,
10787,
1769,
1377,
1160,
8526,
6383,
273,
2495,
12,
10787,
1769,
1377,
309,
2
] |
return new IncludedModuleWrapper(getRuntime(), superClazz, this);
|
IncludedModuleWrapper includedModule = new IncludedModuleWrapper(getRuntime(), superClazz, this); if (getSuperClass() != null) { includedModule.includeModule(getSuperClass()); } return includedModule;
|
public IncludedModuleWrapper newIncludeClass(RubyClass superClazz) { return new IncludedModuleWrapper(getRuntime(), superClazz, this); }
|
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/a1b8fc1d456e3d5c6e01579b88773383068aa85c/RubyModule.java/clean/src/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
657,
7908,
3120,
3611,
394,
8752,
797,
12,
54,
10340,
797,
2240,
14616,
13,
288,
3639,
657,
7908,
3120,
3611,
5849,
3120,
273,
394,
657,
7908,
3120,
3611,
12,
588,
5576,
9334,
2240,
14616,
16,
333,
1769,
282,
309,
261,
588,
8051,
797,
1435,
480,
446,
13,
288,
5849,
3120,
18,
6702,
3120,
12,
588,
8051,
797,
10663,
289,
225,
327,
5849,
3120,
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,
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
394,
8752,
797,
12,
54,
10340,
797,
2240,
14616,
13,
288,
3639,
657,
7908,
3120,
3611,
5849,
3120,
273,
394,
657,
7908,
3120,
3611,
12,
588,
5576,
9334,
2240,
14616,
16,
333,
1769,
282,
309,
261,
588,
8051,
797,
1435,
480,
446,
13,
288,
5849,
3120,
18,
6702,
3120,
12,
588,
8051,
797,
10663,
289,
225,
327,
5849,
3120,
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
] |
public static InvitationsMonitor getInvitationsMonitor(XMPPConnection conn) { synchronized (monitors) { if (!monitors.containsKey(conn)) { // We need to use a WeakReference because the monitor references the // connection and this could prevent the GC from collecting the monitor // when no other object references the monitor monitors.put(conn, new WeakReference<InvitationsMonitor>(new InvitationsMonitor(conn))); } // Return the InvitationsMonitor that monitors the connection return monitors.get(conn).get(); } }
|
52005 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52005/dd754e5a7f5cf0b0701477a405d7afae1c12feae/MultiUserChat.java/buggy/source/org/jivesoftware/smackx/muc/MultiUserChat.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
760,
5454,
18282,
7187,
336,
3605,
18282,
7187,
12,
60,
19388,
1952,
1487,
13,
288,
5411,
3852,
261,
2586,
13704,
13,
288,
7734,
309,
16051,
2586,
13704,
18,
12298,
653,
12,
4646,
3719,
288,
10792,
368,
1660,
1608,
358,
999,
279,
23632,
2404,
2724,
326,
6438,
5351,
326,
5397,
368,
1459,
471,
333,
3377,
5309,
326,
15085,
628,
30160,
326,
6438,
10792,
368,
1347,
1158,
1308,
733,
5351,
326,
6438,
10792,
22389,
18,
458,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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,
540,
1071,
760,
5454,
18282,
7187,
336,
3605,
18282,
7187,
12,
60,
19388,
1952,
1487,
13,
288,
5411,
3852,
261,
2586,
13704,
13,
288,
7734,
309,
16051,
2586,
13704,
18,
12298,
653,
12,
4646,
3719,
288,
10792,
368,
1660,
1608,
358,
999,
279,
23632,
2404,
2724,
326,
6438,
5351,
326,
5397,
368,
1459,
471,
333,
3377,
5309,
326,
15085,
628,
30160,
326,
6438,
10792,
368,
1347,
1158,
1308,
733,
5351,
326,
6438,
10792,
22389,
18,
458,
12,
4646,
16,
394,
23632,
2404,
32,
3605,
18282,
7187,
34,
12,
2704,
5454,
18282,
7187,
12,
4646,
3719,
1769,
7734,
289,
7734,
368,
2000,
326,
5454,
18282,
7187,
716,
22389,
326,
1459,
7734,
327,
22389,
18,
588,
12,
4646,
2934,
588,
5621,
2
] |
||
if (fileSystems != null){ fileSystems.getControl().setEnabled(enabled); fileSystemTitle.setEnabled(enabled);
|
if (fileSystemSelectionArea != null){ fileSystemSelectionArea.setEnabled(enabled);
|
private void setUserAreaEnabled(boolean enabled) { locationLabel.setEnabled(enabled); locationPathField.setEnabled(enabled); browseButton.setEnabled(enabled); if (fileSystems != null){ fileSystems.getControl().setEnabled(enabled); fileSystemTitle.setEnabled(enabled); } }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/bef29af86921c182270abbeef9d7f446442b60dc/ProjectContentsLocationArea.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ProjectContentsLocationArea.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
14365,
5484,
1526,
12,
6494,
3696,
13,
288,
202,
202,
3562,
2224,
18,
542,
1526,
12,
5745,
1769,
202,
202,
3562,
743,
974,
18,
542,
1526,
12,
5745,
1769,
202,
202,
25731,
3616,
18,
542,
1526,
12,
5745,
1769,
202,
202,
430,
261,
768,
31072,
480,
446,
15329,
1082,
202,
768,
31072,
18,
588,
3367,
7675,
542,
1526,
12,
5745,
1769,
1082,
202,
768,
3163,
4247,
18,
542,
1526,
12,
5745,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
14365,
5484,
1526,
12,
6494,
3696,
13,
288,
202,
202,
3562,
2224,
18,
542,
1526,
12,
5745,
1769,
202,
202,
3562,
743,
974,
18,
542,
1526,
12,
5745,
1769,
202,
202,
25731,
3616,
18,
542,
1526,
12,
5745,
1769,
202,
202,
430,
261,
768,
31072,
480,
446,
15329,
1082,
202,
768,
31072,
18,
588,
3367,
7675,
542,
1526,
12,
5745,
1769,
1082,
202,
768,
3163,
4247,
18,
542,
1526,
12,
5745,
1769,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
private String getCastString(PsiType fromType, PsiType toType) { final String toTypeText = toType.getCanonicalText(); final String fromTypeText = fromType.getCanonicalText(); final String unboxedType = s_boxingArgs.get(toTypeText); if (fromTypeText.equals(unboxedType)) { return ""; } else { return '(' + unboxedType + ')'; } }
|
private static String getCastString(PsiType fromType, PsiType toType) { final String toTypeText = toType.getCanonicalText(); final String fromTypeText = fromType.getCanonicalText(); final String unboxedType = s_boxingArgs.get(toTypeText); if (fromTypeText.equals(unboxedType)) { return ""; } else { return '(' + unboxedType + ')'; } }
|
private String getCastString(PsiType fromType, PsiType toType) { final String toTypeText = toType.getCanonicalText(); final String fromTypeText = fromType.getCanonicalText(); final String unboxedType = s_boxingArgs.get(toTypeText); if (fromTypeText.equals(unboxedType)) { return ""; } else { return '(' + unboxedType + ')'; } }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/7df6da3657defe930b6e39c6e6c9749162c397e2/UnnecessaryBoxingInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/jdk15/UnnecessaryBoxingInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
1927,
689,
780,
12,
52,
7722,
559,
628,
559,
16,
453,
7722,
559,
28234,
13,
288,
1377,
727,
514,
28234,
1528,
273,
28234,
18,
588,
15512,
1528,
5621,
1377,
727,
514,
628,
559,
1528,
273,
628,
559,
18,
588,
15512,
1528,
5621,
1377,
727,
514,
26773,
329,
559,
273,
272,
67,
2147,
310,
2615,
18,
588,
12,
869,
559,
1528,
1769,
1377,
309,
261,
2080,
559,
1528,
18,
14963,
12,
318,
2147,
329,
559,
3719,
288,
3639,
327,
1408,
31,
1377,
289,
1377,
469,
288,
3639,
327,
7321,
397,
26773,
329,
559,
397,
5777,
31,
1377,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
1927,
689,
780,
12,
52,
7722,
559,
628,
559,
16,
453,
7722,
559,
28234,
13,
288,
1377,
727,
514,
28234,
1528,
273,
28234,
18,
588,
15512,
1528,
5621,
1377,
727,
514,
628,
559,
1528,
273,
628,
559,
18,
588,
15512,
1528,
5621,
1377,
727,
514,
26773,
329,
559,
273,
272,
67,
2147,
310,
2615,
18,
588,
12,
869,
559,
1528,
1769,
1377,
309,
261,
2080,
559,
1528,
18,
14963,
12,
318,
2147,
329,
559,
3719,
288,
3639,
327,
1408,
31,
1377,
289,
1377,
469,
288,
3639,
327,
7321,
397,
26773,
329,
559,
397,
5777,
31,
1377,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Set<Integer>toRet = new LinkedHashSet<Integer>(mHits.keySet().size());
|
Set<Integer>toRet = new LinkedHashSet<Integer>(mHits.keySet().size());
|
Set<Integer> getIndexIds() { Set<Integer>toRet = new LinkedHashSet<Integer>(mHits.keySet().size()); for (Iterator iter = mHits.keySet().iterator(); iter.hasNext();) { Integer curInt = (Integer)iter.next(); toRet.add(curInt); } return toRet; }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/6b60a31397ffab69ad0d506789098ececc39c44f/LuceneQueryOperation.java/buggy/ZimbraServer/src/java/com/zimbra/cs/index/LuceneQueryOperation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1000,
32,
4522,
34,
8088,
2673,
1435,
288,
1850,
202,
694,
32,
4522,
34,
869,
7055,
273,
394,
19523,
32,
4522,
34,
12,
81,
20950,
18,
856,
694,
7675,
1467,
10663,
5411,
364,
261,
3198,
1400,
273,
312,
20950,
18,
856,
694,
7675,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
7734,
2144,
662,
1702,
273,
261,
4522,
13,
2165,
18,
4285,
5621,
7734,
358,
7055,
18,
1289,
12,
1397,
1702,
1769,
5411,
289,
5411,
327,
358,
7055,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1000,
32,
4522,
34,
8088,
2673,
1435,
288,
1850,
202,
694,
32,
4522,
34,
869,
7055,
273,
394,
19523,
32,
4522,
34,
12,
81,
20950,
18,
856,
694,
7675,
1467,
10663,
5411,
364,
261,
3198,
1400,
273,
312,
20950,
18,
856,
694,
7675,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
7734,
2144,
662,
1702,
273,
261,
4522,
13,
2165,
18,
4285,
5621,
7734,
358,
7055,
18,
1289,
12,
1397,
1702,
1769,
5411,
289,
5411,
327,
358,
7055,
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
] |
public void doGenKeyPair(String alias, X500Name dname, String keyAlgName, int keysize, String sigAlgName, long howLong)
|
public void doGenKeyPair(String alias, X500Name dname)
|
public void doGenKeyPair(String alias, X500Name dname, String keyAlgName, int keysize, String sigAlgName, long howLong) throws Exception { if(sigAlgName == null) if(keyAlgName.equalsIgnoreCase("DSA")) sigAlgName = "SHA1WithDSA"; else if(keyAlgName.equalsIgnoreCase("RSA")) sigAlgName = "MD5WithRSA"; else throw new Exception("Cannot derive signature algorithm"); KeyCertGenerator certandkeygen = new KeyCertGenerator(keyAlgName, sigAlgName, null); if (CryptoDebug.debug) { System.out.println("Generating " + keysize + " bit " + keyAlgName + " key pair and " + "self-signed certificate (" + sigAlgName + ")"); System.out.println("\tfor: " + dname + " - alias:" + alias); } certandkeygen.generate(keysize); PrivateKey privatekey = certandkeygen.getPrivateKey(); X509Certificate ax509certificate[] = new X509Certificate[1]; ax509certificate[0] = certandkeygen.getSelfCertificate(dname, howLong); setKeyEntry(alias, privatekey, ax509certificate); CertificateType certificateType = null; CertificateTrust certificateTrust = null; if (!param.isCertAuth) { // Add the certificate to the certificate cache. The key cannot be used // yet because it has not been signed by the Certificate Authority. certificateType = CertificateType.CERT_TYPE_END_ENTITY; certificateTrust = CertificateTrust.CERT_TRUST_SELF_SIGNED; } else { // This is a certificate authority, so the CA is trusting itself. certificateType= CertificateType.CERT_TYPE_CA; certificateTrust= CertificateTrust.CERT_TRUST_CA_SIGNED; } CertificateStatus certstatus = new CertificateStatus(ax509certificate[0], true, CertificateOrigin.CERT_ORI_KEYSTORE, certificateType, certificateTrust, alias); certstatus.setPKCS10Date(new Date()); certCache.addCertificate(certstatus); certCache.addPrivateKey(privatekey, certstatus); // Update Common Name to DN hashtable nameMapping.addName(certstatus); }
|
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/f0cfcf584555364af345aa24c7722366351061c3/DirectoryKeyStore.java/clean/securityservices/src/com/nai/security/crypto/DirectoryKeyStore.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
741,
7642,
15099,
12,
780,
2308,
16,
1139,
12483,
461,
302,
529,
16,
9506,
282,
514,
498,
21883,
461,
16,
509,
1311,
554,
16,
514,
3553,
21883,
461,
16,
9506,
282,
1525,
3661,
3708,
13,
565,
1216,
1185,
225,
288,
565,
309,
12,
7340,
21883,
461,
422,
446,
13,
1377,
309,
12,
856,
21883,
461,
18,
14963,
5556,
2932,
19748,
6,
3719,
202,
7340,
21883,
461,
273,
315,
8325,
21,
1190,
19748,
14432,
1377,
469,
202,
430,
12,
856,
21883,
461,
18,
14963,
5556,
2932,
15248,
6,
3719,
202,
225,
3553,
21883,
461,
273,
315,
6188,
25,
1190,
15248,
14432,
202,
12107,
202,
225,
604,
394,
1185,
2932,
4515,
14763,
3372,
4886,
8863,
565,
1929,
5461,
3908,
3320,
464,
856,
4507,
273,
394,
1929,
5461,
3908,
12,
856,
21883,
461,
16,
6862,
9506,
225,
3553,
21883,
461,
16,
446,
1769,
565,
309,
261,
18048,
2829,
18,
4148,
13,
288,
1377,
2332,
18,
659,
18,
8222,
2932,
21755,
315,
397,
1311,
554,
397,
315,
2831,
315,
397,
498,
21883,
461,
9506,
397,
315,
498,
3082,
471,
315,
397,
315,
2890,
17,
5679,
4944,
7566,
9506,
397,
3553,
21883,
461,
397,
7310,
1769,
1377,
2332,
18,
659,
18,
8222,
31458,
88,
1884,
30,
315,
397,
302,
529,
397,
315,
300,
2308,
2773,
397,
2308,
1769,
565,
289,
565,
3320,
464,
856,
4507,
18,
7163,
12,
856,
1467,
1769,
565,
14018,
3238,
856,
273,
3320,
464,
856,
4507,
18,
588,
10824,
5621,
565,
1139,
5995,
4719,
1740,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
741,
7642,
15099,
12,
780,
2308,
16,
1139,
12483,
461,
302,
529,
16,
9506,
282,
514,
498,
21883,
461,
16,
509,
1311,
554,
16,
514,
3553,
21883,
461,
16,
9506,
282,
1525,
3661,
3708,
13,
565,
1216,
1185,
225,
288,
565,
309,
12,
7340,
21883,
461,
422,
446,
13,
1377,
309,
12,
856,
21883,
461,
18,
14963,
5556,
2932,
19748,
6,
3719,
202,
7340,
21883,
461,
273,
315,
8325,
21,
1190,
19748,
14432,
1377,
469,
202,
430,
12,
856,
21883,
461,
18,
14963,
5556,
2932,
15248,
6,
3719,
202,
225,
3553,
21883,
461,
273,
315,
6188,
25,
1190,
15248,
14432,
202,
12107,
202,
225,
604,
394,
1185,
2932,
4515,
14763,
3372,
4886,
8863,
565,
1929,
5461,
2
] |
if (e.getKeyCode() == KeyEvent.VK_DOWN)
|
if (e.getKeyCode() == KeyEvent.VK_DOWN || e.getKeyCode() == KeyEvent.VK_KP_DOWN)
|
public void keyPressed(KeyEvent e) { TreePath start = BasicTreeUI.this.tree.getLeadSelectionPath(); DefaultMutableTreeNode last = null; if (start != null) last = (DefaultMutableTreeNode) start.getLastPathComponent(); if (last != null) { if (e.getKeyCode() == KeyEvent.VK_DOWN) { DefaultMutableTreeNode next = (DefaultMutableTreeNode) BasicTreeUI.this.getNextVisibleNode(last); if (next != null) BasicTreeUI.this.selectPath(BasicTreeUI.this.tree, new TreePath(next.getPath())); } else if (e.getKeyCode() == KeyEvent.VK_UP) { DefaultMutableTreeNode prev = (DefaultMutableTreeNode) BasicTreeUI.this.getPreviousVisibleNode(last); if (prev != null) BasicTreeUI.this.selectPath(BasicTreeUI.this.tree, new TreePath(prev.getPath())); } else if (e.getKeyCode() == KeyEvent.VK_LEFT) { TreePath path = new TreePath(last.getPath()); if (!last.isLeaf() && BasicTreeUI.this.tree.isExpanded(path)) { BasicTreeUI.this.tree.collapsePath(path); BasicTreeUI.this.tree.fireTreeCollapsed(path); } } else if (e.getKeyCode() == KeyEvent.VK_RIGHT) { TreePath path = new TreePath(last.getPath()); if (!last.isLeaf() && BasicTreeUI.this.tree.isCollapsed(path)) { BasicTreeUI.this.tree.expandPath(path); BasicTreeUI.this.tree.fireTreeExpanded(path); } } } }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
498,
24624,
12,
653,
1133,
425,
13,
202,
202,
95,
540,
4902,
743,
787,
273,
7651,
2471,
5370,
18,
2211,
18,
3413,
18,
588,
9678,
6233,
743,
5621,
540,
2989,
19536,
12513,
1142,
273,
446,
31,
5375,
309,
261,
1937,
480,
446,
13,
5411,
1142,
273,
261,
1868,
19536,
12513,
13,
787,
18,
588,
3024,
743,
1841,
5621,
540,
309,
261,
2722,
480,
446,
13,
540,
288,
2398,
309,
261,
73,
18,
588,
653,
1085,
1435,
422,
23737,
18,
58,
47,
67,
12711,
747,
425,
18,
588,
653,
1085,
1435,
422,
23737,
18,
58,
47,
67,
47,
52,
67,
12711,
13,
5411,
288,
9079,
2989,
19536,
12513,
1024,
273,
261,
1868,
19536,
12513,
13,
10402,
7651,
2471,
5370,
18,
2211,
18,
588,
2134,
6207,
907,
12,
2722,
1769,
17311,
309,
261,
4285,
480,
446,
13,
5375,
7651,
2471,
5370,
18,
2211,
18,
4025,
743,
12,
8252,
2471,
5370,
18,
2211,
18,
3413,
16,
13491,
394,
4902,
743,
12,
4285,
18,
588,
743,
1435,
10019,
5411,
289,
5411,
469,
309,
261,
73,
18,
588,
653,
1085,
1435,
422,
23737,
18,
58,
47,
67,
3079,
13,
5411,
288,
9079,
2989,
19536,
12513,
2807,
273,
261,
1868,
19536,
12513,
13,
7734,
7651,
2471,
5370,
18,
2211,
18,
588,
8351,
6207,
907,
12,
2722,
1769,
13491,
309,
261,
10001,
480,
446,
13,
9079,
7651,
2471,
5370,
18,
2211,
18,
4025,
743,
12,
8252,
2471,
5370,
18,
2211,
18,
3413,
16,
5397,
394,
4902,
743,
12,
10001,
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,
3196,
202,
482,
918,
498,
24624,
12,
653,
1133,
425,
13,
202,
202,
95,
540,
4902,
743,
787,
273,
7651,
2471,
5370,
18,
2211,
18,
3413,
18,
588,
9678,
6233,
743,
5621,
540,
2989,
19536,
12513,
1142,
273,
446,
31,
5375,
309,
261,
1937,
480,
446,
13,
5411,
1142,
273,
261,
1868,
19536,
12513,
13,
787,
18,
588,
3024,
743,
1841,
5621,
540,
309,
261,
2722,
480,
446,
13,
540,
288,
2398,
309,
261,
73,
18,
588,
653,
1085,
1435,
422,
23737,
18,
58,
47,
67,
12711,
747,
425,
18,
588,
653,
1085,
1435,
422,
23737,
18,
58,
47,
67,
47,
52,
67,
12711,
13,
5411,
288,
9079,
2989,
19536,
12513,
1024,
273,
261,
1868,
19536,
12513,
13,
10402,
2
] |
final StringReader reader = new StringReader(lines); FileSystemUtils fsu = new FileSystemUtils() { protected BufferedReader openProcessStream(String[] params) { return new BufferedReader(reader); } };
|
FileSystemUtils fsu = new MockFileSystemUtils(0, lines);
|
public void testGetFreeSpaceUnix_String_InvalidResponse4() throws Exception { String lines = "Filesystem 1K-blocks Used Available Use% Mounted on\n" + "xxx-yyyyyyy-zzz:/home/users/s"; final StringReader reader = new StringReader(lines); FileSystemUtils fsu = new FileSystemUtils() { protected BufferedReader openProcessStream(String[] params) { return new BufferedReader(reader); } }; try { fsu.freeSpaceUnix("/home/users/s", false, false); fail(); } catch (IOException ex) {} try { fsu.freeSpaceUnix("/home/users/s", true, false); fail(); } catch (IOException ex) {} try { fsu.freeSpaceUnix("/home/users/s", false, true); fail(); } catch (IOException ex) {} try { fsu.freeSpaceUnix("/home/users/s", true, true); fail(); } catch (IOException ex) {} }
|
49302 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49302/0a03609ddc6380dd7c9053eb8cb04072baa476a1/FileSystemUtilsTestCase.java/buggy/src/test/org/apache/commons/io/FileSystemUtilsTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
9194,
3819,
18729,
67,
780,
67,
1941,
1064,
24,
1435,
1216,
1185,
288,
3639,
514,
2362,
273,
5411,
315,
12861,
6647,
404,
47,
17,
7996,
1377,
10286,
15633,
2672,
9,
13076,
329,
603,
64,
82,
6,
397,
5411,
315,
18310,
17,
17722,
6795,
93,
17,
6378,
94,
27824,
8712,
19,
5577,
19,
87,
14432,
3639,
727,
26227,
2949,
273,
394,
26227,
12,
3548,
1769,
3639,
10931,
1989,
2662,
89,
273,
394,
10931,
1989,
1435,
288,
5411,
4750,
10633,
1696,
2227,
1228,
12,
780,
8526,
859,
13,
288,
7734,
327,
394,
10633,
12,
10530,
1769,
5411,
289,
3639,
289,
31,
3639,
775,
288,
5411,
2662,
89,
18,
9156,
3819,
18729,
2932,
19,
8712,
19,
5577,
19,
87,
3113,
629,
16,
629,
1769,
5411,
2321,
5621,
3639,
289,
1044,
261,
14106,
431,
13,
2618,
3639,
775,
288,
5411,
2662,
89,
18,
9156,
3819,
18729,
2932,
19,
8712,
19,
5577,
19,
87,
3113,
638,
16,
629,
1769,
5411,
2321,
5621,
3639,
289,
1044,
261,
14106,
431,
13,
2618,
3639,
775,
288,
5411,
2662,
89,
18,
9156,
3819,
18729,
2932,
19,
8712,
19,
5577,
19,
87,
3113,
629,
16,
638,
1769,
5411,
2321,
5621,
3639,
289,
1044,
261,
14106,
431,
13,
2618,
3639,
775,
288,
5411,
2662,
89,
18,
9156,
3819,
18729,
2932,
19,
8712,
19,
5577,
19,
87,
3113,
638,
16,
638,
1769,
5411,
2321,
5621,
3639,
289,
1044,
261,
14106,
431,
13,
2618,
565,
289,
2,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
9194,
3819,
18729,
67,
780,
67,
1941,
1064,
24,
1435,
1216,
1185,
288,
3639,
514,
2362,
273,
5411,
315,
12861,
6647,
404,
47,
17,
7996,
1377,
10286,
15633,
2672,
9,
13076,
329,
603,
64,
82,
6,
397,
5411,
315,
18310,
17,
17722,
6795,
93,
17,
6378,
94,
27824,
8712,
19,
5577,
19,
87,
14432,
3639,
727,
26227,
2949,
273,
394,
26227,
12,
3548,
1769,
3639,
10931,
1989,
2662,
89,
273,
394,
10931,
1989,
1435,
288,
5411,
4750,
10633,
1696,
2227,
1228,
12,
780,
8526,
859,
13,
288,
7734,
327,
394,
10633,
12,
10530,
1769,
5411,
289,
3639,
289,
31,
3639,
775,
288,
5411,
2662,
89,
18,
9156,
3819,
18729,
2932,
19,
8712,
19,
5577,
2
] |
return "Add an existing project to the source locations list.";
|
return CDebugUIPlugin.getResourceString("internal.ui.wizards.AddProjectSourceLocationWizard.Description");
|
public String getDescription() { return "Add an existing project to the source locations list."; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/7c50719ee75ad53d8a6bd367d0f569749c3680bc/AddProjectSourceLocationWizard.java/buggy/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/AddProjectSourceLocationWizard.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
11056,
1435,
202,
95,
202,
202,
2463,
315,
986,
392,
2062,
1984,
358,
326,
1084,
7838,
666,
1199,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
11056,
1435,
202,
95,
202,
202,
2463,
315,
986,
392,
2062,
1984,
358,
326,
1084,
7838,
666,
1199,
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
] |
} for (;;) {
|
static JavaMembers lookupClass(Scriptable scope, Class dynamicType, Class staticType) { Hashtable ct = classTable; // use local reference to avoid synchronize JavaMembers members = (JavaMembers) ct.get(dynamicType); if (members != null) return members; if (staticType == dynamicType) { staticType = null; } Class cl = dynamicType; if (!Modifier.isPublic(dynamicType.getModifiers())) { if (staticType == null || !Modifier.isPublic(staticType.getModifiers())) { cl = getPublicSuperclass(dynamicType); if (cl == null) { // Can happen if dynamicType is interface cl = dynamicType; } } else if (staticType.isInterface()) { // If the static type is an interface, use it cl = staticType; } else { // We can use the static type, and that is OK, but we'll trace // back the java class chain here to look for public superclass // comming before staticType cl = getPublicSuperclass(dynamicType); if (cl == null) { // Can happen if dynamicType is interface cl = dynamicType; } } } for (;;) { try { members = new JavaMembers(scope, cl); break; } catch (SecurityException e) { // Reflection may fail for objects that are in a restricted // access package (e.g. sun.*). If we get a security // exception, try again with the static type if it is interface. // Otherwise, try public superclass if (staticType != null && staticType.isInterface()) { cl = staticType; staticType = null; // try staticType only once continue; } Class parent = getPublicSuperclass(cl); if (parent == null) { if (cl.isInterface()) { // last resort parent = ScriptRuntime.ObjectClass; } else { throw e; } } cl = parent; } } if (Context.isCachingEnabled) ct.put(cl, members); return members; }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/9d44b5410ee73a96e98b00aa767eb0b7acd190dc/JavaMembers.java/buggy/js/rhino/src/org/mozilla/javascript/JavaMembers.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
5110,
6918,
3689,
797,
12,
3651,
429,
2146,
16,
1659,
5976,
559,
16,
4766,
282,
1659,
760,
559,
13,
565,
288,
3639,
18559,
5691,
273,
667,
1388,
31,
225,
368,
999,
1191,
2114,
358,
4543,
16978,
3639,
5110,
6918,
4833,
273,
261,
5852,
6918,
13,
5691,
18,
588,
12,
14507,
559,
1769,
3639,
309,
261,
7640,
480,
446,
13,
5411,
327,
4833,
31,
3639,
309,
261,
3845,
559,
422,
5976,
559,
13,
288,
5411,
760,
559,
273,
446,
31,
3639,
289,
3639,
1659,
927,
273,
5976,
559,
31,
3639,
309,
16051,
9829,
18,
291,
4782,
12,
14507,
559,
18,
588,
11948,
1435,
3719,
288,
5411,
309,
261,
3845,
559,
422,
446,
7734,
747,
401,
9829,
18,
291,
4782,
12,
3845,
559,
18,
588,
11948,
1435,
3719,
5411,
288,
7734,
927,
273,
17426,
28471,
12,
14507,
559,
1769,
7734,
309,
261,
830,
422,
446,
13,
288,
10792,
368,
4480,
5865,
309,
5976,
559,
353,
1560,
10792,
927,
273,
5976,
559,
31,
7734,
289,
5411,
289,
469,
309,
261,
3845,
559,
18,
291,
1358,
10756,
288,
7734,
368,
971,
326,
760,
618,
353,
392,
1560,
16,
999,
518,
7734,
927,
273,
760,
559,
31,
5411,
289,
469,
288,
7734,
368,
1660,
848,
999,
326,
760,
618,
16,
471,
716,
353,
7791,
16,
1496,
732,
5614,
2606,
7734,
368,
1473,
326,
2252,
667,
2687,
2674,
358,
2324,
364,
1071,
12098,
7734,
368,
1543,
310,
1865,
760,
559,
7734,
927,
273,
17426,
28471,
12,
14507,
559,
1769,
7734,
309,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
5110,
6918,
3689,
797,
12,
3651,
429,
2146,
16,
1659,
5976,
559,
16,
4766,
282,
1659,
760,
559,
13,
565,
288,
3639,
18559,
5691,
273,
667,
1388,
31,
225,
368,
999,
1191,
2114,
358,
4543,
16978,
3639,
5110,
6918,
4833,
273,
261,
5852,
6918,
13,
5691,
18,
588,
12,
14507,
559,
1769,
3639,
309,
261,
7640,
480,
446,
13,
5411,
327,
4833,
31,
3639,
309,
261,
3845,
559,
422,
5976,
559,
13,
288,
5411,
760,
559,
273,
446,
31,
3639,
289,
3639,
1659,
927,
273,
5976,
559,
31,
3639,
309,
16051,
9829,
18,
291,
4782,
12,
14507,
559,
18,
588,
11948,
1435,
3719,
288,
5411,
309,
261,
3845,
559,
422,
446,
7734,
747,
401,
9829,
18,
291,
2
] |
|
log.entering(this.getClass().getName(), "start");
|
if (Configuration.DEBUG) log.entering(this.getClass().getName(), "start");
|
void start() throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ ensureStoreContainsAlias(); store.deleteEntry(alias); saveKeyStore(); log.exiting(this.getClass().getName(), "start"); //$NON-NLS-1$ }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/2fc4e384dcea5a4ff5cefac633fe9a3c8607d6b3/DeleteCmd.java/buggy/tools/gnu/classpath/tools/keytool/DeleteCmd.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
787,
1435,
1216,
17017,
503,
16,
17684,
16,
1377,
29551,
16,
1860,
225,
288,
565,
613,
18,
2328,
310,
12,
2211,
18,
588,
797,
7675,
17994,
9334,
315,
1937,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
565,
3387,
2257,
10846,
2936,
5621,
565,
1707,
18,
3733,
1622,
12,
4930,
1769,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
787,
1435,
1216,
17017,
503,
16,
17684,
16,
1377,
29551,
16,
1860,
225,
288,
565,
613,
18,
2328,
310,
12,
2211,
18,
588,
797,
7675,
17994,
9334,
315,
1937,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
565,
3387,
2257,
10846,
2936,
5621,
565,
1707,
18,
3733,
1622,
12,
4930,
1769,
565,
1923,
17250,
5621,
565,
613,
18,
8593,
310,
12,
2211,
18,
588,
797,
7675,
17994,
9334,
315,
1937,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
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
] |
String testJVM = (jvmName.startsWith("j9") ? "j9" : jvmName);
|
String testJVM = jvmName; if (jvmName.startsWith("j9")) testJVM = (jvmName.equals("j9_foundation") ? "foundation" : "j9");
|
public static Properties locateSuiteProperties(String suiteName, Properties parentProps, boolean isParent, boolean isTop) throws ClassNotFoundException, IOException, Exception { // Check for suite properties //System.out.println("Checking for suite properties"); String suitePropsName = "suites" + '/' + suiteName + ".properties"; InputStream is = org.apache.derbyTesting.functionTests.harness.RunTest.loadTestResource(suitePropsName); if (is == null) { // Look in userdir suitePropsName = userdir + '/' + suiteName + ".properties"; is = org.apache.derbyTesting.functionTests.harness.RunTest.loadTestResource(suitePropsName); } Properties p = new Properties(); // Reset these properties if (isParent) { usesystem = null; upgradetest = null; jarfile = null; outcopy = null; useoutput = null; mtestdir = null; skipsed = "false"; //outputdir = outDir.getCanonicalPath(); } if (is != null) { p.load(is); is = null; } else { // Reset framework to the parent suite's framework, if any // because framework may have been set by previous suite framework = parentProps.getProperty("framework"); serverJvm = parentProps.getProperty("serverJvm"); serverJvmName = parentProps.getProperty("serverJvmName"); // Do the same for ij.defaultResourcePackage ijdefaultResourcePackage = parentProps.getProperty("ij.defaultResourcePackage"); // And do the same for encryption encryption = parentProps.getProperty("encryption"); testEncryptionProvider = parentProps.getProperty("testEncryptionProvider"); testEncryptionAlgorithm = parentProps.getProperty("testEncryptionAlgorithm"); // And do the same for jdk12test jdk12test = parentProps.getProperty("jdk12test"); jdk12exttest = parentProps.getProperty("jdk12exttest"); // and jdk14test jdk14test = parentProps.getProperty("jdk14test"); runwithj9 = parentProps.getProperty("runwithj9"); runwithibmjvm = parentProps.getProperty("runwithibmjvm"); String testJVM = (jvmName.startsWith("j9") ? "j9" : jvmName); runwithjvm = parentProps.getProperty("runwith" + testJVM); excludeJCC = parentProps.getProperty("excludeJCC"); } return p; }
|
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/88e3d5f2c471cb86f03a86c8219bc133a4d7119c/RunList.java/buggy/java/testing/org/apache/derbyTesting/functionTests/harness/RunList.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
6183,
10627,
13587,
2297,
12,
780,
11371,
461,
16,
540,
6183,
982,
5047,
16,
1250,
353,
3054,
16,
1250,
353,
3401,
13,
3639,
1216,
10403,
16,
1860,
16,
1185,
565,
288,
3639,
368,
2073,
364,
11371,
1790,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
14294,
364,
11371,
1790,
8863,
3639,
514,
11371,
5047,
461,
273,
315,
26560,
2997,
6,
397,
2023,
397,
11371,
461,
397,
3552,
4738,
14432,
3639,
5037,
353,
273,
2358,
18,
19211,
18,
765,
1637,
22218,
18,
915,
14650,
18,
76,
1303,
403,
18,
1997,
4709,
18,
945,
4709,
1420,
12,
30676,
5047,
461,
1769,
3639,
309,
261,
291,
422,
446,
13,
3639,
288,
5411,
368,
10176,
316,
729,
1214,
5411,
11371,
5047,
461,
273,
729,
1214,
397,
2023,
397,
11371,
461,
397,
3552,
4738,
14432,
5411,
353,
273,
2358,
18,
19211,
18,
765,
1637,
22218,
18,
915,
14650,
18,
76,
1303,
403,
18,
1997,
4709,
18,
945,
4709,
1420,
12,
30676,
5047,
461,
1769,
3639,
289,
3639,
6183,
293,
273,
394,
6183,
5621,
3639,
368,
7151,
4259,
1790,
3639,
309,
261,
291,
3054,
13,
3639,
288,
5411,
4692,
1108,
273,
446,
31,
5411,
731,
2752,
8238,
395,
273,
446,
31,
5411,
7334,
768,
273,
446,
31,
5411,
596,
3530,
273,
446,
31,
5411,
999,
2844,
273,
446,
31,
5411,
312,
3813,
1214,
273,
446,
31,
5411,
2488,
730,
273,
315,
5743,
14432,
5411,
368,
2844,
1214,
273,
596,
1621,
18,
588,
15512,
743,
5621,
3639,
289,
3639,
309,
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,
377,
1071,
760,
6183,
10627,
13587,
2297,
12,
780,
11371,
461,
16,
540,
6183,
982,
5047,
16,
1250,
353,
3054,
16,
1250,
353,
3401,
13,
3639,
1216,
10403,
16,
1860,
16,
1185,
565,
288,
3639,
368,
2073,
364,
11371,
1790,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
14294,
364,
11371,
1790,
8863,
3639,
514,
11371,
5047,
461,
273,
315,
26560,
2997,
6,
397,
2023,
397,
11371,
461,
397,
3552,
4738,
14432,
3639,
5037,
353,
273,
2358,
18,
19211,
18,
765,
1637,
22218,
18,
915,
14650,
18,
76,
1303,
403,
18,
1997,
4709,
18,
945,
4709,
1420,
12,
30676,
5047,
461,
1769,
3639,
309,
261,
291,
422,
446,
13,
3639,
288,
5411,
368,
10176,
316,
729,
1214,
5411,
11371,
2
] |
{ String s = getString(columnIndex); if (s != null) { try { return Integer.parseInt(s); } catch (NumberFormatException e) { throw new SQLException ("Bad Integer Form: " + s); } } return 0; }
|
{ String s = getString(columnIndex); if (s != null) { try { return Integer.parseInt(s); } catch (NumberFormatException e) { throw new SQLException ("Bad Integer Form: " + s); } } return 0; }
|
public int getInt(int columnIndex) throws SQLException { String s = getString(columnIndex); if (s != null) { try { return Integer.parseInt(s); } catch (NumberFormatException e) { throw new SQLException ("Bad Integer Form: " + s); } } return 0; // SQL NULL }
|
49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/6a061da272f04e1463864065f87f1f3fd61d6162/ResultSet.java/buggy/src/interfaces/jdbc/postgresql/ResultSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
8145,
12,
474,
14882,
13,
1216,
6483,
202,
95,
202,
202,
780,
272,
273,
4997,
12,
2827,
1016,
1769,
202,
202,
430,
261,
87,
480,
446,
13,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
2463,
2144,
18,
2670,
1702,
12,
87,
1769,
1082,
202,
97,
1044,
261,
1854,
9291,
425,
13,
288,
9506,
202,
12849,
394,
6483,
7566,
6434,
2144,
2748,
30,
315,
397,
272,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
374,
31,
202,
202,
759,
3063,
3206,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
8145,
12,
474,
14882,
13,
1216,
6483,
202,
95,
202,
202,
780,
272,
273,
4997,
12,
2827,
1016,
1769,
202,
202,
430,
261,
87,
480,
446,
13,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
2463,
2144,
18,
2670,
1702,
12,
87,
1769,
1082,
202,
97,
1044,
261,
1854,
9291,
425,
13,
288,
9506,
202,
12849,
394,
6483,
7566,
6434,
2144,
2748,
30,
315,
397,
272,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
374,
31,
202,
202,
759,
3063,
3206,
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
] |
sCurrentActiveTask = sTaskID;
|
public void switchTo( String sTaskID ) { currentTaskId = sTaskID; // Update the context from the current task...if available if ( sCurrentActiveTask != null ) { this.context = ( (ITask) availableTasks.get( sCurrentActiveTask ) ).getContext( ); String[] sErrors = ( (ITask) availableTasks.get( sCurrentActiveTask ) ).getErrors( ); if ( sErrors != null && sErrors.length > 0 ) { new ErrorDialog( "WizardBase: Errors Encountered", //$NON-NLS-1$ "The following errors were reported by the task panel you just left", //$NON-NLS-1$ sErrors, new String[]{} ); } } // Clear any existing popup if ( shellPopup != null && !shellPopup.isDisposed( ) ) { shellPopup.close( ); } // Pass the errorHints if any have been reported by previous task if ( errorHints != null ) { ( (ITask) availableTasks.get( sTaskID ) ).setErrorHints( errorHints ); } // Pass the context to the new task...so it can prepare its UI ( (ITask) availableTasks.get( sTaskID ) ).setContext( context ); // Clear errorHints errorHints = null; // Get the new UI and display it Control c = ( (ITask) availableTasks.get( sTaskID ) ).getUI( cmpTaskContainer ); slTaskContainer.topControl = c; cmpTaskContainer.layout( ); tasklist.setActive( (String) vTaskLabels.get( vTaskIDs.indexOf( sTaskID ) ) ); // Update current active task ID sCurrentActiveTask = sTaskID; // TODO: Handle enabling / disabling of Buttons }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/10fe950cbad09cea3732306ccb67e21cd29a304a/WizardBase.java/buggy/core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/frameworks/taskwizard/WizardBase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1620,
774,
12,
514,
272,
2174,
734,
262,
202,
95,
202,
202,
2972,
30182,
273,
272,
2174,
734,
31,
202,
202,
759,
2315,
326,
819,
628,
326,
783,
1562,
2777,
430,
2319,
202,
202,
430,
261,
272,
3935,
3896,
2174,
480,
446,
262,
202,
202,
95,
1082,
202,
2211,
18,
2472,
273,
261,
261,
1285,
835,
13,
2319,
6685,
18,
588,
12,
272,
3935,
3896,
2174,
262,
262,
18,
29120,
12,
11272,
1082,
202,
780,
8526,
272,
4229,
273,
261,
261,
1285,
835,
13,
2319,
6685,
18,
588,
12,
272,
3935,
3896,
2174,
262,
262,
18,
588,
4229,
12,
11272,
1082,
202,
430,
261,
272,
4229,
480,
446,
597,
272,
4229,
18,
2469,
405,
374,
262,
1082,
202,
95,
9506,
202,
2704,
1068,
6353,
12,
315,
27130,
2171,
30,
9372,
1374,
7476,
329,
3113,
4329,
3993,
17,
5106,
17,
21,
8,
25083,
202,
6,
1986,
3751,
1334,
4591,
14010,
635,
326,
1562,
6594,
1846,
2537,
2002,
3113,
4329,
3993,
17,
5106,
17,
21,
8,
25083,
202,
87,
4229,
16,
25083,
202,
2704,
514,
8526,
2916,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
759,
10121,
1281,
2062,
10431,
202,
202,
430,
261,
5972,
13770,
480,
446,
597,
401,
10304,
13770,
18,
291,
1669,
7423,
12,
262,
262,
202,
202,
95,
1082,
202,
10304,
13770,
18,
4412,
12,
11272,
202,
202,
97,
202,
202,
759,
10311,
326,
555,
13368,
309,
1281,
1240,
2118,
14010,
635,
2416,
1562,
202,
202,
430,
261,
555,
13368,
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,
1620,
774,
12,
514,
272,
2174,
734,
262,
202,
95,
202,
202,
2972,
30182,
273,
272,
2174,
734,
31,
202,
202,
759,
2315,
326,
819,
628,
326,
783,
1562,
2777,
430,
2319,
202,
202,
430,
261,
272,
3935,
3896,
2174,
480,
446,
262,
202,
202,
95,
1082,
202,
2211,
18,
2472,
273,
261,
261,
1285,
835,
13,
2319,
6685,
18,
588,
12,
272,
3935,
3896,
2174,
262,
262,
18,
29120,
12,
11272,
1082,
202,
780,
8526,
272,
4229,
273,
261,
261,
1285,
835,
13,
2319,
6685,
18,
588,
12,
272,
3935,
3896,
2174,
262,
262,
18,
588,
4229,
12,
11272,
1082,
202,
430,
261,
272,
4229,
480,
446,
597,
272,
4229,
18,
2469,
405,
374,
2
] |
|
public RubyNumeric op_pow(RubyNumeric other) {
|
public IRubyObject op_pow(IRubyObject other) {
|
public RubyNumeric op_pow(RubyNumeric other) { if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_pow(other); } if (other.getLongValue() == 0) { return getRuntime().newFixnum(1); } else if (other.getLongValue() == 1) { return this; } else if (other.getLongValue() > 1) { return RubyBignum.newBignum(getRuntime(), getLongValue()).op_pow(other); } else { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_pow(other); } }
|
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyFixnum.java/buggy/src/org/jruby/RubyFixnum.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1061,
67,
23509,
12,
7937,
10340,
921,
1308,
13,
288,
3639,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
327,
19817,
4723,
18,
2704,
4723,
12,
588,
5576,
9334,
16097,
620,
1435,
2934,
556,
67,
23509,
12,
3011,
1769,
3639,
289,
202,
202,
430,
261,
3011,
18,
588,
3708,
620,
1435,
422,
374,
13,
288,
1082,
565,
327,
18814,
7675,
2704,
8585,
2107,
12,
21,
1769,
202,
202,
97,
469,
309,
261,
3011,
18,
588,
3708,
620,
1435,
422,
404,
13,
288,
1082,
565,
327,
333,
31,
202,
202,
97,
469,
309,
261,
3011,
18,
588,
3708,
620,
1435,
405,
404,
13,
288,
1082,
565,
327,
19817,
38,
724,
379,
18,
2704,
38,
724,
379,
12,
588,
5576,
9334,
11105,
620,
1435,
2934,
556,
67,
23509,
12,
3011,
1769,
202,
202,
97,
469,
288,
1082,
565,
327,
19817,
4723,
18,
2704,
4723,
12,
588,
5576,
9334,
16097,
620,
1435,
2934,
556,
67,
23509,
12,
3011,
1769,
202,
202,
97,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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12,
7937,
10340,
921,
1308,
13,
288,
3639,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
327,
19817,
4723,
18,
2704,
4723,
12,
588,
5576,
9334,
16097,
620,
1435,
2934,
556,
67,
23509,
12,
3011,
1769,
3639,
289,
202,
202,
430,
261,
3011,
18,
588,
3708,
620,
1435,
422,
374,
13,
288,
1082,
565,
327,
18814,
7675,
2704,
8585,
2107,
12,
21,
1769,
202,
202,
97,
469,
309,
261,
3011,
18,
588,
3708,
620,
1435,
422,
404,
13,
288,
1082,
565,
327,
333,
31,
202,
202,
97,
469,
309,
261,
3011,
18,
588,
3708,
620,
1435,
405,
404,
13,
288,
1082,
565,
327,
19817,
38,
724,
379,
18,
2704,
38,
2
] |
public void treePrint(int depth)
|
public void treePrint()
|
public void treePrint(int depth) { if (SanityManager.DEBUG) { debugPrint(formatNodeString(nodeHeader(), depth)); debugPrint(formatNodeString(this.toString(), depth)); printSubNodes(depth); } }
|
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/2d2e71770defa6a3bbf39bb9bc64770b1bf8a8a8/QueryTreeNode.java/buggy/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2151,
5108,
12,
474,
3598,
13,
202,
95,
202,
202,
430,
261,
55,
10417,
1318,
18,
9394,
13,
202,
202,
95,
1082,
202,
4148,
5108,
12,
2139,
907,
780,
12,
2159,
1864,
9334,
3598,
10019,
1082,
202,
4148,
5108,
12,
2139,
907,
780,
12,
2211,
18,
10492,
9334,
3598,
10019,
1082,
202,
1188,
1676,
3205,
12,
5979,
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,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2151,
5108,
12,
474,
3598,
13,
202,
95,
202,
202,
430,
261,
55,
10417,
1318,
18,
9394,
13,
202,
202,
95,
1082,
202,
4148,
5108,
12,
2139,
907,
780,
12,
2159,
1864,
9334,
3598,
10019,
1082,
202,
4148,
5108,
12,
2139,
907,
780,
12,
2211,
18,
10492,
9334,
3598,
10019,
1082,
202,
1188,
1676,
3205,
12,
5979,
1769,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return buildRequest(READ_MEMORY_COMMAND, fromAddress, new byte[]{asByte(numBytes - 1)});
|
return buildRequest(READ_MEMORY_COMMAND, true, fromAddress, new byte[]{asByte(numBytes - 1)});
|
public byte[] constructReadMemoryRequest(byte[] fromAddress, int numBytes) { checkNotNullOrEmpty(fromAddress, "fromAddress"); checkGreaterThanZero(numBytes, "numBytes"); // 0x80 0x10 0xF0 data_length 0xA0 from_address num_bytes-1 checksum return buildRequest(READ_MEMORY_COMMAND, fromAddress, new byte[]{asByte(numBytes - 1)}); }
|
48870 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48870/6d8b93ef0b928b7a726fb30dd265bef8253c864d/SSMProtocol.java/clean/src/enginuity/logger/protocol/SSMProtocol.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
4872,
1994,
6031,
691,
12,
7229,
8526,
628,
1887,
16,
509,
18633,
13,
288,
3639,
8887,
12763,
12,
2080,
1887,
16,
315,
2080,
1887,
8863,
3639,
866,
28130,
7170,
12,
2107,
2160,
16,
315,
2107,
2160,
8863,
3639,
368,
374,
92,
3672,
374,
92,
2163,
374,
16275,
20,
501,
67,
2469,
374,
21703,
20,
628,
67,
2867,
818,
67,
3890,
17,
21,
6697,
3639,
327,
1361,
691,
12,
6949,
67,
24329,
67,
19104,
16,
638,
16,
628,
1887,
16,
394,
1160,
63,
7073,
345,
3216,
12,
2107,
2160,
300,
404,
16869,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
4872,
1994,
6031,
691,
12,
7229,
8526,
628,
1887,
16,
509,
18633,
13,
288,
3639,
8887,
12763,
12,
2080,
1887,
16,
315,
2080,
1887,
8863,
3639,
866,
28130,
7170,
12,
2107,
2160,
16,
315,
2107,
2160,
8863,
3639,
368,
374,
92,
3672,
374,
92,
2163,
374,
16275,
20,
501,
67,
2469,
374,
21703,
20,
628,
67,
2867,
818,
67,
3890,
17,
21,
6697,
3639,
327,
1361,
691,
12,
6949,
67,
24329,
67,
19104,
16,
638,
16,
628,
1887,
16,
394,
1160,
63,
7073,
345,
3216,
12,
2107,
2160,
300,
404,
16869,
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
] |
public Tag createTag ( ) throws Exception {
|
public Tag createTag(String name, Attributes attributes) throws Exception {
|
public Tag createTag ( ) throws Exception { return new ConstraintTag ( this ); }
|
51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/b6602aaf4d7208bb6da73dca5bde745e332b0fa6/ConstraintTag.java/clean/jelly-tags/swing/src/java/org/apache/commons/jelly/tags/swing/ConstraintTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
4034,
752,
1805,
261,
262,
1216,
1185,
288,
9506,
202,
2463,
394,
10770,
1805,
261,
333,
11272,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1875,
202,
482,
4034,
752,
1805,
261,
262,
1216,
1185,
288,
9506,
202,
2463,
394,
10770,
1805,
261,
333,
11272,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
((AbstractJdbc1Connection)connection).ExecSQL("DEALLOCATE " + m_statementName);
|
((AbstractJdbc1Connection)connection).execSQL("DEALLOCATE " + m_statementName);
|
public boolean execute(String p_sql) throws SQLException { String l_sql = replaceProcessing(p_sql); m_sqlFragments = new String[] {l_sql}; m_binds = new Object[0]; //If we have already created a server prepared statement, we need //to deallocate the existing one if (m_statementName != null) { ((AbstractJdbc1Connection)connection).ExecSQL("DEALLOCATE " + m_statementName); m_statementName = null; m_origSqlFragments = null; m_executeSqlFragments = null; } return execute(); }
|
46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/16a30346c86590fbdcd83cacd2a0a9dbd2cd00dc/AbstractJdbc1Statement.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1836,
12,
780,
293,
67,
4669,
13,
1216,
6483,
202,
95,
202,
202,
780,
328,
67,
4669,
273,
1453,
7798,
12,
84,
67,
4669,
1769,
202,
202,
81,
67,
4669,
27588,
273,
394,
514,
8526,
288,
80,
67,
4669,
20451,
202,
202,
81,
67,
4376,
87,
273,
394,
1033,
63,
20,
15533,
202,
202,
759,
2047,
732,
1240,
1818,
2522,
279,
1438,
8208,
3021,
16,
732,
1608,
202,
202,
759,
869,
443,
16247,
326,
2062,
1245,
202,
202,
430,
261,
81,
67,
11516,
461,
480,
446,
13,
288,
1082,
202,
12443,
7469,
25316,
21,
1952,
13,
4071,
2934,
1905,
3997,
2932,
1639,
1013,
1502,
13000,
315,
397,
312,
67,
11516,
461,
1769,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1836,
12,
780,
293,
67,
4669,
13,
1216,
6483,
202,
95,
202,
202,
780,
328,
67,
4669,
273,
1453,
7798,
12,
84,
67,
4669,
1769,
202,
202,
81,
67,
4669,
27588,
273,
394,
514,
8526,
288,
80,
67,
4669,
20451,
202,
202,
81,
67,
4376,
87,
273,
394,
1033,
63,
20,
15533,
202,
202,
759,
2047,
732,
1240,
1818,
2522,
279,
1438,
8208,
3021,
16,
732,
1608,
202,
202,
759,
869,
443,
16247,
326,
2062,
1245,
202,
202,
430,
261,
81,
67,
11516,
461,
480,
446,
13,
288,
1082,
202,
12443,
7469,
25316,
21,
1952,
13,
4071,
2934,
1905,
3997,
2932,
1639,
1013,
1502,
13000,
315,
397,
312,
67,
11516,
461,
1769,
1082,
202,
81,
2
] |
throw runtime.newNameError("superclass method '" + frame.getLastFunc() + "' must be enabled by enableSuper().");
|
String name = frame.getLastFunc(); throw runtime.newNameError("superclass method '" + name + "' must be enabled by enableSuper().", name);
|
public IRubyObject callSuper(IRubyObject[] args) { Frame frame = getCurrentFrame(); if (frame.getLastClass() == null) { throw runtime.newNameError("superclass method '" + frame.getLastFunc() + "' must be enabled by enableSuper()."); } setNoBlockIfNoBlock(); try { RubyClass superClass = frame.getLastClass().getSuperClass(); // Modules do not directly inherit Object so we have hacks like this if (superClass == null) { // TODO cnutter: I believe modules, the only ones here to have no superclasses, should have Module as their superclass superClass = runtime.getClass("Module"); } return frame.getSelf().callMethod(this, superClass, frame.getLastFunc(), args, CallType.SUPER); } finally { clearNoBlock(); } }
|
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/1278c5bb3507a052d150d814f15453542ae41aed/ThreadContext.java/buggy/src/org/jruby/runtime/ThreadContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
745,
8051,
12,
7937,
10340,
921,
8526,
833,
13,
288,
377,
202,
3219,
2623,
273,
5175,
3219,
5621,
377,
202,
3639,
309,
261,
3789,
18,
588,
3024,
797,
1435,
422,
446,
13,
288,
5411,
514,
508,
273,
2623,
18,
588,
3024,
2622,
5621,
604,
3099,
18,
2704,
461,
668,
2932,
9565,
1106,
707,
2119,
397,
508,
397,
2491,
1297,
506,
3696,
635,
4237,
8051,
1435,
1199,
16,
508,
1769,
3639,
289,
3639,
444,
2279,
1768,
2047,
2279,
1768,
5621,
3639,
775,
288,
5411,
19817,
797,
18846,
273,
2623,
18,
588,
3024,
797,
7675,
588,
8051,
797,
5621,
5411,
368,
25493,
741,
486,
5122,
6811,
1033,
1427,
732,
1240,
11769,
87,
3007,
333,
5411,
309,
261,
9565,
797,
422,
446,
13,
288,
7734,
368,
2660,
6227,
18220,
30,
467,
3952,
21271,
4381,
16,
326,
1338,
5945,
2674,
358,
1240,
1158,
2240,
4701,
16,
1410,
1240,
5924,
487,
3675,
12098,
2398,
202,
9565,
797,
273,
3099,
18,
588,
797,
2932,
3120,
8863,
5411,
289,
5411,
327,
2623,
18,
588,
10084,
7675,
1991,
1305,
12,
2211,
16,
18846,
16,
4766,
282,
2623,
18,
588,
3024,
2622,
9334,
833,
16,
3049,
559,
18,
13272,
654,
1769,
3639,
289,
3095,
288,
5411,
2424,
2279,
1768,
5621,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
745,
8051,
12,
7937,
10340,
921,
8526,
833,
13,
288,
377,
202,
3219,
2623,
273,
5175,
3219,
5621,
377,
202,
3639,
309,
261,
3789,
18,
588,
3024,
797,
1435,
422,
446,
13,
288,
5411,
514,
508,
273,
2623,
18,
588,
3024,
2622,
5621,
604,
3099,
18,
2704,
461,
668,
2932,
9565,
1106,
707,
2119,
397,
508,
397,
2491,
1297,
506,
3696,
635,
4237,
8051,
1435,
1199,
16,
508,
1769,
3639,
289,
3639,
444,
2279,
1768,
2047,
2279,
1768,
5621,
3639,
775,
288,
5411,
19817,
797,
18846,
273,
2623,
18,
588,
3024,
797,
7675,
588,
8051,
797,
5621,
5411,
368,
25493,
741,
486,
5122,
6811,
1033,
1427,
732,
1240,
11769,
87,
3007,
333,
5411,
309,
2
] |
java.net.Socket socket = new java.net.Socket(server, port);
|
new java.net.Socket(server, port);
|
public boolean eval() throws BuildException { if (server == null) { throw new BuildException("No server specified in socket " + "condition"); } if (port == 0) { throw new BuildException("No port specified in socket condition"); } log("Checking for listener at " + server + ":" + port, Project.MSG_VERBOSE); try { java.net.Socket socket = new java.net.Socket(server, port); } catch (IOException e) { return false; } return true; }
|
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/acb441fdfacde4a4b0acb64fba5fb9eb4222a4fd/Socket.java/clean/src/main/org/apache/tools/ant/taskdefs/condition/Socket.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
5302,
1435,
1216,
18463,
288,
3639,
309,
261,
3567,
422,
446,
13,
288,
5411,
604,
394,
18463,
2932,
2279,
1438,
1269,
316,
2987,
315,
19694,
397,
315,
4175,
8863,
3639,
289,
3639,
309,
261,
655,
422,
374,
13,
288,
5411,
604,
394,
18463,
2932,
2279,
1756,
1269,
316,
2987,
2269,
8863,
3639,
289,
3639,
613,
2932,
14294,
364,
2991,
622,
315,
397,
1438,
397,
6153,
397,
1756,
16,
2398,
5420,
18,
11210,
67,
21900,
1769,
3639,
775,
288,
5411,
394,
2252,
18,
2758,
18,
4534,
12,
3567,
16,
1756,
1769,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
327,
629,
31,
3639,
289,
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,
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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326,
981,
30,
377,
1071,
1250,
5302,
1435,
1216,
18463,
288,
3639,
309,
261,
3567,
422,
446,
13,
288,
5411,
604,
394,
18463,
2932,
2279,
1438,
1269,
316,
2987,
315,
19694,
397,
315,
4175,
8863,
3639,
289,
3639,
309,
261,
655,
422,
374,
13,
288,
5411,
604,
394,
18463,
2932,
2279,
1756,
1269,
316,
2987,
2269,
8863,
3639,
289,
3639,
613,
2932,
14294,
364,
2991,
622,
315,
397,
1438,
397,
6153,
397,
1756,
16,
2398,
5420,
18,
11210,
67,
21900,
1769,
3639,
775,
288,
5411,
394,
2252,
18,
2758,
18,
4534,
12,
3567,
16,
1756,
1769,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
327,
638,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100
] |
Community[] allComms = Community.findAll(context);
|
Collection[] allCols = Collection.findAll(context);
|
public Map listSets() throws NoSetHierarchyException, OAIInternalServerError { log.info(LogManager.getHeader(null, "oai_request", "verb=listSets")); Context context = null; // List to put results in List sets = new LinkedList(); try { context = new Context(); // FIXME: This may break the OAI protocol with multiple inclusion // FIXME: Should check perms? Community[] allComms = Community.findAll(context); for (int i = 0; i < allComms.length; i++) { // Set XML community String communitySpec = "<set><setSpec>" + allComms[i].getID() + "</setSpec><setName>" + allComms[i].getMetadata("name") + "</setName></set>"; sets.add(communitySpec); // Add set XML for collections Collection[] colls = allComms[i].getCollections(); for (int j = 0; j < colls.length; j++) { StringBuffer collectionSpec = new StringBuffer("<set><setSpec>"); collectionSpec.append(allComms[i].getID()) .append(":") .append(colls[j].getID()) .append("</setSpec><setName>") .append(colls[j].getMetadata("name")) .append("</setName></set>"); sets.add(collectionSpec.toString()); } } } catch (SQLException se) { // Log the error log.warn(LogManager.getHeader(context, "database_error", ""), se); throw new OAIInternalServerError(se.toString()); } finally { if (context != null) { context.abort(); } } // Put results in form needed to return Map results = new HashMap(); results.put("sets", sets.iterator()); return results; }
|
47214 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47214/564aa767ae3958fb227322d346195962712ce24e/DSpaceOAICatalog.java/buggy/dspace/src/org/dspace/app/oai/DSpaceOAICatalog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1635,
666,
2785,
1435,
3639,
1216,
2631,
694,
12074,
503,
16,
531,
18194,
12371,
565,
288,
3639,
613,
18,
1376,
12,
1343,
1318,
18,
588,
1864,
12,
2011,
16,
5411,
315,
83,
10658,
67,
2293,
3113,
5411,
315,
16629,
33,
1098,
2785,
7923,
1769,
3639,
1772,
819,
273,
446,
31,
3639,
368,
987,
358,
1378,
1686,
316,
3639,
987,
1678,
273,
394,
10688,
5621,
3639,
775,
3639,
288,
5411,
819,
273,
394,
1772,
5621,
5411,
368,
9852,
30,
1220,
2026,
898,
326,
531,
18194,
1771,
598,
3229,
26485,
5411,
368,
9852,
30,
9363,
866,
13793,
35,
1850,
2200,
8526,
777,
8011,
273,
2200,
18,
4720,
1595,
12,
2472,
1769,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
777,
799,
959,
18,
2469,
31,
277,
27245,
5411,
288,
7734,
368,
1000,
3167,
19833,
7734,
514,
19833,
1990,
273,
3532,
542,
4438,
542,
1990,
2984,
397,
777,
799,
959,
63,
77,
8009,
588,
734,
1435,
397,
10792,
6823,
542,
1990,
4438,
542,
461,
2984,
397,
777,
799,
959,
63,
77,
8009,
588,
2277,
2932,
529,
7923,
397,
10792,
6823,
542,
461,
4695,
542,
2984,
31,
7734,
1678,
18,
1289,
12,
20859,
1990,
1769,
7734,
368,
1436,
444,
3167,
364,
6980,
7734,
2200,
8526,
645,
3251,
273,
777,
799,
959,
63,
77,
8009,
588,
15150,
5621,
7734,
364,
261,
474,
525,
273,
374,
31,
525,
411,
645,
3251,
18,
2469,
31,
525,
27245,
7734,
288,
10792,
6674,
1849,
1990,
273,
13491,
394,
6674,
2932,
32,
542,
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,
1635,
666,
2785,
1435,
3639,
1216,
2631,
694,
12074,
503,
16,
531,
18194,
12371,
565,
288,
3639,
613,
18,
1376,
12,
1343,
1318,
18,
588,
1864,
12,
2011,
16,
5411,
315,
83,
10658,
67,
2293,
3113,
5411,
315,
16629,
33,
1098,
2785,
7923,
1769,
3639,
1772,
819,
273,
446,
31,
3639,
368,
987,
358,
1378,
1686,
316,
3639,
987,
1678,
273,
394,
10688,
5621,
3639,
775,
3639,
288,
5411,
819,
273,
394,
1772,
5621,
5411,
368,
9852,
30,
1220,
2026,
898,
326,
531,
18194,
1771,
598,
3229,
26485,
5411,
368,
9852,
30,
9363,
866,
13793,
35,
1850,
2200,
8526,
777,
8011,
273,
2200,
18,
4720,
1595,
12,
2472,
1769,
5411,
364,
261,
474,
277,
273,
374,
31,
2
] |
asm.emitSTFD (F0, VM_Entrypoints.scratchStorageField.getOffset(), PROCESSOR_REGISTER); asm.emitLWZ (S0, VM_Entrypoints.scratchStorageField.getOffset() + 4, PROCESSOR_REGISTER);
|
asm.emitSTFD (F0, VM_Entrypoints.scratchStorageField.getOffsetAsInt(), PROCESSOR_REGISTER); asm.emitLWZ (S0, VM_Entrypoints.scratchStorageField.getOffsetAsInt() + 4, PROCESSOR_REGISTER);
|
protected final void emit_f2i() { if (unreachableBytecode) return; popToRegister(FLOAT_TYPE, F0); asm.emitFCMPU(F0, F0); VM_ForwardReference fr1 = asm.emitForwardBC(NE); // Normal case: F0 == F0 therefore not a NaN asm.emitFCTIWZ(F0, F0); if (VM.BuildFor64Addr) { // XXX CJH TODO: pushLowDoubleAsInt(F0); if (VM.VerifyAssertions) VM._assert(NOT_REACHED); } else { asm.emitSTFD (F0, VM_Entrypoints.scratchStorageField.getOffset(), PROCESSOR_REGISTER); asm.emitLWZ (S0, VM_Entrypoints.scratchStorageField.getOffset() + 4, PROCESSOR_REGISTER); } VM_ForwardReference fr2 = asm.emitForwardB(); fr1.resolve(asm); // A NaN => 0 asm.emitLVAL (S0, 0); fr2.resolve(asm); pushFromRegister(WORD_TYPE, S0); }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/3a1409586ed0fc007c4120f3a96d6f7a1ae3593c/VM_QuickCompiler.java/buggy/rvm/src/vm/arch/powerPC/compilers/quick/VM_QuickCompiler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
727,
918,
3626,
67,
74,
22,
77,
1435,
288,
565,
309,
261,
318,
17246,
858,
16651,
13,
327,
31,
565,
1843,
774,
3996,
12,
15640,
67,
2399,
16,
478,
20,
1769,
565,
20415,
18,
18356,
4488,
4566,
57,
12,
42,
20,
16,
478,
20,
1769,
565,
8251,
67,
8514,
2404,
3812,
21,
273,
20415,
18,
18356,
8514,
16283,
12,
5407,
1769,
565,
368,
8769,
648,
30,
478,
20,
422,
478,
20,
13526,
486,
279,
10180,
565,
20415,
18,
18356,
42,
1268,
45,
59,
62,
12,
42,
20,
16,
478,
20,
1769,
565,
309,
261,
7397,
18,
3116,
1290,
1105,
3178,
13,
288,
4202,
368,
11329,
385,
46,
44,
2660,
30,
1817,
10520,
5265,
31720,
12,
42,
20,
1769,
1377,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
6315,
11231,
12,
4400,
67,
29416,
15023,
1769,
565,
289,
469,
288,
1377,
20415,
18,
18356,
882,
16894,
225,
261,
42,
20,
16,
8251,
67,
1622,
4139,
18,
24638,
505,
3245,
974,
18,
588,
2335,
9334,
20647,
916,
67,
27511,
1769,
1377,
20415,
18,
18356,
48,
59,
62,
282,
261,
55,
20,
16,
8251,
67,
1622,
4139,
18,
24638,
505,
3245,
974,
18,
588,
2335,
1435,
397,
1059,
16,
20647,
916,
67,
27511,
1769,
565,
289,
565,
8251,
67,
8514,
2404,
3812,
22,
273,
20415,
18,
18356,
8514,
38,
5621,
565,
3812,
21,
18,
10828,
12,
23522,
1769,
565,
368,
432,
10180,
516,
374,
565,
20415,
18,
18356,
48,
2669,
225,
261,
55,
20,
16,
374,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
727,
918,
3626,
67,
74,
22,
77,
1435,
288,
565,
309,
261,
318,
17246,
858,
16651,
13,
327,
31,
565,
1843,
774,
3996,
12,
15640,
67,
2399,
16,
478,
20,
1769,
565,
20415,
18,
18356,
4488,
4566,
57,
12,
42,
20,
16,
478,
20,
1769,
565,
8251,
67,
8514,
2404,
3812,
21,
273,
20415,
18,
18356,
8514,
16283,
12,
5407,
1769,
565,
368,
8769,
648,
30,
478,
20,
422,
478,
20,
13526,
486,
279,
10180,
565,
20415,
18,
18356,
42,
1268,
45,
59,
62,
12,
42,
20,
16,
478,
20,
1769,
565,
309,
261,
7397,
18,
3116,
1290,
1105,
3178,
13,
288,
4202,
368,
11329,
385,
46,
44,
2660,
30,
1817,
10520,
5265,
31720,
12,
42,
20,
2
] |
final int getValue()
|
int getValue()
|
final int getValue() { return (primary << 16) + (secondary << 8) + tertiary; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/65d557aae3161ec60d4823f7f7346efac0a8d663/RuleBasedCollator.java/buggy/core/src/classpath/java/java/text/RuleBasedCollator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
2366,
1435,
565,
288,
1377,
327,
261,
8258,
2296,
2872,
13,
397,
261,
19674,
2296,
1725,
13,
397,
268,
1051,
77,
814,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
2366,
1435,
565,
288,
1377,
327,
261,
8258,
2296,
2872,
13,
397,
261,
19674,
2296,
1725,
13,
397,
268,
1051,
77,
814,
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
] |
public Chart getModel(String sSubType, Orientation orientation, String sDimension, Chart currentChart) { ChartWithoutAxes newChart = null; if (currentChart != null) { newChart = (ChartWithoutAxes) getConvertedChart(currentChart, sSubType, sDimension); if (newChart != null) { return newChart; } } newChart = ChartWithoutAxesImpl.create(); newChart.setType(sType); newChart.setSubType(sSubType); newChart.setDimension(getDimensionFor(sDimension)); newChart.setUnits("Points"); if (newChart.getDimension().equals(ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH_LITERAL)) { newChart.setSeriesThickness(15); }
|
public Chart getModel( String sSubType, Orientation orientation, String sDimension, Chart currentChart ) { ChartWithoutAxes newChart = null; if ( currentChart != null ) { newChart = (ChartWithoutAxes) getConvertedChart( currentChart, sSubType, sDimension ); if ( newChart != null ) { return newChart; } } newChart = ChartWithoutAxesImpl.create( ); newChart.setType( sType ); newChart.setSubType( sSubType ); newChart.setDimension( getDimensionFor( sDimension ) ); newChart.setUnits( "Points" ); if ( newChart.getDimension( ) .equals( ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH_LITERAL ) ) { newChart.setSeriesThickness( 15 ); }
|
public Chart getModel(String sSubType, Orientation orientation, String sDimension, Chart currentChart) { ChartWithoutAxes newChart = null; if (currentChart != null) { newChart = (ChartWithoutAxes) getConvertedChart(currentChart, sSubType, sDimension); if (newChart != null) { return newChart; } } newChart = ChartWithoutAxesImpl.create(); newChart.setType(sType); newChart.setSubType(sSubType); newChart.setDimension(getDimensionFor(sDimension)); newChart.setUnits("Points"); //$NON-NLS-1$ if (newChart.getDimension().equals(ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH_LITERAL)) { newChart.setSeriesThickness(15); } newChart.getTitle().getLabel().getCaption().setValue(Messages.getString("PieChart.Txt.DefaultPieChartTitle")); //$NON-NLS-1$ SeriesDefinition sdX = SeriesDefinitionImpl.create(); sdX.getSeriesPalette().update(0); Series categorySeries = SeriesImpl.create(); sdX.getSeries().add(categorySeries); sdX.getQuery().setDefinition("Base Series"); //$NON-NLS-1$ SeriesDefinition sdY = SeriesDefinitionImpl.create(); sdY.getSeriesPalette().update(0); Series valueSeries = PieSeriesImpl.create(); valueSeries.getLabel().setVisible(true); valueSeries.setSeriesIdentifier("valueSeriesIdentifier"); //$NON-NLS-1$ ((PieSeries) valueSeries).getTitle().getCaption().setValue("valueSeries"); //$NON-NLS-1$ ((PieSeries) valueSeries).setStacked(false); sdY.getSeries().add(valueSeries); sdX.getSeriesDefinitions().add(sdY); newChart.getSeriesDefinitions().add(sdX); addSampleData(newChart); return newChart; }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/baa5e816320b37d313f82b2e70ae4a71b1f4e89d/PieChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/PieChart.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
14804,
7454,
12,
780,
272,
30511,
16,
531,
12556,
9820,
16,
514,
272,
8611,
16,
14804,
783,
7984,
13,
565,
288,
3639,
14804,
8073,
26494,
394,
7984,
273,
446,
31,
3639,
309,
261,
2972,
7984,
480,
446,
13,
3639,
288,
5411,
394,
7984,
273,
261,
7984,
8073,
26494,
13,
336,
22063,
7984,
12,
2972,
7984,
16,
272,
30511,
16,
272,
8611,
1769,
5411,
309,
261,
2704,
7984,
480,
446,
13,
5411,
288,
7734,
327,
394,
7984,
31,
5411,
289,
3639,
289,
3639,
394,
7984,
273,
14804,
8073,
26494,
2828,
18,
2640,
5621,
3639,
394,
7984,
18,
542,
559,
12,
87,
559,
1769,
3639,
394,
7984,
18,
542,
30511,
12,
87,
30511,
1769,
3639,
394,
7984,
18,
542,
8611,
12,
588,
8611,
1290,
12,
87,
8611,
10019,
3639,
394,
7984,
18,
542,
7537,
2932,
5636,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
309,
261,
2704,
7984,
18,
588,
8611,
7675,
14963,
12,
7984,
8611,
18,
18869,
51,
67,
2565,
958,
3156,
1146,
1013,
67,
9147,
67,
27479,
67,
23225,
3719,
3639,
288,
5411,
394,
7984,
18,
542,
6485,
1315,
19517,
12,
3600,
1769,
3639,
289,
3639,
394,
7984,
18,
588,
4247,
7675,
588,
2224,
7675,
588,
21158,
7675,
542,
620,
12,
5058,
18,
588,
780,
2932,
52,
1385,
7984,
18,
21811,
18,
1868,
52,
1385,
7984,
4247,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
9225,
1852,
8349,
60,
273,
9225,
1852,
2828,
18,
2640,
5621,
3639,
8349,
60,
18,
588,
6485,
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,
14804,
7454,
12,
780,
272,
30511,
16,
531,
12556,
9820,
16,
514,
272,
8611,
16,
14804,
783,
7984,
13,
565,
288,
3639,
14804,
8073,
26494,
394,
7984,
273,
446,
31,
3639,
309,
261,
2972,
7984,
480,
446,
13,
3639,
288,
5411,
394,
7984,
273,
261,
7984,
8073,
26494,
13,
336,
22063,
7984,
12,
2972,
7984,
16,
272,
30511,
16,
272,
8611,
1769,
5411,
309,
261,
2704,
7984,
480,
446,
13,
5411,
288,
7734,
327,
394,
7984,
31,
5411,
289,
3639,
289,
3639,
394,
7984,
273,
14804,
8073,
26494,
2828,
18,
2640,
5621,
3639,
394,
7984,
18,
542,
559,
12,
87,
559,
1769,
3639,
394,
7984,
18,
542,
30511,
12,
87,
30511,
1769,
3639,
394,
7984,
18,
542,
2
] |
prefix + fmt.format(rand.nextInt(Integer.MAX_VALUE))
|
prefix + fmt.format(Math.abs(rand.nextInt()))
|
public File createTempFile(String prefix, String suffix, File parentDir) { File result = null; String parent = null; if (parentDir != null) { parent = parentDir.getPath(); } DecimalFormat fmt = new DecimalFormat("#####"); synchronized (rand) { do { result = new File(parent, prefix + fmt.format(rand.nextInt(Integer.MAX_VALUE)) + suffix); } while (result.exists()); } return result; }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/8ca6f54b9ad33f769e4ec781c9416c58515bc3e6/FileUtils.java/clean/src/main/org/apache/tools/ant/util/FileUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1387,
30106,
12,
780,
1633,
16,
514,
3758,
16,
1387,
982,
1621,
13,
288,
3639,
1387,
563,
273,
446,
31,
3639,
514,
982,
273,
446,
31,
3639,
309,
261,
2938,
1621,
480,
446,
13,
288,
5411,
982,
273,
982,
1621,
18,
588,
743,
5621,
3639,
289,
3639,
29665,
1325,
273,
394,
29665,
2932,
1970,
7,
8863,
3639,
3852,
261,
7884,
13,
288,
5411,
741,
288,
7734,
563,
273,
394,
1387,
12,
2938,
16,
21394,
1633,
21394,
397,
1325,
18,
2139,
12,
7884,
18,
4285,
1702,
12,
4522,
18,
6694,
67,
4051,
3719,
21394,
397,
3758,
1769,
5411,
289,
1323,
261,
2088,
18,
1808,
10663,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1387,
30106,
12,
780,
1633,
16,
514,
3758,
16,
1387,
982,
1621,
13,
288,
3639,
1387,
563,
273,
446,
31,
3639,
514,
982,
273,
446,
31,
3639,
309,
261,
2938,
1621,
480,
446,
13,
288,
5411,
982,
273,
982,
1621,
18,
588,
743,
5621,
3639,
289,
3639,
29665,
1325,
273,
394,
29665,
2932,
1970,
7,
8863,
3639,
3852,
261,
7884,
13,
288,
5411,
741,
288,
7734,
563,
273,
394,
1387,
12,
2938,
16,
21394,
1633,
21394,
397,
1325,
18,
2139,
12,
7884,
18,
4285,
1702,
12,
4522,
18,
6694,
67,
4051,
3719,
21394,
397,
3758,
1769,
5411,
289,
1323,
261,
2088,
18,
1808,
10663,
3639,
289,
3639,
327,
563,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100
] |
if (sessionID == null) return null;
|
public Session getSession(String sessionID) throws SessionException { log.finer("getSession(String)"); // Sanity check. if (sessionID == null) return null; if (!sessions.containsKey(sessionID)) { log.fine("No such session: "+sessionID); return null; } else { return (Session)sessions.get(sessionID); } }
|
1637 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1637/81a81914af163f3dbaa90b4337ee96faaa0c465d/SessionStore.java/buggy/moria/src/no/feide/moria/SessionStore.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3877,
7183,
12,
780,
13737,
13,
377,
1216,
3877,
503,
288,
3639,
613,
18,
926,
264,
2932,
588,
2157,
12,
780,
2225,
1769,
7734,
368,
23123,
866,
18,
3639,
309,
261,
17255,
422,
446,
13,
5411,
327,
446,
31,
7734,
309,
16051,
16794,
18,
12298,
653,
12,
17255,
3719,
288,
5411,
613,
18,
74,
558,
2932,
2279,
4123,
1339,
30,
13773,
17255,
1769,
5411,
327,
446,
31,
3639,
289,
469,
288,
5411,
327,
261,
2157,
13,
16794,
18,
588,
12,
17255,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3877,
7183,
12,
780,
13737,
13,
377,
1216,
3877,
503,
288,
3639,
613,
18,
926,
264,
2932,
588,
2157,
12,
780,
2225,
1769,
7734,
368,
23123,
866,
18,
3639,
309,
261,
17255,
422,
446,
13,
5411,
327,
446,
31,
7734,
309,
16051,
16794,
18,
12298,
653,
12,
17255,
3719,
288,
5411,
613,
18,
74,
558,
2932,
2279,
4123,
1339,
30,
13773,
17255,
1769,
5411,
327,
446,
31,
3639,
289,
469,
288,
5411,
327,
261,
2157,
13,
16794,
18,
588,
12,
17255,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
parse(buffer.toString(), ParserLanguage.CPP, true, true);
|
parse(buffer.toString(), ParserLanguage.CPP, true, 0);
|
public void test13_3_3_2s3c() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("struct A {\n"); //$NON-NLS-1$ buffer.append("operator short();\n"); //$NON-NLS-1$ buffer.append("} a;\n"); //$NON-NLS-1$ buffer.append("int f(int);\n"); //$NON-NLS-1$ buffer.append("int f(float);\n"); //$NON-NLS-1$ buffer.append("int i = f(a); // Calls f(int), because short -> int is\n"); //$NON-NLS-1$ buffer.append("// better than short -> float.\n"); //$NON-NLS-1$ parse(buffer.toString(), ParserLanguage.CPP, true, true); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/7d7fa374bfd169ce8924a5c15bd01444e6e6e445/AST2CPPSpecTest.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPSpecTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3437,
67,
23,
67,
23,
67,
22,
87,
23,
71,
1435,
1216,
1185,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
2932,
1697,
432,
18890,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
9497,
3025,
5621,
64,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
97,
279,
9747,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
474,
284,
12,
474,
20472,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
474,
284,
12,
5659,
20472,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
474,
277,
273,
284,
12,
69,
1769,
368,
23665,
284,
12,
474,
3631,
2724,
3025,
317,
509,
353,
64,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
759,
7844,
2353,
3025,
317,
1431,
8403,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
2670,
12,
4106,
18,
10492,
9334,
6783,
3779,
18,
4258,
52,
16,
638,
16,
638,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3437,
67,
23,
67,
23,
67,
22,
87,
23,
71,
1435,
1216,
1185,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
2932,
1697,
432,
18890,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
9497,
3025,
5621,
64,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
97,
279,
9747,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
474,
284,
12,
474,
20472,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
474,
284,
12,
5659,
20472,
82,
8863,
4329,
3993,
17,
2
] |
if(tp.oNode == on) isTopLevel = true;
|
if ( tp.oNode == null ) { Vector foundEles = DOMUtil.getChildElements("OMEElement", tParse.getRoot()); for (int i = 0;i < foundEles.size();i++) { Element thisNode = (Element) foundEles.get(i); if (thisNode == e) isTopLevel = true; } } else if(tp.oNode != null && tp.oNode == on) isTopLevel = true;
|
public TablePanel(Element e, TabPanel tp, OMEXMLNode on) { isTopLevel = false; if(tp.oNode == on) isTopLevel = true; el = e; oNode = on; tPanel = tp; id = null; newTable = null; refTable = null; JComboBox comboBox = null; name = getTreePathName(e,on); String thisName = getTreePathName(e, on); panelList.add(this); Vector fullList = DOMUtil.getChildElements("OMEAttribute",e); Vector attrList = new Vector(); Vector refList = new Vector(); for(int i = 0;i<fullList.size();i++) { Element thisE = (Element) fullList.get(i); if(thisE.hasAttribute("Type") ) { if(thisE.getAttribute("Type").equals("Ref")) { if (oNode != null) { String value = oNode.getAttribute(thisE.getAttribute("XMLName")); if (value != null && !value.equals("")) { if ( addItems.indexOf("(External) " + value) < 0) { addItems.add("(External) " + value); } } } refList.add(thisE); } else if(thisE.getAttribute("Type").equals("ID") && oNode != null) { if (oNode.getDOMElement().hasAttribute("ID")) { id = oNode.getAttribute("ID"); panelsWithID.add(this); } } else attrList.add(thisE); } else attrList.add(thisE); } Element cDataEl = DOMUtil.getChildElement("CData",e); if (cDataEl != null) attrList.add(0,cDataEl); JPanel lowPanel = new JPanel(); FormLayout layout = new FormLayout( "pref, 10dlu, pref:grow, pref", "pref,2dlu,pref,pref,pref,3dlu,pref,3dlu"); PanelBuilder builder = new PanelBuilder(layout); CellConstraints cc = new CellConstraints(); if (attrList.size() != 0) { myTableModel = new DefaultTableModel(TREE_COLUMNS, 0) { public boolean isCellEditable(int row, int col) { if(col < 1) return false; else return true; } }; myTableModel.addTableModelListener(this); setLayout(new GridLayout(0,1)); JLabel tableName = new JLabel(thisName); newTable = new ClickableTable(myTableModel, this); newTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); newTable.getColumnModel().getColumn(0).setPreferredWidth(125); newTable.getColumnModel().getColumn(1).setPreferredWidth(500); newTable.getColumnModel().getColumn(0).setMinWidth(125); JTableHeader tHead = newTable.getTableHeader(); tHead.setResizingAllowed(false); tHead.setReorderingAllowed(false); noteButton = new JButton("Notes"); noteButton.setPreferredSize(new Dimension(85,15)); noteButton.addActionListener(this); noteButton.setActionCommand("getNotes"); builder.add(tableName, cc.xy(1,1)); builder.add(noteButton, cc.xy(3,1, "left,center")); builder.add(tHead, cc.xyw(1,3,4)); builder.add(newTable, cc.xyw(1,4,4)); // update OME-XML attributes table myTableModel.setRowCount(attrList.size()); for (int i=0; i<attrList.size(); i++) { Element thisEle = null; if (attrList.get(i) instanceof Element) { thisEle = (Element) attrList.get(i); } if (thisEle != null) { String attrName = thisEle.getAttribute("XMLName"); if (thisEle.hasAttribute("Name")) { myTableModel.setValueAt(thisEle.getAttribute("Name"), i, 0); if(oNode != null) { if(oNode.getDOMElement().hasAttribute(attrName)) { myTableModel.setValueAt(oNode.getAttribute(attrName), i, 1); } } } else if (thisEle.hasAttribute("XMLName")) { myTableModel.setValueAt(thisEle.getAttribute("XMLName"), i, 0); if(oNode != null) { if(oNode.getDOMElement().hasAttribute(attrName)) { myTableModel.setValueAt(oNode.getAttribute(attrName), i, 1); } } } else { if(e.hasAttribute("Name")) { myTableModel.setValueAt(e.getAttribute("Name") + " CharData", i, 0); } else { myTableModel.setValueAt(e.getAttribute("XMLName") + " CharData", i, 0); } if(oNode != null) { if(DOMUtil.getCharacterData(oNode.getDOMElement()) != null) { myTableModel.setValueAt( DOMUtil.getCharacterData(oNode.getDOMElement() ), i, 1); } } } } } } if (refList.size() > 0) { myTableModel = new DefaultTableModel(TREE_COLUMNS, 0) { public boolean isCellEditable(int row, int col) { if(col < 1) return false; else return true; } }; myTableModel.addTableModelListener(this); refTable = new ClickableTable(myTableModel, this); refTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); refTable.getColumnModel().getColumn(0).setPreferredWidth(125); refTable.getColumnModel().getColumn(1).setPreferredWidth(430); refTable.getColumnModel().getColumn(0).setMinWidth(125); TableColumn refColumn = refTable.getColumnModel().getColumn(1); comboBox = new JComboBox(); refColumn.setCellEditor(new DefaultCellEditor(comboBox)); JPanel buttonPanel; String rowString = ""; for (int i=0; i<refList.size(); i++) { rowString = rowString + "pref:grow, "; } rowString = rowString.substring(0,rowString.length()-2); FormLayout layout2 = new FormLayout( "pref", rowString); PanelBuilder builder2 = new PanelBuilder(layout2); CellConstraints cc2 = new CellConstraints(); myTableModel.setRowCount(refList.size()); for (int i=0; i<refList.size(); i++) { Element thisEle = null; if (refList.get(i) instanceof Element) { thisEle = (Element) refList.get(i); } if (thisEle != null) { if (thisEle.hasAttribute("Name")) { myTableModel.setValueAt(thisEle.getAttribute("Name"), i, 0); } else if (thisEle.hasAttribute("XMLName")) { myTableModel.setValueAt(thisEle.getAttribute("XMLName"), i, 0); } } TableButton tb = new TableButton(refTable,i); tb.addActionListener(this); builder2.add(tb, cc2.xy(1,i+1, "center,fill")); } buttonPanel = builder2.getPanel(); if(attrList.size() == 0) { JLabel tableName = new JLabel(thisName); JTableHeader tHead = refTable.getTableHeader(); tHead.setResizingAllowed(false); tHead.setReorderingAllowed(false); noteButton = new JButton("Notes"); noteButton.setPreferredSize(new Dimension(85,15)); noteButton.addActionListener(this); noteButton.setActionCommand("getNotes"); builder.add(tableName, cc.xy(1,1)); builder.add(noteButton, cc.xy(3,1, "left,center")); builder.add(tHead, cc.xyw(1,3,3)); builder.add(refTable, cc.xyw(1,4,3)); builder.add(buttonPanel, cc.xy(4,4)); } else { builder.add(refTable, cc.xyw(1,5,3)); builder.add(buttonPanel, cc.xy(4,5, "center,fill")); } } noteP = new NotePanel(this); builder.add(noteP, cc.xyw(1,7,4, "fill,center")); setNumNotes(noteP.getNumNotes()); add(builder.getPanel()); }
|
49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/9e45db27280c0f714e71fe2cb60d7202f1048054/MetadataPane.java/buggy/loci/ome/notebook/MetadataPane.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3555,
5537,
12,
1046,
425,
16,
9483,
5537,
8071,
16,
531,
958,
4201,
907,
603,
13,
288,
1377,
353,
27046,
273,
629,
31,
3639,
309,
261,
8071,
18,
83,
907,
422,
446,
262,
288,
5589,
1392,
41,
1040,
273,
4703,
1304,
18,
588,
1763,
3471,
2932,
51,
958,
1046,
3113,
268,
3201,
18,
588,
2375,
10663,
225,
364,
261,
474,
277,
273,
374,
31,
77,
411,
1392,
41,
1040,
18,
1467,
5621,
77,
27245,
288,
3010,
333,
907,
273,
261,
1046,
13,
1392,
41,
1040,
18,
588,
12,
77,
1769,
309,
261,
2211,
907,
422,
425,
13,
353,
27046,
273,
638,
31,
289,
289,
469,
309,
12,
6834,
18,
83,
907,
480,
446,
597,
8071,
18,
83,
907,
422,
603,
13,
353,
27046,
273,
638,
31,
4202,
415,
273,
425,
31,
1377,
320,
907,
273,
603,
31,
1377,
268,
5537,
273,
8071,
31,
1377,
612,
273,
446,
31,
1377,
394,
1388,
273,
446,
31,
1377,
1278,
1388,
273,
446,
31,
1377,
804,
22199,
16778,
3514,
273,
446,
31,
1377,
508,
273,
15867,
743,
461,
12,
73,
16,
265,
1769,
1377,
514,
333,
461,
273,
15867,
743,
461,
12,
73,
16,
603,
1769,
1377,
6594,
682,
18,
1289,
12,
2211,
1769,
1377,
5589,
1983,
682,
273,
4703,
1304,
18,
588,
1763,
3471,
2932,
51,
958,
1499,
3113,
73,
1769,
1377,
5589,
1604,
682,
273,
394,
5589,
5621,
1377,
5589,
1278,
682,
273,
394,
5589,
5621,
1377,
364,
12,
474,
277,
273,
374,
31,
77,
32,
2854,
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,
3555,
5537,
12,
1046,
425,
16,
9483,
5537,
8071,
16,
531,
958,
4201,
907,
603,
13,
288,
1377,
353,
27046,
273,
629,
31,
3639,
309,
261,
8071,
18,
83,
907,
422,
446,
262,
288,
5589,
1392,
41,
1040,
273,
4703,
1304,
18,
588,
1763,
3471,
2932,
51,
958,
1046,
3113,
268,
3201,
18,
588,
2375,
10663,
225,
364,
261,
474,
277,
273,
374,
31,
77,
411,
1392,
41,
1040,
18,
1467,
5621,
77,
27245,
288,
3010,
333,
907,
273,
261,
1046,
13,
1392,
41,
1040,
18,
588,
12,
77,
1769,
309,
261,
2211,
907,
422,
425,
13,
353,
27046,
273,
638,
31,
289,
289,
469,
309,
12,
6834,
18,
83,
907,
480,
446,
597,
8071,
18,
83,
2
] |
Extension[] extensions = PluginRepository.getInstance()
|
Extension[] extensions = repository
|
public void testGetExtensionInstances() throws PluginRuntimeException { Extension[] extensions = PluginRepository.getInstance() .getExtensionPoint(getGetExtensionId()).getExtensions(); assertEquals(extensions.length, fPluginCount); for (int i = 0; i < extensions.length; i++) { Extension extension = extensions[i]; Object object = extension.getExtensionInstance(); if (!(object instanceof HelloWorldExtension)) fail(" object is not a instance of HelloWorldExtension"); ((ITestExtension) object).testGetExtension("Bla "); String string = ((ITestExtension) object).testGetExtension("Hello"); assertEquals("Hello World", string); } }
|
50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/329ff64e9d7295aff108f85e9a8103f5e5f8f398/TestPluginSystem.java/clean/src/test/org/apache/nutch/plugin/TestPluginSystem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
3625,
5361,
1435,
1216,
6258,
11949,
288,
3639,
10021,
8526,
4418,
273,
3352,
7734,
263,
588,
3625,
2148,
12,
588,
967,
3625,
548,
1435,
2934,
588,
7513,
5621,
3639,
1815,
8867,
12,
9489,
18,
2469,
16,
284,
3773,
1380,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
4418,
18,
2469,
31,
277,
27245,
288,
5411,
10021,
2710,
273,
4418,
63,
77,
15533,
5411,
1033,
733,
273,
2710,
18,
588,
3625,
1442,
5621,
5411,
309,
16051,
12,
1612,
1276,
20889,
18071,
3625,
3719,
7734,
2321,
2932,
733,
353,
486,
279,
791,
434,
20889,
18071,
3625,
8863,
5411,
14015,
1285,
395,
3625,
13,
733,
2934,
3813,
967,
3625,
2932,
4802,
69,
315,
1769,
5411,
514,
533,
273,
14015,
1285,
395,
3625,
13,
733,
2934,
3813,
967,
3625,
2932,
18601,
8863,
5411,
1815,
8867,
2932,
18601,
21820,
3113,
533,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
3625,
5361,
1435,
1216,
6258,
11949,
288,
3639,
10021,
8526,
4418,
273,
3352,
7734,
263,
588,
3625,
2148,
12,
588,
967,
3625,
548,
1435,
2934,
588,
7513,
5621,
3639,
1815,
8867,
12,
9489,
18,
2469,
16,
284,
3773,
1380,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
4418,
18,
2469,
31,
277,
27245,
288,
5411,
10021,
2710,
273,
4418,
63,
77,
15533,
5411,
1033,
733,
273,
2710,
18,
588,
3625,
1442,
5621,
5411,
309,
16051,
12,
1612,
1276,
20889,
18071,
3625,
3719,
7734,
2321,
2932,
733,
353,
486,
279,
791,
434,
20889,
18071,
3625,
8863,
5411,
14015,
1285,
395,
3625,
13,
733,
2934,
3813,
967,
3625,
2932,
4802,
69,
315,
1769,
2
] |
public Step getStep() { if (_step != null) return _step; if (_exp == null) return null; if (_exp instanceof EqualityExpr) { EqualityExpr exp = (EqualityExpr)_exp; Expression left = exp.getLeft(); Expression right = exp.getRight(); if (left instanceof CastExpr) left = ((CastExpr)left).getExpr(); if (left instanceof Step) _step = (Step)left; if (right instanceof CastExpr) right = ((CastExpr)right).getExpr(); if (right instanceof Step) _step = (Step)right; } //if ((_step != null) && (_step.isAbbreviatedDot())) _step = null; return _step; }
|
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/09cdc7db20706dcde0cfa7ba5f89ac976668ec03/Predicate.java/buggy/src/org/apache/xalan/xsltc/compiler/Predicate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
4160,
588,
4160,
1435,
95,
202,
430,
24899,
4119,
5,
33,
2011,
13,
2463,
67,
4119,
31,
202,
430,
24899,
2749,
631,
2011,
13,
2463,
2011,
31,
202,
430,
24899,
2749,
1336,
792,
20273,
4742,
15329,
202,
20273,
424,
1484,
23829,
28657,
20273,
4742,
13,
67,
2749,
31,
202,
2300,
4482,
33,
2749,
18,
588,
3910,
5621,
202,
2300,
4083,
33,
2749,
18,
588,
4726,
5621,
202,
430,
12,
4482,
1336,
792,
9735,
4742,
13,
4482,
33,
12443,
9735,
4742,
13,
4482,
2934,
588,
4742,
5621,
202,
430,
12,
4482,
1336,
792,
4160,
13,
67,
4119,
28657,
4160,
13,
4482,
31,
202,
202,
430,
12,
4083,
1336,
792,
9735,
4742,
13,
4083,
33,
12443,
9735,
4742,
13,
4083,
2934,
588,
4742,
5621,
202,
430,
12,
4083,
1336,
792,
4160,
13,
67,
4119,
28657,
4160,
13,
4083,
31,
202,
97,
202,
759,
430,
12443,
67,
4119,
5,
33,
2011,
13,
10,
10,
24899,
4119,
18,
291,
11945,
10412,
1435,
3719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0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
4160,
588,
4160,
1435,
95,
202,
430,
24899,
4119,
5,
33,
2011,
13,
2463,
67,
4119,
31,
202,
430,
24899,
2749,
631,
2011,
13,
2463,
2011,
31,
202,
430,
24899,
2749,
1336,
792,
20273,
4742,
15329,
202,
20273,
424,
1484,
23829,
28657,
20273,
4742,
13,
67,
2749,
31,
202,
2300,
4482,
33,
2749,
18,
588,
3910,
5621,
202,
2300,
4083,
33,
2749,
18,
588,
4726,
5621,
202,
430,
12,
4482,
1336,
792,
9735,
4742,
13,
4482,
33,
12443,
9735,
4742,
13,
4482,
2934,
588,
4742,
5621,
202,
430,
12,
4482,
1336,
792,
4160,
13,
67,
4119,
28657,
4160,
13,
4482,
31,
202,
202,
430,
12,
4083,
1336,
792,
9735,
4742,
13,
4083,
33,
12443,
9735,
4742,
13,
4083,
2
] |
||
public ComparisonFailure (String message, String expected, String actual) { super (message); fExpected= expected; fActual= actual;
|
public ComparisonFailure () {
|
public ComparisonFailure (String message, String expected, String actual) { super (message); fExpected= expected; fActual= actual; }
|
48424 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48424/0f8075aba2fc1bba1b0c145e28bb99b5da31928f/ComparisonFailure.java/buggy/junit/framework/ComparisonFailure.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19479,
5247,
261,
780,
883,
16,
514,
2665,
16,
514,
3214,
13,
288,
202,
202,
9565,
261,
2150,
1769,
202,
202,
74,
6861,
33,
2665,
31,
202,
202,
74,
11266,
33,
3214,
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,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19479,
5247,
261,
780,
883,
16,
514,
2665,
16,
514,
3214,
13,
288,
202,
202,
9565,
261,
2150,
1769,
202,
202,
74,
6861,
33,
2665,
31,
202,
202,
74,
11266,
33,
3214,
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
] |
html = html.concat(printItem(item));
|
html.append(printItem(item));
|
public String getItems(Integer categoryId, Integer regionId, int page, int nbOfItems) { Enumeration list; ItemPK itemPK; ItemHome iHome; Item item; Query query; QueryHome qHome; String html = ""; try { qHome = (QueryHome)PortableRemoteObject.narrow(initialContext.lookup("java:comp/env/ejb/Query"), QueryHome.class); query = qHome.create(); } catch (Exception e) { throw new EJBException("Cannot lookup Query: " +e); } try { iHome = (ItemHome)PortableRemoteObject.narrow(initialContext.lookup("java:comp/env/ejb/Item"), ItemHome.class); } catch (Exception e) { throw new EJBException("Cannot lookup Item: " +e); } utx = sessionContext.getUserTransaction(); try { utx.begin(); list = query.getCurrentItemsInCategoryAndRegion(categoryId, regionId, page*nbOfItems, nbOfItems).elements(); while (list.hasMoreElements()) { itemPK = (ItemPK)list.nextElement(); item = iHome.findByPrimaryKey(itemPK); html = html.concat(printItem(item)); } utx.commit(); } catch (Exception e) { try { utx.rollback(); throw new EJBException("Cannot get items list: " +e); } catch (Exception se) { throw new EJBException("Transaction rollback failed: " + e); } } return html; }
|
5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/69c37257a1581e015b5a8a01582a0f0d4a10936c/SB_SearchItemsByRegionBean.java/buggy/EJB_Session_facade/edu/rice/rubis/beans/SB_SearchItemsByRegionBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
15515,
12,
4522,
28311,
16,
2144,
3020,
548,
16,
509,
1363,
16,
509,
4264,
951,
3126,
13,
282,
288,
1377,
13864,
666,
31,
1377,
4342,
8784,
1377,
761,
8784,
31,
1377,
4342,
8684,
565,
277,
8684,
31,
1377,
4342,
3639,
761,
31,
1377,
2770,
4202,
843,
31,
1377,
2770,
8684,
282,
1043,
8684,
31,
1377,
514,
1729,
273,
1408,
31,
565,
775,
377,
288,
1377,
1043,
8684,
273,
261,
1138,
8684,
13,
2617,
429,
5169,
921,
18,
82,
7815,
12,
6769,
1042,
18,
8664,
2932,
6290,
30,
2919,
19,
3074,
19,
73,
10649,
19,
1138,
6,
3631,
2770,
8684,
18,
1106,
1769,
1377,
843,
273,
1043,
8684,
18,
2640,
5621,
565,
289,
377,
1044,
261,
503,
425,
13,
565,
288,
1377,
604,
394,
12157,
503,
2932,
4515,
3689,
2770,
30,
315,
397,
73,
1769,
565,
289,
565,
775,
377,
288,
1377,
277,
8684,
273,
261,
1180,
8684,
13,
2617,
429,
5169,
921,
18,
82,
7815,
12,
6769,
1042,
18,
8664,
2932,
6290,
30,
2919,
19,
3074,
19,
73,
10649,
19,
1180,
6,
3631,
4342,
8684,
18,
1106,
1769,
565,
289,
377,
1044,
261,
503,
425,
13,
565,
288,
1377,
604,
394,
12157,
503,
2932,
4515,
3689,
4342,
30,
315,
397,
73,
1769,
565,
289,
565,
5218,
92,
273,
1339,
1042,
18,
588,
1299,
3342,
5621,
565,
775,
377,
288,
1377,
5218,
92,
18,
10086,
5621,
1377,
666,
273,
843,
18,
588,
3935,
3126,
382,
4457,
1876,
5165,
12,
4743,
548,
16,
3020,
548,
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,
282,
1071,
514,
15515,
12,
4522,
28311,
16,
2144,
3020,
548,
16,
509,
1363,
16,
509,
4264,
951,
3126,
13,
282,
288,
1377,
13864,
666,
31,
1377,
4342,
8784,
1377,
761,
8784,
31,
1377,
4342,
8684,
565,
277,
8684,
31,
1377,
4342,
3639,
761,
31,
1377,
2770,
4202,
843,
31,
1377,
2770,
8684,
282,
1043,
8684,
31,
1377,
514,
1729,
273,
1408,
31,
565,
775,
377,
288,
1377,
1043,
8684,
273,
261,
1138,
8684,
13,
2617,
429,
5169,
921,
18,
82,
7815,
12,
6769,
1042,
18,
8664,
2932,
6290,
30,
2919,
19,
3074,
19,
73,
10649,
19,
1138,
6,
3631,
2770,
8684,
18,
1106,
1769,
1377,
843,
273,
1043,
8684,
18,
2640,
5621,
565,
289,
377,
1044,
261,
503,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.