rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
try { Value ref = new NodeRef(doc.getDocId()); IndexQuery query = new IndexQuery(IndexQuery.TRUNC_RIGHT, ref); domDb.remove(query, null); domDb.flush(); } catch (BTreeException e) { LOG.warn("btree error while removing document", e); } catch (DBException e) { LOG.warn("db error while removing document", e); } catch (IOException e) { LOG.warn("io error while removing document", e); } catch (TerminatedException e) { LOG.warn("method terminated", e); } return null; }
try { Value ref = new NodeRef(doc.getDocId()); IndexQuery query = new IndexQuery(IndexQuery.TRUNC_RIGHT, ref); domDb.remove(query, null); domDb.flush(); } catch (BTreeException e) { LOG.warn("btree error while removing document", e); } catch (DBException e) { LOG.warn("db error while removing document", e); } catch (IOException e) { LOG.warn("io error while removing document", e); } catch (TerminatedException e) { LOG.warn("method terminated", e); } return null; }
public Object start() { try { Value ref = new NodeRef(doc.getDocId()); IndexQuery query = new IndexQuery(IndexQuery.TRUNC_RIGHT, ref); domDb.remove(query, null); domDb.flush(); } catch (BTreeException e) { LOG.warn("btree error while removing document", e); } catch (DBException e) { LOG.warn("db error while removing document", e); } catch (IOException e) { LOG.warn("io error while removing document", e); } catch (TerminatedException e) { LOG.warn("method terminated", e); } return null; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/7f8b9e1ed7cd1231abcaa3236c78e26e77e01501/NativeBroker.java/clean/src/org/exist/storage/NativeBroker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 5411, 1071, 1033, 787, 1435, 288, 202, 7734, 775, 288, 202, 10792, 1445, 1278, 273, 394, 2029, 1957, 12, 2434, 18, 588, 1759, 548, 10663, 202, 10792, 3340, 1138, 843, 273, 202, 13491, 394, 3340, 1138, 12, 1016, 1138, 18, 4349, 21163, 67, 11847, 16, 1278, 1769, 202, 10792, 4092, 4331, 18, 4479, 12, 2271, 16, 446, 1769, 202, 10792, 4092, 4331, 18, 11330, 5621, 202, 7734, 289, 1044, 261, 38, 2471, 503, 425, 13, 288, 202, 10792, 2018, 18, 8935, 2932, 70, 3413, 555, 1323, 9427, 1668, 3113, 425, 1769, 202, 7734, 289, 1044, 261, 2290, 503, 425, 13, 288, 202, 10792, 2018, 18, 8935, 2932, 1966, 555, 1323, 9427, 1668, 3113, 425, 1769, 202, 7734, 289, 1044, 261, 14106, 425, 13, 288, 202, 10792, 2018, 18, 8935, 2932, 1594, 555, 1323, 9427, 1668, 3113, 425, 1769, 202, 7734, 289, 1044, 261, 21888, 503, 425, 13, 288, 202, 10792, 2018, 18, 8935, 2932, 2039, 14127, 3113, 425, 1769, 202, 7734, 289, 202, 7734, 327, 446, 31, 202, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 5411, 1071, 1033, 787, 1435, 288, 202, 7734, 775, 288, 202, 10792, 1445, 1278, 273, 394, 2029, 1957, 12, 2434, 18, 588, 1759, 548, 10663, 202, 10792, 3340, 1138, 843, 273, 202, 13491, 394, 3340, 1138, 12, 1016, 1138, 18, 4349, 21163, 67, 11847, 16, 1278, 1769, 202, 10792, 4092, 4331, 18, 4479, 12, 2271, 16, 446, 1769, 202, 10792, 4092, 4331, 18, 11330, 5621, 202, 7734, 289, 1044, 261, 38, 2471, 503, 425, 13, 288, 202, 10792, 2018, 18, 8935, 2932, 70, 3413, 555, 1323, 9427, 1668, 3113, 425, 1769, 202, 7734, 289, 1044, 261, 2290, 503, 425, 13, 288, 202, 10792, 2018, 18, 8935, 2932, 1966, 555, 1323, 9427, 1668, 3113, 425, 1769, 202, 7734, 289, 2 ]
if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) {
if (getAtomTypeXCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 1) {
public DescriptorValue calculate(AtomContainer ac) throws CDKException { RingSet rs = (new AllRingsFinder()).findAllRings(ac); HueckelAromaticityDetector.detectAromaticity(ac, rs, true); double xlogP = 0; org.openscience.cdk.interfaces.Atom[] atoms = ac.getAtoms(); String symbol = ""; int bondCount = 0; int hsCount = 0; double maxBondOrder = 0; for (int i = 0; i < atoms.length; i++) { symbol = atoms[i].getSymbol(); bondCount = ac.getBondCount(atoms[i]); hsCount = getHydrogenCount(ac, atoms[i]); maxBondOrder = ac.getMaximumBondOrder(atoms[i]); if (symbol.equals("C")) { if (bondCount == 2) { // C sp if (hsCount >= 1) { xlogP += 0.209; // // System.out...println("XLOGP: 1"); } else { if (maxBondOrder == 2.0) { xlogP += 2.073; // // System.out...println("XLOGP: 2"); } else if (maxBondOrder == 3.0) { xlogP += 0.33; // // System.out...println("XLOGP: 3"); } } } if (bondCount == 3) { // C sp2 if (atoms[i].getFlag(CDKConstants.ISAROMATIC)) { if (getAromaticCarbonsCount(ac, atoms[i]) == 2) { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.296; // // System.out...println("XLOGP: 4"); } else { xlogP -= 0.151; // // System.out...println("XLOGP: 5"); } } else { xlogP += 0.337; // // System.out...println("XLOGP: 6"); } } else if (getAromaticCarbonsCount(ac, atoms[i]) < 2 && getAromaticNitrogensCount(ac, atoms[i]) > 1) { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.174; // // System.out...println("XLOGP: 7"); } else { xlogP += 0.366; // // System.out...println("XLOGP: 8"); } } else if (getHydrogenCount(ac, atoms[i]) == 1) { xlogP += 0.126; // // System.out...println("XLOGP: 9"); } } } else { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.05; // // System.out...println("XLOGP: 10"); } else { xlogP += 0.013; // // System.out...println("XLOGP: 11"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.03; // // System.out...println("XLOGP: 12"); } else { xlogP -= 0.027; // // System.out...println("XLOGP: 13"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 2) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.005; // // System.out...println("XLOGP: 14"); } else { xlogP -= 0.315; // // System.out...println("XLOGP: 15"); } } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.466; // // System.out...println("XLOGP: 16"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.136; // // System.out...println("XLOGP: 17"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.001; // // System.out...println("XLOGP: 18"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.31; // // System.out...println("XLOGP: 19"); } } } if (hsCount == 2) { xlogP += 0.42; // // System.out...println("XLOGP: 20"); } } if (getIfCarbonIsHydrophobic(ac, atoms[i]) >= 0) { xlogP += 0.211; // // System.out...println("XLOGP: 21"); } } if (bondCount == 4) { // C sp3 if (getIfCarbonIsHydrophobic(ac, atoms[i]) >= 0) { xlogP += 0.211; // // System.out...println("XLOGP: 22"); } if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.006; // // System.out...println("XLOGP: 23"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.57; // // System.out...println("XLOGP: 24"); } if (getPiSystemsCount(ac, atoms[i]) >= 2) { xlogP -= 0.317; // // System.out...println("XLOGP: 25"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.316; // // System.out...println("XLOGP: 26"); } else { xlogP -= 0.723; // // System.out...println("XLOGP: 27"); } } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.127; // // System.out...println("XLOGP: 28"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.243; // // System.out...println("XLOGP: 29"); } if (getPiSystemsCount(ac, atoms[i]) >= 2) { xlogP -= 0.499; // // System.out...println("XLOGP: 30"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.205; // // System.out...println("XLOGP: 31"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.305; // // System.out...println("XLOGP: 32"); } if (getPiSystemsCount(ac, atoms[i]) >= 2) { xlogP -= 0.709; // // System.out...println("XLOGP: 33"); } } } if (hsCount == 2) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.358; // // System.out...println("XLOGP: 34"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.008; // // System.out...println("XLOGP: 35"); } if (getPiSystemsCount(ac, atoms[i]) == 2) { xlogP -= 0.185; // // System.out...println("XLOGP: 36"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.137; // // System.out...println("XLOGP: 37"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.303; // // System.out...println("XLOGP: 38"); } if (getPiSystemsCount(ac, atoms[i]) == 2) { xlogP -= 0.815; // // System.out...println("XLOGP: 39"); } } } if (hsCount > 2) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.528; // // System.out...println("XLOGP: 40"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.267; // // System.out...println("XLOGP: 41"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.032; // // System.out...println("XLOGP: 42"); } } } } if (symbol.equals("N")) { if (ac.getBondOrderSum(atoms[i]) == 5.0) { xlogP += 1.178; // // System.out...println("XLOGP: 43"); } // NO2 else { if (getPresenceOfCarbonil(ac, atoms[i]) == 1) { // amidic nitrogen if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.078; // // System.out...println("XLOGP: 44"); } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.118; // // System.out...println("XLOGP: 45"); } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP -= 0.096; // // System.out...println("XLOGP: 46"); } else { xlogP -= 0.044; // // System.out...println("XLOGP: 47"); } } if (hsCount == 2) { xlogP -= 0.646; // // System.out...println("XLOGP: 48"); } } else { if (bondCount == 1) { // -C#N if (getCarbonsCount(ac, atoms[i]) == 1) { xlogP -= 0.566; // // System.out...println("XLOGP: 49"); } } if (bondCount == 2) { // N sp2 if (atoms[i].getFlag(CDKConstants.ISAROMATIC)) { xlogP -= 0.493; // // System.out...println("XLOGP: 50"); } else { if (getDoubleBondedCarbonsCount(ac, atoms[i]) == 0) { if (getDoubleBondedNitrogenCount(ac, atoms[i]) == 0) { if (getDoubleBondedOxygenCount(ac, atoms[i]) == 1) { xlogP += 0.427; // // System.out...println("XLOGP: 51"); } } if (getDoubleBondedNitrogenCount(ac, atoms[i]) == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.536; // // System.out...println("XLOGP: 52"); } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.597; // // System.out...println("XLOGP: 53"); } } } if (getDoubleBondedCarbonsCount(ac, atoms[i]) == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.007; // // System.out...println("XLOGP: 54"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.275; // // System.out...println("XLOGP: 55"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.366; // // System.out...println("XLOGP: 56"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.251; // // System.out...println("XLOGP: 57"); } } } } } if (bondCount == 3) { // N sp3 if (hsCount == 0) { if (rs.contains(atoms[i])) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.881; // // System.out...println("XLOGP: 58"); } else { xlogP -= 0.01; // // System.out...println("XLOGP: 59"); } } else { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.159; // // System.out...println("XLOGP: 60"); } if (getPiSystemsCount(ac, atoms[i]) > 0) { xlogP += 0.761; // // System.out...println("XLOGP: 61"); } } else { xlogP -= 0.239; } } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (atoms[i].getFlag(CDKConstants.ISAROMATIC)) { xlogP += 0.545; // // System.out...println("XLOGP: 62"); } // like pyrrole else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.112; // // System.out...println("XLOGP: 63"); } if (getPiSystemsCount(ac, atoms[i]) > 0) { xlogP += 0.166; // // System.out...println("XLOGP: 64"); } } } else { if (rs.contains(atoms[i])) { xlogP += 0.153; // // System.out...println("XLOGP: 65"); } else { xlogP += 0.324; // // System.out...println("XLOGP: 66"); } } } if (hsCount == 2) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.534; // // System.out...println("XLOGP: 66"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.329; // // System.out...println("XLOGP: 67"); } } else { xlogP -= 1.082; // // System.out...println("XLOGP: 68"); } } } } } } if (symbol.equals("O")) { if (bondCount == 1) { xlogP -= 0.399; // // System.out...println("XLOGP: 69"); } if (bondCount == 2) { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.084; // // System.out...println("XLOGP: 70"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.435; // // System.out...println("XLOGP: 71"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP += 0.105; // // System.out...println("XLOGP: 72"); } } else { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.467; // // System.out...println("XLOGP: 73"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.082; // // System.out...println("XLOGP: 74"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.522; // // System.out...println("XLOGP: 75"); } } } } if (symbol.equals("S")) { if (bondCount == 1) { xlogP -= 0.148; // // System.out...println("XLOGP: 76"); } if (bondCount == 2) { if (hsCount == 0) { xlogP += 0.255; // // System.out...println("XLOGP: 77"); } else { xlogP += 0.419; // // System.out...println("XLOGP: 78"); } } if (bondCount == 3) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 1.375; // // System.out...println("XLOGP: 79"); } } if (bondCount == 4) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 2) { xlogP -= 0.168; // // System.out...println("XLOGP: 80"); } } } if (symbol.equals("P")) { if (getDoubleBondedSulfurCount(ac, atoms[i]) == 1) { xlogP += 1.253; // // System.out...println("XLOGP: 81"); } if (getDoubleBondedOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.477; // // System.out...println("XLOGP: 82"); } } if (symbol.equals("F")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.375; // // System.out...println("XLOGP: 84"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.202; // // System.out...println("XLOGP: 85"); } } if (symbol.equals("Cl")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.512; // // System.out...println("XLOGP: 86"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.663; // // System.out...println("XLOGP: 87"); } } if (symbol.equals("Br")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.85; // // System.out...println("XLOGP: 88"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.839; // // System.out...println("XLOGP: 89"); } } if (symbol.equals("I")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 1.05; // // System.out...println("XLOGP: 90"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 1.109; // // System.out...println("XLOGP: 91"); } } if (getAlogenCount(ac, atoms[i]) >= 2) { xlogP += 0.137; // // System.out...println("XLOGP: 92"); } // more than 2 alogens on the same atom if (getPresenceOfCarbonil(ac, atoms[i]) == 2) {// sp2 oxygen 1-5 pair if(!rs.contains(atoms[i])) { xlogP += 0.580; } } } Descriptor acc = new HBondAcceptorCountDescriptor(); Object[] paramsAcc = {new Boolean(false)}; acc.setParameters(paramsAcc); Descriptor don = new HBondDonorCountDescriptor(); Object[] paramsDon = {new Boolean(false)}; don.setParameters(paramsDon); int acceptors = ((IntegerResult) acc.calculate(ac).getValue()).intValue(); int donors = ((IntegerResult) don.calculate(ac).getValue()).intValue(); if (donors > 0 && acceptors > 0) { xlogP += 0.429; // internal H-bonds } SmilesParser sp = new SmilesParser(); AtomContainer paba = sp.parseSmiles("CS(=O)(=O)c1ccc(N)cc1"); // p-amino sulphonic acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, paba)) { xlogP -= 0.501; } AtomContainer aminoacid = sp.parseSmiles("NC=O"); // alpha amino acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, aminoacid)) { xlogP -= 2.166; } AtomContainer salicilic = sp.parseSmiles("O=C(O)c1ccccc1O"); // salicylic acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, salicilic)) { xlogP += 0.554; } AtomContainer orthopair = sp.parseSmiles("OCCO"); // ortho oxygen pair if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, orthopair)) { xlogP -= 0.268; } return new DescriptorValue(getSpecification(), getParameterNames(), getParameters(), new DoubleResult(xlogP)); }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/11cd872c3dbcc51a117ad375706e7a5334b88daa/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/XLogPDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12823, 620, 4604, 12, 3641, 2170, 1721, 13, 1216, 24570, 288, 202, 202, 10369, 694, 3597, 273, 261, 2704, 4826, 54, 899, 8441, 1435, 2934, 4720, 1595, 54, 899, 12, 1077, 1769, 202, 202, 44, 344, 363, 292, 37, 27468, 560, 12594, 18, 16518, 37, 27468, 560, 12, 1077, 16, 3597, 16, 638, 1769, 202, 202, 9056, 619, 1330, 52, 273, 374, 31, 202, 202, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 3641, 8526, 9006, 273, 1721, 18, 588, 14280, 5621, 202, 202, 780, 3273, 273, 1408, 31, 202, 202, 474, 8427, 1380, 273, 374, 31, 202, 202, 474, 12670, 1380, 273, 374, 31, 202, 202, 9056, 943, 9807, 2448, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 9006, 18, 2469, 31, 277, 27245, 288, 1082, 202, 7175, 273, 9006, 63, 77, 8009, 588, 5335, 5621, 1082, 202, 26425, 1380, 273, 1721, 18, 588, 9807, 1380, 12, 14937, 63, 77, 19226, 1082, 202, 4487, 1380, 273, 7628, 93, 24096, 1380, 12, 1077, 16, 9006, 63, 77, 19226, 1082, 202, 1896, 9807, 2448, 273, 1721, 18, 588, 13528, 9807, 2448, 12, 14937, 63, 77, 19226, 1082, 202, 430, 261, 7175, 18, 14963, 2932, 39, 6, 3719, 288, 9506, 202, 430, 261, 26425, 1380, 422, 576, 13, 288, 6862, 202, 759, 385, 1694, 6862, 202, 430, 261, 4487, 1380, 1545, 404, 13, 288, 25083, 202, 92, 1330, 52, 1011, 374, 18, 3462, 29, 31, 25083, 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, 12823, 620, 4604, 12, 3641, 2170, 1721, 13, 1216, 24570, 288, 202, 202, 10369, 694, 3597, 273, 261, 2704, 4826, 54, 899, 8441, 1435, 2934, 4720, 1595, 54, 899, 12, 1077, 1769, 202, 202, 44, 344, 363, 292, 37, 27468, 560, 12594, 18, 16518, 37, 27468, 560, 12, 1077, 16, 3597, 16, 638, 1769, 202, 202, 9056, 619, 1330, 52, 273, 374, 31, 202, 202, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 3641, 8526, 9006, 273, 1721, 18, 588, 14280, 5621, 202, 202, 780, 3273, 273, 1408, 31, 202, 202, 474, 8427, 1380, 273, 374, 31, 202, 202, 474, 12670, 1380, 273, 374, 31, 202, 202, 9056, 943, 9807, 2448, 273, 374, 2 ]
Class clazz = cl.parseClass("class OverviewController { @Property String listView = \"listPage\"; @Property Closure list = { request, response -> return null }; } ");
Class clazz = cl.parseClass("class TestController { @Property action = { return null }; } ");
public void testDefaultGrailsControllerViewNames() throws Exception { GroovyClassLoader cl = new GroovyClassLoader(); Class clazz = cl.parseClass("class OverviewController { @Property String listView = \"listPage\"; @Property Closure list = { request, response -> return null }; } "); GrailsControllerClass grailsClass = new DefaultGrailsControllerClass(clazz); assertEquals("Overview", grailsClass.getName()); assertEquals("OverviewController", grailsClass.getFullName()); assertEquals("/overview/listPage", grailsClass.getViewByURI("/overview/list")); assertEquals(4, grailsClass.getURIs().length); }
51576 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51576/63d5a2d5141ac0cac6f4223429ce5f4401f63ffb/DefaultGrailsControllerClassTests.java/clean/test/commons/org/codehaus/groovy/grails/commons/DefaultGrailsControllerClassTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1868, 14571, 14573, 2933, 1767, 1557, 1435, 1216, 1185, 288, 202, 202, 43, 12859, 7805, 927, 273, 394, 20841, 7805, 5621, 202, 202, 797, 4003, 273, 927, 18, 2670, 797, 2932, 1106, 10752, 1945, 2933, 288, 632, 1396, 514, 666, 1767, 273, 1239, 1098, 1964, 2412, 31, 632, 1396, 7255, 666, 273, 288, 590, 16, 766, 317, 327, 446, 289, 31, 289, 315, 1769, 202, 202, 14571, 14573, 2933, 797, 3087, 14573, 797, 273, 394, 2989, 14571, 14573, 2933, 797, 12, 830, 3638, 1769, 202, 202, 11231, 8867, 2932, 26648, 3113, 3087, 14573, 797, 18, 17994, 10663, 202, 202, 11231, 8867, 2932, 26648, 2933, 3113, 3087, 14573, 797, 18, 588, 19223, 10663, 202, 202, 11231, 8867, 2932, 19, 26081, 19, 1098, 1964, 3113, 3087, 14573, 797, 18, 588, 1767, 858, 3098, 2932, 19, 26081, 19, 1098, 7923, 1769, 202, 202, 11231, 8867, 12, 24, 16, 3087, 14573, 797, 18, 588, 1099, 2520, 7675, 2469, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1868, 14571, 14573, 2933, 1767, 1557, 1435, 1216, 1185, 288, 202, 202, 43, 12859, 7805, 927, 273, 394, 20841, 7805, 5621, 202, 202, 797, 4003, 273, 927, 18, 2670, 797, 2932, 1106, 10752, 1945, 2933, 288, 632, 1396, 514, 666, 1767, 273, 1239, 1098, 1964, 2412, 31, 632, 1396, 7255, 666, 273, 288, 590, 16, 766, 317, 327, 446, 289, 31, 289, 315, 1769, 202, 202, 14571, 14573, 2933, 797, 3087, 14573, 797, 273, 394, 2989, 14571, 14573, 2933, 797, 12, 830, 3638, 1769, 202, 202, 11231, 8867, 2932, 26648, 3113, 3087, 14573, 797, 18, 17994, 10663, 202, 202, 11231, 8867, 2932, 26648, 2933, 3113, 3087, 14573, 797, 18, 588, 19223, 10663, 202, 202, 2 ]
if (file.equals(snip.getName())) {
if (snip.getName().equals("calendar-"+name+"-"+file)) {
protected void get(String name, String file, HttpServletRequest request, HttpServletResponse response) throws IOException { SnipSpace space = SnipSpace.getInstance(); if (space.exists(name)) { PrintWriter w = response.getWriter(); Snip userSnip = space.load(name); Iterator it = userSnip.getChildren().iterator(); while (it.hasNext()) { Snip snip = (Snip) it.next(); if (file.equals(snip.getName())) { String content = snip.getContent(); response.setContentLength(content.length()); response.setContentType("application/octet-stream"); w.print(content); w.flush(); w.close(); return; } } } }
6853 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6853/3e9972025e94c71a72fcb6f6fe84c66e64f595ed/iCalServlet.java/clean/src/org/snipsnap/net/iCalServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 336, 12, 780, 508, 16, 514, 585, 16, 5397, 9984, 590, 16, 12446, 766, 13, 1216, 1860, 288, 565, 18961, 625, 3819, 3476, 273, 18961, 625, 3819, 18, 588, 1442, 5621, 565, 309, 261, 2981, 18, 1808, 12, 529, 3719, 288, 1377, 14071, 341, 273, 766, 18, 588, 2289, 5621, 1377, 18961, 625, 729, 10461, 625, 273, 3476, 18, 945, 12, 529, 1769, 1377, 4498, 518, 273, 729, 10461, 625, 18, 588, 4212, 7675, 9838, 5621, 1377, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 3639, 18961, 625, 4556, 625, 273, 261, 10461, 625, 13, 518, 18, 4285, 5621, 3639, 309, 261, 8134, 625, 18, 17994, 7675, 14963, 2932, 11650, 10951, 15, 529, 9078, 10951, 15, 768, 3719, 288, 1850, 514, 913, 273, 4556, 625, 18, 588, 1350, 5621, 1850, 766, 18, 542, 1350, 1782, 12, 1745, 18, 2469, 10663, 1850, 766, 18, 542, 8046, 2932, 3685, 19, 17909, 17, 3256, 8863, 1850, 341, 18, 1188, 12, 1745, 1769, 1850, 341, 18, 11330, 5621, 1850, 341, 18, 4412, 5621, 1850, 327, 31, 3639, 289, 1377, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 336, 12, 780, 508, 16, 514, 585, 16, 5397, 9984, 590, 16, 12446, 766, 13, 1216, 1860, 288, 565, 18961, 625, 3819, 3476, 273, 18961, 625, 3819, 18, 588, 1442, 5621, 565, 309, 261, 2981, 18, 1808, 12, 529, 3719, 288, 1377, 14071, 341, 273, 766, 18, 588, 2289, 5621, 1377, 18961, 625, 729, 10461, 625, 273, 3476, 18, 945, 12, 529, 1769, 1377, 4498, 518, 273, 729, 10461, 625, 18, 588, 4212, 7675, 9838, 5621, 1377, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 3639, 18961, 625, 4556, 625, 273, 261, 10461, 625, 13, 518, 18, 4285, 5621, 3639, 309, 261, 8134, 625, 18, 17994, 7675, 14963, 2932, 11650, 10951, 15, 529, 9078, 10951, 15, 2 ]
fail("VersionHistory should not be lockable: VersionHistory.lock(false,false) did not throw an UnsupportedRepositoryOperationException"); } catch (UnsupportedRepositoryOperationException success) {
fail("VersionHistory should not be lockable: VersionHistory.lock(false,false) did not throw a UnsupportedRepositoryOperationException"); } catch (LockException success) {
public void testLock() throws Exception { try { vHistory.lock(true, true); fail("VersionHistory should not be lockable: VersionHistory.lock(true,true) did not throw an UnsupportedRepositoryOperationException"); } catch (UnsupportedRepositoryOperationException success) { } try { vHistory.lock(true, false); fail("VersionHistory should not be lockable: VersionHistory.lock(true,false) did not throw an UnsupportedRepositoryOperationException"); } catch (UnsupportedRepositoryOperationException success) { } try { vHistory.lock(false, true); fail("VersionHistory should not be lockable: VersionHistory.lock(false,true) did not throw an UnsupportedRepositoryOperationException"); } catch (UnsupportedRepositoryOperationException success) { } try { vHistory.lock(false, false); fail("VersionHistory should not be lockable: VersionHistory.lock(false,false) did not throw an UnsupportedRepositoryOperationException"); } catch (UnsupportedRepositoryOperationException success) { } }
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/64f7876b57599dff89167dea13bbc7b2decccd97/VersionHistoryTest.java/buggy/core/src/test/org/apache/jackrabbit/test/api/version/VersionHistoryTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2531, 1435, 1216, 1185, 288, 3639, 775, 288, 5411, 331, 5623, 18, 739, 12, 3767, 16, 638, 1769, 5411, 2321, 2932, 1444, 5623, 1410, 486, 506, 2176, 429, 30, 4049, 5623, 18, 739, 12, 3767, 16, 3767, 13, 5061, 486, 604, 392, 7221, 3305, 10602, 8863, 3639, 289, 1044, 261, 8544, 3305, 10602, 2216, 13, 288, 3639, 289, 3639, 775, 288, 5411, 331, 5623, 18, 739, 12, 3767, 16, 629, 1769, 5411, 2321, 2932, 1444, 5623, 1410, 486, 506, 2176, 429, 30, 4049, 5623, 18, 739, 12, 3767, 16, 5743, 13, 5061, 486, 604, 392, 7221, 3305, 10602, 8863, 3639, 289, 1044, 261, 8544, 3305, 10602, 2216, 13, 288, 3639, 289, 3639, 775, 288, 5411, 331, 5623, 18, 739, 12, 5743, 16, 638, 1769, 5411, 2321, 2932, 1444, 5623, 1410, 486, 506, 2176, 429, 30, 4049, 5623, 18, 739, 12, 5743, 16, 3767, 13, 5061, 486, 604, 392, 7221, 3305, 10602, 8863, 3639, 289, 1044, 261, 8544, 3305, 10602, 2216, 13, 288, 3639, 289, 3639, 775, 288, 5411, 331, 5623, 18, 739, 12, 5743, 16, 629, 1769, 5411, 2321, 2932, 1444, 5623, 1410, 486, 506, 2176, 429, 30, 4049, 5623, 18, 739, 12, 5743, 16, 5743, 13, 5061, 486, 604, 392, 7221, 3305, 10602, 8863, 3639, 289, 1044, 261, 8544, 3305, 10602, 2216, 13, 288, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2531, 1435, 1216, 1185, 288, 3639, 775, 288, 5411, 331, 5623, 18, 739, 12, 3767, 16, 638, 1769, 5411, 2321, 2932, 1444, 5623, 1410, 486, 506, 2176, 429, 30, 4049, 5623, 18, 739, 12, 3767, 16, 3767, 13, 5061, 486, 604, 392, 7221, 3305, 10602, 8863, 3639, 289, 1044, 261, 8544, 3305, 10602, 2216, 13, 288, 3639, 289, 3639, 775, 288, 5411, 331, 5623, 18, 739, 12, 3767, 16, 629, 1769, 5411, 2321, 2932, 1444, 5623, 1410, 486, 506, 2176, 429, 30, 4049, 5623, 18, 739, 12, 3767, 16, 5743, 13, 5061, 486, 604, 392, 7221, 3305, 10602, 8863, 3639, 289, 1044, 261, 8544, 3305, 10602, 2216, 13, 288, 3639, 289, 3639, 775, 288, 5411, 2 ]
departmentID, degreeID };
parameters.getDepartmentID(), parameters.getDegreeID() };
public String disassociateParentUnit() throws FenixFilterException, FenixServiceException { String costCenterCodeString = getValidCosteCenterCode(); Integer departmentID = null, degreeID = null; if (this.getUnit().getDepartment() != null) { departmentID = this.getUnit().getDepartment().getIdInternal(); } if (this.getUnit().getDegree() != null) { degreeID = this.getUnit().getDegree().getIdInternal(); } final Object[] argsToRead = { this.getUnit().getIdInternal(), this.getChooseUnit().getIdInternal(), this.getUnit().getName(), costCenterCodeString, this.getUnit().getBeginDate(), this.getUnit().getEndDate(), this.getUnit().getType(), departmentID, degreeID }; try { ServiceUtils.executeService(getUserView(), "CreateNewUnit", argsToRead); } catch (FenixServiceException e) { setErrorMessage(e.getMessage()); return ""; } return "backToUnitDetails"; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/afb7ae842cf4ded1a54e47faca3b122fbe978e80/OrganizationalStructureBackingBean.java/buggy/src/net/sourceforge/fenixedu/presentationTier/backBeans/manager/organizationalStructureManagement/OrganizationalStructureBackingBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1015, 11577, 3054, 2802, 1435, 1216, 478, 275, 697, 1586, 503, 16, 478, 275, 697, 15133, 288, 3639, 514, 6991, 8449, 1085, 780, 273, 22574, 8018, 73, 8449, 1085, 5621, 3639, 2144, 443, 15750, 734, 273, 446, 16, 10782, 734, 273, 446, 31, 3639, 309, 261, 2211, 18, 588, 2802, 7675, 588, 30358, 1435, 480, 446, 13, 288, 5411, 443, 15750, 734, 273, 333, 18, 588, 2802, 7675, 588, 30358, 7675, 26321, 3061, 5621, 3639, 289, 3639, 309, 261, 2211, 18, 588, 2802, 7675, 588, 22885, 1435, 480, 446, 13, 288, 5411, 10782, 734, 273, 333, 18, 588, 2802, 7675, 588, 22885, 7675, 26321, 3061, 5621, 3639, 289, 3639, 727, 1033, 8526, 833, 23321, 273, 288, 333, 18, 588, 2802, 7675, 26321, 3061, 9334, 7734, 333, 18, 588, 24529, 2802, 7675, 26321, 3061, 9334, 333, 18, 588, 2802, 7675, 17994, 9334, 6991, 8449, 1085, 780, 16, 7734, 333, 18, 588, 2802, 7675, 588, 8149, 1626, 9334, 333, 18, 588, 2802, 7675, 588, 24640, 9334, 333, 18, 588, 2802, 7675, 588, 559, 9334, 7734, 1472, 18, 588, 30358, 734, 9334, 1472, 18, 588, 22885, 734, 1435, 289, 31, 3639, 775, 288, 5411, 1956, 1989, 18, 8837, 1179, 12, 588, 1299, 1767, 9334, 315, 1684, 1908, 2802, 3113, 833, 23321, 1769, 3639, 289, 1044, 261, 42, 275, 697, 15133, 425, 13, 288, 5411, 9967, 1079, 12, 73, 18, 24906, 10663, 5411, 327, 1408, 31, 3639, 289, 3639, 327, 315, 823, 774, 2802, 3790, 14432, 565, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1015, 11577, 3054, 2802, 1435, 1216, 478, 275, 697, 1586, 503, 16, 478, 275, 697, 15133, 288, 3639, 514, 6991, 8449, 1085, 780, 273, 22574, 8018, 73, 8449, 1085, 5621, 3639, 2144, 443, 15750, 734, 273, 446, 16, 10782, 734, 273, 446, 31, 3639, 309, 261, 2211, 18, 588, 2802, 7675, 588, 30358, 1435, 480, 446, 13, 288, 5411, 443, 15750, 734, 273, 333, 18, 588, 2802, 7675, 588, 30358, 7675, 26321, 3061, 5621, 3639, 289, 3639, 309, 261, 2211, 18, 588, 2802, 7675, 588, 22885, 1435, 480, 446, 13, 288, 5411, 10782, 734, 273, 333, 18, 588, 2802, 7675, 588, 22885, 7675, 26321, 3061, 5621, 3639, 289, 3639, 727, 1033, 8526, 833, 23321, 273, 288, 2 ]
assignedTypes = matcher.getAdditionalResourceTypes(); } catch (Throwable t) {
assignedTypes = matcher.getAdditionalResourceTypes(); } catch (Throwable t) {
private void initialize(Document document, String editorUri) { // set the label of the editor setEditorLabel(document.getRootElement().elementText(C_NODE_EDITORLABEL)); // set the URI of the editor setEditorUri(editorUri); // create the map of valid resource types Iterator i = document.getRootElement().element(C_NODE_RESOURCETYPES).elementIterator(C_NODE_TYPE); Map resTypes = new HashMap(); while (i.hasNext()) { Element currentType = (Element)i.next(); float ranking; String name = currentType.elementText(C_NODE_NAME); if (name == null || "".equals(name.trim())) { logConfigurationError(Messages.get().key(Messages.ERR_INVALID_RESTYPE_NAME_0), null); continue; } try { ranking = Float.parseFloat(currentType.elementText(C_NODE_RANKING)); } catch (Throwable t) { logConfigurationError(Messages.get().key(Messages.ERR_INVALID_RESTYPE_RANKING_1, name), t); continue; } String mapTo = currentType.elementText(C_NODE_MAPTO); if ("".equals(mapTo)) { mapTo = null; } resTypes.put(name, new String[] {"" + ranking, mapTo}); } // add the additional resource types i = document.getRootElement().element(C_NODE_RESOURCETYPES).elementIterator(C_NODE_CLASS); while (i.hasNext()) { Element currentClass = (Element)i.next(); String name = currentClass.elementText(C_NODE_NAME); List assignedTypes = new ArrayList(); try { // get the editor type matcher class I_CmsEditorTypeMatcher matcher = (I_CmsEditorTypeMatcher)Class.forName(name).newInstance(); assignedTypes = matcher.getAdditionalResourceTypes(); } catch (Throwable t) { logConfigurationError(Messages.get().key(Messages.ERR_INVALID_RESTYPE_CLASS_1, name), t); continue; } float ranking; try { ranking = Float.parseFloat(currentClass.elementText(C_NODE_RANKING)); } catch (Throwable t) { logConfigurationError(Messages.get().key(Messages.ERR_INVALID_RESTYPE_RANKING_1, name), t); continue; } String mapTo = currentClass.elementText(C_NODE_MAPTO); if ("".equals(mapTo)) { mapTo = null; } // now loop through all types found and add them Iterator j = assignedTypes.iterator(); while (j.hasNext()) { String typeName = (String)j.next(); resTypes.put(typeName, new String[] {"" + ranking, mapTo}); } } setResourceTypes(resTypes); // create the list of user agents & compiled patterns for editor i = document.getRootElement().element(C_NODE_USERAGENTS).elementIterator(C_NODE_AGENT); List pattern = new ArrayList(); List userAgents = new ArrayList(); while (i.hasNext()) { Element currentAgent = (Element)i.next(); String agentName = currentAgent.getText(); if (agentName != null && !"".equals(agentName.trim())) { userAgents.add(agentName); try { pattern.add(Pattern.compile(agentName)); } catch (PatternSyntaxException e) { logConfigurationError(Messages.get().key(Messages.ERR_COMPILE_EDITOR_REGEX_1, agentName), e); } } else { logConfigurationError(Messages .get().key(Messages.ERR_INVALID_USERAGENT_DEF_0), null); } } setBrowserPattern(pattern); setUserAgentsRegEx(userAgents); }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/2fa0efcae8f9aa5971c7763269a3b033e9256d4b/CmsWorkplaceEditorConfiguration.java/clean/src/org/opencms/workplace/editors/CmsWorkplaceEditorConfiguration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4046, 12, 2519, 1668, 16, 514, 4858, 3006, 13, 288, 3639, 368, 444, 326, 1433, 434, 326, 4858, 3639, 444, 6946, 2224, 12, 5457, 18, 588, 2375, 1046, 7675, 2956, 1528, 12, 39, 67, 8744, 67, 13208, 13545, 10019, 7734, 368, 444, 326, 3699, 434, 326, 4858, 3639, 444, 6946, 3006, 12, 9177, 3006, 1769, 7734, 368, 752, 326, 852, 434, 923, 1058, 1953, 3639, 4498, 277, 273, 1668, 18, 588, 2375, 1046, 7675, 2956, 12, 39, 67, 8744, 67, 11395, 10564, 2934, 2956, 3198, 12, 39, 67, 8744, 67, 2399, 1769, 3639, 1635, 400, 2016, 273, 394, 4317, 5621, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 3010, 27646, 273, 261, 1046, 13, 77, 18, 4285, 5621, 5411, 1431, 23087, 31, 5411, 514, 508, 273, 27646, 18, 2956, 1528, 12, 39, 67, 8744, 67, 1985, 1769, 5411, 309, 261, 529, 422, 446, 747, 1408, 18, 14963, 12, 529, 18, 5290, 1435, 3719, 288, 7734, 613, 1750, 668, 12, 5058, 18, 588, 7675, 856, 12, 5058, 18, 9712, 67, 9347, 67, 12030, 1738, 67, 1985, 67, 20, 3631, 446, 1769, 7734, 1324, 31, 5411, 289, 5411, 775, 288, 7734, 23087, 273, 5450, 18, 2670, 4723, 12, 2972, 559, 18, 2956, 1528, 12, 39, 67, 8744, 67, 54, 20201, 1360, 10019, 5411, 289, 1044, 261, 15155, 268, 13, 288, 7734, 613, 1750, 668, 12, 5058, 18, 588, 7675, 856, 12, 5058, 18, 9712, 67, 9347, 67, 12030, 1738, 67, 54, 20201, 1360, 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, 3238, 918, 4046, 12, 2519, 1668, 16, 514, 4858, 3006, 13, 288, 3639, 368, 444, 326, 1433, 434, 326, 4858, 3639, 444, 6946, 2224, 12, 5457, 18, 588, 2375, 1046, 7675, 2956, 1528, 12, 39, 67, 8744, 67, 13208, 13545, 10019, 7734, 368, 444, 326, 3699, 434, 326, 4858, 3639, 444, 6946, 3006, 12, 9177, 3006, 1769, 7734, 368, 752, 326, 852, 434, 923, 1058, 1953, 3639, 4498, 277, 273, 1668, 18, 588, 2375, 1046, 7675, 2956, 12, 39, 67, 8744, 67, 11395, 10564, 2934, 2956, 3198, 12, 39, 67, 8744, 67, 2399, 1769, 3639, 1635, 400, 2016, 273, 394, 4317, 5621, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 3010, 27646, 273, 261, 1046, 13, 2 ]
if(metadata.compressed) {
if(metadata.isCompressed()) {
private FetchResult runMetadata(ClientMetadata dm, int recursionLevel, ClientKey key, LinkedList metaStrings, Metadata metadata, ArchiveHandler container, FreenetURI thisKey, boolean dontEnterImplicitArchives, boolean localOnly) throws MetadataParseException, FetchException, ArchiveFailureException, ArchiveRestartException { if(metadata.isSimpleManifest()) { String name; if(metaStrings.isEmpty()) name = null; else name = (String) metaStrings.removeFirst(); // Since metadata is a document, we just replace metadata here if(name == null) { metadata = metadata.getDefaultDocument(); } else { metadata = metadata.getDocument(name); thisKey = thisKey.pushMetaString(name); } return runMetadata(dm, recursionLevel, key, metaStrings, metadata, container, thisKey, dontEnterImplicitArchives, localOnly); } else if(metadata.isArchiveManifest()) { container = ctx.archiveManager.makeHandler(thisKey, metadata.getArchiveType(), false); Bucket metadataBucket = container.getMetadata(archiveContext, ctx, dm, recursionLevel, true); try { metadata = Metadata.construct(metadataBucket); } catch (IOException e) { throw new FetchException(FetchException.BUCKET_ERROR); } return runMetadata(dm, recursionLevel+1, key, metaStrings, metadata, container, thisKey, dontEnterImplicitArchives, localOnly); } else if(metadata.isArchiveInternalRedirect()) { if(container == null) throw new FetchException(FetchException.NOT_IN_ARCHIVE); else { /* Implicit archive handling: * Sooner or later we reach a SimpleFileRedirect to data, a Splitfile to data, * or an ArchiveInternalRedirect to data. * * In this case, if it is an archive type, if implicit archive handling is enabled, and if * we have more meta-strings, we can try to enter it. */ if((!dontEnterImplicitArchives) && ArchiveManager.isUsableArchiveType(dm.getMIMEType()) && (!metaStrings.isEmpty())) { // Possible implicit archive inside archive? container = ctx.archiveManager.makeHandler(thisKey, ArchiveManager.getArchiveType(dm.getMIMEType()), false); Bucket metadataBucket = container.getMetadata(archiveContext, ctx, dm, recursionLevel, true); try { metadata = Metadata.construct(metadataBucket); } catch (IOException e) { throw new FetchException(FetchException.BUCKET_ERROR); } return runMetadata(dm, recursionLevel+1, key, metaStrings, metadata, container, thisKey, dontEnterImplicitArchives, localOnly); } Bucket result = container.get(metadata.getZIPInternalName(), archiveContext, ctx, dm, recursionLevel, true); dm.mergeNoOverwrite(metadata.getClientMetadata()); return new FetchResult(dm, result); } } else if(metadata.isMultiLevelMetadata()) { // Doesn't have to be a splitfile; could be from a ZIP or a plain file. metadata.setSimpleRedirect(); FetchResult res = runMetadata(dm, recursionLevel, key, metaStrings, metadata, container, thisKey, true, localOnly); try { metadata = Metadata.construct(res.data); } catch (MetadataParseException e) { throw new FetchException(FetchException.INVALID_METADATA, e); } catch (IOException e) { throw new FetchException(FetchException.BUCKET_ERROR, e); } return runMetadata(dm, recursionLevel, key, metaStrings, metadata, container, thisKey, dontEnterImplicitArchives, localOnly); } else if(metadata.isSingleFileRedirect()) { FreenetURI uri = metadata.getSingleTarget(); dm.mergeNoOverwrite(metadata.getClientMetadata()); if((!dontEnterImplicitArchives) && ArchiveManager.isUsableArchiveType(dm.getMIMEType()) && (!metaStrings.isEmpty())) { // Is probably an implicit archive. ClientKey target; try { target = ClientKey.getBaseKey(uri); } catch (MalformedURLException e1) { throw new FetchException(FetchException.INVALID_URI, "Invalid URI: "+uri); } // Probably a usable archive as-is. We may not have to fetch it. container = ctx.archiveManager.makeHandler(uri, ArchiveManager.getArchiveType(dm.getMIMEType()), true); if(container != null) { Bucket metadataBucket = container.getMetadata(archiveContext, ctx, dm, recursionLevel, true); try { metadata = Metadata.construct(metadataBucket); } catch (IOException e) { throw new FetchException(FetchException.BUCKET_ERROR); } return runMetadata(dm, recursionLevel+1, key, metaStrings, metadata, container, thisKey, dontEnterImplicitArchives, localOnly); } // else just fetch it, create context later } FetchResult fr = realRun(dm, recursionLevel, uri, dontEnterImplicitArchives, localOnly); if(metadata.compressed) { Compressor codec = Compressor.getCompressionAlgorithmByMetadataID(metadata.compressionCodec); Bucket data = fr.data; Bucket output; try { long maxLen = ctx.maxTempLength; if(maxLen < 0) maxLen = Long.MAX_VALUE; output = codec.decompress(data, ctx.bucketFactory, maxLen); } catch (IOException e) { throw new FetchException(FetchException.BUCKET_ERROR, e); } catch (CompressionOutputSizeException e) { throw new FetchException(FetchException.TOO_BIG); } return new FetchResult(fr, output); } return fr; } else if(metadata.isSplitfile()) { // Straight data splitfile. // Might be used by parents for something else, in which case they will set dontEnterImplicitArchives. dm.mergeNoOverwrite(metadata.getClientMetadata()); // even splitfiles can have mime types! if((!dontEnterImplicitArchives) && ArchiveManager.isUsableArchiveType(dm.getMIMEType()) && (!metaStrings.isEmpty())) { // We know target is not metadata. container = ctx.archiveManager.makeHandler(thisKey, ArchiveManager.getArchiveType(dm.getMIMEType()), false); Bucket metadataBucket = container.getMetadata(archiveContext, ctx, dm, recursionLevel, true); try { metadata = Metadata.construct(metadataBucket); } catch (IOException e) { throw new FetchException(FetchException.BUCKET_ERROR, e); } return runMetadata(dm, recursionLevel+1, key, metaStrings, metadata, container, thisKey, dontEnterImplicitArchives, localOnly); } FetcherContext newCtx; if(metadata.splitUseLengths) newCtx = new FetcherContext(ctx, FetcherContext.SPLITFILE_USE_LENGTHS_MASK); else newCtx = new FetcherContext(ctx, FetcherContext.SPLITFILE_DEFAULT_MASK); SplitFetcher sf = new SplitFetcher(metadata, archiveContext, newCtx, recursionLevel); Bucket sfResult = sf.fetch(); // will throw in event of error if(metadata.compressed) { Compressor codec = Compressor.getCompressionAlgorithmByMetadataID(metadata.compressionCodec); try { long maxLen = ctx.maxTempLength; if(maxLen < 0) maxLen = Long.MAX_VALUE; sfResult = codec.decompress(sfResult, ctx.bucketFactory, maxLen); } catch (IOException e) { throw new FetchException(FetchException.BUCKET_ERROR, e); } catch (CompressionOutputSizeException e) { throw new FetchException(FetchException.TOO_BIG); } } return new FetchResult(dm, sfResult); } else { Logger.error(this, "Don't know what to do with metadata: "+metadata); throw new FetchException(FetchException.UNKNOWN_METADATA); } }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/1309aed4b19c609108b71fcf53c44157f11b35df/Fetcher.java/buggy/src/freenet/client/Fetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 8065, 1253, 1086, 2277, 12, 1227, 2277, 9113, 16, 509, 13917, 2355, 16, 2445, 653, 498, 16, 10688, 2191, 7957, 16, 1875, 202, 2277, 1982, 16, 13124, 1503, 1478, 16, 478, 2842, 278, 3098, 333, 653, 16, 1250, 14046, 10237, 15787, 12269, 3606, 16, 1250, 1191, 3386, 13, 225, 202, 15069, 6912, 13047, 16, 8065, 503, 16, 13124, 14389, 16, 13124, 15057, 503, 288, 9506, 202, 430, 12, 4165, 18, 291, 5784, 9121, 10756, 288, 1082, 202, 780, 508, 31, 1082, 202, 430, 12, 3901, 7957, 18, 291, 1921, 10756, 9506, 202, 529, 273, 446, 31, 1082, 202, 12107, 9506, 202, 529, 273, 261, 780, 13, 2191, 7957, 18, 4479, 3759, 5621, 1082, 202, 759, 7897, 1982, 353, 279, 1668, 16, 732, 2537, 1453, 1982, 2674, 1082, 202, 430, 12, 529, 422, 446, 13, 288, 9506, 202, 4165, 273, 1982, 18, 588, 1868, 2519, 5621, 1082, 202, 97, 469, 288, 9506, 202, 4165, 273, 1982, 18, 588, 2519, 12, 529, 1769, 9506, 202, 2211, 653, 273, 333, 653, 18, 6206, 2781, 780, 12, 529, 1769, 1082, 202, 97, 1082, 202, 2463, 1086, 2277, 12, 10956, 16, 13917, 2355, 16, 498, 16, 2191, 7957, 16, 1982, 16, 1478, 16, 333, 653, 16, 14046, 10237, 15787, 12269, 3606, 16, 1191, 3386, 1769, 202, 202, 97, 469, 309, 12, 4165, 18, 291, 7465, 9121, 10756, 288, 1082, 202, 3782, 273, 1103, 18, 10686, 1318, 18, 6540, 1503, 12, 2211, 653, 16, 1982, 18, 588, 7465, 559, 9334, 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, 8065, 1253, 1086, 2277, 12, 1227, 2277, 9113, 16, 509, 13917, 2355, 16, 2445, 653, 498, 16, 10688, 2191, 7957, 16, 1875, 202, 2277, 1982, 16, 13124, 1503, 1478, 16, 478, 2842, 278, 3098, 333, 653, 16, 1250, 14046, 10237, 15787, 12269, 3606, 16, 1250, 1191, 3386, 13, 225, 202, 15069, 6912, 13047, 16, 8065, 503, 16, 13124, 14389, 16, 13124, 15057, 503, 288, 9506, 202, 430, 12, 4165, 18, 291, 5784, 9121, 10756, 288, 1082, 202, 780, 508, 31, 1082, 202, 430, 12, 3901, 7957, 18, 291, 1921, 10756, 9506, 202, 529, 273, 446, 31, 1082, 202, 12107, 9506, 202, 529, 273, 261, 780, 13, 2191, 7957, 18, 4479, 3759, 5621, 1082, 202, 759, 7897, 2 ]
System.err.println("New sum of residuals squared : "+sum);
if (m_debug) { System.err.println("Sum of squared residuals " +"(predicting the mean) : "+sum); }
public void buildClassifier(Instances data) throws Exception { m_additiveModels = new FastVector(); if (m_Classifier == null) { throw new Exception("No base classifiers have been set!"); } if (data.classAttribute().isNominal()) { throw new Exception("Class must be numeric!"); } Instances newData = new Instances(data); newData.deleteWithMissingClass(); m_classIndex = newData.classIndex(); double sum = 0; double temp_sum = 0; // Add the model for the mean first ZeroR zr = new ZeroR(); zr.buildClassifier(newData); m_additiveModels.addElement(zr); newData = residualReplace(newData, zr); sum = newData.attributeStats(m_classIndex).numericStats.sumSq; System.err.println("New sum of residuals squared : "+sum); do { temp_sum = sum; Classifier nextC = Classifier.makeCopies(m_Classifier, 1)[0]; nextC.buildClassifier(newData); m_additiveModels.addElement(nextC); newData = residualReplace(newData, nextC); sum = newData.attributeStats(m_classIndex).numericStats.sumSq; System.err.println("sum of residuals squared : "+sum); } while ((temp_sum - (sum = newData.attributeStats(m_classIndex). numericStats.sumSq)) > Utils.SMALL); // remove last classifier m_additiveModels.removeElementAt(m_additiveModels.size()-1); }
4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/e6690c3e29ee5280c99ba1879b0466f2c83a39c6/AdditiveRegression.java/buggy/trunk/weka/classifiers/meta/AdditiveRegression.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1361, 13860, 12, 5361, 501, 13, 1216, 1185, 288, 377, 312, 67, 1289, 3720, 8430, 273, 394, 9545, 5018, 5621, 565, 309, 261, 81, 67, 13860, 422, 446, 13, 288, 1377, 604, 394, 1185, 2932, 2279, 1026, 667, 3383, 1240, 2118, 444, 4442, 1769, 565, 289, 565, 309, 261, 892, 18, 1106, 1499, 7675, 291, 26685, 1490, 10756, 288, 1377, 604, 394, 1185, 2932, 797, 1297, 506, 6389, 4442, 1769, 565, 289, 565, 18357, 16026, 273, 394, 18357, 12, 892, 1769, 565, 16026, 18, 3733, 1190, 4841, 797, 5621, 565, 312, 67, 1106, 1016, 273, 16026, 18, 1106, 1016, 5621, 565, 1645, 2142, 273, 374, 31, 565, 1645, 1906, 67, 1364, 273, 374, 31, 565, 368, 1436, 326, 938, 364, 326, 3722, 1122, 565, 12744, 54, 998, 86, 273, 394, 12744, 54, 5621, 565, 998, 86, 18, 3510, 13860, 12, 2704, 751, 1769, 565, 312, 67, 1289, 3720, 8430, 18, 1289, 1046, 12, 94, 86, 1769, 565, 16026, 273, 20690, 5729, 12, 2704, 751, 16, 998, 86, 1769, 565, 2142, 273, 16026, 18, 4589, 4195, 12, 81, 67, 1106, 1016, 2934, 5246, 4195, 18, 1364, 19643, 31, 565, 309, 261, 81, 67, 4148, 13, 288, 2332, 18, 370, 18, 8222, 2932, 3495, 434, 21778, 29252, 315, 397, 6, 12, 14491, 310, 326, 3722, 13, 294, 13773, 1364, 1769, 289, 565, 741, 288, 1377, 1906, 67, 1364, 273, 2142, 31, 1377, 1659, 1251, 1024, 39, 273, 1659, 1251, 18, 6540, 15670, 12, 81, 67, 13860, 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, 1361, 13860, 12, 5361, 501, 13, 1216, 1185, 288, 377, 312, 67, 1289, 3720, 8430, 273, 394, 9545, 5018, 5621, 565, 309, 261, 81, 67, 13860, 422, 446, 13, 288, 1377, 604, 394, 1185, 2932, 2279, 1026, 667, 3383, 1240, 2118, 444, 4442, 1769, 565, 289, 565, 309, 261, 892, 18, 1106, 1499, 7675, 291, 26685, 1490, 10756, 288, 1377, 604, 394, 1185, 2932, 797, 1297, 506, 6389, 4442, 1769, 565, 289, 565, 18357, 16026, 273, 394, 18357, 12, 892, 1769, 565, 16026, 18, 3733, 1190, 4841, 797, 5621, 565, 312, 67, 1106, 1016, 273, 16026, 18, 1106, 1016, 5621, 565, 1645, 2142, 273, 374, 31, 565, 1645, 1906, 67, 1364, 273, 374, 31, 565, 368, 2 ]
JInternalFrame w = (JInternalFrame)fileWindows.get(value); if (w != null) { try { w.show(); w.setSelected(true); } catch (Exception exc) { } }
swingGui.showFileWindow(value, -1);
public void actionPerformed(ActionEvent e) { String cmd = e.getActionCommand(); if (cmd.equals("Cancel")) { setVisible(false); value = null; } else if (cmd.equals("Select")) { value = (String)list.getSelectedValue(); setVisible(false); JInternalFrame w = (JInternalFrame)fileWindows.get(value); if (w != null) { try { w.show(); w.setSelected(true); } catch (Exception exc) { } } } }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/6d3fa8c797c9e1e6b515ec210130e233da92913d/SwingGui.java/clean/toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 514, 1797, 273, 425, 18, 588, 1803, 2189, 5621, 3639, 309, 261, 4172, 18, 14963, 2932, 6691, 6, 3719, 288, 5411, 16697, 12, 5743, 1769, 5411, 460, 273, 446, 31, 3639, 289, 469, 309, 261, 4172, 18, 14963, 2932, 3391, 6, 3719, 288, 5411, 460, 273, 261, 780, 13, 1098, 18, 588, 7416, 620, 5621, 5411, 16697, 12, 5743, 1769, 5411, 804, 3061, 3219, 341, 273, 261, 46, 3061, 3219, 13, 768, 10399, 18, 588, 12, 1132, 1769, 5411, 309, 261, 91, 480, 446, 13, 288, 7734, 775, 288, 10792, 341, 18, 4500, 5621, 10792, 341, 18, 542, 7416, 12, 3767, 1769, 7734, 289, 1044, 261, 503, 3533, 13, 288, 7734, 289, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 514, 1797, 273, 425, 18, 588, 1803, 2189, 5621, 3639, 309, 261, 4172, 18, 14963, 2932, 6691, 6, 3719, 288, 5411, 16697, 12, 5743, 1769, 5411, 460, 273, 446, 31, 3639, 289, 469, 309, 261, 4172, 18, 14963, 2932, 3391, 6, 3719, 288, 5411, 460, 273, 261, 780, 13, 1098, 18, 588, 7416, 620, 5621, 5411, 16697, 12, 5743, 1769, 5411, 804, 3061, 3219, 341, 273, 261, 46, 3061, 3219, 13, 768, 10399, 18, 588, 12, 1132, 1769, 5411, 309, 261, 91, 480, 446, 13, 288, 7734, 775, 288, 10792, 341, 18, 4500, 5621, 10792, 341, 18, 542, 7416, 12, 3767, 1769, 7734, 289, 1044, 261, 503, 3533, 2 ]
int len = str.length();
public void writeChars(String str) { closeTag(); int len = str.length(); for (int i = 0; i < len; i++) writeChar(str.charAt(i)); prev = '-'; }
40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/0c78a8de94114e04a221fd41b5ad01c46e877ba1/XMLPrinter.java/buggy/gnu/xml/XMLPrinter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1045, 7803, 12, 780, 609, 13, 225, 288, 565, 30798, 5621, 4202, 364, 261, 474, 277, 273, 374, 31, 225, 277, 411, 562, 31, 225, 277, 27245, 1377, 1045, 2156, 12, 701, 18, 3001, 861, 12, 77, 10019, 565, 2807, 273, 4014, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1045, 7803, 12, 780, 609, 13, 225, 288, 565, 30798, 5621, 4202, 364, 261, 474, 277, 273, 374, 31, 225, 277, 411, 562, 31, 225, 277, 27245, 1377, 1045, 2156, 12, 701, 18, 3001, 861, 12, 77, 10019, 565, 2807, 273, 4014, 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 ]
BridgeContext ctx = new BridgeContext(userAgent);
protected void transcode(Document document, String uri, TranscoderOutput output) throws TranscoderException { if (!(document instanceof SVGOMDocument)) { throw new TranscoderException( Messages.formatMessage("notsvg", null)); } SVGDocument svgDoc = (SVGDocument)document; // set the alternate stylesheet if any if (hints.containsKey(KEY_ALTERNATE_STYLESHEET)) { String stylesheetName = (String)hints.get(KEY_ALTERNATE_STYLESHEET); ((SVGOMDocument)svgDoc).enableAlternateStyleSheet(stylesheetName); } SVGSVGElement root = svgDoc.getRootElement(); // initialize the SVG document with the appropriate context DefaultSVGContext svgCtx = new DefaultSVGContext(); svgCtx.setPixelToMM(userAgent.getPixelToMM()); ((SVGOMDocument)document).setSVGContext(svgCtx); // build the GVT tree GVTBuilder builder = new GVTBuilder(); ImageRendererFactory rendFactory = new ConcreteImageRendererFactory(); BridgeContext ctx = new BridgeContext(userAgent); // flag that indicates if the document is dynamic boolean isDynamic = (hints.containsKey(KEY_EXECUTE_ONLOAD) && ((Boolean)hints.get(KEY_EXECUTE_ONLOAD)).booleanValue() && BaseScriptingEnvironment.isDynamicDocument(svgDoc)); ctx.setDynamic(isDynamic); GraphicsNode gvtRoot; try { gvtRoot = builder.build(ctx, svgDoc); // dispatch an 'onload' event if needed if (ctx.isDynamic()) { BaseScriptingEnvironment se = new BaseScriptingEnvironment(ctx); se.loadScripts(); se.dispatchSVGLoadEvent(); } } catch (BridgeException ex) { throw new TranscoderException(ex); } // get the 'width' and 'height' attributes of the SVG document float docWidth = (float)ctx.getDocumentSize().getWidth(); float docHeight = (float)ctx.getDocumentSize().getHeight(); ctx = null; builder = null; // compute the image's width and height according the hints float imgWidth = -1; if (hints.containsKey(KEY_WIDTH)) { imgWidth = ((Float)hints.get(KEY_WIDTH)).floatValue(); } float imgHeight = -1; if (hints.containsKey(KEY_HEIGHT)) { imgHeight = ((Float)hints.get(KEY_HEIGHT)).floatValue(); } float width, height; if (imgWidth > 0 && imgHeight > 0) { width = imgWidth; height = imgHeight; } else if (imgHeight > 0) { width = (docWidth * imgHeight) / docHeight; height = imgHeight; } else if (imgWidth > 0) { width = imgWidth; height = (docHeight * imgWidth) / docWidth; } else { width = docWidth; height = docHeight; } // compute the preserveAspectRatio matrix AffineTransform Px; String ref = null; try { ref = new URL(uri).getRef(); } catch (MalformedURLException ex) { // nothing to do, catched previously } try { Px = ViewBox.getViewTransform(ref, root, width, height); } catch (BridgeException ex) { throw new TranscoderException(ex); } if (Px.isIdentity() && (width != docWidth || height != docHeight)) { // The document has no viewBox, we need to resize it by hand. // we want to keep the document size ratio float d = Math.max(docWidth, docHeight); float dd = Math.max(width, height); float scale = dd/d; Px = AffineTransform.getScaleInstance(scale, scale); } // take the AOI into account if any if (hints.containsKey(KEY_AOI)) { Rectangle2D aoi = (Rectangle2D)hints.get(KEY_AOI); // transform the AOI into the image's coordinate system aoi = Px.createTransformedShape(aoi).getBounds2D(); AffineTransform Mx = new AffineTransform(); double sx = width / aoi.getWidth(); double sy = height / aoi.getHeight(); Mx.scale(sx, sy); double tx = -aoi.getX(); double ty = -aoi.getY(); Mx.translate(tx, ty); // take the AOI transformation matrix into account // we apply first the preserveAspectRatio matrix Px.preConcatenate(Mx); } // prepare the image to be painted int w = (int)(width+0.5); int h = (int)(height+0.5); // paint the SVG document using the bridge package // create the appropriate renderer ImageRenderer renderer = rendFactory.createStaticImageRenderer(); renderer.updateOffScreen(w, h); renderer.setTransform(Px); renderer.setTree(gvtRoot); gvtRoot = null; // We're done with it... try { // now we are sure that the aoi is the image size Shape raoi = new Rectangle2D.Float(0, 0, width, height); // Warning: the renderer's AOI must be in user space renderer.repaint(Px.createInverse().createTransformedShape(raoi)); BufferedImage rend = renderer.getOffScreen(); renderer = null; // We're done with it... BufferedImage dest = createImage(w, h); Graphics2D g2d = GraphicsUtil.createGraphics(dest); if (hints.containsKey(KEY_BACKGROUND_COLOR)) { Paint bgcolor = (Paint)hints.get(KEY_BACKGROUND_COLOR); g2d.setComposite(AlphaComposite.SrcOver); g2d.setPaint(bgcolor); g2d.fillRect(0, 0, w, h); } if (rend != null) { // might be null if the svg document is empty g2d.drawRenderedImage(rend, new AffineTransform()); } g2d.dispose(); rend = null; // We're done with it... writeImage(dest, output); } catch (Exception ex) { throw new TranscoderException(ex); } }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/0e8fac772791a058755ef5ad1de71c14544b11bb/ImageTranscoder.java/clean/sources/org/apache/batik/transcoder/image/ImageTranscoder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 906, 710, 12, 2519, 1668, 16, 11794, 514, 2003, 16, 11794, 2604, 3396, 1447, 876, 13, 5411, 1216, 2604, 3396, 503, 288, 3639, 309, 16051, 12, 5457, 1276, 11281, 1872, 2519, 3719, 288, 5411, 604, 394, 2604, 3396, 503, 12, 7734, 4838, 18, 2139, 1079, 2932, 902, 11451, 3113, 446, 10019, 3639, 289, 202, 3639, 11281, 2519, 9804, 1759, 273, 261, 26531, 2519, 13, 5457, 31, 202, 759, 444, 326, 12184, 13820, 309, 1281, 3639, 309, 261, 24598, 18, 12298, 653, 12, 3297, 67, 1013, 6519, 1777, 67, 15066, 2664, 41, 1584, 3719, 288, 5411, 514, 13820, 461, 273, 261, 780, 13, 24598, 18, 588, 12, 3297, 67, 1013, 6519, 1777, 67, 15066, 2664, 41, 1584, 1769, 202, 565, 14015, 26531, 1872, 2519, 13, 11451, 1759, 2934, 7589, 25265, 2885, 8229, 12, 19403, 461, 1769, 3639, 289, 3639, 11281, 26531, 1046, 1365, 273, 9804, 1759, 18, 588, 2375, 1046, 5621, 3639, 368, 4046, 326, 11281, 1668, 598, 326, 5505, 819, 3639, 2989, 26531, 1042, 9804, 6442, 273, 394, 2989, 26531, 1042, 5621, 3639, 9804, 6442, 18, 542, 9037, 774, 8206, 12, 30840, 18, 588, 9037, 774, 8206, 10663, 3639, 14015, 26531, 1872, 2519, 13, 5457, 2934, 542, 26531, 1042, 12, 11451, 6442, 1769, 3639, 368, 1361, 326, 611, 58, 56, 2151, 3639, 611, 58, 56, 1263, 2089, 273, 394, 611, 58, 56, 1263, 5621, 3639, 3421, 6747, 1733, 1654, 72, 1733, 273, 394, 735, 6883, 2040, 6747, 1733, 5621, 9079, 368, 2982, 716, 8527, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 906, 710, 12, 2519, 1668, 16, 11794, 514, 2003, 16, 11794, 2604, 3396, 1447, 876, 13, 5411, 1216, 2604, 3396, 503, 288, 3639, 309, 16051, 12, 5457, 1276, 11281, 1872, 2519, 3719, 288, 5411, 604, 394, 2604, 3396, 503, 12, 7734, 4838, 18, 2139, 1079, 2932, 902, 11451, 3113, 446, 10019, 3639, 289, 202, 3639, 11281, 2519, 9804, 1759, 273, 261, 26531, 2519, 13, 5457, 31, 202, 759, 444, 326, 12184, 13820, 309, 1281, 3639, 309, 261, 24598, 18, 12298, 653, 12, 3297, 67, 1013, 6519, 1777, 67, 15066, 2664, 41, 1584, 3719, 288, 5411, 514, 13820, 461, 273, 261, 780, 13, 24598, 18, 588, 12, 3297, 67, 1013, 6519, 1777, 67, 15066, 2664, 41, 1584, 2 ]
assertEquals(3, names.length);
assertEquals(4, names.length);
public void testFunction() throws Exception { StringBuffer code = new StringBuffer(); code.append("void func(int x) { }"); code.append("void func2() { fu"); // C++ ASTCompletionNode node = getGPPCompletionNode(code.toString()); IASTName[] names = node.getNames(); // There are three names, one as an expression, one that isn't connected, one as a declaration assertEquals(3, names.length); // The expression points to our functions IBinding[] bindings = names[0].resolvePrefix(); // There should be two since they both start with fu assertEquals(2, bindings.length); assertEquals("func", ((IFunction)bindings[0]).getName()); assertEquals("func2", ((IFunction)bindings[1]).getName()); // The second name shouldn't be hooked up assertNull(names[1].getTranslationUnit()); // The declaration should point to nothing since there are no types bindings = names[2].resolvePrefix(); assertEquals(0, bindings.length); // C node = getGCCCompletionNode(code.toString()); names = node.getNames(); // There are two names, one as an expression, one as a declaration assertEquals(2, names.length); // The expression points to our functions bindings = sortBindings(names[0].resolvePrefix()); // There should be two since they both start with fu assertEquals(2, bindings.length); assertEquals("func", ((IFunction)bindings[0]).getName()); assertEquals("func2", ((IFunction)bindings[1]).getName()); // The declaration should point to nothing since there are no types bindings = names[1].resolvePrefix(); assertEquals(0, bindings.length); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/78f1bf90544259bc8541128f8a50137b3f49f862/BasicCompletionTest.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/prefix/BasicCompletionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 2083, 1435, 1216, 1185, 288, 202, 202, 780, 1892, 981, 273, 394, 6674, 5621, 202, 202, 710, 18, 6923, 2932, 6459, 1326, 12, 474, 619, 13, 288, 289, 8863, 202, 202, 710, 18, 6923, 2932, 6459, 1326, 22, 1435, 288, 284, 89, 8863, 9506, 202, 759, 385, 9904, 202, 202, 9053, 11238, 907, 756, 273, 7162, 6584, 11238, 907, 12, 710, 18, 10492, 10663, 202, 202, 45, 9053, 461, 8526, 1257, 273, 756, 18, 588, 1557, 5621, 202, 202, 759, 6149, 854, 8925, 1257, 16, 1245, 487, 392, 2652, 16, 1245, 716, 5177, 1404, 5840, 16, 1245, 487, 279, 8266, 202, 202, 11231, 8867, 12, 23, 16, 1257, 18, 2469, 1769, 202, 202, 759, 1021, 2652, 3143, 358, 3134, 4186, 202, 202, 45, 5250, 8526, 7394, 273, 1257, 63, 20, 8009, 10828, 2244, 5621, 202, 202, 759, 6149, 1410, 506, 2795, 3241, 2898, 3937, 787, 598, 284, 89, 202, 202, 11231, 8867, 12, 22, 16, 7394, 18, 2469, 1769, 202, 202, 11231, 8867, 2932, 644, 3113, 14015, 45, 2083, 13, 15863, 63, 20, 65, 2934, 17994, 10663, 202, 202, 11231, 8867, 2932, 644, 22, 3113, 14015, 45, 2083, 13, 15863, 63, 21, 65, 2934, 17994, 10663, 202, 202, 759, 1021, 2205, 508, 12044, 1404, 506, 3953, 329, 731, 202, 202, 11231, 2041, 12, 1973, 63, 21, 8009, 588, 6717, 2802, 10663, 202, 202, 759, 1021, 8266, 1410, 1634, 358, 5083, 3241, 1915, 854, 1158, 1953, 202, 202, 15863, 273, 1257, 63, 22, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 2083, 1435, 1216, 1185, 288, 202, 202, 780, 1892, 981, 273, 394, 6674, 5621, 202, 202, 710, 18, 6923, 2932, 6459, 1326, 12, 474, 619, 13, 288, 289, 8863, 202, 202, 710, 18, 6923, 2932, 6459, 1326, 22, 1435, 288, 284, 89, 8863, 9506, 202, 759, 385, 9904, 202, 202, 9053, 11238, 907, 756, 273, 7162, 6584, 11238, 907, 12, 710, 18, 10492, 10663, 202, 202, 45, 9053, 461, 8526, 1257, 273, 756, 18, 588, 1557, 5621, 202, 202, 759, 6149, 854, 8925, 1257, 16, 1245, 487, 392, 2652, 16, 1245, 716, 5177, 1404, 5840, 16, 1245, 487, 279, 8266, 202, 202, 11231, 8867, 12, 23, 16, 1257, 18, 2469, 1769, 202, 202, 759, 2 ]
try { setValue((String) evalAttr("value", getValueExpr(), String.class)); } catch (NullAttributeException ex) { }
if ((string = EvalHelper.evalString("titleKey", getTitleKeyExpr(), this, pageContext)) != null) setTitleKey(string);
private void evaluateExpressions() throws JspException { try { setAlt((String) evalAttr("alt", getAltExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAltKey((String) evalAttr("altKey", getAltKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setName((String) evalAttr("name", getNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitle((String) evalAttr("title", getTitleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitleKey((String) evalAttr("titleKey", getTitleKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setValue((String) evalAttr("value", getValueExpr(), String.class)); } catch (NullAttributeException ex) { } try { setWrite(((Boolean) evalAttr("write", getWriteExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/022bd23c954cf673e53731849d562b3c295473f1/ELHiddenTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELHiddenTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 15034, 12443, 12, 5507, 13, 5302, 3843, 2932, 19626, 3113, 8088, 329, 4742, 9334, 4766, 6647, 3411, 18, 1106, 13, 2934, 15604, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 6788, 12443, 780, 13, 5302, 3843, 2932, 529, 3113, 1723, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 7486, 12443, 780, 13, 5302, 3843, 2932, 4468, 3113, 3911, 4742, 9334, 4766, 1850, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 14109, 12443, 780, 13, 5302, 3843, 2932, 2649, 3113, 10786, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 14109, 653, 12443, 780, 13, 5302, 3843, 2932, 2649, 653, 3113, 10786, 653, 4742, 9334, 4766, 1850, 514, 18, 1106, 10019, 3639, 289, 1044, 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, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 15034, 12443, 12, 5507, 13, 5302, 3843, 2932, 19626, 3113, 8088, 329, 4742, 9334, 4766, 6647, 3411, 18, 1106, 13, 2934, 15604, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 2 ]
System.out.println("First time: "+ pi.toString()); inputInfoMap.put(name, pi); }
inputInfoMap.put(name, pi); }
public uk.ac.soton.itinnovation.mygrid.workflow.enactor.core.eventservice.TaskStateMessage doTask() { try { uk.ac.soton.itinnovation.mygrid.workflow.enactor.core.eventservice.TaskStateMessage result; //do any pre-processing here // Check all the inputs, find any cardinality mismatches. Map inputInfoMap = new HashMap(); GraphNode[] inputs = getParents(); System.out.println("Number of inputs: "+ inputs.length); for (int i = 0; i < inputs.length; i++) { if (inputs[i] instanceof PortTask) { PortTask pt = (PortTask)inputs[i]; Part p = pt.getData(); String name = p.getName(); Object value = p.getTypedValue(); System.out.println("PortTask Part name: " + name); System.out.println("PortTask Part type: "+ p.getType()); System.out.println("PortTask Part actualType: " + p.getTypedValue().getClass()); PartInfo pi = new PartInfo(p); System.out.println("First time: "+ pi.toString()); inputInfoMap.put(name, pi); } } // Get the output PortTask objects Map outputPortTaskMap = new HashMap(); GraphNode[] outputs = getChildren(); for (int i = 0; i < outputs.length; i++) { if (outputs[i] instanceof PortTask) { PortTask pt = (PortTask)outputs[i]; outputPortTaskMap.put(pt.getScuflPort().getName(),pt); } } InputSet is = new InputSet(); // This is the interesting bit, we need to build a list of // map objects where each map contains the set of named // inputs for a single invocation of the processor. We then // iterate over this list, configuring each instance of the // processor invocation, collecting the results into a similar // output map list. After all the invocations have completed // the ouput map list is used to populate the output port tasks // with the (potentially higher dimension) overall outputs. //... TODO - ADD PART ARRAYS TO INPUT SET HERE // Completely naive implementation that just puts the parts in as they // are without attempting to do any iteration at all for (Iterator i = inputInfoMap.keySet().iterator(); i.hasNext(); ) { PartInfo pi = (PartInfo)inputInfoMap.get(i.next()); int dim = pi.getDimension(); if(dim==0) is.addSinglePart(pi.getPart()); else if (dim>0){ //at present only support single dimension String Arrays //if this is a String Array and the associated input is a String //(distinguished by port syntactic type) //then want to iterate Part part = pi.getPart(); Port port = proc.locatePort(part.getName()); if(part.getType().equals("string[]") && port.getSyntacticType().equals("string")) { String[] strings = (String[]) part.getTypedValue(); Part[] prts = new Part[strings.length]; for(int x=0;x<strings.length;x++) { Part prt = new Part(-1,part.getName(),"string",strings[x]); System.out.println("Type of element:" + strings[x].getClass()); prts[x] = prt; } is.addOrthogonalArray(prts); } } else return new TaskStateMessage(getParentFlow().getID(), getID(), TaskStateMessage.FAILED,"Unsupported array type needed"); } List inputList = is.getCurrentState(); List outputList = new ArrayList(); // Iterate over all the maps in the input list for (int i = 0; i < inputList.size(); i++) { Map inputMap = (Map)inputList.get(i); // Invoke with the appropriate input map // Put result parts in the output map. Map outputMap = execute(inputMap); outputList.add(outputMap); } if(inputList.size()==0) { outputList.add(execute(new HashMap())); //for the exceptional case of no input parameters } // Check whether there was any iteration if (outputList.size() == 1) { Map outputMap = (Map)outputList.get(0); for (Iterator i = outputMap.keySet().iterator(); i.hasNext(); ) { Part p = (Part)outputMap.get(i.next()); // TODO - put parts in the appropriate port tasks for output PortTask pt = (PortTask)outputPortTaskMap.get(p.getName()); if(pt!=null) pt.setData(p); } } else { int outputSizes = outputList.size(); // Iterate over the different part names Map firstOutputRow = (Map)outputList.get(0); for (Iterator i = firstOutputRow.keySet().iterator(); i.hasNext(); ) { Part exemplarPart = (Part)firstOutputRow.get(i.next()); String partName = exemplarPart.getName(); // Add a '[]' to the part type String partType = exemplarPart.getType()+"[]"; // Assemble the actual data array by iterating over all // the rows Object[] partData = new Object[outputSizes]; for (int j = 0; j < outputSizes; j++) { // Populate the partData array from the data // in each output part. try { Map row = (Map)outputList.get(j); Part thePart = (Part)row.get(partName); Object data = thePart.getTypedValue(); partData[j] = data; } catch (Exception e) { // TODO - Return a fault code logger.error(e); return new TaskStateMessage(getParentFlow().getID(), getID(), TaskStateMessage.FAILED,"Unable to obtain part data"); } } // Now have an array populated with the appropriate data. // TODO - Create the Part object and put it into the appropriate output port task Part thePart = new Part(-1, partName, partType, partData); PortTask pt = (PortTask)outputPortTaskMap.get(thePart.getName()); if (pt!=null) { pt.setData(thePart); } } } return new TaskStateMessage(getParentFlow().getID(), getID(), TaskStateMessage.COMPLETE,"Task completed successfully"); //return result; } catch (TaskExecutionException ex) { logger.error(ex); return new TaskStateMessage(getParentFlow().getID(),getID(), TaskStateMessage.FAILED,ex.getMessage()); } catch (Exception ex){ ex.printStackTrace(); logger.error(ex); return new TaskStateMessage(getParentFlow().getID(), getID(), TaskStateMessage.FAILED, "Unrecognised dispatch failure for a task within the workflow."); } }
7616 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7616/ef27643ffd197e94670f0d1f447011b22d5ef47e/ProcessorTask.java/buggy/trunk/taverna1.0/src/uk/ac/soton/itinnovation/taverna/enactor/entities/ProcessorTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 27178, 18, 1077, 18, 87, 352, 265, 18, 305, 267, 82, 1527, 367, 18, 81, 4338, 1691, 18, 13815, 18, 275, 3362, 18, 3644, 18, 2575, 3278, 18, 2174, 1119, 1079, 741, 2174, 1435, 288, 202, 698, 288, 202, 565, 27178, 18, 1077, 18, 87, 352, 265, 18, 305, 267, 82, 1527, 367, 18, 81, 4338, 1691, 18, 13815, 18, 275, 3362, 18, 3644, 18, 2575, 3278, 18, 2174, 1119, 1079, 563, 31, 202, 565, 368, 2896, 1281, 675, 17, 10632, 2674, 202, 377, 202, 565, 368, 2073, 777, 326, 4540, 16, 1104, 1281, 14379, 7524, 8436, 18, 202, 565, 1635, 810, 966, 863, 273, 394, 4317, 5621, 202, 565, 5601, 907, 8526, 4540, 273, 5089, 87, 5621, 202, 565, 2332, 18, 659, 18, 8222, 2932, 1854, 434, 4540, 30, 13773, 4540, 18, 2469, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4540, 18, 2469, 31, 277, 27245, 288, 202, 202, 430, 261, 10029, 63, 77, 65, 1276, 6008, 2174, 13, 288, 1082, 565, 6008, 2174, 5818, 273, 261, 2617, 2174, 13, 10029, 63, 77, 15533, 1082, 565, 6393, 293, 273, 5818, 18, 588, 751, 5621, 9506, 202, 780, 508, 273, 293, 18, 17994, 5621, 1082, 565, 1033, 460, 273, 293, 18, 588, 11985, 620, 5621, 1082, 565, 2332, 18, 659, 18, 8222, 2932, 2617, 2174, 6393, 508, 30, 315, 397, 508, 1769, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 2617, 2174, 6393, 618, 30, 13773, 293, 18, 588, 559, 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, 27178, 18, 1077, 18, 87, 352, 265, 18, 305, 267, 82, 1527, 367, 18, 81, 4338, 1691, 18, 13815, 18, 275, 3362, 18, 3644, 18, 2575, 3278, 18, 2174, 1119, 1079, 741, 2174, 1435, 288, 202, 698, 288, 202, 565, 27178, 18, 1077, 18, 87, 352, 265, 18, 305, 267, 82, 1527, 367, 18, 81, 4338, 1691, 18, 13815, 18, 275, 3362, 18, 3644, 18, 2575, 3278, 18, 2174, 1119, 1079, 563, 31, 202, 565, 368, 2896, 1281, 675, 17, 10632, 2674, 202, 377, 202, 565, 368, 2073, 777, 326, 4540, 16, 1104, 1281, 14379, 7524, 8436, 18, 202, 565, 1635, 810, 966, 863, 273, 394, 4317, 5621, 202, 565, 5601, 907, 8526, 4540, 273, 5089, 87, 2 ]
public void paint(Context c, Box box) { //u.p("BoxLayout.paint " + box);//+box.getElement().getNodeName()+") " + block); BlockBox block = (BlockBox)box; // copy the bounds to we don't mess it up Rectangle oldBounds = new Rectangle(c.getExtents()); if (block.relative) { paintRelative(c,block); } else if (block.fixed) { paintFixed(c,block); } else { paintNormal(c,block); } //u.p("here it's : " + c.getListCounter()); if(isListItem(c,box)) { paintListItem(c,box); } // move the origin down to account for the contents plus the margin, borders, and padding oldBounds.y = oldBounds.y + block.height; c.setExtents(oldBounds); if(c.debugDrawBoxes()) { GraphicsUtil.drawBox(c.getGraphics(),block,Color.red); } }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/07ab625b03cad242caa27ac48e830592130b24a1/BoxLayout.java/buggy/src/java/org/joshy/html/BoxLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 84, 1598, 12, 1042, 71, 16, 3514, 2147, 15329, 759, 89, 18, 84, 2932, 3514, 3744, 18, 84, 1598, 6, 15, 2147, 1769, 759, 15, 2147, 18, 21336, 7675, 588, 18948, 1435, 9078, 2225, 15, 2629, 1769, 1768, 3514, 2629, 28657, 1768, 3514, 13, 2147, 31, 759, 3530, 5787, 3653, 334, 543, 329, 265, 1404, 81, 403, 305, 416, 19463, 1673, 5694, 33, 2704, 19463, 12, 71, 18, 588, 2482, 4877, 10663, 430, 12, 2629, 18, 11626, 15329, 84, 1598, 8574, 12, 71, 16, 2629, 1769, 97, 12107, 430, 12, 2629, 18, 12429, 15329, 84, 1598, 7505, 12, 71, 16, 2629, 1769, 97, 12107, 95, 84, 1598, 5506, 12, 71, 16, 2629, 1769, 97, 759, 89, 18, 84, 2932, 14852, 305, 1807, 2773, 15, 71, 18, 588, 682, 4789, 10663, 430, 12, 291, 13575, 12, 71, 16, 2147, 3719, 95, 84, 1598, 13575, 12, 71, 16, 2147, 1769, 97, 759, 81, 1527, 546, 73, 4949, 1700, 496, 83, 4631, 1884, 451, 31313, 4877, 412, 641, 76, 351, 5243, 16, 70, 9972, 16, 464, 9598, 1673, 5694, 18, 93, 33, 1673, 5694, 18, 93, 15, 2629, 18, 4210, 31, 71, 18, 542, 2482, 4877, 12, 1673, 5694, 1769, 430, 12, 71, 18, 4148, 6493, 29521, 10756, 95, 17558, 1304, 18, 9446, 3514, 12, 71, 18, 588, 17558, 9334, 2629, 16, 2957, 18, 1118, 1769, 9090, 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, 1071, 6459, 84, 1598, 12, 1042, 71, 16, 3514, 2147, 15329, 759, 89, 18, 84, 2932, 3514, 3744, 18, 84, 1598, 6, 15, 2147, 1769, 759, 15, 2147, 18, 21336, 7675, 588, 18948, 1435, 9078, 2225, 15, 2629, 1769, 1768, 3514, 2629, 28657, 1768, 3514, 13, 2147, 31, 759, 3530, 5787, 3653, 334, 543, 329, 265, 1404, 81, 403, 305, 416, 19463, 1673, 5694, 33, 2704, 19463, 12, 71, 18, 588, 2482, 4877, 10663, 430, 12, 2629, 18, 11626, 15329, 84, 1598, 8574, 12, 71, 16, 2629, 1769, 97, 12107, 430, 12, 2629, 18, 12429, 15329, 84, 1598, 7505, 12, 71, 16, 2629, 1769, 97, 12107, 95, 84, 1598, 5506, 12, 71, 16, 2629, 1769, 97, 759, 89, 18, 2 ]
case OPC_invokestatic :
case Opcodes.OPC_invokestatic :
final public void invoke(int opcode, int argsSize, int returnTypeSize, char[] declaringClass, char[] selector, char[] signature) { countLabels = 0; int argCount = argsSize; switch(opcode) { case OPC_invokeinterface : if (classFileOffset + 4 >= bCodeStream.length) { resizeByteArray(); } position +=3; bCodeStream[classFileOffset++] = OPC_invokeinterface; writeUnsignedShort(constantPool.literalIndexForMethod(declaringClass, selector, signature, true)); argCount++; bCodeStream[classFileOffset++] = (byte) argCount; bCodeStream[classFileOffset++] = 0; break; case OPC_invokevirtual : case OPC_invokespecial : if (classFileOffset + 2 >= bCodeStream.length) { resizeByteArray(); } position++; bCodeStream[classFileOffset++] = (byte) opcode; writeUnsignedShort(constantPool.literalIndexForMethod(declaringClass, selector, signature, false)); argCount++; break; case OPC_invokestatic : if (classFileOffset + 2 >= bCodeStream.length) { resizeByteArray(); } position++; bCodeStream[classFileOffset++] = OPC_invokestatic; writeUnsignedShort(constantPool.literalIndexForMethod(declaringClass, selector, signature, false)); } stackDepth += returnTypeSize - argCount; if (stackDepth > stackMax) { stackMax = stackDepth; }}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/5a485cb39d1ee33622141cf426fac71c4bf93ded/CodeStream.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 727, 1071, 918, 4356, 12, 474, 11396, 16, 509, 833, 1225, 16, 509, 9424, 1225, 16, 1149, 8526, 3496, 14682, 16, 1149, 8526, 3451, 16, 1149, 8526, 3372, 13, 288, 202, 1883, 5888, 273, 374, 31, 202, 474, 1501, 1380, 273, 833, 1225, 31, 202, 9610, 12, 556, 710, 13, 288, 202, 202, 3593, 531, 3513, 67, 14407, 5831, 294, 1082, 202, 430, 261, 1106, 812, 2335, 397, 1059, 1545, 324, 1085, 1228, 18, 2469, 13, 288, 9506, 202, 15169, 8826, 5621, 1082, 202, 97, 1082, 202, 3276, 1011, 23, 31, 1082, 202, 70, 1085, 1228, 63, 1106, 812, 2335, 9904, 65, 273, 531, 3513, 67, 14407, 5831, 31, 1082, 202, 2626, 13290, 4897, 12, 14384, 2864, 18, 13107, 1016, 1290, 1305, 12, 8840, 14682, 16, 3451, 16, 3372, 16, 638, 10019, 1082, 202, 3175, 1380, 9904, 31, 1082, 202, 70, 1085, 1228, 63, 1106, 812, 2335, 9904, 65, 273, 261, 7229, 13, 1501, 1380, 31, 1082, 202, 70, 1085, 1228, 63, 1106, 812, 2335, 9904, 65, 273, 374, 31, 1082, 202, 8820, 31, 202, 202, 3593, 531, 3513, 67, 14407, 12384, 294, 202, 202, 3593, 531, 3513, 67, 5768, 601, 281, 705, 649, 294, 1082, 202, 430, 261, 1106, 812, 2335, 397, 576, 1545, 324, 1085, 1228, 18, 2469, 13, 288, 9506, 202, 15169, 8826, 5621, 1082, 202, 97, 1082, 202, 3276, 9904, 31, 1082, 202, 70, 1085, 1228, 63, 1106, 812, 2335, 9904, 65, 273, 261, 7229, 13, 11396, 31, 1082, 202, 2626, 13290, 4897, 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, 727, 1071, 918, 4356, 12, 474, 11396, 16, 509, 833, 1225, 16, 509, 9424, 1225, 16, 1149, 8526, 3496, 14682, 16, 1149, 8526, 3451, 16, 1149, 8526, 3372, 13, 288, 202, 1883, 5888, 273, 374, 31, 202, 474, 1501, 1380, 273, 833, 1225, 31, 202, 9610, 12, 556, 710, 13, 288, 202, 202, 3593, 531, 3513, 67, 14407, 5831, 294, 1082, 202, 430, 261, 1106, 812, 2335, 397, 1059, 1545, 324, 1085, 1228, 18, 2469, 13, 288, 9506, 202, 15169, 8826, 5621, 1082, 202, 97, 1082, 202, 3276, 1011, 23, 31, 1082, 202, 70, 1085, 1228, 63, 1106, 812, 2335, 9904, 65, 273, 531, 3513, 67, 14407, 5831, 31, 1082, 202, 2626, 13290, 4897, 12, 14384, 2864, 18, 13107, 2 ]
public void encode(Tag implicitTag, OutputStream ostream) throws IOException { if( bits.length > 0 ) { bits[bits.length-1] &= (0xff << padCount); } int padBits; int numBytes; if( removeTrailingZeroes ) { numBytes = bits.length; for( ; numBytes > 0; --numBytes) { if( bits[numBytes-1] != 0 ) { break; } } if( numBytes == 0 ) { padBits = 0; } else { for( padBits=0; padBits < 8; ++padBits ) { if( (bits[numBytes-1] & (1 << padBits)) != 0 ) { break; } } Assert._assert(padBits >=0 && padBits <= 7); } } else { padBits = padCount; numBytes = bits.length; } ASN1Header head = new ASN1Header(implicitTag, FORM, numBytes+1); head.encode(ostream); ostream.write(padBits); ostream.write(bits, 0, numBytes);
public void encode(OutputStream ostream) throws IOException { encode(TAG, ostream);
public void encode(Tag implicitTag, OutputStream ostream) throws IOException { // force all unused bits to be zero, in support of DER standard. if( bits.length > 0 ) { bits[bits.length-1] &= (0xff << padCount); } int padBits; int numBytes; if( removeTrailingZeroes ) { // first pare off empty bytes numBytes = bits.length; for( ; numBytes > 0; --numBytes) { if( bits[numBytes-1] != 0 ) { break; } } // Now compute the number of unused bits. This includes any // trailing zeroes, whether they are significant or not. if( numBytes == 0 ) { padBits = 0; } else { for( padBits=0; padBits < 8; ++padBits ) { if( (bits[numBytes-1] & (1 << padBits)) != 0 ) { break; } } Assert._assert(padBits >=0 && padBits <= 7); } } else { // Don't remove trailing zeroes. Just write the bits out as-is. padBits = padCount; numBytes = bits.length; } ASN1Header head = new ASN1Header(implicitTag, FORM, numBytes+1); head.encode(ostream); ostream.write(padBits); ostream.write(bits, 0, numBytes); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/2cdff0bb4fc744fc5316a589a4ef7a2007c38a64/BIT_STRING.java/buggy/security/jss/org/mozilla/jss/asn1/BIT_STRING.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2017, 12, 1805, 10592, 1805, 16, 8962, 320, 3256, 13, 3639, 1216, 1860, 565, 288, 3639, 368, 2944, 777, 10197, 4125, 358, 506, 3634, 16, 316, 2865, 434, 21801, 4529, 18, 3639, 309, 12, 4125, 18, 2469, 405, 374, 262, 288, 5411, 4125, 63, 6789, 18, 2469, 17, 21, 65, 12058, 261, 20, 5297, 2296, 4627, 1380, 1769, 3639, 289, 3639, 509, 4627, 6495, 31, 3639, 509, 18633, 31, 3639, 309, 12, 1206, 16808, 7170, 281, 262, 288, 5411, 368, 1122, 293, 834, 3397, 1008, 1731, 5411, 18633, 273, 4125, 18, 2469, 31, 5411, 364, 12, 274, 18633, 405, 374, 31, 1493, 2107, 2160, 13, 288, 7734, 309, 12, 4125, 63, 2107, 2160, 17, 21, 65, 480, 374, 262, 288, 10792, 898, 31, 7734, 289, 5411, 289, 5411, 368, 4494, 3671, 326, 1300, 434, 10197, 4125, 18, 1220, 6104, 1281, 5411, 368, 7341, 3634, 281, 16, 2856, 2898, 854, 14177, 578, 486, 18, 5411, 309, 12, 18633, 422, 374, 262, 288, 7734, 4627, 6495, 273, 374, 31, 5411, 289, 469, 288, 7734, 364, 12, 4627, 6495, 33, 20, 31, 4627, 6495, 411, 1725, 31, 965, 6982, 6495, 262, 288, 10792, 309, 12, 261, 6789, 63, 2107, 2160, 17, 21, 65, 473, 261, 21, 2296, 4627, 6495, 3719, 480, 374, 262, 288, 13491, 898, 31, 10792, 289, 7734, 289, 7734, 5452, 6315, 11231, 12, 6982, 6495, 1545, 20, 597, 4627, 6495, 1648, 2371, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 368, 7615, 1404, 1206, 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, 2017, 12, 1805, 10592, 1805, 16, 8962, 320, 3256, 13, 3639, 1216, 1860, 565, 288, 3639, 368, 2944, 777, 10197, 4125, 358, 506, 3634, 16, 316, 2865, 434, 21801, 4529, 18, 3639, 309, 12, 4125, 18, 2469, 405, 374, 262, 288, 5411, 4125, 63, 6789, 18, 2469, 17, 21, 65, 12058, 261, 20, 5297, 2296, 4627, 1380, 1769, 3639, 289, 3639, 509, 4627, 6495, 31, 3639, 509, 18633, 31, 3639, 309, 12, 1206, 16808, 7170, 281, 262, 288, 5411, 368, 1122, 293, 834, 3397, 1008, 1731, 5411, 18633, 273, 4125, 18, 2469, 31, 5411, 364, 12, 274, 18633, 405, 374, 31, 1493, 2107, 2160, 13, 288, 7734, 309, 12, 4125, 63, 2107, 2160, 17, 21, 65, 2 ]
IdeEventQueue.getInstance().flushQueue();
public void startBlocking() { ApplicationManager.getApplication().assertIsDispatchThread(); LOG.assertTrue(!isRunning()); LOG.assertTrue(!myStoppedAlready); enterModality(); IdeEventQueue.getInstance().flushQueue(); IdeEventQueue.getInstance().pumpEventsForHierarchy(myDialog.myPanel, new Condition<AWTEvent>() { public boolean value(final AWTEvent object) { if (myShouldShowCancel && object instanceof KeyEvent && object.getID() == KeyEvent.KEY_PRESSED && ((KeyEvent)object).getKeyCode() == KeyEvent.VK_ESCAPE && ((KeyEvent)object).getModifiers() == 0) { SwingUtilities.invokeLater(new Runnable() { public void run() { ProgressWindow.this.cancel(); } }); } return myStared && !isRunning(); } }); exitModality(); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/4ff905aa4558837df355c6f1295fee2e9db0959e/ProgressWindow.java/clean/source/com/intellij/openapi/progress/util/ProgressWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 787, 8728, 1435, 288, 565, 4257, 1318, 18, 588, 3208, 7675, 11231, 2520, 5325, 3830, 5621, 565, 2018, 18, 11231, 5510, 12, 5, 291, 7051, 10663, 565, 2018, 18, 11231, 5510, 12, 5, 4811, 15294, 9430, 1769, 565, 6103, 1739, 7919, 5621, 4202, 23062, 1133, 3183, 18, 588, 1442, 7675, 84, 2801, 3783, 1290, 12074, 12, 4811, 6353, 18, 4811, 5537, 16, 394, 7949, 32, 37, 8588, 1133, 34, 1435, 288, 1377, 1071, 1250, 460, 12, 6385, 432, 8588, 1133, 733, 13, 288, 3639, 309, 261, 4811, 14309, 5706, 6691, 597, 5411, 733, 1276, 23737, 597, 5411, 733, 18, 588, 734, 1435, 422, 23737, 18, 3297, 67, 27388, 597, 5411, 14015, 653, 1133, 13, 1612, 2934, 588, 653, 1085, 1435, 422, 23737, 18, 58, 47, 67, 24849, 597, 5411, 14015, 653, 1133, 13, 1612, 2934, 588, 11948, 1435, 422, 374, 13, 288, 1850, 26145, 11864, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 2868, 10980, 3829, 18, 2211, 18, 10996, 5621, 5411, 289, 1850, 15549, 3639, 289, 3639, 327, 3399, 510, 2258, 597, 401, 291, 7051, 5621, 1377, 289, 565, 15549, 565, 2427, 1739, 7919, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 787, 8728, 1435, 288, 565, 4257, 1318, 18, 588, 3208, 7675, 11231, 2520, 5325, 3830, 5621, 565, 2018, 18, 11231, 5510, 12, 5, 291, 7051, 10663, 565, 2018, 18, 11231, 5510, 12, 5, 4811, 15294, 9430, 1769, 565, 6103, 1739, 7919, 5621, 4202, 23062, 1133, 3183, 18, 588, 1442, 7675, 84, 2801, 3783, 1290, 12074, 12, 4811, 6353, 18, 4811, 5537, 16, 394, 7949, 32, 37, 8588, 1133, 34, 1435, 288, 1377, 1071, 1250, 460, 12, 6385, 432, 8588, 1133, 733, 13, 288, 3639, 309, 261, 4811, 14309, 5706, 6691, 597, 5411, 733, 1276, 23737, 597, 5411, 733, 18, 588, 734, 1435, 422, 23737, 18, 3297, 67, 27388, 597, 5411, 14015, 653, 1133, 13, 1612, 2934, 2 ]
for (int i = 0; i < neighboors.length; i++) { if (neighboors[i].getSymbol().equals("C")) { if (!neighboors[i].getFlag(CDKConstants.ISAROMATIC)) {
for (int i = 0; i < neighbours.length; i++) { if (neighbours[i].getSymbol().equals("C")) { if (!neighbours[i].getFlag(CDKConstants.ISAROMATIC)) {
private int getCarbonsCount(AtomContainer ac, org.openscience.cdk.interfaces.Atom atom) { org.openscience.cdk.interfaces.Atom[] neighboors = ac.getConnectedAtoms(atom); int ccounter = 0; for (int i = 0; i < neighboors.length; i++) { if (neighboors[i].getSymbol().equals("C")) { if (!neighboors[i].getFlag(CDKConstants.ISAROMATIC)) { ccounter += 1; } } } return ccounter; }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/11cd872c3dbcc51a117ad375706e7a5334b88daa/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/XLogPDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 1927, 6779, 7008, 1380, 12, 3641, 2170, 1721, 16, 2358, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 3641, 3179, 13, 288, 202, 202, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 3641, 8526, 1073, 2031, 1075, 1383, 273, 1721, 18, 588, 8932, 14280, 12, 7466, 1769, 202, 202, 474, 4946, 2096, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1073, 2031, 1075, 1383, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 4644, 2031, 1075, 1383, 63, 77, 8009, 588, 5335, 7675, 14963, 2932, 39, 6, 3719, 288, 9506, 202, 430, 16051, 4644, 2031, 1075, 1383, 63, 77, 8009, 588, 4678, 12, 39, 3398, 2918, 18, 5127, 985, 1872, 11781, 3719, 288, 6862, 202, 952, 2096, 1011, 404, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 4946, 2096, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 1927, 6779, 7008, 1380, 12, 3641, 2170, 1721, 16, 2358, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 3641, 3179, 13, 288, 202, 202, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 3641, 8526, 1073, 2031, 1075, 1383, 273, 1721, 18, 588, 8932, 14280, 12, 7466, 1769, 202, 202, 474, 4946, 2096, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1073, 2031, 1075, 1383, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 4644, 2031, 1075, 1383, 63, 77, 8009, 588, 5335, 7675, 14963, 2932, 39, 6, 3719, 288, 9506, 202, 430, 16051, 4644, 2031, 1075, 1383, 63, 77, 8009, 588, 4678, 12, 2 ]
recorder = getPageRecorder(pageName); recorderPageVersion = recorder.getVersion(); if (!pageVersion.equals(recorderPageVersion)) cycle.setAttribute(IApplicationService.ENCODED_PAGE_VERSION_ATTRIBUTE_NAME, pageVersion); page = cycle.getPage(pageName);
page = cycle.getPage(pageName);
private void serviceDirect(IRequestCycle cycle, ResponseOutputStream output) throws RequestCycleException, ServletException, IOException { String pageName; String componentPath; IResponseWriter writer; RequestContext context; String pageVersion; IPageRecorder recorder; String recorderPageVersion; IComponent component; Direct direct; String[] parameters = null; IPage page; IMonitor monitor; int pathInfoCount; int i; monitor = cycle.getMonitor(); // If the context is new on an action URL, then the session // truly expired and we want to redirect to the // timeout page to advise the user. context = cycle.getRequestContext(); pageName = context.getPathInfo(1); pageVersion = context.getPathInfo(2); componentPath = context.getPathInfo(3); if (monitor != null) monitor.serviceBegin("direct", pageName + "/" + componentPath); if (context.getSession().isNew()) throw new StaleSessionException(); recorder = getPageRecorder(pageName); recorderPageVersion = recorder.getVersion(); // Just because the encoded state doesn't match the current state is no reason to // just throw it out. Record (for the component's listener) the // encoded page state. If it is interested (most components that don't care about // dynamic page state don't care about perstant page state either), it can throw // the StaleLinkException or otherwise react or redirect. if (!pageVersion.equals(recorderPageVersion)) cycle.setAttribute(IApplicationService.ENCODED_PAGE_VERSION_ATTRIBUTE_NAME, pageVersion); page = cycle.getPage(pageName); // Allow the page to validate that the user is allowed to visit. This is simple // protected from malicious users who hack the URLs directly, or make inappropriate // use of the back button. page.validate(cycle); cycle.setPage(page); component = page.getNestedComponent(componentPath); try { direct = (Direct)component; } catch (ClassCastException e) { throw new RequestCycleException( "Component " + pageName + "/" + componentPath + " is not type Direct.", component, cycle, e); } pathInfoCount = context.getPathInfoCount(); // Get any parameters encoded in the URL. if (pathInfoCount > 4) { parameters = new String[pathInfoCount - 4]; for (i = 4; i < pathInfoCount; i++) parameters[i - 4] = context.getPathInfo(i); } direct.trigger(cycle, parameters); // Render the response. render(cycle, output); if (monitor != null) monitor.serviceEnd("direct"); }
4433 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4433/4bd7cd7909fad566501d7131e586a05b82ae56ff/AbstractApplication.java/buggy/framework/src/com/primix/tapestry/app/AbstractApplication.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1156, 5368, 12, 45, 691, 13279, 8589, 16, 2306, 4632, 876, 13, 202, 15069, 1567, 13279, 503, 16, 16517, 16, 1860, 202, 95, 202, 202, 780, 30398, 31, 202, 202, 780, 1794, 743, 31, 202, 202, 45, 1064, 2289, 2633, 31, 202, 202, 21426, 819, 31, 202, 202, 780, 1363, 1444, 31, 202, 202, 45, 1964, 10777, 15766, 31, 202, 202, 780, 15766, 1964, 1444, 31, 202, 202, 45, 1841, 1794, 31, 202, 202, 5368, 2657, 31, 202, 202, 780, 8526, 1472, 273, 446, 31, 202, 202, 45, 1964, 1363, 31, 202, 202, 3445, 4089, 6438, 31, 202, 202, 474, 17058, 1380, 31, 202, 202, 474, 277, 31, 202, 202, 10259, 273, 8589, 18, 588, 7187, 5621, 202, 202, 759, 971, 326, 819, 353, 394, 603, 392, 1301, 1976, 16, 1508, 326, 1339, 202, 202, 759, 433, 332, 93, 7708, 471, 732, 2545, 358, 3136, 358, 326, 202, 202, 759, 2021, 1363, 358, 17825, 784, 326, 729, 18, 202, 202, 2472, 273, 8589, 18, 588, 21426, 5621, 202, 202, 2433, 461, 273, 819, 18, 588, 743, 966, 12, 21, 1769, 202, 202, 2433, 1444, 273, 819, 18, 588, 743, 966, 12, 22, 1769, 202, 202, 4652, 743, 273, 819, 18, 588, 743, 966, 12, 23, 1769, 202, 202, 430, 261, 10259, 480, 446, 13, 1082, 202, 10259, 18, 3278, 8149, 2932, 7205, 3113, 30398, 397, 4016, 397, 1794, 743, 1769, 202, 202, 430, 261, 2472, 18, 588, 2157, 7675, 291, 1908, 10756, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1156, 5368, 12, 45, 691, 13279, 8589, 16, 2306, 4632, 876, 13, 202, 15069, 1567, 13279, 503, 16, 16517, 16, 1860, 202, 95, 202, 202, 780, 30398, 31, 202, 202, 780, 1794, 743, 31, 202, 202, 45, 1064, 2289, 2633, 31, 202, 202, 21426, 819, 31, 202, 202, 780, 1363, 1444, 31, 202, 202, 45, 1964, 10777, 15766, 31, 202, 202, 780, 15766, 1964, 1444, 31, 202, 202, 45, 1841, 1794, 31, 202, 202, 5368, 2657, 31, 202, 202, 780, 8526, 1472, 273, 446, 31, 202, 202, 45, 1964, 1363, 31, 202, 202, 3445, 4089, 6438, 31, 202, 202, 474, 17058, 1380, 31, 202, 202, 474, 277, 31, 202, 202, 10259, 273, 8589, 18, 588, 2 ]
ZimbraLog.mailbox.info("setting contact count to " + stats.contacts + " (was " + mData.contacts + ") for mailbox " + mId);
ZimbraLog.mailbox.debug("setting contact count to " + stats.contacts + " (was " + mData.contacts + ") for mailbox " + mId);
private void loadFoldersAndTags() throws ServiceException { if (mFolderCache != null && mTagCache != null) return; ZimbraLog.cache.debug("Initializing folder and tag caches for mailbox " + getId()); try { Map<Integer, MailItem.UnderlyingData> folderData = (mFolderCache == null ? new HashMap<Integer, MailItem.UnderlyingData>() : null); Map<Integer, MailItem.UnderlyingData> tagData = (mTagCache == null ? new HashMap<Integer, MailItem.UnderlyingData>() : null); MailboxData stats = DbMailItem.getFoldersAndTags(this, folderData, tagData); if (stats != null) { if (mData.size != stats.size) { mCurrentChange.mDirty.recordModified(this, Change.MODIFIED_SIZE); ZimbraLog.mailbox.info("setting mailbox size to " + stats.size + " (was " + mData.size + ") for mailbox " + mId); mData.size = stats.size; } if (mData.contacts != stats.contacts) { ZimbraLog.mailbox.info("setting contact count to " + stats.contacts + " (was " + mData.contacts + ") for mailbox " + mId); mData.contacts = stats.contacts; } } if (folderData != null) { mFolderCache = new HashMap<Integer, Folder>(); // create the folder objects and, as a side-effect, populate the new cache for (MailItem.UnderlyingData ud : folderData.values()) MailItem.constructItem(this, ud); // establish the folder hierarchy for (Folder folder : mFolderCache.values()) { Folder parent = mFolderCache.get(folder.getParentId()); // FIXME: side effect of this is that parent is marked as dirty... if (parent != null) parent.addChild(folder); } } if (tagData != null) { mTagCache = new HashMap<Object, Tag>(); // create the tag objects and, as a side-effect, populate the new cache for (MailItem.UnderlyingData ud : tagData.values()) new Tag(this, ud); // flags don't change and thus can be reused in the new cache for (int i = 0; i < mFlags.length; i++) { if (mFlags[i] == null) continue; ZimbraLog.mailbox.debug(i + ": " + mFlags[i]); cache(mFlags[i]); } } } catch (ServiceException e) { mTagCache = null; mFolderCache = null; throw e; } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/b9cafee2f96c1684fb2de314f7a0fb90b0f0b0c2/Mailbox.java/clean/ZimbraServer/src/java/com/zimbra/cs/mailbox/Mailbox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1262, 14885, 1876, 3453, 1435, 1216, 16489, 288, 3639, 309, 261, 81, 3899, 1649, 480, 446, 597, 312, 1805, 1649, 480, 446, 13, 5411, 327, 31, 3639, 2285, 381, 15397, 1343, 18, 2493, 18, 4148, 2932, 29782, 3009, 471, 1047, 12535, 364, 14187, 315, 397, 2634, 10663, 3639, 775, 288, 5411, 1635, 32, 4522, 16, 11542, 1180, 18, 14655, 6291, 751, 34, 3009, 751, 273, 261, 81, 3899, 1649, 422, 446, 692, 394, 4317, 32, 4522, 16, 11542, 1180, 18, 14655, 6291, 751, 34, 1435, 294, 446, 1769, 5411, 1635, 32, 4522, 16, 11542, 1180, 18, 14655, 6291, 751, 34, 1047, 751, 565, 273, 261, 81, 1805, 1649, 422, 446, 692, 394, 4317, 32, 4522, 16, 11542, 1180, 18, 14655, 6291, 751, 34, 1435, 294, 446, 1769, 5411, 11542, 2147, 751, 3177, 273, 8408, 6759, 1180, 18, 588, 14885, 1876, 3453, 12, 2211, 16, 3009, 751, 16, 1047, 751, 1769, 5411, 309, 261, 5296, 480, 446, 13, 288, 7734, 309, 261, 81, 751, 18, 1467, 480, 3177, 18, 1467, 13, 288, 10792, 28326, 3043, 18, 81, 10785, 18, 3366, 4575, 12, 2211, 16, 7576, 18, 21143, 67, 4574, 1769, 10792, 2285, 381, 15397, 1343, 18, 4408, 2147, 18, 1376, 2932, 8920, 14187, 963, 358, 315, 397, 3177, 18, 1467, 397, 315, 261, 17416, 315, 397, 312, 751, 18, 1467, 397, 9369, 364, 14187, 315, 397, 312, 548, 1769, 10792, 312, 751, 18, 1467, 273, 3177, 18, 1467, 31, 7734, 289, 7734, 309, 261, 81, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1262, 14885, 1876, 3453, 1435, 1216, 16489, 288, 3639, 309, 261, 81, 3899, 1649, 480, 446, 597, 312, 1805, 1649, 480, 446, 13, 5411, 327, 31, 3639, 2285, 381, 15397, 1343, 18, 2493, 18, 4148, 2932, 29782, 3009, 471, 1047, 12535, 364, 14187, 315, 397, 2634, 10663, 3639, 775, 288, 5411, 1635, 32, 4522, 16, 11542, 1180, 18, 14655, 6291, 751, 34, 3009, 751, 273, 261, 81, 3899, 1649, 422, 446, 692, 394, 4317, 32, 4522, 16, 11542, 1180, 18, 14655, 6291, 751, 34, 1435, 294, 446, 1769, 5411, 1635, 32, 4522, 16, 11542, 1180, 18, 14655, 6291, 751, 34, 1047, 751, 565, 273, 261, 81, 1805, 1649, 422, 446, 692, 394, 4317, 32, 4522, 16, 2 ]
scY.setEndPoints( scY.getStart( ) + scY.getStartShift( ), scY.getEnd( ) - scY.getEndShift( ) );
protected final double adjustVerticalDueToHorizontal( double dBlockY, double dBlockHeight, AllAxes aax ) throws ChartException, IllegalArgumentException { final OneAxis axPH = aax.areAxesSwapped( ) ? aax.getPrimaryOrthogonal( ) : aax.getPrimaryBase( ); final OneAxis axPV = aax.areAxesSwapped( ) ? aax.getPrimaryBase( ) : aax.getPrimaryOrthogonal( ); final AutoScale scX = axPH.getScale( ); final AutoScale scY = axPV.getScale( ); final int iXLabelLocation = axPH.getLabelPosition( ); final int iYLabelLocation = axPV.getLabelPosition( ); final int iXTitleLocation = axPH.getTitlePosition( ); final Label laXAxisTitle = axPH.getTitle( ); final Label laYAxisLabels = axPV.getLabel( ); final int iXTickStyle = axPH.getCombinedTickStyle( ); final IntersectionValue iv = axPH.getIntersectionValue( ); // COMPUTE THE THICKNESS OF THE AXIS INCLUDING AXIS LABEL BOUNDS AND // AXIS-PLOT SPACING double dXAxisLabelsThickness = scX.computeAxisLabelThickness( ids, axPH.getLabel( ), HORIZONTAL ); double dXAxisTitleThickness = 0; if ( laXAxisTitle.isVisible( ) ) { final String sPreviousValue = laXAxisTitle.getCaption( ).getValue( ); laXAxisTitle.getCaption( ) .setValue( rtc.externalizedMessage( sPreviousValue ) ); // EXTERNALIZE try { dXAxisTitleThickness = computeBox( ids, iXTitleLocation, laXAxisTitle, 0, 0 ).getHeight( ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, uiex ); } finally { laXAxisTitle.getCaption( ).setValue( sPreviousValue ); // RESTORE } } double dY = getLocation( scY, iv ), dY1 = dY, dY2 = dY; // X-AXIS BAND // VERTICAL // CO-ORDINATES final boolean bTicksAbove = ( iXTickStyle & TICK_ABOVE ) == TICK_ABOVE; // 'boolean' // FOR // CONVENIENCE // & // READABILITY final boolean bTicksBelow = ( iXTickStyle & TICK_BELOW ) == TICK_BELOW; // 'boolean' // FOR // CONVENIENCE // & // READABILITY final double dAppliedXAxisPlotSpacing = ( iv.iType == IntersectionValue.MAX || iv.iType == IntersectionValue.MIN ) ? dXAxisPlotSpacing : 0; // COMPUTE VALUES FOR y1, y, y2 // y = VERTICAL LOCATION OF X-AXIS ALONG PLOT // y1 = UPPER EDGE OF X-AXIS (DUE TO AXIS LABELS, TICKS, SPACING) // y2 = LOWER EDGE OF X-AXIS (DUE TO AXIS LABELS, TICKS, SPACING) if ( iv.iType == IntersectionValue.MAX ) { // NOTE: ENSURE CODE SYMMETRY WITH 'InsersectionValue.MIN' dY -= dAppliedXAxisPlotSpacing; dY1 = dY; dY2 = dY; if ( bTicksAbove ) { dY1 -= TICK_SIZE; } if ( iXLabelLocation == ABOVE ) { dY1 -= dXAxisLabelsThickness; dY2 += Math.max( bTicksBelow ? TICK_SIZE : 0, dAppliedXAxisPlotSpacing ); } else if ( iXLabelLocation == BELOW ) { dY2 += Math.max( ( bTicksBelow ? TICK_SIZE : 0 ) + dXAxisLabelsThickness, dAppliedXAxisPlotSpacing ); } if ( iXTitleLocation == ABOVE ) { dY1 -= dXAxisTitleThickness; } else if ( iXTitleLocation == BELOW ) { dY2 += dXAxisTitleThickness; } // ENSURE THAT WE DON'T GO ABOVE THE UPPER PLOT BLOCK EDGE if ( dY1 < dBlockY ) { final double dDelta = ( dBlockY - dY1 ); dY1 = dBlockY; dY += dDelta; dY2 += dDelta; } double dDeltaY1 = dY - dY1; double dDeltaY2 = dY2 - dY; // COMPUTE THE X-AXIS BAND THICKNESS AND ADJUST Y2 FOR LABELS BELOW dXAxisLabelsThickness = 0; // REUSE VARIABLE if ( iXLabelLocation == ABOVE ) { // X-AXIS BAND IS (y1 -> y2) dXAxisLabelsThickness = dY2 - dY1; } else if ( iXLabelLocation == BELOW ) { // X-AXIS BAND IS (y1 -> (y+AxisPlotSpacing)) dY2 = ( dY + dAppliedXAxisPlotSpacing ); dXAxisLabelsThickness = dY2 - dY1; } // CHECK IF X-AXIS THICKNESS REQUIRES A PLOT HEIGHT RESIZE AT THE // UPPER END if ( dXAxisLabelsThickness > scY.getEndShift( ) ) { // REDUCE scY's ENDPOINT TO FIT THE X-AXIS AT THE TOP scY.setEndPoints( scY.getStart( ) + scY.getStartShift( ), scY.getEnd( ) - scY.getEndShift( ) ); double dStart = scY.getStart( ), dEnd = dY2 - scY.getEndShift( ); scY.resetShifts( ); // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS LABELS // IF OVERLAPS OCCUR scY.setEndPoints( dStart, dEnd ); scY.computeTicks( ids, laYAxisLabels, iYLabelLocation, VERTICAL, dStart, dEnd, true, aax ); if ( !scY.isStepFixed( ) ) { final Object[] oaMinMax = scY.getMinMax( ); while ( !scY.checkFit( ids, laYAxisLabels, iYLabelLocation ) ) { if (!scY.zoomOut( )) { break; } scY.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scY.computeTicks( ids, laYAxisLabels, iYLabelLocation, VERTICAL, dStart, dEnd, true, aax ); if ( scY.getUnit( ) != null && asInteger( scY.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { break; } } } } dY -= insCA.getTop( ); dY1 = dY - dDeltaY1; dY2 = dY + dDeltaY2; axPH.setTitleCoordinate( ( iXTitleLocation == ABOVE ) ? dY1 - 1 : dY2 + 1 - dXAxisTitleThickness ); } else if ( iv.iType == IntersectionValue.MIN ) { // NOTE: ENSURE CODE SYMMETRY WITH 'InsersectionValue.MAX' dY += dAppliedXAxisPlotSpacing; dY1 = dY; dY2 = dY; if ( bTicksBelow ) { dY2 += TICK_SIZE; } if ( iXLabelLocation == ABOVE ) { dY1 -= Math.max( ( bTicksAbove ? TICK_SIZE : 0 ) + dXAxisLabelsThickness, dAppliedXAxisPlotSpacing ); } else if ( iXLabelLocation == BELOW ) { dY2 += dXAxisLabelsThickness; dY1 -= Math.max( bTicksAbove ? TICK_SIZE : 0, dAppliedXAxisPlotSpacing ); } if ( iXTitleLocation == ABOVE ) { dY1 -= dXAxisTitleThickness; } else if ( iXTitleLocation == BELOW ) { dY2 += dXAxisTitleThickness; } // ENSURE THAT WE DON'T GO BELOW THE LOWER PLOT BLOCK EDGE if ( dY2 > dBlockY + dBlockHeight ) { final double dDelta = ( dY2 - ( dBlockY + dBlockHeight ) ); dY2 = dBlockY + dBlockHeight; dY -= dDelta; dY1 -= dDelta; } double dDeltaY1 = dY - dY1; double dDeltaY2 = dY2 - dY; // COMPUTE THE X-AXIS BAND THICKNESS AND ADJUST Y2 FOR LABELS BELOW dXAxisLabelsThickness = 0; // REUSE VARIABLE if ( iXLabelLocation == ABOVE ) { // X-AXIS BAND IS ((y+AxisPlotSpacing) -> y2) dY1 = ( dY - dAppliedXAxisPlotSpacing ); dXAxisLabelsThickness = dY2 - dY1; } else if ( iXLabelLocation == BELOW ) { // X-AXIS BAND IS (y1 -> y2) dXAxisLabelsThickness = dY2 - dY1; } // CHECK IF X-AXIS THICKNESS REQUIRES A PLOT HEIGHT RESIZE AT THE // LOWER END if ( dXAxisLabelsThickness > scY.getStartShift( ) ) { // REDUCE scY's STARTPOINT TO FIT THE X-AXIS AT THE TOP scY.setEndPoints( scY.getStart( ) + scY.getStartShift( ), scY.getEnd( ) - scY.getEndShift( ) ); // RESTORE double dStart = dY1 + scY.getStartShift( ), dEnd = scY.getEnd( ); scY.resetShifts( ); // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS LABELS // IF OVERLAPS OCCUR scY.setEndPoints( dStart, dEnd ); scY.computeTicks( ids, laYAxisLabels, iYLabelLocation, VERTICAL, dStart, dEnd, true, aax ); if ( !scY.isStepFixed( ) ) { final Object[] oaMinMax = scY.getMinMax( ); while ( !scY.checkFit( ids, laYAxisLabels, iYLabelLocation ) ) { if (!scY.zoomOut( )) { break; } scY.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scY.computeTicks( ids, laYAxisLabels, iYLabelLocation, VERTICAL, dStart, dEnd, true, aax ); if ( scY.getUnit( ) != null && asInteger( scY.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { break; } } } } // MOVE THE BAND DOWNWARDS BY INSETS.BOTTOM dY += insCA.getBottom( ); dY1 = dY - dDeltaY1; dY2 = dY + dDeltaY2; // SET THE AXIS TITLE's BOX TOP CO-ORDINATE axPH.setTitleCoordinate( ( iXTitleLocation == ABOVE ) ? dY1 - 1 : dY2 + 1 - dXAxisTitleThickness ); } else { double dDeltaY1 = 0, dDeltaY2 = 0; if ( iXLabelLocation == ABOVE ) { dY1 -= ( bTicksAbove ? TICK_SIZE : 0 ) + dXAxisLabelsThickness; dY2 += ( bTicksBelow ? TICK_SIZE : 0 ); if ( iXTitleLocation == ABOVE ) { dY1 -= dXAxisTitleThickness; } else if ( iXTitleLocation == BELOW ) { dY2 += dXAxisTitleThickness; } dDeltaY1 = dY - dY1; dDeltaY2 = dY2 - dY; // CHECK IF UPPER EDGE OF X-AXIS BAND GOES ABOVE PLOT UPPER EDGE if ( dY1 < dBlockY ) { final Object[] oaMinMax = scY.getMinMax( ); boolean bForceBreak = false; // A LOOP THAT ITERATIVELY ATTEMPTS TO ADJUST THE TOP EDGE // OF THE X-AXIS LABELS WITH THE TOP EDGE OF THE PLOT AND/OR // ENSURE THAT THE END POINT OF THE Y-AXIS SCALE IS SUITABLY // POSITIONED do { // CANCEL OUT THE END LABEL SHIFT COMPUTATIONS FROM THE // Y-AXIS scY.setEndPoints( scY.getStart( ) + scY.getStartShift( ), scY.getEnd( ) - scY.getEndShift( ) ); // RESTORE scY.resetShifts( ); // APPLY THE AXIS REDUCTION FORMULA W.R.T. Y-AXIS // ENDPOINT double[] da = scY.getEndPoints( ); double dT_RI = dBlockY - dY1; // THRESHOLD - // REQUESTEDINTERSECTION double dAMin_AMax = da[0] - da[1]; double dAMin_RI = da[0] - dY; double dStart = da[0]; double dEnd = ( dT_RI / dAMin_RI ) * dAMin_AMax + da[1]; if ( dEnd < dBlockY ) { dEnd = dBlockY; bForceBreak = true; // ADJUST THE TOP EDGE OF THE // Y-AXIS SCALE TO THE TOP EDGE // OF THE PLOT BLOCK } // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS // LABELS IF OVERLAPS OCCUR scY.setEndPoints( dStart, dEnd ); scY.computeTicks( ids, laYAxisLabels, iYLabelLocation, VERTICAL, dStart, dEnd, true, aax ); if ( !scY.isStepFixed( ) ) { while ( !scY.checkFit( ids, laYAxisLabels, iYLabelLocation ) ) { if (!scY.zoomOut( )) { bForceBreak = true; break; } scY.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scY.computeTicks( ids, laYAxisLabels, iYLabelLocation, VERTICAL, dStart, dEnd, true, aax ); if ( scY.getUnit( ) != null && asInteger( scY.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { bForceBreak = true; break; } } } dY = getLocation( scY, iv ); dY1 = dY - dDeltaY1; // RE-CALCULATE X-AXIS BAND // UPPER // EDGE dY2 = dY + dDeltaY2; // REDUNDANT: RE-CALCULATE // X-AXIS // BAND LOWER EDGE } while ( Math.abs( dY1 - dBlockY ) > 1 && !bForceBreak ); } } else if ( iXLabelLocation == BELOW ) { dY1 -= ( bTicksAbove ? TICK_SIZE : 0 ); dY2 += ( bTicksBelow ? TICK_SIZE : 0 ) + dXAxisLabelsThickness; if ( iXTitleLocation == ABOVE ) { dY1 -= dXAxisTitleThickness; } else if ( iXTitleLocation == BELOW ) { dY2 += dXAxisTitleThickness; } dDeltaY1 = dY - dY1; dDeltaY2 = dY2 - dY; // CHECK IF LOWER EDGE OF X-AXIS BAND GOES BELOW PLOT LOWER EDGE if ( dY2 > dBlockY + dBlockHeight ) { final Object[] oaMinMax = scY.getMinMax( ); boolean bForceBreak = false; // A LOOP THAT ITERATIVELY ATTEMPTS TO ADJUST THE TOP EDGE // OF THE X-AXIS LABELS WITH THE TOP EDGE OF THE PLOT AND/OR // ENSURE THAT THE END POINT OF THE Y-AXIS SCALE IS SUITABLY // POSITIONED do { // CANCEL OUT THE END LABEL SHIFT COMPUTATIONS FROM THE // Y-AXIS scY.setEndPoints( scY.getStart( ) + scY.getStartShift( ), scY.getEnd( ) - scY.getEndShift( ) ); // RESTORE scY.resetShifts( ); // APPLY THE AXIS REDUCTION FORMULA W.R.T. Y-AXIS // ENDPOINT double[] da = scY.getEndPoints( ); double dX2_X1 = dY2 - ( dBlockY + dBlockHeight ); // THRESHOLD // - // REQUESTEDINTERSECTION double dAMin_AMax = da[0] - da[1]; double dX2_AMax = dY - da[1]; double dStart = da[0] - ( dX2_X1 / dX2_AMax ) * dAMin_AMax; double dEnd = da[1]; if ( dStart > dBlockY + dBlockHeight ) { dStart = dBlockY + dBlockHeight; bForceBreak = true; // ADJUST THE TOP EDGE OF THE // Y-AXIS SCALE TO THE TOP EDGE // OF THE PLOT BLOCK } // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS // LABELS IF OVERLAPS OCCUR scY.setEndPoints( dStart, dEnd ); scY.computeTicks( ids, laYAxisLabels, iYLabelLocation, VERTICAL, dStart, dEnd, true, aax ); if ( !scY.isStepFixed( ) ) { while ( !scY.checkFit( ids, laYAxisLabels, iYLabelLocation ) ) { if (!scY.zoomOut( )) { bForceBreak = true; break; } scY.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scY.computeTicks( ids, laYAxisLabels, iYLabelLocation, VERTICAL, dStart, dEnd, true, aax ); if ( scY.getUnit( ) != null && asInteger( scY.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { bForceBreak = true; break; } } } dY = getLocation( scY, iv ); dY2 = dY + dDeltaY2; // RE-CALCULATE X-AXIS BAND // LOWER // EDGE dY1 = dY - dDeltaY1; // RE-CALCULATE X-AXIS BAND // LOWER // EDGE } while ( Math.abs( dY2 - ( dBlockY + dBlockHeight ) ) > 1 && !bForceBreak ); } } axPH.setTitleCoordinate( ( iXTitleLocation == ABOVE ) ? dY1 - 1 : dY2 + 1 - dXAxisTitleThickness ); } return dY; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/536b54a46b25aa99e427a2fbd8217e09108c905a/PlotWithAxes.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWithAxes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 1645, 5765, 15704, 30023, 774, 14457, 12, 1645, 302, 1768, 61, 16, 1082, 202, 9056, 302, 1768, 2686, 16, 4826, 26494, 279, 651, 262, 1216, 14804, 503, 16, 1082, 202, 31237, 202, 95, 202, 202, 6385, 6942, 6558, 1740, 8939, 273, 279, 651, 18, 834, 26494, 12521, 1845, 12, 262, 692, 279, 651, 18, 588, 6793, 1162, 451, 28396, 12, 262, 9506, 202, 30, 279, 651, 18, 588, 6793, 2171, 12, 11272, 202, 202, 6385, 6942, 6558, 1740, 30201, 273, 279, 651, 18, 834, 26494, 12521, 1845, 12, 262, 692, 279, 651, 18, 588, 6793, 2171, 12, 262, 9506, 202, 30, 279, 651, 18, 588, 6793, 1162, 451, 28396, 12, 11272, 202, 202, 6385, 8064, 5587, 888, 60, 273, 1740, 8939, 18, 588, 5587, 12, 11272, 202, 202, 6385, 8064, 5587, 888, 61, 273, 1740, 30201, 18, 588, 5587, 12, 11272, 202, 202, 6385, 509, 277, 60, 2224, 2735, 273, 1740, 8939, 18, 588, 2224, 2555, 12, 11272, 202, 202, 6385, 509, 277, 61, 2224, 2735, 273, 1740, 30201, 18, 588, 2224, 2555, 12, 11272, 202, 202, 6385, 509, 277, 3983, 1280, 2735, 273, 1740, 8939, 18, 588, 4247, 2555, 12, 11272, 202, 202, 6385, 5287, 7125, 60, 6558, 4247, 273, 1740, 8939, 18, 588, 4247, 12, 11272, 202, 202, 6385, 5287, 7125, 61, 6558, 5888, 273, 1740, 30201, 18, 588, 2224, 12, 11272, 202, 202, 6385, 509, 277, 3983, 1200, 2885, 273, 1740, 8939, 18, 588, 27994, 6264, 2885, 12, 11272, 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, 1117, 727, 1645, 5765, 15704, 30023, 774, 14457, 12, 1645, 302, 1768, 61, 16, 1082, 202, 9056, 302, 1768, 2686, 16, 4826, 26494, 279, 651, 262, 1216, 14804, 503, 16, 1082, 202, 31237, 202, 95, 202, 202, 6385, 6942, 6558, 1740, 8939, 273, 279, 651, 18, 834, 26494, 12521, 1845, 12, 262, 692, 279, 651, 18, 588, 6793, 1162, 451, 28396, 12, 262, 9506, 202, 30, 279, 651, 18, 588, 6793, 2171, 12, 11272, 202, 202, 6385, 6942, 6558, 1740, 30201, 273, 279, 651, 18, 834, 26494, 12521, 1845, 12, 262, 692, 279, 651, 18, 588, 6793, 2171, 12, 262, 9506, 202, 30, 279, 651, 18, 588, 6793, 1162, 451, 28396, 12, 11272, 202, 202, 6385, 8064, 2 ]
int len; while ((len = deflater.deflate(buffer, 0, buffer.length)) > 0) { out.write(buffer, 0, len, false); }
while ((len = deflater.deflate(buffer, 0, buffer.length)) > 0) { out.write(buffer, 0, len, false); }
public Value gzdeflate(InputStream data, @Optional("6") int level) { try { Deflater deflater = new Deflater(level, true); TempBuffer buf = TempBuffer.allocate(); byte []buffer = buf.getBuffer(); boolean isFinished = false; TempStream out = new TempStream(); while (! isFinished) { while (! isFinished && deflater.needsInput()) { int len = data.read(buffer, 0, buffer.length); if (len > 0) { deflater.setInput(buffer, 0, len); } else { isFinished = true; deflater.finish(); } } int len; while ((len = deflater.deflate(buffer, 0, buffer.length)) > 0) { out.write(buffer, 0, len, false); } } deflater.end(); TempBuffer.free(buf); return new TempBufferStringValue(out.getHead()); } catch (Exception e) { throw QuercusModuleException.create(e); } }
3863 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3863/2b1a0abf1121df3ae1f19873d5372457b95c50be/ZlibModule.java/buggy/quercus/src/main/java/com/caucho/quercus/lib/zlib/ZlibModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1445, 14136, 536, 20293, 12, 4348, 501, 16, 7682, 632, 6542, 2932, 26, 7923, 509, 1801, 13, 225, 288, 565, 775, 288, 1377, 1505, 2242, 2045, 1652, 29082, 273, 394, 1505, 2242, 2045, 12, 2815, 16, 638, 1769, 1377, 16380, 1892, 1681, 273, 16380, 1892, 18, 16247, 5621, 1377, 1160, 5378, 4106, 273, 1681, 18, 588, 1892, 5621, 1377, 1250, 353, 10577, 273, 629, 31, 1377, 16380, 1228, 596, 273, 394, 16380, 1228, 5621, 1377, 1323, 16051, 353, 10577, 13, 288, 202, 17523, 16051, 353, 10577, 597, 1652, 29082, 18, 20600, 1210, 10756, 288, 202, 225, 509, 562, 273, 501, 18, 896, 12, 4106, 16, 374, 16, 1613, 18, 2469, 1769, 202, 225, 309, 261, 1897, 405, 374, 13, 288, 202, 565, 1652, 29082, 18, 542, 1210, 12, 4106, 16, 374, 16, 562, 1769, 202, 225, 289, 202, 225, 469, 288, 202, 565, 353, 10577, 273, 638, 31, 202, 565, 1652, 29082, 18, 13749, 5621, 202, 225, 289, 202, 97, 202, 474, 562, 31, 202, 17523, 14015, 1897, 273, 1652, 29082, 18, 536, 20293, 12, 4106, 16, 374, 16, 1613, 18, 2469, 3719, 405, 374, 13, 288, 202, 225, 596, 18, 2626, 12, 4106, 16, 374, 16, 562, 16, 629, 1769, 202, 97, 1377, 289, 1377, 1652, 29082, 18, 409, 5621, 1377, 16380, 1892, 18, 9156, 12, 4385, 1769, 1377, 327, 394, 16380, 1892, 19733, 12, 659, 18, 588, 1414, 10663, 565, 289, 1044, 261, 503, 425, 13, 288, 1377, 604, 4783, 12610, 407, 3120, 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, 1445, 14136, 536, 20293, 12, 4348, 501, 16, 7682, 632, 6542, 2932, 26, 7923, 509, 1801, 13, 225, 288, 565, 775, 288, 1377, 1505, 2242, 2045, 1652, 29082, 273, 394, 1505, 2242, 2045, 12, 2815, 16, 638, 1769, 1377, 16380, 1892, 1681, 273, 16380, 1892, 18, 16247, 5621, 1377, 1160, 5378, 4106, 273, 1681, 18, 588, 1892, 5621, 1377, 1250, 353, 10577, 273, 629, 31, 1377, 16380, 1228, 596, 273, 394, 16380, 1228, 5621, 1377, 1323, 16051, 353, 10577, 13, 288, 202, 17523, 16051, 353, 10577, 597, 1652, 29082, 18, 20600, 1210, 10756, 288, 202, 225, 509, 562, 273, 501, 18, 896, 12, 4106, 16, 374, 16, 1613, 18, 2469, 1769, 202, 225, 309, 261, 1897, 405, 2 ]
/* FIXME: Currently this thread may block forever if it called from the event dispatch thread, so we only do this for FileDialog which only depends on a signal which is delivered in the Gtk thread. Remove this test when we add code to start another event dispatch thread. */ if ((Thread.currentThread () instanceof EventDispatchThread) && !(this instanceof FileDialog)) return;
/* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ()) { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); eq2 = new EventQueue (); eq.push (eq2); }
show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* FIXME: Currently this thread may block forever if it called from the event dispatch thread, so we only do this for FileDialog which only depends on a signal which is delivered in the Gtk thread. Remove this test when we add code to start another event dispatch thread. */ if ((Thread.currentThread () instanceof EventDispatchThread) && !(this instanceof FileDialog)) return; try { blocked = true; wait (); blocked = false; } catch (InterruptedException e) { blocked = false; return; } } }
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/ebc2b28b731d6c611104f023d2c8f0ca6396c1bf/Dialog.java/clean/libjava/java/awt/Dialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2405, 1435, 95, 225, 2240, 18, 4500, 5621, 225, 309, 261, 291, 20191, 10756, 565, 288, 1377, 368, 971, 1818, 12188, 261, 464, 14547, 13, 2537, 327, 1377, 309, 261, 23156, 13, 202, 2463, 31, 1377, 1748, 9852, 30, 15212, 333, 2650, 2026, 1203, 21238, 309, 518, 2566, 628, 540, 326, 871, 3435, 2650, 16, 1427, 732, 1338, 741, 333, 364, 1387, 6353, 1492, 540, 1338, 10935, 603, 279, 4277, 1492, 353, 22112, 316, 326, 22132, 2650, 18, 540, 3581, 333, 1842, 1347, 732, 527, 981, 358, 787, 4042, 871, 540, 3435, 2650, 18, 1195, 1377, 309, 14015, 3830, 18, 2972, 3830, 1832, 1276, 2587, 5325, 3830, 13, 597, 1850, 401, 12, 2211, 1276, 1387, 6353, 3719, 3639, 327, 31, 5411, 775, 540, 288, 202, 225, 14547, 273, 638, 31, 202, 225, 2529, 261, 1769, 202, 225, 14547, 273, 629, 31, 3639, 289, 4202, 1044, 261, 24485, 503, 425, 13, 3639, 288, 202, 225, 14547, 273, 629, 31, 202, 225, 327, 31, 3639, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2405, 1435, 95, 225, 2240, 18, 4500, 5621, 225, 309, 261, 291, 20191, 10756, 565, 288, 1377, 368, 971, 1818, 12188, 261, 464, 14547, 13, 2537, 327, 1377, 309, 261, 23156, 13, 202, 2463, 31, 1377, 1748, 9852, 30, 15212, 333, 2650, 2026, 1203, 21238, 309, 518, 2566, 628, 540, 326, 871, 3435, 2650, 16, 1427, 732, 1338, 741, 333, 364, 1387, 6353, 1492, 540, 1338, 10935, 603, 279, 4277, 1492, 353, 22112, 316, 326, 22132, 2650, 18, 540, 3581, 333, 1842, 1347, 732, 527, 981, 358, 787, 4042, 871, 540, 3435, 2650, 18, 1195, 1377, 309, 14015, 3830, 18, 2972, 3830, 1832, 1276, 2587, 5325, 3830, 13, 597, 1850, 401, 12, 2211, 1276, 1387, 6353, 3719, 3639, 327, 2 ]
for (int i = offset; i < length; )
for (int i = start; i < limit; )
public void disAssemble (ClassTypeWriter dst, int offset, int length) { boolean wide = false; for (int i = offset; i < length; ) { int oldpc = i++; int op = code[oldpc] & 0xff; String str = Integer.toString(oldpc); int printConstant = 0; int j = str.length(); while (++j <= 3) dst.print(' '); dst.print(str); dst.print(": "); // We do a rough binary partition of the opcodes. if (op < 120) { if (op < 87) { if (op < 3) print("nop;aconst_null;iconst_m1;", op, dst); else if (op < 9) { dst.print("iconst_"); dst.print(op-3); } else if (op < 16) // op >= 9 [lconst_0] && op <= 15 [dconst_1] { char typ; if (op < 11) { typ = 'l'; op -= 9; } else if (op < 14) { typ = 'f'; op -= 11; } else { typ = 'd'; op -= 14; } dst.print(typ); dst.print("const_"); dst.print(op); } else if (op < 21) { if (op < 18) // op >= 16 [bipush] && op <= 17 [sipush] { print("bipush ;sipush ;", op-16, dst); int constant; if (op == 16) constant = code[i++]; else { constant = (short) readUnsignedShort(i); i+=2;} dst.print(constant); } else // op >= 18 [ldc] && op <= 20 [ldc2_w] { printConstant = op == 18 ? 1 : 2; print("ldc;ldc_w;ldc2_w;", op-18, dst); } } else // op >= 21 && op < 87 { String load_or_store; if (op < 54) { load_or_store = "load"; } else { load_or_store = "store"; op -=(54-21); } int index; // -2 if array op; -1 if index follows if (op < 26) { index = -1; op -= 21; } else if (op < 46) { op -= 26; index = op % 4; op >>= 2; } else { index = -2; op -= 46; } dst.print("ilfdabcs".charAt(op)); if (index == -2) dst.write('a'); dst.print(load_or_store); if (index >= 0) { dst.write('_'); dst.print(index); } else if (index == -1) { if (wide) { index = readUnsignedShort(i); i += 2; } else { index = code[i] & 0xff; i++; } wide = false; dst.print(' '); dst.print(index); } } } else // op >= 87 && op < 120 { if (op < 96) print("pop;pop2;dup;dup_x1;dup_x2;dup2;dup2_x1;dup2_x2;swap;" , op-87, dst); else // op >= 96 [iadd] && op <= 119 [dneg] { dst.print("ilfda".charAt((op-96) % 4)); print("add;sub;mul;div;rem;neg;", (op-96)>>2, dst); } } } else // op >= 120 { if (op < 170) { if (op < 132) // op >= 120 [ishl] && op <= 131 [lxor] { dst.print((op & 1) == 0 ? 'i' : 'l'); print("shl;shr;ushr;and;or;xor;", (op-120)>>1, dst); } else if (op == 132) // iinc { int var_index; int constant; dst.print("iinc"); if (! wide) { var_index = 0xff & code[i++]; constant = code[i++]; } else { var_index = readUnsignedShort(i); i += 2; constant = (short) readUnsignedShort(i); i += 2; wide = false; } dst.print(' '); dst.print(var_index); dst.print(' '); dst.print(constant); } else if (op < 148) // op >= 133 [i2l] && op <= 147 [i2s] { dst.print("ilfdi".charAt((op-133) / 3)); dst.print('2'); dst.print("lfdifdildilfbcs".charAt(op-133)); } else if (op < 153) // op >= 148 [lcmp] && op <= 152 [dcmpg] print("lcmp;fcmpl;fcmpg;dcmpl;dcmpg;", op-148, dst); else if (op < 169) { if (op < 159) { dst.print("if"); print("eq;ne;lt;ge;gt;le;", op-153, dst); } else if (op < 167) { if (op < 165) { dst.print("if_icmp"); } else { dst.print("if_acmp"); op -= 165-159; } print("eq;ne;lt;ge;gt;le;", op-159, dst); } else print("goto;jsr;", op-167, dst); int delta = (short) readUnsignedShort(i); i += 2; dst.print(' '); dst.print(oldpc+delta); } else { int index; dst.print("ret "); if (wide) { index = readUnsignedShort(i); index += 2; } else { index = code[i] & 0xff; i++; } wide = false; dst.print(index); } } else { if (op < 172) // [tableswitch] or [lookupswitch] { i = (i + 3) & ~3; // skip 0-3 byte padding. int code_offset = readInt(i); i += 4; if (op == 170) { dst.print("tableswitch"); int low = readInt(i); i += 4; int high = readInt(i); i += 4; dst.print(" low: "); dst.print(low); dst.print(" high: "); dst.print(high); dst.print(" default: "); dst.print(oldpc+code_offset); for (; low <= high; low++) { code_offset = readInt(i); i += 4; dst.println(); dst.print(" "); dst.print(low); dst.print(": "); dst.print(oldpc + code_offset); } } else { dst.print("lookupswitch"); int npairs = readInt(i); i += 4; dst.print(" npairs: "); dst.print(npairs); dst.print(" default: "); dst.print(oldpc+code_offset); while (--npairs >= 0) { int match = readInt(i); i += 4; code_offset = readInt(i); i += 4; dst.println(); dst.print(" "); dst.print(match); dst.print(": "); dst.print(oldpc + code_offset); } } } else if (op < 178) // op >= 172 [ireturn] && op <= 177 [return] { if (op < 177) dst.print("ilfda".charAt(op-172)); dst.print("return"); } else if (op < 182) // op >= 178 [getstatic] && op <= 181 [putfield] { print("getstatic;putstatic;getfield;putfield;", op-178, dst); printConstant = 2; } else if (op < 185) // op >= 182 && op <= 185 [invoke*] { dst.print("invoke"); print("virtual;special;static;", op-182, dst); printConstant = 2; } else if (op == 185) // invokeinterface { dst.print("invokeinterface ("); int index = readUnsignedShort(i); i += 2; int args = 0xff & code[i]; i += 2; dst.print(args + " args)"); dst.printConstantOperand(index); } else if (op < 196) { print("186;new;newarray;anewarray;arraylength;athrow;checkcast;instanceof;monitorenter;monitorexit;", op-186, dst); if (op == 187 || op == 189 || op == 192 || op == 193) printConstant = 2; else if (op == 188) // newarray { int type = code[i++]; dst.print(' '); if (type >= 4 && type <= 11) print("boolean;char;float;double;byte;short;int;long;", type-4, dst); else dst.print(type); } } else if (op == 196) // wide { dst.print("wide"); wide = true; } else if (op == 197) { dst.print("multianewarray"); int index = readUnsignedShort(i); i += 2; dst.printConstantOperand(index); int dims = 0xff & code[i++]; dst.print(' '); dst.print(dims); } else if (op < 200) { print("ifnull;ifnonnull;", op-198, dst); int delta = (short) readUnsignedShort(i); i += 2; dst.print(' '); dst.print(oldpc+delta); } else if (op < 202) { print("goto_w;jsr_w;", op-200, dst); int delta = readInt(i); i += 4; dst.print(' '); dst.print(oldpc+delta); } else dst.print(op); } } if (printConstant > 0) { int index; if (printConstant == 1) index = 0xff & code[i++]; else { index = readUnsignedShort(i); i += 2; } dst.printConstantOperand(index); } dst.println(); } }
41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/50aae2053d3e7c936750da14a5887b2c333a54ab/CodeAttr.java/buggy/gnu/bytecode/CodeAttr.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1015, 1463, 10045, 261, 18328, 2289, 3046, 16, 509, 1384, 16, 509, 769, 13, 225, 288, 565, 1250, 14812, 273, 629, 31, 565, 364, 261, 474, 277, 273, 787, 31, 225, 277, 411, 1800, 31, 262, 1377, 288, 202, 474, 1592, 2436, 273, 277, 9904, 31, 202, 474, 1061, 273, 981, 63, 1673, 2436, 65, 473, 374, 5297, 31, 202, 780, 609, 273, 2144, 18, 10492, 12, 1673, 2436, 1769, 202, 474, 1172, 6902, 273, 374, 31, 202, 474, 525, 273, 609, 18, 2469, 5621, 202, 17523, 261, 9904, 78, 1648, 890, 13, 3046, 18, 1188, 2668, 28005, 202, 11057, 18, 1188, 12, 701, 1769, 202, 11057, 18, 1188, 2932, 30, 315, 1769, 202, 759, 1660, 741, 279, 23909, 3112, 3590, 434, 326, 1061, 7000, 18, 202, 430, 261, 556, 411, 15743, 13, 202, 225, 288, 202, 565, 309, 261, 556, 411, 1725, 27, 13, 202, 1377, 288, 202, 202, 430, 261, 556, 411, 890, 13, 225, 1172, 2932, 82, 556, 31, 69, 10248, 67, 2011, 31, 3950, 334, 67, 81, 21, 31, 3113, 1061, 16, 3046, 1769, 202, 202, 12107, 309, 261, 556, 411, 2468, 13, 288, 3046, 18, 1188, 2932, 3950, 334, 67, 8863, 225, 3046, 18, 1188, 12, 556, 17, 23, 1769, 289, 202, 202, 12107, 309, 261, 556, 411, 2872, 13, 368, 1061, 1545, 2468, 306, 80, 10248, 67, 20, 65, 597, 1061, 1648, 4711, 306, 72, 10248, 67, 21, 65, 1082, 225, 288, 1082, 565, 1149, 3815, 31, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1015, 1463, 10045, 261, 18328, 2289, 3046, 16, 509, 1384, 16, 509, 769, 13, 225, 288, 565, 1250, 14812, 273, 629, 31, 565, 364, 261, 474, 277, 273, 787, 31, 225, 277, 411, 1800, 31, 262, 1377, 288, 202, 474, 1592, 2436, 273, 277, 9904, 31, 202, 474, 1061, 273, 981, 63, 1673, 2436, 65, 473, 374, 5297, 31, 202, 780, 609, 273, 2144, 18, 10492, 12, 1673, 2436, 1769, 202, 474, 1172, 6902, 273, 374, 31, 202, 474, 525, 273, 609, 18, 2469, 5621, 202, 17523, 261, 9904, 78, 1648, 890, 13, 3046, 18, 1188, 2668, 28005, 202, 11057, 18, 1188, 12, 701, 1769, 202, 11057, 18, 1188, 2932, 30, 315, 1769, 202, 759, 1660, 2 ]
return (GenericObject) myListIterator.next();
return (GenericObject) iterator.next();
protected GenericObject next() { if (myListIterator == null) { myListIterator = this.listIterator(0); } try { return (GenericObject) myListIterator.next(); } catch (NoSuchElementException ex) { myListIterator = null; return null; } }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/0cf0af6bd3a566b6ef1db8ed90955fa3fc3baccc/GenericObjectList.java/clean/src/gov/nist/core/GenericObjectList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 7928, 921, 1024, 1435, 288, 202, 202, 430, 261, 4811, 682, 3198, 422, 446, 13, 288, 1082, 202, 4811, 682, 3198, 273, 333, 18, 1098, 3198, 12, 20, 1769, 202, 202, 97, 202, 202, 698, 288, 1082, 202, 2463, 261, 7014, 921, 13, 3399, 682, 3198, 18, 4285, 5621, 202, 202, 97, 1044, 261, 28341, 20826, 431, 13, 288, 1082, 202, 4811, 682, 3198, 273, 446, 31, 1082, 202, 2463, 446, 31, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 7928, 921, 1024, 1435, 288, 202, 202, 430, 261, 4811, 682, 3198, 422, 446, 13, 288, 1082, 202, 4811, 682, 3198, 273, 333, 18, 1098, 3198, 12, 20, 1769, 202, 202, 97, 202, 202, 698, 288, 1082, 202, 2463, 261, 7014, 921, 13, 3399, 682, 3198, 18, 4285, 5621, 202, 202, 97, 1044, 261, 28341, 20826, 431, 13, 288, 1082, 202, 4811, 682, 3198, 273, 446, 31, 1082, 202, 2463, 446, 31, 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 ]
throw new TypeError(getRuntime(), "uninitialized Regexp");
throw getRuntime().newTypeError("uninitialized Regexp");
private void checkInitialized() { if (pattern == null) { throw new TypeError(getRuntime(), "uninitialized Regexp"); } }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyRegexp.java/clean/src/org/jruby/RubyRegexp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 866, 11459, 1435, 288, 3639, 309, 261, 4951, 422, 446, 13, 288, 5411, 604, 18814, 7675, 2704, 19030, 2932, 318, 13227, 17011, 8863, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 866, 11459, 1435, 288, 3639, 309, 261, 4951, 422, 446, 13, 288, 5411, 604, 18814, 7675, 2704, 19030, 2932, 318, 13227, 17011, 8863, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (Iterator iter = this.componentRegistry.getComponentConnectors().iterator();iter.hasNext();) {
for (Iterator iter = this.registry.getComponentConnectors().iterator();iter.hasNext();) {
protected Set getInternalEndpoints() { Set answer = new HashSet(); for (Iterator iter = this.componentRegistry.getComponentConnectors().iterator();iter.hasNext();) { ComponentConnector cc = (ComponentConnector) iter.next(); answer.addAll(cc.getActiveEndpoints()); } return answer; }
6264 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6264/147052fceba4d3bb85729a9aef33f5d0245d2219/EndpointRegistry.java/clean/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/EndpointRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1000, 16918, 10357, 1435, 288, 3639, 1000, 5803, 273, 394, 6847, 5621, 3639, 364, 261, 3198, 1400, 273, 333, 18, 9893, 18, 588, 1841, 7487, 87, 7675, 9838, 5621, 2165, 18, 5332, 2134, 5621, 13, 288, 5411, 5435, 7487, 4946, 273, 261, 1841, 7487, 13, 1400, 18, 4285, 5621, 5411, 5803, 18, 1289, 1595, 12, 952, 18, 588, 3896, 10357, 10663, 3639, 289, 3639, 327, 5803, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1000, 16918, 10357, 1435, 288, 3639, 1000, 5803, 273, 394, 6847, 5621, 3639, 364, 261, 3198, 1400, 273, 333, 18, 9893, 18, 588, 1841, 7487, 87, 7675, 9838, 5621, 2165, 18, 5332, 2134, 5621, 13, 288, 5411, 5435, 7487, 4946, 273, 261, 1841, 7487, 13, 1400, 18, 4285, 5621, 5411, 5803, 18, 1289, 1595, 12, 952, 18, 588, 3896, 10357, 10663, 3639, 289, 3639, 327, 5803, 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 ]
copyActionPerformed(evt); }
copyActionPerformed(evt); }
public void actionPerformed(java.awt.event.ActionEvent evt) { copyActionPerformed(evt); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/47f15575ff1ed6af2f3bcf5291bed9664f7a82c5/FindBugsFrame.java/clean/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 6862, 202, 3530, 19449, 12, 73, 11734, 1769, 9506, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 6862, 202, 3530, 19449, 12, 73, 11734, 1769, 9506, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 ToolEvent(Object source, InputSlot device, DoubleArray trafo) { this(source, device, null, trafo);
public ToolEvent(Object source, InputSlot device, AxisState axis) { this(source, device, axis, null);
public ToolEvent(Object source, InputSlot device, DoubleArray trafo) { this(source, device, null, trafo); }
25476 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25476/6ff1071e4fe0caa04893342861ae7a09d2cd1417/ToolEvent.java/buggy/src-tool/de/jreality/toolsystem/ToolEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13288, 1133, 12, 921, 1084, 16, 2741, 8764, 2346, 16, 3698, 1076, 1284, 617, 13, 288, 3639, 333, 12, 3168, 16, 2346, 16, 446, 16, 1284, 617, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13288, 1133, 12, 921, 1084, 16, 2741, 8764, 2346, 16, 3698, 1076, 1284, 617, 13, 288, 3639, 333, 12, 3168, 16, 2346, 16, 446, 16, 1284, 617, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (client.isMyTurn() && client.game.getPhase() != Game.PHASE_MOVEMENT) {
if (client.isMyTurn() && client.game.getPhase() != IGame.PHASE_MOVEMENT) {
public void gamePhaseChange(GamePhaseChangeEvent e) { // Are we ignoring events? if ( this.isIgnoringEvents() ) { return; } if (client.isMyTurn() && client.game.getPhase() != Game.PHASE_MOVEMENT) { endMyTurn(); } if (client.game.getPhase() == Game.PHASE_MOVEMENT) { setStatusBarText(Messages.getString("MovementDisplay.waitingForMovementPhase")); //$NON-NLS-1$ } }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/f76b85e1165e7f2dc730b78b34cf2b925d97622d/MovementDisplay.java/clean/megamek/src/megamek/client/ui/AWT/MovementDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7920, 11406, 3043, 12, 12496, 11406, 20930, 425, 13, 288, 3639, 368, 12520, 732, 14398, 2641, 35, 3639, 309, 261, 333, 18, 291, 21702, 3783, 1435, 262, 288, 5411, 327, 31, 3639, 289, 3639, 309, 261, 2625, 18, 291, 12062, 15858, 1435, 597, 1004, 18, 13957, 18, 588, 11406, 1435, 480, 467, 12496, 18, 8939, 4429, 67, 16537, 3212, 13, 288, 5411, 679, 12062, 15858, 5621, 3639, 289, 3639, 309, 261, 2625, 18, 13957, 18, 588, 11406, 1435, 422, 225, 14121, 18, 8939, 4429, 67, 16537, 3212, 13, 288, 5411, 9433, 5190, 1528, 12, 5058, 18, 588, 780, 2932, 49, 26140, 4236, 18, 20241, 1290, 49, 26140, 11406, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7920, 11406, 3043, 12, 12496, 11406, 20930, 425, 13, 288, 3639, 368, 12520, 732, 14398, 2641, 35, 3639, 309, 261, 333, 18, 291, 21702, 3783, 1435, 262, 288, 5411, 327, 31, 3639, 289, 3639, 309, 261, 2625, 18, 291, 12062, 15858, 1435, 597, 1004, 18, 13957, 18, 588, 11406, 1435, 480, 467, 12496, 18, 8939, 4429, 67, 16537, 3212, 13, 288, 5411, 679, 12062, 15858, 5621, 3639, 289, 3639, 309, 261, 2625, 18, 13957, 18, 588, 11406, 1435, 422, 225, 14121, 18, 8939, 4429, 67, 16537, 3212, 13, 288, 5411, 9433, 5190, 1528, 12, 5058, 18, 588, 780, 2932, 49, 26140, 4236, 18, 20241, 1290, 49, 26140, 11406, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 2 ]
return RubyRegexp.newRegexp(runtime, unescapeString(stringPattern), 0);
return RubyRegexp.newRegexp(runtime, unescapeString(stringPattern), 0, null);
private RubyRegexp getPattern(IRubyObject[] args) { if (args.length == 0) { isWhitespace = true; return RubyRegexp.newRegexp(runtime, "\\s+", 0); } if (args[0] instanceof RubyRegexp) { // Even if we have whitespace-only explicit regexp we do not // mark it as whitespace. Apparently, this is so ruby can // still get the do not ignore the front match behavior. return RubyRegexp.regexpValue(args[0]); } else { String stringPattern = RubyString.stringValue(args[0]).getValue(); if (stringPattern.equals(" ")) { isWhitespace = true; return RubyRegexp.newRegexp(runtime, "\\s+", 0); } else { return RubyRegexp.newRegexp(runtime, unescapeString(stringPattern), 0); } } }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/c3988bcedc9973ff7f8c24ac6423ecb89f3ada35/Split.java/buggy/src/org/jruby/util/Split.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 19817, 14621, 23420, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 23833, 273, 638, 31, 5411, 327, 19817, 14621, 18, 2704, 14621, 12, 9448, 16, 8422, 87, 15, 3113, 374, 1769, 3639, 289, 3639, 309, 261, 1968, 63, 20, 65, 1276, 19817, 14621, 13, 288, 5411, 368, 25067, 309, 732, 1240, 7983, 17, 3700, 5515, 7195, 732, 741, 486, 5411, 368, 2267, 518, 487, 7983, 18, 225, 1716, 2938, 715, 16, 333, 353, 1427, 22155, 848, 5411, 368, 4859, 336, 326, 741, 486, 2305, 326, 6641, 845, 6885, 18, 5411, 327, 19817, 14621, 18, 17745, 620, 12, 1968, 63, 20, 19226, 3639, 289, 469, 288, 5411, 514, 533, 3234, 273, 19817, 780, 18, 1080, 620, 12, 1968, 63, 20, 65, 2934, 24805, 5621, 13491, 309, 261, 1080, 3234, 18, 14963, 2932, 315, 3719, 288, 7734, 23833, 273, 638, 31, 7734, 327, 19817, 14621, 18, 2704, 14621, 12, 9448, 16, 8422, 87, 15, 3113, 374, 1769, 5411, 289, 469, 288, 7734, 327, 19817, 14621, 18, 2704, 14621, 12, 9448, 16, 15568, 780, 12, 1080, 3234, 3631, 374, 16, 446, 1769, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 19817, 14621, 23420, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 23833, 273, 638, 31, 5411, 327, 19817, 14621, 18, 2704, 14621, 12, 9448, 16, 8422, 87, 15, 3113, 374, 1769, 3639, 289, 3639, 309, 261, 1968, 63, 20, 65, 1276, 19817, 14621, 13, 288, 5411, 368, 25067, 309, 732, 1240, 7983, 17, 3700, 5515, 7195, 732, 741, 486, 5411, 368, 2267, 518, 487, 7983, 18, 225, 1716, 2938, 715, 16, 333, 353, 1427, 22155, 848, 5411, 368, 4859, 336, 326, 741, 486, 2305, 326, 6641, 845, 6885, 18, 5411, 327, 19817, 14621, 18, 17745, 620, 12, 1968, 63, 20, 19226, 3639, 289, 469, 288, 5411, 2 ]
+ URLEncoder.encode(tb.getName(),
+ UIUtil.encodeBitstreamName(tb.getName(),
private void listBitstreams() throws IOException { JspWriter out = pageContext.getOut(); HttpServletRequest request = (HttpServletRequest) pageContext .getRequest(); out.print("<table align=center class=\"miscTable\"><tr>"); out .println("<td class=evenRowEvenCol><P><strong>Files in This Item:</strong></P>"); Bundle[] bundles = item.getBundles("ORIGINAL"); if (bundles.length == 0) { out.println("<P>There are no files associated with this item.</P>"); } else { boolean html = false; String handle = item.getHandle(); Bitstream primaryBitstream = null; Bundle[] bunds = item.getBundles("ORIGINAL"); Bundle[] thumbs = item.getBundles("THUMBNAIL"); // if item contains multiple bitstreams, display bitstream // description boolean multiFile = false; Bundle[] allBundles = item.getBundles(); for (int i = 0, filecount = 0; (i < allBundles.length) && !multiFile; i++) { filecount += allBundles[i].getBitstreams().length; multiFile = (filecount > 1); } // check if primary bitstream is html if (bunds[0] != null) { Bitstream[] bits = bunds[0].getBitstreams(); for (int i = 0; (i < bits.length) && !html; i++) { if (bits[i].getID() == bunds[0].getPrimaryBitstreamID()) { html = bits[i].getFormat().getMIMEType().equals( "text/html"); primaryBitstream = bits[i]; } } } out .println("<table cellpadding=6><tr><th class=\"standard\">File</th>"); if (multiFile) { out.println("<th class=\"standard\">Description</th>"); } out .println("<th class=\"standard\">Size</th class=\"standard\"><th class=\"standard\">Format</th></tr>"); // if primary bitstream is html, display a link for only that one to // HTMLServlet if (html) { // If no real Handle yet (e.g. because Item is in workflow) // we use the 'fake' Handle db-id/1234 where 1234 is the // database ID of the item. if (handle == null) { handle = "db-id/" + item.getID(); } out.print("<tr><td class=\"standard\">"); out.print(primaryBitstream.getName()); if (multiFile) { out.print("</td><td class=\"standard\">"); String desc = primaryBitstream.getDescription(); out.print((desc != null) ? desc : ""); } out.print("</td><td class=\"standard\">"); out.print(primaryBitstream.getSize() / 1024); out.print("Kb</td><td class=\"standard\">"); out.print(primaryBitstream.getFormatDescription()); out .print("</td><td class=\"standard\"><A TARGET=_blank HREF=\""); out.print(request.getContextPath()); out.print("/html/"); out.print(handle + "/"); out.print(URLEncoder.encode(primaryBitstream.getName(), Constants.DEFAULT_ENCODING)); out.print("\">View/Open</A></td></tr>"); } else { for (int i = 0; i < bundles.length; i++) { Bitstream[] bitstreams = bundles[i].getBitstreams(); for (int k = 0; k < bitstreams.length; k++) { // Skip internal types if (!bitstreams[k].getFormat().isInternal()) { out.print("<tr><td class=\"standard\">"); out.print(bitstreams[k].getName()); if (multiFile) { out.print("</td><td class=\"standard\">"); String desc = bitstreams[k].getDescription(); out.print((desc != null) ? desc : ""); } out.print("</td><td class=\"standard\">"); out.print(bitstreams[k].getSize() / 1024); out.print("Kb</td><td class=\"standard\">"); out.print(bitstreams[k].getFormatDescription()); out .print("</td><td class=\"standard\" align=\"center\">"); // Work out what the bitstream link should be // (persistent // ID if item has Handle) String bsLink = "<A TARGET=_blank HREF=\"" + request.getContextPath(); if ((handle != null) && (bitstreams[k].getSequenceID() > 0)) { bsLink = bsLink + "/bitstream/" + item.getHandle() + "/" + bitstreams[k].getSequenceID() + "/"; } else { bsLink = bsLink + "/retrieve/" + bitstreams[k].getID() + "/"; } bsLink = bsLink + URLEncoder.encode( bitstreams[k].getName(), Constants.DEFAULT_ENCODING) + "\">"; // is there a thumbnail bundle? if ((thumbs.length > 0) && showThumbs) { String tName = bitstreams[k].getName() + ".jpg"; Bitstream tb = thumbs[0] .getBitstreamByName(tName); if (tb != null) { String myPath = request.getContextPath() + "/retrieve/" + tb.getID() + "/" + URLEncoder.encode(tb.getName(), Constants.DEFAULT_ENCODING); out.print(bsLink); out.print("<img src=\"" + myPath + "\" "); out.print("alt=\"" + tName + "\"></A><BR>"); } } out.print(bsLink + "View/Open</A></td></tr>"); } } } } out.println("</table>"); } out.println("</td></tr></table>"); }
31338 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31338/3b6562bcedc661be2893bce0fd2902c9581bf940/ItemTag.java/buggy/dspace/src/org/dspace/app/webui/jsptag/ItemTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 666, 5775, 16320, 1435, 1216, 1860, 565, 288, 3639, 19300, 2289, 596, 273, 21442, 18, 588, 1182, 5621, 3639, 9984, 590, 273, 261, 2940, 18572, 13, 21442, 7734, 263, 588, 691, 5621, 3639, 596, 18, 1188, 2932, 32, 2121, 5689, 33, 5693, 667, 5189, 23667, 1388, 2412, 4438, 313, 2984, 1769, 3639, 596, 7734, 263, 8222, 2932, 32, 4465, 667, 33, 16728, 1999, 8321, 914, 4438, 52, 4438, 9110, 34, 2697, 316, 1220, 4342, 19814, 9110, 4695, 52, 2984, 1769, 3639, 8539, 8526, 11408, 273, 761, 18, 588, 16151, 2932, 24685, 1013, 8863, 3639, 309, 261, 22773, 18, 2469, 422, 374, 13, 3639, 288, 5411, 596, 18, 8222, 2932, 32, 52, 34, 9828, 854, 1158, 1390, 3627, 598, 333, 761, 17347, 52, 2984, 1769, 3639, 289, 3639, 469, 3639, 288, 5411, 1250, 1729, 273, 629, 31, 5411, 514, 1640, 273, 761, 18, 588, 3259, 5621, 5411, 6539, 3256, 3354, 5775, 3256, 273, 446, 31, 5411, 8539, 8526, 324, 19156, 273, 761, 18, 588, 16151, 2932, 24685, 1013, 8863, 5411, 8539, 8526, 286, 10099, 273, 761, 18, 588, 16151, 2932, 2455, 2799, 15388, 6575, 8863, 5411, 368, 309, 761, 1914, 3229, 2831, 16320, 16, 2562, 28640, 5411, 368, 2477, 5411, 1250, 3309, 812, 273, 629, 31, 5411, 8539, 8526, 777, 16151, 273, 761, 18, 588, 16151, 5621, 5411, 364, 261, 474, 277, 273, 374, 16, 585, 1883, 273, 374, 31, 261, 77, 411, 777, 16151, 18, 2469, 13, 10792, 597, 401, 7027, 812, 31, 277, 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, 666, 5775, 16320, 1435, 1216, 1860, 565, 288, 3639, 19300, 2289, 596, 273, 21442, 18, 588, 1182, 5621, 3639, 9984, 590, 273, 261, 2940, 18572, 13, 21442, 7734, 263, 588, 691, 5621, 3639, 596, 18, 1188, 2932, 32, 2121, 5689, 33, 5693, 667, 5189, 23667, 1388, 2412, 4438, 313, 2984, 1769, 3639, 596, 7734, 263, 8222, 2932, 32, 4465, 667, 33, 16728, 1999, 8321, 914, 4438, 52, 4438, 9110, 34, 2697, 316, 1220, 4342, 19814, 9110, 4695, 52, 2984, 1769, 3639, 8539, 8526, 11408, 273, 761, 18, 588, 16151, 2932, 24685, 1013, 8863, 3639, 309, 261, 22773, 18, 2469, 422, 374, 13, 3639, 288, 5411, 596, 18, 8222, 2932, 32, 52, 34, 9828, 854, 1158, 1390, 2 ]
HttpServletRequest request = ( HttpServletRequest ) runOptions
HttpServletRequest request = (HttpServletRequest) runOptions
public String runReport( IViewerReportDesignHandle design, String outputDocName, InputOptions runOptions, Map parameters ) throws ReportServiceException { IReportRunnable runnable; String reportDesignName = design.getFileName( ); HttpServletRequest request = ( HttpServletRequest ) runOptions .getOption( InputOptions.OPT_REQUEST ); Locale locale = ( Locale ) runOptions .getOption( InputOptions.OPT_LOCALE ); try { runnable = ReportEngineService.getInstance( ).openReportDesign( reportDesignName ); } catch ( EngineException e ) { throw new ReportServiceException( e.getLocalizedMessage( ) ); } Map parsedParams = getParsedParameters( design, runOptions, parameters ); try { ReportEngineService.getInstance( ).runReport( request, runnable, outputDocName, locale, ( HashMap ) parsedParams ); } catch ( RemoteException e ) { e.printStackTrace( ); throw new ReportServiceException( e.getLocalizedMessage( ) ); } return outputDocName; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/4f2d0a24ff9ec8881defea107bb54374df18cb9c/BirtViewerReportService.java/buggy/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, 514, 1086, 4820, 12, 467, 18415, 4820, 15478, 3259, 8281, 16, 1082, 202, 780, 876, 1759, 461, 16, 2741, 1320, 1086, 1320, 16, 1635, 1472, 262, 1082, 202, 15069, 8706, 15133, 202, 95, 202, 202, 45, 4820, 20013, 14685, 31, 202, 202, 780, 2605, 15478, 461, 273, 8281, 18, 588, 4771, 12, 11272, 202, 202, 2940, 18572, 590, 273, 261, 9984, 262, 1086, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 11272, 202, 202, 3916, 2573, 273, 261, 6458, 262, 1086, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 25368, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 2681, 6914, 273, 8706, 4410, 1179, 18, 588, 1442, 12, 262, 18, 3190, 4820, 15478, 12, 6862, 202, 6006, 15478, 461, 11272, 202, 202, 97, 202, 202, 14683, 261, 10507, 503, 425, 262, 202, 202, 95, 1082, 202, 12849, 394, 8706, 15133, 12, 425, 18, 588, 2042, 1235, 1079, 12, 262, 11272, 202, 202, 97, 202, 202, 863, 2707, 1370, 273, 25406, 2402, 12, 8281, 16, 1086, 1320, 16, 1472, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 4820, 4410, 1179, 18, 588, 1442, 12, 262, 18, 2681, 4820, 12, 590, 16, 14685, 16, 6862, 202, 2844, 1759, 461, 16, 2573, 16, 261, 4317, 262, 2707, 1370, 11272, 202, 202, 97, 202, 202, 14683, 261, 18361, 425, 262, 202, 202, 95, 1082, 202, 73, 18, 1188, 6332, 12, 11272, 1082, 202, 12849, 394, 8706, 15133, 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, 1086, 4820, 12, 467, 18415, 4820, 15478, 3259, 8281, 16, 1082, 202, 780, 876, 1759, 461, 16, 2741, 1320, 1086, 1320, 16, 1635, 1472, 262, 1082, 202, 15069, 8706, 15133, 202, 95, 202, 202, 45, 4820, 20013, 14685, 31, 202, 202, 780, 2605, 15478, 461, 273, 8281, 18, 588, 4771, 12, 11272, 202, 202, 2940, 18572, 590, 273, 261, 9984, 262, 1086, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 11272, 202, 202, 3916, 2573, 273, 261, 6458, 262, 1086, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 25368, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 2681, 6914, 273, 8706, 4410, 1179, 18, 588, 2 ]
return (AdjustmentListener[]) adjustmentListenerList.getListenerList();
return (AdjustmentListener[]) listenerList.getListeners(AdjustmentListener.class);
public AdjustmentListener[] getAdjustmentListeners() { return (AdjustmentListener[]) adjustmentListenerList.getListenerList(); }
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/14511e3ad21013e92c6399b2bd2ec09a8263e33a/JScrollBar.java/buggy/libjava/javax/swing/JScrollBar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 17720, 475, 2223, 8526, 336, 19985, 5583, 1435, 225, 288, 565, 327, 261, 19985, 2223, 63, 5717, 2991, 682, 18, 588, 5583, 12, 19985, 2223, 18, 1106, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 17720, 475, 2223, 8526, 336, 19985, 5583, 1435, 225, 288, 565, 327, 261, 19985, 2223, 63, 5717, 2991, 682, 18, 588, 5583, 12, 19985, 2223, 18, 1106, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return (EReference) chartEClass.getEStructuralFeatures().get(12);
return (EReference) chartEClass.getEStructuralFeatures().get(11);
public EReference getChart_SampleData() { return (EReference) chartEClass.getEStructuralFeatures().get(12); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/869b9dc91ef4dd13d07f589c6394484a744642f0/ModelPackageImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/impl/ModelPackageImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 512, 2404, 336, 7984, 67, 8504, 751, 1435, 565, 288, 3639, 327, 261, 41, 2404, 13, 4980, 5720, 18, 588, 41, 14372, 8696, 7675, 588, 12, 2499, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 512, 2404, 336, 7984, 67, 8504, 751, 1435, 565, 288, 3639, 327, 261, 41, 2404, 13, 4980, 5720, 18, 588, 41, 14372, 8696, 7675, 588, 12, 2499, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
EquipmentType.addType(createCLPROLRM5Ammo());
public static void initializeTypes() { // all level 1 ammo EquipmentType.addType(createISAC2Ammo()); EquipmentType.addType(createISAC5Ammo()); EquipmentType.addType(createISAC10Ammo()); EquipmentType.addType(createISAC20Ammo()); EquipmentType.addType(createISVehicleFlamerAmmo()); EquipmentType.addType(createISMGAmmo()); EquipmentType.addType(createISMGAmmoHalf()); EquipmentType.addType(createISLRM5Ammo()); EquipmentType.addType(createISLRM10Ammo()); EquipmentType.addType(createISLRM15Ammo()); EquipmentType.addType(createISLRM20Ammo()); EquipmentType.addType(createISSRM2Ammo()); EquipmentType.addType(createISSRM4Ammo()); EquipmentType.addType(createISSRM6Ammo()); // Start of Level2 Ammo EquipmentType.addType(createISSRM2InfernoAmmo()); EquipmentType.addType(createISSRM4InfernoAmmo()); EquipmentType.addType(createISSRM6InfernoAmmo()); EquipmentType.addType(createISSRM2FragAmmo()); EquipmentType.addType(createISSRM4FragAmmo()); EquipmentType.addType(createISSRM6FragAmmo()); EquipmentType.addType(createISLB2XAmmo()); EquipmentType.addType(createISLB5XAmmo()); EquipmentType.addType(createISLB10XAmmo()); EquipmentType.addType(createISLB20XAmmo()); EquipmentType.addType(createISLB2XClusterAmmo()); EquipmentType.addType(createISLB5XClusterAmmo()); EquipmentType.addType(createISLB10XClusterAmmo()); EquipmentType.addType(createISLB20XClusterAmmo()); EquipmentType.addType(createISUltra2Ammo()); EquipmentType.addType(createISUltra5Ammo()); EquipmentType.addType(createISUltra10Ammo()); EquipmentType.addType(createISUltra20Ammo()); EquipmentType.addType(createISRotary2Ammo()); EquipmentType.addType(createISRotary5Ammo()); EquipmentType.addType(createISPrecision2Ammo()); EquipmentType.addType(createISPrecision5Ammo()); EquipmentType.addType(createISPrecision10Ammo()); EquipmentType.addType(createISPrecision20Ammo()); EquipmentType.addType(createISArmorPiercing2Ammo()); EquipmentType.addType(createISArmorPiercing5Ammo()); EquipmentType.addType(createISArmorPiercing10Ammo()); EquipmentType.addType(createISArmorPiercing20Ammo()); EquipmentType.addType(createISFlechette2Ammo()); EquipmentType.addType(createISFlechette5Ammo()); EquipmentType.addType(createISFlechette10Ammo()); EquipmentType.addType(createISFlechette20Ammo()); EquipmentType.addType(createISGaussAmmo()); EquipmentType.addType(createISLTGaussAmmo()); EquipmentType.addType(createISHVGaussAmmo()); EquipmentType.addType(createISStreakSRM2Ammo()); EquipmentType.addType(createISStreakSRM4Ammo()); EquipmentType.addType(createISStreakSRM6Ammo()); EquipmentType.addType(createISMRM10Ammo()); EquipmentType.addType(createISMRM20Ammo()); EquipmentType.addType(createISMRM30Ammo()); EquipmentType.addType(createISMRM40Ammo()); EquipmentType.addType(createISAMSAmmo()); EquipmentType.addType(createISNarcAmmo()); EquipmentType.addType(createISNarcExplosiveAmmo()); EquipmentType.addType(createISFragLRM5Ammo()); EquipmentType.addType(createISFragLRM10Ammo()); EquipmentType.addType(createISFragLRM15Ammo()); EquipmentType.addType(createISFragLRM20Ammo()); EquipmentType.addType(createISThunderLRM5Ammo()); EquipmentType.addType(createISThunderLRM10Ammo()); EquipmentType.addType(createISThunderLRM15Ammo()); EquipmentType.addType(createISThunderLRM20Ammo()); EquipmentType.addType(createISThunderAugmentedLRM5Ammo()); EquipmentType.addType(createISThunderAugmentedLRM10Ammo()); EquipmentType.addType(createISThunderAugmentedLRM15Ammo()); EquipmentType.addType(createISThunderAugmentedLRM20Ammo()); EquipmentType.addType(createISThunderInfernoLRM5Ammo()); EquipmentType.addType(createISThunderInfernoLRM10Ammo()); EquipmentType.addType(createISThunderInfernoLRM15Ammo()); EquipmentType.addType(createISThunderInfernoLRM20Ammo()); EquipmentType.addType(createISThunderActiveLRM5Ammo()); EquipmentType.addType(createISThunderActiveLRM10Ammo()); EquipmentType.addType(createISThunderActiveLRM15Ammo()); EquipmentType.addType(createISThunderActiveLRM20Ammo()); EquipmentType.addType(createISThunderVibraLRM5Ammo()); EquipmentType.addType(createISThunderVibraLRM10Ammo()); EquipmentType.addType(createISThunderVibraLRM15Ammo()); EquipmentType.addType(createISThunderVibraLRM20Ammo()); EquipmentType.addType(createCLLB2XAmmo()); EquipmentType.addType(createCLLB5XAmmo()); EquipmentType.addType(createCLLB10XAmmo()); EquipmentType.addType(createCLLB20XAmmo()); EquipmentType.addType(createCLLB2XClusterAmmo()); EquipmentType.addType(createCLLB5XClusterAmmo()); EquipmentType.addType(createCLLB10XClusterAmmo()); EquipmentType.addType(createCLLB20XClusterAmmo()); EquipmentType.addType(createCLUltra2Ammo()); EquipmentType.addType(createCLUltra5Ammo()); EquipmentType.addType(createCLUltra10Ammo()); EquipmentType.addType(createCLUltra20Ammo()); EquipmentType.addType(createCLGaussAmmo()); EquipmentType.addType(createCLSRM2InfernoAmmo()); EquipmentType.addType(createCLSRM4InfernoAmmo()); EquipmentType.addType(createCLSRM6InfernoAmmo()); EquipmentType.addType(createCLSRM2FragAmmo()); EquipmentType.addType(createCLSRM4FragAmmo()); EquipmentType.addType(createCLSRM6FragAmmo()); EquipmentType.addType(createCLStreakSRM2Ammo()); EquipmentType.addType(createCLStreakSRM4Ammo()); EquipmentType.addType(createCLStreakSRM6Ammo()); EquipmentType.addType(createCLVehicleFlamerAmmo()); EquipmentType.addType(createCLMGAmmo()); EquipmentType.addType(createCLMGAmmoHalf()); EquipmentType.addType(createCLHeavyMGAmmo()); EquipmentType.addType(createCLHeavyMGAmmoHalf()); EquipmentType.addType(createCLLightMGAmmo()); EquipmentType.addType(createCLLightMGAmmoHalf()); EquipmentType.addType(createCLLRM5Ammo()); EquipmentType.addType(createCLLRM10Ammo()); EquipmentType.addType(createCLLRM15Ammo()); EquipmentType.addType(createCLLRM20Ammo()); EquipmentType.addType(createCLSRM2Ammo()); EquipmentType.addType(createCLSRM4Ammo()); EquipmentType.addType(createCLSRM6Ammo()); EquipmentType.addType(createCLAMSAmmo()); EquipmentType.addType(createCLNarcAmmo()); EquipmentType.addType(createCLNarcExplosiveAmmo()); EquipmentType.addType(createCLATM3Ammo()); EquipmentType.addType(createCLATM3ERAmmo()); EquipmentType.addType(createCLATM3HEAmmo()); EquipmentType.addType(createCLATM6Ammo()); EquipmentType.addType(createCLATM6ERAmmo()); EquipmentType.addType(createCLATM6HEAmmo()); EquipmentType.addType(createCLATM9Ammo()); EquipmentType.addType(createCLATM9ERAmmo()); EquipmentType.addType(createCLATM9HEAmmo()); EquipmentType.addType(createCLATM12Ammo()); EquipmentType.addType(createCLATM12ERAmmo()); EquipmentType.addType(createCLATM12HEAmmo()); EquipmentType.addType(createCLFragLRM5Ammo()); EquipmentType.addType(createCLFragLRM10Ammo()); EquipmentType.addType(createCLFragLRM15Ammo()); EquipmentType.addType(createCLFragLRM20Ammo()); EquipmentType.addType(createCLThunderLRM5Ammo()); EquipmentType.addType(createCLThunderLRM10Ammo()); EquipmentType.addType(createCLThunderLRM15Ammo()); EquipmentType.addType(createCLThunderLRM20Ammo()); EquipmentType.addType(createCLThunderAugmentedLRM5Ammo()); EquipmentType.addType(createCLThunderAugmentedLRM10Ammo()); EquipmentType.addType(createCLThunderAugmentedLRM15Ammo()); EquipmentType.addType(createCLThunderAugmentedLRM20Ammo()); EquipmentType.addType(createCLThunderInfernoLRM5Ammo()); EquipmentType.addType(createCLThunderInfernoLRM10Ammo()); EquipmentType.addType(createCLThunderInfernoLRM15Ammo()); EquipmentType.addType(createCLThunderInfernoLRM20Ammo()); EquipmentType.addType(createCLThunderActiveLRM5Ammo()); EquipmentType.addType(createCLThunderActiveLRM10Ammo()); EquipmentType.addType(createCLThunderActiveLRM15Ammo()); EquipmentType.addType(createCLThunderActiveLRM20Ammo()); EquipmentType.addType(createCLThunderVibraLRM5Ammo()); EquipmentType.addType(createCLThunderVibraLRM10Ammo()); EquipmentType.addType(createCLThunderVibraLRM15Ammo()); EquipmentType.addType(createCLThunderVibraLRM20Ammo()); // Start of BattleArmor ammo EquipmentType.addType( createBASRM2Ammo() ); EquipmentType.addType( createBASRM2OSAmmo() ); EquipmentType.addType( createBAInfernoSRMAmmo() ); EquipmentType.addType( createBAAdvancedSRM2Ammo() ); EquipmentType.addType( createBAMicroBombAmmo() ); EquipmentType.addType( createCLTorpedoLRM5Ammo() ); EquipmentType.addType( createFenrirSRM4Ammo() ); EquipmentType.addType( createBACompactNarcAmmo() ); EquipmentType.addType( createBAMineLauncherAmmo() ); EquipmentType.addType( createBALRM5Ammo() ); //Protomech ammo EquipmentType.addType(createCLPROSRM1Ammo()); EquipmentType.addType(createCLPROStreakSRM1Ammo()); EquipmentType.addType(createCLPROSRM2Ammo()); EquipmentType.addType(createCLPROStreakSRM2Ammo()); EquipmentType.addType(createCLPROSRM3Ammo()); EquipmentType.addType(createCLPROStreakSRM3Ammo()); EquipmentType.addType(createCLPROSRM4Ammo()); EquipmentType.addType(createCLPROStreakSRM4Ammo()); EquipmentType.addType(createCLPROSRM5Ammo()); EquipmentType.addType(createCLPROStreakSRM5Ammo()); EquipmentType.addType(createCLPROSRM6Ammo()); EquipmentType.addType(createCLPROStreakSRM6Ammo()); EquipmentType.addType(createCLPROLRM1Ammo()); EquipmentType.addType(createCLPROLRM2Ammo()); EquipmentType.addType(createCLPROLRM3Ammo()); EquipmentType.addType(createCLPROLRM4Ammo()); EquipmentType.addType(createCLPROLRM5Ammo()); EquipmentType.addType(createCLPROLRM6Ammo()); EquipmentType.addType(createCLPROLRM7Ammo()); EquipmentType.addType(createCLPROLRM8Ammo()); EquipmentType.addType(createCLPROLRM9Ammo()); EquipmentType.addType(createCLPROLRM10Ammo()); EquipmentType.addType(createCLPROLRM11Ammo()); EquipmentType.addType(createCLPROLRM12Ammo()); EquipmentType.addType(createCLPROLRM13Ammo()); EquipmentType.addType(createCLPROLRM14Ammo()); EquipmentType.addType(createCLPROLRM15Ammo()); EquipmentType.addType(createCLPROLRM16Ammo()); EquipmentType.addType(createCLPROLRM17Ammo()); EquipmentType.addType(createCLPROLRM18Ammo()); EquipmentType.addType(createCLPROLRM19Ammo()); EquipmentType.addType(createCLPROLRM20Ammo()); // cache types that share a launcher for loadout purposes for (Enumeration e = EquipmentType.getAllTypes(); e.hasMoreElements(); ) { EquipmentType et = (EquipmentType)e.nextElement(); if (! (et instanceof AmmoType)) { continue; } AmmoType at = (AmmoType)et; int nType = at.getAmmoType(); if (m_vaMunitions[nType] == null) { m_vaMunitions[nType] = new Vector(); } m_vaMunitions[nType].addElement(at); } }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/b1d0ea6e6c07ca159a081e27be6997b0b2d63d48/AmmoType.java/clean/megamek/src/megamek/common/AmmoType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 4046, 2016, 1435, 288, 3639, 368, 777, 1801, 404, 2125, 8683, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 5127, 2226, 22, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 5127, 2226, 25, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 5127, 2226, 2163, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 5127, 2226, 3462, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 5127, 58, 73, 18870, 2340, 24458, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 5127, 49, 25043, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 5127, 49, 25043, 7020, 83, 16168, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 45, 4559, 8717, 25, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 45, 4559, 8717, 2163, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 45, 4559, 8717, 3600, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 45, 4559, 8717, 3462, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 25689, 8717, 22, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 25689, 8717, 24, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 25689, 8717, 26, 37, 7020, 83, 10663, 3639, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 4046, 2016, 1435, 288, 3639, 368, 777, 1801, 404, 2125, 8683, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 5127, 2226, 22, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 5127, 2226, 25, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 5127, 2226, 2163, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 5127, 2226, 3462, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 5127, 58, 73, 18870, 2340, 24458, 37, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 559, 12, 2640, 5127, 49, 25043, 7020, 83, 10663, 3639, 19008, 11568, 559, 18, 1289, 2 ]
throw new CoreException( LauncherUtils .createErrorStatus( Messages.getString("ReportLaunchConfigurationDelegate.badFeatureSetup") ) ); } else
throw new CoreException( LauncherUtils.createErrorStatus( Messages.getString( "ReportLaunchConfigurationDelegate.badFeatureSetup" ) ) ); } else
private void validateFeatures( ) throws CoreException { IPath installPath = PDEPlugin.getWorkspace( ).getRoot( ).getLocation( ); String lastSegment = installPath.lastSegment( ); boolean badStructure = lastSegment == null; if ( !badStructure ) { IPath featuresPath = installPath.removeLastSegments( 1 ).append( "features" ); //$NON-NLS-1$ badStructure = !lastSegment.equalsIgnoreCase( "plugins" ) //$NON-NLS-1$ || !featuresPath.toFile( ).exists( ); } if ( badStructure ) { throw new CoreException( LauncherUtils .createErrorStatus( Messages.getString("ReportLaunchConfigurationDelegate.badFeatureSetup") ) ); //$NON-NLS-1$ } else { ensureProductFilesExist( getProductPath( ) ); return; } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/93f83d28c012c9318e61bf947b01279cec0512a3/ReportLaunchConfigurationDelegate.java/clean/UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/ui/launcher/ReportLaunchConfigurationDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1954, 8696, 12, 262, 1216, 30015, 202, 95, 202, 202, 45, 743, 3799, 743, 273, 453, 1639, 3773, 18, 588, 8241, 12, 262, 18, 588, 2375, 12, 262, 18, 588, 2735, 12, 11272, 202, 202, 780, 1142, 4131, 273, 3799, 743, 18, 2722, 4131, 12, 11272, 202, 202, 6494, 5570, 6999, 273, 1142, 4131, 422, 446, 31, 202, 202, 430, 261, 401, 8759, 6999, 262, 202, 202, 95, 1082, 202, 45, 743, 4467, 743, 273, 3799, 743, 18, 4479, 3024, 7946, 12, 404, 262, 18, 6923, 12, 6862, 202, 6, 7139, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 8759, 6999, 273, 401, 2722, 4131, 18, 14963, 5556, 12, 315, 8057, 6, 262, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 20081, 401, 7139, 743, 18, 869, 812, 12, 262, 18, 1808, 12, 11272, 202, 202, 97, 202, 202, 430, 261, 5570, 6999, 262, 202, 202, 95, 1082, 202, 12849, 394, 30015, 12, 6862, 202, 28820, 1989, 6862, 1082, 202, 18, 2640, 668, 1482, 12, 4838, 18, 588, 780, 2932, 4820, 9569, 1750, 9586, 18, 8759, 4595, 7365, 7923, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 469, 202, 202, 95, 1082, 202, 15735, 4133, 2697, 4786, 12, 15880, 743, 12, 262, 11272, 1082, 202, 2463, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1954, 8696, 12, 262, 1216, 30015, 202, 95, 202, 202, 45, 743, 3799, 743, 273, 453, 1639, 3773, 18, 588, 8241, 12, 262, 18, 588, 2375, 12, 262, 18, 588, 2735, 12, 11272, 202, 202, 780, 1142, 4131, 273, 3799, 743, 18, 2722, 4131, 12, 11272, 202, 202, 6494, 5570, 6999, 273, 1142, 4131, 422, 446, 31, 202, 202, 430, 261, 401, 8759, 6999, 262, 202, 202, 95, 1082, 202, 45, 743, 4467, 743, 273, 3799, 743, 18, 4479, 3024, 7946, 12, 404, 262, 18, 6923, 12, 6862, 202, 6, 7139, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 8759, 6999, 273, 401, 2722, 4131, 18, 14963, 5556, 12, 315, 8057, 6, 2 ]
public boolean parse(boolean complete) throws XNIException, IOException { // // reset and configure pipeline and set InputSource. if (fInputSource !=null) { try { fVersionDetector.reset(this); reset(); short version = fVersionDetector.determineDocVersion(fInputSource); if (version == Constants.XML_VERSION_1_1){ // XML 1.1 pipeline configureXML11Pipeline(); } // resets and sets the pipeline. fVersionDetector.startDocumentParsing((XMLEntityHandler)fScanner, version); fInputSource = null; } catch (XNIException ex) { if (PRINT_EXCEPTION_STACK_TRACE) ex.printStackTrace(); throw ex; } catch (IOException ex) { if (PRINT_EXCEPTION_STACK_TRACE) ex.printStackTrace(); throw ex; } catch (RuntimeException ex) { if (PRINT_EXCEPTION_STACK_TRACE) ex.printStackTrace(); throw ex; } catch (Exception ex) { if (PRINT_EXCEPTION_STACK_TRACE) ex.printStackTrace(); throw new XNIException(ex); } } try { return fScanner.scanDocument(complete); } catch (XNIException ex) { if (PRINT_EXCEPTION_STACK_TRACE) ex.printStackTrace(); throw ex; } catch (IOException ex) { if (PRINT_EXCEPTION_STACK_TRACE) ex.printStackTrace(); throw ex; } catch (RuntimeException ex) { if (PRINT_EXCEPTION_STACK_TRACE) ex.printStackTrace(); throw ex; } catch (Exception ex) { if (PRINT_EXCEPTION_STACK_TRACE) ex.printStackTrace(); throw new XNIException(ex); } } // parse(boolean):boolean
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/44d8a61f164c932e3dc2a95d99434a589c1eec56/XML11Configuration.java/clean/src/org/apache/xerces/parsers/XML11Configuration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1109, 12, 6494, 3912, 13, 1216, 1139, 50, 45, 503, 16, 1860, 288, 7734, 368, 3639, 368, 2715, 471, 5068, 5873, 471, 444, 23699, 18, 3639, 309, 261, 74, 1210, 1830, 480, 2011, 13, 288, 5411, 775, 288, 7734, 284, 1444, 12594, 18, 6208, 12, 2211, 1769, 7734, 2715, 5621, 7734, 3025, 1177, 273, 284, 1444, 12594, 18, 24661, 1759, 1444, 12, 74, 1210, 1830, 1769, 7734, 309, 261, 1589, 422, 5245, 18, 4201, 67, 5757, 67, 21, 67, 21, 15329, 10792, 368, 3167, 404, 18, 21, 5873, 10792, 5068, 4201, 2499, 8798, 5621, 7734, 289, 7734, 368, 20063, 471, 1678, 326, 5873, 18, 7734, 284, 1444, 12594, 18, 1937, 2519, 13963, 12443, 60, 9687, 1628, 1503, 13, 74, 11338, 16, 1177, 1769, 7734, 284, 1210, 1830, 273, 446, 31, 5411, 289, 2398, 1044, 261, 60, 50, 45, 503, 431, 13, 288, 7734, 309, 261, 19350, 67, 12658, 67, 21971, 67, 23827, 13, 10792, 431, 18, 1188, 6332, 5621, 7734, 604, 431, 31, 5411, 289, 2398, 1044, 261, 14106, 431, 13, 288, 7734, 309, 261, 19350, 67, 12658, 67, 21971, 67, 23827, 13, 10792, 431, 18, 1188, 6332, 5621, 7734, 604, 431, 31, 5411, 289, 2398, 1044, 261, 11949, 431, 13, 288, 7734, 309, 261, 19350, 67, 12658, 67, 21971, 67, 23827, 13, 10792, 431, 18, 1188, 6332, 5621, 7734, 604, 431, 31, 5411, 289, 5411, 1044, 261, 503, 431, 13, 288, 7734, 309, 261, 19350, 67, 12658, 67, 21971, 67, 23827, 13, 10792, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1109, 12, 6494, 3912, 13, 1216, 1139, 50, 45, 503, 16, 1860, 288, 7734, 368, 3639, 368, 2715, 471, 5068, 5873, 471, 444, 23699, 18, 3639, 309, 261, 74, 1210, 1830, 480, 2011, 13, 288, 5411, 775, 288, 7734, 284, 1444, 12594, 18, 6208, 12, 2211, 1769, 7734, 2715, 5621, 7734, 3025, 1177, 273, 284, 1444, 12594, 18, 24661, 1759, 1444, 12, 74, 1210, 1830, 1769, 7734, 309, 261, 1589, 422, 5245, 18, 4201, 67, 5757, 67, 21, 67, 21, 15329, 10792, 368, 3167, 404, 18, 21, 5873, 10792, 5068, 4201, 2499, 8798, 5621, 7734, 289, 7734, 368, 20063, 471, 1678, 326, 5873, 18, 7734, 284, 1444, 12594, 18, 1937, 2519, 13963, 12443, 60, 9687, 1628, 2 ]
public UTF8String(String s) throws CharConversionException { super(s);
public UTF8String(char[] chars) throws CharConversionException { super(chars);
public UTF8String(String s) throws CharConversionException { super(s); }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/3634d4d94b208431471fe506f413f97d460c7602/UTF8String.java/buggy/security/jss/org/mozilla/jss/asn1/UTF8String.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6380, 28, 780, 12, 780, 272, 13, 1216, 3703, 6814, 503, 288, 3639, 2240, 12, 87, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 1071, 6380, 28, 780, 12, 780, 272, 13, 1216, 3703, 6814, 503, 288, 3639, 2240, 12, 87, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (logger.isDebugEnabled())
if (logger.isDebugEnabled()) {
protected Collection getTasksWithoutPEs (Collection tasks) { Set tasksWithoutPEs = new HashSet(); for (Iterator iter = tasks.iterator(); iter.hasNext(); ) { Task task = (Task) iter.next(); if (task.getPlanElement() != null) { if (logger.isDebugEnabled()) logger.debug (getMyOrganization() + " - found task that already had a p.e. attached? : " + task.getUID() + " - so skipping it."); } else { tasksWithoutPEs.add (task); } } return tasksWithoutPEs; }
11319 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11319/70544843d760459a50542b13dba37f24805d5bdd/InventoryPlugin.java/buggy/bbn/src/org/cougaar/logistics/plugin/inventory/InventoryPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 2200, 336, 6685, 8073, 1423, 87, 261, 2532, 4592, 13, 288, 565, 1000, 4592, 8073, 1423, 87, 273, 394, 6847, 5621, 565, 364, 261, 3198, 1400, 273, 4592, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 288, 1377, 3837, 1562, 273, 261, 2174, 13, 1400, 18, 4285, 5621, 202, 1377, 309, 261, 4146, 18, 588, 5365, 1046, 1435, 480, 446, 13, 288, 202, 430, 261, 4901, 18, 291, 2829, 1526, 10756, 202, 225, 1194, 18, 4148, 261, 588, 12062, 8113, 1435, 397, 315, 300, 1392, 1562, 716, 1818, 9323, 279, 293, 18, 73, 18, 7495, 35, 294, 315, 397, 1875, 202, 4146, 18, 588, 3060, 1435, 397, 315, 300, 1427, 14195, 518, 1199, 1769, 1377, 289, 1377, 469, 288, 202, 9416, 8073, 1423, 87, 18, 1289, 261, 4146, 1769, 1377, 289, 565, 289, 565, 327, 4592, 8073, 1423, 87, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 4750, 2200, 336, 6685, 8073, 1423, 87, 261, 2532, 4592, 13, 288, 565, 1000, 4592, 8073, 1423, 87, 273, 394, 6847, 5621, 565, 364, 261, 3198, 1400, 273, 4592, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 288, 1377, 3837, 1562, 273, 261, 2174, 13, 1400, 18, 4285, 5621, 202, 1377, 309, 261, 4146, 18, 588, 5365, 1046, 1435, 480, 446, 13, 288, 202, 430, 261, 4901, 18, 291, 2829, 1526, 10756, 202, 225, 1194, 18, 4148, 261, 588, 12062, 8113, 1435, 397, 315, 300, 1392, 1562, 716, 1818, 9323, 279, 293, 18, 73, 18, 7495, 35, 294, 315, 397, 1875, 202, 4146, 18, 588, 3060, 1435, 397, 315, 300, 1427, 14195, 518, 1199, 1769, 1377, 289, 2 ]
if(failonerror)
if(failonerror) {
protected void removeDir(File d) { String[] list = d.list(); if (list == null) list = new String[0]; for (int i = 0; i < list.length; i++) { String s = list[i]; File f = new File(d, s); if (f.isDirectory()) { removeDir(f); } else { log("Deleting " + f.getAbsolutePath(), verbosity); if (!f.delete()) { String message="Unable to delete file " + f.getAbsolutePath(); if(failonerror) throw new BuildException(message); else log(message, quiet ? Project.MSG_VERBOSE : Project.MSG_WARN); } } } log("Deleting directory " + d.getAbsolutePath(), verbosity); if (!d.delete()) { String message="Unable to delete directory " + dir.getAbsolutePath(); if(failonerror) throw new BuildException(message); else log(message, quiet ? Project.MSG_VERBOSE : Project.MSG_WARN); } }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/130315b576401682fedfa9655c790b8380955177/Delete.java/buggy/src/main/org/apache/tools/ant/taskdefs/Delete.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1206, 1621, 12, 812, 302, 13, 288, 3639, 514, 8526, 666, 273, 302, 18, 1098, 5621, 3639, 309, 261, 1098, 422, 446, 13, 666, 273, 394, 514, 63, 20, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 666, 18, 2469, 31, 277, 27245, 288, 5411, 514, 272, 273, 666, 63, 77, 15533, 5411, 1387, 284, 273, 394, 1387, 12, 72, 16, 272, 1769, 5411, 309, 261, 74, 18, 291, 2853, 10756, 288, 7734, 1206, 1621, 12, 74, 1769, 5411, 289, 469, 288, 7734, 613, 2932, 20433, 315, 397, 284, 18, 588, 10368, 743, 9334, 11561, 1769, 7734, 309, 16051, 74, 18, 3733, 10756, 288, 10792, 514, 883, 1546, 3370, 358, 1430, 585, 315, 397, 284, 18, 588, 10368, 743, 5621, 10792, 309, 12, 6870, 265, 1636, 13, 288, 13491, 604, 394, 18463, 12, 2150, 1769, 10792, 469, 13491, 613, 12, 2150, 16, 18701, 10902, 692, 5420, 18, 11210, 67, 21900, 294, 5420, 18, 11210, 67, 27999, 1769, 7734, 289, 5411, 289, 3639, 289, 3639, 613, 2932, 20433, 1867, 315, 397, 302, 18, 588, 10368, 743, 9334, 11561, 1769, 3639, 309, 16051, 72, 18, 3733, 10756, 288, 5411, 514, 883, 1546, 3370, 358, 1430, 1867, 315, 397, 1577, 18, 588, 10368, 743, 5621, 5411, 309, 12, 6870, 265, 1636, 13, 288, 7734, 604, 394, 18463, 12, 2150, 1769, 5411, 469, 7734, 613, 12, 2150, 16, 10792, 10902, 692, 5420, 18, 11210, 67, 21900, 294, 5420, 18, 11210, 67, 27999, 1769, 3639, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1206, 1621, 12, 812, 302, 13, 288, 3639, 514, 8526, 666, 273, 302, 18, 1098, 5621, 3639, 309, 261, 1098, 422, 446, 13, 666, 273, 394, 514, 63, 20, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 666, 18, 2469, 31, 277, 27245, 288, 5411, 514, 272, 273, 666, 63, 77, 15533, 5411, 1387, 284, 273, 394, 1387, 12, 72, 16, 272, 1769, 5411, 309, 261, 74, 18, 291, 2853, 10756, 288, 7734, 1206, 1621, 12, 74, 1769, 5411, 289, 469, 288, 7734, 613, 2932, 20433, 315, 397, 284, 18, 588, 10368, 743, 9334, 11561, 1769, 7734, 309, 16051, 74, 18, 3733, 10756, 288, 10792, 514, 883, 1546, 3370, 358, 1430, 585, 315, 2 ]
deps.add(dep);
deps.add( dep );
public void assembleModelInheritance( Model child, Model parent ) { // Pom version if ( child.getModelVersion() == null ) { child.setModelVersion( parent.getModelVersion() ); } // Group id if ( child.getGroupId() == null ) { child.setGroupId( parent.getGroupId() ); } // artifactId if ( child.getArtifactId() == null ) { child.setArtifactId( parent.getArtifactId() ); } // name if ( child.getName() == null ) { child.setName( parent.getName() ); } // currentVersion if ( child.getVersion() == null ) { child.setVersion( parent.getVersion() ); } // inceptionYear if ( child.getInceptionYear() == null ) { child.setInceptionYear( parent.getInceptionYear() ); } // Name if ( child.getPackage() == null ) { child.setPackage( parent.getPackage() ); } // url if ( child.getUrl() == null ) { child.setUrl( parent.getUrl() ); } // ---------------------------------------------------------------------- // Distribution // ---------------------------------------------------------------------- if ( child.getDistributionManagement() == null ) { child.setDistributionManagement( parent.getDistributionManagement() ); } // issueManagement if ( child.getIssueManagement() == null ) { child.setIssueManagement( parent.getIssueManagement() ); } // Short description if ( child.getShortDescription() == null ) { child.setShortDescription( parent.getShortDescription() ); } // Short description if ( child.getDescription() == null ) { child.setDescription( parent.getDescription() ); } // Organization if ( child.getOrganization() == null ) { child.setOrganization( parent.getOrganization() ); } // Scm if ( parent.getScm() != null ) { Scm parentScm = parent.getScm(); Scm childScm = child.getScm(); if ( childScm == null ) { childScm = new Scm(); child.setScm( childScm ); } if ( StringUtils.isEmpty( childScm.getConnection() ) && !StringUtils.isEmpty( parentScm.getConnection() ) ) { childScm.setConnection( parentScm.getConnection() + "/" + child.getArtifactId() ); } if ( StringUtils.isEmpty( childScm.getDeveloperConnection() ) && !StringUtils.isEmpty( parentScm.getDeveloperConnection() ) ) { childScm.setDeveloperConnection( parentScm.getDeveloperConnection() + "/" + child.getArtifactId() ); } if ( StringUtils.isEmpty( childScm.getUrl() ) ) { childScm.setUrl( parentScm.getUrl() ); } if ( parentScm.getBranches() != null ) { childScm.getBranches().addAll( parentScm.getBranches() ); } } // ciManagement if ( child.getCiManagement() == null ) { child.setCiManagement( parent.getCiManagement() ); } // developers if ( child.getDevelopers().size() == 0 ) { child.setDevelopers( parent.getDevelopers() ); } // developers if ( child.getContributors().size() == 0 ) { child.setContributors( parent.getContributors() ); } // mailingLists if ( child.getMailingLists().size() == 0 ) { child.setMailingLists( parent.getMailingLists() ); } // reports if ( child.getReports().size() == 0 ) { child.setReports( parent.getReports() ); } // Build if ( child.getBuild() == null ) { child.setBuild( parent.getBuild() ); } else { // The build has been set but we want to step in here and fill in // values // that have not been set by the child. if ( child.getBuild().getDirectory() == null ) { child.getBuild().setDirectory( parent.getBuild().getDirectory() ); } if ( child.getBuild().getSourceDirectory() == null ) { child.getBuild().setSourceDirectory( parent.getBuild().getSourceDirectory() ); } if ( child.getBuild().getUnitTestSourceDirectory() == null ) { child.getBuild().setUnitTestSourceDirectory( parent.getBuild().getUnitTestSourceDirectory() ); } if ( child.getBuild().getAspectSourceDirectory() == null ) { child.getBuild().setAspectSourceDirectory( parent.getBuild().getAspectSourceDirectory() ); } if ( child.getBuild().getOutput() == null ) { child.getBuild().setOutput( parent.getBuild().getOutput() ); } if ( child.getBuild().getTestOutput() == null ) { child.getBuild().setTestOutput( parent.getBuild().getTestOutput() ); } List resources = child.getBuild().getResources(); if ( resources == null || resources.isEmpty() ) { child.getBuild().setResources( parent.getBuild().getResources() ); } if ( child.getBuild().getUnitTest() == null ) { child.getBuild().setUnitTest( parent.getBuild().getUnitTest() ); } else { if ( child.getBuild().getUnitTest().getIncludes().size() == 0 ) { child.getBuild().getUnitTest().setIncludes( parent.getBuild().getUnitTest().getIncludes() ); } if ( child.getBuild().getUnitTest().getExcludes().size() == 0 ) { child.getBuild().getUnitTest().setExcludes( parent.getBuild().getUnitTest().getExcludes() ); } List testResources = child.getBuild().getUnitTest().getResources(); if ( testResources == null || testResources.isEmpty() ) { child.getBuild().getUnitTest().setResources( parent.getBuild().getUnitTest().getResources() ); } } } // Dependencies :: aggregate List dependencies = parent.getDependencies(); for ( Iterator iterator = dependencies.iterator(); iterator.hasNext(); ) { Dependency dependency = (Dependency) iterator.next(); child.addDependency( dependency ); } // PreGoals :: aggregate List preGoals = parent.getPreGoals(); for ( Iterator iterator = preGoals.iterator(); iterator.hasNext(); ) { PreGoal preGoal = (PreGoal) iterator.next(); child.addPreGoal( preGoal ); } // PostGoals :: aggregate List postGoals = parent.getPostGoals(); for ( Iterator iterator = postGoals.iterator(); iterator.hasNext(); ) { PostGoal postGoal = (PostGoal) iterator.next(); child.addPostGoal( postGoal ); } // Repositories :: aggregate List parentRepositories = parent.getRepositories(); List childRepositories = child.getRepositories(); for ( Iterator iterator = parentRepositories.iterator(); iterator.hasNext(); ) { Repository repository = (Repository) iterator.next(); if ( !childRepositories.contains( repository ) ) { child.addRepository( repository ); } } // Plugins :: aggregate List parentPlugins = parent.getPlugins(); List childPlugins = child.getPlugins(); for ( Iterator iterator = parentPlugins.iterator(); iterator.hasNext(); ) { Plugin plugin = (Plugin) iterator.next(); if ( !childPlugins.contains( plugin ) ) { child.addPlugin( plugin ); } } DependencyManagement parentDepMgmt = parent.getDependencyManagement(); DependencyManagement childDepMgmt = child.getDependencyManagement(); if(parentDepMgmt != null) { if(childDepMgmt == null) { child.setDependencyManagement(parentDepMgmt); } else { List parentDeps = parentDepMgmt.getDependencies(); Map mappedParentDeps = new TreeMap(); for ( Iterator it = parentDeps.iterator(); it.hasNext(); ) { Dependency dep = (Dependency) it.next(); mappedParentDeps.put(dep.getManagementKey(), dep); } List deps = new ArrayList(parentDeps); for ( Iterator it = childDepMgmt.getDependencies().iterator(); it.hasNext(); ) { Dependency dep = (Dependency) it.next(); if(!mappedParentDeps.containsKey(dep.getManagementKey())) { deps.add(dep); } } childDepMgmt.setDependencies(deps); } } }
50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/2ce3a6cbde640081b1a8892e57498b24f5baa1ba/DefaultModelInheritanceAssembler.java/clean/maven-core/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19540, 1488, 28255, 12, 3164, 1151, 16, 3164, 982, 262, 565, 288, 3639, 368, 453, 362, 1177, 3639, 309, 261, 1151, 18, 588, 1488, 1444, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 1488, 1444, 12, 982, 18, 588, 1488, 1444, 1435, 11272, 3639, 289, 3639, 368, 3756, 612, 3639, 309, 261, 1151, 18, 588, 8722, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 8722, 12, 982, 18, 588, 8722, 1435, 11272, 3639, 289, 3639, 368, 25496, 3639, 309, 261, 1151, 18, 588, 7581, 548, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 7581, 548, 12, 982, 18, 588, 7581, 548, 1435, 11272, 3639, 289, 3639, 368, 508, 3639, 309, 261, 1151, 18, 17994, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 461, 12, 982, 18, 17994, 1435, 11272, 3639, 289, 3639, 368, 23344, 3639, 309, 261, 1151, 18, 588, 1444, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 1444, 12, 982, 18, 588, 1444, 1435, 11272, 3639, 289, 3639, 368, 316, 472, 5593, 3639, 309, 261, 1151, 18, 588, 382, 472, 5593, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 382, 472, 5593, 12, 982, 18, 588, 382, 472, 5593, 1435, 11272, 3639, 289, 3639, 368, 1770, 3639, 309, 261, 1151, 18, 588, 2261, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 2261, 12, 982, 18, 588, 2261, 1435, 11272, 3639, 289, 3639, 368, 880, 3639, 309, 261, 1151, 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, 19540, 1488, 28255, 12, 3164, 1151, 16, 3164, 982, 262, 565, 288, 3639, 368, 453, 362, 1177, 3639, 309, 261, 1151, 18, 588, 1488, 1444, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 1488, 1444, 12, 982, 18, 588, 1488, 1444, 1435, 11272, 3639, 289, 3639, 368, 3756, 612, 3639, 309, 261, 1151, 18, 588, 8722, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 8722, 12, 982, 18, 588, 8722, 1435, 11272, 3639, 289, 3639, 368, 25496, 3639, 309, 261, 1151, 18, 588, 7581, 548, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 7581, 548, 12, 982, 18, 588, 7581, 548, 1435, 11272, 3639, 289, 3639, 368, 508, 3639, 309, 2 ]
this(text, null);
this(null, null);
public JButton(String text) { this(text, null); }
1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/a2c27b4b7f5e40e3c628e2d02696215c612187ce/JButton.java/buggy/libjava/javax/swing/JButton.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 28804, 12, 780, 977, 13, 565, 288, 202, 2211, 12, 2011, 16, 446, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 28804, 12, 780, 977, 13, 565, 288, 202, 2211, 12, 2011, 16, 446, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
pushExpressions(query.getRowExpressions()); visitListBand(list.getDetail()); popExpressions();
pushExpressions( query.getRowExpressions( ) ); visitListBand( list.getDetail( ) ); popExpressions( );
public void visitListItem(ListItemDesign list) { BaseQueryDefinition query = prepareVisit(list); if (query == null) { visitListBand(list.getHeader()); visitListBand(list.getFooter()); } else { pushExpressions(query.getBeforeExpressions()); visitListBand(list.getHeader()); popExpressions(); SlotHandle groupsSlot = ((ListHandle) list.getHandle()) .getGroups(); for (int i = 0; i < list.getGroupCount(); i++) { handleListGroup(list.getGroup(i), (GroupHandle) groupsSlot .get(i)); } if (list.getDetail().getContentCount() != 0) { query.setUsesDetails(true); } pushExpressions(query.getRowExpressions()); visitListBand(list.getDetail()); popExpressions(); pushExpressions(query.getAfterExpressions()); visitListBand(list.getFooter()); popExpressions(); } finishVisit(query); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/457851dcc056d96f2ec05106ceba68d3c8f9162c/ReportQueryBuilder.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 3757, 13575, 12, 13575, 15478, 666, 13, 288, 1082, 202, 2171, 1138, 1852, 843, 273, 2911, 10432, 12, 1098, 1769, 1082, 202, 430, 261, 2271, 422, 446, 13, 288, 9506, 202, 11658, 682, 14231, 12, 1098, 18, 588, 1864, 10663, 9506, 202, 11658, 682, 14231, 12, 1098, 18, 588, 13787, 10663, 1082, 202, 97, 469, 288, 9506, 202, 6206, 8927, 12, 2271, 18, 588, 4649, 8927, 10663, 9506, 202, 11658, 682, 14231, 12, 1098, 18, 588, 1864, 10663, 9506, 202, 5120, 8927, 5621, 9506, 202, 8764, 3259, 3252, 8764, 273, 14015, 682, 3259, 13, 666, 18, 588, 3259, 10756, 25083, 202, 18, 588, 3621, 5621, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 666, 18, 588, 1114, 1380, 5621, 277, 27245, 288, 6862, 202, 4110, 682, 1114, 12, 1098, 18, 588, 1114, 12, 77, 3631, 261, 1114, 3259, 13, 3252, 8764, 6862, 1082, 202, 18, 588, 12, 77, 10019, 9506, 202, 97, 9506, 202, 430, 261, 1098, 18, 588, 6109, 7675, 588, 1350, 1380, 1435, 480, 374, 13, 288, 6862, 202, 2271, 18, 542, 15128, 3790, 12, 3767, 1769, 9506, 202, 97, 9506, 202, 6206, 8927, 12, 2271, 18, 588, 1999, 8927, 10663, 9506, 202, 11658, 682, 14231, 12, 1098, 18, 588, 6109, 10663, 9506, 202, 5120, 8927, 5621, 9506, 202, 6206, 8927, 12, 2271, 18, 588, 4436, 8927, 10663, 9506, 202, 11658, 682, 14231, 12, 1098, 18, 588, 13787, 10663, 9506, 202, 5120, 8927, 5621, 1082, 202, 97, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 3757, 13575, 12, 13575, 15478, 666, 13, 288, 1082, 202, 2171, 1138, 1852, 843, 273, 2911, 10432, 12, 1098, 1769, 1082, 202, 430, 261, 2271, 422, 446, 13, 288, 9506, 202, 11658, 682, 14231, 12, 1098, 18, 588, 1864, 10663, 9506, 202, 11658, 682, 14231, 12, 1098, 18, 588, 13787, 10663, 1082, 202, 97, 469, 288, 9506, 202, 6206, 8927, 12, 2271, 18, 588, 4649, 8927, 10663, 9506, 202, 11658, 682, 14231, 12, 1098, 18, 588, 1864, 10663, 9506, 202, 5120, 8927, 5621, 9506, 202, 8764, 3259, 3252, 8764, 273, 14015, 682, 3259, 13, 666, 18, 588, 3259, 10756, 25083, 202, 18, 588, 3621, 5621, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 2 ]
(verticalScrollBar != null)
(vsb != null)
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension viewportSize = viewport.getSize(); Dimension viewSize = viewport.getView().getSize(); int x1 = 0, x2 = 0, x3 = 0, x4 = 0; int y1 = 0, y2 = 0, y3 = 0, y4 = 0; x1 = scrollPaneBounds.x; y1 = scrollPaneBounds.y; x4 = scrollPaneBounds.x + scrollPaneBounds.width; y4 = scrollPaneBounds.y + scrollPaneBounds.height; if (columnHeader != null) y2 = columnHeader.getPreferredSize().height; else y2 = y1; if (rowHeader != null) x2 = rowHeader.getPreferredSize().width; else x2 = x1; int vsbPolicy = sc.getVerticalScrollBarPolicy(); int hsbPolicy = sc.getHorizontalScrollBarPolicy(); boolean showVsb = (verticalScrollBar != null) && ((vsbPolicy == VERTICAL_SCROLLBAR_ALWAYS) || (vsbPolicy == VERTICAL_SCROLLBAR_AS_NEEDED && viewSize.height > viewportSize.height)); boolean showHsb = (horizontalScrollBar != null) && ((hsbPolicy == HORIZONTAL_SCROLLBAR_ALWAYS) || (hsbPolicy == HORIZONTAL_SCROLLBAR_AS_NEEDED && viewSize.width > viewportSize.width)); if (showVsb) x3 = x4 - verticalScrollBar.getPreferredSize().width; else x3 = x4; if (showHsb) y3 = y4 - horizontalScrollBar.getPreferredSize().height; else y3 = y4; // now set the layout if (viewport != null) viewport.setBounds(new Rectangle(x2, y2, x3-x2, y3-y2)); if (columnHeader != null) columnHeader.setBounds(new Rectangle(x2, y1, x3-x2, y2-y1)); if (rowHeader != null) rowHeader.setBounds(new Rectangle(x1, y2, x2-x1, y3-y2)); if (showVsb) verticalScrollBar.setBounds(new Rectangle(x3, y2, x4-x3, y3-y2)); if (showHsb) horizontalScrollBar.setBounds(new Rectangle(x2, y3, x3-x2, y4-y3)); if (upperLeft != null) upperLeft.setBounds(new Rectangle(x1, y1, x2-x1, y2-y1)); if (upperRight != null) upperRight.setBounds(new Rectangle(x3, y1, x4-x3, y2-y1)); if (lowerLeft != null) lowerLeft.setBounds(new Rectangle(x1, y3, x2-x1, y4-y3)); if (lowerRight != null) lowerRight.setBounds(new Rectangle(x3, y3, x4-x3, y4-y3)); } } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ScrollPaneLayout.java/clean/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3511, 2170, 12, 2170, 982, 13, 288, 565, 309, 261, 2938, 1276, 804, 26360, 13, 1377, 288, 3639, 804, 26360, 888, 273, 261, 46, 26360, 13, 982, 31, 3639, 3852, 261, 1017, 18, 588, 2471, 2531, 1832, 13, 1850, 288, 5411, 13264, 5532, 8485, 5694, 273, 888, 18, 588, 5694, 5621, 5411, 804, 22743, 10482, 273, 888, 18, 588, 22743, 5621, 5411, 13037, 10482, 1225, 273, 10482, 18, 588, 1225, 5621, 5411, 13037, 1476, 1225, 273, 10482, 18, 588, 1767, 7675, 588, 1225, 5621, 2398, 509, 619, 21, 273, 374, 16, 619, 22, 273, 374, 16, 619, 23, 273, 374, 16, 619, 24, 273, 374, 31, 5411, 509, 677, 21, 273, 374, 16, 677, 22, 273, 374, 16, 677, 23, 273, 374, 16, 677, 24, 273, 374, 31, 5411, 619, 21, 273, 5532, 8485, 5694, 18, 92, 31, 5411, 677, 21, 273, 5532, 8485, 5694, 18, 93, 31, 5411, 619, 24, 273, 5532, 8485, 5694, 18, 92, 397, 5532, 8485, 5694, 18, 2819, 31, 5411, 677, 24, 273, 5532, 8485, 5694, 18, 93, 397, 5532, 8485, 5694, 18, 4210, 31, 13491, 309, 261, 2827, 1864, 480, 446, 13, 2868, 677, 22, 273, 1057, 1864, 18, 588, 16028, 1225, 7675, 4210, 31, 5411, 469, 2868, 677, 22, 273, 677, 21, 31, 5411, 309, 261, 492, 1864, 480, 446, 13, 2868, 619, 22, 273, 1027, 1864, 18, 588, 16028, 1225, 7675, 2819, 31, 5411, 469, 2868, 619, 22, 273, 619, 21, 31, 5411, 509, 6195, 70, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3511, 2170, 12, 2170, 982, 13, 288, 565, 309, 261, 2938, 1276, 804, 26360, 13, 1377, 288, 3639, 804, 26360, 888, 273, 261, 46, 26360, 13, 982, 31, 3639, 3852, 261, 1017, 18, 588, 2471, 2531, 1832, 13, 1850, 288, 5411, 13264, 5532, 8485, 5694, 273, 888, 18, 588, 5694, 5621, 5411, 804, 22743, 10482, 273, 888, 18, 588, 22743, 5621, 5411, 13037, 10482, 1225, 273, 10482, 18, 588, 1225, 5621, 5411, 13037, 1476, 1225, 273, 10482, 18, 588, 1767, 7675, 588, 1225, 5621, 2398, 509, 619, 21, 273, 374, 16, 619, 22, 273, 374, 16, 619, 23, 273, 374, 16, 619, 24, 273, 374, 31, 5411, 509, 677, 21, 273, 374, 16, 677, 22, 273, 2 ]
return (XmlTag)tag.add(newTag);
if (subTags.length == 0) { return (XmlTag)tag.add(newTag); } return (XmlTag)tag.addBefore(newTag, subTags[0]);
private XmlTag addEmptyTag(final String tagName, int index) throws IncorrectOperationException { final XmlTag tag = ensureTagExists(); final XmlTag[] subTags = tag.findSubTags(tagName); if (subTags.length < index) { index = subTags.length; } final boolean changing = myManager.setChanging(true); try { XmlTag newTag = createEmptyTag(tagName); if (index == 0) { return (XmlTag)tag.add(newTag); } return (XmlTag)tag.addAfter(newTag, subTags[index - 1]); } finally { myManager.setChanging(changing); } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/4747183c1401ba008dac6fcdbb1817c3093844b2/DomInvocationHandler.java/clean/source/com/intellij/util/xml/impl/DomInvocationHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 5714, 1805, 527, 1921, 1805, 12, 6385, 514, 7196, 16, 509, 770, 13, 1216, 657, 6746, 10602, 288, 565, 727, 5714, 1805, 1047, 273, 3387, 1805, 4002, 5621, 565, 727, 5714, 1805, 8526, 720, 3453, 273, 1047, 18, 4720, 1676, 3453, 12, 2692, 461, 1769, 565, 309, 261, 1717, 3453, 18, 2469, 411, 770, 13, 288, 1377, 770, 273, 720, 3453, 18, 2469, 31, 565, 289, 565, 727, 1250, 12770, 273, 3399, 1318, 18, 542, 782, 18183, 12, 3767, 1769, 565, 775, 288, 1377, 5714, 1805, 394, 1805, 273, 752, 1921, 1805, 12, 2692, 461, 1769, 1377, 309, 261, 1615, 422, 374, 13, 288, 3639, 309, 261, 1717, 3453, 18, 2469, 422, 374, 13, 288, 327, 261, 4432, 1805, 13, 2692, 18, 1289, 12, 2704, 1805, 1769, 289, 225, 327, 261, 4432, 1805, 13, 2692, 18, 1289, 4649, 12, 2704, 1805, 16, 720, 3453, 63, 20, 19226, 1377, 289, 1377, 327, 261, 4432, 1805, 13, 2692, 18, 1289, 4436, 12, 2704, 1805, 16, 720, 3453, 63, 1615, 300, 404, 19226, 565, 289, 565, 3095, 288, 1377, 3399, 1318, 18, 542, 782, 18183, 12, 343, 18183, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 5714, 1805, 527, 1921, 1805, 12, 6385, 514, 7196, 16, 509, 770, 13, 1216, 657, 6746, 10602, 288, 565, 727, 5714, 1805, 1047, 273, 3387, 1805, 4002, 5621, 565, 727, 5714, 1805, 8526, 720, 3453, 273, 1047, 18, 4720, 1676, 3453, 12, 2692, 461, 1769, 565, 309, 261, 1717, 3453, 18, 2469, 411, 770, 13, 288, 1377, 770, 273, 720, 3453, 18, 2469, 31, 565, 289, 565, 727, 1250, 12770, 273, 3399, 1318, 18, 542, 782, 18183, 12, 3767, 1769, 565, 775, 288, 1377, 5714, 1805, 394, 1805, 273, 752, 1921, 1805, 12, 2692, 461, 1769, 1377, 309, 261, 1615, 422, 374, 13, 288, 3639, 309, 261, 1717, 3453, 18, 2469, 422, 374, 13, 288, 327, 261, 2 ]
private static EjbJar unmarshalEjbJar(java.io.Reader reader)
private static EjbJar unmarshalEjbJar(java.io.Reader reader)
private static EjbJar unmarshalEjbJar(java.io.Reader reader) throws MarshalException, ValidationException { Unmarshaller unmarshaller = new Unmarshaller(org.openejb.alt.config.ejb11.EjbJar.class); unmarshaller.setEntityResolver(resolver); return (org.openejb.alt.config.ejb11.EjbJar)unmarshaller.unmarshal(reader); }
47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/4f52760bc3704be4f698b6ed3a2b5ae33ca1fa83/EjbJarUtils.java/buggy/openejb1/modules/core/src/java/org/openejb/alt/config/EjbJarUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 512, 10649, 10813, 11401, 41, 10649, 10813, 12, 6290, 18, 1594, 18, 2514, 2949, 13, 377, 1216, 5884, 503, 16, 15614, 288, 3639, 1351, 27296, 17606, 264, 273, 394, 1351, 27296, 12, 3341, 18, 3190, 73, 10649, 18, 2390, 18, 1425, 18, 73, 10649, 2499, 18, 41, 10649, 10813, 18, 1106, 1769, 3639, 17606, 264, 18, 542, 1943, 4301, 12, 14122, 1769, 10792, 327, 261, 3341, 18, 3190, 73, 10649, 18, 2390, 18, 1425, 18, 73, 10649, 2499, 18, 41, 10649, 10813, 13, 318, 27296, 18, 318, 3108, 12, 10530, 1769, 565, 289, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 512, 10649, 10813, 11401, 41, 10649, 10813, 12, 6290, 18, 1594, 18, 2514, 2949, 13, 377, 1216, 5884, 503, 16, 15614, 288, 3639, 1351, 27296, 17606, 264, 273, 394, 1351, 27296, 12, 3341, 18, 3190, 73, 10649, 18, 2390, 18, 1425, 18, 73, 10649, 2499, 18, 41, 10649, 10813, 18, 1106, 1769, 3639, 17606, 264, 18, 542, 1943, 4301, 12, 14122, 1769, 10792, 327, 261, 3341, 18, 3190, 73, 10649, 18, 2390, 18, 1425, 18, 73, 10649, 2499, 18, 41, 10649, 10813, 13, 318, 27296, 18, 318, 3108, 12, 10530, 1769, 565, 289, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
RowFixtureTest.class,
RowFixtureTest.class,
public static Test suite() { return TestSuiteMaker.makeSuite("fit", new Class[] { ParseTest.class, TypeAdapterTest.class, FitServerTest.class, FitMatcherTest.class, ColumnFixtureTest.class, RowFixtureTest.class, FixtureTest.class, ScientificDoubleTest.class, GracefulNamerTest.class, FixtureLoaderTest.class, FriendlyErrorTest.class, BindingTest.class, CountsTest.class }); }
48802 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48802/a3115ace5381f1f551bc6c0e5adc94c66efad0a9/AllTestSuite.java/buggy/src/fit/AllTestSuite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 7766, 11371, 1435, 202, 95, 202, 202, 2463, 7766, 13587, 12373, 18, 6540, 13587, 2932, 7216, 3113, 394, 1659, 8526, 288, 1082, 202, 3201, 4709, 18, 1106, 16, 1082, 202, 559, 4216, 4709, 18, 1106, 16, 1082, 202, 14219, 2081, 4709, 18, 1106, 16, 1082, 202, 14219, 6286, 4709, 18, 1106, 16, 1082, 202, 1494, 26392, 4709, 18, 1106, 16, 1377, 6556, 26392, 4709, 18, 1106, 16, 1082, 202, 26392, 4709, 18, 1106, 16, 1082, 202, 1541, 1979, 1507, 5265, 4709, 18, 1106, 16, 1082, 202, 24443, 2706, 50, 24458, 4709, 18, 1106, 16, 1082, 202, 26392, 2886, 4709, 18, 1106, 16, 1082, 202, 19730, 668, 4709, 18, 1106, 16, 1082, 202, 5250, 4709, 18, 1106, 16, 1082, 202, 9211, 4709, 18, 1106, 202, 202, 22938, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 7766, 11371, 1435, 202, 95, 202, 202, 2463, 7766, 13587, 12373, 18, 6540, 13587, 2932, 7216, 3113, 394, 1659, 8526, 288, 1082, 202, 3201, 4709, 18, 1106, 16, 1082, 202, 559, 4216, 4709, 18, 1106, 16, 1082, 202, 14219, 2081, 4709, 18, 1106, 16, 1082, 202, 14219, 6286, 4709, 18, 1106, 16, 1082, 202, 1494, 26392, 4709, 18, 1106, 16, 1377, 6556, 26392, 4709, 18, 1106, 16, 1082, 202, 26392, 4709, 18, 1106, 16, 1082, 202, 1541, 1979, 1507, 5265, 4709, 18, 1106, 16, 1082, 202, 24443, 2706, 50, 24458, 4709, 18, 1106, 16, 1082, 202, 26392, 2886, 4709, 18, 1106, 16, 1082, 202, 19730, 668, 4709, 18, 1106, 16, 1082, 202, 5250, 4709, 18, 2 ]
r = new EndSubRecord( subRecordSid, adjustedSize, data, offset );
r = new EndSubRecord( in );
public static Record createSubRecord( short subRecordSid, short size, byte[] data, int offset ) { Record r = null; short adjustedSize = size; if ( size < 0 ) { adjustedSize = 0; } else if ( offset + size > data.length ) { adjustedSize = (short) ( data.length - offset ); if ( adjustedSize > 4 ) { adjustedSize -= 4; } } switch ( subRecordSid ) { case CommonObjectDataSubRecord.sid: r = new CommonObjectDataSubRecord( subRecordSid, adjustedSize, data, offset ); break; case GroupMarkerSubRecord.sid: r = new GroupMarkerSubRecord( subRecordSid, adjustedSize, data, offset ); break; case EndSubRecord.sid: r = new EndSubRecord( subRecordSid, adjustedSize, data, offset ); break; default: r = new UnknownRecord( subRecordSid, adjustedSize, data, offset ); } return r; }
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/ada69333b277a95ccfc608144b991cfd8d1a9d37/SubRecord.java/buggy/src/java/org/apache/poi/hssf/record/SubRecord.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 5059, 752, 1676, 2115, 12, 3025, 720, 2115, 11067, 16, 3025, 963, 16, 1160, 8526, 501, 16, 509, 1384, 262, 565, 288, 3639, 5059, 436, 273, 446, 31, 3639, 3025, 13940, 1225, 273, 963, 31, 3639, 309, 261, 963, 411, 374, 262, 3639, 288, 5411, 13940, 1225, 273, 374, 31, 3639, 289, 3639, 469, 309, 261, 1384, 397, 963, 405, 501, 18, 2469, 262, 3639, 288, 5411, 13940, 1225, 273, 261, 6620, 13, 261, 501, 18, 2469, 300, 1384, 11272, 5411, 309, 261, 13940, 1225, 405, 1059, 262, 5411, 288, 7734, 13940, 1225, 3947, 1059, 31, 5411, 289, 3639, 289, 3639, 1620, 261, 720, 2115, 11067, 262, 3639, 288, 5411, 648, 5658, 921, 751, 1676, 2115, 18, 7453, 30, 7734, 436, 273, 394, 5658, 921, 751, 1676, 2115, 12, 720, 2115, 11067, 16, 13940, 1225, 16, 501, 16, 1384, 11272, 7734, 898, 31, 5411, 648, 3756, 7078, 1676, 2115, 18, 7453, 30, 7734, 436, 273, 394, 3756, 7078, 1676, 2115, 12, 720, 2115, 11067, 16, 13940, 1225, 16, 501, 16, 1384, 11272, 7734, 898, 31, 5411, 648, 4403, 1676, 2115, 18, 7453, 30, 7734, 436, 273, 394, 4403, 1676, 2115, 12, 316, 11272, 7734, 898, 31, 5411, 805, 30, 7734, 436, 273, 394, 9077, 2115, 12, 720, 2115, 11067, 16, 13940, 1225, 16, 501, 16, 1384, 11272, 3639, 289, 3639, 327, 436, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5059, 752, 1676, 2115, 12, 3025, 720, 2115, 11067, 16, 3025, 963, 16, 1160, 8526, 501, 16, 509, 1384, 262, 565, 288, 3639, 5059, 436, 273, 446, 31, 3639, 3025, 13940, 1225, 273, 963, 31, 3639, 309, 261, 963, 411, 374, 262, 3639, 288, 5411, 13940, 1225, 273, 374, 31, 3639, 289, 3639, 469, 309, 261, 1384, 397, 963, 405, 501, 18, 2469, 262, 3639, 288, 5411, 13940, 1225, 273, 261, 6620, 13, 261, 501, 18, 2469, 300, 1384, 11272, 5411, 309, 261, 13940, 1225, 405, 1059, 262, 5411, 288, 7734, 13940, 1225, 3947, 1059, 31, 5411, 289, 3639, 289, 3639, 1620, 261, 720, 2115, 11067, 262, 3639, 288, 5411, 648, 5658, 921, 751, 1676, 2115, 2 ]
if (jj_scan_token(LBRACE)) return true;
if (jj_scan_token(BEGIN)) return true;
final private boolean jj_3R_17() { if (jj_scan_token(LBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 4033, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 16061, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4033, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 16061, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
locale, commandId);
locale);
static void remove( Map keyStrokeNodeByKeyStrokeMap, KeySequence keySequence, String contextId, String keyConfigurationId, int rank, String platform, String locale, String commandId) { Iterator iterator = keySequence.getKeyStrokes().iterator(); KeySequenceBindingNode keySequenceBindingNode = null; while (iterator.hasNext()) { keySequenceBindingNode = (KeySequenceBindingNode) keyStrokeNodeByKeyStrokeMap.get( iterator.next()); if (keySequenceBindingNode == null) return; keyStrokeNodeByKeyStrokeMap = keySequenceBindingNode.childKeyStrokeNodeByKeyStrokeMap; } keySequenceBindingNode.remove( contextId, keyConfigurationId, rank, platform, locale, commandId); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/7519248a2a56aea7cb9f3f77a427f926eff7ef7e/KeySequenceBindingNode.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/KeySequenceBindingNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 918, 1206, 12, 202, 202, 863, 498, 14602, 907, 14560, 14602, 863, 16, 202, 202, 653, 4021, 498, 4021, 16, 202, 202, 780, 819, 548, 16, 202, 202, 780, 498, 1750, 548, 16, 202, 202, 474, 6171, 16, 202, 202, 780, 4072, 16, 202, 202, 780, 2573, 16, 202, 202, 780, 1296, 548, 13, 288, 202, 202, 3198, 2775, 273, 498, 4021, 18, 588, 653, 510, 3250, 281, 7675, 9838, 5621, 202, 202, 653, 4021, 5250, 907, 498, 4021, 5250, 907, 273, 446, 31, 202, 202, 17523, 261, 9838, 18, 5332, 2134, 10756, 288, 1082, 202, 856, 4021, 5250, 907, 273, 9506, 202, 12, 653, 4021, 5250, 907, 13, 498, 14602, 907, 14560, 14602, 863, 18, 588, 12, 6862, 202, 9838, 18, 4285, 10663, 1082, 202, 430, 261, 856, 4021, 5250, 907, 422, 446, 13, 9506, 202, 2463, 31, 1082, 202, 856, 14602, 907, 14560, 14602, 863, 273, 9506, 202, 856, 4021, 5250, 907, 18, 3624, 653, 14602, 907, 14560, 14602, 863, 31, 202, 202, 97, 202, 202, 856, 4021, 5250, 907, 18, 4479, 12, 1082, 202, 2472, 548, 16, 1082, 202, 856, 1750, 548, 16, 1082, 202, 11500, 16, 1082, 202, 9898, 16, 1082, 202, 6339, 16, 1082, 202, 3076, 548, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 918, 1206, 12, 202, 202, 863, 498, 14602, 907, 14560, 14602, 863, 16, 202, 202, 653, 4021, 498, 4021, 16, 202, 202, 780, 819, 548, 16, 202, 202, 780, 498, 1750, 548, 16, 202, 202, 474, 6171, 16, 202, 202, 780, 4072, 16, 202, 202, 780, 2573, 16, 202, 202, 780, 1296, 548, 13, 288, 202, 202, 3198, 2775, 273, 498, 4021, 18, 588, 653, 510, 3250, 281, 7675, 9838, 5621, 202, 202, 653, 4021, 5250, 907, 498, 4021, 5250, 907, 273, 446, 31, 202, 202, 17523, 261, 9838, 18, 5332, 2134, 10756, 288, 1082, 202, 856, 4021, 5250, 907, 273, 9506, 202, 12, 653, 4021, 5250, 907, 13, 498, 14602, 907, 14560, 14602, 863, 18, 2 ]
Dimension dim = new Dimension(450, 300);
serverSideInterface = new JCheckBox("Generate an interface for skeleton", true); serverSideInterface.setEnabled(false); add(serverSideInterface); JSeparator allSep = new JSeparator(JSeparator.HORIZONTAL); add(allSep); all = new JRadioButton("Generate All"); generationType.add(all); all.addActionListener(this); add(all); Dimension dim = new Dimension(450, 350);
public SecondFrame() { SecondFrameLayout customLayout = new SecondFrameLayout(); setFont(new Font("Helvetica", Font.PLAIN, 12)); setLayout(customLayout); BevelBorder b = new BevelBorder(BevelBorder.LOWERED); setBorder(b); lblLangauge = new JLabel("Select the output language"); add(lblLangauge); cmbLan = new JComboBox(); cmbLan.addItem("java"); cmbLan.addItem("C#"); cmbLan.setToolTipText("Select the language of the generated code"); add(cmbLan); lblServiceName = new JLabel("Select ServiceName"); add(lblServiceName); cmbServiceName = new JComboBox(); add(cmbServiceName); cmbServiceName.setToolTipText("Select the name of the service that the code should be generated for"); cmbServiceName.addActionListener(this); lblportName = new JLabel("Select Port Name"); add(lblportName); cmbPortName = new JComboBox(); cmbPortName.setToolTipText("Select the port name that the code should be generated for"); add(cmbPortName); lblpackgeName = new JLabel("Select the package name"); add(lblpackgeName); txtPacakgeName = new JTextField("org.axis2"); txtPacakgeName.setToolTipText("Set the package name of the generated code"); add(txtPacakgeName); lbldbtype = new JLabel("Select Databinding type"); add(lbldbtype); cmbdbtype = new JComboBox(); cmbdbtype.addItem("adb"); cmbdbtype.addItem("xmlbeans"); cmbdbtype.addItem("none"); cmbdbtype.setToolTipText("Select the databinding framework to be used in the generation process"); add(cmbdbtype); chkTestCase = new JCheckBox("Generate Test Case", true); chkTestCase.setToolTipText("A test case will be generated if this is checked"); add(chkTestCase); lblClient = new JLabel("Client Side Options"); add(lblClient); buttonGroup = new ButtonGroup(); rdBoth = new JRadioButton("Generate both sync and async", true); buttonGroup.add(rdBoth); add(rdBoth); rdsyn = new JRadioButton("Generate sync only", false); buttonGroup.add(rdsyn); add(rdsyn); rdasync = new JRadioButton("Generate async only", false); buttonGroup.add(rdasync); add(rdasync); lblServer = new JLabel("Server Side Options"); add(lblServer); serverside = new JCheckBox("Generate server side ", true); add(serverside); serviceXML = new JCheckBox("Generate default service.xml", true); add(serviceXML); Dimension dim = new Dimension(450, 300); setSize(dim); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/9d8b243488921dd415dc0169bcc72f4d0edc5cc5/SecondFrame.java/clean/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/idea/SecondFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7631, 3219, 1435, 288, 3639, 7631, 3219, 3744, 1679, 3744, 273, 394, 7631, 3219, 3744, 5621, 3639, 20454, 12, 2704, 10063, 2932, 44, 292, 90, 7943, 69, 3113, 10063, 18, 26549, 16, 2593, 10019, 3639, 18479, 12, 3662, 3744, 1769, 3639, 4823, 941, 8107, 324, 273, 394, 4823, 941, 8107, 12, 1919, 941, 8107, 18, 23085, 2056, 1769, 3639, 25715, 12, 70, 1769, 3639, 14284, 7275, 8305, 273, 394, 21403, 2932, 3391, 326, 876, 2653, 8863, 3639, 527, 12, 31885, 7275, 8305, 1769, 3639, 276, 1627, 48, 304, 273, 394, 804, 22199, 5621, 3639, 276, 1627, 48, 304, 18, 1289, 1180, 2932, 6290, 8863, 3639, 276, 1627, 48, 304, 18, 1289, 1180, 2932, 39, 7, 8863, 3639, 276, 1627, 48, 304, 18, 542, 29250, 1528, 2932, 3391, 326, 2653, 434, 326, 4374, 981, 8863, 3639, 527, 12, 71, 1627, 48, 304, 1769, 3639, 14284, 16789, 273, 394, 21403, 2932, 3391, 26700, 8863, 3639, 527, 12, 31885, 16789, 1769, 3639, 276, 1627, 16789, 273, 394, 804, 22199, 5621, 3639, 527, 12, 71, 1627, 16789, 1769, 3639, 276, 1627, 16789, 18, 542, 29250, 1528, 2932, 3391, 326, 508, 434, 326, 1156, 716, 326, 981, 1410, 506, 4374, 364, 8863, 3639, 276, 1627, 16789, 18, 1289, 1803, 2223, 12, 2211, 1769, 3639, 14284, 655, 461, 273, 394, 21403, 2932, 3391, 6008, 1770, 8863, 3639, 527, 12, 31885, 655, 461, 1769, 3639, 276, 1627, 2617, 461, 273, 394, 804, 22199, 5621, 3639, 276, 1627, 2617, 461, 18, 542, 29250, 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, 7631, 3219, 1435, 288, 3639, 7631, 3219, 3744, 1679, 3744, 273, 394, 7631, 3219, 3744, 5621, 3639, 20454, 12, 2704, 10063, 2932, 44, 292, 90, 7943, 69, 3113, 10063, 18, 26549, 16, 2593, 10019, 3639, 18479, 12, 3662, 3744, 1769, 3639, 4823, 941, 8107, 324, 273, 394, 4823, 941, 8107, 12, 1919, 941, 8107, 18, 23085, 2056, 1769, 3639, 25715, 12, 70, 1769, 3639, 14284, 7275, 8305, 273, 394, 21403, 2932, 3391, 326, 876, 2653, 8863, 3639, 527, 12, 31885, 7275, 8305, 1769, 3639, 276, 1627, 48, 304, 273, 394, 804, 22199, 5621, 3639, 276, 1627, 48, 304, 18, 1289, 1180, 2932, 6290, 8863, 3639, 276, 1627, 48, 304, 18, 1289, 1180, 2932, 39, 7, 8863, 3639, 2 ]
eNotify(new ENotificationImpl(this, Notification.SET, AttributePackage.GRADIENT__END_COLOR, newEndColor, newEndColor));
eNotify(new ENotificationImpl(this, Notification.SET, AttributePackage.GRADIENT__END_COLOR, newEndColor, newEndColor));
public void setEndColor(ColorDefinition newEndColor) { if (newEndColor != endColor) { NotificationChain msgs = null; if (endColor != null) msgs = ((InternalEObject)endColor).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AttributePackage.GRADIENT__END_COLOR, null, msgs); if (newEndColor != null) msgs = ((InternalEObject)newEndColor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AttributePackage.GRADIENT__END_COLOR, null, msgs); msgs = basicSetEndColor(newEndColor, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, AttributePackage.GRADIENT__END_COLOR, newEndColor, newEndColor)); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/GradientImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/GradientImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19743, 2957, 12, 2957, 1852, 394, 1638, 2957, 13, 565, 288, 3639, 309, 261, 2704, 1638, 2957, 480, 679, 2957, 13, 3639, 288, 5411, 27050, 8733, 273, 446, 31, 5411, 309, 261, 409, 2957, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 409, 2957, 2934, 73, 16376, 3288, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 3601, 2261, 18, 6997, 17708, 2222, 972, 4415, 67, 10989, 16, 446, 16, 8733, 1769, 5411, 309, 261, 2704, 1638, 2957, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 2704, 1638, 2957, 2934, 73, 16376, 986, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 3601, 2261, 18, 6997, 17708, 2222, 972, 4415, 67, 10989, 16, 446, 16, 8733, 1769, 5411, 8733, 273, 5337, 694, 1638, 2957, 12, 2704, 1638, 2957, 16, 8733, 1769, 5411, 309, 261, 27439, 480, 446, 13, 8733, 18, 10739, 5621, 3639, 289, 3639, 469, 309, 261, 73, 21107, 10756, 5411, 22596, 12, 2704, 19953, 12, 2211, 16, 8050, 18, 4043, 16, 3601, 2261, 18, 6997, 17708, 2222, 972, 4415, 67, 10989, 16, 394, 1638, 2957, 16, 394, 1638, 2957, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19743, 2957, 12, 2957, 1852, 394, 1638, 2957, 13, 565, 288, 3639, 309, 261, 2704, 1638, 2957, 480, 679, 2957, 13, 3639, 288, 5411, 27050, 8733, 273, 446, 31, 5411, 309, 261, 409, 2957, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 409, 2957, 2934, 73, 16376, 3288, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 3601, 2261, 18, 6997, 17708, 2222, 972, 4415, 67, 10989, 16, 446, 16, 8733, 1769, 5411, 309, 261, 2704, 1638, 2957, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 2704, 1638, 2957, 2934, 73, 16376, 986, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 3601, 2261, 18, 6997, 17708, 2222, 2 ]
throw postgresql.Driver.notImplemented();
if (--current_row < 0) return false; this_row = (byte [][])rows.elementAt(current_row); return true;
public boolean previous() throws SQLException { throw postgresql.Driver.notImplemented(); }
45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/2ee522954d0d634d520e6f10454a8c63ef004a00/ResultSet.java/buggy/src/interfaces/jdbc/postgresql/jdbc2/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 2416, 1435, 1216, 6483, 565, 288, 202, 430, 261, 413, 2972, 67, 492, 411, 374, 13, 327, 629, 31, 333, 67, 492, 273, 261, 7229, 5378, 63, 5717, 3870, 18, 2956, 861, 12, 2972, 67, 492, 1769, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 2416, 1435, 1216, 6483, 565, 288, 202, 430, 261, 413, 2972, 67, 492, 411, 374, 13, 327, 629, 31, 333, 67, 492, 273, 261, 7229, 5378, 63, 5717, 3870, 18, 2956, 861, 12, 2972, 67, 492, 1769, 327, 638, 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 ]
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { ChibaAdapter adapter = null; HttpSession session = request.getSession(true); XFormsSession xFormsSession = new XFormsSession(); if(LOGGER.isDebugEnabled()){ LOGGER.debug("--------------- new XForms session ---------------"); Enumeration keys = session.getAttributeNames(); if(keys.hasMoreElements()){ LOGGER.debug("--- existing keys in session --- "); while (keys.hasMoreElements()) { String s = (String) keys.nextElement(); LOGGER.debug("existing sessionkey: " + s + ":" + session.getAttribute(s)); } }else{ LOGGER.debug("--- no keys present in session ---"); } LOGGER.debug("created XFormsSession with key: " + xFormsSession.getKey()); } request.setCharacterEncoding("UTF-8"); try { // determine Form to load String formURI = getRequestURI(request) + request.getParameter(FORM_PARAM_NAME); if (formURI == null) { throw new IOException("Resource not found: " + formURI + " not found"); } String xslFile = request.getParameter(XSL_PARAM_NAME); String javascriptPresent = request.getParameter(JAVASCRIPT_PARAM_NAME); String actionURL = null; if (javascriptPresent != null){ //do AJAX FluxAdapter fluxAdapter = new FluxAdapter(); fluxAdapter.setSession(session); fluxAdapter.setXFormsSession(xFormsSession); adapter = fluxAdapter; actionURL = getActionURL(request, response,true); }else{ //do standard browser support without scripting adapter = new ServletAdapter(); actionURL = getActionURL(request, response,false); } //setup Adapter adapter = setupAdapter(adapter,xFormsSession.getKey(), formURI); setContextParams(request, adapter); storeCookies(request,adapter); adapter.init(); // todo: remove deprecated stuff, check for load/replace/message somehow if(load(adapter, response)) return; if(replaceAll(adapter, response)) return; response.setContentType(HTML_CONTENT_TYPE); Writer writer = response.getWriter(); UIGenerator uiGenerator = createUIGenerator(request, xFormsSession.getKey() , actionURL, xslFile, javascriptPresent); uiGenerator.setInputNode(adapter.getXForms()); uiGenerator.setOutput(writer); uiGenerator.generate(); //store adapter in session xFormsSession.setAdapter(adapter); //store UIGenerator in session xFormsSession.setUIGenerator(uiGenerator); session.setAttribute(xFormsSession.getKey(),xFormsSession); } catch (XFormsException e) { shutdown(adapter, session, e, response, request, xFormsSession.getKey()); }catch(URISyntaxException ue){ shutdown(adapter, session, ue, response, request, xFormsSession.getKey()); } }
51637 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51637/b89289721c6b3b8dd77f68503d4ac60835310b40/ChibaServlet.java/clean/yawl/build/yawlXForms/src/org/chiba/adapter/servlet/ChibaServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 23611, 12, 2940, 18572, 590, 16, 7682, 12446, 766, 13, 5411, 1216, 16517, 16, 1860, 288, 3639, 1680, 495, 69, 4216, 4516, 273, 446, 31, 3639, 26166, 1339, 273, 590, 18, 588, 2157, 12, 3767, 1769, 3639, 1139, 18529, 2157, 619, 18529, 2157, 273, 394, 1139, 18529, 2157, 5621, 3639, 309, 12, 8757, 18, 291, 2829, 1526, 10756, 95, 5411, 4145, 18, 4148, 2932, 18753, 394, 1139, 18529, 1339, 300, 17908, 8863, 5411, 13864, 1311, 273, 1339, 18, 588, 26080, 5621, 5411, 309, 12, 2452, 18, 5332, 7417, 3471, 10756, 95, 7734, 4145, 18, 4148, 2932, 6062, 2062, 1311, 316, 1339, 9948, 315, 1769, 7734, 1323, 261, 2452, 18, 5332, 7417, 3471, 10756, 288, 10792, 514, 272, 273, 261, 780, 13, 1311, 18, 4285, 1046, 5621, 10792, 4145, 18, 4148, 2932, 11711, 1339, 856, 30, 315, 397, 272, 397, 6153, 397, 1339, 18, 588, 1499, 12, 87, 10019, 7734, 289, 5411, 289, 12107, 95, 7734, 4145, 18, 4148, 2932, 6062, 1158, 1311, 3430, 316, 1339, 9948, 8863, 5411, 289, 5411, 4145, 18, 4148, 2932, 4824, 1139, 18529, 2157, 598, 498, 30, 315, 397, 619, 18529, 2157, 18, 588, 653, 10663, 3639, 289, 3639, 590, 18, 542, 7069, 4705, 2932, 5159, 17, 28, 8863, 3639, 775, 288, 5411, 368, 4199, 2748, 358, 1262, 5411, 514, 646, 3098, 273, 4328, 3098, 12, 2293, 13, 397, 590, 18, 588, 1662, 12, 4983, 67, 8388, 67, 1985, 1769, 5411, 309, 261, 687, 3098, 422, 446, 13, 288, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 23611, 12, 2940, 18572, 590, 16, 7682, 12446, 766, 13, 5411, 1216, 16517, 16, 1860, 288, 3639, 1680, 495, 69, 4216, 4516, 273, 446, 31, 3639, 26166, 1339, 273, 590, 18, 588, 2157, 12, 3767, 1769, 3639, 1139, 18529, 2157, 619, 18529, 2157, 273, 394, 1139, 18529, 2157, 5621, 3639, 309, 12, 8757, 18, 291, 2829, 1526, 10756, 95, 5411, 4145, 18, 4148, 2932, 18753, 394, 1139, 18529, 1339, 300, 17908, 8863, 5411, 13864, 1311, 273, 1339, 18, 588, 26080, 5621, 5411, 309, 12, 2452, 18, 5332, 7417, 3471, 10756, 95, 7734, 4145, 18, 4148, 2932, 6062, 2062, 1311, 316, 1339, 9948, 315, 1769, 7734, 1323, 261, 2452, 18, 5332, 7417, 3471, 10756, 288, 10792, 514, 2 ]
return type; }
return type; }
public String getEditorType() { return type;}
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e5eebf0c5be6e1c4679616a3a04105f084607014/EditorActionBars.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorActionBars.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 514, 336, 6946, 559, 1435, 288, 202, 2463, 618, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 514, 336, 6946, 559, 1435, 288, 202, 2463, 618, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void setOutputStream(OutputStream stream) { this.outputStream = stream; }
public void setOutputStream(OutputStream outputStream) { this.outputStream = outputStream; }
public void setOutputStream(OutputStream stream) { this.outputStream = stream; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2c0635b05f68dbb361b3532fd5813a38b74cf57a/StreamResult.java/buggy/core/src/classpath/javax/javax/xml/transform/stream/StreamResult.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 4632, 12, 4632, 1407, 13, 288, 202, 202, 2211, 18, 2844, 1228, 273, 1407, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 4632, 12, 4632, 1407, 13, 288, 202, 202, 2211, 18, 2844, 1228, 273, 1407, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}
public Closure(Object delegate) { this.delegate = delegate; this.owner = delegate; Class closureClass = this.getClass(); while (true) { final Method methods[] = closureClass.getDeclaredMethods(); int i = 0; while (!methods[i].getName().equals("doCall") && ++i != methods.length) ; if (i < methods.length) { this.doCallMethod = methods[i]; break; } closureClass = closureClass.getSuperclass(); } AccessController.doPrivileged(new PrivilegedAction() { public Object run() { Closure.this.doCallMethod.setAccessible(true); return null; } }); this.parameterTypes = this.doCallMethod.getParameterTypes(); this.numberOfParameters = this.parameterTypes.length; if (this.numberOfParameters != 0) { this.supportsVarargs = this.parameterTypes[this.numberOfParameters - 1].equals(Object[].class); } else { this.supportsVarargs = false; } }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/e0d068e0fc0c37bbabc7da5190c7da7d56ef43a8/Closure.java/buggy/src/main/groovy/lang/Closure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7255, 12, 921, 7152, 13, 288, 3639, 333, 18, 22216, 273, 7152, 31, 3639, 333, 18, 8443, 273, 7152, 31, 3639, 1659, 7213, 797, 273, 333, 18, 588, 797, 5621, 3639, 1323, 261, 3767, 13, 288, 5411, 727, 2985, 2590, 8526, 273, 7213, 797, 18, 588, 18888, 4712, 5621, 5411, 509, 277, 273, 374, 31, 5411, 1323, 16051, 5163, 63, 77, 8009, 17994, 7675, 14963, 2932, 2896, 1477, 7923, 597, 965, 77, 480, 2590, 18, 2469, 13, 274, 5411, 309, 261, 77, 411, 2590, 18, 2469, 13, 288, 7734, 333, 18, 2896, 1477, 1305, 273, 2590, 63, 77, 15533, 7734, 898, 31, 15604, 7213, 797, 273, 7213, 797, 18, 588, 28471, 5621, 9079, 25556, 18, 2896, 18845, 12, 2704, 24897, 1435, 288, 5411, 1071, 1033, 1086, 1435, 288, 7734, 7255, 18, 2211, 18, 2896, 1477, 1305, 18, 542, 10451, 12, 3767, 1769, 7734, 327, 446, 31, 10402, 15549, 3639, 333, 18, 6775, 2016, 273, 333, 18, 2896, 1477, 1305, 18, 588, 1662, 2016, 5621, 3639, 333, 18, 2696, 951, 2402, 273, 333, 18, 6775, 2016, 18, 2469, 31, 3639, 309, 261, 2211, 18, 2696, 951, 2402, 480, 374, 13, 288, 5411, 333, 18, 28064, 27232, 273, 333, 18, 6775, 2016, 63, 2211, 18, 2696, 951, 2402, 300, 404, 8009, 14963, 12, 921, 63, 8009, 1106, 1769, 3639, 469, 288, 5411, 333, 18, 28064, 27232, 273, 629, 31, 6647, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7255, 12, 921, 7152, 13, 288, 3639, 333, 18, 22216, 273, 7152, 31, 3639, 333, 18, 8443, 273, 7152, 31, 3639, 1659, 7213, 797, 273, 333, 18, 588, 797, 5621, 3639, 1323, 261, 3767, 13, 288, 5411, 727, 2985, 2590, 8526, 273, 7213, 797, 18, 588, 18888, 4712, 5621, 5411, 509, 277, 273, 374, 31, 5411, 1323, 16051, 5163, 63, 77, 8009, 17994, 7675, 14963, 2932, 2896, 1477, 7923, 597, 965, 77, 480, 2590, 18, 2469, 13, 274, 5411, 309, 261, 77, 411, 2590, 18, 2469, 13, 288, 7734, 333, 18, 2896, 1477, 1305, 273, 2590, 63, 77, 15533, 7734, 898, 31, 15604, 7213, 797, 273, 7213, 797, 18, 588, 28471, 5621, 9079, 25556, 18, 2896, 18845, 2 ]
case XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE : case XPathResult.ORDERED_NODE_SNAPSHOT_TYPE : {
case XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE: case XPathResult.ORDERED_NODE_SNAPSHOT_TYPE: {
public static String convertToString(XPathResult xpathResult, boolean prettyPrint) { switch (xpathResult.getResultType()) { case XPathResult.NUMBER_TYPE : double d = xpathResult.getNumberValue(); return Double.toString(d); case XPathResult.STRING_TYPE : String s = xpathResult.getStringValue(); return s; case XPathResult.BOOLEAN_TYPE : boolean b = xpathResult.getBooleanValue(); return String.valueOf(b); case XPathResult.FIRST_ORDERED_NODE_TYPE : case XPathResult.ANY_UNORDERED_NODE_TYPE : { Node node = xpathResult.getSingleNodeValue(); return XmlUtil.toString(node, prettyPrint); } case XPathResult.ORDERED_NODE_ITERATOR_TYPE : case XPathResult.UNORDERED_NODE_ITERATOR_TYPE : { StringBuffer buf = new StringBuffer(512); Node node = xpathResult.iterateNext(); while (node != null) { buf.append(XmlUtil.toString(node, prettyPrint)); node = xpathResult.iterateNext(); } return buf.toString(); } case XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE : case XPathResult.ORDERED_NODE_SNAPSHOT_TYPE : { StringBuffer buf = new StringBuffer(512); int len = xpathResult.getSnapshotLength(); for (int i = 0; i < len; i++) { Node node = xpathResult.snapshotItem(i); buf.append(XmlUtil.toString(node, prettyPrint)); } return buf.toString(); } default: String msg = "Unknown xpathResult.type = " + xpathResult.getResultType(); throw new XPathException(XPathException.TYPE_ERR ,msg); } }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/c3f6363095dc52f521dd8666c0cfc494bedffffd/XmlUtil.java/clean/src/main/mondrian/tui/XmlUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 1765, 5808, 12, 14124, 1253, 6748, 1253, 16, 29159, 1250, 30410, 13, 288, 3639, 1620, 261, 18644, 1253, 18, 588, 1253, 559, 10756, 288, 3639, 648, 10172, 1253, 18, 9931, 67, 2399, 294, 5411, 1645, 302, 273, 6748, 1253, 18, 588, 1854, 620, 5621, 5411, 327, 3698, 18, 10492, 12, 72, 1769, 10792, 648, 10172, 1253, 18, 5804, 67, 2399, 294, 5411, 514, 272, 273, 6748, 1253, 18, 588, 19733, 5621, 5411, 327, 272, 31, 10792, 648, 10172, 1253, 18, 17900, 67, 2399, 294, 5411, 1250, 324, 273, 6748, 1253, 18, 588, 5507, 620, 5621, 5411, 327, 514, 18, 1132, 951, 12, 70, 1769, 10792, 648, 10172, 1253, 18, 15354, 67, 24373, 67, 8744, 67, 2399, 294, 3639, 648, 10172, 1253, 18, 15409, 67, 2124, 24373, 67, 8744, 67, 2399, 294, 288, 5411, 2029, 756, 273, 6748, 1253, 18, 588, 5281, 907, 620, 5621, 5411, 327, 5714, 1304, 18, 10492, 12, 2159, 16, 30410, 1769, 3639, 289, 6647, 648, 10172, 1253, 18, 24373, 67, 8744, 67, 11844, 3575, 67, 2399, 294, 3639, 648, 10172, 1253, 18, 2124, 24373, 67, 8744, 67, 11844, 3575, 67, 2399, 294, 288, 5411, 6674, 1681, 273, 394, 6674, 12, 13757, 1769, 2398, 2029, 756, 273, 6748, 1253, 18, 18793, 2134, 5621, 5411, 1323, 261, 2159, 480, 446, 13, 288, 7734, 1681, 18, 6923, 12, 4432, 1304, 18, 10492, 12, 2159, 16, 30410, 10019, 7734, 756, 273, 6748, 1253, 18, 18793, 2134, 5621, 5411, 289, 5411, 327, 1681, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 1765, 5808, 12, 14124, 1253, 6748, 1253, 16, 29159, 1250, 30410, 13, 288, 3639, 1620, 261, 18644, 1253, 18, 588, 1253, 559, 10756, 288, 3639, 648, 10172, 1253, 18, 9931, 67, 2399, 294, 5411, 1645, 302, 273, 6748, 1253, 18, 588, 1854, 620, 5621, 5411, 327, 3698, 18, 10492, 12, 72, 1769, 10792, 648, 10172, 1253, 18, 5804, 67, 2399, 294, 5411, 514, 272, 273, 6748, 1253, 18, 588, 19733, 5621, 5411, 327, 272, 31, 10792, 648, 10172, 1253, 18, 17900, 67, 2399, 294, 5411, 1250, 324, 273, 6748, 1253, 18, 588, 5507, 620, 5621, 5411, 327, 514, 18, 1132, 951, 12, 70, 1769, 10792, 648, 10172, 1253, 18, 15354, 67, 24373, 67, 8744, 67, 2 ]
logger.debug(ignoreMarker, "logging statement" + i, new Exception("test"));
logger.debug(ignoreMarker, "logging statement" + i, new Exception( "test"));
public static void main(String[] args) throws InterruptedException { Logger logger = (Logger) LoggerFactory.getLogger(ExceptionEvaluatorExample.class); LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory(); JoranConfigurator configurator = new JoranConfigurator(); configurator.setContext(lc); configurator.doConfigure(args[0]); for (int i = 0; i < 5; i++) { if (i == 3) { Marker ignoreMarker = MarkerFactory.getMarker("IGNORE"); logger.debug(ignoreMarker, "logging statement" + i, new Exception("test")); } else { logger.debug("logging statement" + i, new Exception("test")); } } StatusPrinter.print(lc); }
48827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48827/7177ff8f31734f293185997e0a81156f64bc26a6/ExceptionEvaluatorExample.java/buggy/logback-classic/examples/src/chapter5/ExceptionEvaluatorExample.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 7558, 288, 565, 4242, 1194, 273, 261, 3328, 13, 4242, 1733, 18, 588, 3328, 12, 503, 15876, 10908, 18, 1106, 1769, 565, 4242, 1042, 9109, 273, 261, 3328, 1042, 13, 4242, 1733, 18, 588, 45, 3328, 1733, 5621, 565, 804, 280, 304, 17182, 18700, 273, 394, 804, 280, 304, 17182, 5621, 565, 18700, 18, 542, 1042, 12, 17704, 1769, 565, 18700, 18, 2896, 11207, 12, 1968, 63, 20, 19226, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1381, 31, 277, 27245, 288, 1377, 309, 261, 77, 422, 890, 13, 288, 3639, 14742, 2305, 7078, 273, 14742, 1733, 18, 588, 7078, 2932, 20118, 8863, 3639, 1194, 18, 4148, 12, 6185, 7078, 16, 315, 11167, 3021, 6, 397, 277, 16, 394, 1185, 12, 315, 3813, 7923, 1769, 1377, 289, 469, 288, 3639, 1194, 18, 4148, 2932, 11167, 3021, 6, 397, 277, 16, 394, 1185, 2932, 3813, 7923, 1769, 1377, 289, 565, 289, 3639, 2685, 12149, 18, 1188, 12, 17704, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 7558, 288, 565, 4242, 1194, 273, 261, 3328, 13, 4242, 1733, 18, 588, 3328, 12, 503, 15876, 10908, 18, 1106, 1769, 565, 4242, 1042, 9109, 273, 261, 3328, 1042, 13, 4242, 1733, 18, 588, 45, 3328, 1733, 5621, 565, 804, 280, 304, 17182, 18700, 273, 394, 804, 280, 304, 17182, 5621, 565, 18700, 18, 542, 1042, 12, 17704, 1769, 565, 18700, 18, 2896, 11207, 12, 1968, 63, 20, 19226, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1381, 31, 277, 27245, 288, 1377, 309, 261, 77, 422, 890, 13, 288, 3639, 14742, 2305, 7078, 273, 14742, 1733, 18, 588, 7078, 2932, 20118, 8863, 3639, 1194, 18, 2 ]
suite.addTestSuite(RenderTaskTest.class);
suite.addTestSuite(Bug128854PrompttextTest.class);
public static Test suite() { TestSuite suite = new TestSuite( "Test for org.eclipse.birt.report.tests.engine"); //$JUnit-BEGIN$ suite.addTestSuite(DefaultStatusHandlerTest.class); suite.addTestSuite(EngineConfigTest.class); suite.addTestSuite(FORenderOptionTest.class); //suite.addTestSuite(HTMLActionHandlerTest.class); suite.addTestSuite(HTMLCompleteImageHandlerTest.class); suite.addTestSuite(HTMLEmitterConfigTest.class); suite.addTestSuite(HTMLRenderContextTest.class); suite.addTestSuite(HTMLRenderOptionTest.class); suite.addTestSuite(HTMLServerImageHandlerTest.class); suite.addTestSuite(RenderOptionBaseTest.class); suite.addTestSuite(ReportEngineTest.class); suite.addTestSuite(ReportParameterConverterTest.class); suite.addTestSuite(RunAndRenderTaskTest.class); //added 12/27 suite.addTestSuite(DataPreviewTaskTest.class); suite.addTestSuite(RunTaskTest.class); suite.addTestSuite(ReportDocumentTest.class); suite.addTestSuite(RenderTaskTest.class); //$JUnit-END$ return suite; }
58644 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58644/4ce90e0e2ebd55d11c8ab8cde2d2821c9b60b1b4/AllTests.java/buggy/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/AllTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 7766, 11371, 1435, 288, 202, 202, 4709, 13587, 11371, 273, 394, 7766, 13587, 12, 9506, 202, 6, 4709, 364, 2358, 18, 20416, 18, 70, 2714, 18, 6006, 18, 16341, 18, 8944, 8863, 202, 202, 759, 8, 46, 2802, 17, 16061, 8, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 1868, 1482, 1503, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 4410, 809, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 7473, 2345, 1895, 4709, 18, 1106, 1769, 202, 202, 759, 30676, 18, 1289, 4709, 13587, 12, 4870, 1803, 1503, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 4870, 6322, 2040, 1503, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 5062, 9687, 1938, 387, 809, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 4870, 3420, 1042, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 4870, 3420, 1895, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 4870, 2081, 2040, 1503, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 3420, 1895, 2171, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 4820, 4410, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 4820, 1662, 5072, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 1997, 1876, 3420, 2174, 4709, 18, 1106, 1769, 202, 202, 759, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 7766, 11371, 1435, 288, 202, 202, 4709, 13587, 11371, 273, 394, 7766, 13587, 12, 9506, 202, 6, 4709, 364, 2358, 18, 20416, 18, 70, 2714, 18, 6006, 18, 16341, 18, 8944, 8863, 202, 202, 759, 8, 46, 2802, 17, 16061, 8, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 1868, 1482, 1503, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 4410, 809, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 7473, 2345, 1895, 4709, 18, 1106, 1769, 202, 202, 759, 30676, 18, 1289, 4709, 13587, 12, 4870, 1803, 1503, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 4870, 6322, 2040, 1503, 4709, 18, 2 ]
continue;
private static String[] processCommandLine(String[] args) throws Exception { EnvironmentInfo.allArgs = args; int[] configArgs = new int[100]; configArgs[0] = -1; // need to initialize the first element to something that could not be an index. int configArgIndex = 0; for (int i = 0; i < args.length; i++) { boolean found = false; // check for args without parameters (i.e., a flag arg) // check if debug should be enabled for the entire platform // If this is the last arg or there is a following arg (i.e., arg+1 has a leading -), // simply enable debug. Otherwise, assume that that the following arg is // actually the filename of an options file. This will be processed below. if (args[i].equalsIgnoreCase(DEBUG) && ((i + 1 == args.length) || ((i + 1 < args.length) && (args[i + 1].startsWith("-"))))) { //$NON-NLS-1$ System.getProperties().put(PROP_DEBUG, ""); //$NON-NLS-1$ debug = true; found = true; } // check if development mode should be enabled for the entire platform // If this is the last arg or there is a following arg (i.e., arg+1 has a leading -), // simply enable development mode. Otherwise, assume that that the following arg is // actually some additional development time class path entries. This will be processed below. if (args[i].equalsIgnoreCase(DEV) && ((i + 1 == args.length) || ((i + 1 < args.length) && (args[i + 1].startsWith("-"))))) { //$NON-NLS-1$ System.getProperties().put(PROP_DEV, ""); //$NON-NLS-1$ found = true; continue; } // look for the initialization arg if (args[i].equalsIgnoreCase(INITIALIZE)) { initialize = true; found = true; } // look for the consoleLog flag if (args[i].equalsIgnoreCase(CONSOLE_LOG)) { System.getProperties().put(PROP_CONSOLE_LOG, "true"); //$NON-NLS-1$ found = true; } // look for the console with no port. if (args[i].equalsIgnoreCase(CONSOLE) && ((i + 1 == args.length) || ((i + 1 < args.length) && (args[i + 1].startsWith("-"))))) { //$NON-NLS-1$ System.getProperties().put(PROP_CONSOLE, ""); //$NON-NLS-1$ found = true; continue; } if (found) { configArgs[configArgIndex++] = i; continue; } // check for args with parameters. If we are at the last argument or if the next one // has a '-' as the first character, then we can't have an arg with a parm so continue. if (i == args.length - 1 || args[i + 1].startsWith("-")) { //$NON-NLS-1$ continue; } String arg = args[++i]; // look for the console and port. if (args[i - 1].equalsIgnoreCase(CONSOLE)) { System.getProperties().put(PROP_CONSOLE, arg); found = true; continue; } // look for the configuration location . if (args[i - 1].equalsIgnoreCase(CONFIGURATION)) { System.getProperties().put(LocationManager.PROP_CONFIG_AREA, arg); found = true; continue; } // look for the data location for this instance. if (args[i - 1].equalsIgnoreCase(DATA)) { System.getProperties().put(LocationManager.PROP_INSTANCE_AREA, arg); found = true; continue; } // look for the user location for this instance. if (args[i - 1].equalsIgnoreCase(USER)) { System.getProperties().put(LocationManager.PROP_USER_AREA, arg); found = true; continue; } // look for the development mode and class path entries. if (args[i - 1].equalsIgnoreCase(DEV)) { System.getProperties().put(PROP_DEV, arg); found = true; continue; } // look for the debug mode and option file location. if (args[i - 1].equalsIgnoreCase(DEBUG)) { System.getProperties().put(PROP_DEBUG, arg); debug = true; found = true; continue; } // look for the window system. if (args[i - 1].equalsIgnoreCase(WS)) { System.getProperties().put(PROP_WS, arg); found = true; } // look for the operating system if (args[i - 1].equalsIgnoreCase(OS)) { System.getProperties().put(PROP_OS, arg); found = true; } // look for the system architecture if (args[i - 1].equalsIgnoreCase(ARCH)) { System.getProperties().put(PROP_ARCH, arg); found = true; } // look for the nationality/language if (args[i - 1].equalsIgnoreCase(NL)) { System.getProperties().put(PROP_NL, arg); found = true; } // done checking for args. Remember where an arg was found if (found) { configArgs[configArgIndex++] = i - 1; configArgs[configArgIndex++] = i; } } // remove all the arguments consumed by this argument parsing if (configArgIndex == 0) { EnvironmentInfo.frameworkArgs = new String[0]; EnvironmentInfo.appArgs = args; return args; } EnvironmentInfo.appArgs = new String[args.length - configArgIndex]; EnvironmentInfo.frameworkArgs = new String[configArgIndex]; configArgIndex = 0; int j = 0; int k = 0; for (int i = 0; i < args.length; i++) { if (i == configArgs[configArgIndex]) { EnvironmentInfo.frameworkArgs[k++] = args[i]; configArgIndex++; } else EnvironmentInfo.appArgs[j++] = args[i]; } return EnvironmentInfo.appArgs; }
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/ff23d0a76b3dcf5b1305d0b0e0e89bb68829fbec/EclipseStarter.java/buggy/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseStarter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 514, 8526, 1207, 21391, 12, 780, 8526, 833, 13, 1216, 1185, 288, 202, 202, 5494, 966, 18, 454, 2615, 273, 833, 31, 202, 202, 474, 8526, 642, 2615, 273, 394, 509, 63, 6625, 15533, 202, 202, 1425, 2615, 63, 20, 65, 273, 300, 21, 31, 368, 1608, 358, 4046, 326, 1122, 930, 358, 5943, 716, 3377, 486, 506, 392, 770, 18, 202, 202, 474, 642, 4117, 1016, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 1082, 202, 6494, 1392, 273, 629, 31, 1082, 202, 759, 866, 364, 833, 2887, 1472, 261, 77, 18, 73, 12990, 279, 2982, 1501, 13, 9506, 202, 759, 866, 309, 1198, 1410, 506, 3696, 364, 326, 7278, 4072, 1082, 202, 759, 971, 333, 353, 326, 1142, 1501, 578, 1915, 353, 279, 3751, 1501, 261, 77, 18, 73, 12990, 1501, 15, 21, 711, 279, 7676, 300, 3631, 1875, 202, 759, 8616, 4237, 1198, 18, 225, 5272, 16, 6750, 716, 716, 326, 3751, 1501, 353, 1082, 202, 759, 6013, 326, 1544, 434, 392, 702, 585, 18, 225, 1220, 903, 506, 5204, 5712, 18, 1082, 202, 430, 261, 1968, 63, 77, 8009, 14963, 5556, 12, 9394, 13, 597, 14015, 77, 397, 404, 422, 833, 18, 2469, 13, 747, 14015, 77, 397, 404, 411, 833, 18, 2469, 13, 597, 261, 1968, 63, 77, 397, 404, 8009, 17514, 1190, 2932, 10951, 3719, 20349, 288, 4329, 3993, 17, 5106, 17, 21, 8, 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, 760, 514, 8526, 1207, 21391, 12, 780, 8526, 833, 13, 1216, 1185, 288, 202, 202, 5494, 966, 18, 454, 2615, 273, 833, 31, 202, 202, 474, 8526, 642, 2615, 273, 394, 509, 63, 6625, 15533, 202, 202, 1425, 2615, 63, 20, 65, 273, 300, 21, 31, 368, 1608, 358, 4046, 326, 1122, 930, 358, 5943, 716, 3377, 486, 506, 392, 770, 18, 202, 202, 474, 642, 4117, 1016, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 1082, 202, 6494, 1392, 273, 629, 31, 1082, 202, 759, 866, 364, 833, 2887, 1472, 261, 77, 18, 73, 12990, 279, 2982, 1501, 13, 9506, 202, 759, 2 ]
CmsResource res = readResource(resourceName, CmsResourceFilter.IGNORE_EXPIRATION);
CmsResource res = readResource(resourceName, CmsResourceFilter.ALL);
public void chacc(String resourceName, String principalType, String principalName, int allowedPermissions, int deniedPermissions, int flags) throws CmsException { CmsResource res = readResource(resourceName, CmsResourceFilter.IGNORE_EXPIRATION); CmsAccessControlEntry acEntry = null; I_CmsPrincipal principal = null; if (I_CmsPrincipal.C_PRINCIPAL_GROUP.equalsIgnoreCase(principalType)) { principal = readGroup(principalName); acEntry = new CmsAccessControlEntry(res.getResourceId(), principal.getId(), allowedPermissions, deniedPermissions, flags); acEntry.setFlags(I_CmsConstants.C_ACCESSFLAGS_GROUP); } else if (I_CmsPrincipal.C_PRINCIPAL_USER.equalsIgnoreCase(principalType)) { principal = readUser(principalName); acEntry = new CmsAccessControlEntry(res.getResourceId(), principal.getId(), allowedPermissions, deniedPermissions, flags); acEntry.setFlags(I_CmsConstants.C_ACCESSFLAGS_USER); } m_driverManager.writeAccessControlEntry(m_context, res, acEntry); }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/68aedaa3c01c741c9805c6fede5b6e13b059cef4/CmsObject.java/clean/src/org/opencms/file/CmsObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 462, 8981, 12, 780, 9546, 16, 514, 8897, 559, 16, 514, 8897, 461, 16, 509, 2935, 6521, 16, 509, 15338, 6521, 16, 509, 2943, 13, 1216, 11228, 288, 3639, 7630, 400, 273, 22159, 12, 3146, 461, 16, 21082, 18, 4685, 1769, 3639, 2149, 16541, 1622, 1721, 1622, 273, 446, 31, 3639, 467, 67, 4747, 9155, 8897, 273, 446, 31, 3639, 309, 261, 45, 67, 4747, 9155, 18, 39, 67, 8025, 23213, 2579, 1013, 67, 8468, 18, 14963, 5556, 12, 26138, 559, 3719, 288, 5411, 8897, 273, 855, 1114, 12, 26138, 461, 1769, 5411, 1721, 1622, 273, 394, 2149, 16541, 1622, 12, 455, 18, 588, 17790, 9334, 8897, 18, 26321, 9334, 2935, 6521, 16, 15338, 6521, 16, 2943, 1769, 5411, 1721, 1622, 18, 542, 5094, 12, 45, 67, 4747, 2918, 18, 39, 67, 13204, 17836, 67, 8468, 1769, 3639, 289, 469, 309, 261, 45, 67, 4747, 9155, 18, 39, 67, 8025, 23213, 2579, 1013, 67, 4714, 18, 14963, 5556, 12, 26138, 559, 3719, 288, 5411, 8897, 273, 855, 1299, 12, 26138, 461, 1769, 5411, 1721, 1622, 273, 394, 2149, 16541, 1622, 12, 455, 18, 588, 17790, 9334, 8897, 18, 26321, 9334, 2935, 6521, 16, 15338, 6521, 16, 2943, 1769, 5411, 1721, 1622, 18, 542, 5094, 12, 45, 67, 4747, 2918, 18, 39, 67, 13204, 17836, 67, 4714, 1769, 3639, 289, 3639, 312, 67, 7407, 1318, 18, 2626, 16541, 1622, 12, 81, 67, 2472, 16, 400, 16, 1721, 1622, 1769, 565, 289, 2, 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, 1, 1, 1, 1, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 462, 8981, 12, 780, 9546, 16, 514, 8897, 559, 16, 514, 8897, 461, 16, 509, 2935, 6521, 16, 509, 15338, 6521, 16, 509, 2943, 13, 1216, 11228, 288, 3639, 7630, 400, 273, 22159, 12, 3146, 461, 16, 21082, 18, 4685, 1769, 3639, 2149, 16541, 1622, 1721, 1622, 273, 446, 31, 3639, 467, 67, 4747, 9155, 8897, 273, 446, 31, 3639, 309, 261, 45, 67, 4747, 9155, 18, 39, 67, 8025, 23213, 2579, 1013, 67, 8468, 18, 14963, 5556, 12, 26138, 559, 3719, 288, 5411, 8897, 273, 855, 1114, 12, 26138, 461, 1769, 5411, 1721, 1622, 273, 394, 2149, 16541, 1622, 12, 455, 18, 588, 17790, 9334, 8897, 18, 26321, 9334, 2935, 6521, 16, 15338, 6521, 16, 2 ]
Util.writeMPI(p,out); Util.writeMPI(q,out); Util.writeMPI(g,out);
Util.writeMPI(p, out); Util.writeMPI(q, out); Util.writeMPI(g, out);
public void writeForWire(OutputStream out) throws IOException { Util.writeMPI(p,out); Util.writeMPI(q,out); Util.writeMPI(g,out); }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/0400e73e7503ab43211657c44d8448afd6346cce/DSAGroup.java/buggy/src/freenet/crypt/DSAGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 1290, 15249, 12, 4632, 596, 13, 1216, 1860, 288, 3639, 3564, 18, 2626, 49, 1102, 12, 84, 16, 659, 1769, 3639, 3564, 18, 2626, 49, 1102, 12, 85, 16, 659, 1769, 3639, 3564, 18, 2626, 49, 1102, 12, 75, 16, 659, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1045, 1290, 15249, 12, 4632, 596, 13, 1216, 1860, 288, 3639, 3564, 18, 2626, 49, 1102, 12, 84, 16, 659, 1769, 3639, 3564, 18, 2626, 49, 1102, 12, 85, 16, 659, 1769, 3639, 3564, 18, 2626, 49, 1102, 12, 75, 16, 659, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
args = setupArgs(runtime, tc, exceptionNodes);
args = setupArgs(context, exceptionNodes, self);
private boolean isRescueHandled(RubyException currentException, ListNode exceptionNodes) { if (exceptionNodes == null) { return currentException.isKindOf(runtime.getClass("StandardError")); } ThreadContext tc = getThreadContext(); tc.beginCallArgs(); IRubyObject[] args = null; try { args = setupArgs(runtime, tc, exceptionNodes); } finally { tc.endCallArgs(); } for (int i = 0; i < args.length; i++) { if (! args[i].isKindOf(runtime.getClass("Module"))) { throw runtime.newTypeError("class or module required for rescue clause"); } if (args[i].callMethod("===", currentException).isTrue()) return true; } return false; }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/6e15491217631472c05c6928672f9c7064a978b3/EvaluationState.java/clean/src/org/jruby/evaluator/EvaluationState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 353, 607, 8007, 23186, 12, 54, 10340, 503, 783, 503, 16, 987, 907, 1520, 3205, 13, 288, 3639, 309, 261, 4064, 3205, 422, 446, 13, 288, 5411, 327, 783, 503, 18, 291, 5677, 951, 12, 9448, 18, 588, 797, 2932, 8336, 668, 7923, 1769, 3639, 289, 7734, 4884, 1042, 1715, 273, 24459, 1042, 5621, 3639, 1715, 18, 10086, 1477, 2615, 5621, 3639, 15908, 10340, 921, 8526, 833, 273, 446, 31, 3639, 775, 288, 5411, 833, 273, 3875, 2615, 12, 2472, 16, 1520, 3205, 16, 365, 1769, 3639, 289, 3095, 288, 5411, 1715, 18, 409, 1477, 2615, 5621, 3639, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 309, 16051, 833, 63, 77, 8009, 291, 5677, 951, 12, 9448, 18, 588, 797, 2932, 3120, 6, 20349, 288, 7734, 604, 3099, 18, 2704, 19030, 2932, 1106, 578, 1605, 1931, 364, 8223, 6591, 8863, 5411, 289, 5411, 309, 261, 1968, 63, 77, 8009, 1991, 1305, 2932, 631, 1546, 16, 783, 503, 2934, 291, 5510, 10756, 7734, 327, 638, 31, 3639, 289, 3639, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 353, 607, 8007, 23186, 12, 54, 10340, 503, 783, 503, 16, 987, 907, 1520, 3205, 13, 288, 3639, 309, 261, 4064, 3205, 422, 446, 13, 288, 5411, 327, 783, 503, 18, 291, 5677, 951, 12, 9448, 18, 588, 797, 2932, 8336, 668, 7923, 1769, 3639, 289, 7734, 4884, 1042, 1715, 273, 24459, 1042, 5621, 3639, 1715, 18, 10086, 1477, 2615, 5621, 3639, 15908, 10340, 921, 8526, 833, 273, 446, 31, 3639, 775, 288, 5411, 833, 273, 3875, 2615, 12, 2472, 16, 1520, 3205, 16, 365, 1769, 3639, 289, 3095, 288, 5411, 1715, 18, 409, 1477, 2615, 5621, 3639, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 2 ]
final long timeout,
protected void sendCommunityRequest(final String communityName, final int requestType, final Entity entity, final ModificationItem[] attrMods, final long timeout, final CommunityResponseListener crl) { if (log.isDebugEnabled()) { log.debug(agentName + ": sendCommunityRequest: " + " community=" + communityName + " type=" + requestType + " entity=" + entity + " attrMods=" + attrMods + " timeout=" + timeout); } FindCommunityCallback fmcb = new FindCommunityCallback() { public void execute(String managerName) { if (log.isDebugEnabled()) { log.debug(agentName + ": sendCommunityRequest: " + " community=" + communityName + " manager=" + managerName); } if (managerName != null) { if (managerName.equals(agentName)) { // is this agent manager? CommunityResponse resp = communityManager.processRequest(agentName, communityName, requestType, entity, attrMods); Set listeners = Collections.singleton(crl); handleResponse(communityName, resp, listeners); } else { // Send request to remote manager agent MessageAddress managerAddr = MessageAddress.getMessageAddress(managerName); Request req = new RequestImpl(agentId, // source managerAddr, // target communityName, requestType, entity, attrMods, getUID(), crl); myBlackboardClient.publish(req, BlackboardClient.ADD); } } else { handleResponse(communityName, new CommunityResponseImpl(CommunityResponse.TIMEOUT, null), Collections.singleton(crl)); } } }; findCommunity(communityName, fmcb, timeout); }
11317 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11317/d15772ee503470dc15063061ac9e455f86663be3/DefaultCommunityServiceImpl.java/buggy/community/src/org/cougaar/community/DefaultCommunityServiceImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1366, 12136, 13352, 691, 12, 6385, 514, 19833, 461, 16, 4766, 1377, 727, 509, 27179, 16, 4766, 1377, 727, 3887, 1522, 16, 4766, 1377, 727, 3431, 1480, 1180, 8526, 1604, 1739, 87, 16, 28524, 6647, 727, 16854, 13352, 1064, 2223, 18789, 13, 288, 565, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 1377, 613, 18, 4148, 12, 5629, 461, 397, 6398, 1366, 12136, 13352, 691, 30, 315, 397, 7734, 315, 19833, 1546, 397, 19833, 461, 397, 7734, 315, 618, 1546, 397, 27179, 397, 7734, 315, 1522, 1546, 397, 1522, 397, 7734, 315, 1604, 1739, 87, 1546, 397, 1604, 1739, 87, 397, 7734, 315, 2021, 1546, 397, 2021, 1769, 565, 289, 565, 4163, 12136, 13352, 2428, 10940, 7358, 273, 394, 4163, 12136, 13352, 2428, 1435, 288, 1377, 1071, 918, 1836, 12, 780, 3301, 461, 13, 288, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 1850, 613, 18, 4148, 12, 5629, 461, 397, 6398, 1366, 12136, 13352, 691, 30, 315, 397, 10792, 315, 19833, 1546, 397, 19833, 461, 397, 10792, 315, 3301, 1546, 397, 3301, 461, 1769, 3639, 289, 3639, 309, 261, 4181, 461, 480, 446, 13, 288, 1850, 309, 261, 4181, 461, 18, 14963, 12, 5629, 461, 3719, 288, 368, 353, 333, 4040, 3301, 35, 5411, 16854, 13352, 1064, 1718, 273, 7734, 19833, 1318, 18, 2567, 691, 12, 5629, 461, 16, 4766, 7734, 19833, 461, 16, 4766, 7734, 27179, 16, 4766, 7734, 1522, 16, 4766, 7734, 1604, 1739, 87, 1769, 5411, 1000, 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, 1366, 12136, 13352, 691, 12, 6385, 514, 19833, 461, 16, 4766, 1377, 727, 509, 27179, 16, 4766, 1377, 727, 3887, 1522, 16, 4766, 1377, 727, 3431, 1480, 1180, 8526, 1604, 1739, 87, 16, 28524, 6647, 727, 16854, 13352, 1064, 2223, 18789, 13, 288, 565, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 1377, 613, 18, 4148, 12, 5629, 461, 397, 6398, 1366, 12136, 13352, 691, 30, 315, 397, 7734, 315, 19833, 1546, 397, 19833, 461, 397, 7734, 315, 618, 1546, 397, 27179, 397, 7734, 315, 1522, 1546, 397, 1522, 397, 7734, 315, 1604, 1739, 87, 1546, 397, 1604, 1739, 87, 397, 7734, 315, 2021, 1546, 397, 2021, 1769, 565, 289, 565, 4163, 12136, 13352, 2428, 2 ]
for (int j = 0; j < LEFT_MARGIN + 4; j++, sb.append(' '))
for (int j = 0; j < LEFT_MARGIN + 3; j++, sb.append(' '))
private void printList(File[] list, PrintStream out) { if (list != null) { Arrays.sort(list, new Comparator<File>() { public int compare(File f1, File f2) { boolean b1 = f1.isDirectory(); boolean b2 = f2.isDirectory(); return b1 == b2 ? f1.getName().compareTo(f2.getName()) : b1 & !b2 ? -1 : 1; } }); StringBuilder sb = new StringBuilder(); Date lastModified = new Date(); for (int i = 0; i < list.length; i++) { File f = list[i]; if (f.exists()) { sb.setLength(0); lastModified.setTime(f.lastModified()); if (f.isFile()) { String ln = String.valueOf(f.length()); int cnt = LEFT_MARGIN - ln.length(); for (int j = 0; j < cnt; j++, sb.append(' ')) ; sb.append(ln); sb.append("B "); sb.append(df.format(lastModified)); sb.append(" "); sb.append(f.getName()); } else { for (int j = 0; j < LEFT_MARGIN + 4; j++, sb.append(' ')) ; sb.append(df.format(lastModified)); sb.append(" ["); sb.append(f.getName()); sb.append(']'); } out.println(sb.toString()); } } out.println(); } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e05eb361be2477c496a6c281a82f52392e5d9f7d/DirCommand.java/clean/fs/src/fs/org/jnode/fs/command/DirCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1172, 682, 12, 812, 8526, 666, 16, 21677, 596, 13, 288, 3639, 309, 261, 1098, 480, 446, 13, 288, 5411, 5647, 18, 3804, 12, 1098, 16, 394, 13359, 32, 812, 34, 1435, 288, 7734, 1071, 509, 3400, 12, 812, 284, 21, 16, 1387, 284, 22, 13, 288, 10792, 1250, 324, 21, 273, 284, 21, 18, 291, 2853, 5621, 10792, 1250, 324, 22, 273, 284, 22, 18, 291, 2853, 5621, 10792, 327, 324, 21, 422, 324, 22, 692, 284, 21, 18, 17994, 7675, 9877, 774, 12, 74, 22, 18, 17994, 10756, 294, 18701, 324, 21, 473, 401, 70, 22, 692, 300, 21, 294, 404, 31, 7734, 289, 5411, 15549, 5411, 3225, 2393, 273, 394, 3225, 5621, 5411, 2167, 12709, 273, 394, 2167, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 666, 18, 2469, 31, 277, 27245, 288, 7734, 1387, 284, 273, 666, 63, 77, 15533, 7734, 309, 261, 74, 18, 1808, 10756, 288, 10792, 2393, 18, 542, 1782, 12, 20, 1769, 10792, 12709, 18, 542, 950, 12, 74, 18, 2722, 4575, 10663, 10792, 309, 261, 74, 18, 291, 812, 10756, 288, 13491, 514, 7211, 273, 514, 18, 1132, 951, 12, 74, 18, 2469, 10663, 13491, 509, 7599, 273, 9686, 67, 19772, 7702, 300, 7211, 18, 2469, 5621, 13491, 364, 261, 474, 525, 273, 374, 31, 525, 411, 7599, 31, 525, 9904, 16, 2393, 18, 6923, 2668, 296, 3719, 18701, 274, 13491, 2393, 18, 6923, 12, 2370, 1769, 13491, 2393, 18, 6923, 2932, 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, 1172, 682, 12, 812, 8526, 666, 16, 21677, 596, 13, 288, 3639, 309, 261, 1098, 480, 446, 13, 288, 5411, 5647, 18, 3804, 12, 1098, 16, 394, 13359, 32, 812, 34, 1435, 288, 7734, 1071, 509, 3400, 12, 812, 284, 21, 16, 1387, 284, 22, 13, 288, 10792, 1250, 324, 21, 273, 284, 21, 18, 291, 2853, 5621, 10792, 1250, 324, 22, 273, 284, 22, 18, 291, 2853, 5621, 10792, 327, 324, 21, 422, 324, 22, 692, 284, 21, 18, 17994, 7675, 9877, 774, 12, 74, 22, 18, 17994, 10756, 294, 18701, 324, 21, 473, 401, 70, 22, 692, 300, 21, 294, 404, 31, 7734, 289, 5411, 15549, 5411, 3225, 2393, 273, 394, 3225, 5621, 5411, 2 ]
} else if ( MasterPageHandle.ORIENTATION_PROP.equals( property ) ) {
} else if (MasterPageHandle.ORIENTATION_PROP.equals(property)) {
public static IChoiceSet getDEChoiceSet( String property ) { String unitKey = DesignChoiceConstants.CHOICE_UNITS; if ( AttributeConstant.BACKGROUND_COLOR.equals( property ) ) { unitKey = IColorConstants.COLORS_CHOICE_SET; } else if ( AttributeConstant.FONT_COLOR.equals( property ) ) { unitKey = IColorConstants.COLORS_CHOICE_SET; } else if ( AttributeConstant.FONT_SIZE.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_FONT_SIZE; } else if ( AttributeConstant.FONT_FAMILY.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_FONT_FAMILY; } else if ( AttributeConstant.TEXT_FORMAT.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_TEXT_CONTENT_TYPE; } else if ( AttributeConstant.BORDER_STYLE.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_LINE_STYLE; } else if ( AttributeConstant.BORDER_WIDTH.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_LINE_WIDTH; } else if ( SortKey.DIRECTION_MEMBER.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_SORT_DIRECTION; } else if ( FilterCondition.OPERATOR_MEMBER.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_FILTER_OPERATOR; } else if ( StyleHandle.VERTICAL_ALIGN_PROP.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_VERTICAL_ALIGN; } else if ( StyleHandle.TEXT_ALIGN_PROP.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_TEXT_ALIGN; } else if ( MasterPageHandle.ORIENTATION_PROP.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_PAGE_ORIENTATION; } else if ( MasterPageHandle.TYPE_PROP.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_PAGE_SIZE; } else if ( GroupHandle.INTERVAL_PROP.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_INTERVAL; } else if ( StyleHandle.PAGE_BREAK_BEFORE_PROP.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_PAGE_BREAK; } else if ( StyleHandle.PAGE_BREAK_AFTER_PROP.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_PAGE_BREAK; } else if ( StyleHandle.PAGE_BREAK_INSIDE_PROP.equals( property ) ) { unitKey = DesignChoiceConstants.CHOICE_PAGE_BREAK_INSIDE; } return DesignEngine.getMetaDataDictionary( ).getChoiceSet( unitKey ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/4d78f7686771fae0403ed68a06a850b0f45d97fa/ChoiceSetFactory.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/views/attributes/providers/ChoiceSetFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 467, 10538, 694, 336, 1639, 10538, 694, 12, 514, 1272, 262, 202, 95, 202, 202, 780, 2836, 653, 273, 29703, 10538, 2918, 18, 22213, 11774, 67, 24325, 31, 202, 202, 430, 261, 3601, 6902, 18, 8720, 20166, 67, 10989, 18, 14963, 12, 1272, 262, 262, 202, 202, 95, 1082, 202, 4873, 653, 273, 467, 2957, 2918, 18, 10989, 55, 67, 22213, 11774, 67, 4043, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 3601, 6902, 18, 25221, 67, 10989, 18, 14963, 12, 1272, 262, 262, 202, 202, 95, 1082, 202, 4873, 653, 273, 467, 2957, 2918, 18, 10989, 55, 67, 22213, 11774, 67, 4043, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 3601, 6902, 18, 25221, 67, 4574, 18, 14963, 12, 1272, 262, 262, 202, 202, 95, 1082, 202, 4873, 653, 273, 29703, 10538, 2918, 18, 22213, 11774, 67, 25221, 67, 4574, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 3601, 6902, 18, 25221, 67, 25002, 25554, 18, 14963, 12, 1272, 262, 262, 202, 202, 95, 1082, 202, 4873, 653, 273, 29703, 10538, 2918, 18, 22213, 11774, 67, 25221, 67, 25002, 25554, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 3601, 6902, 18, 5151, 67, 7254, 18, 14963, 12, 1272, 262, 262, 202, 202, 95, 1082, 202, 4873, 653, 273, 29703, 10538, 2918, 18, 22213, 11774, 67, 5151, 67, 9689, 67, 2399, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 3601, 6902, 18, 38, 7954, 67, 15066, 18, 14963, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 467, 10538, 694, 336, 1639, 10538, 694, 12, 514, 1272, 262, 202, 95, 202, 202, 780, 2836, 653, 273, 29703, 10538, 2918, 18, 22213, 11774, 67, 24325, 31, 202, 202, 430, 261, 3601, 6902, 18, 8720, 20166, 67, 10989, 18, 14963, 12, 1272, 262, 262, 202, 202, 95, 1082, 202, 4873, 653, 273, 467, 2957, 2918, 18, 10989, 55, 67, 22213, 11774, 67, 4043, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 3601, 6902, 18, 25221, 67, 10989, 18, 14963, 12, 1272, 262, 262, 202, 202, 95, 1082, 202, 4873, 653, 273, 467, 2957, 2918, 18, 10989, 55, 67, 22213, 11774, 67, 4043, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 3601, 6902, 2 ]
private boolean attributeIsTrue (XMLElement element, String name) { String value = element.getAttribute (name, "").toUpperCase (); if (value.equals ("YES")) { return (true); } else if (value.equals ("TRUE")) { return (true); } else if (value.equals ("ON")) { return (true); } else if (value.equals ("1")) { return (true); } return (false); }
54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/df53b17757bee3d8fd6a9cb585cb425bb91e3213/ShortcutPanel.java/clean/src/lib/com/izforge/izpack/panels/ShortcutPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 1566, 2520, 5510, 261, 15223, 930, 16, 4766, 282, 514, 377, 508, 13, 225, 288, 565, 514, 460, 273, 930, 18, 588, 1499, 261, 529, 16, 1408, 2934, 869, 8915, 261, 1769, 3639, 309, 261, 1132, 18, 14963, 7566, 29081, 6, 3719, 565, 288, 1377, 327, 261, 3767, 1769, 565, 289, 565, 469, 309, 261, 1132, 18, 14963, 7566, 18724, 6, 3719, 565, 288, 1377, 327, 261, 3767, 1769, 565, 289, 565, 469, 309, 261, 1132, 18, 14963, 7566, 673, 6, 3719, 565, 288, 1377, 327, 261, 3767, 1769, 565, 289, 565, 469, 309, 261, 1132, 18, 14963, 7566, 21, 6, 3719, 565, 288, 1377, 327, 261, 3767, 1769, 565, 289, 3639, 327, 261, 5743, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 1566, 2520, 5510, 261, 15223, 930, 16, 4766, 282, 514, 377, 508, 13, 225, 288, 565, 514, 460, 273, 930, 18, 588, 1499, 261, 529, 16, 1408, 2934, 869, 8915, 261, 1769, 3639, 309, 261, 1132, 18, 14963, 7566, 29081, 6, 3719, 565, 288, 1377, 327, 261, 3767, 1769, 565, 289, 565, 469, 309, 261, 1132, 18, 14963, 7566, 18724, 6, 3719, 565, 288, 1377, 327, 261, 3767, 1769, 565, 289, 565, 469, 309, 261, 1132, 18, 14963, 7566, 673, 6, 3719, 565, 288, 1377, 327, 261, 3767, 1769, 565, 289, 565, 469, 309, 261, 1132, 18, 14963, 7566, 21, 6, 3719, 565, 288, 1377, 327, 261, 3767, 1769, 565, 289, 3639, 327, 261, 5743, 1769, 2 ]
bits[0] = (byte)base; BigInteger bigBase = new BigInteger(bits); System.out.println("s2 = " + s2 + ", e = " + e + ", b = " + b.toString()); System.out.println("mhi = " + mhi.toString()); System.out.println("mlo = " + mlo.toString());
BigInteger bigBase = BigInteger.valueOf(base);
public static String JS_dtobasestr(int base, double d) { char[] buffer; /* The output string */ int p; /* index to current position in the buffer */ int pInt; /* index to the beginning of the integer part of the string */ int q; int digit; double di; /* d truncated to an integer */ double df; /* The fractional part of d */// JS_ASSERT(base >= 2 && base <= 36); buffer = new char[DTOBASESTR_BUFFER_SIZE]; p = 0; if (d < 0.0) { buffer[p++] = '-'; d = -d; } /* Check for Infinity and NaN */ if (Double.isNaN(d)) return "NaN"; else if (Double.isInfinite(d)) return "Infinity"; /* Output the integer part of d with the digits in reverse order. */ pInt = p; di = (int)d; BigInteger b = new BigInteger(byteValue((long)di)); String intDigits = b.toString(base); intDigits.getChars(0, intDigits.length(), buffer, p); p += intDigits.length(); df = d - di; if (df != 0.0) { /* We have a fraction. */ byte bits[] = new byte[8]; buffer[p++] = '.'; long dBits = Double.doubleToLongBits(d); int word0 = (int)(dBits >> 32); int word1 = (int)(dBits); int e = d2b(df, bits); b = new BigInteger(bits);// JS_ASSERT(e < 0); /* At this point df = b * 2^e. e must be less than zero because 0 < df < 1. */ int s2 = -(word0 >>> Exp_shift1 & Exp_mask >> Exp_shift1); if (s2 == 0) s2 = -1; s2 += Bias + P; /* 1/2^s2 = (nextDouble(d) - d)/2 */// JS_ASSERT(-s2 < e); bits = new byte[1]; bits[0] = 1; BigInteger mlo = new BigInteger(bits); BigInteger mhi = mlo; if ((word1 == 0) && ((word0 & Bndry_mask) == 0) && ((word0 & (Exp_mask & Exp_mask << 1)) != 0)) { /* The special case. Here we want to be within a quarter of the last input significant digit instead of one half of it when the output string's value is less than d. */ s2 += Log2P; bits[0] = 1<<Log2P; mhi = new BigInteger(bits); } b = b.shiftLeft(e + s2); bits[0] = 1; BigInteger s = new BigInteger(bits); s = s.shiftLeft(s2); /* At this point we have the following: * s = 2^s2; * 1 > df = b/2^s2 > 0; * (d - prevDouble(d))/2 = mlo/2^s2; * (nextDouble(d) - d)/2 = mhi/2^s2. */ bits[0] = (byte)base; // s'ok since base < 36 BigInteger bigBase = new BigInteger(bits); System.out.println("s2 = " + s2 + ", e = " + e + ", b = " + b.toString()); System.out.println("mhi = " + mhi.toString()); System.out.println("mlo = " + mlo.toString()); boolean done = false; do { b = b.multiply(bigBase); BigInteger[] divResult = b.divideAndRemainder(s); b = divResult[1]; digit = (char)(divResult[0].intValue()); if (mlo == mhi) mlo = mhi = mlo.multiply(bigBase); else { mlo = mlo.multiply(bigBase); mhi = mhi.multiply(bigBase); } /* Do we yet have the shortest string that will round to d? */ int j = b.compareTo(mlo); /* j is b/2^s2 compared with mlo/2^s2. */ BigInteger delta = s.subtract(mhi); int j1 = (delta.signum() <= 0) ? 1 : b.compareTo(delta); /* j1 is b/2^s2 compared with 1 - mhi/2^s2. */ if (j1 == 0 && ((word1 & 1) == 0)) { if (j > 0) digit++; done = true; } else if (j < 0 || (j == 0 && ((word1 & 1) == 0))) { if (j1 > 0) { /* Either dig or dig+1 would work here as the least significant digit. Use whichever would produce an output value closer to d. */ b = b.shiftLeft(1); j1 = b.compareTo(s); if (j1 > 0) /* The even test (|| (j1 == 0 && (digit & 1))) is not here because it messes up odd base output * such as 3.5 in base 3. */ digit++; } done = true; } else if (j1 > 0) { digit++; done = true; }// JS_ASSERT(digit < (uint32)base); buffer[p++] = BASEDIGIT(digit); } while (!done); } return new String(buffer, 0, p); }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/be6d0c85ffa6f2cc645c0516ebad8777e902b1af/DToA.java/buggy/src/org/mozilla/javascript/DToA.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 6756, 67, 72, 869, 18602, 313, 12, 474, 1026, 16, 1645, 302, 13, 565, 288, 3639, 1149, 8526, 1613, 31, 4202, 1748, 1021, 876, 533, 1195, 3639, 509, 293, 31, 9079, 1748, 770, 358, 783, 1754, 316, 326, 1613, 1195, 3639, 509, 293, 1702, 31, 5411, 1748, 770, 358, 326, 8435, 434, 326, 3571, 1087, 434, 326, 533, 1195, 3639, 509, 1043, 31, 3639, 509, 8035, 31, 3639, 1645, 4314, 31, 6647, 1748, 302, 15282, 358, 392, 3571, 1195, 3639, 1645, 3013, 31, 6647, 1748, 1021, 20462, 1087, 434, 302, 380, 28111, 3639, 6756, 67, 8423, 11539, 12, 1969, 1545, 576, 597, 1026, 1648, 6580, 1769, 3639, 1613, 273, 394, 1149, 63, 19792, 8369, 3902, 67, 11302, 67, 4574, 15533, 3639, 293, 273, 374, 31, 3639, 309, 261, 72, 411, 374, 18, 20, 13, 288, 5411, 1613, 63, 84, 9904, 65, 273, 4014, 31, 5411, 302, 273, 300, 72, 31, 3639, 289, 3639, 1748, 2073, 364, 19454, 471, 10180, 1195, 3639, 309, 261, 5265, 18, 291, 21172, 12, 72, 3719, 5411, 327, 315, 21172, 14432, 3639, 469, 5411, 309, 261, 5265, 18, 291, 382, 9551, 12, 72, 3719, 7734, 327, 315, 382, 7850, 14432, 3639, 1748, 3633, 326, 3571, 1087, 434, 302, 598, 326, 6815, 316, 4219, 1353, 18, 1195, 3639, 293, 1702, 273, 293, 31, 3639, 4314, 273, 261, 474, 13, 72, 31, 3639, 10246, 324, 273, 394, 10246, 12, 7229, 620, 12443, 5748, 13, 3211, 10019, 3639, 514, 509, 9537, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 6756, 67, 72, 869, 18602, 313, 12, 474, 1026, 16, 1645, 302, 13, 565, 288, 3639, 1149, 8526, 1613, 31, 4202, 1748, 1021, 876, 533, 1195, 3639, 509, 293, 31, 9079, 1748, 770, 358, 783, 1754, 316, 326, 1613, 1195, 3639, 509, 293, 1702, 31, 5411, 1748, 770, 358, 326, 8435, 434, 326, 3571, 1087, 434, 326, 533, 1195, 3639, 509, 1043, 31, 3639, 509, 8035, 31, 3639, 1645, 4314, 31, 6647, 1748, 302, 15282, 358, 392, 3571, 1195, 3639, 1645, 3013, 31, 6647, 1748, 1021, 20462, 1087, 434, 302, 380, 28111, 3639, 6756, 67, 8423, 11539, 12, 1969, 1545, 576, 597, 1026, 1648, 6580, 1769, 3639, 1613, 273, 394, 1149, 63, 19792, 8369, 3902, 2 ]
serializeByPullStream(element,omOutput,false);
serializeByPullStream(element, omOutput, false);
public static void serializeByPullStream(OMElement element, org.apache.axis2.om.impl.OMOutputImpl omOutput) throws XMLStreamException { serializeByPullStream(element,omOutput,false); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/16f711a34461099dbab830bbb3e33fe202dc57ec/OMSerializerUtil.java/buggy/modules/xml/src/org/apache/axis2/om/impl/llom/OMSerializerUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 4472, 858, 9629, 1228, 12, 51, 12310, 930, 16, 2358, 18, 19211, 18, 4890, 22, 18, 362, 18, 11299, 18, 1872, 1447, 2828, 8068, 1447, 13, 1216, 21526, 288, 3639, 4472, 858, 9629, 1228, 12, 2956, 16, 8068, 1447, 16, 629, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 4472, 858, 9629, 1228, 12, 51, 12310, 930, 16, 2358, 18, 19211, 18, 4890, 22, 18, 362, 18, 11299, 18, 1872, 1447, 2828, 8068, 1447, 13, 1216, 21526, 288, 3639, 4472, 858, 9629, 1228, 12, 2956, 16, 8068, 1447, 16, 629, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public KerberosServer(KdcConfiguration config, ServiceRegistry registry, PrincipalStore store)
public KerberosServer(KdcConfiguration config, IoAcceptor acceptor, PrincipalStore store)
public KerberosServer(KdcConfiguration config, ServiceRegistry registry, PrincipalStore store) { this.config = config; this.registry = registry; this.store = store; String name = config.getName(); int port = config.getPort(); try { handler = new KerberosProtocolHandler( new KdcConfiguration(), this.store ); udpService = new Service( name, TransportType.DATAGRAM, port ); tcpService = new Service( name, TransportType.SOCKET, port ); registry.bind( udpService, handler ); registry.bind( tcpService, handler ); log.debug( name + " listening on port " + port ); } catch ( IOException ioe ) { log.error( ioe.getMessage(), ioe ); } }
17035 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17035/af28aaf613d2cf3bdf90712d96c589640090b9c9/KerberosServer.java/buggy/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KerberosServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1475, 24704, 2081, 12, 47, 7201, 1750, 642, 16, 10495, 5933, 280, 2791, 280, 16, 17010, 2257, 1707, 13, 565, 288, 3639, 333, 18, 1425, 273, 642, 31, 3639, 333, 18, 9893, 273, 4023, 31, 3639, 333, 18, 2233, 273, 1707, 31, 3639, 514, 508, 273, 642, 18, 17994, 5621, 3639, 509, 1756, 273, 642, 18, 588, 2617, 5621, 3639, 775, 3639, 288, 5411, 1838, 273, 394, 1475, 24704, 5752, 1503, 12, 394, 1475, 7201, 1750, 9334, 333, 18, 2233, 11272, 5411, 16673, 1179, 273, 394, 1956, 12, 508, 16, 9514, 559, 18, 11102, 1781, 54, 2192, 16, 1756, 11272, 5411, 9658, 1179, 273, 394, 1956, 12, 508, 16, 9514, 559, 18, 25699, 16, 1756, 11272, 5411, 4023, 18, 4376, 12, 16673, 1179, 16, 1838, 11272, 5411, 4023, 18, 4376, 12, 9658, 1179, 16, 1838, 11272, 5411, 613, 18, 4148, 12, 508, 397, 315, 13895, 603, 1756, 315, 397, 1756, 11272, 3639, 289, 3639, 1044, 261, 1860, 10847, 262, 3639, 288, 5411, 613, 18, 1636, 12, 10847, 18, 24906, 9334, 10847, 11272, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1475, 24704, 2081, 12, 47, 7201, 1750, 642, 16, 10495, 5933, 280, 2791, 280, 16, 17010, 2257, 1707, 13, 565, 288, 3639, 333, 18, 1425, 273, 642, 31, 3639, 333, 18, 9893, 273, 4023, 31, 3639, 333, 18, 2233, 273, 1707, 31, 3639, 514, 508, 273, 642, 18, 17994, 5621, 3639, 509, 1756, 273, 642, 18, 588, 2617, 5621, 3639, 775, 3639, 288, 5411, 1838, 273, 394, 1475, 24704, 5752, 1503, 12, 394, 1475, 7201, 1750, 9334, 333, 18, 2233, 11272, 5411, 16673, 1179, 273, 394, 1956, 12, 508, 16, 9514, 559, 18, 11102, 1781, 54, 2192, 16, 1756, 11272, 5411, 9658, 1179, 273, 394, 1956, 12, 508, 16, 9514, 559, 18, 25699, 16, 1756, 11272, 5411, 2 ]
public void closePage() { //os.println("% procDict and colorMap dictionaries"); os.println("end end restore showpage"); if (isMultiPage()) os.println("%%PageTrailer"); }
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/de061d5977b00047b242b52aea5bc47538b063c5/PSGraphics2D.java/clean/freehep-graphicsio-ps/src/main/java/org/freehep/graphicsio/ps/PSGraphics2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1746, 1964, 1435, 288, 3639, 368, 538, 18, 8222, 27188, 5418, 5014, 471, 2036, 863, 16176, 8863, 3639, 1140, 18, 8222, 2932, 409, 679, 5217, 2405, 2433, 8863, 3639, 309, 261, 291, 5002, 1964, 10756, 1140, 18, 8222, 2932, 11438, 1964, 1609, 2895, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1746, 1964, 1435, 288, 3639, 368, 538, 18, 8222, 27188, 5418, 5014, 471, 2036, 863, 16176, 8863, 3639, 1140, 18, 8222, 2932, 409, 679, 5217, 2405, 2433, 8863, 3639, 309, 261, 291, 5002, 1964, 10756, 1140, 18, 8222, 2932, 11438, 1964, 1609, 2895, 8863, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(cntx != null){
if (cntx != null) {
public void getnewBugAttributes(NewBugModel nbm, boolean getProd) throws Exception { BufferedReader in = null; try { // create a new input stream for getting the bug String prodname = URLEncoder.encode(nbm.getProduct(), "UTF-8"); String url = bugzillaUrl + "/enter_bug.cgi"; // use the proper url if we dont know the product yet if(!getProd) url += "?product=" + prodname + "&"; else url += "?"; // add the password and username to the url so that bugzilla logs us in /* * The UnsupportedEncodingException exception for * URLEncoder.encode() should not be thrown, since every * implementation of the Java platform is required to support * the standard charset "UTF-8" */ url += "&GoAheadAndLogIn=1&Bugzilla_login=" + URLEncoder.encode(BugzillaPreferencePage.getUserName(), "UTF-8") + "&Bugzilla_password=" + URLEncoder.encode(BugzillaPreferencePage.getPassword(), "UTF-8"); URL bugUrl = new URL(url); URLConnection cntx = BugzillaPlugin.getDefault().getUrlConnection(bugUrl); if(cntx != null){ InputStream input = cntx.getInputStream(); if(input != null) { in = new BufferedReader(new InputStreamReader(input)); new NewBugParser(in).parseBugAttributes(nbm, getProd); } } } catch(Exception e) { if ( e instanceof KeyManagementException || e instanceof NoSuchAlgorithmException || e instanceof IOException ){ if(MessageDialog.openQuestion(null, "Bugzilla Connect Error", "Unable to connect to Bugzilla server.\n" + "Bug report will be created offline and saved for submission later.")){ nbm.setConnected(false); getProdConfigAttributes(nbm); } else throw new Exception("Bug report will not be created."); } else throw e; } finally { try{ if(in != null) in.close(); }catch(IOException e) { BugzillaPlugin.log(new Status(IStatus.ERROR, IBugzillaConstants.PLUGIN_ID,IStatus.ERROR,"Problem closing the stream", e)); } } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/de4b42dba8b1b8b770b413f9f9d24bdc30fccd38/BugzillaRepository.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaRepository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 336, 2704, 19865, 2498, 12, 1908, 19865, 1488, 4264, 81, 16, 1250, 3570, 72, 13, 1216, 1185, 202, 95, 202, 202, 17947, 2514, 316, 273, 446, 31, 202, 202, 698, 3196, 202, 95, 1082, 202, 759, 752, 279, 394, 810, 1407, 364, 8742, 326, 7934, 1082, 202, 780, 10791, 529, 273, 1976, 7204, 18, 3015, 12, 6423, 81, 18, 588, 4133, 9334, 315, 5159, 17, 28, 8863, 25083, 202, 780, 880, 273, 7934, 15990, 1489, 397, 2206, 2328, 67, 925, 18, 19062, 14432, 25083, 202, 759, 999, 326, 5338, 880, 309, 732, 14046, 5055, 326, 3017, 4671, 1082, 202, 430, 12, 5, 588, 30683, 13, 9506, 202, 718, 1011, 18101, 5896, 1546, 397, 10791, 529, 397, 7830, 14432, 1082, 202, 12107, 9506, 202, 718, 1011, 13574, 31, 15106, 202, 759, 527, 326, 2201, 471, 2718, 358, 326, 880, 1427, 716, 7934, 15990, 5963, 584, 316, 1082, 202, 20308, 9506, 380, 1021, 15367, 1520, 364, 9506, 380, 1976, 7204, 18, 3015, 1435, 1410, 486, 506, 6718, 16, 3241, 3614, 9506, 380, 4471, 434, 326, 5110, 4072, 353, 1931, 358, 2865, 9506, 380, 326, 4529, 4856, 315, 5159, 17, 28, 6, 9506, 1195, 1082, 202, 718, 1011, 7830, 5741, 24250, 1876, 1343, 382, 33, 21, 10, 19865, 15990, 67, 5819, 1546, 397, 1976, 7204, 18, 3015, 12, 19865, 15990, 9624, 1964, 18, 588, 15296, 9334, 315, 5159, 17, 28, 7923, 397, 7830, 19865, 15990, 67, 3664, 1546, 397, 1976, 7204, 18, 3015, 12, 19865, 15990, 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, 336, 2704, 19865, 2498, 12, 1908, 19865, 1488, 4264, 81, 16, 1250, 3570, 72, 13, 1216, 1185, 202, 95, 202, 202, 17947, 2514, 316, 273, 446, 31, 202, 202, 698, 3196, 202, 95, 1082, 202, 759, 752, 279, 394, 810, 1407, 364, 8742, 326, 7934, 1082, 202, 780, 10791, 529, 273, 1976, 7204, 18, 3015, 12, 6423, 81, 18, 588, 4133, 9334, 315, 5159, 17, 28, 8863, 25083, 202, 780, 880, 273, 7934, 15990, 1489, 397, 2206, 2328, 67, 925, 18, 19062, 14432, 25083, 202, 759, 999, 326, 5338, 880, 309, 732, 14046, 5055, 326, 3017, 4671, 1082, 202, 430, 12, 5, 588, 30683, 13, 9506, 202, 718, 1011, 18101, 5896, 1546, 397, 10791, 529, 2 ]
if(null != msg)
if (null != msg)
public void execute(TransformerImpl transformer, Node sourceNode, QName mode) throws SAXException { try { transformer.getResultTreeHandler().flushPending(); XPathContext liaison = ((XPathContext)transformer.getXPathContext()); ExtensionsTable etable = liaison.getExtensionsTable(); ExtensionHandler nsh = etable.get(m_extns); // We're seeing this extension namespace used for the first time. Try to // autodeclare it as a java namespace. if (null == nsh) { nsh = etable.makeJavaNamespace(m_extns); etable.addExtensionNamespace(m_extns, nsh); } nsh.processElement(this.getLocalName(), this, transformer, getStylesheet(), sourceNode.getOwnerDocument(), sourceNode, mode, this); } catch(Exception e) { // System.out.println(e); // e.printStackTrace(); String msg = e.getMessage(); if(null != msg) { if(msg.startsWith("Stopping after fatal error:")) { msg = msg.substring("Stopping after fatal error:".length()); } transformer.getMsgMgr().message(XSLMessages.createMessage(XSLTErrorResources.ER_CALL_TO_EXT_FAILED, new Object[]{msg}), false); //"Call to extension element failed: "+msg); // e.printStackTrace(); // System.exit(-1); } // transformer.message(msg); isAvailable = false; for (ElemTemplateElement child = m_firstChild; child != null; child = child.m_nextSibling) { if(child.getXSLToken() == Constants.ELEMNAME_FALLBACK) { try { transformer.pushElemTemplateElement(child, sourceNode); child.execute(transformer, sourceNode, mode); } finally { transformer.popElemTemplateElement(); } } } } }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/77ad973f1d6ad8f28fd358f2ba4d4c63da65d953/ElemExtensionCall.java/clean/src/org/apache/xalan/templates/ElemExtensionCall.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1836, 12, 8319, 2828, 8360, 16, 15604, 2029, 26799, 16, 8227, 16723, 1965, 13, 565, 1216, 14366, 225, 288, 565, 775, 565, 288, 1377, 8360, 18, 588, 1253, 2471, 1503, 7675, 11330, 8579, 5621, 5411, 10172, 1042, 328, 1155, 4530, 273, 14015, 14124, 1042, 13, 21523, 18, 588, 14124, 1042, 10663, 1377, 23105, 1388, 3393, 429, 273, 328, 1155, 4530, 18, 588, 7513, 1388, 5621, 1377, 10021, 1503, 290, 674, 273, 3393, 429, 18, 588, 12, 81, 67, 408, 2387, 1769, 1377, 368, 1660, 4565, 2621, 310, 333, 2710, 1981, 1399, 364, 326, 1122, 813, 18, 225, 6161, 358, 1377, 368, 2059, 390, 830, 834, 518, 487, 279, 2252, 1981, 18, 1377, 309, 261, 2011, 422, 290, 674, 13, 1377, 288, 3639, 290, 674, 273, 3393, 429, 18, 6540, 5852, 3402, 12, 81, 67, 408, 2387, 1769, 3639, 3393, 429, 18, 1289, 3625, 3402, 12, 81, 67, 408, 2387, 16, 290, 674, 1769, 1377, 289, 1377, 290, 674, 18, 2567, 1046, 12, 2211, 18, 588, 29583, 9334, 7682, 333, 16, 7682, 8360, 16, 12900, 336, 24656, 9334, 7682, 26799, 18, 588, 5541, 2519, 9334, 12900, 26799, 16, 7682, 1965, 16, 7682, 333, 1769, 565, 289, 565, 1044, 12, 503, 425, 13, 565, 288, 1377, 368, 2332, 18, 659, 18, 8222, 12, 73, 1769, 1377, 368, 425, 18, 1188, 6332, 5621, 1377, 514, 1234, 273, 425, 18, 24906, 5621, 4202, 309, 261, 2011, 480, 1234, 13, 1377, 288, 3639, 309, 12, 3576, 18, 17514, 1190, 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, 1836, 12, 8319, 2828, 8360, 16, 15604, 2029, 26799, 16, 8227, 16723, 1965, 13, 565, 1216, 14366, 225, 288, 565, 775, 565, 288, 1377, 8360, 18, 588, 1253, 2471, 1503, 7675, 11330, 8579, 5621, 5411, 10172, 1042, 328, 1155, 4530, 273, 14015, 14124, 1042, 13, 21523, 18, 588, 14124, 1042, 10663, 1377, 23105, 1388, 3393, 429, 273, 328, 1155, 4530, 18, 588, 7513, 1388, 5621, 1377, 10021, 1503, 290, 674, 273, 3393, 429, 18, 588, 12, 81, 67, 408, 2387, 1769, 1377, 368, 1660, 4565, 2621, 310, 333, 2710, 1981, 1399, 364, 326, 1122, 813, 18, 225, 6161, 358, 1377, 368, 2059, 390, 830, 834, 518, 487, 279, 2252, 1981, 18, 1377, 309, 261, 2011, 422, 2 ]
public void end( ) throws SAXException { super.end( ); IncludedLibrary includeLibrary = (IncludedLibrary) struct; // Use file name without path and suffix as default namespace. if ( StringUtil.isBlank( includeLibrary.getNamespace( ) ) ) { String fileName = StringUtil.extractFileName( includeLibrary .getFileName( ) ); includeLibrary.setNamespace( fileName ); } String namespace = includeLibrary.getNamespace( ); if ( isDuplicateNamespace( namespace ) ) { LibraryException ex = new LibraryException( handler.module, new String[]{namespace}, LibraryException.DESIGN_EXCEPTION_DUPLICATE_LIBRARY_NAMESPACE ); handler.getErrorHandler( ).semanticError( ex ); return; } // the library has already been included. URL url = handler.module.findResource( includeLibrary.getFileName(), IResourceLocator.LIBRARY ); if ( url != null && handler.module.getLibraryByLocation( url.toString( ) ) != null ) { LibraryException ex = new LibraryException( handler.module, new String[]{url.toString( )}, LibraryException.DESIGN_EXCEPTION_LIBRARY_ALREADY_INCLUDED ); handler.getErrorHandler().semanticWarning( ex ); return; } if ( handler.module instanceof Library && ( (Library) handler.module ) .isRecursiveNamespace( includeLibrary .getNamespace( ) ) ) { LibraryException ex = new LibraryException( handler.module, new String[]{namespace}, LibraryException.DESIGN_EXCEPTION_LIBRARY_INCLUDED_RECURSIVELY ); handler.getErrorHandler( ).semanticError( ex ); return; } handler.module.loadLibrarySilently( includeLibrary ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/7ef4314eeac72a8bf6cec13289f0b3b948bfa028/IncludedLibrariesStructureListState.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/IncludedLibrariesStructureListState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 6459, 409, 1435, 15069, 55, 2501, 503, 202, 202, 95, 1082, 202, 9565, 18, 409, 5621, 1082, 202, 19323, 9313, 6702, 9313, 28657, 19323, 9313, 13, 1697, 31, 1082, 202, 759, 3727, 3459, 13299, 803, 5708, 2609, 345, 1886, 4937, 18, 1082, 202, 430, 12, 13565, 18, 291, 7796, 12, 6702, 9313, 18, 588, 3402, 1435, 3719, 1082, 202, 95, 9506, 202, 780, 17812, 33, 13565, 18, 8004, 4771, 12, 6702, 9313, 25083, 202, 18, 588, 4771, 10663, 9506, 202, 6702, 9313, 18, 542, 3402, 12, 17812, 1769, 1082, 202, 97, 1082, 202, 780, 4937, 33, 6702, 9313, 18, 588, 3402, 5621, 1082, 202, 430, 12, 291, 11826, 3402, 12, 4937, 3719, 1082, 202, 95, 9506, 202, 9313, 503, 338, 33, 2704, 9313, 503, 12, 25083, 202, 4176, 18, 2978, 16, 25083, 202, 2704, 780, 63, 7073, 4937, 5779, 25083, 202, 9313, 503, 18, 1639, 11260, 67, 12658, 67, 30387, 26042, 67, 2053, 28254, 67, 11368, 1769, 9506, 202, 4176, 18, 588, 17729, 7675, 12000, 9941, 668, 12, 338, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 25083, 202, 759, 451, 30575, 3345, 5332, 17583, 2196, 275, 20405, 18, 25083, 202, 1785, 718, 33, 4176, 18, 2978, 18, 4720, 1420, 12, 6702, 9313, 18, 588, 4771, 9334, 45, 1420, 5786, 18, 2053, 28254, 1769, 1082, 202, 430, 12, 718, 5, 33, 2011, 10, 10, 4176, 18, 2978, 18, 588, 9313, 858, 2735, 12, 718, 18, 10492, 10756, 5, 33, 2011, 13, 1082, 202, 95, 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, 6459, 409, 1435, 15069, 55, 2501, 503, 202, 202, 95, 1082, 202, 9565, 18, 409, 5621, 1082, 202, 19323, 9313, 6702, 9313, 28657, 19323, 9313, 13, 1697, 31, 1082, 202, 759, 3727, 3459, 13299, 803, 5708, 2609, 345, 1886, 4937, 18, 1082, 202, 430, 12, 13565, 18, 291, 7796, 12, 6702, 9313, 18, 588, 3402, 1435, 3719, 1082, 202, 95, 9506, 202, 780, 17812, 33, 13565, 18, 8004, 4771, 12, 6702, 9313, 25083, 202, 18, 588, 4771, 10663, 9506, 202, 6702, 9313, 18, 542, 3402, 12, 17812, 1769, 1082, 202, 97, 1082, 202, 780, 4937, 33, 6702, 9313, 18, 588, 3402, 5621, 1082, 202, 430, 12, 291, 11826, 3402, 12, 4937, 3719, 1082, 202, 95, 9506, 2 ]
if(departmentID != null && unit.getType() != null && unit.getType().equals(UnitType.DEPARTMENT)){ department = (IDepartment) suportePersistente.getIPersistentObject().readByOID(Department.class, departmentID);
if (departmentID != null && unit.getType() != null && unit.getType().equals(UnitType.DEPARTMENT)) { department = (IDepartment) suportePersistente.getIPersistentObject().readByOID( Department.class, departmentID);
private void setDepartment(Integer departmentID, ISuportePersistente suportePersistente, IUnit unit) throws ExcepcaoPersistencia { IDepartment department = null; if(departmentID != null && unit.getType() != null && unit.getType().equals(UnitType.DEPARTMENT)){ department = (IDepartment) suportePersistente.getIPersistentObject().readByOID(Department.class, departmentID); unit.setDepartment(department); }// else if(departmentID == null && unit.getDepartment() != null){// unit.removeDepartment();// } }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/3a1a68ba706e5c6b1fa93deb780b0876ecf1d59d/CreateNewUnit.java/clean/src/net/sourceforge/fenixedu/applicationTier/Servico/manager/organizationalStructureManagement/CreateNewUnit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 444, 30358, 12, 4522, 443, 15750, 734, 16, 467, 3088, 499, 73, 11906, 73, 1169, 499, 73, 11906, 73, 16, 467, 2802, 2836, 13, 1216, 1312, 311, 2436, 6033, 12771, 28115, 288, 3639, 467, 30358, 443, 15750, 273, 446, 31, 3639, 309, 12, 323, 15750, 734, 480, 446, 597, 2836, 18, 588, 559, 1435, 480, 446, 597, 2836, 18, 588, 559, 7675, 14963, 12, 2802, 559, 18, 1639, 15055, 3212, 3719, 95, 5411, 443, 15750, 273, 261, 734, 881, 24144, 13, 1169, 499, 73, 11906, 73, 18, 588, 2579, 6572, 921, 7675, 896, 858, 12945, 12, 30358, 18, 1106, 16, 443, 15750, 734, 1769, 5411, 2836, 18, 542, 30358, 12, 323, 15750, 1769, 3639, 289, 759, 3639, 469, 309, 12, 323, 15750, 734, 422, 446, 597, 2836, 18, 588, 30358, 1435, 480, 446, 15329, 759, 5411, 2836, 18, 4479, 30358, 5621, 759, 3639, 289, 7734, 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, 3238, 918, 444, 30358, 12, 4522, 443, 15750, 734, 16, 467, 3088, 499, 73, 11906, 73, 1169, 499, 73, 11906, 73, 16, 467, 2802, 2836, 13, 1216, 1312, 311, 2436, 6033, 12771, 28115, 288, 3639, 467, 30358, 443, 15750, 273, 446, 31, 3639, 309, 12, 323, 15750, 734, 480, 446, 597, 2836, 18, 588, 559, 1435, 480, 446, 597, 2836, 18, 588, 559, 7675, 14963, 12, 2802, 559, 18, 1639, 15055, 3212, 3719, 95, 5411, 443, 15750, 273, 261, 734, 881, 24144, 13, 1169, 499, 73, 11906, 73, 18, 588, 2579, 6572, 921, 7675, 896, 858, 12945, 12, 30358, 18, 1106, 16, 443, 15750, 734, 1769, 5411, 2836, 18, 542, 30358, 12, 323, 15750, 1769, 3639, 289, 759, 2 ]
if ( dYAxisLabelsThickness > scX.getStartShift( ) ) { dStart = dX2 - scX.getStartShift( );
if ( scX.getDirection( ) == BACKWARD ) { if ( dYAxisLabelsThickness > scX.getEndShift( ) ) { dEnd = dX2 - scX.getEndShift( ); } else { dEnd = scX.getEnd( ); } dStart = scX.getStart( );
protected final double adjustHorizontal( double dBlockX, double dBlockWidth, AllAxes aax ) throws ChartException, IllegalArgumentException { final OneAxis axPH = aax.areAxesSwapped( ) ? aax.getPrimaryOrthogonal( ) : aax.getPrimaryBase( ); final OneAxis axPV = aax.areAxesSwapped( ) ? aax.getPrimaryBase( ) : aax.getPrimaryOrthogonal( ); final AutoScale scX = axPH.getScale( ); final AutoScale scY = axPV.getScale( ); final int iXLabelLocation = axPH.getLabelPosition( ); final int iYLabelLocation = axPV.getLabelPosition( ); final int iYTitleLocation = axPV.getTitlePosition( ); final Label laXAxisLabels = axPH.getLabel( ); final Label laYAxisLabels = axPV.getLabel( ); final Label laYAxisTitle = axPV.getTitle( ); final int iYTickStyle = axPV.getCombinedTickStyle( ); final IntersectionValue iv = axPV.getIntersectionValue( ); // COMPUTE THE THICKNESS OF THE AXIS INCLUDING AXIS LABEL BOUNDS AND // AXIS-PLOT SPACING final boolean bTicksLeft = ( iYTickStyle & TICK_LEFT ) == TICK_LEFT; // 'boolean' // FOR // CONVENIENCE // & // READABILITY final boolean bTicksRight = ( iYTickStyle & TICK_RIGHT ) == TICK_RIGHT; // 'boolean' // FOR // CONVENIENCE // & // READABILITY final double dAppliedYAxisPlotSpacing = ( iv.iType == IntersectionValue.MAX || iv.iType == IntersectionValue.MIN ) ? dYAxisPlotSpacing : 0; // UPDATE Y-AXIS ENDPOINTS DUE TO AXIS LABEL SHIFTS double dStart = scY.getStart( ), dEnd = scY.getEnd( ); scY.computeTicks( ids, laYAxisLabels, iYLabelLocation, VERTICAL, dStart, dEnd, true, aax ); if ( !scY.isStepFixed( ) ) { final Object[] oaMinMax = scY.getMinMax( ); while ( !scY.checkFit( ids, laYAxisLabels, iYLabelLocation ) ) { if (!scY.zoomOut( )) { break; } scY.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scY.computeTicks( ids, laYAxisLabels, iYLabelLocation, VERTICAL, dStart, dEnd, true, aax ); if ( scY.getUnit( ) != null && asInteger( scY.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { break; } } } double dYAxisLabelsThickness = scY.computeAxisLabelThickness( ids, axPV.getLabel( ), VERTICAL ); double dYAxisTitleThickness = 0; if ( laYAxisTitle.isVisible( ) ) { final String sPreviousValue = laYAxisTitle.getCaption( ).getValue( ); laYAxisTitle.getCaption( ) .setValue( rtc.externalizedMessage( sPreviousValue ) ); try { dYAxisTitleThickness = computeBox( ids, iYTitleLocation, laYAxisTitle, 0, 0 ).getWidth( ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, uiex ); } finally { laYAxisTitle.getCaption( ).setValue( sPreviousValue ); } } double dX = getLocation( scX, iv ), dX1 = dX, dX2 = dX; // Y-AXIS BAND // HORIZONTAL // CO-ORDINATES // COMPUTE VALUES FOR x1, x, x2 // x = HORIZONTAL LOCATION OF Y-AXIS ALONG PLOT // x1 = LEFT EDGE OF Y-AXIS BAND (DUE TO AXIS LABELS, TITLE, TICKS & // SPACING) // x2 = RIGHT EDGE OF Y-AXIS BAND (DUE TO AXIS LABELS, TITLE, TICKS & // SPACING) if ( iv.iType == IntersectionValue.MIN ) // LEFT { // NOTE: ENSURE CODE SYMMETRY WITH 'InsersectionValue.MAX' dX -= dAppliedYAxisPlotSpacing; dX1 = dX; dX2 = dX; if ( bTicksLeft ) { dX1 -= TICK_SIZE; } if ( iYLabelLocation == LEFT ) { dX1 -= dYAxisLabelsThickness; dX2 += Math.max( // IF LABELS ARE LEFT, THEN RIGHT SPACING IS // MAX(RT_TICK_SIZE, HORZ_SPACING) bTicksRight ? TICK_SIZE : 0, dAppliedYAxisPlotSpacing ); } else if ( iYLabelLocation == RIGHT ) { dX2 += Math.max( // IF LABELS ARE RIGHT, THEN RIGHT SPACING // IS // MAX(RT_TICK_SIZE+AXIS_LBL_THCKNESS, // HORZ_SPACING) ( bTicksRight ? TICK_SIZE : 0 ) + dYAxisLabelsThickness, dAppliedYAxisPlotSpacing ); } if ( iYTitleLocation == LEFT ) { dX1 -= dYAxisTitleThickness; } else if ( iYTitleLocation == RIGHT ) { dX2 += dYAxisTitleThickness; } // ENSURE THAT WE DON'T GO BEHIND THE LEFT PLOT BLOCK EDGE if ( dX1 < dBlockX ) { final double dDelta = ( dBlockX - dX1 ); dX1 = dBlockX; dX += dDelta; dX2 += dDelta; } final double dDeltaX1 = dX - dX1; final double dDeltaX2 = dX2 - dX; // COMPUTE THE Y-AXIS BAND THICKNESS AND ADJUST X2 FOR LABELS BELOW if ( iYLabelLocation == RIGHT ) { // Y-AXIS BAND IS (x1 -> (x+AxisPlotSpacing)) dX2 = ( dX + dAppliedYAxisPlotSpacing ); } dYAxisLabelsThickness = dX2 - dX1; // REUSE VARIABLE // CHECK IF X-AXIS THICKNESS REQUIRES A PLOT HEIGHT RESIZE AT THE // UPPER END scX.computeAxisStartEndShifts( ids, laXAxisLabels, HORIZONTAL, iXLabelLocation, aax ); if ( dYAxisLabelsThickness > scX.getStartShift( ) ) { // REDUCE scX's STARTPOINT TO FIT THE Y-AXIS ON THE LEFT dStart = dX2 - scX.getStartShift( ); } else { dStart = scX.getStart( ); } dEnd = scX.getEnd( ); scX.resetShifts( ); // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS LABELS IF // OVERLAPS OCCUR scX.setEndPoints( dStart, dEnd ); scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( !scX.isStepFixed( ) ) { final Object[] oaMinMax = scX.getMinMax( ); while ( !scX.checkFit( ids, laXAxisLabels, iXLabelLocation ) ) { if (!scX.zoomOut( )) { break; } scX.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( scX.getUnit( ) != null && asInteger( scX.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { break; } } } // MOVE THE Y-AXIS TO THE LEFT EDGE OF THE PLOT IF SLACK SPACE // EXISTS if ( dYAxisLabelsThickness < scX.getStartShift( ) ) { dX = scX.getStart( ) - ( dX2 - dX ); } dX -= insCA.getLeft( ); dX2 = dX + dDeltaX2; dX1 = dX - dDeltaX1; axPV.setTitleCoordinate( ( iYTitleLocation == LEFT ) ? dX1 - 1 : dX2 + 1 - dYAxisTitleThickness ); } else if ( iv.iType == IntersectionValue.MAX ) // RIGHT { // NOTE: ENSURE CODE SYMMETRY WITH 'InsersectionValue.MIN' dX += dAppliedYAxisPlotSpacing; dX1 = dX; dX2 = dX; if ( bTicksRight ) { dX2 += TICK_SIZE; } if ( iYLabelLocation == RIGHT ) { dX2 += dYAxisLabelsThickness; dX1 -= Math.max( bTicksLeft ? TICK_SIZE : 0, dAppliedYAxisPlotSpacing ); } else if ( iYLabelLocation == LEFT ) { dX1 -= Math.max( ( bTicksLeft ? TICK_SIZE : 0 ) + dYAxisLabelsThickness, dAppliedYAxisPlotSpacing ); } if ( iYTitleLocation == RIGHT ) { dX2 += dYAxisTitleThickness; } else if ( iYTitleLocation == LEFT ) { dX1 -= dYAxisTitleThickness; } // ENSURE THAT WE DON'T GO AHEAD OF THE RIGHT PLOT BLOCK EDGE if ( dX2 > dBlockX + dBlockWidth ) { final double dDelta = dX2 - ( dBlockX + dBlockWidth ); dX2 = dBlockX + dBlockWidth; dX -= dDelta; dX1 -= dDelta; } final double dDeltaX1 = dX - dX1; final double dDeltaX2 = dX2 - dX; // COMPUTE THE Y-AXIS BAND THICKNESS AND ADJUST X1 IF Y-AXIS LABELS // ARE ON THE LEFT if ( iYLabelLocation == LEFT ) { // Y-AXIS BAND IS ((x-AxisPlotSpacing) -> x2) dX1 = ( dX - dAppliedYAxisPlotSpacing ); } dYAxisLabelsThickness = dX2 - dX1; // REUSE VARIABLE // CHECK IF X-AXIS THICKNESS REQUIRES A PLOT HEIGHT RESIZE AT THE // UPPER END scX.computeAxisStartEndShifts( ids, laXAxisLabels, HORIZONTAL, iXLabelLocation, aax ); if ( dYAxisLabelsThickness > scX.getEndShift( ) ) { // REDUCE scX's ENDPOINT TO FIT THE Y-AXIS ON THE RIGHT dEnd = dX1 + scX.getEndShift( ); } else { dEnd = scX.getEnd( ); } dStart = scX.getStart( ); scX.resetShifts( ); // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS LABELS IF // OVERLAPS OCCUR scX.setEndPoints( dStart, dEnd ); scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( !scX.isStepFixed( ) ) { final Object[] oaMinMax = scX.getMinMax( ); while ( !scX.checkFit( ids, laXAxisLabels, iXLabelLocation ) ) { if (!scX.zoomOut( )) { break; } scX.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( scX.getUnit( ) != null && asInteger( scX.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { break; } } } // MOVE THE Y-AXIS TO THE LEFT EDGE OF THE PLOT IF SLACK SPACE // EXISTS if ( dYAxisLabelsThickness < scX.getEndShift( ) ) { dX = scX.getEnd( ) - ( dX1 - dX ); } dX += insCA.getRight( ); dX2 = dX + dDeltaX2; dX1 = dX - dDeltaX1; axPV.setTitleCoordinate( ( iYTitleLocation == LEFT ) ? dX1 - 1 : dX2 + 1 - dYAxisTitleThickness ); } else { double dDeltaX1 = 0, dDeltaX2 = 0; if ( iYTitleLocation == RIGHT ) { dX2 += dYAxisTitleThickness; } else if ( iYTitleLocation == LEFT ) { dX1 -= dYAxisTitleThickness; } if ( iYLabelLocation == LEFT ) { dX1 -= ( bTicksLeft ? TICK_SIZE : 0 ) + dYAxisLabelsThickness; dX2 += ( bTicksRight ? TICK_SIZE : 0 ); dDeltaX1 = dX - dX1; dDeltaX2 = dX2 - dX; // CHECK IF LEFT EDGE OF Y-AXIS BAND GOES BEHIND THE PLOT LEFT // EDGE if ( dX1 < dBlockX ) { final Object[] oaMinMax = scX.getMinMax( ); boolean bForceBreak = false; // A LOOP THAT ITERATIVELY ATTEMPTS TO ADJUST THE LEFT EDGE // OF THE Y-AXIS LABELS WITH THE LEFT EDGE OF THE PLOT // AND/OR // ENSURE THAT THE START POINT OF THE X-AXIS SCALE IS // SUITABLY POSITIONED // computeTicks(g2d, fm, iXLabelLocation, iXRotation, // HORIZONTAL, scX.dStart, scX.dEnd, scX, true); do { // CANCEL OUT THE ENDPOINT LABEL SHIFT COMPUTATIONS FROM // THE X-AXIS scX.setEndPoints( scX.getStart( ) - scX.getStartShift( ), scX.getEnd( ) + scX.getEndShift( ) ); // RESTORE scX.resetShifts( ); // APPLY THE AXIS REDUCTION FORMULA W.R.T. X-AXIS // STARTPOINT double[] da = scX.getEndPoints( ); double dT_RI = dBlockX - dX1; // THRESHOLD - // REQUESTEDINTERSECTION double dAMin_AMax = da[1] - da[0]; double dAMax_RI = da[1] - dX; double dDelta = ( dT_RI / dAMax_RI ) * dAMin_AMax; dStart = da[0] + dDelta; dEnd = da[1]; if ( dStart < dBlockX ) { dStart = dBlockX; bForceBreak = true; // ADJUST THE TOP EDGE OF THE // Y-AXIS SCALE TO THE TOP EDGE // OF THE PLOT BLOCK } // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS // LABELS IF OVERLAPS OCCUR scX.setEndPoints( dStart, dEnd ); scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); while ( !scX.checkFit( ids, laXAxisLabels, iXLabelLocation ) ) { if (!scX.zoomOut( )) { bForceBreak = true; break; } scX.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( scX.getUnit( ) != null && asInteger( scX.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { bForceBreak = true; break; } } dX = getLocation( scX, iv ); dX1 = dX - dDeltaX1; // RE-CALCULATE X-AXIS BAND LEFT // EDGE } while ( Math.abs( dX1 - dBlockX ) > 1 && !bForceBreak ); } else { // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS // LABELS IF OVERLAPS OCCUR dStart = scX.getStart( ); dEnd = scX.getEnd( ); scX.setEndPoints( dStart, dEnd ); scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( !scX.isStepFixed( ) ) { final Object[] oaMinMax = scX.getMinMax( ); while ( !scX.checkFit( ids, laXAxisLabels, iXLabelLocation ) ) { if (!scX.zoomOut( )) { break; } scX.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( scX.getUnit( ) != null && asInteger( scX.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { break; } } } dX = getLocation( scX, iv ); } dX1 = dX - dDeltaX1; dX2 = dX + dDeltaX2; } else if ( iYLabelLocation == RIGHT ) { dX2 += ( bTicksRight ? TICK_SIZE : 0 ) + dYAxisLabelsThickness; dX1 -= ( bTicksLeft ? TICK_SIZE : 0 ); dDeltaX1 = dX - dX1; dDeltaX2 = dX2 - dX; // CHECK IF RIGHT EDGE OF Y-AXIS BAND GOES BEHIND THE PLOT RIGHT // EDGE if ( dX2 > dBlockX + dBlockWidth ) { final Object[] oaMinMax = scX.getMinMax( ); boolean bForceBreak = false; // A LOOP THAT ITERATIVELY ATTEMPTS TO ADJUST THE RIGHT EDGE // OF THE Y-AXIS LABELS WITH THE RIGHT EDGE OF THE PLOT // AND/OR // ENSURE THAT THE START POINT OF THE X-AXIS SCALE IS // SUITABLY POSITIONED do { // CANCEL OUT THE ENDPOINT LABEL SHIFT COMPUTATIONS FROM // THE X-AXIS scX.setEndPoints( scX.getStart( ) - scX.getStartShift( ), scX.getEnd( ) + scX.getEndShift( ) ); // RESTORE scX.resetShifts( ); // APPLY THE AXIS REDUCTION FORMULA W.R.T. X-AXIS // ENDPOINT double[] da = scX.getEndPoints( ); double dT_RI = dX2 - ( dBlockX + dBlockWidth ); // THRESHOLD // - // REQUESTEDINTERSECTION double dAMin_AMax = da[1] - da[0]; double dAMin_RI = dX - da[0]; double dDelta = ( dT_RI / dAMin_RI ) * dAMin_AMax; dEnd = da[1] - dDelta; dStart = da[0]; if ( dEnd > dBlockX + dBlockWidth ) { dEnd = dBlockX + dBlockWidth; bForceBreak = true; // ADJUST THE TOP EDGE OF THE // Y-AXIS SCALE TO THE TOP EDGE // OF THE PLOT BLOCK } // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS // LABELS IF OVERLAPS OCCUR scX.setEndPoints( dStart, dEnd ); scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( !scX.isStepFixed( ) ) { while ( !scX.checkFit( ids, laXAxisLabels, iXLabelLocation ) ) { if (!scX.zoomOut( )) { bForceBreak = true; break; } scX.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( scX.getUnit( ) != null && asInteger( scX.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { bForceBreak = true; break; } } } dX = getLocation( scX, iv ); dX2 = dX + dDeltaX2; // RE-CALCULATE X-AXIS BAND // RIGHT // EDGE } while ( Math.abs( dX2 - ( dBlockX + dBlockWidth ) ) > 1 && !bForceBreak ); } else { // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS // LABELS IF OVERLAPS OCCUR dStart = scX.getStart( ); dEnd = scX.getEnd( ); scX.setEndPoints( dStart, dEnd ); scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( !scX.isStepFixed( ) ) { final Object[] oaMinMax = scX.getMinMax( ); while ( !scX.checkFit( ids, laXAxisLabels, iXLabelLocation ) ) { if (!scX.zoomOut( )) { break; } scX.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( scX.getUnit( ) != null && asInteger( scX.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { break; } } } dX = getLocation( scX, iv ); } dX2 = dX + dDeltaX2; dX1 = dX - dDeltaX1; } axPV.setTitleCoordinate( ( iYTitleLocation == LEFT ) ? dX1 - 1 : dX2 + 1 - dYAxisTitleThickness ); } return dX; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/536b54a46b25aa99e427a2fbd8217e09108c905a/PlotWithAxes.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWithAxes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 1645, 5765, 14457, 12, 1645, 302, 1768, 60, 16, 1645, 302, 1768, 2384, 16, 1082, 202, 1595, 26494, 279, 651, 262, 1216, 14804, 503, 16, 2754, 202, 95, 202, 202, 6385, 6942, 6558, 1740, 8939, 273, 279, 651, 18, 834, 26494, 12521, 1845, 12, 262, 692, 279, 651, 18, 588, 6793, 1162, 451, 28396, 12, 262, 9506, 202, 30, 279, 651, 18, 588, 6793, 2171, 12, 11272, 202, 202, 6385, 6942, 6558, 1740, 30201, 273, 279, 651, 18, 834, 26494, 12521, 1845, 12, 262, 692, 279, 651, 18, 588, 6793, 2171, 12, 262, 9506, 202, 30, 279, 651, 18, 588, 6793, 1162, 451, 28396, 12, 11272, 202, 202, 6385, 8064, 5587, 888, 60, 273, 1740, 8939, 18, 588, 5587, 12, 11272, 202, 202, 6385, 8064, 5587, 888, 61, 273, 1740, 30201, 18, 588, 5587, 12, 11272, 202, 202, 6385, 509, 277, 60, 2224, 2735, 273, 1740, 8939, 18, 588, 2224, 2555, 12, 11272, 202, 202, 6385, 509, 277, 61, 2224, 2735, 273, 1740, 30201, 18, 588, 2224, 2555, 12, 11272, 202, 202, 6385, 509, 277, 61, 4247, 2735, 273, 1740, 30201, 18, 588, 4247, 2555, 12, 11272, 202, 202, 6385, 5287, 7125, 60, 6558, 5888, 273, 1740, 8939, 18, 588, 2224, 12, 11272, 202, 202, 6385, 5287, 7125, 61, 6558, 5888, 273, 1740, 30201, 18, 588, 2224, 12, 11272, 202, 202, 6385, 5287, 7125, 61, 6558, 4247, 273, 1740, 30201, 18, 588, 4247, 12, 11272, 202, 202, 6385, 509, 277, 61, 6264, 2885, 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, 727, 1645, 5765, 14457, 12, 1645, 302, 1768, 60, 16, 1645, 302, 1768, 2384, 16, 1082, 202, 1595, 26494, 279, 651, 262, 1216, 14804, 503, 16, 2754, 202, 95, 202, 202, 6385, 6942, 6558, 1740, 8939, 273, 279, 651, 18, 834, 26494, 12521, 1845, 12, 262, 692, 279, 651, 18, 588, 6793, 1162, 451, 28396, 12, 262, 9506, 202, 30, 279, 651, 18, 588, 6793, 2171, 12, 11272, 202, 202, 6385, 6942, 6558, 1740, 30201, 273, 279, 651, 18, 834, 26494, 12521, 1845, 12, 262, 692, 279, 651, 18, 588, 6793, 2171, 12, 262, 9506, 202, 30, 279, 651, 18, 588, 6793, 1162, 451, 28396, 12, 11272, 202, 202, 6385, 8064, 5587, 888, 60, 273, 1740, 2 ]
if (broadcast) {
if (this.shouldBeAcquaintance(remoteService)) { this.register(remoteService); try { remoteService.register((P2PService) this.stubOnThis); } catch (Exception e) { logger.debug("Trouble with registering remote peer", e); this.acquaintanceManager.remove(remoteService); } } else if (broadcast) {
public void exploring(int ttl, UniversalUniqueID uuid, P2PService remoteService) { if (uuid != null) { logger.debug("Exploring message received with #" + uuid); ttl--; } boolean broadcast; try { broadcast = broadcaster(ttl, uuid, remoteService); } catch (P2POldMessageException e) { return; } if (broadcast) { // Forwarding the message if (uuid == null) { logger.debug("Generating uuid for exploring message"); uuid = generateUuid(); } try { this.acquaintances.exploring(ttl, uuid, remoteService); logger.debug("Broadcast exploring message with #" + uuid); } catch (ExceptionListException e) { // nothing to do } } // Method code --------------------------------------------------------- // This should be register if (this.shouldBeAcquaintance(remoteService)) { this.register(remoteService); remoteService.register((P2PService) this.stubOnThis); } }
14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/0aad9a60aca347dacfc0f0039dbbb1671d89cbc5/P2PService.java/buggy/src/org/objectweb/proactive/p2p/service/P2PService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 22991, 6053, 12, 474, 6337, 16, 27705, 31118, 3822, 16, 3639, 453, 22, 52, 1179, 2632, 1179, 13, 288, 3639, 309, 261, 7080, 480, 446, 13, 288, 5411, 1194, 18, 4148, 2932, 424, 412, 6053, 883, 5079, 598, 31526, 397, 3822, 1769, 5411, 6337, 413, 31, 3639, 289, 3639, 1250, 8959, 31, 3639, 775, 288, 5411, 8959, 273, 324, 26674, 12, 12546, 16, 3822, 16, 2632, 1179, 1769, 3639, 289, 1044, 261, 52, 22, 2419, 1236, 31270, 425, 13, 288, 5411, 327, 31, 3639, 289, 6647, 309, 261, 2211, 18, 13139, 1919, 9988, 372, 1598, 1359, 12, 7222, 1179, 3719, 288, 333, 18, 4861, 12, 7222, 1179, 1769, 775, 288, 2632, 1179, 18, 4861, 12443, 52, 22, 52, 1179, 13, 333, 18, 12847, 1398, 2503, 1769, 289, 1044, 261, 503, 425, 13, 288, 1194, 18, 4148, 2932, 56, 303, 1255, 598, 22845, 2632, 4261, 3113, 425, 1769, 333, 18, 1077, 372, 1598, 1359, 1318, 18, 4479, 12, 7222, 1179, 1769, 289, 289, 469, 309, 261, 19805, 13, 288, 5411, 368, 17206, 310, 326, 883, 5411, 309, 261, 7080, 422, 446, 13, 288, 7734, 1194, 18, 4148, 2932, 21755, 3822, 364, 22991, 6053, 883, 8863, 7734, 3822, 273, 2103, 5897, 5621, 5411, 289, 5411, 775, 288, 7734, 333, 18, 1077, 372, 1598, 6872, 18, 338, 412, 6053, 12, 12546, 16, 3822, 16, 2632, 1179, 1769, 7734, 1194, 18, 4148, 2932, 15926, 22991, 6053, 883, 598, 31526, 397, 3822, 1769, 5411, 289, 1044, 261, 503, 682, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 22991, 6053, 12, 474, 6337, 16, 27705, 31118, 3822, 16, 3639, 453, 22, 52, 1179, 2632, 1179, 13, 288, 3639, 309, 261, 7080, 480, 446, 13, 288, 5411, 1194, 18, 4148, 2932, 424, 412, 6053, 883, 5079, 598, 31526, 397, 3822, 1769, 5411, 6337, 413, 31, 3639, 289, 3639, 1250, 8959, 31, 3639, 775, 288, 5411, 8959, 273, 324, 26674, 12, 12546, 16, 3822, 16, 2632, 1179, 1769, 3639, 289, 1044, 261, 52, 22, 2419, 1236, 31270, 425, 13, 288, 5411, 327, 31, 3639, 289, 6647, 309, 261, 2211, 18, 13139, 1919, 9988, 372, 1598, 1359, 12, 7222, 1179, 3719, 288, 333, 18, 4861, 12, 7222, 1179, 1769, 775, 288, 2632, 1179, 18, 4861, 12443, 52, 2 ]
if(digitsFound[1]>0)
doubleResult=(double)longResult; if(digitsFound[1]==0)
public double toDouble() { int end = m_length+m_start; if(0 == end) return Double.NaN; int start = m_start; FastStringBuffer fsb = fsb(); long longResult=0; boolean isNegative=false; boolean trailingSpace=false; int[] digitsFound={0,0}; // intpart,fracpart int digitType=0; // Index to which kind of digit we're accumulating double doubleResult=0; // Scan past leading whitespace characters while(start< end && XMLCharacterRecognizer.isWhiteSpace( fsb.charAt(start) ) ) ++start; if (start < end && fsb.charAt(start) == '-') { isNegative=true; start++; } // parse the string from left to right converting as an integer. for (int i = start; i < end; i++) { char c = fsb.charAt(i); if(XMLCharacterRecognizer.isWhiteSpace(c)) { trailingSpace=true; break; // Trailing whitespace is ignored } else if(trailingSpace) return Double.NaN; // Nonspace after space is poorly formed switch(c) { case '.': if(digitType==0) digitType=1; else return Double.NaN; // Second period is error break; case '0': // NOT Unicode isDigit(); ASCII digits _only_ case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': // We have a potential overflow issue that we need // to guard against. See Bugzilla 5346. // // %REVIEW% Is it possible that we should be accepting _some_ // of the bits of the new digit, but not all of them? long newResult = longResult * 10 + (c - '0'); if(newResult>0) { longResult=newResult; ++digitsFound[digitType]; // Remember scaling } else { --digitsFound[1]; // Just scale up by 10, later } break; default: return Double.NaN; // Nonnumeric is error } } if(0 ==digitsFound[0]&& 0==digitsFound[1]) return Double.NaN; // Convert from scaled integer to floating point. This will come close. // There's an alternative solution involving Double.longBitsToDouble // followed by a combined renormalize/scale operation... but I honestly // think the more straightforward solution comes out to just about // the same thing. long scale=1; // AFAIK, java doesn't have an easier 10^n operation if(digitsFound[1]>0) // Normal fractional-part processing { for(int i=digitsFound[1];i>0;--i) scale*=10; doubleResult=((double)longResult)/scale; } else // Case where int-part overflow exceeds frac-part length { for(int i=digitsFound[1];i<0;++i) scale*=10; doubleResult=((double)longResult)*scale; } if(isNegative) doubleResult *= -1; return doubleResult; }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/f6285a9f152710ee8e34a4cb1b5a7fccd23d1a6d/XStringForFSB.java/clean/src/org/apache/xpath/objects/XStringForFSB.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1645, 358, 5265, 1435, 225, 288, 565, 509, 679, 273, 312, 67, 2469, 15, 81, 67, 1937, 31, 565, 309, 12, 20, 422, 679, 13, 1377, 327, 3698, 18, 21172, 31, 565, 509, 787, 273, 312, 67, 1937, 31, 565, 9545, 780, 1892, 2662, 70, 273, 2662, 70, 5621, 1850, 1525, 1525, 1253, 33, 20, 31, 565, 1250, 29886, 33, 5743, 31, 565, 1250, 7341, 3819, 33, 5743, 31, 565, 509, 8526, 6815, 2043, 5899, 20, 16, 20, 20451, 368, 509, 2680, 16, 22187, 2680, 565, 509, 8035, 559, 33, 20, 31, 565, 368, 3340, 358, 1492, 3846, 434, 8035, 732, 4565, 8822, 1776, 565, 1645, 1645, 1253, 33, 20, 31, 3639, 368, 8361, 8854, 7676, 7983, 3949, 565, 1323, 12, 1937, 32, 679, 597, 1850, 3167, 7069, 28131, 18, 291, 23108, 12, 2662, 70, 18, 3001, 861, 12, 1937, 13, 262, 1850, 262, 1377, 965, 1937, 31, 3639, 309, 261, 1937, 411, 679, 597, 2662, 70, 18, 3001, 861, 12, 1937, 13, 422, 4014, 13, 565, 288, 1377, 29886, 33, 3767, 31, 1377, 787, 9904, 31, 565, 289, 3639, 368, 1109, 326, 533, 628, 2002, 358, 2145, 14540, 487, 392, 3571, 18, 565, 364, 261, 474, 277, 273, 787, 31, 277, 411, 679, 31, 277, 27245, 565, 288, 1377, 1149, 276, 273, 2662, 70, 18, 3001, 861, 12, 77, 1769, 1377, 309, 12, 4201, 7069, 28131, 18, 291, 23108, 12, 71, 3719, 1377, 288, 9506, 202, 26453, 3819, 33, 3767, 31, 3639, 898, 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, 282, 1071, 1645, 358, 5265, 1435, 225, 288, 565, 509, 679, 273, 312, 67, 2469, 15, 81, 67, 1937, 31, 565, 309, 12, 20, 422, 679, 13, 1377, 327, 3698, 18, 21172, 31, 565, 509, 787, 273, 312, 67, 1937, 31, 565, 9545, 780, 1892, 2662, 70, 273, 2662, 70, 5621, 1850, 1525, 1525, 1253, 33, 20, 31, 565, 1250, 29886, 33, 5743, 31, 565, 1250, 7341, 3819, 33, 5743, 31, 565, 509, 8526, 6815, 2043, 5899, 20, 16, 20, 20451, 368, 509, 2680, 16, 22187, 2680, 565, 509, 8035, 559, 33, 20, 31, 565, 368, 3340, 358, 1492, 3846, 434, 8035, 732, 4565, 8822, 1776, 565, 1645, 1645, 1253, 33, 20, 31, 3639, 368, 8361, 8854, 7676, 7983, 2 ]
}else if (atom.getChemicalGroupConstant()==4){
}else if (atomChemGroupConstant==4){
public AtomType findMatchingAtomType(AtomContainer atomContainer, Atom atomInterface) throws CDKException { org.openscience.cdk.Atom atom = (org.openscience.cdk.Atom)atomInterface; //System.out.println("****** Configure MMFF94 AtomType via findMatching ******"); //System.out.print(" Symbol:" + atom.getSymbol() +" HoseCode>" + atom.getSphericalMatcher() + " "); logger.debug(" Symbol:" + atom.getSymbol() +" HoseCode>" + atom.getSphericalMatcher() + " "); try { factory = AtomTypeFactory.getInstance("org/openscience/cdk/config/data/mmff94_atomtypes.xml"); } catch (Exception ex1) { logger.error(ex1.getMessage()); logger.debug(ex1); } if (atom instanceof PseudoAtom) { return factory.getAtomTypes("DU")[0]; } Pattern p1 = null; Pattern p2 = null; String ID = ""; boolean atomTypeFlag = false; Matcher mat1=null; Matcher mat2=null; double tmpMaxBondOrder = 0; maxBondOrder = atomContainer.getMaximumBondOrder(atom); for (int j = 0; j < atomTypeIds.length; j++){ tmpMaxBondOrder = factory.getAtomType(atomTypeIds[j]).getMaxBondOrder(); logger.debug(j + "ATOM TYPE "+ tmpMaxBondOrder + " " +factory.getAtomType(atomTypeIds[j]).getSphericalMatcher()); p1 =Pattern.compile(factory.getAtomType(atomTypeIds[j]).getSphericalMatcher()); mat1 = p1.matcher(atom.getSphericalMatcher()); if (mat1.matches()) { ID = atomTypeIds[j]; if (atomTypeIds[j].equals("C")) { if (atom.getChemicalGroupConstant()!=-1) {//in Ring if (maxBondOrder == 1){ if (atom.getRingSize() == 3) { ID = atomTypeIds[9];//sp3 3mem rings }else if (atom.getRingSize() == 4) { ID = atomTypeIds[8];//sp3 4mem rings } }else{//sp2 p1 =Pattern.compile(factory.getAtomType(atomTypeIds[13]).getSphericalMatcher());//C5B mat1 = p1.matcher(atom.getSphericalMatcher()); p2 =Pattern.compile(factory.getAtomType(atomTypeIds[12]).getSphericalMatcher());//C5A mat2 = p2.matcher(atom.getSphericalMatcher()); if (mat1.matches() && atom.getChemicalGroupConstant()%2==0 && atom.getFlag(CDKConstants.ISAROMATIC) && atom.getRingSize()==5){ ID = atomTypeIds[13]; }else if (mat2.matches() && atom.getChemicalGroupConstant()%2==0 && atom.getFlag(CDKConstants.ISAROMATIC) && atom.getRingSize()==5){ ID = atomTypeIds[12]; }else if (atom.getChemicalGroupConstant()%2==0 && atom.getFlag(CDKConstants.ISAROMATIC) && atom.getRingSize()==5) { ID = atomTypeIds[14];//C5 in het 5 ring }else if (atom.getFlag(CDKConstants.ISAROMATIC)) { ID = atomTypeIds[11];//Car in benzene, pyroll } } }else{//not in Ring p1 = Pattern.compile(factory.getAtomType(atomTypeIds[66]).getSphericalMatcher());//S=C mat1 = p1.matcher(atom.getSphericalMatcher()); if (mat1.matches()){ ID = atomTypeIds[66];//S=C } } } else if (atomTypeIds[j].equals("Csp2")) { if (atom.getChemicalGroupConstant()%2==0 & atom.getRingSize()==4 & !atom.getFlag(CDKConstants.ISAROMATIC)) { ID = atomTypeIds[10];//CE4R } } else if (atomTypeIds[j].equals("C=")) { if (atom.getChemicalGroupConstant()%2==0 && atom.getFlag(CDKConstants.ISAROMATIC)) { ID = atomTypeIds[12];//C5A } } else if (atomTypeIds[j].equals("N")) { //Amid p1 = Pattern.compile(factory.getAtomType(atomTypeIds[48]).getSphericalMatcher());//NC=0 mat1 = p1.matcher(atom.getSphericalMatcher()); if (mat1.matches() & atom.getChemicalGroupConstant()==-1) { ID = atomTypeIds[48];//NC=O } //nsp3 oxide p1 = Pattern.compile(factory.getAtomType(atomTypeIds[44]).getSphericalMatcher());//sp3 n-oxide mat1 = p1.matcher(atom.getSphericalMatcher()); if (mat1.matches() && maxBondOrder==tmpMaxBondOrder){ ID = atomTypeIds[44]; } //ring sytems p1 = Pattern.compile(factory.getAtomType(atomTypeIds[56]).getSphericalMatcher()); mat1 = p1.matcher(atom.getSphericalMatcher()); if (atom.getChemicalGroupConstant()==10){ ID = atomTypeIds[56]; }else if (atom.getChemicalGroupConstant()==4){ ID = atomTypeIds[57]; }else if (atom.getChemicalGroupConstant()%2==0 & atom.getRingSize()==5 & atom.getFlag(CDKConstants.ISAROMATIC)){ ID=atomTypeIds[64]; } //Nsp2-Oxides p1 = Pattern.compile(factory.getAtomType(atomTypeIds[61]).getSphericalMatcher());//npox mat1 = p1.matcher(atom.getSphericalMatcher()); if (mat1.matches() && maxBondOrder==tmpMaxBondOrder){ ID=atomTypeIds[43]; } if (atom.getFlag(CDKConstants.ISAROMATIC)){ if(mat1.matches()&& atom.getChemicalGroupConstant()==12){ ID = atomTypeIds[61]; }else if(mat1.matches()&& atom.getRingSize()==5){ ID = atomTypeIds[62]; } } //NC#N p1 = Pattern.compile(factory.getAtomType(atomTypeIds[45]).getSphericalMatcher()); mat1 = p1.matcher(atom.getSphericalMatcher()); if (mat1.matches()){ ID = atomTypeIds[45]; } }else if (atomTypeIds[j].equals("N=C")) { //n beta heteroaromatic ring p1 = Pattern.compile(factory.getAtomType(atomTypeIds[59]).getSphericalMatcher()); mat1 = p1.matcher(atom.getSphericalMatcher()); if (atom.getChemicalGroupConstant()!=-1) { if (mat1.matches() && atom.getChemicalGroupConstant()%2==0 && atom.getFlag(CDKConstants.ISAROMATIC) && atom.getRingSize()==5){ ID = atomTypeIds[59];//N5A }else if(atom.getChemicalGroupConstant()==10){//NPYD ID = atomTypeIds[56]; }else if(atom.getChemicalGroupConstant()==4){//NPYL ID = atomTypeIds[57]; } } //N2OX p1 = Pattern.compile(factory.getAtomType(atomTypeIds[43]).getSphericalMatcher()); mat1 = p1.matcher(atom.getSphericalMatcher()); if (mat1.matches()){ if (atom.getChemicalGroupConstant()==10){ ID = atomTypeIds[61];//npox }else if (atom.getFlag(CDKConstants.ISAROMATIC) && atom.getRingSize()==5){ ID = atomTypeIds[62];//n5ox }else { ID = atomTypeIds[43];//n2ox } } }else if (atomTypeIds[j].equals("N2OX")){ //NO3 p1 = Pattern.compile(factory.getAtomType(atomTypeIds[46]).getSphericalMatcher()); mat1 = p1.matcher(atom.getSphericalMatcher()); if (mat1.matches() && atom.getChemicalGroupConstant()==-1){ ID = atomTypeIds[46];//NO3 } if (atom.getChemicalGroupConstant()==12){ ID = atomTypeIds[61];//NPOX }else if (atom.getChemicalGroupConstant()!=-1 && atom.getFlag(CDKConstants.ISAROMATIC) && atom.getRingSize()==5){ ID = atomTypeIds[62];//N5OX } }else if (atomTypeIds[j].equals("=N=") || atomTypeIds[j].equals("NAZT")){ if (atom.getChemicalGroupConstant()!=-1 && atom.getFlag(CDKConstants.ISAROMATIC) && atom.getRingSize()==5){ ID = atomTypeIds[59];//aromatic N5A } }else if (atomTypeIds[j].equals("N+=")){ if (atom.getChemicalGroupConstant()!=-1 && atom.getFlag(CDKConstants.ISAROMATIC) && atom.getRingSize()==5){ ID = atomTypeIds[63];//n5+ }else if (atom.getChemicalGroupConstant()==12){ ID = atomTypeIds[58];//npd+ } }else if (atomTypeIds[j].equals("O")){ if (atom.getChemicalGroupConstant()==6){ ID = atomTypeIds[35];//Oar } }else if (atomTypeIds[j].equals("HO")){ p1 = Pattern.compile(factory.getAtomType(atomTypeIds[21]).getSphericalMatcher()); mat1 = p1.matcher(atom.getSphericalMatcher()); if (mat1.matches()){ ID = atomTypeIds[21];//HOCC } p1 = Pattern.compile(factory.getAtomType(atomTypeIds[18]).getSphericalMatcher()); mat1 = p1.matcher(atom.getSphericalMatcher()); if (mat1.matches()){ ID = atomTypeIds[18];//HOCO } }else if (atomTypeIds[j].equals("P")){ p1 = Pattern.compile(factory.getAtomType(atomTypeIds[75]).getSphericalMatcher()); mat1 = p1.matcher(atom.getSphericalMatcher()); if (mat1.matches()){ ID = atomTypeIds[75];//-P=C } }else if (atomTypeIds[j].equals("S")){ if (atom.getRingSize()==5 && atom.getFlag(CDKConstants.ISAROMATIC)){ ID = atomTypeIds[72];//Sthiophen } }else if (atomTypeIds[j].equals("HC")){ p1 = Pattern.compile(factory.getAtomType("HP").getSphericalMatcher()); mat1 = p1.matcher(atom.getSphericalMatcher()); if (mat1.matches()){ ID = "HP"; } } atomTypeFlag = true; // System.out.println(" MATCH AtomTypeID:"+j+ " " + ID); logger.debug(" MATCH AtomTypeID:"+j+ " " + ID); break; }//IF }//for end if (atomTypeFlag) { atomTypeFlag = false; return factory.getAtomType(ID); } else { //System.out.println("NoSuchAtomTypeException: Atom is unkown with Symbol:" + atom.getSymbol() + " does not MATCH AtomType. HoseCode:" + atom.getSphericalMatcher()); return factory.getAtomType("DU"); } }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/53b7038bf76a67276cd51466afb62126fb362c25/MMFF94AtomTypeMatcher.java/buggy/src/org/openscience/cdk/atomtype/MMFF94AtomTypeMatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7149, 559, 1104, 9517, 3641, 559, 12, 3641, 2170, 22487, 16, 7149, 3179, 1358, 13, 1216, 24570, 288, 202, 202, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 3641, 3179, 273, 261, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 3641, 13, 7466, 1358, 31, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 11345, 11758, 18295, 2246, 11290, 7149, 559, 3970, 1104, 9517, 380, 1007, 7388, 1769, 202, 202, 759, 3163, 18, 659, 18, 1188, 2932, 8565, 2773, 397, 3179, 18, 588, 5335, 1435, 397, 6, 670, 2584, 1085, 2984, 397, 3179, 18, 588, 55, 21570, 6286, 1435, 397, 315, 315, 1769, 202, 202, 4901, 18, 4148, 2932, 8565, 2773, 397, 3179, 18, 588, 5335, 1435, 397, 6, 670, 2584, 1085, 2984, 397, 3179, 18, 588, 55, 21570, 6286, 1435, 397, 315, 315, 1769, 202, 202, 698, 288, 1082, 202, 6848, 273, 7149, 559, 1733, 18, 588, 1442, 2932, 3341, 19, 20346, 71, 6254, 19, 71, 2883, 19, 1425, 19, 892, 19, 7020, 1403, 11290, 67, 7466, 2352, 18, 2902, 8863, 202, 202, 97, 1044, 261, 503, 431, 21, 13, 288, 5411, 1194, 18, 1636, 12, 338, 21, 18, 24906, 10663, 1082, 202, 4901, 18, 4148, 12, 338, 21, 1769, 202, 202, 97, 6862, 1082, 202, 430, 261, 7466, 1276, 453, 9091, 3641, 13, 288, 9506, 202, 2463, 3272, 18, 588, 3641, 2016, 2932, 16214, 7923, 63, 20, 15533, 202, 202, 97, 202, 202, 3234, 293, 21, 273, 446, 31, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7149, 559, 1104, 9517, 3641, 559, 12, 3641, 2170, 22487, 16, 7149, 3179, 1358, 13, 1216, 24570, 288, 202, 202, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 3641, 3179, 273, 261, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 3641, 13, 7466, 1358, 31, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 11345, 11758, 18295, 2246, 11290, 7149, 559, 3970, 1104, 9517, 380, 1007, 7388, 1769, 202, 202, 759, 3163, 18, 659, 18, 1188, 2932, 8565, 2773, 397, 3179, 18, 588, 5335, 1435, 397, 6, 670, 2584, 1085, 2984, 397, 3179, 18, 588, 55, 21570, 6286, 1435, 397, 315, 315, 1769, 202, 202, 4901, 18, 4148, 2932, 8565, 2773, 397, 3179, 18, 2 ]
public synchronized void reportProgress(float p, String state, Phase newPhase) {
public synchronized void reportProgress(float p, String state, TaskStatus.Phase newPhase) {
public synchronized void reportProgress(float p, String state, Phase newPhase) { LOG.info(task.getTaskId()+" "+p+"% "+state); this.progress = p; this.runstate = TaskStatus.State.RUNNING; this.lastProgressReport = System.currentTimeMillis(); Phase oldPhase = taskStatus.getPhase() ; if( oldPhase != newPhase ){ // sort phase started if( newPhase == Phase.SORT ){ this.taskStatus.setShuffleFinishTime(System.currentTimeMillis()); }else if( newPhase == Phase.REDUCE){ this.taskStatus.setSortFinishTime(System.currentTimeMillis()); } } this.taskStatus.setStateString(state); }
51718 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51718/1e24384b1f84e52afdfd79649a51a55574be4905/TaskTracker.java/clean/src/java/org/apache/hadoop/mapred/TaskTracker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 3852, 918, 2605, 5491, 12, 5659, 293, 16, 514, 919, 16, 29628, 18, 11406, 394, 11406, 13, 288, 5411, 2018, 18, 1376, 12, 4146, 18, 588, 30182, 1435, 9078, 13773, 84, 9078, 9, 13773, 2019, 1769, 5411, 333, 18, 8298, 273, 293, 31, 5411, 333, 18, 2681, 2019, 273, 29628, 18, 1119, 18, 29358, 31, 5411, 333, 18, 2722, 5491, 4820, 273, 2332, 18, 2972, 28512, 5621, 5411, 19459, 1592, 11406, 273, 1562, 1482, 18, 588, 11406, 1435, 274, 5411, 309, 12, 1592, 11406, 480, 394, 11406, 262, 95, 2868, 368, 1524, 6855, 5746, 2868, 309, 12, 394, 11406, 422, 19459, 18, 23988, 262, 95, 7734, 333, 18, 4146, 1482, 18, 542, 1555, 10148, 11641, 950, 12, 3163, 18, 2972, 28512, 10663, 2868, 289, 12107, 309, 12, 394, 11406, 422, 19459, 18, 5879, 57, 1441, 15329, 7734, 333, 18, 4146, 1482, 18, 542, 4416, 11641, 950, 12, 3163, 18, 2972, 28512, 10663, 2868, 289, 5411, 289, 5411, 333, 18, 4146, 1482, 18, 542, 1119, 780, 12, 2019, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 3852, 918, 2605, 5491, 12, 5659, 293, 16, 514, 919, 16, 29628, 18, 11406, 394, 11406, 13, 288, 5411, 2018, 18, 1376, 12, 4146, 18, 588, 30182, 1435, 9078, 13773, 84, 9078, 9, 13773, 2019, 1769, 5411, 333, 18, 8298, 273, 293, 31, 5411, 333, 18, 2681, 2019, 273, 29628, 18, 1119, 18, 29358, 31, 5411, 333, 18, 2722, 5491, 4820, 273, 2332, 18, 2972, 28512, 5621, 5411, 19459, 1592, 11406, 273, 1562, 1482, 18, 588, 11406, 1435, 274, 5411, 309, 12, 1592, 11406, 480, 394, 11406, 262, 95, 2868, 368, 1524, 6855, 5746, 2868, 309, 12, 394, 11406, 422, 19459, 18, 23988, 262, 95, 7734, 333, 18, 4146, 1482, 18, 542, 1555, 10148, 11641, 950, 12, 2 ]
item.processMouseEvent(e, path, manager);
public void processMouseEvent(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager) { // TODO: Implement this properly. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/804045622bd8dd509311bab751f88cfa2f79345a/BasicRadioButtonMenuItemUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 1071, 1726, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 918, 1726, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 1207, 9186, 1133, 12, 46, 12958, 1726, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 16, 1726, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 17013, 1133, 1726, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 425, 16, 1726, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 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, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 1071, 1726, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 918, 1726, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 1207, 9186, 1133, 12, 46, 12958, 1726, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 16, 1726, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 17013, 1133, 1726, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 425, 16, 1726, 18, 2567, 9186, 1133, 12, 73, 16, 589, 16, 3301, 1769, 761, 18, 2567, 9186, 1133, 12, 73, 16, 589, 2 ]
public void visitL2F(L2F obj) { handleNormalInstruction(obj); }
public void visitL2F(L2F obj) { handleNormalInstruction(obj); }
public void visitL2F(L2F obj) { handleNormalInstruction(obj); }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/AbstractFrameModelingVisitor.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 48, 22, 42, 12, 48, 22, 42, 1081, 13, 288, 1640, 5506, 11983, 12, 2603, 1769, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 48, 22, 42, 12, 48, 22, 42, 1081, 13, 288, 1640, 5506, 11983, 12, 2603, 1769, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (checkSelf) check(n++ < occupiedCount);
if (checkSelf) { if (n >= occupiedCount) Context.codeBug(); ++n; }
private int findIndex(int key) { int[] keys = this.keys; if (keys != null) { int fraction = key * A; int index = fraction >>> (32 - power); int entry = keys[index]; if (entry == key) { return index; } if (entry != EMPTY) { // Search in table after first failed attempt int mask = (1 << power) - 1; int step = tableLookupStep(fraction, mask, power); int n = 0; do { if (checkSelf) check(n++ < occupiedCount); index = (index + step) & mask; entry = keys[index]; if (entry == key) { return index; } } while (entry != EMPTY); } } return -1; }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/de58157289d28d4203108b78218d0d6b32c0e7aa/UintMap.java/buggy/js/rhino/src/org/mozilla/javascript/UintMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1104, 1016, 12, 474, 498, 13, 288, 3639, 509, 8526, 1311, 273, 333, 18, 2452, 31, 3639, 309, 261, 2452, 480, 446, 13, 288, 5411, 509, 8330, 273, 498, 380, 432, 31, 5411, 509, 770, 273, 8330, 4080, 261, 1578, 300, 7212, 1769, 5411, 509, 1241, 273, 1311, 63, 1615, 15533, 5411, 309, 261, 4099, 422, 498, 13, 288, 327, 770, 31, 289, 5411, 309, 261, 4099, 480, 8984, 13, 288, 7734, 368, 5167, 316, 1014, 1839, 1122, 2535, 4395, 7734, 509, 3066, 273, 261, 21, 2296, 7212, 13, 300, 404, 31, 7734, 509, 2235, 273, 1014, 6609, 4160, 12, 16744, 16, 3066, 16, 7212, 1769, 7734, 509, 290, 273, 374, 31, 7734, 741, 288, 10792, 309, 261, 1893, 10084, 13, 288, 309, 261, 82, 1545, 18928, 2092, 1380, 13, 1772, 18, 710, 19865, 5621, 965, 82, 31, 289, 10792, 770, 273, 261, 1615, 397, 2235, 13, 473, 3066, 31, 10792, 1241, 273, 1311, 63, 1615, 15533, 10792, 309, 261, 4099, 422, 498, 13, 288, 327, 770, 31, 289, 7734, 289, 1323, 261, 4099, 480, 8984, 1769, 5411, 289, 3639, 289, 3639, 327, 300, 21, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1104, 1016, 12, 474, 498, 13, 288, 3639, 509, 8526, 1311, 273, 333, 18, 2452, 31, 3639, 309, 261, 2452, 480, 446, 13, 288, 5411, 509, 8330, 273, 498, 380, 432, 31, 5411, 509, 770, 273, 8330, 4080, 261, 1578, 300, 7212, 1769, 5411, 509, 1241, 273, 1311, 63, 1615, 15533, 5411, 309, 261, 4099, 422, 498, 13, 288, 327, 770, 31, 289, 5411, 309, 261, 4099, 480, 8984, 13, 288, 7734, 368, 5167, 316, 1014, 1839, 1122, 2535, 4395, 7734, 509, 3066, 273, 261, 21, 2296, 7212, 13, 300, 404, 31, 7734, 509, 2235, 273, 1014, 6609, 4160, 12, 16744, 16, 3066, 16, 7212, 1769, 7734, 509, 290, 273, 374, 31, 7734, 741, 288, 10792, 2 ]
private HighlightInfo processLocalVariable(PsiLocalVariable variable, final List<IntentionAction> options) {
private HighlightInfo processLocalVariable(PsiLocalVariable variable, final List<IntentionAction> options, final String displayName) {
private HighlightInfo processLocalVariable(PsiLocalVariable variable, final List<IntentionAction> options) { PsiIdentifier identifier = variable.getNameIdentifier(); if (!myRefCountHolder.isReferenced(variable)) { String message = MessageFormat.format(LOCAL_VARIABLE_IS_NOT_USED, identifier.getText()); HighlightInfo highlightInfo = createUnusedSymbolInfo(identifier, message); QuickFixAction.registerQuickFixAction(highlightInfo, new RemoveUnusedVariableFix(variable), options); return highlightInfo; } boolean referenced = myRefCountHolder.isReferencedForRead(variable); if (!referenced) { String message = MessageFormat.format(LOCAL_VARIABLE_IS_NOT_USED_FOR_READING, identifier.getText()); HighlightInfo highlightInfo = createUnusedSymbolInfo(identifier, message); QuickFixAction.registerQuickFixAction(highlightInfo, new RemoveUnusedVariableFix(variable), options); return highlightInfo; } if (!variable.hasInitializer()) { referenced = myRefCountHolder.isReferencedForWrite(variable); if (!referenced) { String message = MessageFormat.format(LOCAL_VARIABLE_IS_NOT_ASSIGNED, identifier.getText()); final HighlightInfo unusedSymbolInfo = createUnusedSymbolInfo(identifier, message); QuickFixAction.registerQuickFixAction(unusedSymbolInfo, new EmptyIntentionAction(HighlightDisplayKey.getDisplayNameByKey(HighlightDisplayKey.UNUSED_SYMBOL), options), options); return unusedSymbolInfo; } } return null; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/dee9b62fe1ee40a1d6ca8afc95e5e1eca32dd11f/PostHighlightingPass.java/clean/codeInsight/impl/com/intellij/codeInsight/daemon/impl/PostHighlightingPass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 31386, 966, 1207, 2042, 3092, 12, 52, 7722, 2042, 3092, 2190, 16, 727, 987, 32, 1702, 5054, 1803, 34, 702, 16, 727, 514, 16218, 13, 288, 565, 453, 7722, 3004, 2756, 273, 2190, 18, 17994, 3004, 5621, 565, 309, 16051, 4811, 1957, 1380, 6064, 18, 291, 22344, 12, 6105, 3719, 288, 1377, 514, 883, 273, 17377, 18, 2139, 12, 14922, 67, 16444, 67, 5127, 67, 4400, 67, 20093, 16, 2756, 18, 588, 1528, 10663, 1377, 31386, 966, 8839, 966, 273, 752, 21106, 5335, 966, 12, 5644, 16, 883, 1769, 1377, 19884, 8585, 1803, 18, 4861, 13663, 8585, 1803, 12, 15978, 966, 16, 394, 3581, 21106, 3092, 8585, 12, 6105, 3631, 702, 1769, 1377, 327, 8839, 966, 31, 565, 289, 565, 1250, 8042, 273, 3399, 1957, 1380, 6064, 18, 291, 22344, 1290, 1994, 12, 6105, 1769, 565, 309, 16051, 20883, 13, 288, 1377, 514, 883, 273, 17377, 18, 2139, 12, 14922, 67, 16444, 67, 5127, 67, 4400, 67, 20093, 67, 7473, 67, 6949, 1360, 16, 2756, 18, 588, 1528, 10663, 1377, 31386, 966, 8839, 966, 273, 752, 21106, 5335, 966, 12, 5644, 16, 883, 1769, 1377, 19884, 8585, 1803, 18, 4861, 13663, 8585, 1803, 12, 15978, 966, 16, 394, 3581, 21106, 3092, 8585, 12, 6105, 3631, 702, 1769, 1377, 327, 8839, 966, 31, 565, 289, 565, 309, 16051, 6105, 18, 5332, 14729, 10756, 288, 1377, 8042, 273, 3399, 1957, 1380, 6064, 18, 291, 22344, 1290, 3067, 12, 6105, 1769, 1377, 309, 16051, 20883, 13, 288, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 31386, 966, 1207, 2042, 3092, 12, 52, 7722, 2042, 3092, 2190, 16, 727, 987, 32, 1702, 5054, 1803, 34, 702, 16, 727, 514, 16218, 13, 288, 565, 453, 7722, 3004, 2756, 273, 2190, 18, 17994, 3004, 5621, 565, 309, 16051, 4811, 1957, 1380, 6064, 18, 291, 22344, 12, 6105, 3719, 288, 1377, 514, 883, 273, 17377, 18, 2139, 12, 14922, 67, 16444, 67, 5127, 67, 4400, 67, 20093, 16, 2756, 18, 588, 1528, 10663, 1377, 31386, 966, 8839, 966, 273, 752, 21106, 5335, 966, 12, 5644, 16, 883, 1769, 1377, 19884, 8585, 1803, 18, 4861, 13663, 8585, 1803, 12, 15978, 966, 16, 394, 3581, 21106, 3092, 8585, 12, 6105, 3631, 702, 1769, 1377, 327, 8839, 966, 31, 2 ]
public final static void finalizeAll () { int cursor = 0; while (cursor < candidateEnd) { Address cand = candidate.get(cursor); candidate.set(cursor, Address.zero()); addLive(cand.toObjectReference()); cursor++; } compactCandidates(); }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/30524c62fa391922d51289c03075f714c772951c/Finalizer.java/clean/MMTk/src/org/mmtk/utility/Finalizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 760, 918, 12409, 1595, 1832, 288, 565, 509, 3347, 273, 374, 31, 565, 1323, 261, 9216, 411, 5500, 1638, 13, 288, 1377, 5267, 15350, 273, 5500, 18, 588, 12, 9216, 1769, 1377, 5500, 18, 542, 12, 9216, 16, 5267, 18, 7124, 10663, 1377, 527, 12328, 12, 71, 464, 18, 869, 22101, 10663, 1377, 3347, 9904, 31, 565, 289, 3639, 6739, 18455, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 760, 918, 12409, 1595, 1832, 288, 565, 509, 3347, 273, 374, 31, 565, 1323, 261, 9216, 411, 5500, 1638, 13, 288, 1377, 5267, 15350, 273, 5500, 18, 588, 12, 9216, 1769, 1377, 5500, 18, 542, 12, 9216, 16, 5267, 18, 7124, 10663, 1377, 527, 12328, 12, 71, 464, 18, 869, 22101, 10663, 1377, 3347, 9904, 31, 565, 289, 3639, 6739, 18455, 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 ]
short htl = m.getShort(DMT.HTL);
boolean handleRouted(Message m) { Logger.minor(this, "handleRouted("+m+")"); if(m.getSource() != null && (!(m.getSource() instanceof NodePeer))) { Logger.error(this, "Routed message but source "+m.getSource()+" not a NodePeer!"); return true; } long id = m.getLong(DMT.UID); Long lid = new Long(id); RoutedContext ctx = new RoutedContext(m); routedContexts.put(lid, ctx); NodePeer pn = (NodePeer) (m.getSource()); short htl = m.getShort(DMT.HTL); if(pn != null) htl = pn.decrementHTL(htl); // pn == null => originated locally, keep full htl double target = m.getDouble(DMT.TARGET_LOCATION); Logger.minor(this, "id "+id+" from "+pn+" htl "+htl+" target "+target); if(node.lm.getLocation().getValue() == target) { Logger.minor(this, "Dispatching "+m.getSpec()+" on "+node.portNumber); // Handle locally // Message type specific processing dispatchRoutedMessage(m, id); return true; } else if(htl == 0) { Message reject = DMT.createFNPRoutedRejected(id); if(pn != null) pn.sendAsync(reject); return true; } else { return forward(m, id, pn, htl, target, ctx); } }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/67ffc74c653c146c3327643dba419ef696af844a/NodeDispatcher.java/buggy/src/freenet/node/NodeDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 1640, 4583, 329, 12, 1079, 312, 13, 288, 3639, 4242, 18, 17364, 12, 2211, 16, 315, 4110, 4583, 329, 2932, 15, 81, 9078, 2225, 1769, 3639, 309, 12, 81, 18, 588, 1830, 1435, 480, 446, 597, 16051, 12, 81, 18, 588, 1830, 1435, 1276, 2029, 6813, 20349, 288, 5411, 4242, 18, 1636, 12, 2211, 16, 315, 4583, 329, 883, 1496, 1084, 13773, 81, 18, 588, 1830, 1435, 9078, 486, 279, 2029, 6813, 4442, 1769, 5411, 327, 638, 31, 3639, 289, 3639, 1525, 612, 273, 312, 18, 588, 3708, 12, 40, 6152, 18, 3060, 1769, 3639, 3407, 328, 350, 273, 394, 3407, 12, 350, 1769, 3639, 7271, 329, 1042, 1103, 273, 394, 7271, 329, 1042, 12, 81, 1769, 3639, 3237, 329, 15518, 18, 458, 12, 80, 350, 16, 1103, 1769, 3639, 2029, 6813, 11059, 273, 261, 907, 6813, 13, 261, 81, 18, 588, 1830, 10663, 9079, 309, 12, 7449, 480, 446, 13, 5411, 366, 6172, 273, 11059, 18, 323, 3702, 5062, 48, 12, 647, 80, 1769, 3639, 368, 11059, 422, 446, 516, 4026, 690, 13760, 16, 3455, 1983, 366, 6172, 3639, 1645, 1018, 273, 312, 18, 588, 5265, 12, 40, 6152, 18, 16374, 67, 15277, 1769, 3639, 4242, 18, 17364, 12, 2211, 16, 315, 350, 13773, 350, 9078, 628, 13773, 7449, 9078, 366, 6172, 13773, 647, 80, 9078, 1018, 13773, 3299, 1769, 3639, 309, 12, 2159, 18, 25972, 18, 588, 2735, 7675, 24805, 1435, 422, 1018, 13, 288, 5411, 4242, 18, 17364, 12, 2211, 16, 315, 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, 1250, 1640, 4583, 329, 12, 1079, 312, 13, 288, 3639, 4242, 18, 17364, 12, 2211, 16, 315, 4110, 4583, 329, 2932, 15, 81, 9078, 2225, 1769, 3639, 309, 12, 81, 18, 588, 1830, 1435, 480, 446, 597, 16051, 12, 81, 18, 588, 1830, 1435, 1276, 2029, 6813, 20349, 288, 5411, 4242, 18, 1636, 12, 2211, 16, 315, 4583, 329, 883, 1496, 1084, 13773, 81, 18, 588, 1830, 1435, 9078, 486, 279, 2029, 6813, 4442, 1769, 5411, 327, 638, 31, 3639, 289, 3639, 1525, 612, 273, 312, 18, 588, 3708, 12, 40, 6152, 18, 3060, 1769, 3639, 3407, 328, 350, 273, 394, 3407, 12, 350, 1769, 3639, 7271, 329, 1042, 1103, 273, 394, 7271, 329, 1042, 12, 81, 1769, 2 ]
graphics.drawText( num, textLocation );
if (canDrawNumber(num, textLocation, graphics)) { graphics.drawText( num, textLocation ); }
protected void paintFigure( Graphics graphics ) { //set /* * @TODO:Pratik maybe you can break this method into a few methods. that * might make it a little easier to read and understand. plus, * sub-classes could customize certain parts. */ setIntervalForPaint( ); double dotsPerUnit = getDPU( ); Rectangle clip = transposer.t( graphics.getClip( Rectangle.SINGLETON ) ); Rectangle figClientArea = transposer.t( getClientArea( ) ); // Use the x and width of the client area, but the y and height of the // clip as the // bounds of the area which is to be repainted. This will increase // performance as the // entire ruler will not be repainted everytime. Rectangle clippedBounds = clip; clippedBounds.x = figClientArea.x; clippedBounds.width = figClientArea.width - BORDER_WIDTH; // Paint the background if ( isOpaque( ) ) { graphics.fillRectangle( transposer.t( clippedBounds ) ); } /* * A major mark is one that goes all the way from the left edge to the * right edge of a ruler and for which a number is displayed. Determine * the minimum number of pixels that are to be left between major marks. * This will, in turn, help determine how many units are to be displayed * per major mark. A major mark should have at least enough pixels to * display the text and its padding. We take into the consideration the * max of text's width and height so that for horizontal and vertical * rulers that are of the same height, the number of units per major * mark is the same. */ int unitsPerMajorMark = (int) ( minPixelsBetweenMajorMarks / dotsPerUnit ); //unitsPerMajorMark = 20; if ( minPixelsBetweenMajorMarks % dotsPerUnit != 0.0 ) { unitsPerMajorMark++; } if ( interval > 0 ) { /* * If the client specified how many units are to be displayed per * major mark, use that. If, however, showing that many units * wouldn't leave enough room for the text, than take its smallest * multiple that would leave enough room. */ int intervalMultiple = interval; while ( intervalMultiple < unitsPerMajorMark ) { intervalMultiple += interval; } unitsPerMajorMark = intervalMultiple; } else if ( unitsPerMajorMark != 1 && unitsPerMajorMark % 2 != 0 ) { // if the number of units per major mark is calculated dynamically, // ensure that // it is an even number. unitsPerMajorMark++; } /* * divsPerMajorMark indicates the number of divisions that a major mark * should be divided into. for eg., a value of 2 would mean that a major * mark would be shown as having two parts. that means that there would * be a marker showing the beginning and end of the major marker and * another right in the middle. */ int divsPerMajorMark; if ( divisions > 0 && dotsPerUnit * unitsPerMajorMark / divisions >= minPixelsBetweenMarks ) { /* * If the client has specified the number of divisions per major * mark, use that unless it would cause the minimum space between * marks to be less than minPixelsBetweenMarks */ divsPerMajorMark = divisions; } else { /* * If the client hasn't specified the number of divisions per major * mark or the one that the client has specified is invalid, then * calculate it dynamically. This algorithm will try to display 10 * divisions per CM, and 16 per INCH. However, if that puts the * marks too close together (i.e., the space between them is less * than minPixelsBetweenMarks), then it keeps decreasing the number * of divisions by a factor of 2 until there is enough space between * them. */ divsPerMajorMark = 2; if ( getUnit( ) == RulerProvider.UNIT_CENTIMETERS ) { divsPerMajorMark = 10; } else if ( getUnit( ) == RulerProvider.UNIT_INCHES ) { divsPerMajorMark = 8; } //divsPerMajorMark = getPerMajorMark(getUnit()); while ( dotsPerUnit * unitsPerMajorMark / divsPerMajorMark < minPixelsBetweenMarks ) { divsPerMajorMark /= 2; if ( divsPerMajorMark == 0 ) { break; } } // This should never happen unless the client has specified a // minPixelsBetweenMarks that is larger than // minPixelsBetweenMajorMarks (which // is calculated using the text's size -- size of the largest number // to be // displayed). if ( divsPerMajorMark == 0 ) { divsPerMajorMark = 1; } } /* * mediumMarkerDivNum is used to determine which mark (line drawn to * indicate a point on the ruler) in a major mark will be of medium * size. If its value is 1 then every mark will be of medium size. If * its value is 5, then every 5th mark will be of medium size (the rest * being of small size). */ int mediumMarkerDivNum = 1; switch ( divsPerMajorMark ) { case 20 : case 10 : case 5 : mediumMarkerDivNum = 5; break; case 16 : case 8 : mediumMarkerDivNum = 4; break; case 4 : mediumMarkerDivNum = 2; break; case 2 : mediumMarkerDivNum = 1; } Rectangle leftRect = transposer.t( getScaleLeftSpace( ) ); int leftMargin = leftRect.y; /* * dotsPerDivision = number of pixels between each mark = number of * pixels in a division */ double dotsPerDivision = dotsPerUnit * unitsPerMajorMark / divsPerMajorMark; /* * startMark is the division/mark from which we are going to start * painting. It should be the last major mark (one for which a number is * displayed) that is before the top of the clip rectangle. */ int startMark = (int) ( ( clippedBounds.y - leftMargin ) / ( dotsPerUnit * unitsPerMajorMark ) ) * divsPerMajorMark; if ( clippedBounds.y < 0 ) { // -2 / 10 = 0, not -1. so, if the top of the clip is negative, we // need to move // the startMark back by a whole major mark. startMark -= divsPerMajorMark; } // endMark is the first non-visible mark (doesn't have to be a major // mark) that is // beyond the end of the clip region int endMark = (int) ( ( ( clippedBounds.y + clippedBounds.height - leftMargin ) / dotsPerDivision ) ) + 1; int leading = FigureUtilities.getFontMetrics( getFont( ) ).getLeading( ); Rectangle forbiddenZone = new Rectangle( ); for ( int div = startMark; div <= endMark; div++ ) { // y is the vertical position of the mark if ( leftRect.bottom( ) <= clippedBounds.bottom( ) ) { //continue; } int y = (int) ( div * dotsPerDivision ); if ( div % divsPerMajorMark == 0 ) { String num = "" + ( div / divsPerMajorMark ) * unitsPerMajorMark; //$NON-NLS-1$ if ( isHorizontal( ) ) { Dimension numSize = FigureUtilities.getStringExtents( num, getFont( ) ); /* * FigureUtilities is increasing the width reported by GC by * 1, so we remove it here. Also, if the actual width (the * one reported by the GC) is even, we want to increase it * by 1. This will ensure that when marks marks are erased * because they are too close to the number, they are erased * from both sides of that number. */ if ( numSize.width % 2 == 0 ) { numSize.width--; } Point textLocation = new Point( y - ( numSize.width / 2 ) + leftMargin, clippedBounds.x + textMargin - leading ); forbiddenZone.setLocation( textLocation ); forbiddenZone.setSize( numSize ); forbiddenZone.expand( 1, 1 ); graphics.fillRectangle( forbiddenZone ); // Uncomment the following line of code if you want to see a // line at // the exact position of the major mark // graphics.drawLine(y, clippedBounds.x, y, clippedBounds.x // + clippedBounds.width); graphics.drawText( num, textLocation ); } else { Image numImage = ImageUtilities.createRotatedImageOfString( num, getFont( ), getForegroundColor( ), getBackgroundColor( ) ); Point textLocation = new Point( clippedBounds.x + textMargin, y - ( numImage.getBounds( ).height / 2 ) + leftMargin ); forbiddenZone.setLocation( textLocation ); forbiddenZone.setSize( numImage.getBounds( ).width, numImage.getBounds( ).height ); forbiddenZone .expand( 1, 1 + ( numImage.getBounds( ).height % 2 == 0 ? 1 : 0 ) ); graphics.fillRectangle( forbiddenZone ); graphics.drawImage( numImage, textLocation ); numImage.dispose( ); } } else if ( ( div % divsPerMajorMark ) % mediumMarkerDivNum == 0 ) { // this is a medium mark, so its length should be longer than // the small marks Point start = transposer .t( new Point( ( clippedBounds.getRight( ).x - mediumMarkWidth ) / 2, y + leftMargin ) ); Point end = transposer.t( new Point( ( ( clippedBounds .getRight( ).x - mediumMarkWidth ) / 2 ) + mediumMarkWidth, y + leftMargin ) ); if ( !forbiddenZone.contains( start ) ) { graphics.drawLine( start, end ); } } else { // small mark Point start = transposer .t( new Point( ( clippedBounds.getRight( ).x - smallMarkWidth ) / 2, y + leftMargin ) ); Point end = transposer.t( new Point( ( ( clippedBounds .getRight( ).x - smallMarkWidth ) / 2 ) + smallMarkWidth, y + leftMargin ) ); if ( !forbiddenZone.contains( start ) ) { graphics.drawLine( start, end ); } } } // paint the border clippedBounds.expand( BORDER_WIDTH, 0 ); graphics.setForegroundColor( ColorConstants.buttonDarker ); graphics.drawLine( transposer.t( clippedBounds.getTopRight( ) .translate( -1, -1 ) ), transposer.t( clippedBounds .getBottomRight( ).translate( -1, -1 ) ) ); Color c = Display.getCurrent( ).getSystemColor( SWT.COLOR_WIDGET_BACKGROUND ); graphics.setBackgroundColor( ReportColorConstants.greyFillColor ); graphics.setBackgroundColor( c ); Rectangle rect = new Rectangle( 0, 0, clippedBounds.height, leftMargin - 2 ); rect = transposer.t( rect ); graphics.fillRectangle( rect ); graphics.fillRectangle( getEndRect( graphics .getClip( Rectangle.SINGLETON ) ) ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/1d4448192d33ea4dc6baf2cac6a0170f1e0cf45a/EditorRulerFigure.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/rulers/EditorRulerFigure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 12574, 42, 15906, 12, 16830, 17313, 262, 202, 95, 202, 202, 759, 542, 202, 202, 20308, 1082, 380, 632, 6241, 30, 2050, 270, 1766, 6944, 1846, 848, 898, 333, 707, 1368, 279, 11315, 2590, 18, 716, 1082, 380, 4825, 1221, 518, 279, 12720, 15857, 358, 855, 471, 22413, 18, 8737, 16, 1082, 380, 720, 17, 4701, 3377, 20236, 8626, 2140, 18, 1082, 1195, 202, 202, 542, 4006, 1290, 12699, 12, 11272, 202, 202, 9056, 19522, 2173, 2802, 273, 2343, 18061, 12, 11272, 202, 202, 19463, 6807, 273, 906, 5607, 18, 88, 12, 17313, 18, 588, 15339, 12, 13264, 18, 20184, 56, 673, 262, 11272, 202, 202, 19463, 4291, 1227, 5484, 273, 906, 5607, 18, 88, 12, 7635, 5484, 12, 262, 11272, 202, 202, 759, 2672, 326, 619, 471, 1835, 434, 326, 1004, 5091, 16, 1496, 326, 677, 471, 2072, 434, 326, 202, 202, 759, 6807, 487, 326, 202, 202, 759, 4972, 434, 326, 5091, 1492, 353, 358, 506, 24962, 329, 18, 1220, 903, 10929, 202, 202, 759, 9239, 487, 326, 202, 202, 759, 7278, 436, 17040, 903, 486, 506, 24962, 329, 3614, 957, 18, 202, 202, 19463, 26361, 5694, 273, 6807, 31, 202, 202, 14161, 1845, 5694, 18, 92, 273, 4291, 1227, 5484, 18, 92, 31, 202, 202, 14161, 1845, 5694, 18, 2819, 273, 4291, 1227, 5484, 18, 2819, 300, 605, 7954, 67, 10023, 31, 202, 202, 759, 30001, 326, 5412, 202, 202, 430, 261, 353, 3817, 14886, 12, 262, 262, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 12574, 42, 15906, 12, 16830, 17313, 262, 202, 95, 202, 202, 759, 542, 202, 202, 20308, 1082, 380, 632, 6241, 30, 2050, 270, 1766, 6944, 1846, 848, 898, 333, 707, 1368, 279, 11315, 2590, 18, 716, 1082, 380, 4825, 1221, 518, 279, 12720, 15857, 358, 855, 471, 22413, 18, 8737, 16, 1082, 380, 720, 17, 4701, 3377, 20236, 8626, 2140, 18, 1082, 1195, 202, 202, 542, 4006, 1290, 12699, 12, 11272, 202, 202, 9056, 19522, 2173, 2802, 273, 2343, 18061, 12, 11272, 202, 202, 19463, 6807, 273, 906, 5607, 18, 88, 12, 17313, 18, 588, 15339, 12, 13264, 18, 20184, 56, 673, 262, 11272, 202, 202, 19463, 4291, 1227, 5484, 273, 906, 5607, 18, 88, 2 ]
return 0;
checkIndex (parameterIndex, Types.SMALLINT, "Short"); if (result == null) return 0; return (short)((Integer)result).intValue ();
public short getShort(int parameterIndex) throws SQLException { return 0; }
47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/12a28d12bb14686ecb43f1e36af51b33715d1cd3/CallableStatement.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/CallableStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3025, 13157, 12, 474, 25412, 13, 1216, 6483, 202, 95, 202, 202, 2463, 374, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3025, 13157, 12, 474, 25412, 13, 1216, 6483, 202, 95, 202, 202, 2463, 374, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
boolean equals = true; equals &= (defined == castedObject.defined); equals &= Util.equals(description, castedObject.description); equals &= Util.equals(id, castedObject.id); equals &= Util.equals(name, castedObject.name); equals &= Util.equals(parentId, castedObject.parentId);
public final boolean equals(final Object object) { if (!(object instanceof Scheme)) return false; final Scheme castedObject = (Scheme) object; boolean equals = true; equals &= (defined == castedObject.defined); equals &= Util.equals(description, castedObject.description); equals &= Util.equals(id, castedObject.id); equals &= Util.equals(name, castedObject.name); equals &= Util.equals(parentId, castedObject.parentId); return equals; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/cef2351fdf4797f8d26b1aa6517e5c35fb71b923/Scheme.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/bindings/Scheme.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 1250, 1606, 12, 6385, 1033, 733, 13, 288, 3639, 309, 16051, 12, 1612, 1276, 10714, 3719, 5411, 327, 629, 31, 3639, 727, 10714, 4812, 23016, 273, 261, 9321, 13, 733, 31, 3639, 1250, 1606, 273, 638, 31, 3639, 1606, 12058, 261, 2178, 422, 4812, 23016, 18, 2178, 1769, 3639, 1606, 12058, 3564, 18, 14963, 12, 3384, 16, 4812, 23016, 18, 3384, 1769, 3639, 1606, 12058, 3564, 18, 14963, 12, 350, 16, 4812, 23016, 18, 350, 1769, 3639, 1606, 12058, 3564, 18, 14963, 12, 529, 16, 4812, 23016, 18, 529, 1769, 3639, 1606, 12058, 3564, 18, 14963, 12, 2938, 548, 16, 4812, 23016, 18, 2938, 548, 1769, 3639, 327, 1606, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 1250, 1606, 12, 6385, 1033, 733, 13, 288, 3639, 309, 16051, 12, 1612, 1276, 10714, 3719, 5411, 327, 629, 31, 3639, 727, 10714, 4812, 23016, 273, 261, 9321, 13, 733, 31, 3639, 1250, 1606, 273, 638, 31, 3639, 1606, 12058, 261, 2178, 422, 4812, 23016, 18, 2178, 1769, 3639, 1606, 12058, 3564, 18, 14963, 12, 3384, 16, 4812, 23016, 18, 3384, 1769, 3639, 1606, 12058, 3564, 18, 14963, 12, 350, 16, 4812, 23016, 18, 350, 1769, 3639, 1606, 12058, 3564, 18, 14963, 12, 529, 16, 4812, 23016, 18, 529, 1769, 3639, 1606, 12058, 3564, 18, 14963, 12, 2938, 548, 16, 4812, 23016, 18, 2938, 548, 1769, 3639, 327, 1606, 31, 565, 289, 2, -100, -100, -100, -100 ]
queuedToSendN2NTMExtraPeerDataFileNumbers.addElement(new Integer(fileNumber));
queuedToSendN2NTMExtraPeerDataFileNumbers.add(new Integer(fileNumber));
public void queueN2NTM(SimpleFieldSet fs) { int fileNumber = writeNewExtraPeerDataFile( fs, Node.EXTRA_PEER_DATA_TYPE_QUEUED_TO_SEND_N2NTM); synchronized(queuedToSendN2NTMExtraPeerDataFileNumbers) { queuedToSendN2NTMExtraPeerDataFileNumbers.addElement(new Integer(fileNumber)); } }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/976db464c8ad70abbf8ef1748f36c14b76a449b5/PeerNode.java/clean/src/freenet/node/PeerNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2389, 50, 22, 1784, 49, 12, 5784, 974, 694, 2662, 13, 288, 202, 202, 474, 585, 1854, 273, 1045, 1908, 7800, 6813, 751, 812, 12, 2662, 16, 2029, 18, 22639, 67, 1423, 654, 67, 4883, 67, 2399, 67, 19533, 40, 67, 4296, 67, 21675, 67, 50, 22, 1784, 49, 1769, 202, 202, 22043, 12, 19499, 28878, 50, 22, 1784, 49, 7800, 6813, 751, 812, 10072, 13, 288, 1082, 202, 19499, 28878, 50, 22, 1784, 49, 7800, 6813, 751, 812, 10072, 18, 1289, 1046, 12, 2704, 2144, 12, 768, 1854, 10019, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2389, 50, 22, 1784, 49, 12, 5784, 974, 694, 2662, 13, 288, 202, 202, 474, 585, 1854, 273, 1045, 1908, 7800, 6813, 751, 812, 12, 2662, 16, 2029, 18, 22639, 67, 1423, 654, 67, 4883, 67, 2399, 67, 19533, 40, 67, 4296, 67, 21675, 67, 50, 22, 1784, 49, 1769, 202, 202, 22043, 12, 19499, 28878, 50, 22, 1784, 49, 7800, 6813, 751, 812, 10072, 13, 288, 1082, 202, 19499, 28878, 50, 22, 1784, 49, 7800, 6813, 751, 812, 10072, 18, 1289, 1046, 12, 2704, 2144, 12, 768, 1854, 10019, 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 ]
s.setChildItem(Signal.PREDICATE, a);
s.setChild(Signal.PREDICATE, a);
protected void mouseClicked(Signal s) throws Exception { java.lang.System.out.println("\n\n\n\n\n mouseClicked \n\n\n\n\n"); if (s != null) { MouseModel m = (MouseModel) s.getChildItem(Signal.OBJECT); if (m != null) { // Language. s.setChildItem(Signal.LANGUAGE, Signal.NEURO_LANGUAGE); Item i = getItem((Space) m.getChildItem(MouseModel.POINTER_POSITION)); if (i != null) { // Subject. // Determine the system which belongs to the clicked window. //?? s.setChildItem(Signal.SUBJECT, system belonging to the clicked window); // Predicate. String a = (String) i.getChildItem(Item.ACTION); s.setChildItem(Signal.PREDICATE, a); // Sender object. // Determine the active console to identify the user. //?? s.setChildItem(Signal.SENDER_OBJECT, USER); } else { throw new Exception("Could not react on mouse clicked action. The graphic item is null."); } } else { throw new Exception("Could not react on mouse clicked action. The mouse model is null."); } } else { throw new Exception("Could not react on mouse clicked action. The signal is null."); } }
11597 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11597/9ea22ccfd933137bb2df841c826a929612a47b55/Controller.java/clean/trunk/src/core/cybop/core/system/block/Controller.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 7644, 27633, 12, 11208, 272, 13, 1216, 1185, 288, 3639, 2252, 18, 4936, 18, 3163, 18, 659, 18, 8222, 31458, 82, 64, 82, 64, 82, 64, 82, 64, 82, 7644, 27633, 521, 82, 64, 82, 64, 82, 64, 82, 64, 82, 8863, 3639, 309, 261, 87, 480, 446, 13, 288, 5411, 17013, 1488, 312, 273, 261, 9186, 1488, 13, 272, 18, 588, 1763, 1180, 12, 11208, 18, 9422, 1769, 5411, 309, 261, 81, 480, 446, 13, 288, 7734, 368, 9889, 18, 7734, 272, 18, 542, 1763, 1180, 12, 11208, 18, 15547, 16, 12032, 18, 5407, 1099, 51, 67, 15547, 1769, 7734, 4342, 277, 273, 8143, 12443, 3819, 13, 312, 18, 588, 1763, 1180, 12, 9186, 1488, 18, 2419, 9125, 67, 15258, 10019, 7734, 309, 261, 77, 480, 446, 13, 288, 10792, 368, 9912, 18, 10792, 368, 10229, 326, 2619, 1492, 11081, 358, 326, 17688, 2742, 18, 10792, 368, 14646, 272, 18, 542, 1763, 1180, 12, 11208, 18, 8362, 5304, 16, 2619, 17622, 358, 326, 17688, 2742, 1769, 13491, 368, 10202, 18, 10792, 514, 279, 273, 261, 780, 13, 277, 18, 588, 1763, 1180, 12, 1180, 18, 12249, 1769, 10792, 272, 18, 542, 1763, 12, 11208, 18, 3670, 2565, 13000, 16, 279, 1769, 10792, 368, 15044, 733, 18, 10792, 368, 10229, 326, 2695, 2983, 358, 9786, 326, 729, 18, 10792, 368, 14646, 272, 18, 542, 1763, 1180, 12, 11208, 18, 1090, 18556, 67, 9422, 16, 7443, 1769, 7734, 289, 469, 288, 10792, 604, 394, 1185, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 7644, 27633, 12, 11208, 272, 13, 1216, 1185, 288, 3639, 2252, 18, 4936, 18, 3163, 18, 659, 18, 8222, 31458, 82, 64, 82, 64, 82, 64, 82, 64, 82, 7644, 27633, 521, 82, 64, 82, 64, 82, 64, 82, 64, 82, 8863, 3639, 309, 261, 87, 480, 446, 13, 288, 5411, 17013, 1488, 312, 273, 261, 9186, 1488, 13, 272, 18, 588, 1763, 1180, 12, 11208, 18, 9422, 1769, 5411, 309, 261, 81, 480, 446, 13, 288, 7734, 368, 9889, 18, 7734, 272, 18, 542, 1763, 1180, 12, 11208, 18, 15547, 16, 12032, 18, 5407, 1099, 51, 67, 15547, 1769, 7734, 4342, 277, 273, 8143, 12443, 3819, 13, 312, 18, 588, 1763, 1180, 12, 9186, 1488, 2 ]
592, 549, 356, 436, 472, 278, 385, 445, 79, 472, 437, 492, 63, 386, 666, 71, 492, 492, 445, 671, 448, 449, 670, 260, 261, 674, 676, 69, 472, 307, 308, 549, 61, 446, 210, 635, 450, 688, 445, 269, 422, 445, 464, 459, 64, 217, 190, 423, 424, 701, 356, 356, 203, 549, 411, 537, 445, 67, 234, 65,
592, 549, 356, 309, 472, 278, 385, 445, 79, 472, 432, 492, 433, 386, 666, 436, 492, 492, 428, 671, 456, 457, 670, 357, 358, 674, 676, 69, 472, 434, 445, 549, 448, 449, 210, 635, 437, 688, 445, 269, 422, 445, 446, 459, 64, 217, 190, 423, 424, 701, 356, 356, 203, 549, 411, 450, 445, 67, 234, 65,
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234, 216, 283, 284, 190, 732, 617, 274, 356, 249, 342, 461, 652, 265, 782, 466, 109, 109, 551, 442, 673, 675, 291, 275, 696, 698, 109, 253, 492, 362, 442, 190, 660, 661, 337, 62, 588, 221, 215, 218, 617, 762, 435, 783, 217, 786, 766, 492, 469, 382, 217, 606, 353, 441, 244, 60, 363, 247, 248, 216, 337, 308, 253, 109, 444, 256, 285, 79, 79, 110, 110, 353, 216, 79, 210, 210, 210, 492, 89, 225, 210, 210, 354, 387, 210, 235, 235, 295, 492, 235, 261, 210, 455, 487, 70, 492, 492, 221, 492, 492, 492, 455, 109, 649, 363, 363, 463, 71, 217, 470, 308, 253, 79, 210, 210, 338, 279, 87, 210, 269, 598, 217, 247, 442, 61, 487, 89, 89, 535, 392, 343, 492, 656, 393, 366, 394, 492, 344, 230, 264, 492, 338, 82, 492, 387, 262, 533, 492, 492, 494, 782, 456, 457, 458, 360, 279, 297, 447, 361, 273, 456, 457, 84, 657, 564, 87, 87, 441, 291, 230, 210, 492, 79, 684, 438, 576, 440, 190, 55, 856, 494, 234, 234, 284, 492, 492, 653, 716, 335, 492, 82, 82, 345, 691, 234, 69, 234, 234, 278, 264, 40, 239, 441, 239, 420, 492, 237, 771, 237, 237, 84, 84, 64, 352, 372, 69, 441, 240, 439, 240, 240, 373, 369, 423, 579, 67, 394, 65, 814, 265, 346, 40, 64, 441, 217, 673, 675, 828, 830, 348, 831, 363, 347, 472, 221, 67, 376, 65, 492, 340, 397, 398, 387, 481, 492, 481, 341, 377, 381, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 536, 379, 210, 210, 380, 455, 550, 234, 389, 471, 524, 527, 492, 234, 476, 396, 406, 538, 531, 492, 531, 402, 307, 308, 210, 872, 210, 210, 363, 235, 265, 235, 417, 518, 234, 403, 79, 388, 617, 802, 626, 629, 234, 79, 617, 472, 473, 474, 475, 531, 89, 387, 234, 524, 589, 538, 364, 61, 597, 234, 518, 642, 721, 429, 456, 457, 594, 234, 492, 741, 264, 234, 234, 525, 528, 234, 532, 109, 518, 620, 539, 79, 210, 210, 210, 210, 79, 210, 210, 87, 390, 622, 634, 518, 399, 614, 564, 637, 638, 639, 632, 363, 624, 203, 543, 406, 234, 841, 492, 234, 426, 839, 234, 273, 82, 825, 454, 190, 835, 234, 273, 407, 210, 518, 410, 210, 210, 269, 210, 79, 279, 482, 210, 482, 84, 492, 61, 428, 600, 600, 511, 516, 492, 522, 523, 518, 627, 472, 69, 210, 79, 210, 278, 628, 269, 309, 264, 432, 79, 278, 617, 433, 492, 79, 473, 64, 434, 210, 549, 855, 792, 79, 269, 79, 492, 687, 367, 423, 67, 492, 65, 492, 210, 368, 423, 511, 516, 269, 617, 670, 582, 234, 307, 308, 210, 40, 40, 472, 590, 861, 592, 549, 356, 436, 472, 278, 385, 445, 79, 472, 437, 492, 63, 386, 666, 71, 492, 492, 445, 671, 448, 449, 670, 260, 261, 674, 676, 69, 472, 307, 308, 549, 61, 446, 210, 635, 450, 688, 445, 269, 422, 445, 464, 459, 64, 217, 190, 423, 424, 701, 356, 356, 203, 549, 411, 537, 445, 67, 234, 65, 400, 837, 362, 362, 94, 94, 190, 401, 362, 451, 94, 94, 94, 94, 459, 468, 234, 94, 94, 455, 234, 94, 454, 682, 234, 357, 358, 683, 94, 540, 430, 242, 459, 579, 243, 234, 583, 431, 596, 76, 608, 78, 76, 492, 78, 709, 579, 692, 744, 94, 94, 94, 778, 454, 394, 94, 454, 618, 614, 76, 752, 78, 562, 563, 210, 79, 229, 758, 760, 492, 492, 454, 630, 763, 765, 631, 81, 636, 456, 457, 460, 309, 640, 768, 234, 79, 293, 294, 641, 472, 725, 473, 492, 654, 234, 452, 662, 833, 663, 79, 668, 672, 453, 813, 834, 669, 815, 94, 679, 94, 324, 680, 685, 160, 326, 327, 686, 758, 760, 763, 689, 693, 695, 273, 109, 234, 705, 210, 74, 697, 759, 761, 234, 87, 455, 699, 764, 234, 234, 700, 83, 83, 111, 111, 810, 702, 83, 706, 712, 809, 210, 713, 226, 210, 714, 740, 492, 717, 609, 715, 811, 492, 160, 492, 773, 492, 720, 737, 738, 109, 79, 80, 821, 455, 234, 423, 718, 225, 79, 232, 79, 79, 210, 210, 278, 83, 724, 727, 210, 280, 86, 278, 794, 456, 457, 462, 473, 746, 153, 356, 733, 821, 735, 234, 736, 755, 600, 756, 757, 845, 739, 745, 87, 234, 492, 84, 84, 234, 279, 743, 767, 84, 788, 774, 94, 94, 79, 228, 280, 210, 775, 779, 456, 457, 465, 822, 85, 796, 86, 86, 234, 79, 79, 79, 795, 83, 94, 153, 94, 94, 88, 797, 234, 793, 234, 807, 816, 817, 94, 413, 84, 415, 418, 818, 820, 94, 518, 819, 799, 800, 801, 473, 234, 827, 234, 868, 832, 76, 472, 78, 473, 829, 234, 847, 85, 85, 234, 210, 842, 843, 849, 79, 79, 852, 873, 492, 492, 492, 88, 88, 853, 854, 492, 94, 94, 94, 94, 94, 94, 94, 94, 89, 79, 871, 875, 877, 163, 476, 824, 493, 84, 91, 91, 112, 112, 112, 492, 91, 472, 481, 473, 279, 483, 230, 493, 472, 483, 473, 483, 836, 472, 485, 473, 485, 94, 75, 79, 94, 94, 254, 94, 94, 487, 487, 94, 210, 76, 79, 78, 472, 269, 473, 273, 82, 79, 163, 91, 494, 728, 273, 282, 94, 94, 94, 549, 492, 299, 115, 734, 302, 303, 304, 305, 306, 863, 94, 826, 83, 188, 94, 89, 864, 280, 94, 83, 94, 92, 92, 874, 148, 690, 83, 92, 754, 94, 339, 88, 160, 351, 282, 160, 160, 160, 862, 423, 421, 94, 481, 784, 492, 785, 423, 301, 492, 492, 0, 91, 780, 0, 0, 94, 0, 0, 418, 0, 83, 83, 0, 0, 83, 418, 92, 82, 391, 83, 160, 0, 86, 148, 0, 160, 160, 160, 160, 0, 0, 94, 279, 481, 0, 473, 208, 208, 208, 279, 0, 0, 381, 280, 84, 560, 561, 562, 563, 0, 0, 84, 0, 250, 0, 803, 0, 482, 805, 806, 88, 76, 83, 280, 270, 0, 0, 153, 85, 0, 153, 153, 153, 0, 6, 267, 92, 391, 391, 391, 0, 476, 88, 83, 6, 473, 0, 0, 0, 84, 0, 0, 473, 417, 84, 0, 83, 473, 482, 0, 417, 381, 381, 381, 83, 153, 83, 0, 472, 0, 153, 153, 153, 153, 0, 6, 473, 481, 0, 0, 555, 94, 94, 556, 557, 558, 0, 77, 0, 0, 77, 476, 359, 6, 0, 0, 0, 84, 476, 848, 850, 83, 94, 472, 0, 279, 0, 77, 0, 0, 91, 0, 279, 0, 0, 83, 94, 91, 84, 0, 0, 0, 476, 560, 561, 562, 563, 0, 0, 0, 0, 84, 0, 0, 865, 866, 0, 476, 0, 84, 870, 84, 482, 0, 94, 163, 0, 0, 163, 163, 163, 0, 0, 0, 0, 91, 0, 878, 0, 6, 91, 0, 0, 131, 0, 880, 280, 94, 882, 0, 94, 419, 884, 280, 747, 748, 84, 749, 419, 83, 0, 41, 42, 163, 0, 92, 0, 94, 163, 163, 163, 163, 92, 0, 83, 94, 0, 94, 94, 94, 94, 0, 0, 91, 282, 94, 0, 0, 0, 208, 208, 0, 131, 0, 481, 481, 481, 0, 83, 0, 481, 481, 0, 481, 91, 0, 0, 0, 148, 0, 92, 148, 148, 148, 309, 92, 0, 91, 83, 404, 405, 0, 280, 94, 0, 91, 94, 91, 0, 280, 322, 323, 83, 78, 420, 0, 84, 472, 94, 94, 94, 420, 0, 324, 0, 325, 148, 326, 327, 328, 329, 148, 148, 148, 148, 0, 0, 0, 92, 482, 482, 482, 91, 0, 0, 482, 482, 0, 482, 208, 208, 208, 208, 84, 477, 478, 6, 6, 6, 92, 473, 0, 6, 6, 94, 6, 0, 472, 94, 94, 0, 0, 92, 84, 472, 0, 0, 270, 0, 472, 92, 0, 92, 83, 751, 77, 476, 84, 0, 94, 226, 83, 309, 83, 83, 84, 0, 0, 472, 0, 79, 0, 0, 79, 270, 0, 77, 0, 322, 323, 0, 0, 575, 581, 530, 0, 534, 92, 553, 0, 79, 324, 270, 94, 0, 326, 327, 328, 329, 0, 0, 0, 94, 0, 94, 789, 476, 270, 0, 83, 0, 94, 0, 476, 0, 577, 0, 0, 472, 0, 278, 0, 0, 476, 83, 83, 83, 0, 84, 91, 0, 267, 530, 309, 77, 228, 84, 476, 84, 84, 0, 0, 0, 0, 610, 613, 0, 0, 616, 91, 0, 0, 623, 0, 0, 0, 0, 81, 74, 270, 81, 74, 324, 91, 0, 0, 326, 327, 328, 329, 0, 0, 0, 80, 83, 83, 80, 81, 74, 644, 790, 0, 616, 0, 84, 644, 0, 131, 0, 0, 131, 131, 131, 80, 132, 83, 0, 0, 0, 84, 84, 84, 0, 0, 92, 0, 75, 273, 423, 75, 659, 659, 659, 422, 0, 0, 667, 0, 86, 473, 422, 0, 0, 279, 92, 131, 75, 667, 667, 83, 131, 131, 131, 131, 91, 0, 0, 0, 92, 0, 83, 230, 91, 132, 91, 91, 0, 83, 0, 84, 84, 667, 0, 0, 0, 0, 280, 0, 0, 0, 0, 208, 0, 0, 677, 0, 0, 0, 0, 473, 84, 0, 95, 0, 0, 0, 473, 0, 0, 0, 0, 473, 0, 704, 0, 708, 791, 581, 0, 0, 91, 0, 0, 0, 0, 581, 0, 86, 0, 0, 473, 0, 0, 0, 84, 91, 91, 91, 79, 92, 0, 85, 476, 0, 0, 84, 0, 92, 0, 92, 92, 95, 84, 0, 208, 0, 0, 0, 0, 0, 0, 719, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 726, 742, 0, 0, 729, 0, 91, 91, 730, 0, 278, 0, 0, 476, 0, 0, 92, 278, 0, 613, 476, 0, 473, 0, 34, 472, 412, 91, 0, 0, 0, 92, 92, 92, 0, 0, 412, 659, 79, 0, 0, 85, 34, 0, 476, 0, 81, 74, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 80, 0, 0, 0, 0, 412, 770, 0, 412, 0, 91, 0, 0, 0, 0, 208, 777, 91, 0, 92, 92, 0, 412, 412, 0, 412, 0, 412, 0, 0, 0, 667, 667, 75, 0, 273, 423, 0, 0, 0, 92, 0, 273, 423, 0, 0, 34, 644, 0, 0, 0, 279, 0, 0, 616, 412, 0, 412, 279, 0, 616, 0, 555, 81, 74, 556, 557, 558, 0, 0, 0, 0, 0, 0, 92, 0, 0, 132, 0, 80, 132, 132, 132, 0, 280, 92, 0, 415, 0, 412, 0, 280, 92, 581, 0, 0, 823, 415, 0, 0, 559, 0, 0, 421, 0, 560, 561, 562, 563, 0, 421, 0, 75, 0, 0, 132, 0, 0, 0, 0, 132, 132, 132, 132, 0, 838, 0, 0, 415, 270, 0, 415, 0, 0, 0, 846, 309, 0, 0, 851, 0, 0, 0, 0, 0, 415, 415, 0, 415, 0, 415, 0, 322, 323, 253, 95, 0, 581, 95, 95, 95, 0, 0, 0, 0, 324, 0, 325, 0, 326, 327, 328, 329, 0, 613, 332, 616, 333, 415, 0, 415, 412, 0, 34, 34, 34, 0, 0, 412, 34, 34, 0, 34, 95, 876, 0, 879, 0, 95, 95, 95, 95, 0, 0, 616, 0, 0, 334, 883, 0, 0, 0, 415, 0, 34, 34, 34, 34, 34, 0, 0, 469, 469, 469, 0, 469, 412, 412, 412, 469, 469, 412, 412, 412, 469, 412, 469, 469, 469, 469, 469, 469, 469, 412, 469, 412, 412, 469, 469, 469, 469, 469, 469, 469, 412, 412, 0, 412, 412, 412, 412, 412, 334, 469, 0, 0, 469, 469, 469, 469, 469, 469, 469, 469, 0, 469, 469, 469, 469, 0, 469, 469, 469, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 0, 96, 412, 412, 412, 469, 412, 412, 469, 469, 469, 469, 469, 412, 469, 412, 469, 412, 469, 412, 412, 412, 412, 412, 412, 412, 469, 412, 469, 0, 469, 469, 469, 469, 469, 469, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 470, 470, 470, 96, 470, 415, 415, 415, 470, 470, 415, 415, 415, 470, 415, 470, 470, 470, 470, 470, 470, 470, 415, 470, 415, 415, 470, 470, 470, 470, 470, 470, 470, 415, 415, 0, 415, 415, 415, 415, 415, 0, 470, 0, 0, 470, 470, 470, 470, 470, 470, 470, 470, 0, 470, 470, 470, 470, 0, 470, 470, 470, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 0, 0, 415, 415, 415, 470, 415, 415, 470, 470, 470, 470, 470, 415, 470, 415, 470, 415, 470, 415, 415, 415, 415, 415, 415, 415, 470, 415, 470, 472, 470, 470, 470, 470, 470, 470, 0, 0, 0, 472, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 324, 472, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 472, 472, 0, 84, 0, 472, 0, 0, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 472, 0, 472, 0, 0, 0, 0, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 0, 0, 472, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 0, 0, 96, 96, 96, 0, 0, 0, 0, 473, 0, 0, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 415, 473, 473, 0, 86, 0, 473, 415, 0, 0, 0, 0, 96, 0, 0, 0, 0, 96, 96, 96, 96, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 0, 473, 0, 473, 322, 323, 0, 0, 0, 0, 0, 608, 0, 0, 0, 0, 0, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 334, 0, 0, 0, 0, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 655, 472, 472, 472, 472, 334, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 334, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 476, 473, 473, 473, 473, 473, 473, 0, 0, 0, 476, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 324, 476, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 476, 476, 0, 85, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 476, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 274, 322, 323, 0, 0, 0, 0, 0, 0, 0, 274, 0, 0, 476, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 0, 0, 0, 0, 0, 0, 508, 509, 0, 0, 510, 274, 0, 0, 274, 0, 0, 0, 160, 161, 0, 162, 163, 164, 165, 0, 166, 167, 274, 274, 168, 0, 0, 274, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 678, 0, 0, 0, 174, 175, 0, 176, 177, 178, 179, 180, 181, 182, 183, 184, 274, 185, 274, 186, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 274, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 476, 476, 476, 472, 472, 476, 476, 476, 472, 476, 472, 472, 472, 472, 472, 472, 472, 0, 476, 476, 476, 472, 472, 472, 472, 472, 472, 472, 476, 476, 0, 476, 476, 476, 476, 476, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 472, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 0, 0, 476, 476, 476, 472, 0, 476, 472, 472, 472, 472, 472, 476, 472, 476, 472, 476, 472, 476, 476, 476, 476, 476, 476, 476, 472, 476, 476, 0, 472, 472, 472, 472, 472, 472, 471, 471, 471, 0, 471, 274, 274, 274, 471, 471, 274, 274, 274, 471, 274, 471, 471, 471, 471, 471, 471, 471, 0, 471, 274, 274, 471, 471, 471, 471, 471, 471, 471, 274, 274, 0, 274, 274, 274, 274, 274, 0, 471, 0, 0, 471, 471, 471, 471, 471, 471, 471, 471, 0, 471, 471, 471, 471, 0, 471, 471, 471, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 0, 0, 274, 274, 274, 471, 0, 274, 471, 471, 471, 471, 471, 274, 471, 274, 471, 274, 471, 274, 274, 274, 274, 274, 274, 274, 471, 274, 471, 477, 471, 471, 471, 471, 471, 471, 0, 0, 0, 477, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 0, 0, 477, 0, 0, 0, 0, 0, 0, 0, 0, 4, 5, 6, 0, 8, 477, 477, 0, 9, 10, 477, 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, 477, 0, 477, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 478, 0, 104, 0, 0, 0, 0, 0, 0, 0, 478, 0, 0, 477, 0, 0, 0, 0, 0, 0, 0, 0, 224, 0, 0, 47, 0, 48, 49, 50, 0, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 478, 753, 0, 478, 0, 0, 54, 55, 56, 57, 58, 59, 513, 514, 0, 0, 515, 478, 478, 0, 0, 0, 478, 0, 160, 161, 0, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 478, 0, 478, 0, 0, 174, 175, 0, 176, 177, 178, 179, 180, 181, 182, 183, 184, 0, 185, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 478, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 474, 474, 474, 0, 474, 477, 477, 477, 474, 474, 477, 477, 477, 474, 477, 474, 474, 474, 474, 474, 474, 474, 0, 477, 477, 477, 474, 474, 474, 474, 474, 474, 474, 477, 477, 0, 477, 477, 477, 477, 477, 0, 474, 0, 0, 474, 474, 474, 474, 474, 474, 474, 474, 0, 474, 474, 474, 474, 0, 474, 474, 474, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 0, 0, 477, 477, 477, 474, 0, 477, 474, 474, 474, 474, 474, 477, 474, 477, 474, 477, 474, 477, 477, 477, 477, 477, 477, 477, 474, 477, 477, 0, 474, 474, 474, 474, 474, 474, 475, 475, 475, 0, 475, 478, 478, 478, 475, 475, 478, 478, 478, 475, 478, 475, 475, 475, 475, 475, 475, 475, 0, 478, 478, 478, 475, 475, 475, 475, 475, 475, 475, 478, 478, 0, 478, 478, 478, 478, 478, 0, 475, 0, 0, 475, 475, 475, 475, 475, 475, 475, 475, 0, 475, 475, 475, 475, 0, 475, 475, 475, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 0, 0, 478, 478, 478, 475, 0, 478, 475, 475, 475, 475, 475, 478, 475, 478, 475, 478, 475, 478, 478, 478, 478, 478, 478, 478, 475, 478, 478, 350, 475, 475, 475, 475, 475, 475, 0, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 4, 5, 6, 0, 8, 0, 350, 350, 9, 10, 0, 350, 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, 350, 0, 350, 101, 0, 0, 31, 32, 102, 34, 35, 36, 103, 38, 0, 39, 40, 41, 42, 0, 0, 492, 104, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 350, 0, 0, 0, 0, 105, 0, 0, 106, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 492, 0, 54, 55, 56, 57, 58, 59, 520, 509, 0, 0, 521, 0, 492, 492, 0, 0, 0, 492, 160, 161, 0, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 492, 0, 492, 0, 174, 175, 0, 176, 177, 178, 179, 180, 181, 182, 183, 184, 0, 185, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 251, 251, 0, 251, 350, 350, 350, 251, 251, 350, 350, 350, 251, 350, 251, 251, 251, 251, 251, 251, 251, 0, 350, 350, 350, 251, 251, 251, 251, 251, 251, 251, 350, 350, 0, 350, 350, 350, 350, 350, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 251, 251, 251, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 0, 0, 350, 350, 350, 251, 0, 350, 251, 0, 251, 251, 251, 350, 251, 350, 251, 350, 251, 350, 350, 350, 350, 350, 350, 350, 251, 350, 350, 0, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 492, 492, 492, 251, 251, 492, 492, 492, 251, 492, 251, 251, 251, 251, 251, 251, 251, 0, 492, 492, 492, 251, 251, 251, 251, 251, 251, 251, 492, 492, 0, 492, 492, 492, 492, 492, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 251, 251, 251, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 251, 0, 492, 251, 0, 251, 251, 251, 492, 251, 492, 251, 492, 251, 492, 492, 492, 492, 492, 492, 492, 251, 492, 492, 278, 251, 251, 251, 251, 251, 251, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 547, 514, 0, 0, 548, 0, 0, 0, 0, 0, 0, 0, 160, 161, 0, 162, 163, 164, 165, 278, 166, 167, 278, 0, 168, 0, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 278, 278, 0, 87, 0, 278, 0, 174, 175, 0, 176, 177, 178, 179, 180, 181, 182, 183, 184, 0, 185, 0, 186, 0, 0, 0, 584, 509, 0, 0, 585, 0, 0, 278, 0, 278, 0, 0, 160, 161, 0, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 286, 169, 170, 171, 172, 0, 0, 0, 0, 0, 286, 0, 0, 278, 0, 174, 175, 0, 176, 177, 178, 179, 180, 181, 182, 183, 184, 0, 185, 0, 186, 0, 0, 0, 0, 0, 586, 514, 0, 0, 587, 286, 0, 0, 286, 0, 0, 0, 160, 161, 0, 162, 163, 164, 165, 0, 166, 167, 286, 286, 168, 0, 0, 286, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 174, 175, 0, 176, 177, 178, 179, 180, 181, 182, 183, 184, 286, 185, 286, 186, 309, 310, 311, 312, 313, 314, 315, 316, 0, 318, 319, 0, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 324, 286, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 473, 0, 473, 278, 278, 278, 473, 473, 278, 278, 278, 473, 278, 473, 473, 473, 473, 473, 473, 473, 0, 0, 278, 278, 473, 473, 473, 473, 473, 473, 473, 278, 278, 0, 278, 278, 278, 278, 278, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 473, 473, 473, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 0, 0, 278, 278, 278, 473, 0, 278, 473, 473, 473, 473, 473, 278, 473, 278, 473, 278, 473, 278, 278, 278, 278, 278, 278, 278, 473, 278, 0, 0, 473, 473, 473, 473, 473, 473, 251, 251, 251, 0, 251, 286, 286, 286, 251, 251, 286, 286, 286, 251, 286, 251, 251, 251, 251, 251, 251, 251, 0, 0, 286, 286, 251, 251, 251, 251, 251, 251, 251, 286, 286, 0, 286, 286, 286, 286, 286, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, }; }
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/b1293eda8454686e846e2a9837b348e2983bb423/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, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 1850, 576, 5026, 16, 225, 576, 5026, 16, 225, 890, 12416, 16, 225, 576, 5540, 16, 225, 576, 5026, 16, 225, 4200, 23, 16, 225, 1059, 3657, 16, 225, 576, 5520, 16, 225, 576, 5520, 16, 225, 6549, 29, 16, 6647, 1381, 3672, 16, 225, 576, 5520, 16, 225, 576, 6418, 16, 225, 576, 6418, 16, 225, 4248, 28, 16, 225, 1381, 1105, 16, 225, 576, 6418, 16, 225, 11631, 16, 225, 5342, 20, 16, 225, 5342, 20, 16, 6647, 1381, 12416, 16, 225, 9131, 21, 16, 225, 6969, 22, 16, 225, 27610, 16, 225, 27610, 16, 225, 4200, 23, 16, 225, 1381, 3657, 16, 225, 27610, 16, 225, 6969, 27, 16, 225, 576, 6162, 16, 6647, 576, 2313, 16, 282, 16848, 16, 225, 1666, 1611, 16, 225, 1381, 9401, 16, 225, 576, 5026, 16, 225, 576, 5026, 16, 225, 576, 2313, 16, 225, 9131, 23, 16, 225, 576, 5193, 16, 225, 5342, 20, 16, 6647, 2371, 1578, 16, 225, 1666, 4033, 16, 225, 576, 5608, 16, 225, 890, 4313, 16, 225, 4248, 29, 16, 225, 890, 9452, 16, 225, 1059, 9498, 16, 225, 1666, 9401, 16, 225, 576, 9222, 16, 225, 2371, 11149, 16, 6647, 1059, 6028, 16, 225, 30116, 16, 225, 30116, 16, 225, 1381, 10593, 16, 225, 1059, 9452, 16, 225, 1666, 9036, 16, 225, 1666, 5877, 16, 225, 576, 12416, 16, 225, 576, 5877, 16, 225, 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, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 1850, 576, 5026, 16, 225, 576, 5026, 16, 225, 890, 12416, 16, 225, 576, 5540, 16, 225, 576, 5026, 16, 225, 4200, 23, 16, 225, 1059, 3657, 16, 225, 576, 5520, 16, 225, 576, 5520, 16, 225, 6549, 29, 16, 6647, 1381, 3672, 16, 225, 576, 5520, 16, 225, 576, 6418, 16, 225, 576, 6418, 16, 225, 4248, 28, 16, 225, 1381, 1105, 16, 225, 576, 6418, 16, 225, 11631, 16, 225, 5342, 20, 16, 225, 5342, 20, 16, 6647, 1381, 12416, 16, 225, 9131, 21, 16, 225, 6969, 22, 16, 225, 27610, 16, 225, 27610, 16, 225, 4200, 23, 16, 225, 2 ]
public double getBondLength() { return this.bondLength; }
public double getBondLength() { return this.bondLength; }
public double getBondLength() { return this.bondLength; }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/b7597d09b03980486670c72a7289affda9ea694b/Renderer2DModel.java/buggy/src/org/openscience/cdk/renderer/Renderer2DModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1645, 29585, 1782, 1435, 288, 565, 327, 333, 18, 26425, 1782, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1645, 29585, 1782, 1435, 288, 565, 327, 333, 18, 26425, 1782, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (collectionClass == null) return;
if( collectionClass == null ) { return; }
private void suggestNamesForCollectionInheritors(final PsiType type, final VariableKind variableKind, List<String> suggestions) { if (!(type instanceof PsiClassType)) return; PsiClassType classType = (PsiClassType)type; PsiClassType.ClassResolveResult resolved = classType.resolveGenerics(); if (resolved.getElement() == null) return; final PsiManager manager = PsiManager.getInstance(myProject); final PsiClass collectionClass = manager.findClass("java.util.Collection", resolved.getElement().getResolveScope()); if (collectionClass == null) return; if (InheritanceUtil.isInheritorOrSelf(resolved.getElement(), collectionClass, true)) { final PsiSubstitutor substitutor; if (!manager.areElementsEquivalent(resolved.getElement(), collectionClass)) { substitutor = TypeConversionUtil.getClassSubstitutor(collectionClass, resolved.getElement(), PsiSubstitutor.EMPTY); } else { substitutor = PsiSubstitutor.EMPTY; } PsiTypeParameterList typeParameterList = collectionClass.getTypeParameterList(); if (typeParameterList == null) return; PsiTypeParameter[] typeParameters = typeParameterList.getTypeParameters(); if (typeParameters.length == 0) return; PsiType componentTypeParameter = substitutor.substitute(typeParameters[0]); if (componentTypeParameter instanceof PsiClassType) { PsiClass componentClass = ((PsiClassType)componentTypeParameter).resolve(); if (componentClass instanceof PsiTypeParameter) { if (collectionClass.getManager().areElementsEquivalent(((PsiTypeParameter)componentClass).getOwner(), resolved.getElement())) { PsiType componentType = resolved.getSubstitutor().substitute((PsiTypeParameter)componentClass); if (componentType == null) return; String typeName = normalizeTypeName(getTypeName(componentType)); if (typeName != null) { suggestions.addAll(Arrays.asList(getSuggestionsByName(typeName, variableKind, true))); } } } } } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/c0acc0d23c610efb640c80212199ae2ad36ce3ac/CodeStyleManagerImpl.java/clean/source/com/intellij/psi/impl/source/codeStyle/CodeStyleManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 19816, 1557, 1290, 2532, 14216, 1383, 12, 6385, 453, 7722, 559, 618, 16, 4766, 10402, 727, 7110, 5677, 2190, 5677, 16, 4766, 10402, 987, 32, 780, 34, 17969, 13, 288, 565, 309, 16051, 12, 723, 1276, 453, 7722, 18328, 3719, 327, 31, 565, 453, 7722, 18328, 24959, 273, 261, 52, 7722, 18328, 13, 723, 31, 565, 453, 7722, 18328, 18, 797, 8460, 1253, 4640, 273, 24959, 18, 10828, 24912, 5621, 565, 309, 261, 11792, 18, 21336, 1435, 422, 446, 13, 327, 31, 565, 727, 453, 7722, 1318, 3301, 273, 453, 7722, 1318, 18, 588, 1442, 12, 4811, 4109, 1769, 565, 727, 453, 7722, 797, 1849, 797, 273, 3301, 18, 4720, 797, 2932, 6290, 18, 1367, 18, 2532, 3113, 4640, 18, 21336, 7675, 588, 8460, 3876, 10663, 565, 309, 12, 1849, 797, 422, 446, 262, 288, 327, 31, 289, 565, 309, 261, 28255, 1304, 18, 291, 382, 1614, 1811, 1162, 10084, 12, 11792, 18, 21336, 9334, 1849, 797, 16, 638, 3719, 288, 1377, 727, 453, 7722, 1676, 5223, 3408, 7461, 3408, 31, 1377, 309, 16051, 4181, 18, 834, 3471, 22606, 12, 11792, 18, 21336, 9334, 1849, 797, 3719, 288, 3639, 7461, 3408, 273, 1412, 6814, 1304, 18, 588, 797, 1676, 5223, 3408, 12, 5548, 797, 16, 4640, 18, 21336, 9334, 4766, 11794, 453, 7722, 1676, 5223, 3408, 18, 13625, 1769, 1377, 289, 1377, 469, 288, 3639, 7461, 3408, 273, 453, 7722, 1676, 5223, 3408, 18, 13625, 31, 1377, 289, 1377, 453, 7722, 16920, 682, 618, 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, 19816, 1557, 1290, 2532, 14216, 1383, 12, 6385, 453, 7722, 559, 618, 16, 4766, 10402, 727, 7110, 5677, 2190, 5677, 16, 4766, 10402, 987, 32, 780, 34, 17969, 13, 288, 565, 309, 16051, 12, 723, 1276, 453, 7722, 18328, 3719, 327, 31, 565, 453, 7722, 18328, 24959, 273, 261, 52, 7722, 18328, 13, 723, 31, 565, 453, 7722, 18328, 18, 797, 8460, 1253, 4640, 273, 24959, 18, 10828, 24912, 5621, 565, 309, 261, 11792, 18, 21336, 1435, 422, 446, 13, 327, 31, 565, 727, 453, 7722, 1318, 3301, 273, 453, 7722, 1318, 18, 588, 1442, 12, 4811, 4109, 1769, 565, 727, 453, 7722, 797, 1849, 797, 273, 3301, 18, 4720, 797, 2932, 6290, 18, 1367, 18, 2 ]
JComponent comp = (JComponent) e.nextElement(); if (! (comp.isVisible() && comp.isShowing()))
synchronized(this) { ArrayList swap = workRepaintOrder; workRepaintOrder = repaintOrder; repaintOrder = swap; HashMap swap2 = workDirtyComponents; workDirtyComponents = dirtyComponents; dirtyComponents = swap2; } for (Iterator i = workRepaintOrder.iterator(); i.hasNext();) { JComponent comp = (JComponent) i.next(); Rectangle damaged = (Rectangle) workDirtyComponents.get(comp); if (damaged == null || damaged.isEmpty())
public void paintDirtyRegions() { // step 1: pull out roots and calculate spanning damage HashMap roots = new HashMap(); for (Enumeration e = dirtyComponents.keys(); e.hasMoreElements(); ) { JComponent comp = (JComponent) e.nextElement(); if (! (comp.isVisible() && comp.isShowing())) continue; Rectangle damaged = getDirtyRegion(comp); if (damaged.width == 0 || damaged.height == 0) continue; JRootPane root = comp.getRootPane(); // If the component has no root, no repainting will occur. if (root == null) continue; Rectangle rootDamage = SwingUtilities.convertRectangle(comp, damaged, root); if (! roots.containsKey(root)) { roots.put(root, rootDamage); } else { roots.put(root, ((Rectangle)roots.get(root)).union(rootDamage)); } } dirtyComponents.clear(); // step 2: paint those roots Iterator i = roots.entrySet().iterator(); while(i.hasNext()) { Map.Entry ent = (Map.Entry) i.next(); JRootPane root = (JRootPane) ent.getKey(); Rectangle rect = (Rectangle) ent.getValue(); root.paintImmediately(rect); } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ae9ec43c5570a0f69e3d8c8b733283719f52a770/RepaintManager.java/buggy/core/src/classpath/javax/javax/swing/RepaintManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 12574, 10785, 17344, 1435, 225, 288, 565, 368, 2235, 404, 30, 6892, 596, 12876, 471, 4604, 1694, 10903, 302, 301, 410, 565, 4317, 12876, 273, 394, 4317, 5621, 565, 364, 261, 21847, 425, 273, 9603, 7171, 18, 2452, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 1377, 288, 3639, 29058, 1161, 273, 261, 46, 1841, 13, 425, 18, 4285, 1046, 5621, 3639, 309, 16051, 261, 2919, 18, 291, 6207, 1435, 597, 1161, 18, 291, 5706, 310, 1435, 3719, 1850, 1324, 31, 3639, 13264, 302, 301, 11349, 273, 336, 10785, 5165, 12, 2919, 1769, 3639, 309, 261, 72, 301, 11349, 18, 2819, 422, 374, 747, 302, 301, 11349, 18, 4210, 422, 374, 13, 1850, 1324, 31, 3639, 804, 2375, 8485, 1365, 273, 1161, 18, 588, 2375, 8485, 5621, 3639, 368, 971, 326, 1794, 711, 1158, 1365, 16, 1158, 24962, 310, 903, 3334, 18, 3639, 309, 261, 3085, 422, 446, 13, 1850, 1324, 31, 3639, 13264, 1365, 40, 301, 410, 273, 26145, 11864, 18, 6283, 19463, 12, 2919, 16, 302, 301, 11349, 16, 1365, 1769, 3639, 309, 16051, 12876, 18, 12298, 653, 12, 3085, 3719, 1850, 288, 5411, 12876, 18, 458, 12, 3085, 16, 1365, 40, 301, 410, 1769, 1850, 289, 3639, 469, 1850, 288, 5411, 12876, 18, 458, 12, 3085, 16, 14015, 19463, 13, 22078, 18, 588, 12, 3085, 13, 2934, 18910, 12, 3085, 40, 301, 410, 10019, 1850, 289, 1377, 289, 565, 9603, 7171, 18, 8507, 5621, 565, 368, 2235, 576, 30, 12574, 5348, 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, 12574, 10785, 17344, 1435, 225, 288, 565, 368, 2235, 404, 30, 6892, 596, 12876, 471, 4604, 1694, 10903, 302, 301, 410, 565, 4317, 12876, 273, 394, 4317, 5621, 565, 364, 261, 21847, 425, 273, 9603, 7171, 18, 2452, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 1377, 288, 3639, 29058, 1161, 273, 261, 46, 1841, 13, 425, 18, 4285, 1046, 5621, 3639, 309, 16051, 261, 2919, 18, 291, 6207, 1435, 597, 1161, 18, 291, 5706, 310, 1435, 3719, 1850, 1324, 31, 3639, 13264, 302, 301, 11349, 273, 336, 10785, 5165, 12, 2919, 1769, 3639, 309, 261, 72, 301, 11349, 18, 2819, 422, 374, 747, 302, 301, 11349, 18, 4210, 422, 374, 13, 1850, 1324, 31, 3639, 2 ]
private void parseDescriptor()
private void parseDescriptor(JarFile jarFile, ComponentTagHandler handler)
private void parseDescriptor() { ZipEntry entry = jarFile.getEntry(CarResources.DEPLOYMENT_DESCRIPTOR); SAXParser parser = null; InputStream is = null; if ( entry == null ) // should never happen return; try { is = jarFile.getInputStream( entry ); parser = SAXParserFactory.newInstance().newSAXParser(); } catch( ZipException ze ) { log.debug( "The zip entry " + CarResources.DEPLOYMENT_DESCRIPTOR + " in " + jarFile.getName() + " has an invalid format. Details: " + ze ); } catch( IOException ioe ) { log.debug( "Unable to read entry " + CarResources.DEPLOYMENT_DESCRIPTOR + " in " + jarFile.getName() + ". Details: " + ioe ); } catch( SecurityException se ) { log.debug( "Unable to read entry " + CarResources.DEPLOYMENT_DESCRIPTOR + " in " + jarFile.getName() + " because some entries are incorrectly signed. " + "Details: " + se ); } catch( FactoryConfigurationError fce ) { log.debug( "Unable to read entry " + CarResources.DEPLOYMENT_DESCRIPTOR + " in " + jarFile.getName() + " because a parser factory could not be created." + " Details: " + fce ); } catch( ParserConfigurationException pce ) { log.debug( "Unable to read entry " + CarResources.DEPLOYMENT_DESCRIPTOR + " in " + jarFile.getName() + " because a parser could not be created." + " Details: " + pce ); } catch( SAXException sxe ) { log.debug( "Unable to read entry " + CarResources.DEPLOYMENT_DESCRIPTOR + " in " + jarFile.getName() + " because a parser could not be created." + " Details: " + sxe ); } try { // can throw SAXException, IOException parser.parse( is, this ); } catch( RuntimeException re ) { log.debug( "Unable to completely parse entry " + CarResources.DEPLOYMENT_DESCRIPTOR + " in " + jarFile.getName() + " because a fatal parser error occurred. " + "Details: " + re.getMessage() ); } catch( IOException ioe ) { log.debug( "Unable to completely parse entry " + CarResources.DEPLOYMENT_DESCRIPTOR + " in " + jarFile.getName() + ". Details: " + ioe ); } catch( SAXException sxe ) { log.debug( "Unable to completely parse entry " + CarResources.DEPLOYMENT_DESCRIPTOR + " in " + jarFile.getName() + ". Details: " + sxe ); } finally { try { if(is != null) is.close(); } catch (IOException ioe) { log.error( "::Unable to close inputStream " + ioe); } } }
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/848c89bee6057ceb5a835b528ef0941a2c98b9d3/DescriptorHandler.java/clean/source/org/jasig/portal/car/DescriptorHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1109, 3187, 12, 10813, 812, 22588, 16, 5435, 1805, 1503, 1838, 13, 565, 288, 3639, 23652, 1241, 273, 22588, 18, 588, 1622, 12, 16321, 3805, 18, 1639, 22971, 3212, 67, 1639, 27689, 1769, 3639, 10168, 2678, 2082, 273, 446, 31, 3639, 5037, 353, 273, 446, 31, 7734, 309, 261, 1241, 422, 446, 262, 368, 1410, 5903, 5865, 5411, 327, 31, 10792, 775, 3639, 288, 5411, 353, 273, 22588, 18, 588, 4348, 12, 1241, 11272, 5411, 2082, 273, 10168, 2678, 1733, 18, 2704, 1442, 7675, 2704, 55, 2501, 2678, 5621, 3639, 289, 3639, 1044, 12, 8603, 503, 26637, 262, 3639, 288, 5411, 613, 18, 4148, 12, 18701, 315, 1986, 3144, 1241, 315, 397, 18701, 23672, 3805, 18, 1639, 22971, 3212, 67, 1639, 27689, 397, 18701, 315, 316, 315, 397, 22588, 18, 17994, 1435, 397, 18701, 315, 711, 392, 2057, 740, 18, 21897, 30, 315, 397, 26637, 11272, 3639, 289, 3639, 1044, 12, 1860, 10847, 262, 3639, 288, 5411, 613, 18, 4148, 12, 18701, 315, 3370, 358, 855, 1241, 315, 397, 18701, 23672, 3805, 18, 1639, 22971, 3212, 67, 1639, 27689, 397, 18701, 315, 316, 315, 397, 22588, 18, 17994, 1435, 397, 18701, 3552, 21897, 30, 315, 397, 10847, 11272, 3639, 289, 3639, 1044, 12, 17780, 695, 262, 3639, 288, 5411, 613, 18, 4148, 12, 18701, 315, 3370, 358, 855, 1241, 315, 397, 18701, 23672, 3805, 18, 1639, 22971, 3212, 67, 1639, 27689, 397, 18701, 315, 316, 315, 397, 22588, 18, 17994, 1435, 397, 18701, 315, 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, 1109, 3187, 12, 10813, 812, 22588, 16, 5435, 1805, 1503, 1838, 13, 565, 288, 3639, 23652, 1241, 273, 22588, 18, 588, 1622, 12, 16321, 3805, 18, 1639, 22971, 3212, 67, 1639, 27689, 1769, 3639, 10168, 2678, 2082, 273, 446, 31, 3639, 5037, 353, 273, 446, 31, 7734, 309, 261, 1241, 422, 446, 262, 368, 1410, 5903, 5865, 5411, 327, 31, 10792, 775, 3639, 288, 5411, 353, 273, 22588, 18, 588, 4348, 12, 1241, 11272, 5411, 2082, 273, 10168, 2678, 1733, 18, 2704, 1442, 7675, 2704, 55, 2501, 2678, 5621, 3639, 289, 3639, 1044, 12, 8603, 503, 26637, 262, 3639, 288, 5411, 613, 18, 4148, 12, 18701, 315, 1986, 3144, 1241, 315, 397, 18701, 23672, 3805, 18, 2 ]