rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
return true;
return xmlAvailable;
final boolean isXmlAvailable() { return true; }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/1e0a67d7253f80f0671c2b5f969f8f86a836773c/CompilerEnvirons.java/buggy/js/rhino/src/org/mozilla/javascript/CompilerEnvirons.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 1250, 353, 4432, 5268, 1435, 565, 288, 3639, 327, 2025, 5268, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 727, 1250, 353, 4432, 5268, 1435, 565, 288, 3639, 327, 2025, 5268, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
logger.debug("Atom 2 of first Bond: " + molecule.getAtomNumber(atom));
logger.debug("Atom 2 of first Bond: " + (molecule.getAtomNumber(atom) + 1));
private AtomContainer placeFirstBond(Bond bond, Vector2d bondVector) { AtomContainer sharedAtoms = null; try { bondVector.normalize(); logger.debug("placeFirstBondOfFirstRing->bondVector.length():" + bondVector.length()); bondVector.scale(bondLength); logger.debug("placeFirstBondOfFirstRing->bondVector.length() after scaling:" + bondVector.length()); Atom atom; Point2d point = new Point2d(0, 0); atom = bond.getAtomAt(0); logger.debug("Atom 1 of first Bond: " + molecule.getAtomNumber(atom)); atom.setPoint2D(point); atom.flags[CDKConstants.ISPLACED] = true; point = new Point2d(0, 0); atom = bond.getAtomAt(1); logger.debug("Atom 2 of first Bond: " + molecule.getAtomNumber(atom)); point.add(bondVector); atom.setPoint2D(point); atom.flags[CDKConstants.ISPLACED] = true; /* * The new ring is layed out relativ to some shared atoms that have already been * placed. Usually this is another ring, that has already been draw and to which the new * ring is somehow connected, or some other system of atoms in an aliphatic chain. * In this case, it's the first bond that we layout by hand. */ sharedAtoms = new AtomContainer(); sharedAtoms.addBond(bond); sharedAtoms.addAtom(bond.getAtomAt(0)); sharedAtoms.addAtom(bond.getAtomAt(1)); } catch(Exception exc) { } return sharedAtoms; }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/df5b60a7f777b019d4b0b428566ad74e4a8debd9/StructureDiagramGenerator.java/clean/src/org/openscience/cdk/layout/StructureDiagramGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 7149, 2170, 3166, 3759, 9807, 12, 9807, 8427, 16, 5589, 22, 72, 8427, 5018, 13, 202, 95, 202, 202, 3641, 2170, 5116, 14280, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 26425, 5018, 18, 12237, 5621, 1082, 202, 4901, 18, 4148, 2932, 964, 3759, 9807, 951, 3759, 10369, 2122, 26425, 5018, 18, 2469, 1435, 2773, 397, 225, 8427, 5018, 18, 2469, 10663, 1082, 202, 26425, 5018, 18, 5864, 12, 26425, 1782, 1769, 1082, 202, 4901, 18, 4148, 2932, 964, 3759, 9807, 951, 3759, 10369, 2122, 26425, 5018, 18, 2469, 1435, 1839, 10612, 2773, 397, 225, 8427, 5018, 18, 2469, 10663, 1082, 202, 3641, 3179, 31, 1082, 202, 2148, 22, 72, 1634, 273, 394, 4686, 22, 72, 12, 20, 16, 374, 1769, 1082, 202, 7466, 273, 8427, 18, 588, 3641, 861, 12, 20, 1769, 1082, 202, 4901, 18, 4148, 2932, 3641, 404, 434, 1122, 605, 1434, 30, 315, 397, 13661, 18, 588, 3641, 1854, 12, 7466, 10019, 1082, 202, 7466, 18, 542, 2148, 22, 40, 12, 1153, 1769, 1082, 202, 7466, 18, 7133, 63, 39, 3398, 2918, 18, 45, 3118, 2534, 23552, 65, 273, 638, 31, 1082, 202, 1153, 273, 394, 4686, 22, 72, 12, 20, 16, 374, 1769, 1082, 202, 7466, 273, 8427, 18, 588, 3641, 861, 12, 21, 1769, 1082, 202, 4901, 18, 4148, 2932, 3641, 576, 434, 1122, 605, 1434, 30, 315, 397, 13661, 18, 588, 3641, 1854, 12, 7466, 10019, 1082, 202, 1153, 18, 1289, 12, 26425, 5018, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 7149, 2170, 3166, 3759, 9807, 12, 9807, 8427, 16, 5589, 22, 72, 8427, 5018, 13, 202, 95, 202, 202, 3641, 2170, 5116, 14280, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 26425, 5018, 18, 12237, 5621, 1082, 202, 4901, 18, 4148, 2932, 964, 3759, 9807, 951, 3759, 10369, 2122, 26425, 5018, 18, 2469, 1435, 2773, 397, 225, 8427, 5018, 18, 2469, 10663, 1082, 202, 26425, 5018, 18, 5864, 12, 26425, 1782, 1769, 1082, 202, 4901, 18, 4148, 2932, 964, 3759, 9807, 951, 3759, 10369, 2122, 26425, 5018, 18, 2469, 1435, 1839, 10612, 2773, 397, 225, 8427, 5018, 18, 2469, 10663, 1082, 202, 3641, 3179, 31, 1082, 202, 2148, 22, 72, 1634, 273, 394, 2 ]
static boolean unrollLeaf(OPT_LSTNode t, OPT_IR ir) {
boolean unrollLeaf(OPT_LSTNode t, OPT_IR ir) {
static boolean unrollLeaf(OPT_LSTNode t, OPT_IR ir) { int instructionsInLoop = 0; OPT_BasicBlock exitBlock = null, backEdgeBlock = null, succBlock = null, predBlock = null; OPT_BitVector nloop = t.loop; OPT_BasicBlock header = t.header; OPT_Instruction tmp; if (ir.hasReachableExceptionHandlers()){ report ("0 IR may have exception handlers\n"); return false;} // determine loop structure by looking at its blocks OPT_BasicBlockEnumeration loopBlocks = ir.getBasicBlocks(nloop); int blocks = 0; while (loopBlocks.hasMoreElements()) { OPT_BasicBlock b = loopBlocks.next(); blocks++; // check for size instructionsInLoop += b.getNumberOfRealInstructions(); if (instructionsInLoop > MaxInstructions) { report ("1 is too big\n"); return false;} // look at the in edges. We want the header to be the only // block with out of loop incoming edges. OPT_BasicBlockEnumeration e = b.getIn(); if (b != header) { while (e.hasMoreElements()) { OPT_BasicBlock o = e.next(); if (!OPT_CFGTransformations.inLoop (o, nloop)) { report ("2 interior pointers.\n"); return true;} } } else { // check the headers predecessors: there should be // one out of loop input and one backedge. // We can extend this for loops with several backedges, // if they all have the same conditions. int inEdges = 0; while (e.hasMoreElements()) { inEdges++; OPT_BasicBlock o = e.next(); if (!OPT_CFGTransformations.inLoop (o, nloop)) { if (predBlock == null) predBlock = o; else {report ("3 multi entry header.\n"); return true;} } else { if (backEdgeBlock == null) backEdgeBlock = o; else {report ("4 multiple back edges.\n"); return true;} } } } // look at the out edges to find loop exits e = b.getOut(); while (e.hasMoreElements()) { OPT_BasicBlock out = e.next(); if (!OPT_CFGTransformations.inLoop (out, nloop)) { if (exitBlock == null) { exitBlock = b; } else { report("5 multiple exit blocks.\n"); return true; } } } } // exitBlock must equal backEdgeBlock if (exitBlock == null) { report("6 no exit block found...infinite loop?"); return true; } if (exitBlock != backEdgeBlock) { report("7 exit block is not immediate predecessor of loop head"); return true; } // exitBlock must exit (skip over pads in critical edges) while (exitBlock.getNumberOfOut() == 1 && exitBlock.getNumberOfIn() == 1) exitBlock = exitBlock.getIn().next(); if (exitBlock == header && blocks > 1) { report("6 while loop? ("+blocks+")\n"); return true;} // So far, so good. Examine the exit test. OPT_Instruction origBranch = exitBlock.firstBranchInstruction(); if (origBranch != exitBlock.lastRealInstruction()) { OPT_Instruction aGoto = origBranch.nextInstructionInCodeOrder(); if (aGoto.operator.opcode != GOTO_opcode) { report ("7 too complex exit\n"); return true;} succBlock = Label.getBlock(Goto.getTarget(aGoto).target).block; if (VM.VerifyAssertions) VM._assert (aGoto == exitBlock.lastRealInstruction()); } else { succBlock = exitBlock.getFallThroughBlock(); } if (origBranch.operator.opcode != INT_IFCMP_opcode) { report("8 branch isn't int_ifcmp: "+origBranch.operator+".\n"); return true;} // examine operands: OPT_Operand op1 = follow(IfCmp.getVal1(origBranch)); OPT_Operand op2 = follow(IfCmp.getVal2(origBranch)); OPT_ConditionOperand cond = (OPT_ConditionOperand)IfCmp.getCond(origBranch).copy(); OPT_RegisterOperand ifcmpGuard = IfCmp.getGuardResult(origBranch); float backBranchProbability = IfCmp.getBranchProfile (origBranch).takenProbability; if (!loopInvariant (op2, nloop, 4)) { if (loopInvariant (op1, nloop, 4)) { OPT_Operand op = op1; op1 = op2; op2 = op; cond.flipOperands(); } else { if (DEBUG) { printDefs (op1, nloop, 4); printDefs (op2, nloop, 4); VM.sysWrite (""+origBranch+"\n"); } report ("8a op1 and op2 may not be loop invariant\n"); return true; } } OPT_BasicBlock target = Label.getBlock(IfCmp.getTarget(origBranch).target).block; if (!(op1 instanceof OPT_RegisterOperand)) { report ("9 op1 of ifcmp isn't a register\n"); return true;} OPT_RegisterOperand rop1 = (OPT_RegisterOperand) op1; OPT_Register reg = rop1.register; if (reg.isPhysical()) {report("10 loops over physical register\n"); return false;} if (succBlock == header && !OPT_CFGTransformations.inLoop (target, nloop)) { succBlock = target; target = header; cond.flipCode(); } if (target != header) {report("11 ifcmp doesn't jump to header\n");return true;} OPT_Instruction iterator = null; OPT_OperandEnumeration defs = new RealDefs (rop1); while (defs.hasMoreElements()) { OPT_Operand def = defs.next(); OPT_Instruction inst = def.instruction; OPT_BasicBlock block = inst.getBasicBlock(); //VM.sysWrite (""+block+": "+inst+"\n"); if (OPT_CFGTransformations.inLoop (block, nloop)) { if (iterator == null) { iterator = inst; } else {report("12 iterator not unique.\n"); return true;} } } if (iterator == null) {report ("15 iterator not found.\n"); return true;} if (iterator.operator.opcode != INT_ADD_opcode) { //dumpIR (ir, "malformed"); report ("16 iterator is no addition: "+iterator.operator+"\n"); return true;} if (!rop1.similar(follow(Binary.getVal1(iterator)))) { //dumpIR (ir, "malformed"); report ("17 malformed iterator.\n"+iterator+"\n"); return true;} OPT_Operand strideOp = follow (Binary.getVal2(iterator)); if (!(strideOp instanceof OPT_IntConstantOperand)) { report ("18 stride not constant\n"); return true;} int stride = ((OPT_IntConstantOperand)strideOp).value; if (stride != 1 && stride != -1) { report ("18b stride != +/-1 ("+stride+")\n"); return true;} if (( stride == 1 && (( cond.value != OPT_ConditionOperand.LESS) && cond.value != OPT_ConditionOperand.LESS_EQUAL && cond.value != OPT_ConditionOperand.NOT_EQUAL )) || (stride == -1 && (( cond.value != OPT_ConditionOperand.GREATER) && cond.value != OPT_ConditionOperand.GREATER_EQUAL && cond.value != OPT_ConditionOperand.NOT_EQUAL ))) { report ("19 unexpected condition: "+cond+"\n"+iterator+"\n" +origBranch+"\n\n"); return true; } OPT_RegisterOperand outerGuard; OPT_BasicBlock outer = predBlock; while (outer.getNumberOfOut() == 1 && outer.getNumberOfIn() == 1) { outer = outer.getIn().next(); } if (outer.getNumberOfIn() > 0 && outer.getNumberOfOut() < 2) { report ("23 no suitable outer guard found.\n"); return true;} tmp = outer.firstBranchInstruction(); if (tmp != null && GuardResultCarrier.conforms(tmp)) outerGuard = GuardResultCarrier.getGuardResult(tmp); else { outerGuard = ir.regpool.makeTempValidation(); } //////////// // transfom // transform this: // // Orig: // B // if i CC b goto Orig // else goto exit // // exit: // // into this: ////// stride == 1: common: stride == -1://--------------------------------------------------------------------------// guard0:// limit = b;// if a > b goto Orig if b > a goto Orig// else guard1 // // // guard 1: // remainder = b - a; remainder = a - b;// if cond == '<=' if cond == '>='// remainder++; remainder++;// remainder = remainder & 3 // limit = a + remainder limit = a - remainder// if cond == '<=' if cond == '>='// limit--; limit++;// if remainder == 0 goto mllp // goto Orig // // Orig: // LOOP; // if i CC limit goto Orig // else guard2 // // guard2: if i CC b goto mllp // else exit// // mllp: // landing pad// goto ml// // ml: // LOOP;LOOP;LOOP;LOOP; // if i CC b goto ml // else exit// // exit://-------------------------------------------------------------------------- report ("...transforming.\n"); if (DEBUG && ir.options.hasMETHOD_TO_PRINT() && ir.options.fuzzyMatchMETHOD_TO_PRINT(ir.method.toString())) dumpIR(ir, "before unroll"); OPT_CFGTransformations.killFallThroughs (ir, nloop); OPT_BasicBlock handles[] = makeSomeCopies(unrollFactor, ir, nloop, blocks, header, exitBlock, exitBlock); OPT_BasicBlock mainHeader = handles[0]; OPT_BasicBlock mainExit = handles[1]; // test block for well formed bounds OPT_BasicBlock guardBlock0 = header.createSubBlock(header.firstInstruction().bcIndex, ir); predBlock.redirectOuts (header, guardBlock0, ir); // test block for iteration alignemnt OPT_BasicBlock guardBlock1 = header.createSubBlock(header.firstInstruction().bcIndex, ir); // landing pad for orig loop OPT_BasicBlock olp = header.createSubBlock(header.firstInstruction().bcIndex, ir); olp.setLandingPad(); OPT_BasicBlock predSucc = predBlock.nextBasicBlockInCodeOrder(); if (predSucc != null) { ir.cfg.breakCodeOrder(predBlock, predSucc); ir.cfg.linkInCodeOrder(olp, predSucc); } ir.cfg.linkInCodeOrder(predBlock, guardBlock0); ir.cfg.linkInCodeOrder(guardBlock0, guardBlock1); ir.cfg.linkInCodeOrder(guardBlock1, olp); // guard block for main loop OPT_BasicBlock guardBlock2 = header.createSubBlock(header.firstInstruction().bcIndex, ir); // landing pad for main loop OPT_BasicBlock landingPad = header.createSubBlock(header.firstInstruction().bcIndex, ir); landingPad.setLandingPad(); OPT_BasicBlock mainLoop = exitBlock.nextBasicBlockInCodeOrder(); ir.cfg.breakCodeOrder (exitBlock, mainLoop); ir.cfg.linkInCodeOrder(exitBlock, guardBlock2); ir.cfg.linkInCodeOrder(guardBlock2, landingPad); ir.cfg.linkInCodeOrder(landingPad, mainLoop); OPT_RegisterOperand remainder = ir.regpool.makeTemp(rop1.type); OPT_RegisterOperand limit = ir.regpool.makeTemp(rop1.type); // test whether a <= b for stride == 1 and a >= b for stride == -1 tmp = guardBlock0.lastInstruction(); tmp.insertBefore (Move.create (INT_MOVE, limit, op2.copy())); OPT_ConditionOperand g0cond = OPT_ConditionOperand.GREATER_EQUAL(); if (stride == -1) g0cond = OPT_ConditionOperand.LESS_EQUAL(); tmp.insertBefore (IfCmp.create(INT_IFCMP, outerGuard.copyD2D(), rop1.copyD2U(), op2.copy(), g0cond, olp.makeJumpTarget(), OPT_BranchProfileOperand.unlikely())); tmp.insertBefore(Goto.create(GOTO, guardBlock1.makeJumpTarget())); // align the loop iterations tmp = guardBlock1.lastInstruction(); if (stride == 1) tmp.insertBefore (Binary.create(INT_SUB, remainder, op2.copy(), rop1.copyD2U())); else tmp.insertBefore (Binary.create(INT_SUB, remainder, rop1.copyD2U(), op2.copy())); if (cond.isGREATER_EQUAL() || cond.isLESS_EQUAL()) tmp.insertBefore (Binary.create(INT_ADD, remainder.copyD2D(), remainder.copyD2U(), new OPT_IntConstantOperand(1))); tmp.insertBefore (Binary.create(INT_ADD, remainder.copyD2D(), remainder.copyD2U(), new OPT_IntConstantOperand(-1))); tmp.insertBefore (Binary.create(INT_AND, remainder.copyD2D(), remainder.copyD2U(), new OPT_IntConstantOperand(unrollFactor-1))); tmp.insertBefore (Binary.create(INT_ADD, remainder.copyD2D(), remainder.copyD2U(), new OPT_IntConstantOperand(1))); if (stride == 1) tmp.insertBefore (Binary.create(INT_ADD, limit.copyD2U(), op1.copy(), remainder.copyD2U())); else tmp.insertBefore (Binary.create(INT_SUB, limit.copyD2U(), op1.copy(), remainder.copyD2U())); if (cond.isLESS_EQUAL()) tmp.insertBefore (Binary.create(INT_ADD, limit.copyD2D(), limit.copyD2U(), new OPT_IntConstantOperand(-1))); if (cond.isGREATER_EQUAL()) tmp.insertBefore (Binary.create(INT_ADD, limit.copyD2D(), limit.copyD2U(), new OPT_IntConstantOperand(1))); tmp.insertBefore(Goto.create(GOTO, olp.makeJumpTarget())); // build landing pad for original loop tmp = olp.lastInstruction(); tmp.insertBefore(Goto.create(GOTO, header.makeJumpTarget())); // change the back branch in the original loop deleteBranches (exitBlock); tmp = exitBlock.lastInstruction(); tmp.insertBefore (IfCmp.create (INT_IFCMP, outerGuard.copyD2D(), rop1.copyU2U(), limit.copyD2U(), (OPT_ConditionOperand) cond.copy(), header.makeJumpTarget(), new OPT_BranchProfileOperand(1.0f - 1.0f / (unrollFactor/2)))); tmp.insertBefore (Goto.create(GOTO,guardBlock2.makeJumpTarget())); // only enter main loop if iterations left tmp = guardBlock2.lastInstruction(); tmp.insertBefore (IfCmp.create (INT_IFCMP, outerGuard.copyD2D(), rop1.copyU2U(), op2.copy(), (OPT_ConditionOperand) cond.copy(), landingPad.makeJumpTarget(), new OPT_BranchProfileOperand(backBranchProbability))); tmp.insertBefore (Goto.create (GOTO, succBlock.makeJumpTarget())); // landing pad jumps to mainHeader tmp = landingPad.lastInstruction(); tmp.insertBefore (Goto.create(GOTO, mainHeader.makeJumpTarget())); // repair back edge in mainExit if (VM.VerifyAssertions) VM._assert (mainExit != null); tmp = mainExit.lastInstruction(); if (VM.VerifyAssertions) VM._assert (( mainExit.lastRealInstruction() == null) || !mainExit.lastRealInstruction().isBranch()); tmp.insertBefore (IfCmp.create (INT_IFCMP, ifcmpGuard.copyU2U(), rop1.copyU2U(), op2.copy(), (OPT_ConditionOperand) cond.copy(), mainHeader.makeJumpTarget(), new OPT_BranchProfileOperand(1.0f - (1.0f-backBranchProbability) * unrollFactor))); tmp.insertBefore (Goto.create (GOTO, succBlock.makeJumpTarget())); // recompute normal outs guardBlock0.recomputeNormalOut(ir); guardBlock1.recomputeNormalOut(ir); olp.recomputeNormalOut(ir); guardBlock2.recomputeNormalOut(ir); exitBlock.recomputeNormalOut(ir); landingPad.recomputeNormalOut(ir); mainExit.recomputeNormalOut(ir); if (DEBUG && ir.options.hasMETHOD_TO_PRINT() && ir.options.fuzzyMatchMETHOD_TO_PRINT(ir.method.toString())) dumpIR(ir, "after unroll"); return false; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/e69939608f9f07e424451ab4aa648ab73908ef49/OPT_LoopUnrolling.java/clean/rvm/src/vm/compilers/optimizing/optimizations/control/OPT_LoopUnrolling.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1250, 640, 2693, 9858, 12, 15620, 67, 48, 882, 907, 268, 16, 16456, 67, 7937, 9482, 13, 288, 565, 509, 12509, 382, 6452, 273, 374, 31, 565, 16456, 67, 8252, 1768, 2427, 1768, 273, 446, 16, 1473, 6098, 1768, 273, 446, 16, 21043, 1768, 273, 446, 16, 3479, 1768, 273, 446, 31, 565, 16456, 67, 5775, 5018, 290, 6498, 273, 268, 18, 6498, 31, 565, 16456, 67, 8252, 1768, 1446, 273, 268, 18, 3374, 31, 565, 16456, 67, 11983, 1853, 31, 3639, 309, 261, 481, 18, 5332, 26136, 429, 503, 6919, 10756, 95, 1377, 2605, 7566, 20, 15908, 2026, 1240, 1520, 4919, 64, 82, 8863, 327, 629, 31, 97, 565, 368, 4199, 2798, 3695, 635, 7849, 622, 2097, 4398, 565, 16456, 67, 8252, 1768, 21847, 2798, 6450, 273, 9482, 18, 588, 8252, 6450, 12, 82, 6498, 1769, 565, 509, 4398, 273, 374, 31, 565, 1323, 261, 6498, 6450, 18, 5332, 7417, 3471, 10756, 288, 1377, 16456, 67, 8252, 1768, 324, 273, 2798, 6450, 18, 4285, 5621, 1377, 4398, 9904, 31, 5411, 368, 866, 364, 963, 1377, 12509, 382, 6452, 1011, 324, 18, 588, 9226, 6955, 26712, 5621, 1377, 309, 261, 25758, 382, 6452, 405, 4238, 26712, 13, 288, 3639, 2605, 7566, 21, 353, 4885, 5446, 64, 82, 8863, 327, 629, 31, 97, 1377, 368, 2324, 622, 326, 316, 5231, 18, 1660, 2545, 326, 1446, 358, 506, 326, 1338, 1377, 368, 1203, 598, 596, 434, 2798, 6935, 5231, 18, 1377, 16456, 67, 8252, 1768, 21847, 425, 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, 282, 1250, 640, 2693, 9858, 12, 15620, 67, 48, 882, 907, 268, 16, 16456, 67, 7937, 9482, 13, 288, 565, 509, 12509, 382, 6452, 273, 374, 31, 565, 16456, 67, 8252, 1768, 2427, 1768, 273, 446, 16, 1473, 6098, 1768, 273, 446, 16, 21043, 1768, 273, 446, 16, 3479, 1768, 273, 446, 31, 565, 16456, 67, 5775, 5018, 290, 6498, 273, 268, 18, 6498, 31, 565, 16456, 67, 8252, 1768, 1446, 273, 268, 18, 3374, 31, 565, 16456, 67, 11983, 1853, 31, 3639, 309, 261, 481, 18, 5332, 26136, 429, 503, 6919, 10756, 95, 1377, 2605, 7566, 20, 15908, 2026, 1240, 1520, 4919, 64, 82, 8863, 327, 629, 31, 97, 565, 368, 4199, 2798, 3695, 635, 7849, 622, 2097, 2 ]
out .println("<table cellpadding=6><tr><th class=\"standard\">File</th>");
out.println("<table cellpadding=6><tr><th class=\"standard\">" + LocaleSupport.getLocalizedMessage(pageContext, "org.dspace.app.webui.jsptag.ItemTag.file") + "</th>");
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(UIUtil.encodeBitstreamName(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 + UIUtil.encodeBitstreamName( 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() + "/" + UIUtil.encodeBitstreamName(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>"); }
25205 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25205/22d85d1df34eed227975b6e94ba17893121fac13/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 ]
throw new TypeError(getRuntime(), "duplicated object must be same type");
throw getRuntime().newTypeError("duplicated object must be same type");
public IRubyObject dup() { IRubyObject dup = callMethod("clone"); if (!dup.getClass().equals(getClass())) { throw new TypeError(getRuntime(), "duplicated object must be same type"); } dup.setMetaClass(type()); dup.setFrozen(false); return dup; }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyObject.java/clean/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 9417, 1435, 288, 3639, 15908, 10340, 921, 9417, 273, 745, 1305, 2932, 14056, 8863, 3639, 309, 16051, 26427, 18, 588, 797, 7675, 14963, 12, 588, 797, 1435, 3719, 288, 5411, 604, 18814, 7675, 2704, 19030, 2932, 12262, 690, 733, 1297, 506, 1967, 618, 8863, 3639, 289, 3639, 9417, 18, 542, 2781, 797, 12, 723, 10663, 3639, 9417, 18, 542, 42, 9808, 12, 5743, 1769, 3639, 327, 9417, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 9417, 1435, 288, 3639, 15908, 10340, 921, 9417, 273, 745, 1305, 2932, 14056, 8863, 3639, 309, 16051, 26427, 18, 588, 797, 7675, 14963, 12, 588, 797, 1435, 3719, 288, 5411, 604, 18814, 7675, 2704, 19030, 2932, 12262, 690, 733, 1297, 506, 1967, 618, 8863, 3639, 289, 3639, 9417, 18, 542, 2781, 797, 12, 723, 10663, 3639, 9417, 18, 542, 42, 9808, 12, 5743, 1769, 3639, 327, 9417, 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 ]
Message[] msgs = new Message[unreadData.size()]; int i = 0;
List<Message> msgs = new ArrayList<Message>(unreadData.size());
Message[] getUnreadMessages() throws ServiceException { List<UnderlyingData> unreadData = DbMailItem.getUnreadMessages(this); if (unreadData == null) return null; Message[] msgs = new Message[unreadData.size()]; int i = 0; for (UnderlyingData data : unreadData) msgs[i] = mMailbox.getMessage(data); return msgs; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/1bdb2b478f9aa222e9547adccdf88927e95edb53/Conversation.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/Conversation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 2350, 8526, 10833, 896, 5058, 1435, 1216, 16489, 288, 3639, 987, 32, 14655, 6291, 751, 34, 19541, 751, 273, 8408, 6759, 1180, 18, 588, 984, 896, 5058, 12, 2211, 1769, 3639, 309, 261, 318, 896, 751, 422, 446, 13, 5411, 327, 446, 31, 3639, 2350, 8526, 8733, 273, 394, 2350, 63, 318, 896, 751, 18, 1467, 1435, 15533, 3639, 509, 277, 273, 374, 31, 3639, 364, 261, 14655, 6291, 751, 501, 294, 19541, 751, 13, 5411, 8733, 63, 77, 65, 273, 312, 30239, 18, 24906, 12, 892, 1769, 3639, 327, 8733, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 2350, 8526, 10833, 896, 5058, 1435, 1216, 16489, 288, 3639, 987, 32, 14655, 6291, 751, 34, 19541, 751, 273, 8408, 6759, 1180, 18, 588, 984, 896, 5058, 12, 2211, 1769, 3639, 309, 261, 318, 896, 751, 422, 446, 13, 5411, 327, 446, 31, 3639, 2350, 8526, 8733, 273, 394, 2350, 63, 318, 896, 751, 18, 1467, 1435, 15533, 3639, 509, 277, 273, 374, 31, 3639, 364, 261, 14655, 6291, 751, 501, 294, 19541, 751, 13, 5411, 8733, 63, 77, 65, 273, 312, 30239, 18, 24906, 12, 892, 1769, 3639, 327, 8733, 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 ]
if (property instanceof IAction) return (IAction)property;
if (property instanceof IAction) { return (IAction)property; }
private IAction getGotoAction() { Object property = selectedError.getJob().getProperty(IProgressConstants.ACTION_PROPERTY); if (property instanceof IAction) return (IAction)property; return null; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/JobErrorDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobErrorDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 467, 1803, 7162, 6302, 1803, 1435, 288, 3639, 1033, 1272, 273, 3170, 668, 18, 588, 2278, 7675, 588, 1396, 12, 45, 5491, 2918, 18, 12249, 67, 9900, 1769, 3639, 309, 261, 4468, 1276, 467, 1803, 13, 5411, 327, 261, 45, 1803, 13, 4468, 31, 3639, 327, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 467, 1803, 7162, 6302, 1803, 1435, 288, 3639, 1033, 1272, 273, 3170, 668, 18, 588, 2278, 7675, 588, 1396, 12, 45, 5491, 2918, 18, 12249, 67, 9900, 1769, 3639, 309, 261, 4468, 1276, 467, 1803, 13, 5411, 327, 261, 45, 1803, 13, 4468, 31, 3639, 327, 446, 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 ]
return "[a-z][A-Za-z]*"; }
return "[a-z][A-Za-z]*"; }
protected String getDefaultRegex() { return "[a-z][A-Za-z]*"; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/99336f1791510cfcd3ff200df94a9d442cbf8ed8/InstanceMethodNamingConventionInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/naming/InstanceMethodNamingConventionInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 514, 4829, 6628, 1435, 288, 565, 327, 5158, 69, 17, 94, 6362, 37, 17, 15948, 17, 94, 5772, 14432, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 514, 4829, 6628, 1435, 288, 565, 327, 5158, 69, 17, 94, 6362, 37, 17, 15948, 17, 94, 5772, 14432, 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 ]
if (ContractBean.PROPERTY_ID_ATTRIBUTE.equals(localName))
if (ContractBean.PROPERTY_ID_ATTRIBUTE.equals(localName))
private void propertyProcessingStart(String uri, String name, String raw, Attributes attr) throws SAXException { for (int i = 0; i < attr.getLength(); i++) { String localName = attr.getLocalName(i); String value = attr.getValue(i); if (ContractBean.PROPERTY_ID_ATTRIBUTE.equals(localName)) this.propertyID = value; } if (this.propertyID.equals("") | this.propertyID == null) { String error = "dispatcherError: " + DispatcherException.ERROR_500 + "\n" + "The contract \"" + contract.getContractName() + "\" has no identifier attribute \"" + ContractBean.PROPERTY_ID_ATTRIBUTE + "\" in the " + raw; getLogger().error(error); throw new SAXException(error); } this.builder = new DOMBuilder(); this.builder.startDocument(); launchStoredMappings(); this.builder.startElement(uri, name, raw, attr); }
6140 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6140/6d6524b5db591cbf723bf7b6da8316b1b446826e/DispatcherTransformer.java/clean/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1272, 7798, 1685, 12, 780, 2003, 16, 514, 508, 16, 514, 1831, 16, 5411, 9055, 1604, 13, 1216, 14366, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1604, 18, 588, 1782, 5621, 277, 27245, 288, 5411, 514, 11927, 273, 1604, 18, 588, 29583, 12, 77, 1769, 5411, 514, 460, 273, 1604, 18, 24805, 12, 77, 1769, 5411, 309, 261, 8924, 3381, 18, 9900, 67, 734, 67, 11616, 18, 14963, 12, 3729, 461, 3719, 1171, 333, 18, 4468, 734, 273, 460, 31, 3639, 289, 3639, 309, 261, 2211, 18, 4468, 734, 18, 14963, 2932, 7923, 571, 333, 18, 4468, 734, 422, 446, 13, 288, 5411, 514, 555, 273, 315, 18495, 668, 30, 315, 397, 16710, 503, 18, 3589, 67, 12483, 10792, 397, 1548, 82, 6, 397, 315, 1986, 6835, 11843, 397, 6835, 18, 588, 8924, 461, 1435, 10792, 397, 7023, 711, 1158, 2756, 1566, 11843, 10792, 397, 13456, 3381, 18, 9900, 67, 734, 67, 11616, 397, 7023, 316, 326, 315, 397, 1831, 31, 5411, 7156, 7675, 1636, 12, 1636, 1769, 5411, 604, 394, 14366, 12, 1636, 1769, 3639, 289, 3639, 333, 18, 9574, 273, 394, 4703, 1263, 5621, 3639, 333, 18, 9574, 18, 1937, 2519, 5621, 3639, 8037, 18005, 7742, 5621, 3639, 333, 18, 9574, 18, 1937, 1046, 12, 1650, 16, 508, 16, 1831, 16, 1604, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 918, 1272, 7798, 1685, 12, 780, 2003, 16, 514, 508, 16, 514, 1831, 16, 5411, 9055, 1604, 13, 1216, 14366, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1604, 18, 588, 1782, 5621, 277, 27245, 288, 5411, 514, 11927, 273, 1604, 18, 588, 29583, 12, 77, 1769, 5411, 514, 460, 273, 1604, 18, 24805, 12, 77, 1769, 5411, 309, 261, 8924, 3381, 18, 9900, 67, 734, 67, 11616, 18, 14963, 12, 3729, 461, 3719, 1171, 333, 18, 4468, 734, 273, 460, 31, 3639, 289, 3639, 309, 261, 2211, 18, 4468, 734, 18, 14963, 2932, 7923, 571, 333, 18, 4468, 734, 422, 446, 13, 288, 5411, 514, 555, 273, 315, 18495, 668, 30, 315, 397, 2 ]
useThouSep = false, fillFromRight = true;
useThouSep = false, fillFromRight = true;
private String parseFormatString( String formatString, Vector alternateFormatsVector) { // Where we are in a numeric format. int numberState = NOT_IN_A_NUMBER; String ignored = "", prevIgnored = null; boolean haveSeenNumber = false; int digitsLeftOfPoint = 0, digitsRightOfPoint = 0, digitsRightOfExp = 0, zeroesLeftOfPoint = 0, zeroesRightOfPoint = 0, zeroesRightOfExp = 0; int stringCase = CASE_ASIS; boolean useDecimal = false, useThouSep = false, fillFromRight = true; /** Whether to print numbers in decimal or exponential format. Valid * values are FORMAT_NULL, FORMAT_E_PLUS_LOWER, FORMAT_E_MINUS_LOWER, * FORMAT_E_PLUS_UPPER, FORMAT_E_MINUS_UPPER. */ int expFormat = FORMAT_NULL; // todo: Parse the string for ;s // Look for the format string in the table of named formats. for (int i = 0; i < macroTokens.length; i++) { if (formatString.equals(macroTokens[i].name)) { if (macroTokens[i].translation == null) { // this macro requires special-case code if (macroTokens[i].name.equals("Currency")) { // e.g. "$#,##0.00;($#,##0.00)" formatString = locale.currencyFormat + ";(" + locale.currencyFormat + ")"; } else { throw new Error( "Format: internal: token " + macroTokens[i].name + " should have translation"); } } else { formatString = macroTokens[i].translation; } break; } } // Add a semi-colon to the end of the string so the end of the string // looks like the end of an alternate. if (!formatString.endsWith(";")) { formatString = formatString + ";"; } // Scan through the format string for format elements. Vector formatsVector = new Vector();loop: while (formatString.length() > 0) { BasicFormat format = null; String newFormatString = null; boolean ignoreToken = false; for (int i = tokens.length - 1; i > 0; i--) { Token token = tokens[i]; if (formatString.startsWith(token.token)) { // Derive the string we will be looking at next time // around, by chewing the token off the front of the // string. Special-case code below can change this string, // if it likes. String matched = token.token; newFormatString = formatString.substring(matched.length()); if (token.isSpecial()) { switch (token.code) { case FORMAT_SEMI: formatString = newFormatString; break loop; case FORMAT_POUND: switch (numberState) { case NOT_IN_A_NUMBER: numberState = LEFT_OF_POINT; // fall through case LEFT_OF_POINT: digitsLeftOfPoint++; break; case RIGHT_OF_POINT: digitsRightOfPoint++; break; case RIGHT_OF_EXP: digitsRightOfExp++; break; default: throw new Error(); } break; case FORMAT_0: switch (numberState) { case NOT_IN_A_NUMBER: numberState = LEFT_OF_POINT; // fall through case LEFT_OF_POINT: zeroesLeftOfPoint++; break; case RIGHT_OF_POINT: zeroesRightOfPoint++; break; case RIGHT_OF_EXP: zeroesRightOfExp++; break; default: throw new Error(); } break; case FORMAT_M: case FORMAT_MM: { // "m" and "mm" mean minute if immediately after // "h" or "hh"; month otherwise. boolean theyMeantMinute = false; int j = formatsVector.size() - 1; while (j >= 0) { BasicFormat prevFormat = (BasicFormat) formatsVector.elementAt(j); if (prevFormat instanceof LiteralFormat) { // ignore boilerplate j--; } else if (prevFormat.code == FORMAT_H || prevFormat.code == FORMAT_HH) { theyMeantMinute = true; break; } else { theyMeantMinute = false; break; } } if (theyMeantMinute) { format = new DateFormat( (token.code == FORMAT_M ? FORMAT_N : FORMAT_NN), matched, locale, false); } else { format = token.makeFormat(locale); } break; } case FORMAT_DECIMAL: { numberState = RIGHT_OF_POINT; useDecimal = true; break; } case FORMAT_THOUSEP: { if (numberState == LEFT_OF_POINT) { // e.g. "#,##" useThouSep = true; } else { // e.g. "ddd, mmm dd, yyy" format = token.makeFormat(locale); } break; } case FORMAT_TIMESEP: { format = new LiteralFormat(locale.timeSeparator); break; } case FORMAT_DATESEP: { format = new LiteralFormat(locale.dateSeparator); break; } case FORMAT_BACKSLASH: { // Display the next character in the format string. String s = ""; if (formatString.length() == 1) { // Backslash is the last character in the // string. s = ""; newFormatString = ""; } else { s = formatString.substring(1,2); newFormatString = formatString.substring(2); } format = new LiteralFormat(s); break; } case FORMAT_E_MINUS_UPPER: case FORMAT_E_PLUS_UPPER: case FORMAT_E_MINUS_LOWER: case FORMAT_E_PLUS_LOWER: { numberState = RIGHT_OF_EXP; expFormat = token.code; if (zeroesLeftOfPoint == 0 && zeroesRightOfPoint == 0) { // We need a mantissa, so that format(123.45, // "E+") gives "1E+2", not "0E+2" or "E+2". zeroesLeftOfPoint = 1; } break; } case FORMAT_QUOTE: { // Display the string inside the double quotation // marks. String s; int j = formatString.indexOf("\"", 1); if (j == -1) { // The string did not contain a closing quote. // Use the whole string. s = formatString.substring(1); newFormatString = ""; } else { // Take the string inside the quotes. s = formatString.substring(1, j); newFormatString = formatString.substring( j + 1); } format = new LiteralFormat(s); break; } case FORMAT_UPPER: { stringCase = CASE_UPPER; break; } case FORMAT_LOWER: { stringCase = CASE_LOWER; break; } case FORMAT_FILL_FROM_LEFT: { fillFromRight = false; break; } case FORMAT_GENERAL_NUMBER: { format = new JavaFormat(); break; } case FORMAT_GENERAL_DATE: { format = new JavaFormat(); break; } case FORMAT_INTL_CURRENCY: { format = new LiteralFormat(locale.currencySymbol); break; } default: throw new Error(); } if (format == null) { // If the special-case code does not set format, // we should not create a format element. (The // token probably caused some flag to be set.) ignoreToken = true; ignored += matched; } else { prevIgnored = ignored; ignored = ""; } } else { format = token.makeFormat(locale); } break; } } if (format == null && !ignoreToken) { // None of the standard format elements matched. Make the // current character into a literal. format = new LiteralFormat( formatString.substring(0,1)); newFormatString = formatString.substring(1); } if (format != null) { if (numberState != NOT_IN_A_NUMBER) { // Having seen a few number tokens, we're looking at a // non-number token. Create the number first. NumericFormat numericFormat = new NumericFormat( prevIgnored, locale, expFormat, digitsLeftOfPoint, zeroesLeftOfPoint, digitsRightOfPoint, zeroesRightOfPoint, digitsRightOfExp, zeroesRightOfExp, useDecimal, useThouSep); formatsVector.addElement(numericFormat); numberState = NOT_IN_A_NUMBER; haveSeenNumber = true; } formatsVector.addElement(format); } formatString = newFormatString; } if (numberState != NOT_IN_A_NUMBER) { // We're still in a number. Create a number format. NumericFormat numericFormat = new NumericFormat( prevIgnored, locale, expFormat, digitsLeftOfPoint, zeroesLeftOfPoint, digitsRightOfPoint, zeroesRightOfPoint, digitsRightOfExp, zeroesRightOfExp, useDecimal, useThouSep); formatsVector.addElement(numericFormat); numberState = NOT_IN_A_NUMBER; haveSeenNumber = true; } // The is the end of an alternate - or of the whole format string. // Push the current list of formats onto the list of alternates. BasicFormat[] formats = new BasicFormat[formatsVector.size()]; formatsVector.copyInto(formats); // If they used some symbol like 'AM/PM' in the format string, tell all // date formats to use twelve hour clock. Likewise, figure out the // multiplier implied by their use of "%" or ",". boolean twelveHourClock = false; int decimalShift = 0; for (int i = 0; i < formats.length; i++) { switch (formats[i].code) { case FORMAT_UPPER_AM_SOLIDUS_PM: case FORMAT_LOWER_AM_SOLIDUS_PM: case FORMAT_UPPER_A_SOLIDUS_P: case FORMAT_LOWER_A_SOLIDUS_P: case FORMAT_AMPM: twelveHourClock = true; break; case FORMAT_PERCENT: // If "%" occurs, the number should be multiplied by 100. decimalShift += 2; break; case FORMAT_THOUSEP: // If there is a thousands separator (",") immediately to the // left of the point, or at the end of the number, divide the // number by 1000. (Or by 1000^n if there are more than one.) if (haveSeenNumber && i + 1 < formats.length && formats[i + 1].code != FORMAT_THOUSEP && formats[i + 1].code != FORMAT_0 && formats[i + 1].code != FORMAT_POUND) { for (int j = i; j >= 0 && formats[j].code == FORMAT_THOUSEP; j--) { decimalShift -= 3; formats[j] = new LiteralFormat(""); // ignore } } break; default: } } if (twelveHourClock) { for (int i = 0; i < formats.length; i++) { if (formats[i] instanceof DateFormat) { ((DateFormat) formats[i]).setTwelveHourClock(true); } } } if (decimalShift != 0) { for (int i = 0; i < formats.length; i++) { if (formats[i] instanceof NumericFormat) { ((NumericFormat) formats[i]).decimalShift = decimalShift; } } } // Create a CompoundFormat containing all of the format elements. BasicFormat alternateFormat = formats.length > 0 ? new CompoundFormat(formats) : null; alternateFormatsVector.addElement(alternateFormat); return formatString; }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/8e013641bda80bdee1cf75aedaf4e5e30c10ffab/Format.java/clean/src/main/mondrian/util/Format.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 1109, 1630, 780, 12, 202, 202, 780, 27107, 16, 5589, 12184, 8976, 5018, 13, 202, 95, 202, 202, 759, 12177, 732, 854, 316, 279, 6389, 740, 18, 202, 202, 474, 1300, 1119, 273, 4269, 67, 706, 67, 37, 67, 9931, 31, 202, 202, 780, 5455, 273, 23453, 2807, 15596, 273, 446, 31, 202, 202, 6494, 1240, 15160, 1854, 273, 629, 31, 202, 202, 474, 6815, 3910, 951, 2148, 273, 374, 16, 1082, 202, 16649, 4726, 951, 2148, 273, 374, 16, 1082, 202, 16649, 4726, 951, 2966, 273, 374, 16, 1082, 202, 7124, 281, 3910, 951, 2148, 273, 374, 16, 1082, 202, 7124, 281, 4726, 951, 2148, 273, 374, 16, 1082, 202, 7124, 281, 4726, 951, 2966, 273, 374, 31, 202, 202, 474, 533, 2449, 273, 18403, 67, 37, 15664, 31, 202, 202, 6494, 999, 5749, 273, 629, 16, 1082, 202, 1202, 1315, 1395, 5097, 273, 629, 16, 1082, 202, 5935, 1265, 4726, 273, 638, 31, 202, 202, 26873, 17403, 358, 1172, 5600, 316, 6970, 578, 21774, 740, 18, 225, 2364, 1082, 380, 924, 854, 10449, 67, 8560, 16, 10449, 67, 41, 67, 6253, 3378, 67, 23085, 16, 10449, 67, 41, 67, 6236, 3378, 67, 23085, 16, 1082, 380, 10449, 67, 41, 67, 6253, 3378, 67, 31725, 16, 10449, 67, 41, 67, 6236, 3378, 67, 31725, 18, 1195, 202, 202, 474, 1329, 1630, 273, 10449, 67, 8560, 31, 202, 202, 759, 10621, 30, 2884, 326, 533, 364, 274, 87, 202, 202, 759, 10176, 364, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 1109, 1630, 780, 12, 202, 202, 780, 27107, 16, 5589, 12184, 8976, 5018, 13, 202, 95, 202, 202, 759, 12177, 732, 854, 316, 279, 6389, 740, 18, 202, 202, 474, 1300, 1119, 273, 4269, 67, 706, 67, 37, 67, 9931, 31, 202, 202, 780, 5455, 273, 23453, 2807, 15596, 273, 446, 31, 202, 202, 6494, 1240, 15160, 1854, 273, 629, 31, 202, 202, 474, 6815, 3910, 951, 2148, 273, 374, 16, 1082, 202, 16649, 4726, 951, 2148, 273, 374, 16, 1082, 202, 16649, 4726, 951, 2966, 273, 374, 16, 1082, 202, 7124, 281, 3910, 951, 2148, 273, 374, 16, 1082, 202, 7124, 281, 4726, 951, 2148, 273, 374, 16, 1082, 202, 7124, 281, 4726, 951, 2 ]
TestLightweightDecoratorContributor.contributor.refreshListeners(testFile);
public void testRefreshLightContributor() throws CoreException { updated = false; lightDefinition.setEnabled(true); fullDefinition.setEnabled(false); getDecoratorManager().reset(); TestLightweightDecoratorContributor.contributor.refreshListeners(testFile); assertTrue("Got an update", updated); updated = false; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/794978835e0f2fd524ba4dc9ceb19ebfe835cec7/AdaptableDecoratorTestCase.java/buggy/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/adaptable/AdaptableDecoratorTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 8323, 12128, 442, 19293, 1435, 1216, 30015, 288, 202, 202, 7007, 273, 629, 31, 202, 202, 5099, 1852, 18, 542, 1526, 12, 3767, 1769, 202, 202, 2854, 1852, 18, 542, 1526, 12, 5743, 1769, 202, 202, 588, 10361, 1318, 7675, 6208, 5621, 202, 202, 4709, 12128, 4865, 10361, 442, 19293, 18, 591, 19293, 18, 9144, 5583, 12, 3813, 812, 1769, 202, 202, 11231, 5510, 2932, 15617, 392, 1089, 3113, 3526, 1769, 202, 202, 7007, 273, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 8323, 12128, 442, 19293, 1435, 1216, 30015, 288, 202, 202, 7007, 273, 629, 31, 202, 202, 5099, 1852, 18, 542, 1526, 12, 3767, 1769, 202, 202, 2854, 1852, 18, 542, 1526, 12, 5743, 1769, 202, 202, 588, 10361, 1318, 7675, 6208, 5621, 202, 202, 4709, 12128, 4865, 10361, 442, 19293, 18, 591, 19293, 18, 9144, 5583, 12, 3813, 812, 1769, 202, 202, 11231, 5510, 2932, 15617, 392, 1089, 3113, 3526, 1769, 202, 202, 7007, 273, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
menuService.addSourceProvider(actionSetSourceProvider);
private final void initializeDefaultServices() { /* * Phase 1 of the initialization of commands. When this phase completes, * all the services and managers will exist, and be accessible via the * getService(Object) method. */ Command.DEBUG_COMMAND_EXECUTION = Policy.DEBUG_COMMANDS; commandManager = new CommandManager(); final CommandService commandService = new CommandService(commandManager); commandService.readRegistry(); serviceLocator.registerService(ICommandService.class, commandService); ContextManager.DEBUG = Policy.DEBUG_CONTEXTS; contextManager = new ContextManager(); final IContextService contextService = new ContextService( contextManager); contextService.readRegistry(); serviceLocator.registerService(IContextService.class, contextService); final IHandlerService handlerService = new HandlerService( commandService); handlerService.readRegistry(); serviceLocator.registerService(IHandlerService.class, handlerService); BindingManager.DEBUG = Policy.DEBUG_KEY_BINDINGS; bindingManager = new BindingManager(contextManager, commandManager); final IBindingService bindingService = new BindingService( bindingManager, commandService, this); bindingService.readRegistryAndPreferences(commandService); serviceLocator.registerService(IBindingService.class, bindingService); final CommandImageManager commandImageManager = new CommandImageManager(); final CommandImageService commandImageService = new CommandImageService( commandImageManager, commandService); commandImageService.readRegistry(); serviceLocator.registerService(ICommandImageService.class, commandImageService); final SMenuManager menuManager = new SMenuManager(); final IMenuService menuService = new WorkbenchMenuService(menuManager, commandService); menuService.readRegistry(); serviceLocator.registerService(IMenuService.class, menuService); /* * Phase 2 of the initialization of commands. The source providers that * the workbench provides are creating and registered with the above * services. These source providers notify the services when particular * pieces of workbench state change. */ final ISourceProviderService sourceProviderService = new SourceProviderService(); serviceLocator.registerService(ISourceProviderService.class, sourceProviderService); final ActiveShellSourceProvider activeShellSourceProvider = new ActiveShellSourceProvider( this); handlerService.addSourceProvider(activeShellSourceProvider); contextService.addSourceProvider(activeShellSourceProvider); menuService.addSourceProvider(activeShellSourceProvider); sourceProviderService.registerProvider(activeShellSourceProvider); final ActivePartSourceProvider activePartSourceProvider = new ActivePartSourceProvider( this); handlerService.addSourceProvider(activePartSourceProvider); contextService.addSourceProvider(activePartSourceProvider); menuService.addSourceProvider(activePartSourceProvider); sourceProviderService.registerProvider(activePartSourceProvider); final ActiveContextSourceProvider activeContextSourceProvider = new ActiveContextSourceProvider( contextService); handlerService.addSourceProvider(activeContextSourceProvider); menuService.addSourceProvider(activeContextSourceProvider); sourceProviderService.registerProvider(activeContextSourceProvider); final CurrentSelectionSourceProvider currentSelectionSourceProvider = new CurrentSelectionSourceProvider( this); handlerService.addSourceProvider(currentSelectionSourceProvider); contextService.addSourceProvider(currentSelectionSourceProvider); menuService.addSourceProvider(currentSelectionSourceProvider); sourceProviderService.registerProvider(currentSelectionSourceProvider); actionSetSourceProvider = new ActionSetSourceProvider(); handlerService.addSourceProvider(actionSetSourceProvider); contextService.addSourceProvider(actionSetSourceProvider); menuService.addSourceProvider(actionSetSourceProvider); sourceProviderService.registerProvider(actionSetSourceProvider); menuSourceProvider = new MenuSourceProvider(); handlerService.addSourceProvider(menuSourceProvider); contextService.addSourceProvider(menuSourceProvider); menuService.addSourceProvider(menuSourceProvider); sourceProviderService.registerProvider(menuSourceProvider); /* * Phase 3 of the initialization of commands. This handles the creation * of wrappers for legacy APIs. By the time this phase completes, any * code trying to access commands through legacy APIs should work. */ final LegacyActionPersistence deprecatedSupport = new LegacyActionPersistence( this); serviceLocator.registerService(LegacyActionPersistence.class, deprecatedSupport); deprecatedSupport.read(); workbenchContextSupport = new WorkbenchContextSupport(this, contextManager); workbenchCommandSupport = new WorkbenchCommandSupport(bindingManager, commandManager, contextManager, handlerService); initializeCommandResolver(); addWindowListener(windowListener); bindingManager.addBindingManagerListener(bindingManagerListener); serviceLocator.registerService(ISelectionConversionService.class, new SelectionConversionService()); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/78fced32eb387dec638f730ce4ae7b7f8a68cc16/Workbench.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 918, 4046, 1868, 5676, 1435, 288, 202, 202, 20308, 1082, 380, 19459, 404, 434, 326, 10313, 434, 4364, 18, 5203, 333, 6855, 7218, 16, 1082, 380, 777, 326, 4028, 471, 21103, 903, 1005, 16, 471, 506, 12718, 3970, 326, 1082, 380, 6373, 12, 921, 13, 707, 18, 1082, 1195, 202, 202, 2189, 18, 9394, 67, 19104, 67, 15271, 13269, 273, 7436, 18, 9394, 67, 4208, 9560, 3948, 31, 202, 202, 3076, 1318, 273, 394, 3498, 1318, 5621, 202, 202, 6385, 3498, 1179, 1296, 1179, 273, 394, 3498, 1179, 12, 3076, 1318, 1769, 202, 202, 3076, 1179, 18, 896, 4243, 5621, 202, 202, 3278, 5786, 18, 4861, 1179, 12, 45, 2189, 1179, 18, 1106, 16, 1296, 1179, 1769, 202, 202, 1042, 1318, 18, 9394, 273, 7436, 18, 9394, 67, 13181, 55, 31, 202, 202, 2472, 1318, 273, 394, 1772, 1318, 5621, 202, 202, 6385, 467, 1042, 1179, 819, 1179, 273, 394, 1772, 1179, 12, 9506, 202, 2472, 1318, 1769, 202, 202, 2472, 1179, 18, 896, 4243, 5621, 202, 202, 3278, 5786, 18, 4861, 1179, 12, 45, 1042, 1179, 18, 1106, 16, 819, 1179, 1769, 202, 202, 6385, 467, 1503, 1179, 1838, 1179, 273, 394, 4663, 1179, 12, 9506, 202, 3076, 1179, 1769, 202, 202, 4176, 1179, 18, 896, 4243, 5621, 202, 202, 3278, 5786, 18, 4861, 1179, 12, 45, 1503, 1179, 18, 1106, 16, 1838, 1179, 1769, 202, 202, 5250, 1318, 18, 9394, 273, 7436, 18, 9394, 67, 3297, 67, 2739, 55, 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, 1152, 727, 918, 4046, 1868, 5676, 1435, 288, 202, 202, 20308, 1082, 380, 19459, 404, 434, 326, 10313, 434, 4364, 18, 5203, 333, 6855, 7218, 16, 1082, 380, 777, 326, 4028, 471, 21103, 903, 1005, 16, 471, 506, 12718, 3970, 326, 1082, 380, 6373, 12, 921, 13, 707, 18, 1082, 1195, 202, 202, 2189, 18, 9394, 67, 19104, 67, 15271, 13269, 273, 7436, 18, 9394, 67, 4208, 9560, 3948, 31, 202, 202, 3076, 1318, 273, 394, 3498, 1318, 5621, 202, 202, 6385, 3498, 1179, 1296, 1179, 273, 394, 3498, 1179, 12, 3076, 1318, 1769, 202, 202, 3076, 1179, 18, 896, 4243, 5621, 202, 202, 3278, 5786, 18, 4861, 1179, 12, 45, 2189, 1179, 18, 1106, 16, 1296, 2 ]
DRDAStatement stmt = database.getDRDAStatement(pkgnamcsn); if (stmt == null) { invalidValue(CodePoint.PKGNAMCSN); }
DRDAStatement stmt = database.getDRDAStatement(pkgnamcsn); if (stmt == null) { invalidValue(CodePoint.PKGNAMCSN); }
private DRDAStatement parseCLSQRY() throws DRDAProtocolException, SQLException { Pkgnamcsn pkgnamcsn = null; reader.markCollection(); long qryinsid = 0; boolean gotQryinsid = false; int codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { // optional case CodePoint.RDBNAM: setDatabase(CodePoint.CLSQRY); break; // required case CodePoint.PKGNAMCSN: pkgnamcsn = parsePKGNAMCSN(); break; case CodePoint.QRYINSID: qryinsid = reader.readNetworkLong(); gotQryinsid = true; break; // optional case CodePoint.MONITOR: parseMONITOR(); break; default: invalidCodePoint(codePoint); } codePoint = reader.getCodePoint(); } // check for required variables if (pkgnamcsn == null) missingCodePoint(CodePoint.PKGNAMCSN); if (sqlamLevel >= MGRLVL_7 && !gotQryinsid) missingCodePoint(CodePoint.QRYINSID); DRDAStatement stmt = database.getDRDAStatement(pkgnamcsn); if (stmt == null) { //XXX should really throw a SQL Exception here invalidValue(CodePoint.PKGNAMCSN); } if (stmt.wasExplicitlyClosed()) { // JCC still sends a CLSQRY even though we have // implicitly closed the resultSet. // Then complains if we send the writeQRYNOPRM // So for now don't send it // Also metadata calls seem to get bound to the same // PGKNAMCSN, so even for explicit closes we have // to ignore. //writeQRYNOPRM(CodePoint.SVRCOD_ERROR); pkgnamcsn = null; } stmt.CLSQRY(); return stmt; }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/9ab36fe5be3632bbd1703a025618a585f0db4a57/DRDAConnThread.java/buggy/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 16801, 9793, 3406, 1109, 39, 3045, 53, 9590, 1435, 1216, 16801, 9793, 5752, 503, 16, 6483, 202, 95, 202, 202, 7789, 1600, 301, 2143, 82, 2365, 1600, 301, 2143, 82, 273, 446, 31, 202, 202, 10530, 18, 3355, 2532, 5621, 202, 202, 5748, 16788, 2679, 350, 273, 374, 31, 202, 202, 6494, 2363, 53, 1176, 2679, 350, 273, 629, 31, 202, 202, 474, 18614, 273, 2949, 18, 588, 31536, 5621, 202, 202, 17523, 261, 710, 2148, 480, 300, 21, 13, 202, 202, 95, 1082, 202, 9610, 261, 710, 2148, 13, 1082, 202, 95, 9506, 202, 759, 3129, 9506, 202, 3593, 3356, 2148, 18, 54, 2290, 50, 2192, 30, 6862, 202, 542, 4254, 12, 31536, 18, 39, 3045, 53, 9590, 1769, 6862, 202, 8820, 31, 6862, 202, 759, 1931, 9506, 202, 3593, 3356, 2148, 18, 8784, 8318, 2192, 4596, 50, 30, 6862, 202, 5465, 1600, 301, 2143, 82, 273, 1109, 8784, 8318, 2192, 4596, 50, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 3356, 2148, 18, 53, 9590, 706, 30287, 30, 6862, 202, 85, 1176, 2679, 350, 273, 2949, 18, 896, 3906, 3708, 5621, 6862, 202, 13212, 53, 1176, 2679, 350, 273, 638, 31, 6862, 202, 8820, 31, 9506, 202, 759, 3129, 9506, 202, 3593, 3356, 2148, 18, 17667, 30153, 30, 6862, 202, 2670, 17667, 30153, 5621, 6862, 202, 8820, 31, 9506, 202, 1886, 30, 6862, 202, 5387, 31536, 12, 710, 2148, 1769, 1082, 202, 97, 1082, 202, 710, 2148, 273, 2949, 18, 588, 31536, 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, 16801, 9793, 3406, 1109, 39, 3045, 53, 9590, 1435, 1216, 16801, 9793, 5752, 503, 16, 6483, 202, 95, 202, 202, 7789, 1600, 301, 2143, 82, 2365, 1600, 301, 2143, 82, 273, 446, 31, 202, 202, 10530, 18, 3355, 2532, 5621, 202, 202, 5748, 16788, 2679, 350, 273, 374, 31, 202, 202, 6494, 2363, 53, 1176, 2679, 350, 273, 629, 31, 202, 202, 474, 18614, 273, 2949, 18, 588, 31536, 5621, 202, 202, 17523, 261, 710, 2148, 480, 300, 21, 13, 202, 202, 95, 1082, 202, 9610, 261, 710, 2148, 13, 1082, 202, 95, 9506, 202, 759, 3129, 9506, 202, 3593, 3356, 2148, 18, 54, 2290, 50, 2192, 30, 6862, 202, 542, 4254, 12, 31536, 18, 39, 2 ]
int[] masks;
int[] masks = null;
public BufferedImage(int w, int h, int type) { ColorModel cm; boolean alpha = false; boolean premultiplied = false; switch (type) { case TYPE_4BYTE_ABGR_PRE: case TYPE_INT_ARGB_PRE: premultiplied = true; // fall through case TYPE_INT_ARGB: case TYPE_4BYTE_ABGR: alpha = true; } ColorSpace cs = ColorSpace.getInstance(ColorSpace.CS_sRGB); switch (type) { case TYPE_INT_RGB: case TYPE_INT_ARGB: case TYPE_INT_ARGB_PRE: case TYPE_USHORT_565_RGB: case TYPE_USHORT_555_RGB: int[] masks; switch (type) { case TYPE_INT_RGB: case TYPE_INT_ARGB: case TYPE_INT_ARGB_PRE: masks = masks_int; break; case TYPE_USHORT_565_RGB: masks = masks_565; break; case TYPE_USHORT_555_RGB: masks = masks_555; break; } cm = new DirectColorModel(cs, 32, // 32 bits in an int masks[0], // r masks[1], // g masks[2], // b alpha ? 0xff000000 : 0, premultiplied, masks[3] // data type ); break; case TYPE_INT_BGR: String msg = "FIXME: Programmer is confused. Why (and how) does a " + "TYPE_INT_BGR image use ComponentColorModel to store " + "8-bit values? Is data type TYPE_INT or TYPE_BYTE. What " + "is the difference between TYPE_INT_BGR and TYPE_3BYTE_BGR?"; throw new UnsupportedOperationException(msg); case TYPE_3BYTE_BGR: case TYPE_4BYTE_ABGR: case TYPE_4BYTE_ABGR_PRE: case TYPE_BYTE_GRAY: case TYPE_USHORT_GRAY: int[] bits = null; int dataType = DataBuffer.TYPE_BYTE; switch (type) { case TYPE_3BYTE_BGR: bits = bits3; break; case TYPE_4BYTE_ABGR: case TYPE_4BYTE_ABGR_PRE: bits = bits4; break; case TYPE_BYTE_GRAY: bits = bits1byte; break; case TYPE_USHORT_GRAY: bits = bits1ushort; dataType = DataBuffer.TYPE_USHORT; break; } cm = new ComponentColorModel(cs, bits, alpha, premultiplied, alpha ? Transparency.TRANSLUCENT: Transparency.OPAQUE, dataType); break; case TYPE_BYTE_BINARY: byte[] vals = { 0, (byte) 0xff }; cm = new IndexColorModel(8, 2, vals, vals, vals); break; case TYPE_BYTE_INDEXED: String msg2 = "type not implemented yet"; throw new UnsupportedOperationException(msg2); // FIXME: build color-cube and create color model } init(cm, cm.createCompatibleWritableRaster(w, h), premultiplied, null, // no properties type ); }
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/99e6bc52296d0f698ac87869692f6e05f5814772/BufferedImage.java/buggy/libjava/java/awt/image/BufferedImage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 12362, 12, 474, 341, 16, 509, 366, 16, 509, 618, 13, 225, 288, 565, 5563, 1488, 5003, 31, 3639, 1250, 4190, 273, 629, 31, 565, 1250, 675, 7027, 3110, 273, 629, 31, 565, 1620, 261, 723, 13, 1377, 288, 1377, 648, 3463, 67, 24, 15377, 67, 2090, 6997, 67, 3670, 30, 1377, 648, 3463, 67, 3217, 67, 985, 5887, 67, 3670, 30, 202, 1484, 7027, 3110, 273, 638, 31, 202, 759, 4159, 3059, 1377, 648, 3463, 67, 3217, 67, 985, 5887, 30, 1377, 648, 3463, 67, 24, 15377, 67, 2090, 6997, 30, 202, 5429, 273, 638, 31, 1377, 289, 202, 565, 5563, 3819, 2873, 273, 5563, 3819, 18, 588, 1442, 12, 2957, 3819, 18, 4596, 67, 87, 11343, 1769, 565, 1620, 261, 723, 13, 1377, 288, 1377, 648, 3463, 67, 3217, 67, 11343, 30, 1377, 648, 3463, 67, 3217, 67, 985, 5887, 30, 1377, 648, 3463, 67, 3217, 67, 985, 5887, 67, 3670, 30, 1377, 648, 3463, 67, 57, 15993, 67, 4313, 25, 67, 11343, 30, 1377, 648, 3463, 67, 57, 15993, 67, 2539, 25, 67, 11343, 30, 202, 474, 8526, 20931, 31, 202, 9610, 261, 723, 13, 202, 225, 288, 202, 225, 648, 3463, 67, 3217, 67, 11343, 30, 202, 225, 648, 3463, 67, 3217, 67, 985, 5887, 30, 202, 225, 648, 3463, 67, 3217, 67, 985, 5887, 67, 3670, 30, 202, 565, 20931, 273, 20931, 67, 474, 31, 202, 565, 898, 31, 202, 225, 648, 3463, 67, 57, 15993, 67, 4313, 25, 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, 282, 1071, 12362, 12, 474, 341, 16, 509, 366, 16, 509, 618, 13, 225, 288, 565, 5563, 1488, 5003, 31, 3639, 1250, 4190, 273, 629, 31, 565, 1250, 675, 7027, 3110, 273, 629, 31, 565, 1620, 261, 723, 13, 1377, 288, 1377, 648, 3463, 67, 24, 15377, 67, 2090, 6997, 67, 3670, 30, 1377, 648, 3463, 67, 3217, 67, 985, 5887, 67, 3670, 30, 202, 1484, 7027, 3110, 273, 638, 31, 202, 759, 4159, 3059, 1377, 648, 3463, 67, 3217, 67, 985, 5887, 30, 1377, 648, 3463, 67, 24, 15377, 67, 2090, 6997, 30, 202, 5429, 273, 638, 31, 1377, 289, 202, 565, 5563, 3819, 2873, 273, 5563, 3819, 18, 588, 1442, 12, 2957, 3819, 18, 4596, 67, 87, 2 ]
int length = left.getFieldCount( ) + right.getFieldCount( )+ ((dataSet.getComputedColumns( )==null)?0:dataSet.getComputedColumns( ).size( )); int[] index = new int[length]; int[] columnSource = new int[length]; List projectedColumns = new ArrayList( );
try { int leftTempColumnSize = getTempColumnSize( left ); int rightTempColumnSize = getTempColumnSize( right ); int length = ( left.getColumnCount( ) - leftTempColumnSize ) + ( right.getColumnCount( ) - rightTempColumnSize ) + ( ( dataSet.getComputedColumns( ) == null ) ? 0 : dataSet.getComputedColumns( ).size( ) ); int[] index = new int[length]; int[] columnSource = new int[length]; List projectedColumns = new ArrayList( );
private JointResultMetadata populatorJointResultMetadata( IResultClass left, String leftPrefix, IResultClass right, String rightPrefix ) throws DataException { int length = left.getFieldCount( ) + right.getFieldCount( )+ ((dataSet.getComputedColumns( )==null)?0:dataSet.getComputedColumns( ).size( )); int[] index = new int[length]; int[] columnSource = new int[length]; List projectedColumns = new ArrayList( ); for ( int i = 1; i <= left.getFieldCount( ); i++ ) { index[i - 1] = i; columnSource[i - 1] = JointResultMetadata.COLUMN_TYPE_LEFT; projectedColumns.add( new ResultFieldMetadata( i, leftPrefix + left.getFieldName( i ), leftPrefix + left.getFieldName( i ), left.getFieldValueClass( i ), left.getFieldNativeTypeName( i ), false ) ); } for ( int i = left.getFieldCount( ) + 1; i <= left.getFieldCount( )+right.getFieldCount( ); i++ ) { index[i - 1] = i - left.getFieldCount( ); columnSource[i - 1] = JointResultMetadata.COLUMN_TYPE_RIGHT; projectedColumns.add( new ResultFieldMetadata( i, rightPrefix + right.getFieldName( i - left.getFieldCount( ) ), rightPrefix + right.getFieldName( i - left.getFieldCount( ) ), right.getFieldValueClass( i - left.getFieldCount( ) ), right.getFieldNativeTypeName( i - left.getFieldCount( ) ), false ) ); } if( dataSet.getComputedColumns( )!= null) { for( int i = 0; i <dataSet.getComputedColumns( ).size( ); i++) { IComputedColumn cc = (IComputedColumn)dataSet.getComputedColumns( ).get(i); index[i + left.getFieldCount( ) + right.getFieldCount( ) ] = -1; columnSource[i + left.getFieldCount( ) + right.getFieldCount( )] = JointResultMetadata.COLUMN_TYPE_COMPUTED; projectedColumns.add( new ResultFieldMetadata( i, cc.getName( ), cc.getName( ), DataType.getClass( cc.getDataType( ) ), null, true ) ); } } if ( dataSet.getResultSetHints( ) != null ) { List hintList = dataSet.getResultSetHints( ); for ( int i = 0; i < hintList.size( ); i++ ) { IColumnDefinition columnDefinition = (IColumnDefinition) hintList.get( i ); for ( int j = 0; j < projectedColumns.size( ); j++ ) { ResultFieldMetadata resultFieldMetadata = (ResultFieldMetadata) projectedColumns.get( j ); if ( columnDefinition.getColumnName( ) .equals( resultFieldMetadata.getName( ) ) ) { resultFieldMetadata.setAlias( columnDefinition.getAlias( ) ); break; } } } } ResultClass resultClass = new ResultClass( projectedColumns ); return new JointResultMetadata( resultClass, columnSource, index ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/57eee50ea5bbf425616d3d4bb9f08c809568377c/PreparedJointDataSourceQuery.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedJointDataSourceQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 804, 763, 1253, 2277, 3650, 639, 21574, 1253, 2277, 12, 1082, 202, 45, 1253, 797, 2002, 16, 514, 2002, 2244, 16, 467, 1253, 797, 2145, 16, 1082, 202, 780, 2145, 2244, 262, 1216, 1910, 503, 202, 95, 202, 202, 474, 769, 273, 2002, 18, 588, 974, 1380, 12, 262, 202, 202, 15, 2145, 18, 588, 974, 1380, 12, 27462, 14015, 892, 694, 18, 588, 17934, 3380, 12, 262, 631, 2011, 9945, 20, 30, 892, 694, 18, 588, 17934, 3380, 12, 262, 18, 1467, 12, 262, 1769, 202, 202, 474, 8526, 770, 273, 394, 509, 63, 2469, 15533, 202, 202, 474, 8526, 1057, 1830, 273, 394, 509, 63, 2469, 15533, 202, 202, 682, 20939, 3380, 273, 394, 2407, 12, 11272, 202, 202, 1884, 261, 509, 277, 273, 404, 31, 277, 1648, 2002, 18, 588, 974, 1380, 12, 11272, 277, 9904, 262, 202, 202, 95, 1082, 202, 1615, 63, 77, 300, 404, 65, 273, 277, 31, 1082, 202, 2827, 1830, 63, 77, 300, 404, 65, 273, 804, 763, 1253, 2277, 18, 11009, 67, 2399, 67, 10066, 31, 1082, 202, 685, 6059, 3380, 18, 1289, 12, 394, 3438, 974, 2277, 12, 277, 16, 6862, 202, 4482, 2244, 397, 2002, 18, 588, 7287, 12, 277, 262, 16, 6862, 202, 4482, 2244, 397, 2002, 18, 588, 7287, 12, 277, 262, 16, 6862, 202, 4482, 18, 588, 13559, 797, 12, 277, 262, 16, 6862, 202, 4482, 18, 588, 974, 9220, 7947, 12, 277, 262, 16, 6862, 202, 5743, 262, 11272, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 804, 763, 1253, 2277, 3650, 639, 21574, 1253, 2277, 12, 1082, 202, 45, 1253, 797, 2002, 16, 514, 2002, 2244, 16, 467, 1253, 797, 2145, 16, 1082, 202, 780, 2145, 2244, 262, 1216, 1910, 503, 202, 95, 202, 202, 474, 769, 273, 2002, 18, 588, 974, 1380, 12, 262, 202, 202, 15, 2145, 18, 588, 974, 1380, 12, 27462, 14015, 892, 694, 18, 588, 17934, 3380, 12, 262, 631, 2011, 9945, 20, 30, 892, 694, 18, 588, 17934, 3380, 12, 262, 18, 1467, 12, 262, 1769, 202, 202, 474, 8526, 770, 273, 394, 509, 63, 2469, 15533, 202, 202, 474, 8526, 1057, 1830, 273, 394, 509, 63, 2469, 15533, 202, 202, 682, 20939, 3380, 273, 394, 2 ]
for ( Iterator j = sinks.iterator(); i.hasNext(); )
for ( Iterator j = sinks.iterator(); j.hasNext(); )
protected void closeReport() { int counter = 1; if ( !sinks.isEmpty() ) { for ( Iterator i = sinks.iterator(); i.hasNext(); ) { MultiPageSink currentSink = (MultiPageSink) i.next(); currentSink.paragraph(); for ( Iterator j = sinks.iterator(); i.hasNext(); ) { if ( counter > 1 ) { currentSink.text( "&nbsp;" ); } MultiPageSink sink = (MultiPageSink) i.next(); sink.link( sink.getOutputName() + ".html" ); sink.text( String.valueOf( counter++ ) ); sink.link_(); } currentSink.paragraph_(); currentSink.closeSink(); } } }
50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/9f0c44d7eb5aecf119eb9b147f277aebd8aec396/AbstractMavenMultiPageReport.java/buggy/maven-reporting/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenMultiPageReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1746, 4820, 1435, 565, 288, 3639, 509, 3895, 273, 404, 31, 3639, 309, 261, 401, 17074, 87, 18, 291, 1921, 1435, 262, 3639, 288, 5411, 364, 261, 4498, 277, 273, 28618, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 5991, 1964, 11326, 783, 11326, 273, 261, 5002, 1964, 11326, 13, 277, 18, 4285, 5621, 7734, 783, 11326, 18, 22445, 5621, 7734, 364, 261, 4498, 525, 273, 28618, 18, 9838, 5621, 525, 18, 5332, 2134, 5621, 262, 7734, 288, 10792, 309, 261, 3895, 405, 404, 262, 10792, 288, 13491, 783, 11326, 18, 955, 12, 7830, 10600, 4868, 11272, 10792, 289, 10792, 5991, 1964, 11326, 9049, 273, 261, 5002, 1964, 11326, 13, 277, 18, 4285, 5621, 10792, 9049, 18, 1232, 12, 9049, 18, 588, 1447, 461, 1435, 397, 3552, 2620, 6, 11272, 10792, 9049, 18, 955, 12, 514, 18, 1132, 951, 12, 3895, 9904, 262, 11272, 10792, 9049, 18, 1232, 67, 5621, 7734, 289, 7734, 783, 11326, 18, 22445, 67, 5621, 7734, 783, 11326, 18, 4412, 11326, 5621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1746, 4820, 1435, 565, 288, 3639, 509, 3895, 273, 404, 31, 3639, 309, 261, 401, 17074, 87, 18, 291, 1921, 1435, 262, 3639, 288, 5411, 364, 261, 4498, 277, 273, 28618, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 5991, 1964, 11326, 783, 11326, 273, 261, 5002, 1964, 11326, 13, 277, 18, 4285, 5621, 7734, 783, 11326, 18, 22445, 5621, 7734, 364, 261, 4498, 525, 273, 28618, 18, 9838, 5621, 525, 18, 5332, 2134, 5621, 262, 7734, 288, 10792, 309, 261, 3895, 405, 404, 262, 10792, 288, 13491, 783, 11326, 18, 955, 12, 7830, 10600, 4868, 11272, 10792, 289, 10792, 5991, 1964, 11326, 9049, 273, 261, 5002, 1964, 11326, 13, 277, 18, 2 ]
TestCollision.class.getClassLoader().getResource("jmetest/data/Font/font.png"),
TestCollision.class.getClassLoader().getResource("jmetest/data/font/font.png"),
protected void initGame() { text = new Text("Text Label","Collision: No"); text.setLocalTranslation(new Vector3f(1, 60, 0)); TextureState textImage = display.getRenderer().getTextureState(); textImage.setEnabled(true); textImage.setTexture( TextureManager.loadTexture( TestCollision.class.getClassLoader().getResource("jmetest/data/Font/font.png"), Texture.MM_LINEAR, Texture.FM_LINEAR, true)); text.setRenderState(textImage); AlphaState as1 = display.getRenderer().getAlphaState(); as1.setBlendEnabled(true); as1.setSrcFunction(AlphaState.SB_SRC_ALPHA); as1.setDstFunction(AlphaState.DB_ONE); as1.setTestEnabled(true); as1.setTestFunction(AlphaState.TF_GREATER); as1.setEnabled(true); text.setRenderState(as1); scene = new Node("3D Scene Root"); root = new Node("Scene Root"); root.attachChild(text); Vector3f max = new Vector3f(5, 5, 5); Vector3f min = new Vector3f(-5, -5, -5); t = new Box("Box 1", min, max); t.setModelBound(new BoundingSphere()); t.updateModelBound(); t.setLocalTranslation(new Vector3f(0, 30, 0)); t2 = new Box("Box 2", min, max); t2.setModelBound(new BoundingSphere()); t2.updateModelBound(); t2.setLocalTranslation(new Vector3f(30, 0, 0)); scene.attachChild(t); scene.attachChild(t2); root.attachChild(scene); ZBufferState buf = display.getRenderer().getZBufferState(); buf.setEnabled(true); buf.setFunction(ZBufferState.CF_LEQUAL); DirectionalLight am = new DirectionalLight(); am.setDiffuse(new ColorRGBA(0.0f, 1.0f, 0.0f, 1.0f)); am.setAmbient(new ColorRGBA(0.5f, 0.5f, 0.5f, 1.0f)); am.setDirection(new Vector3f(0, 0, 75)); scene.setRenderState(buf); scene.setWorldBound(new BoundingSphere()); cam.update(); TextureState ts = display.getRenderer().getTextureState(); ts.setEnabled(true); ts.setTexture( TextureManager.loadTexture( TestCollision.class.getClassLoader().getResource("jmetest/data/images/Monkey.jpg"), Texture.MM_LINEAR, Texture.FM_LINEAR, true)); scene.setRenderState(ts); root.attachChild(text); scene.updateGeometricState(0.0f, true); }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/68d240051658a05b63c712c2e9977a372db08601/TestCollision.java/buggy/src/jmetest/intersection/TestCollision.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1208, 12496, 1435, 288, 3639, 977, 273, 394, 3867, 2932, 1528, 5287, 15937, 13535, 1951, 30, 2631, 8863, 3639, 977, 18, 542, 2042, 6717, 12, 2704, 5589, 23, 74, 12, 21, 16, 4752, 16, 374, 10019, 3639, 28582, 1119, 977, 2040, 273, 2562, 18, 588, 6747, 7675, 588, 10967, 1119, 5621, 3639, 977, 2040, 18, 542, 1526, 12, 3767, 1769, 3639, 977, 2040, 18, 542, 10967, 12, 5411, 28582, 1318, 18, 945, 10967, 12, 7734, 7766, 13535, 1951, 18, 1106, 18, 588, 7805, 7675, 588, 1420, 2932, 78, 10578, 395, 19, 892, 19, 5776, 19, 5776, 18, 6446, 6, 3631, 7734, 28582, 18, 8206, 67, 5997, 985, 16, 7734, 28582, 18, 42, 49, 67, 5997, 985, 16, 7734, 638, 10019, 3639, 977, 18, 542, 3420, 1119, 12, 955, 2040, 1769, 7734, 24277, 1119, 487, 21, 273, 2562, 18, 588, 6747, 7675, 588, 9690, 1119, 5621, 3639, 487, 21, 18, 542, 4802, 409, 1526, 12, 3767, 1769, 3639, 487, 21, 18, 542, 7740, 2083, 12, 9690, 1119, 18, 14541, 67, 28413, 67, 26313, 1769, 3639, 487, 21, 18, 542, 15295, 2083, 12, 9690, 1119, 18, 2290, 67, 5998, 1769, 3639, 487, 21, 18, 542, 4709, 1526, 12, 3767, 1769, 3639, 487, 21, 18, 542, 4709, 2083, 12, 9690, 1119, 18, 17963, 67, 43, 18857, 1769, 3639, 487, 21, 18, 542, 1526, 12, 3767, 1769, 3639, 977, 18, 542, 3420, 1119, 12, 345, 21, 1769, 3639, 9065, 273, 394, 2029, 2932, 23, 40, 29347, 7450, 8863, 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, 1208, 12496, 1435, 288, 3639, 977, 273, 394, 3867, 2932, 1528, 5287, 15937, 13535, 1951, 30, 2631, 8863, 3639, 977, 18, 542, 2042, 6717, 12, 2704, 5589, 23, 74, 12, 21, 16, 4752, 16, 374, 10019, 3639, 28582, 1119, 977, 2040, 273, 2562, 18, 588, 6747, 7675, 588, 10967, 1119, 5621, 3639, 977, 2040, 18, 542, 1526, 12, 3767, 1769, 3639, 977, 2040, 18, 542, 10967, 12, 5411, 28582, 1318, 18, 945, 10967, 12, 7734, 7766, 13535, 1951, 18, 1106, 18, 588, 7805, 7675, 588, 1420, 2932, 78, 10578, 395, 19, 892, 19, 5776, 19, 5776, 18, 6446, 6, 3631, 7734, 28582, 18, 8206, 67, 5997, 985, 16, 7734, 28582, 18, 42, 49, 67, 5997, 985, 2 ]
}
public void setup(Map attributes) { log.entering(this.getClass().getName(), "setup", attributes); // do we have a SecureRandom, or should we use our own? rnd = (SecureRandom) attributes.get(SOURCE_OF_RANDOMNESS); // are we given a set of RSA params or we shall use our own? RSAKeyGenParameterSpec params = (RSAKeyGenParameterSpec) attributes.get(RSA_PARAMETERS); // find out the modulus length if (params != null) { L = params.getKeysize(); e = params.getPublicExponent(); } else { Integer l = (Integer) attributes.get(MODULUS_LENGTH); L = (l == null ? DEFAULT_MODULUS_LENGTH : l.intValue()); } if (L < 1024) { throw new IllegalArgumentException(MODULUS_LENGTH); } // what is the preferred encoding format Integer formatID = (Integer) attributes.get(PREFERRED_ENCODING_FORMAT); preferredFormat = formatID == null ? DEFAULT_ENCODING_FORMAT : formatID.intValue(); log.exiting(this.getClass().getName(), "setup"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyPairGenerator.java/buggy/core/src/classpath/gnu/gnu/java/security/key/rsa/RSAKeyPairGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3875, 12, 863, 1677, 13, 225, 288, 565, 613, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 8401, 3113, 1677, 1769, 565, 368, 741, 732, 1240, 279, 15653, 8529, 16, 578, 1410, 732, 999, 3134, 4953, 35, 565, 20391, 273, 261, 12834, 8529, 13, 1677, 18, 588, 12, 6537, 67, 3932, 67, 54, 28159, 5407, 1260, 1769, 565, 368, 854, 732, 864, 279, 444, 434, 13470, 859, 578, 732, 24315, 999, 3134, 4953, 35, 565, 13470, 653, 7642, 1662, 1990, 859, 273, 261, 15248, 653, 7642, 1662, 1990, 13, 1677, 18, 588, 12, 15248, 67, 20103, 1769, 565, 368, 1104, 596, 326, 24770, 769, 565, 309, 261, 2010, 480, 446, 13, 1377, 288, 3639, 511, 273, 859, 18, 588, 653, 1467, 5621, 3639, 425, 273, 859, 18, 588, 4782, 17972, 5621, 540, 469, 1377, 288, 3639, 2144, 328, 273, 261, 4522, 13, 1677, 18, 588, 12, 6720, 1506, 3378, 67, 7096, 1769, 3639, 511, 273, 261, 80, 422, 446, 692, 3331, 67, 6720, 1506, 3378, 67, 7096, 294, 328, 18, 474, 620, 10663, 540, 309, 261, 48, 411, 6250, 13, 1377, 288, 3639, 604, 394, 2754, 12, 6720, 1506, 3378, 67, 7096, 1769, 540, 368, 4121, 353, 326, 9119, 2688, 740, 565, 2144, 740, 734, 273, 261, 4522, 13, 1677, 18, 588, 12, 3670, 17356, 67, 14672, 67, 7254, 1769, 565, 9119, 1630, 273, 740, 734, 422, 446, 692, 3331, 67, 14672, 67, 7254, 4766, 4202, 294, 740, 734, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3875, 12, 863, 1677, 13, 225, 288, 565, 613, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 8401, 3113, 1677, 1769, 565, 368, 741, 732, 1240, 279, 15653, 8529, 16, 578, 1410, 732, 999, 3134, 4953, 35, 565, 20391, 273, 261, 12834, 8529, 13, 1677, 18, 588, 12, 6537, 67, 3932, 67, 54, 28159, 5407, 1260, 1769, 565, 368, 854, 732, 864, 279, 444, 434, 13470, 859, 578, 732, 24315, 999, 3134, 4953, 35, 565, 13470, 653, 7642, 1662, 1990, 859, 273, 261, 15248, 653, 7642, 1662, 1990, 13, 1677, 18, 588, 12, 15248, 67, 20103, 1769, 565, 368, 1104, 596, 326, 24770, 769, 565, 309, 261, 2010, 480, 446, 13, 1377, 2 ]
public void add(int location, Object object) {
public void add(int location, E object) {
public void add(int location, Object object) { listIterator(location).add(object); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/1e55af6b32915c031cdde7c11b7c06ad59137fab/AbstractSequentialList.java/buggy/modules/luni/src/main/java/java/util/AbstractSequentialList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 12, 474, 2117, 16, 1033, 733, 13, 288, 202, 202, 1098, 3198, 12, 3562, 2934, 1289, 12, 1612, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 12, 474, 2117, 16, 1033, 733, 13, 288, 202, 202, 1098, 3198, 12, 3562, 2934, 1289, 12, 1612, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
TreeItem item[] = Utility.createTreeItems(schemaTreeItem[0], tableList, SWT.NONE, null);
TreeItem item[] = Utility.createTreeItems( schemaTreeItem[0], tableList, SWT.NONE, null );
protected void populateTableList() { // Remove all the existing children of the root Node if ( rootNode != null ) { availableDbObjectsTree.removeAll(); setRootElement(); } String namePattern = null; String[] tableType = null; if ( searchTxt.getText().length() > 0 ) { namePattern = searchTxt.getText(); // Add the % by default if there is no such pattern if ( namePattern != null ) { if ( namePattern.lastIndexOf('%') == -1) { namePattern = namePattern + "%"; } } } String dbtype = getSelectedDbType(); if ( dbtype != null && ! DbType.ALL_STRING.equalsIgnoreCase(dbtype)) { tableType = new String[]{ dbtype }; } String catalogName = metaDataProvider.getCatalog(); ArrayList tableList = new ArrayList(); ArrayList targetSchemaList = new ArrayList(); if (schemaList != null && schemaList.size() > 0) { if ( schemaCombo.getSelectionIndex() == 0) { targetSchemaList = schemaList; } else { targetSchemaList.add( schemaCombo.getItem( schemaCombo.getSelectionIndex() )); } ResultSet tablesRs = null; // For each schema Get the List of Tables int numTables = 0; boolean maxRecordsDisplayed = false; //if ( schemaComboViewer.getSelection().) for( int i=0; i< targetSchemaList.size(); i++) { if ( maxRecordsDisplayed ) { break; } int count = 0; String schemaName = (String)targetSchemaList.get(i); tablesRs = metaDataProvider.getAlltables(catalogName,schemaName,namePattern,tableType); tableList = new ArrayList(); if( tablesRs == null ) { continue; } try { // Create the schema Node ArrayList schema = new ArrayList(); TreeItem schemaTreeItem[] = null; Image image = tableImage; if( count == 0 ) { schema.add(schemaName); schemaTreeItem = Utility.createTreeItems(rootNode, schema, SWT.NONE, schemaImage); //expand schema TreeItem if( schemaTreeItem != null && schemaTreeItem.length > 0) availableDbObjectsTree.showItem(schemaTreeItem[0]); } while( tablesRs.next()) { count++;// String SchemaName = tablesRs.getString("TABLE_SCHEM");//$NON-NLS-1$ String tableName = tablesRs.getString("TABLE_NAME");//$NON-NLS-1$ String type = tablesRs.getString("TABLE_TYPE");//$NON-NLS-1$ int dbType = DbObject.TABLE_TYPE; if(type.equalsIgnoreCase("TABLE")) { image = tableImage; dbType = DbObject.TABLE_TYPE; } else if(type.equalsIgnoreCase("VIEW")) { image = viewImage; dbType = DbObject.VIEW_TYPE; } String fullyQualifiedTableName = tableName; if( schemaName != null && schemaName.trim().length() > 0) { fullyQualifiedTableName = schemaName + "." + tableName; } DbObject dbObject = new DbObject(fullyQualifiedTableName,tableName, dbType, image); tableList.add(dbObject); numTables ++; if ( numTables == DbType.MAX_ITEMS_DISPLAY_COUNT ) { maxRecordsDisplayed = true; break; } } if( schemaTreeItem != null && schemaTreeItem.length > 0) { TreeItem item[] = Utility.createTreeItems(schemaTreeItem[0], tableList, SWT.NONE, null); //expand table TreeItem if( item != null && item.length > 0) availableDbObjectsTree.showItem(item[0]); } } catch(SQLException e) { e.printStackTrace(); } } checkForMaxRecordsDisplayed(maxRecordsDisplayed, tablesRs); } else { //ResultSet tablesRs = metaDataProvider.getAlltables(catalogName,null,namePattern,tableType); ResultSet tablesRs = metaDataProvider.getAlltables(catalogName,null,namePattern,tableType); if( tablesRs == null) { return; } int count = 0; boolean maxRecordsDisplayed = false; try { Image image = tableImage; while( tablesRs.next()) { count ++;// String SchemaName = tablesRs.getString("TABLE_SCHEM");//$NON-NLS-1$ String tableName = tablesRs.getString("TABLE_NAME");//$NON-NLS-1$ String type = tablesRs.getString("TABLE_TYPE");//$NON-NLS-1$ int dbType = DbObject.TABLE_TYPE; if(type.equalsIgnoreCase("TABLE")) { image = tableImage; dbType = DbObject.TABLE_TYPE; } else if(type.equalsIgnoreCase("VIEW")) { image = viewImage; dbType = DbObject.VIEW_TYPE; } DbObject dbObject = new DbObject(tableName, tableName,dbType, image); tableList.add(dbObject); if ( count == DbType.MAX_ITEMS_DISPLAY_COUNT ) { maxRecordsDisplayed = true; break; } } TreeItem item[] = Utility.createTreeItems(rootNode, tableList, SWT.NONE, null); //expand table TreeItem if( item != null && item.length > 0) availableDbObjectsTree.showItem(item[0]); // Add listener to display the column names when expanded checkForMaxRecordsDisplayed(maxRecordsDisplayed, tablesRs); } catch(Exception e) { e.printStackTrace(); } } // Add a listener for fetching columns addFetchColumnListener(); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/82a6fed6e2922782cd0b8117607435292197a801/SQLDataSetEditorPage.java/clean/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 6490, 1388, 682, 1435, 202, 95, 1082, 368, 3581, 777, 326, 2062, 2325, 434, 326, 1365, 2029, 1082, 309, 261, 10181, 480, 446, 262, 1082, 288, 1082, 225, 202, 5699, 4331, 4710, 2471, 18, 4479, 1595, 5621, 1082, 225, 202, 542, 2375, 1046, 5621, 1082, 289, 1082, 225, 514, 508, 3234, 273, 446, 31, 1082, 225, 514, 8526, 1014, 559, 273, 446, 31, 1082, 26924, 225, 309, 261, 1623, 21811, 18, 588, 1528, 7675, 2469, 1435, 405, 374, 262, 1082, 225, 288, 1082, 282, 202, 529, 3234, 273, 1623, 21811, 18, 588, 1528, 5621, 1082, 282, 202, 759, 1436, 326, 738, 635, 805, 309, 1915, 353, 1158, 4123, 1936, 1082, 282, 202, 430, 261, 508, 3234, 480, 446, 262, 1082, 282, 202, 95, 1082, 21114, 202, 430, 261, 508, 3234, 18, 2722, 31985, 29909, 6134, 422, 300, 21, 13, 1082, 21114, 202, 95, 1082, 26924, 202, 529, 3234, 273, 508, 3234, 397, 2213, 14432, 1082, 21114, 202, 97, 1082, 282, 202, 97, 1082, 225, 289, 1082, 26924, 225, 514, 1319, 723, 273, 16625, 4331, 559, 5621, 1082, 225, 309, 261, 1319, 723, 480, 446, 597, 401, 8408, 559, 18, 4685, 67, 5804, 18, 14963, 5556, 12, 1966, 723, 3719, 1082, 225, 288, 1082, 282, 202, 2121, 559, 273, 394, 514, 63, 7073, 1319, 723, 289, 31, 1082, 225, 289, 1082, 21114, 565, 514, 6222, 461, 273, 11651, 2249, 18, 588, 9769, 5621, 202, 202, 19558, 1014, 682, 273, 394, 2407, 5621, 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, 6490, 1388, 682, 1435, 202, 95, 1082, 368, 3581, 777, 326, 2062, 2325, 434, 326, 1365, 2029, 1082, 309, 261, 10181, 480, 446, 262, 1082, 288, 1082, 225, 202, 5699, 4331, 4710, 2471, 18, 4479, 1595, 5621, 1082, 225, 202, 542, 2375, 1046, 5621, 1082, 289, 1082, 225, 514, 508, 3234, 273, 446, 31, 1082, 225, 514, 8526, 1014, 559, 273, 446, 31, 1082, 26924, 225, 309, 261, 1623, 21811, 18, 588, 1528, 7675, 2469, 1435, 405, 374, 262, 1082, 225, 288, 1082, 282, 202, 529, 3234, 273, 1623, 21811, 18, 588, 1528, 5621, 1082, 282, 202, 759, 1436, 326, 738, 635, 805, 309, 1915, 353, 1158, 4123, 1936, 1082, 282, 202, 430, 261, 508, 2 ]
valueButton.setFont(font);
CheckboxEnumGroup(Composite parent, String text, EnumType type) { Font font = parent.getFont(); this.type = type; // although not needed for layout, this composite is needed to get the tab order right Composite enableComposite = new Composite(parent, SWT.NONE); enableComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); enableComposite.setLayout(new FillLayout()); enableButton = new Button(enableComposite, SWT.CHECK); enableButton.addSelectionListener(selectionListener); enableButton.setText(text); enableButton.setFont(font); Composite valueComposite = new Composite(parent, SWT.NONE); valueComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); valueComposite.setLayout(new FillLayout()); EnumValue[] values = type.getValues(); valueButtons = new Button[values.length]; for (int i = 0; i < values.length; ++i) { Button valueButton = new Button(valueComposite, SWT.CHECK); valueButton.setText(values[i].getText());// valueButton.setImage(values[i].getImage()); valueButton.setFont(font); valueButtons[i] = valueButton; } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e365c8c256fc9bd61d9d458bb74ff408ae201fd1/FiltersDialog.java/clean/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/tasklist/FiltersDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 21272, 3572, 1114, 12, 9400, 982, 16, 514, 977, 16, 6057, 559, 618, 13, 288, 1082, 202, 5711, 3512, 273, 982, 18, 588, 5711, 5621, 1082, 202, 2211, 18, 723, 273, 618, 31, 1082, 202, 759, 26347, 486, 3577, 364, 3511, 16, 333, 9635, 353, 3577, 358, 336, 326, 3246, 1353, 2145, 1082, 202, 9400, 4237, 9400, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 1082, 202, 7589, 9400, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 1082, 202, 7589, 9400, 18, 542, 3744, 12, 2704, 14192, 3744, 10663, 1082, 202, 7589, 3616, 273, 394, 12569, 12, 7589, 9400, 16, 348, 8588, 18, 10687, 1769, 1082, 202, 7589, 3616, 18, 1289, 6233, 2223, 12, 10705, 2223, 1769, 1082, 202, 7589, 3616, 18, 542, 1528, 12, 955, 1769, 1082, 202, 7589, 3616, 18, 542, 5711, 12, 5776, 1769, 1082, 202, 9400, 460, 9400, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 1082, 202, 1132, 9400, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 1082, 202, 1132, 9400, 18, 542, 3744, 12, 2704, 14192, 3744, 10663, 1082, 202, 3572, 620, 8526, 924, 273, 618, 18, 588, 1972, 5621, 1082, 202, 1132, 14388, 273, 394, 12569, 63, 2372, 18, 2469, 15533, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 924, 18, 2469, 31, 965, 77, 13, 288, 9506, 202, 3616, 460, 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, 21272, 3572, 1114, 12, 9400, 982, 16, 514, 977, 16, 6057, 559, 618, 13, 288, 1082, 202, 5711, 3512, 273, 982, 18, 588, 5711, 5621, 1082, 202, 2211, 18, 723, 273, 618, 31, 1082, 202, 759, 26347, 486, 3577, 364, 3511, 16, 333, 9635, 353, 3577, 358, 336, 326, 3246, 1353, 2145, 1082, 202, 9400, 4237, 9400, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 1082, 202, 7589, 9400, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 1082, 202, 7589, 9400, 18, 542, 3744, 12, 2704, 14192, 3744, 10663, 1082, 202, 7589, 3616, 273, 394, 12569, 12, 7589, 9400, 16, 348, 8588, 18, 10687, 1769, 2 ]
recalculatePanNodes();
public void setActiveRegion(Rectangle2D region) { if(region != null) { activeRegion = region; recalculatePanNodes(); } else { region = new Rectangle2D.Double(0,0,0,0); } }
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/f82d914fe97ef0c74bef944bf12ae4961776c814/BrowserCamera.java/clean/SRC/org/openmicroscopy/shoola/agents/browser/ui/BrowserCamera.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20669, 5165, 12, 19463, 22, 40, 3020, 13, 565, 288, 3639, 309, 12, 6858, 480, 446, 13, 3639, 288, 5411, 2695, 5165, 273, 3020, 31, 10792, 289, 3639, 469, 3639, 288, 5411, 3020, 273, 394, 13264, 22, 40, 18, 5265, 12, 20, 16, 20, 16, 20, 16, 20, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 1071, 918, 20669, 5165, 12, 19463, 22, 40, 3020, 13, 565, 288, 3639, 309, 12, 6858, 480, 446, 13, 3639, 288, 5411, 2695, 5165, 273, 3020, 31, 10792, 289, 3639, 469, 3639, 288, 5411, 3020, 273, 394, 13264, 22, 40, 18, 5265, 12, 20, 16, 20, 16, 20, 16, 20, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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<Node> i = requiredPluginNodeList.iterator(); i.hasNext(); ) { Node node = i.next();
for (Node node : (Iterable<Node>) requiredPluginNodeList) {
private void parseOldPluginDescriptor(String directory, Document document, boolean isDependent) throws DocumentException, EclipseClasspathException { // In Eclipse 2.1.x, all of the information we need // is in plugin.xml. Node plugin = document.selectSingleNode("/plugin"); pluginId = plugin.valueOf("@id"); //System.out.println("Plugin id is " + pluginId); pluginVersion = plugin.valueOf("@version"); if (pluginVersion.equals("")) throw new EclipseClasspathException("Cannot determine plugin version"); // Extract required plugins List requiredPluginNodeList = document.selectNodes("/plugin/requires/import"); for (Iterator<Node> i = requiredPluginNodeList.iterator(); i.hasNext(); ) { Node node = i.next(); String requiredPluginId = node.valueOf("@plugin"); if (requiredPluginId.equals("")) throw new EclipseClasspathException("Import has no plugin id"); //System.out.println(" Required plugin ==> " + requiredPluginId); requiredPluginIdList.add(requiredPluginId); } // Extract exported libraries List exportedLibraryNodeList = document.selectNodes("/plugin/runtime/library"); for (Iterator<Node> i = exportedLibraryNodeList.iterator(); i.hasNext(); ) { Node node = i.next(); String jarName = node.valueOf("@name"); if (jarName.equals("")) throw new EclipseClasspathException("Could not get name of exported library"); jarName = replaceSpecial(jarName); File jarFile = new File(jarName); if (!jarFile.isAbsolute()) { // Make relative to plugin directory jarFile = new File(directory, jarName); } exportedLibraryList.add(jarFile.getPath()); } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/a213d24f4ead8189007eb2a8bde1b684de7cecb8/EclipseClasspath.java/clean/findbugs/src/tools/edu/umd/cs/findbugs/tools/eclipse/EclipseClasspath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 1109, 7617, 3773, 3187, 12, 780, 1867, 16, 4319, 1668, 16, 1250, 353, 18571, 13, 1082, 202, 15069, 4319, 503, 16, 20840, 10472, 17461, 503, 288, 1082, 202, 759, 657, 20840, 10472, 576, 18, 21, 18, 92, 16, 777, 434, 326, 1779, 732, 1608, 1082, 202, 759, 353, 316, 1909, 18, 2902, 18, 1082, 202, 907, 1909, 273, 1668, 18, 4025, 5281, 907, 2932, 19, 4094, 8863, 1082, 202, 4094, 548, 273, 1909, 18, 1132, 951, 2932, 36, 350, 8863, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 3773, 612, 353, 315, 397, 1909, 548, 1769, 1082, 202, 4094, 1444, 273, 1909, 18, 1132, 951, 2932, 36, 1589, 8863, 1082, 202, 430, 261, 4094, 1444, 18, 14963, 2932, 6, 3719, 9506, 202, 12849, 394, 20840, 10472, 17461, 503, 2932, 4515, 4199, 1909, 1177, 8863, 1082, 202, 759, 8152, 1931, 4799, 1082, 202, 682, 1931, 3773, 19914, 273, 1668, 18, 4025, 3205, 2932, 19, 4094, 19, 18942, 19, 5666, 8863, 1082, 202, 1884, 261, 3198, 32, 907, 34, 277, 273, 1931, 3773, 19914, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 9506, 202, 907, 756, 273, 225, 277, 18, 4285, 5621, 9506, 202, 780, 1931, 3773, 548, 273, 756, 18, 1132, 951, 2932, 36, 4094, 8863, 9506, 202, 430, 261, 4718, 3773, 548, 18, 14963, 2932, 6, 3719, 6862, 202, 12849, 394, 20840, 10472, 17461, 503, 2932, 5010, 711, 1158, 1909, 612, 8863, 9506, 202, 759, 3163, 18, 659, 18, 8222, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 1109, 7617, 3773, 3187, 12, 780, 1867, 16, 4319, 1668, 16, 1250, 353, 18571, 13, 1082, 202, 15069, 4319, 503, 16, 20840, 10472, 17461, 503, 288, 1082, 202, 759, 657, 20840, 10472, 576, 18, 21, 18, 92, 16, 777, 434, 326, 1779, 732, 1608, 1082, 202, 759, 353, 316, 1909, 18, 2902, 18, 1082, 202, 907, 1909, 273, 1668, 18, 4025, 5281, 907, 2932, 19, 4094, 8863, 1082, 202, 4094, 548, 273, 1909, 18, 1132, 951, 2932, 36, 350, 8863, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 3773, 612, 353, 315, 397, 1909, 548, 1769, 1082, 202, 4094, 1444, 273, 1909, 18, 1132, 951, 2932, 36, 1589, 8863, 1082, 202, 430, 261, 4094, 2 ]
if(!task.isLocal()) { for (AbstractRepositoryQuery query : MylarTaskListPlugin.getTaskListManager().getTaskList().getQueries()) { refresh(query); } }
public void localInfoChanged(ITask task) { if(task.getCategory() == null) { refresh(null); } else { refresh(task.getCategory()); } if(!task.isLocal()) { for (AbstractRepositoryQuery query : MylarTaskListPlugin.getTaskListManager().getTaskList().getQueries()) { refresh(query); } } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/58dbe3814885a42fa42967aec928955130401016/TaskListView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TaskListView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1191, 966, 5033, 12, 1285, 835, 1562, 13, 288, 25083, 202, 430, 12, 4146, 18, 588, 4457, 1435, 422, 446, 13, 288, 9506, 202, 9144, 12, 2011, 1769, 1082, 202, 97, 469, 288, 9506, 202, 9144, 12, 4146, 18, 588, 4457, 10663, 1082, 202, 97, 25083, 202, 430, 12, 5, 4146, 18, 291, 2042, 10756, 288, 6862, 9506, 202, 1884, 261, 7469, 3305, 1138, 843, 294, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 7675, 588, 9592, 10756, 288, 6862, 202, 9144, 12, 2271, 1769, 9506, 202, 97, 6862, 1082, 202, 97, 6862, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1191, 966, 5033, 12, 1285, 835, 1562, 13, 288, 25083, 202, 430, 12, 4146, 18, 588, 4457, 1435, 422, 446, 13, 288, 9506, 202, 9144, 12, 2011, 1769, 1082, 202, 97, 469, 288, 9506, 202, 9144, 12, 4146, 18, 588, 4457, 10663, 1082, 202, 97, 25083, 202, 430, 12, 5, 4146, 18, 291, 2042, 10756, 288, 6862, 9506, 202, 1884, 261, 7469, 3305, 1138, 843, 294, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 7675, 588, 9592, 10756, 288, 6862, 202, 9144, 12, 2271, 1769, 9506, 202, 97, 6862, 1082, 202, 97, 6862, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return "Completed "+(100*(fetchedBlocks)/minSuccessfulBlocks)+"% "+fetchedBlocks+"/"+minSuccessfulBlocks+" (failed "+failedBlocks+", fatally "+fatallyFailedBlocks+", total "+totalBlocks+")" + (finalizedTotal ? " (finalized total)" : "");
StringBuffer sb = new StringBuffer(); sb.append("Completed "); if(minSuccessfulBlocks == 0 && fetchedBlocks == 0) minSuccessfulBlocks = 1; if(minSuccessfulBlocks == 0) { Logger.error(this, "minSuccessfulBlocks=0, fetchedBlocks="+fetchedBlocks+", totalBlocks="+totalBlocks+ ", failedBlocks="+failedBlocks+", fatallyFailedBlocks="+fatallyFailedBlocks+", finalizedTotal="+finalizedTotal, new Exception("debug")); } else { sb.append((100*(fetchedBlocks)/minSuccessfulBlocks)); sb.append('%'); } sb.append(' '); sb.append(fetchedBlocks); sb.append('/'); sb.append(minSuccessfulBlocks); sb.append(" (failed "); sb.append(failedBlocks); sb.append(", fatally "); sb.append(fatallyFailedBlocks); sb.append(", total "); sb.append(totalBlocks); sb.append(") "); sb.append(finalizedTotal ? " (finalized total)" : ""); return sb.toString();
public String getDescription() { return "Completed "+(100*(fetchedBlocks)/minSuccessfulBlocks)+"% "+fetchedBlocks+"/"+minSuccessfulBlocks+" (failed "+failedBlocks+", fatally "+fatallyFailedBlocks+", total "+totalBlocks+")" + (finalizedTotal ? " (finalized total)" : ""); }
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/d1b5bc13f972589ace14855129e1510ee45525e7/SplitfileProgressEvent.java/buggy/src/freenet/client/events/SplitfileProgressEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 11056, 1435, 288, 202, 202, 2463, 315, 9556, 13773, 12, 6625, 21556, 5754, 329, 6450, 13176, 1154, 14277, 6450, 13, 9078, 9, 13773, 5754, 329, 6450, 9078, 4898, 15, 1154, 14277, 6450, 9078, 261, 7307, 13773, 7307, 6450, 15, 3113, 284, 270, 1230, 13773, 74, 270, 1230, 2925, 6450, 15, 3113, 2078, 13773, 4963, 6450, 9078, 2225, 397, 1082, 202, 12, 6385, 1235, 5269, 692, 315, 261, 6385, 1235, 2078, 2225, 294, 1408, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 482, 514, 11056, 1435, 288, 202, 202, 2463, 315, 9556, 13773, 12, 6625, 21556, 5754, 329, 6450, 13176, 1154, 14277, 6450, 13, 9078, 9, 13773, 5754, 329, 6450, 9078, 4898, 15, 1154, 14277, 6450, 9078, 261, 7307, 13773, 7307, 6450, 15, 3113, 284, 270, 1230, 13773, 74, 270, 1230, 2925, 6450, 15, 3113, 2078, 13773, 4963, 6450, 9078, 2225, 397, 1082, 202, 12, 6385, 1235, 5269, 692, 315, 261, 6385, 1235, 2078, 2225, 294, 1408, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public RubyString downcase_bang() {
public IRubyObject downcase_bang() {
public RubyString downcase_bang() { String result = getValue().toLowerCase(); if (result.equals(getValue())) { return nilString(getRuntime()); } setValue(result); return this; }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/b72a2862ae5b2f01f9a767ef2ce248fd785857c4/RubyString.java/buggy/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 21662, 67, 70, 539, 1435, 288, 3639, 514, 563, 273, 2366, 7675, 869, 5630, 5621, 3639, 309, 261, 2088, 18, 14963, 12, 24805, 1435, 3719, 288, 5411, 327, 515, 780, 12, 588, 5576, 10663, 3639, 289, 202, 202, 542, 620, 12, 2088, 1769, 202, 202, 2463, 333, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 15908, 10340, 921, 21662, 67, 70, 539, 1435, 288, 3639, 514, 563, 273, 2366, 7675, 869, 5630, 5621, 3639, 309, 261, 2088, 18, 14963, 12, 24805, 1435, 3719, 288, 5411, 327, 515, 780, 12, 588, 5576, 10663, 3639, 289, 202, 202, 542, 620, 12, 2088, 1769, 202, 202, 2463, 333, 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 ]
LOG.debug(" fontUnderline='"+fontUnderline+"'");
protected void setProperties(UIComponent uiComponent) { if (LOG.isDebugEnabled()) { if (TabComponent.COMPONENT_TYPE==getComponentType()) { LOG.debug("Component id='"+getId()+"' type='"+getComponentType()+"'."); } LOG.debug(" text='"+text+"'"); LOG.debug(" fontSize='"+fontSize+"'"); LOG.debug(" fontBold='"+fontBold+"'"); LOG.debug(" fontUnderline='"+fontUnderline+"'"); LOG.debug(" fontItalic='"+fontItalic+"'"); LOG.debug(" fontName='"+fontName+"'"); LOG.debug(" textAlignment='"+textAlignment+"'"); LOG.debug(" disabled='"+disabled+"'"); LOG.debug(" imageURL='"+imageURL+"'"); LOG.debug(" disabledImageURL='"+disabledImageURL+"'"); LOG.debug(" hoverImageURL='"+hoverImageURL+"'"); LOG.debug(" selectedImageURL='"+selectedImageURL+"'"); LOG.debug(" accessKey='"+accessKey+"'"); } super.setProperties(uiComponent); if ((uiComponent instanceof TabComponent)==false) { throw new IllegalStateException("Component specified by tag is not instanceof of 'TabComponent'."); } TabComponent component = (TabComponent) uiComponent; FacesContext facesContext = getFacesContext(); Application application = facesContext.getApplication(); if (text != null) { if (isValueReference(text)) { ValueBinding vb = application.createValueBinding(text); component.setText(vb); } else { component.setText(text); } } if (fontSize != null) { if (isValueReference(fontSize)) { ValueBinding vb = application.createValueBinding(fontSize); component.setFontSize(vb); } else { component.setFontSize(fontSize); } } if (fontBold != null) { if (isValueReference(fontBold)) { ValueBinding vb = application.createValueBinding(fontBold); component.setFontBold(vb); } else { component.setFontBold(getBoolean(fontBold)); } } if (fontUnderline != null) { if (isValueReference(fontUnderline)) { ValueBinding vb = application.createValueBinding(fontUnderline); component.setFontUnderline(vb); } else { component.setFontUnderline(getBoolean(fontUnderline)); } } if (fontItalic != null) { if (isValueReference(fontItalic)) { ValueBinding vb = application.createValueBinding(fontItalic); component.setFontItalic(vb); } else { component.setFontItalic(getBoolean(fontItalic)); } } if (fontName != null) { if (isValueReference(fontName)) { ValueBinding vb = application.createValueBinding(fontName); component.setFontName(vb); } else { component.setFontName(fontName); } } if (textAlignment != null) { if (isValueReference(textAlignment)) { ValueBinding vb = application.createValueBinding(textAlignment); component.setTextAlignment(vb); } else { component.setTextAlignment(textAlignment); } } if (disabled != null) { if (isValueReference(disabled)) { ValueBinding vb = application.createValueBinding(disabled); component.setDisabled(vb); } else { component.setDisabled(getBool(disabled)); } } if (imageURL != null) { if (isValueReference(imageURL)) { ValueBinding vb = application.createValueBinding(imageURL); component.setImageURL(vb); } else { component.setImageURL(imageURL); } } if (disabledImageURL != null) { if (isValueReference(disabledImageURL)) { ValueBinding vb = application.createValueBinding(disabledImageURL); component.setDisabledImageURL(vb); } else { component.setDisabledImageURL(disabledImageURL); } } if (hoverImageURL != null) { if (isValueReference(hoverImageURL)) { ValueBinding vb = application.createValueBinding(hoverImageURL); component.setHoverImageURL(vb); } else { component.setHoverImageURL(hoverImageURL); } } if (selectedImageURL != null) { if (isValueReference(selectedImageURL)) { ValueBinding vb = application.createValueBinding(selectedImageURL); component.setSelectedImageURL(vb); } else { component.setSelectedImageURL(selectedImageURL); } } if (accessKey != null) { if (isValueReference(accessKey)) { ValueBinding vb = application.createValueBinding(accessKey); component.setAccessKey(vb); } else { component.setAccessKey(accessKey); } } }
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/TabTag.java/buggy/org.rcfaces.core/src/org/rcfaces/core/internal/taglib/TabTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 23126, 12, 5370, 1841, 5915, 1841, 13, 288, 202, 202, 430, 261, 4842, 18, 291, 2829, 1526, 10756, 288, 1082, 202, 430, 261, 5661, 1841, 18, 22922, 67, 2399, 631, 588, 28116, 10756, 288, 9506, 202, 4842, 18, 4148, 2932, 1841, 612, 13396, 15, 26321, 1435, 15, 5187, 618, 13396, 15, 588, 28116, 1435, 15, 5187, 1199, 1769, 1082, 202, 97, 1082, 202, 4842, 18, 4148, 2932, 225, 977, 13396, 15, 955, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 16746, 13396, 15, 5776, 1225, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 3512, 38, 1673, 13396, 15, 5776, 38, 1673, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 3512, 14655, 1369, 13396, 15, 5776, 14655, 1369, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 3512, 7193, 21466, 13396, 15, 5776, 7193, 21466, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 3512, 461, 13396, 15, 5776, 461, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 977, 11535, 13396, 15, 955, 11535, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 5673, 13396, 15, 9278, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 1316, 1785, 13396, 15, 2730, 1785, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 5673, 2040, 1785, 13396, 15, 9278, 2040, 1785, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 15758, 2040, 1785, 13396, 15, 24969, 2040, 1785, 9078, 4970, 1769, 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, 1117, 918, 23126, 12, 5370, 1841, 5915, 1841, 13, 288, 202, 202, 430, 261, 4842, 18, 291, 2829, 1526, 10756, 288, 1082, 202, 430, 261, 5661, 1841, 18, 22922, 67, 2399, 631, 588, 28116, 10756, 288, 9506, 202, 4842, 18, 4148, 2932, 1841, 612, 13396, 15, 26321, 1435, 15, 5187, 618, 13396, 15, 588, 28116, 1435, 15, 5187, 1199, 1769, 1082, 202, 97, 1082, 202, 4842, 18, 4148, 2932, 225, 977, 13396, 15, 955, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 16746, 13396, 15, 5776, 1225, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 3512, 38, 1673, 13396, 15, 5776, 38, 1673, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 2 ]
try { odiResult.last( groupLevel ); } catch ( DataException e ) { throw e; }
odiResult.last( groupLevel );
public void skipToEnd( int groupLevel ) throws DataException { checkStarted( ); try { odiResult.last( groupLevel ); } catch ( DataException e ) { throw e; } logger.logp( Level.FINER, ResultIterator.class.getName( ), "skipToEnd", "skipping rows to the last row in the current group" ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/51c480e730aa782efb46db6945cf02b081ce96aa/ResultIterator.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ResultIterator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2488, 774, 1638, 12, 509, 1041, 2355, 262, 1216, 1910, 503, 202, 95, 202, 202, 1893, 9217, 12, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 369, 77, 1253, 18, 2722, 12, 1041, 2355, 11272, 202, 202, 97, 202, 202, 14683, 261, 1910, 503, 425, 262, 202, 202, 95, 1082, 202, 12849, 425, 31, 202, 202, 97, 202, 202, 4901, 18, 1330, 84, 12, 4557, 18, 7263, 654, 16, 9506, 202, 1253, 3198, 18, 1106, 18, 17994, 12, 262, 16, 9506, 202, 6, 7457, 774, 1638, 3113, 9506, 202, 6, 7457, 1382, 2595, 358, 326, 1142, 1027, 316, 326, 783, 1041, 6, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2488, 774, 1638, 12, 509, 1041, 2355, 262, 1216, 1910, 503, 202, 95, 202, 202, 1893, 9217, 12, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 369, 77, 1253, 18, 2722, 12, 1041, 2355, 11272, 202, 202, 97, 202, 202, 14683, 261, 1910, 503, 425, 262, 202, 202, 95, 1082, 202, 12849, 425, 31, 202, 202, 97, 202, 202, 4901, 18, 1330, 84, 12, 4557, 18, 7263, 654, 16, 9506, 202, 1253, 3198, 18, 1106, 18, 17994, 12, 262, 16, 9506, 202, 6, 7457, 774, 1638, 3113, 9506, 202, 6, 7457, 1382, 2595, 358, 326, 1142, 1027, 316, 326, 783, 1041, 6, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
definePrivateMethod("remove_method", Arity.singleArgument());
definePrivateMethod("remove_method", Arity.optional());
public void initializeClass() { defineMethod("===", Arity.singleArgument(), "op_eqq"); defineMethod("<=>", Arity.singleArgument(), "op_cmp"); defineMethod("<", Arity.singleArgument(), "op_lt"); defineMethod("<=", Arity.singleArgument(), "op_le"); defineMethod(">", Arity.singleArgument(), "op_gt"); defineMethod(">=", Arity.singleArgument(), "op_ge"); defineMethod("ancestors", Arity.noArguments()); defineMethod("class_variables", Arity.noArguments()); defineMethod("clone", Arity.noArguments(), "rbClone"); defineMethod("const_defined?", Arity.singleArgument(), "const_defined"); defineMethod("const_get", Arity.singleArgument(), "const_get"); defineMethod("const_missing", Arity.singleArgument()); defineMethod("const_set", Arity.twoArguments()); defineMethod("constants", Arity.noArguments()); defineMethod("dup", Arity.noArguments()); defineMethod("extended", Arity.singleArgument()); defineMethod("included", Arity.singleArgument()); defineMethod("included_modules", Arity.noArguments()); defineMethod("initialize", Arity.optional()); defineMethod("instance_method", Arity.singleArgument()); defineMethod("instance_methods", Arity.optional()); defineMethod("method_defined?", Arity.singleArgument(), "method_defined"); defineMethod("module_eval", Arity.optional()); defineMethod("name", Arity.noArguments()); defineMethod("private_class_method", Arity.optional()); defineMethod("private_instance_methods", Arity.optional()); defineMethod("protected_instance_methods", Arity.optional()); defineMethod("public_class_method", Arity.optional()); defineMethod("public_instance_methods", Arity.optional()); defineMethod("to_s", Arity.noArguments()); defineAlias("class_eval", "module_eval"); definePrivateMethod("alias_method", Arity.twoArguments()); definePrivateMethod("append_features", Arity.singleArgument()); definePrivateMethod("attr", Arity.optional()); definePrivateMethod("attr_reader", Arity.optional()); definePrivateMethod("attr_writer", Arity.optional()); definePrivateMethod("attr_accessor", Arity.optional()); definePrivateMethod("define_method", Arity.optional()); definePrivateMethod("extend_object", Arity.singleArgument()); definePrivateMethod("include", Arity.optional()); definePrivateMethod("method_added", Arity.singleArgument()); definePrivateMethod("module_function", Arity.optional()); definePrivateMethod("public", Arity.optional(), "rbPublic"); definePrivateMethod("protected", Arity.optional(), "rbProtected"); definePrivateMethod("private", Arity.optional(), "rbPrivate"); definePrivateMethod("remove_class_variable", Arity.singleArgument()); definePrivateMethod("remove_const", Arity.singleArgument()); definePrivateMethod("remove_method", Arity.singleArgument()); definePrivateMethod("undef_method", Arity.singleArgument()); defineSingletonMethod("nesting", Arity.noArguments()); }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/6f1403beec9694c559da08849101de395faccd1f/ModuleMetaClass.java/buggy/src/org/jruby/runtime/builtin/meta/ModuleMetaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 4046, 797, 1435, 288, 202, 3639, 4426, 1305, 2932, 631, 1546, 16, 1201, 560, 18, 7526, 1379, 9334, 315, 556, 67, 11253, 85, 8863, 202, 3639, 4426, 1305, 2932, 32, 33, 2984, 16, 1201, 560, 18, 7526, 1379, 9334, 315, 556, 67, 9625, 8863, 202, 3639, 4426, 1305, 2932, 32, 3113, 1201, 560, 18, 7526, 1379, 9334, 315, 556, 67, 5618, 8863, 202, 3639, 4426, 1305, 2932, 32, 1546, 16, 1201, 560, 18, 7526, 1379, 9334, 315, 556, 67, 298, 8863, 202, 3639, 4426, 1305, 2932, 2984, 16, 1201, 560, 18, 7526, 1379, 9334, 315, 556, 67, 4521, 8863, 202, 3639, 4426, 1305, 2932, 34, 1546, 16, 1201, 560, 18, 7526, 1379, 9334, 315, 556, 67, 908, 8863, 202, 3639, 4426, 1305, 2932, 304, 11116, 3113, 1201, 560, 18, 2135, 4628, 10663, 202, 3639, 4426, 1305, 2932, 1106, 67, 7528, 3113, 1201, 560, 18, 2135, 4628, 10663, 202, 3639, 4426, 1305, 2932, 14056, 3113, 1201, 560, 18, 2135, 4628, 9334, 315, 6731, 10930, 8863, 202, 3639, 4426, 1305, 2932, 10248, 67, 2178, 35, 3113, 1201, 560, 18, 7526, 1379, 9334, 315, 10248, 67, 2178, 8863, 202, 3639, 4426, 1305, 2932, 10248, 67, 588, 3113, 1201, 560, 18, 7526, 1379, 9334, 315, 10248, 67, 588, 8863, 202, 3639, 4426, 1305, 2932, 10248, 67, 7337, 3113, 1201, 560, 18, 7526, 1379, 10663, 202, 3639, 4426, 1305, 2932, 10248, 67, 542, 3113, 1201, 560, 18, 15415, 4628, 10663, 202, 3639, 4426, 1305, 2932, 13358, 3113, 1201, 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, 4046, 797, 1435, 288, 202, 3639, 4426, 1305, 2932, 631, 1546, 16, 1201, 560, 18, 7526, 1379, 9334, 315, 556, 67, 11253, 85, 8863, 202, 3639, 4426, 1305, 2932, 32, 33, 2984, 16, 1201, 560, 18, 7526, 1379, 9334, 315, 556, 67, 9625, 8863, 202, 3639, 4426, 1305, 2932, 32, 3113, 1201, 560, 18, 7526, 1379, 9334, 315, 556, 67, 5618, 8863, 202, 3639, 4426, 1305, 2932, 32, 1546, 16, 1201, 560, 18, 7526, 1379, 9334, 315, 556, 67, 298, 8863, 202, 3639, 4426, 1305, 2932, 2984, 16, 1201, 560, 18, 7526, 1379, 9334, 315, 556, 67, 4521, 8863, 202, 3639, 4426, 1305, 2932, 34, 1546, 16, 1201, 560, 18, 7526, 1379, 9334, 315, 556, 2 ]
for (int slotIndex = 0; slotIndex < lessonSlotListResolved.length; slotIndex++) {
for (int slotIndex = 0; slotIndex < lessonSlotListResolved.length; slotIndex++) {
public StringBuffer render(Locale locale, PageContext pageContext) { StringBuffer strBuffer = new StringBuffer(""); HashMap slotLessons = new HashMap(); TimeTableSlot[][] grid = timeTable.getTimeTableGrid(); strBuffer.append("<table class='timetable' cellspacing='0' cellpadding='0' width='90%'>"); renderHeader(strBuffer, locale, pageContext); for (int hourIndex = 0; hourIndex < timeTable.getNumberOfHours().intValue(); hourIndex++) { strBuffer.append("<tr>\r\n"); strBuffer.append("<td width='15%' class='period-hours'>"); strBuffer.append(getHourLabelByIndex(hourIndex)).append("</td>\r\n"); /* iterate over days */ for (int dayIndex = 0; dayIndex < timeTable.getNumberOfDays().intValue(); dayIndex++) { DayColumn dayColumn = timeTable.getDayColumn(dayIndex); TimeTableSlot timeTableSlot = grid[dayIndex][hourIndex]; if (timeTableSlot != null) { List colisionList = timeTableSlot.getLessonSlotList(); InfoLessonWrapper[] lessonSlotListResolved = resolveColisions(colisionList, timeTable.getDayColumn(dayIndex)); for (int slotIndex = 0; slotIndex < lessonSlotListResolved.length; slotIndex++) { InfoLessonWrapper infoLessonWrapper = lessonSlotListResolved[slotIndex]; strBuffer.append("<td "); if (infoLessonWrapper != null) { strBuffer.append("style='background-color: ").append( colorPicker.getBackgroundColor(infoLessonWrapper)).append("' "); } int slotColspan = calculateColspan(infoLessonWrapper, lessonSlotListResolved, slotIndex, dayColumn); if (slotColspan > 1) { strBuffer.append(" colspan ='").append(slotColspan).append("'"); slotIndex += slotColspan - 1; } strBuffer.append(" class='"); strBuffer.append(getSlotCssClass(infoLessonWrapper, hourIndex)); strBuffer.append("' "); if (infoLessonWrapper != null) { SimpleDateFormat dateFormat = new SimpleDateFormat("k:mm"); Calendar start = infoLessonWrapper.getLessonSlot().getInfoLessonWrapper() .getInfoShowOccupation().getInicio(); Calendar end = infoLessonWrapper.getLessonSlot().getInfoLessonWrapper() .getInfoShowOccupation().getFim(); String startLabel = dateFormat.format(start.getTime()); String endLabel = dateFormat.format(end.getTime()); strBuffer.append(" title='").append(startLabel).append("-").append(endLabel) .append("'"); } strBuffer.append(">"); if ((infoLessonWrapper != null) && (infoLessonWrapper.getLessonSlot().getStartIndex() == hourIndex)) { strBuffer.append(this.lessonSlotContentRenderer.render(infoLessonWrapper .getLessonSlot())); if (this.lessonSlotContentRenderer instanceof ShiftEnrollmentTimeTableLessonContentRenderer) { slotLessons.put(slotIndex+"-"+dayIndex, infoLessonWrapper); } } else { if (this.lessonSlotContentRenderer instanceof ShiftEnrollmentTimeTableLessonContentRenderer && getSlotCssClass((InfoLessonWrapper) slotLessons.get(slotIndex+"-"+dayIndex), hourIndex).equalsIgnoreCase("period-last-slot")) { LessonSlotContentRendererShift lessonSlotContentRendererShift = (LessonSlotContentRendererShift) this.lessonSlotContentRenderer; InfoLessonWrapper infoLessonWrapperHashMap = (InfoLessonWrapper) slotLessons .get(slotIndex+"-"+dayIndex); strBuffer.append(lessonSlotContentRendererShift .lastRender(infoLessonWrapperHashMap.getLessonSlot())); } else{ strBuffer.append("&nbsp;"); } } strBuffer.append("</td>\r\n"); } } else { /** no lessons */ int colspan = dayColumn.getMaxColisionSize().intValue(); String cssClass = getSlotCssClass(null, hourIndex); strBuffer.append("<td ").append(" class='").append(cssClass).append("' "); if (colspan > 1) { strBuffer.append("colspan='").append(colspan).append("'"); } strBuffer.append(">").append("&nbsp;").append("</td>\r\n"); } } strBuffer.append("</tr>\r\n"); } strBuffer.append("</table>"); return strBuffer; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/163816e56154a9cf270f6dff0529e83898daecbb/TimeTableRenderer.java/buggy/src/net/sourceforge/fenixedu/presentationTier/TagLib/sop/v3/TimeTableRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6674, 1743, 12, 3916, 2573, 16, 3460, 1042, 21442, 13, 288, 7734, 6674, 609, 1892, 273, 394, 6674, 2932, 8863, 3639, 4317, 4694, 15313, 7008, 273, 394, 4317, 5621, 3639, 2647, 1388, 8764, 63, 6362, 65, 3068, 273, 813, 1388, 18, 588, 950, 1388, 6313, 5621, 3639, 609, 1892, 18, 6923, 2932, 32, 2121, 667, 2218, 8584, 278, 429, 11, 2484, 14080, 2218, 20, 11, 2484, 9598, 2218, 20, 11, 1835, 2218, 9349, 8604, 2984, 1769, 3639, 1743, 1864, 12, 701, 1892, 16, 2573, 16, 21442, 1769, 3639, 364, 261, 474, 6126, 1016, 273, 374, 31, 6126, 1016, 411, 813, 1388, 18, 588, 9226, 14910, 7675, 474, 620, 5621, 6126, 1016, 27245, 288, 5411, 609, 1892, 18, 6923, 2932, 32, 313, 5333, 86, 64, 82, 8863, 5411, 609, 1892, 18, 6923, 2932, 32, 4465, 1835, 2218, 3600, 8604, 667, 2218, 6908, 17, 16814, 28533, 1769, 5411, 609, 1892, 18, 6923, 12, 588, 13433, 2224, 21268, 12, 12091, 1016, 13, 2934, 6923, 2932, 1757, 4465, 5333, 86, 64, 82, 8863, 5411, 1748, 7401, 1879, 4681, 1195, 5411, 364, 261, 474, 2548, 1016, 273, 374, 31, 2548, 1016, 411, 813, 1388, 18, 588, 9226, 9384, 7675, 474, 620, 5621, 2548, 1016, 27245, 288, 7734, 13735, 1494, 2548, 1494, 273, 813, 1388, 18, 588, 4245, 1494, 12, 2881, 1016, 1769, 27573, 2647, 1388, 8764, 813, 1388, 8764, 273, 3068, 63, 2881, 1016, 6362, 12091, 1016, 15533, 7734, 309, 261, 957, 1388, 8764, 480, 446, 13, 288, 10792, 987, 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, 6674, 1743, 12, 3916, 2573, 16, 3460, 1042, 21442, 13, 288, 7734, 6674, 609, 1892, 273, 394, 6674, 2932, 8863, 3639, 4317, 4694, 15313, 7008, 273, 394, 4317, 5621, 3639, 2647, 1388, 8764, 63, 6362, 65, 3068, 273, 813, 1388, 18, 588, 950, 1388, 6313, 5621, 3639, 609, 1892, 18, 6923, 2932, 32, 2121, 667, 2218, 8584, 278, 429, 11, 2484, 14080, 2218, 20, 11, 2484, 9598, 2218, 20, 11, 1835, 2218, 9349, 8604, 2984, 1769, 3639, 1743, 1864, 12, 701, 1892, 16, 2573, 16, 21442, 1769, 3639, 364, 261, 474, 6126, 1016, 273, 374, 31, 6126, 1016, 411, 813, 1388, 18, 588, 9226, 14910, 7675, 474, 620, 5621, 6126, 1016, 27245, 288, 5411, 609, 1892, 18, 2 ]
dock(previousAreaId, previousInsertBefore);
dock(initialAreaId, initialInsertBefore);
private void redock() { // Since the control might move 'far' we'll provide an animation Rectangle startRect = DragUtil.getDisplayBounds(draggedTrim.getControl()); RectangleAnimation animation = new RectangleAnimation( windowComposite.getShell(), startRect, previousLocation, 300); animation.schedule(); dock(previousAreaId, previousInsertBefore); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/a63b373fa0bd7a2ce67aeeb53ab8db2899e7a840/TrimDropTarget.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/TrimDropTarget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 1755, 975, 1435, 288, 540, 202, 759, 7897, 326, 3325, 4825, 3635, 296, 31246, 11, 732, 5614, 5615, 392, 8794, 540, 202, 19463, 787, 6120, 273, 28425, 1304, 18, 588, 4236, 5694, 12, 15997, 2423, 14795, 18, 588, 3367, 10663, 5411, 13264, 10816, 8794, 273, 394, 13264, 10816, 12, 10792, 2742, 9400, 18, 588, 13220, 9334, 787, 6120, 16, 2416, 2735, 16, 11631, 1769, 5411, 8794, 18, 10676, 5621, 5411, 5822, 12, 6769, 5484, 548, 16, 2172, 4600, 4649, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 1755, 975, 1435, 288, 540, 202, 759, 7897, 326, 3325, 4825, 3635, 296, 31246, 11, 732, 5614, 5615, 392, 8794, 540, 202, 19463, 787, 6120, 273, 28425, 1304, 18, 588, 4236, 5694, 12, 15997, 2423, 14795, 18, 588, 3367, 10663, 5411, 13264, 10816, 8794, 273, 394, 13264, 10816, 12, 10792, 2742, 9400, 18, 588, 13220, 9334, 787, 6120, 16, 2416, 2735, 16, 11631, 1769, 5411, 8794, 18, 10676, 5621, 5411, 5822, 12, 6769, 5484, 548, 16, 2172, 4600, 4649, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.localNames = localNames; this.localValues = new ArrayList(Collections.nCopies(localNames.size(), rubyNil));
this.localNames = someLocalNames; this.localValues = new ArrayList(Collections.nCopies(someLocalNames.size(), rubyNil));
public void resetLocalVariables(List localNames) { if (localNames == null || localNames.isEmpty()) { this.localNames = null; this.localValues = null; } else { this.localNames = localNames; this.localValues = new ArrayList(Collections.nCopies(localNames.size(), rubyNil)); } }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/ca6b16e996ea9af83ce593594b9c69b9364a9924/Scope.java/clean/src/org/jruby/runtime/Scope.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 2042, 6158, 12, 682, 1191, 1557, 13, 288, 3639, 309, 261, 3729, 1557, 422, 446, 747, 1191, 1557, 18, 291, 1921, 10756, 288, 5411, 333, 18, 3729, 1557, 273, 446, 31, 5411, 333, 18, 3729, 1972, 273, 446, 31, 3639, 289, 469, 288, 5411, 333, 18, 3729, 1557, 273, 1191, 1557, 31, 5411, 333, 18, 3729, 1972, 273, 394, 2407, 12, 15150, 18, 82, 15670, 12, 3729, 1557, 18, 1467, 9334, 22155, 12616, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 2042, 6158, 12, 682, 1191, 1557, 13, 288, 3639, 309, 261, 3729, 1557, 422, 446, 747, 1191, 1557, 18, 291, 1921, 10756, 288, 5411, 333, 18, 3729, 1557, 273, 446, 31, 5411, 333, 18, 3729, 1972, 273, 446, 31, 3639, 289, 469, 288, 5411, 333, 18, 3729, 1557, 273, 1191, 1557, 31, 5411, 333, 18, 3729, 1972, 273, 394, 2407, 12, 15150, 18, 82, 15670, 12, 3729, 1557, 18, 1467, 9334, 22155, 12616, 10019, 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 ]
setProgressMaximum(buffer.getLineCount() / PROGRESS_INTERVAL); setProgressValue(0);
setProgressMaximum(buffer.getLineCount() / PROGRESS_INTERVAL); setProgressValue(0);
private void write(Buffer buffer, OutputStream _out) throws IOException { String encoding = buffer.getStringProperty(Buffer.ENCODING); if(encoding.equals(MiscUtilities.UTF_8_Y)) { // not supported by Java... _out.write(UTF8_MAGIC_1); _out.write(UTF8_MAGIC_2); _out.write(UTF8_MAGIC_3); _out.flush(); encoding = "UTF-8"; } BufferedWriter out = new BufferedWriter( new OutputStreamWriter(_out,encoding), IOBUFSIZE); Segment lineSegment = new Segment(); String newline = buffer.getStringProperty(Buffer.LINESEP); if(newline == null) newline = System.getProperty("line.separator"); setProgressMaximum(buffer.getLineCount() / PROGRESS_INTERVAL); setProgressValue(0); int i = 0; while(i < buffer.getLineCount()) { buffer.getLineText(i,lineSegment); out.write(lineSegment.array,lineSegment.offset, lineSegment.count); if(i != buffer.getLineCount() - 1) { out.write(newline); } if(++i % PROGRESS_INTERVAL == 0) setProgressValue(i / PROGRESS_INTERVAL); } if(jEdit.getBooleanProperty("stripTrailingEOL") && buffer.getBooleanProperty(Buffer.TRAILING_EOL)) { out.write(newline); } out.close(); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/98049c0a782b8a9b881808eee0dbe7cca03d9fa0/BufferIORequest.java/clean/org/gjt/sp/jedit/buffer/BufferIORequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1045, 12, 1892, 1613, 16, 8962, 389, 659, 13, 202, 202, 15069, 1860, 202, 95, 202, 202, 780, 2688, 273, 1613, 18, 588, 780, 1396, 12, 1892, 18, 14672, 1769, 202, 202, 430, 12, 5999, 18, 14963, 12, 11729, 71, 11864, 18, 5159, 67, 28, 67, 61, 3719, 202, 202, 95, 1082, 202, 759, 486, 3260, 635, 5110, 2777, 1082, 202, 67, 659, 18, 2626, 12, 5159, 28, 67, 49, 22247, 67, 21, 1769, 1082, 202, 67, 659, 18, 2626, 12, 5159, 28, 67, 49, 22247, 67, 22, 1769, 1082, 202, 67, 659, 18, 2626, 12, 5159, 28, 67, 49, 22247, 67, 23, 1769, 1082, 202, 67, 659, 18, 11330, 5621, 1082, 202, 5999, 273, 315, 5159, 17, 28, 14432, 202, 202, 97, 202, 202, 17947, 2289, 596, 273, 394, 22490, 12, 1082, 202, 2704, 24248, 24899, 659, 16, 5999, 3631, 1082, 202, 4294, 3000, 42, 4574, 1769, 202, 202, 4131, 980, 4131, 273, 394, 10807, 5621, 202, 202, 780, 9472, 273, 1613, 18, 588, 780, 1396, 12, 1892, 18, 5997, 28610, 1769, 202, 202, 430, 12, 22861, 422, 446, 13, 1082, 202, 22861, 273, 2332, 18, 588, 1396, 2932, 1369, 18, 11287, 8863, 202, 202, 542, 5491, 13528, 12, 4106, 18, 588, 1670, 1380, 1435, 342, 4629, 19126, 67, 16435, 1769, 202, 202, 542, 5491, 620, 12, 20, 1769, 202, 202, 474, 277, 273, 374, 31, 202, 202, 17523, 12, 77, 411, 1613, 18, 588, 1670, 1380, 10756, 202, 202, 95, 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, 1045, 12, 1892, 1613, 16, 8962, 389, 659, 13, 202, 202, 15069, 1860, 202, 95, 202, 202, 780, 2688, 273, 1613, 18, 588, 780, 1396, 12, 1892, 18, 14672, 1769, 202, 202, 430, 12, 5999, 18, 14963, 12, 11729, 71, 11864, 18, 5159, 67, 28, 67, 61, 3719, 202, 202, 95, 1082, 202, 759, 486, 3260, 635, 5110, 2777, 1082, 202, 67, 659, 18, 2626, 12, 5159, 28, 67, 49, 22247, 67, 21, 1769, 1082, 202, 67, 659, 18, 2626, 12, 5159, 28, 67, 49, 22247, 67, 22, 1769, 1082, 202, 67, 659, 18, 2626, 12, 5159, 28, 67, 49, 22247, 67, 23, 1769, 1082, 202, 67, 659, 18, 11330, 5621, 1082, 202, 5999, 273, 2 ]
lastInstance = this;
public ObligationFactory() { this.classNameToObligationMap = new HashMap<String, Obligation>(); lastInstance = this; }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/541255078e52feeb04ebb9c336f4baf3d1ae8d31/ObligationFactory.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/obl/ObligationFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 531, 31627, 367, 1733, 1435, 288, 202, 202, 2211, 18, 12434, 774, 51, 31627, 367, 863, 273, 394, 4317, 32, 780, 16, 531, 31627, 367, 34, 5621, 202, 202, 2722, 1442, 273, 333, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 531, 31627, 367, 1733, 1435, 288, 202, 202, 2211, 18, 12434, 774, 51, 31627, 367, 863, 273, 394, 4317, 32, 780, 16, 531, 31627, 367, 34, 5621, 202, 202, 2722, 1442, 273, 333, 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 ]
if (handle instanceof TaggedValue) { return ((TaggedValue) handle).getType();
try { if (handle instanceof TaggedValue) { return ((TaggedValue) handle).getType(); } } catch (InvalidObjectException e) { throw new InvalidElementException(e);
public Object getTagDefinition(Object handle) { if (handle instanceof TaggedValue) { return ((TaggedValue) handle).getType(); } return illegalArgumentObject(handle); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/7bc74175450c014e7dde397ce290d1c53120b35f/FacadeMDRImpl.java/buggy/src/model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 11362, 1852, 12, 921, 1640, 13, 288, 3639, 309, 261, 4110, 1276, 30802, 620, 13, 288, 5411, 327, 14015, 18674, 620, 13, 1640, 2934, 588, 559, 5621, 3639, 289, 3639, 327, 16720, 1379, 921, 12, 4110, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 11362, 1852, 12, 921, 1640, 13, 288, 3639, 309, 261, 4110, 1276, 30802, 620, 13, 288, 5411, 327, 14015, 18674, 620, 13, 1640, 2934, 588, 559, 5621, 3639, 289, 3639, 327, 16720, 1379, 921, 12, 4110, 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 ]
public void startUp() throws PluginRuntimeException {}
public void startUp() throws PluginRuntimeException { }
public void startUp() throws PluginRuntimeException {}
50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/cd00889fb5930fea91d208ac97a4b7fafa399a8e/Plugin.java/buggy/src/java/org/apache/nutch/plugin/Plugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 787, 1211, 1435, 1216, 6258, 11949, 2618, 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, 0, 0 ]
[ 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, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 787, 1211, 1435, 1216, 6258, 11949, 2618, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
+ stack.getPort(this.getTransport()),
+ this.myPort,
public void run() { while (true) { // Create a new string message parser to parse the list of messages. // This is a huge performance hit -- need to optimize by pre-create // parser when one is needed.... if (myParser == null) { myParser = new StringMsgParser(); myParser.setParseExceptionListener(this); } // messages that we write out to him. DatagramPacket packet; if (stack.threadPoolSize != -1) {//ifdef SIMULATION/* ((UDPMessageProcessor)messageProcessor). messageQueueShadow.enterCriticalSection();//else*/ synchronized ( ((UDPMessageProcessor) messageProcessor).messageQueue)//endif// { while (((UDPMessageProcessor) messageProcessor) .messageQueue .isEmpty()) { // Check to see if we need to exit. if (!((UDPMessageProcessor) messageProcessor) .isRunning) return; try {//ifdef SIMULATION/* ((UDPMessageProcessor)messageProcessor). messageQueueShadow.doWait();//else */ ((UDPMessageProcessor) messageProcessor) .messageQueue.wait();//endif// } catch (InterruptedException ex) { if (!((UDPMessageProcessor) messageProcessor) .isRunning) return; } } packet = (DatagramPacket) ((UDPMessageProcessor) messageProcessor) .messageQueue .removeFirst(); }//ifdef SIMULATION/* ((UDPMessageProcessor)messageProcessor). messageQueueShadow.leaveCriticalSection();//endif*/ this.incomingPacket = packet; } else { packet = this.incomingPacket; } this.peerAddress = packet.getAddress(); int packetLength = packet.getLength(); // Read bytes and put it in a eueue. byte[] bytes = packet.getData(); byte[] msgBytes = new byte[packetLength]; System.arraycopy(bytes, 0, msgBytes, 0, packetLength); // Do debug logging. if (LogWriter.needsLogging) { this.stack.logWriter.logMessage( "UDPMessageChannel: peerAddress = " + peerAddress.getHostAddress() + "/" + packet.getPort()); this.stack.logWriter.logMessage("Length = " + packetLength); String msgString = new String(msgBytes, 0, packetLength); this.stack.logWriter.logMessage(msgString); } SIPMessage[] sipMessages = null; SIPMessage sipMessage = null; try { //ifdef SIMULATION/* this.receptionTime = SimSystem.currentTimeMillis(); // local delay for processing message. SimSystem.hold(this.stack.stackProcessingTime);//else */ this.receptionTime = System.currentTimeMillis();//endif// sipMessage = myParser.parseSIPMessage(msgBytes); myParser = null; } catch (ParseException ex) { myParser = null; // let go of the parser reference. if (LogWriter.needsLogging) { this.stack.logWriter.logMessage( "Rejecting message ! " + new String(msgBytes)); this.stack.logWriter.logMessage( "error message " + ex.getMessage()); this.stack.logWriter.logException(ex); } stack.logBadMessage(new String(msgBytes)); if (stack.threadPoolSize == -1) return; else continue; } // No parse exception but null message - reject it and // march on (or return). Bug report from Peter Parnes. // exit this message processor if the message did not parse. if (sipMessage == null) { if (LogWriter.needsLogging) { this.stack.logWriter.logMessage( "Rejecting message ! " + new String(msgBytes)); this.stack.logWriter.logMessage("Null message parsed."); } if (stack.threadPoolSize == -1) return; else continue; } ViaList viaList = sipMessage.getViaHeaders(); // Check for the required headers. if (sipMessage.getFrom() == null || //sipMessage.getFrom().getTag() == null || sipMessage.getTo() == null || sipMessage.getCallId() == null || sipMessage.getCSeq() == null || sipMessage.getViaHeaders() == null) { String badmsg = new String(msgBytes); if (LogWriter.needsLogging) { this.stack.logWriter.logMessage("bad message " + badmsg); this.stack.logWriter.logMessage( ">>> Dropped Bad Msg " + "From = " + sipMessage.getFrom() + "To = " + sipMessage.getTo() + "CallId = " + sipMessage.getCallId() + "CSeq = " + sipMessage.getCSeq() + "Via = " + sipMessage.getViaHeaders()); } stack.logBadMessage(badmsg); if (stack.threadPoolSize == -1) return; else continue; } // For a request first via header tells where the message // is coming from. // For response, just get the port from the packet. if (sipMessage instanceof SIPRequest) { Via v = (Via) viaList.first(); if (v.hasPort()) { if (sipMessage instanceof SIPRequest) { this.peerPort = v.getPort(); } } else this.peerPort = SIPMessageStack.DEFAULT_PORT; this.peerProtocol = v.getTransport(); try { this.peerAddress = packet.getAddress(); // Check to see if the received parameter matches // the peer address and tag it appropriately. // Bug fix by viswashanti.kadiyala@antepo.com if (!v .getSentBy() .getInetAddress() .equals(this.peerAddress)) v.setParameter( Via.RECEIVED, this.peerAddress.getHostName()); // this.peerAddress = v.getSentBy().getInetAddress(); } catch (java.net.UnknownHostException ex) { // Could not resolve the sender address. if (stack .serverLog .needsLogging(ServerLog.TRACE_MESSAGES)) { this.stack.serverLog.logMessage( sipMessage, this.getViaHost() + ":" + this.getViaPort(), stack.getHostAddress() + ":" + stack.getPort(this.getTransport()), "Dropped -- " + "Could not resolve VIA header address!", false); } if (LogWriter.needsLogging) { this.stack.logWriter.logMessage( "Rejecting message -- " + "could not resolve Via Address"); } continue; } catch (java.text.ParseException ex1) { InternalErrorHandler.handleException(ex1); } } if (sipMessage instanceof SIPRequest) { SIPRequest sipRequest = (SIPRequest) sipMessage; // This is a request - process it. ServerRequestInterface sipServerRequest = stack.newSIPServerRequest(sipRequest, this); // Drop it if there is no request returned if (sipServerRequest == null) { if (LogWriter.needsLogging) { this.stack.logWriter.logMessage( "Null request interface returned"); } continue; } if (LogWriter.needsLogging) this.stack.logWriter.logMessage( "About to process " + sipRequest.getFirstLine() + "/" + sipServerRequest); sipServerRequest.processRequest(sipRequest, this); if (LogWriter.needsLogging) this.stack.logWriter.logMessage( "Done processing " + sipRequest.getFirstLine() + "/" + sipServerRequest); // So far so good -- we will commit this message if // all processing is OK. if (stack .serverLog .needsLogging(ServerLog.TRACE_MESSAGES)) { if (sipServerRequest.getProcessingInfo() == null) { this.stack.serverLog.logMessage( sipMessage, sipRequest.getViaHost() + ":" + sipRequest.getViaPort(), stack.getHostAddress() + ":" + stack.getPort(this.getTransport()), false, new Long(receptionTime).toString()); } else { this.stack.serverLog.logMessage( sipMessage, sipRequest.getViaHost() + ":" + sipRequest.getViaPort(), stack.getHostAddress() + ":" + stack.getPort(this.getTransport()), sipServerRequest.getProcessingInfo(), false, new Long(receptionTime).toString()); } } } else { // Handle a SIP Reply message. SIPResponse sipResponse = (SIPResponse) sipMessage; ServerResponseInterface sipServerResponse = stack.newSIPServerResponse(sipResponse, this); if (sipServerResponse != null) { sipServerResponse.processResponse(sipResponse, this); // Normal processing of message. } else { if (LogWriter.needsLogging) { this.stack.logWriter.logMessage( "null sipServerResponse!"); } } } //((UDPMessageProcessor) messageProcessor).useCount--; if (stack.threadPoolSize == -1) { return; } } }
7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/63b5fc07ef36e450e7a62ac6008eb7178c0a5074/UDPMessageChannel.java/clean/trunk/src/gov/nist/javax/sip/stack/UDPMessageChannel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 7734, 1323, 261, 3767, 13, 288, 5411, 368, 1788, 279, 394, 533, 883, 2082, 358, 1109, 326, 666, 434, 2743, 18, 5411, 368, 1220, 353, 279, 366, 21627, 9239, 6800, 1493, 1608, 358, 10979, 635, 675, 17, 2640, 5411, 368, 2082, 1347, 1245, 353, 3577, 6265, 5411, 309, 261, 4811, 2678, 422, 446, 13, 288, 7734, 3399, 2678, 273, 394, 514, 3332, 2678, 5621, 7734, 3399, 2678, 18, 542, 13047, 2223, 12, 2211, 1769, 5411, 289, 5411, 368, 2743, 716, 732, 1045, 596, 358, 366, 381, 18, 5411, 6168, 17049, 6667, 4414, 31, 13491, 309, 261, 3772, 18, 5930, 18834, 480, 300, 21, 13, 288, 759, 430, 536, 31433, 1506, 2689, 20308, 27573, 14015, 20352, 1079, 5164, 13, 2150, 5164, 2934, 27573, 883, 3183, 12957, 18, 2328, 30286, 5285, 5621, 759, 12107, 5549, 7734, 3852, 261, 7734, 14015, 20352, 1079, 5164, 13, 883, 5164, 2934, 2150, 3183, 13, 759, 409, 430, 759, 7734, 288, 10792, 1323, 261, 12443, 20352, 1079, 5164, 13, 883, 5164, 13, 10792, 263, 2150, 3183, 10792, 263, 291, 1921, 10756, 288, 13491, 368, 2073, 358, 2621, 309, 732, 1608, 358, 2427, 18, 13491, 309, 16051, 12443, 20352, 1079, 5164, 13, 883, 5164, 13, 13491, 263, 291, 7051, 13, 18701, 327, 31, 13491, 775, 288, 759, 430, 536, 31433, 1506, 2689, 20308, 4766, 13491, 14015, 20352, 1079, 5164, 13, 2150, 5164, 2934, 28524, 3639, 883, 3183, 12957, 18, 2896, 5480, 5621, 759, 12107, 1195, 18701, 14015, 20352, 1079, 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, 1086, 1435, 288, 7734, 1323, 261, 3767, 13, 288, 5411, 368, 1788, 279, 394, 533, 883, 2082, 358, 1109, 326, 666, 434, 2743, 18, 5411, 368, 1220, 353, 279, 366, 21627, 9239, 6800, 1493, 1608, 358, 10979, 635, 675, 17, 2640, 5411, 368, 2082, 1347, 1245, 353, 3577, 6265, 5411, 309, 261, 4811, 2678, 422, 446, 13, 288, 7734, 3399, 2678, 273, 394, 514, 3332, 2678, 5621, 7734, 3399, 2678, 18, 542, 13047, 2223, 12, 2211, 1769, 5411, 289, 5411, 368, 2743, 716, 732, 1045, 596, 358, 366, 381, 18, 5411, 6168, 17049, 6667, 4414, 31, 13491, 309, 261, 3772, 18, 5930, 18834, 480, 300, 21, 13, 288, 759, 430, 536, 31433, 1506, 2689, 20308, 27573, 2 ]
ThreadPool threadPool, JobStoreJTA jobStore) throws SchedulerException {
ThreadPool threadPool, JobStoreJTA jobStore) throws SchedulerException {
private org.quartz.Scheduler createScheduler(String schedulerName, String schedulerInstanceId, ThreadPool threadPool, JobStoreJTA jobStore) throws SchedulerException { jobStore.setInstanceName(schedulerName); jobStore.setInstanceId(schedulerInstanceId); if (isSqlServer) jobStore.setSelectWithLockSQL("SELECT * FROM {0}LOCKS UPDLOCK WHERE LOCK_NAME = ?"); JTAJobRunShellFactory jrsf = new JTAJobRunShellFactory(_txm); SchedulingContext schedCtxt = new SchedulingContext(); schedCtxt.setInstanceId(schedulerInstanceId); QuartzSchedulerResources qrs = new QuartzSchedulerResources(); qrs.setName(schedulerName); qrs.setInstanceId(schedulerInstanceId); qrs.setJobRunShellFactory(jrsf); qrs.setThreadPool(threadPool); qrs.setJobStore(jobStore); QuartzScheduler qs = new QuartzScheduler(qrs, schedCtxt, 0,0); ClassLoadHelper cch = new CascadingClassLoadHelper(); cch.initialize(); jobStore.initialize(cch, qs.getSchedulerSignaler()); StdScheduler scheduler = new StdScheduler(qs, schedCtxt); jrsf.initialize(scheduler, schedCtxt); SchedulerRepository schedRep = SchedulerRepository.getInstance(); qs.addNoGCObject(schedRep); schedRep.bind(scheduler); return scheduler; }
45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/98b456bb2726f59f9da01f69712dbb96b2775ce3/QuartzSchedulerImpl.java/clean/bpel-scheduler-quartz/src/main/java/org/apache/ode/bpel/scheduler/quartz/QuartzSchedulerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2358, 18, 372, 27202, 18, 11870, 752, 11870, 12, 780, 8129, 461, 16, 514, 8129, 15327, 16, 4766, 1171, 27359, 2650, 2864, 16, 3956, 2257, 46, 9833, 1719, 2257, 13, 5411, 1216, 12620, 503, 288, 3639, 1719, 2257, 18, 542, 22520, 12, 19972, 461, 1769, 3639, 1719, 2257, 18, 542, 15327, 12, 19972, 15327, 1769, 3639, 309, 261, 291, 5101, 2081, 13, 5411, 1719, 2257, 18, 542, 3391, 1190, 2531, 3997, 2932, 4803, 380, 4571, 288, 20, 97, 6589, 55, 7376, 40, 6589, 4852, 14631, 67, 1985, 273, 692, 8863, 3639, 804, 9833, 2278, 1997, 13220, 1733, 525, 5453, 74, 273, 394, 804, 9833, 2278, 1997, 13220, 1733, 24899, 978, 81, 1769, 3639, 348, 13252, 1042, 23964, 28866, 273, 394, 348, 13252, 1042, 5621, 3639, 23964, 28866, 18, 542, 15327, 12, 19972, 15327, 1769, 3639, 4783, 27202, 11870, 3805, 1043, 5453, 273, 394, 4783, 27202, 11870, 3805, 5621, 3639, 1043, 5453, 18, 542, 461, 12, 19972, 461, 1769, 3639, 1043, 5453, 18, 542, 15327, 12, 19972, 15327, 1769, 3639, 1043, 5453, 18, 542, 2278, 1997, 13220, 1733, 12, 78, 5453, 74, 1769, 3639, 1043, 5453, 18, 542, 20621, 12, 5930, 2864, 1769, 3639, 1043, 5453, 18, 542, 2278, 2257, 12, 4688, 2257, 1769, 3639, 4783, 27202, 11870, 8719, 273, 394, 4783, 27202, 11870, 12, 85, 5453, 16, 23964, 28866, 16, 374, 16, 20, 1769, 3639, 1659, 2563, 2276, 276, 343, 273, 394, 385, 3691, 14968, 797, 2563, 2276, 5621, 3639, 276, 343, 18, 11160, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2358, 18, 372, 27202, 18, 11870, 752, 11870, 12, 780, 8129, 461, 16, 514, 8129, 15327, 16, 4766, 1171, 27359, 2650, 2864, 16, 3956, 2257, 46, 9833, 1719, 2257, 13, 5411, 1216, 12620, 503, 288, 3639, 1719, 2257, 18, 542, 22520, 12, 19972, 461, 1769, 3639, 1719, 2257, 18, 542, 15327, 12, 19972, 15327, 1769, 3639, 309, 261, 291, 5101, 2081, 13, 5411, 1719, 2257, 18, 542, 3391, 1190, 2531, 3997, 2932, 4803, 380, 4571, 288, 20, 97, 6589, 55, 7376, 40, 6589, 4852, 14631, 67, 1985, 273, 692, 8863, 3639, 804, 9833, 2278, 1997, 13220, 1733, 525, 5453, 74, 273, 394, 804, 9833, 2278, 1997, 13220, 1733, 24899, 978, 81, 1769, 3639, 348, 13252, 1042, 23964, 2 ]
forIter_AST = (AST)currentAST.root;
if ( inputState.guessing==0 ) { forIter_AST = (AST)currentAST.root; }
public final void forIter() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST forIter_AST = null; { switch ( LA(1)) { case FINAL: case ABSTRACT: case STRICTFP: case LITERAL_static: case LITERAL_def: case AT: case IDENT: case LPAREN: case LITERAL_super: case LITERAL_void: case LITERAL_boolean: case LITERAL_byte: case LITERAL_char: case LITERAL_short: case LITERAL_int: case LITERAL_float: case LITERAL_long: case LITERAL_double: case LITERAL_any: case LITERAL_private: case LITERAL_public: case LITERAL_protected: case LITERAL_transient: case LITERAL_native: case LITERAL_threadsafe: case LITERAL_synchronized: case LITERAL_volatile: case LITERAL_this: case STRING_LITERAL: case INC: case DEC: case DOLLAR: case STRING_CTOR_START: case LITERAL_new: case LITERAL_true: case LITERAL_false: case LITERAL_null: case NUM_INT: case NUM_FLOAT: case NUM_LONG: case NUM_DOUBLE: case NUM_BIG_INT: case NUM_BIG_DECIMAL: { controlExpressionList(); astFactory.addASTChild(currentAST, returnAST); break; } case RPAREN: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } if ( inputState.guessing==0 ) { forIter_AST = (AST)currentAST.root; forIter_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(FOR_ITERATOR,"FOR_ITERATOR")).add(forIter_AST)); currentAST.root = forIter_AST; currentAST.child = forIter_AST!=null &&forIter_AST.getFirstChild()!=null ? forIter_AST.getFirstChild() : forIter_AST; currentAST.advanceChildToEnd(); } forIter_AST = (AST)currentAST.root; returnAST = forIter_AST; }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/27957314a380e54096257a6753ad9d316ee78892/GroovyRecognizer.java/buggy/src/main/org/codehaus/groovy/antlr/parser/GroovyRecognizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 364, 2360, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 364, 2360, 67, 9053, 273, 446, 31, 9506, 202, 95, 202, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 17563, 1013, 30, 202, 202, 3593, 10336, 21398, 30, 202, 202, 3593, 2347, 2259, 1268, 30246, 30, 202, 202, 3593, 511, 18454, 67, 3845, 30, 202, 202, 3593, 511, 18454, 67, 536, 30, 202, 202, 3593, 14464, 30, 202, 202, 3593, 19768, 30, 202, 202, 3593, 511, 15111, 30, 202, 202, 3593, 511, 18454, 67, 9565, 30, 202, 202, 3593, 511, 18454, 67, 6459, 30, 202, 202, 3593, 511, 18454, 67, 6494, 30, 202, 202, 3593, 511, 18454, 67, 7229, 30, 202, 202, 3593, 511, 18454, 67, 3001, 30, 202, 202, 3593, 511, 18454, 67, 6620, 30, 202, 202, 3593, 511, 18454, 67, 474, 30, 202, 202, 3593, 511, 18454, 67, 5659, 30, 202, 202, 3593, 511, 18454, 67, 5748, 30, 202, 202, 3593, 511, 18454, 67, 9056, 30, 202, 202, 3593, 511, 18454, 67, 2273, 30, 202, 202, 3593, 511, 18454, 67, 1152, 30, 202, 202, 3593, 511, 18454, 67, 482, 30, 202, 202, 3593, 511, 18454, 67, 1117, 30, 202, 202, 3593, 511, 18454, 67, 22670, 30, 202, 202, 3593, 511, 18454, 67, 13635, 30, 202, 202, 3593, 511, 18454, 67, 5930, 4626, 30, 202, 202, 3593, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 364, 2360, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 364, 2360, 67, 9053, 273, 446, 31, 9506, 202, 95, 202, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 17563, 1013, 30, 202, 202, 3593, 10336, 21398, 30, 202, 202, 3593, 2347, 2259, 1268, 30246, 30, 202, 202, 3593, 511, 18454, 67, 3845, 30, 202, 202, 3593, 511, 18454, 67, 536, 30, 202, 202, 3593, 14464, 30, 202, 202, 3593, 19768, 30, 202, 202, 3593, 511, 15111, 30, 202, 202, 3593, 511, 18454, 67, 9565, 30, 202, 202, 3593, 511, 2 ]
hm.setName(new QName("H1"));
hm.setName("H1");
public void testInvalidPhaseRule1() { try { super.setUp(); phaserul = new InvalidPhaseRuleTest(""); axisSytem = new AxisConfiguration(); ArrayList inPhase = axisSytem.getGlobalInFlow(); Handler han = null; PhaseHolder ph = new PhaseHolder(inPhase); HandlerDescription hm = new HandlerDescription(); hm.setClassName("org.apache.axis2.handlers.AbstractHandler"); hm.setHandler(han); hm.setName(new QName("H1")); PhaseRule rule = new PhaseRule(); rule.setPhaseName("global"); rule.setPhaseFirst(true); hm.setRules(rule); ph.addHandler(hm); HandlerDescription hm1 = new HandlerDescription(); hm1.setClassName("org.apache.axis2.handlers.AbstractHandler"); hm1.setHandler(han); hm1.setName(new QName("H2")); PhaseRule rule1 = new PhaseRule(); rule1.setPhaseName("global"); rule1.setAfter("H1"); hm1.setRules(rule1); ph.addHandler(hm1); HandlerDescription hm3 = new HandlerDescription(); hm3.setClassName("org.apache.axis2.handlers.AbstractHandler"); hm3.setHandler(han); hm3.setName(new QName("H4")); PhaseRule rule3 = new PhaseRule(); rule3.setPhaseName("Logging"); hm3.setRules(rule3); ph.addHandler(hm3); fail("this must failed gracefully with PhaseException "); } catch (Exception e) { log.info(e.getMessage()); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/a70530656847db6d283f1f8d5116721a654dda7b/InvalidPhaseRuleTest.java/clean/modules/kernel/test/org/apache/axis2/phaserule/InvalidPhaseRuleTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1941, 11406, 2175, 21, 1435, 288, 3639, 775, 288, 5411, 2240, 18, 542, 1211, 5621, 5411, 1844, 14558, 332, 273, 394, 1962, 11406, 2175, 4709, 2932, 8863, 5411, 2654, 10876, 874, 273, 394, 15509, 1750, 5621, 5411, 2407, 316, 11406, 273, 2654, 10876, 874, 18, 588, 5160, 382, 5249, 5621, 5411, 4663, 366, 304, 273, 446, 31, 5411, 19459, 6064, 1844, 273, 394, 19459, 6064, 12, 267, 11406, 1769, 5411, 4663, 3291, 16349, 273, 394, 4663, 3291, 5621, 5411, 16349, 18, 542, 3834, 2932, 3341, 18, 19211, 18, 4890, 22, 18, 11046, 18, 7469, 1503, 8863, 5411, 16349, 18, 542, 1503, 12, 25842, 1769, 5411, 16349, 18, 542, 461, 2932, 44, 21, 8863, 5411, 19459, 2175, 1720, 273, 394, 19459, 2175, 5621, 5411, 1720, 18, 542, 11406, 461, 2932, 6347, 8863, 5411, 1720, 18, 542, 11406, 3759, 12, 3767, 1769, 5411, 16349, 18, 542, 4478, 12, 5345, 1769, 5411, 1844, 18, 1289, 1503, 12, 76, 81, 1769, 5411, 4663, 3291, 16349, 21, 273, 394, 4663, 3291, 5621, 5411, 16349, 21, 18, 542, 3834, 2932, 3341, 18, 19211, 18, 4890, 22, 18, 11046, 18, 7469, 1503, 8863, 5411, 16349, 21, 18, 542, 1503, 12, 25842, 1769, 5411, 16349, 21, 18, 542, 461, 12, 2704, 16723, 2932, 44, 22, 7923, 1769, 5411, 19459, 2175, 1720, 21, 273, 394, 19459, 2175, 5621, 5411, 1720, 21, 18, 542, 11406, 461, 2932, 6347, 8863, 5411, 1720, 21, 18, 542, 4436, 2932, 44, 21, 8863, 5411, 16349, 21, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1941, 11406, 2175, 21, 1435, 288, 3639, 775, 288, 5411, 2240, 18, 542, 1211, 5621, 5411, 1844, 14558, 332, 273, 394, 1962, 11406, 2175, 4709, 2932, 8863, 5411, 2654, 10876, 874, 273, 394, 15509, 1750, 5621, 5411, 2407, 316, 11406, 273, 2654, 10876, 874, 18, 588, 5160, 382, 5249, 5621, 5411, 4663, 366, 304, 273, 446, 31, 5411, 19459, 6064, 1844, 273, 394, 19459, 6064, 12, 267, 11406, 1769, 5411, 4663, 3291, 16349, 273, 394, 4663, 3291, 5621, 5411, 16349, 18, 542, 3834, 2932, 3341, 18, 19211, 18, 4890, 22, 18, 11046, 18, 7469, 1503, 8863, 5411, 16349, 18, 542, 1503, 12, 25842, 1769, 5411, 16349, 18, 542, 461, 2932, 44, 21, 8863, 5411, 19459, 2 ]
if(fNonEditableList == null || fContext == fInexistentContext)
if(fNonEditableTable == null || fContext == fInexistentContext)
private void updateSystemVariables(){ if(fNonEditableList == null || fContext == fInexistentContext) return; List list = null; IBuildEnvironmentVariable vars[] = getSystemVariables(fShowParentVariables); if(vars != null && vars.length != 0){ list = new ArrayList(vars.length); for(int i = 0; i < vars.length; i++){ list.add(vars[i]); } } if(list != null) fNonEditableList.setElements(list); else fNonEditableList.removeAllElements(); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/ec7b5fa286e48f16baefbb790ec9f37084d8818f/EnvironmentBlock.java/buggy/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/EnvironmentBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 3163, 6158, 1435, 95, 202, 202, 430, 12, 74, 3989, 15470, 682, 422, 446, 747, 284, 1042, 422, 284, 382, 19041, 1042, 13, 1082, 202, 2463, 31, 9506, 202, 682, 666, 273, 446, 31, 202, 202, 45, 3116, 5494, 3092, 4153, 8526, 273, 12996, 6158, 12, 74, 5706, 3054, 6158, 1769, 202, 202, 430, 12, 4699, 480, 446, 597, 4153, 18, 2469, 480, 374, 15329, 1082, 202, 1098, 273, 394, 2407, 12, 4699, 18, 2469, 1769, 1082, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 4153, 18, 2469, 31, 277, 27245, 95, 9506, 202, 1098, 18, 1289, 12, 4699, 63, 77, 19226, 1082, 202, 97, 202, 202, 97, 9506, 202, 430, 12, 1098, 480, 446, 13, 1082, 202, 74, 3989, 15470, 682, 18, 542, 3471, 12, 1098, 1769, 202, 202, 12107, 1082, 202, 74, 3989, 15470, 682, 18, 4479, 1595, 3471, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 3163, 6158, 1435, 95, 202, 202, 430, 12, 74, 3989, 15470, 682, 422, 446, 747, 284, 1042, 422, 284, 382, 19041, 1042, 13, 1082, 202, 2463, 31, 9506, 202, 682, 666, 273, 446, 31, 202, 202, 45, 3116, 5494, 3092, 4153, 8526, 273, 12996, 6158, 12, 74, 5706, 3054, 6158, 1769, 202, 202, 430, 12, 4699, 480, 446, 597, 4153, 18, 2469, 480, 374, 15329, 1082, 202, 1098, 273, 394, 2407, 12, 4699, 18, 2469, 1769, 1082, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 4153, 18, 2469, 31, 277, 27245, 95, 9506, 202, 1098, 18, 1289, 12, 4699, 63, 77, 19226, 1082, 202, 97, 202, 202, 97, 9506, 202, 430, 12, 2 ]
private static void putDateTimeValue(RequestStream out, Object value) throws SQLException, IOException { int daysSince1900; int time;
private static void putDateTimeValue(RequestStream out, DateTime value) throws IOException {
private static void putDateTimeValue(RequestStream out, Object value) throws SQLException, IOException { int daysSince1900; int time; if (value == null) { out.write((byte) 0); return; } synchronized (cal) { out.write((byte) 8); if (value instanceof java.sql.Date) { time = 0; cal.setTime((java.util.Date) value); } else { time = calendarToSybTime(cal, value); } if (value instanceof java.sql.Time) { daysSince1900 = 0; } else { daysSince1900 = calendarToSybDate(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1, cal.get(Calendar.DAY_OF_MONTH)); } out.write((int) daysSince1900); out.write((int) time); } }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/5f9c8323316dcfa9ea51bd225d22a0d8fd7c614a/TdsData.java/clean/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/TdsData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1378, 5096, 620, 12, 691, 1228, 596, 16, 1033, 460, 13, 5411, 1216, 6483, 16, 1860, 288, 3639, 509, 4681, 9673, 3657, 713, 31, 3639, 509, 813, 31, 3639, 309, 261, 1132, 422, 446, 13, 288, 5411, 596, 18, 2626, 12443, 7229, 13, 374, 1769, 5411, 327, 31, 3639, 289, 3639, 3852, 261, 771, 13, 288, 5411, 596, 18, 2626, 12443, 7229, 13, 1725, 1769, 5411, 309, 261, 1132, 1276, 2252, 18, 4669, 18, 1626, 13, 288, 7734, 813, 273, 374, 31, 7734, 1443, 18, 542, 950, 12443, 6290, 18, 1367, 18, 1626, 13, 460, 1769, 5411, 289, 469, 288, 7734, 813, 273, 5686, 774, 10876, 70, 950, 12, 771, 16, 460, 1769, 5411, 289, 5411, 309, 261, 1132, 1276, 2252, 18, 4669, 18, 950, 13, 288, 7734, 4681, 9673, 3657, 713, 273, 374, 31, 5411, 289, 469, 288, 7734, 4681, 9673, 3657, 713, 273, 5686, 774, 10876, 70, 1626, 12, 771, 18, 588, 12, 7335, 18, 15137, 3631, 4766, 5375, 1443, 18, 588, 12, 7335, 18, 13942, 13, 397, 404, 16, 4766, 5375, 1443, 18, 588, 12, 7335, 18, 10339, 67, 3932, 67, 13942, 10019, 5411, 289, 5411, 596, 18, 2626, 12443, 474, 13, 4681, 9673, 3657, 713, 1769, 5411, 596, 18, 2626, 12443, 474, 13, 813, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1378, 5096, 620, 12, 691, 1228, 596, 16, 1033, 460, 13, 5411, 1216, 6483, 16, 1860, 288, 3639, 509, 4681, 9673, 3657, 713, 31, 3639, 509, 813, 31, 3639, 309, 261, 1132, 422, 446, 13, 288, 5411, 596, 18, 2626, 12443, 7229, 13, 374, 1769, 5411, 327, 31, 3639, 289, 3639, 3852, 261, 771, 13, 288, 5411, 596, 18, 2626, 12443, 7229, 13, 1725, 1769, 5411, 309, 261, 1132, 1276, 2252, 18, 4669, 18, 1626, 13, 288, 7734, 813, 273, 374, 31, 7734, 1443, 18, 542, 950, 12443, 6290, 18, 1367, 18, 1626, 13, 460, 1769, 5411, 289, 469, 288, 7734, 813, 273, 5686, 774, 10876, 70, 950, 12, 771, 16, 460, 1769, 5411, 289, 2 ]
case 139:
case 140:
public final void sequenceType(AST _t, SequenceType type ) throws RecognitionException, XPathException { org.exist.xquery.parser.XQueryAST sequenceType_AST_in = (_t == ASTNULL) ? null : (org.exist.xquery.parser.XQueryAST)_t; org.exist.xquery.parser.XQueryAST t = null; org.exist.xquery.parser.XQueryAST qn1 = null; org.exist.xquery.parser.XQueryAST qn2 = null; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ATOMIC_TYPE: { AST __t43 = _t; t = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,ATOMIC_TYPE); _t = _t.getFirstChild(); QName qn= QName.parse(context, t.getText()); int code= Type.getType(qn); if(!Type.subTypeOf(code, Type.ATOMIC)) throw new XPathException(t, "Type " + qn.toString() + " is not an atomic type"); type.setPrimaryType(code); _t = __t43; _t = _t.getNextSibling(); break; } case LITERAL_empty: { AST __t44 = _t; org.exist.xquery.parser.XQueryAST tmp38_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_empty); _t = _t.getFirstChild(); type.setPrimaryType(Type.EMPTY); type.setCardinality(Cardinality.EMPTY); _t = __t44; _t = _t.getNextSibling(); break; } case LITERAL_item: { AST __t45 = _t; org.exist.xquery.parser.XQueryAST tmp39_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_item); _t = _t.getFirstChild(); type.setPrimaryType(Type.ITEM); _t = __t45; _t = _t.getNextSibling(); break; } case LITERAL_node: { AST __t46 = _t; org.exist.xquery.parser.XQueryAST tmp40_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_node); _t = _t.getFirstChild(); type.setPrimaryType(Type.NODE); _t = __t46; _t = _t.getNextSibling(); break; } case LITERAL_element: { AST __t47 = _t; org.exist.xquery.parser.XQueryAST tmp41_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_element); _t = _t.getFirstChild(); type.setPrimaryType(Type.ELEMENT); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WILDCARD: { org.exist.xquery.parser.XQueryAST tmp42_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); break; } case QNAME: { qn1 = (org.exist.xquery.parser.XQueryAST)_t; match(_t,QNAME); _t = _t.getNextSibling(); QName qname= QName.parse(context, qn1.getText()); type.setNodeName(qname); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: { org.exist.xquery.parser.XQueryAST tmp43_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,QNAME); _t = _t.getNextSibling(); throwException(qn1, "Tests of the form element(QName, TypeName) are not supported!"); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t47; _t = _t.getNextSibling(); break; } case ATTRIBUTE_TEST: { AST __t50 = _t; org.exist.xquery.parser.XQueryAST tmp44_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,ATTRIBUTE_TEST); _t = _t.getFirstChild(); type.setPrimaryType(Type.ATTRIBUTE); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WILDCARD: { org.exist.xquery.parser.XQueryAST tmp45_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); break; } case QNAME: { qn2 = (org.exist.xquery.parser.XQueryAST)_t; match(_t,QNAME); _t = _t.getNextSibling(); QName qname= QName.parse(context, qn2.getText()); type.setNodeName(qname); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: { org.exist.xquery.parser.XQueryAST tmp46_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,QNAME); _t = _t.getNextSibling(); throwException(qn1, "Tests of the form attribute(QName, TypeName) are not supported!"); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t50; _t = _t.getNextSibling(); break; } case LITERAL_text: { AST __t53 = _t; org.exist.xquery.parser.XQueryAST tmp47_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_text); _t = _t.getFirstChild(); type.setPrimaryType(Type.TEXT); _t = __t53; _t = _t.getNextSibling(); break; } case 138: { AST __t54 = _t; org.exist.xquery.parser.XQueryAST tmp48_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,138); _t = _t.getFirstChild(); type.setPrimaryType(Type.PROCESSING_INSTRUCTION); _t = __t54; _t = _t.getNextSibling(); break; } case LITERAL_comment: { AST __t55 = _t; org.exist.xquery.parser.XQueryAST tmp49_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_comment); _t = _t.getFirstChild(); type.setPrimaryType(Type.COMMENT); _t = __t55; _t = _t.getNextSibling(); break; } case 139: { AST __t56 = _t; org.exist.xquery.parser.XQueryAST tmp50_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,139); _t = _t.getFirstChild(); type.setPrimaryType(Type.DOCUMENT); _t = __t56; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case STAR: { org.exist.xquery.parser.XQueryAST tmp51_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,STAR); _t = _t.getNextSibling(); type.setCardinality(Cardinality.ZERO_OR_MORE); break; } case PLUS: { org.exist.xquery.parser.XQueryAST tmp52_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,PLUS); _t = _t.getNextSibling(); type.setCardinality(Cardinality.ONE_OR_MORE); break; } case QUESTION: { org.exist.xquery.parser.XQueryAST tmp53_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,QUESTION); _t = _t.getNextSibling(); type.setCardinality(Cardinality.ZERO_OR_ONE); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _retTree = _t; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/b1f955b7f1cec4172ad3be7bd2855bd3cca3e6f2/XQueryTreeParser.java/buggy/src/org/exist/xquery/parser/XQueryTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3102, 559, 12, 9053, 389, 88, 16, 202, 202, 4021, 559, 618, 202, 13, 1216, 9539, 16, 10172, 503, 288, 9506, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 3102, 559, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 67, 88, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 268, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 31054, 21, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 31054, 22, 273, 446, 31, 9506, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 27460, 2871, 67, 2399, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 8942, 273, 389, 88, 31, 1082, 202, 88, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 28146, 2871, 67, 2399, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 6862, 25083, 202, 13688, 31054, 33, 16723, 18, 2670, 12, 2472, 16, 268, 18, 588, 1528, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3102, 559, 12, 9053, 389, 88, 16, 202, 202, 4021, 559, 618, 202, 13, 1216, 9539, 16, 10172, 503, 288, 9506, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 3102, 559, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 67, 88, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 268, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 31054, 21, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 2 ]
status = logDown(Level.ERROR, "Invalid Snmp Criteria: " + e.getMessage());
status = logDown(Level.ERROR, "Invalid Snmp Criteria: " + e.getMessage());
public PollStatus poll(MonitoredService svc, Map parameters, org.opennms.netmgt.config.poller.Package pkg) { NetworkInterface iface = svc.getNetInterface(); PollStatus status = PollStatus.unavailable(); InetAddress ipaddr = (InetAddress) iface.getAddress(); // Retrieve this interface's SNMP peer object // SnmpAgentConfig agentConfig = (SnmpAgentConfig) iface.getAttribute(SNMP_AGENTCONFIG_KEY); if (agentConfig == null) throw new RuntimeException("SnmpAgentConfig object not available for interface " + ipaddr); // Get configuration parameters // int timeout = ParameterMap.getKeyedInteger(parameters, "timeout", agentConfig.getTimeout()); int retries = ParameterMap.getKeyedInteger(parameters, "retries", agentConfig.getRetries()); int port = ParameterMap.getKeyedInteger(parameters, "port", DEFAULT_PORT); // set timeout and retries on SNMP peer object // agentConfig.setTimeout(timeout); agentConfig.setRetries(retries); agentConfig.setPort(port); if (log().isDebugEnabled()) log().debug("poll: service= SNMP address= " + agentConfig); // Establish SNMP session with interface // try { if (log().isDebugEnabled()) { log().debug("PercMonitor.poll: SnmpAgentConfig address: " +agentConfig); } SnmpObjId snmpObjectId = new SnmpObjId(PHYSICAL_BASE_OID); // First walk the physical OID Tree and check the returned values Map<SnmpInstId, SnmpValue> results = SnmpUtils.getOidValues(agentConfig, "percPoller", snmpObjectId); if(results.size() == 0) { log().debug("SNMP poll failed: no results, addr=" + ipaddr.getHostAddress() + " oid=" + snmpObjectId); return status; } for (Map.Entry<SnmpInstId, SnmpValue> e : results.entrySet()) { log().debug("poll: SNMPwalk poll succeeded, addr=" + ipaddr.getHostAddress() + " oid=" + snmpObjectId + " instance=" + e.getKey() + " value=" + e.getValue()); // Test each value returned to make sure it doesn't equal 4 // 1=>'ready', // 3=>'online', // 4=>'failed', // 5=>'rebuild', // 6=>'hotspare', // 20=>'nondisk' if (meetsCriteria(e.getValue(), "!=", "4")) { status = PollStatus.available(); } else { status = logDown(Level.DEBUG, "SNMP physical poll failed, addr=" + ipaddr.getHostAddress() + " oid=" + snmpObjectId + " instance=" + e.getKey() + " value=" + e.getValue()); return status; } } // If we get here, that means all of the physical drives returned a value not equal to "4" // Now we need to check logical drives SnmpObjId snmpLogObjectId = new SnmpObjId(LOGICAL_BASE_OID); // Next walk the physical OID Tree and check the returned values Map<SnmpInstId, SnmpValue> lresults = SnmpUtils.getOidValues(agentConfig, "percPoller", snmpLogObjectId); if(lresults.size() == 0) { log().debug("SNMP poll failed: no logical results, addr=" + ipaddr.getHostAddress() + " oid=" + snmpLogObjectId); return status; } for (Map.Entry<SnmpInstId, SnmpValue> e : lresults.entrySet()) { log().debug("poll: SNMPwalk poll succeeded, addr=" + ipaddr.getHostAddress() + " oid=" + snmpLogObjectId + " instance=" + e.getKey() + " value=" + e.getValue()); // Test each value returned to make sure it equals 2 // 0=>'offline', // 1=>'degraded', // 2=>'optimal', // 3=>'initialize', // 4=>'checkconsistency' if (meetsCriteria(e.getValue(), "=", "2")) { status = PollStatus.available(); } else { status = logDown(Level.DEBUG, "SNMP physical poll failed, addr=" + ipaddr.getHostAddress() + " oid=" + snmpLogObjectId + " instance=" + e.getKey() + " value=" + e.getValue()); return status; } } } catch (NumberFormatException e) { status = logDown(Level.ERROR, "Number operator used on a non-number " + e.getMessage()); } catch (IllegalArgumentException e) { status = logDown(Level.ERROR, "Invalid Snmp Criteria: " + e.getMessage()); } catch (Throwable t) { status = logDown(Level.WARN, "Unexpected exception during SNMP poll of interface " + ipaddr.getHostAddress(), t); } return status; }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/575864cf3eaeda9b9d8f9e85053b0b701728866d/PercMonitor.java/clean/opennms-services/src/main/java/org/opennms/netmgt/poller/monitors/PercMonitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19160, 1482, 7672, 12, 11415, 20425, 1179, 7538, 16, 1635, 1472, 16, 2358, 18, 3190, 82, 959, 18, 2758, 81, 4521, 18, 1425, 18, 3915, 749, 18, 2261, 3475, 13, 288, 3639, 21109, 9751, 273, 7538, 18, 588, 7308, 1358, 5621, 3639, 19160, 1482, 1267, 273, 19160, 1482, 18, 318, 5699, 5621, 3639, 14218, 2359, 4793, 273, 261, 382, 278, 1887, 13, 9751, 18, 588, 1887, 5621, 3639, 368, 10708, 333, 1560, 1807, 14204, 4566, 4261, 733, 3639, 368, 3639, 18961, 1291, 3630, 809, 4040, 809, 273, 261, 10461, 1291, 3630, 809, 13, 9751, 18, 588, 1499, 12, 13653, 4566, 67, 15005, 7203, 67, 3297, 1769, 3639, 309, 261, 5629, 809, 422, 446, 13, 5411, 604, 394, 3235, 2932, 10461, 1291, 3630, 809, 733, 486, 2319, 364, 1560, 315, 397, 2359, 4793, 1769, 3639, 368, 968, 1664, 1472, 3639, 368, 3639, 509, 2021, 273, 5498, 863, 18, 588, 653, 329, 4522, 12, 3977, 16, 315, 4538, 3113, 4040, 809, 18, 588, 2694, 10663, 3639, 509, 9453, 273, 5498, 863, 18, 588, 653, 329, 4522, 12, 3977, 16, 315, 15215, 3113, 4040, 809, 18, 588, 13656, 10663, 3639, 509, 1756, 273, 5498, 863, 18, 588, 653, 329, 4522, 12, 3977, 16, 315, 655, 3113, 3331, 67, 6354, 1769, 3639, 368, 444, 2021, 471, 9453, 603, 14204, 4566, 4261, 733, 3639, 368, 3639, 4040, 809, 18, 542, 2694, 12, 4538, 1769, 3639, 4040, 809, 18, 542, 13656, 12, 15215, 1769, 3639, 4040, 809, 18, 542, 2617, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19160, 1482, 7672, 12, 11415, 20425, 1179, 7538, 16, 1635, 1472, 16, 2358, 18, 3190, 82, 959, 18, 2758, 81, 4521, 18, 1425, 18, 3915, 749, 18, 2261, 3475, 13, 288, 3639, 21109, 9751, 273, 7538, 18, 588, 7308, 1358, 5621, 3639, 19160, 1482, 1267, 273, 19160, 1482, 18, 318, 5699, 5621, 3639, 14218, 2359, 4793, 273, 261, 382, 278, 1887, 13, 9751, 18, 588, 1887, 5621, 3639, 368, 10708, 333, 1560, 1807, 14204, 4566, 4261, 733, 3639, 368, 3639, 18961, 1291, 3630, 809, 4040, 809, 273, 261, 10461, 1291, 3630, 809, 13, 9751, 18, 588, 1499, 12, 13653, 4566, 67, 15005, 7203, 67, 3297, 1769, 3639, 309, 261, 5629, 809, 422, 446, 13, 5411, 604, 394, 2 ]
if (b.length() >= 4 && c == '-' && prevC == '-') {
if ((b.length() >= 4) && (c == '-') && (prevC == '-')) {
Bucket run(Bucket temp) throws IOException, DataFilterException { /** * TOKENIZE Modes: * <p>0) in text transitions: '<' ->(1) 1) in tag, not in * quotes/comment/whitespace transitions: whitespace -> (4) (save * current element) '"' -> (2) '--' at beginning of tag -> (3) '>' -> * process whole tag 2) in tag, in quotes transitions: '"' -> (1) * '>' -> grumble about markup in quotes in tag might confuse older * user-agents (stay in current state) 3) in tag, in comment * transitions: '-->' -> save/ignore comment, go to (0) '<' or '>' -> * grumble about markup in comments 4) in tag, in whitespace * transitions: '"' -> (2) '>' -> save tag, (0) anything else not * whitespace -> (1) * </p> */ StringBuffer b = new StringBuffer(100); StringBuffer balt = new StringBuffer(4000); Vector splitTag = new Vector(); String currentTag = null; char pprevC = 0; char prevC = 0; char c = 0; mode = INTEXT; while (true) { int x = r.read(); if (x == -1) { switch (mode) { case INTEXT : saveText(b, currentTag, w, this); break; default : // Dump unfinished tag break; } break; } else { pprevC = prevC; prevC = c; c = (char) x; switch (mode) { case INTEXT : if (c == '<') { saveText(b, currentTag, w, this); b.setLength(0); balt.setLength(0); mode = INTAG; } else { b.append(c); } break; case INTAG : balt.append(c); if (HTMLDecoder.isWhitespace(c)) { splitTag.add(b.toString()); mode = INTAGWHITESPACE; b.setLength(0); } else if (c == '<' && Character.isWhitespace(balt.charAt(0))) { // Previous was an un-escaped < in a script. saveText(b, currentTag, w, this); balt.setLength(0); b.setLength(0); splitTag.clear(); } else if (c == '>') { splitTag.add(b.toString()); b.setLength(0); processTag(splitTag, w, this); currentTag = (String)splitTag.get(0); splitTag.clear(); balt.setLength(0); mode = INTEXT; } else if ( b.length() == 2 && c == '-' && prevC == '-' && pprevC == '!') { mode = INTAGCOMMENT; b.append(c); } else if (c == '"') { mode = INTAGQUOTES; b.append(c); } else if (c == '\'') { mode = INTAGSQUOTES; b.append(c); } else if (c == '/') { /* Probable end tag */ currentTag = null; /* We didn't remember what was the last tag, so ... */ b.append(c); } else { b.append(c); } break; case INTAGQUOTES : if (c == '"') { mode = INTAG; b.append(c); // Part of the element } else if (c == '>' || c == '<') { if (!deleteErrors) { throwFilterException("Tags in markup"); b.append(c); return new NullBucket(); } else { if (c == '>') { w.write( "<!-- Tags in string attribute -->"); splitTag.clear(); b.setLength(0); mode = INTEXT; balt.setLength(0); // End tag now } else { killTag = true; writeAfterTag += "<!-- Tags in string attribute -->"; // Wait for end of tag then zap it } } } else { b.append(c); } break; case INTAGSQUOTES : if (c == '\'') { mode = INTAG; b.append(c); // Part of the element } else if (c == '>' || c == '<') { if (!deleteErrors) { throwFilterException("Tags in markup"); b.append(c); return new NullBucket(); } else { if (c == '>') { w.write( "<!-- Tags in string attribute -->"); splitTag.clear(); b.setLength(0); balt.setLength(0); mode = INTEXT; // End tag now } else { killTag = true; writeAfterTag += "<!-- Tags in string attribute -->"; // Wait for end of tag then zap it } writeAfterTag += "<!-- Tags in string attribute -->"; killTag = true; } } else { b.append(c); } break; /* * Comments are often used to temporarily disable * markup; I shall allow it. (avian) White space is * not permitted between the markup declaration * open delimiter (" * <!") and the comment open delimiter ("--"), but * is permitted between the comment close delimiter * ("--") and the markup declaration close * delimiter (">"). A common error is to include a * string of hyphens ("---") within a comment. * Authors should avoid putting two or more * adjacent hyphens inside comments. However, the * only browser that actually gets it right is IE * (others either don't allow it or allow other * chars as well). The only safe course of action * is to allow any and all chars, but eat them. * (avian) */ case INTAGCOMMENT : if (b.length() >= 4 && c == '-' && prevC == '-') { b.append(c); mode = INTAGCOMMENTCLOSING; } else b.append(c); break; case INTAGCOMMENTCLOSING : if (c == '>') { saveComment(b, w, this); b.setLength(0); mode = INTEXT; } break; case INTAGWHITESPACE : if (c == '"') { mode = INTAGQUOTES; b.append(c); } else if (c == '\'') { // e.g. <div align = 'center'> (avian) mode = INTAGSQUOTES; b.append(c); } else if (c == '>') { if (!killTag) processTag(splitTag, w, this); killTag = false; currentTag = (String)splitTag.get(0); splitTag.clear(); b.setLength(0); balt.setLength(0); mode = INTEXT; } else if (c == '<' && Character.isWhitespace(balt.charAt(0))) { // Previous was an un-escaped < in a script. saveText(balt, currentTag, w, this); balt.setLength(0); b.setLength(0); splitTag.clear(); mode = INTAG; } else if (HTMLDecoder.isWhitespace(c)) { // More whitespace, what fun } else { mode = INTAG; b.append(c); } } } } return temp; }
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/HTMLFilter.java/buggy/src/freenet/clients/http/filter/HTMLFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 4103, 1086, 12, 4103, 1906, 13, 1216, 1860, 16, 1910, 1586, 503, 288, 1082, 202, 26873, 9506, 380, 14275, 15641, 490, 1145, 30, 9506, 380, 411, 84, 34, 20, 13, 316, 977, 13136, 30, 9138, 317, 12, 21, 13, 404, 13, 316, 1047, 16, 486, 316, 9506, 380, 10681, 19, 3469, 19, 18777, 13136, 30, 7983, 317, 261, 24, 13, 261, 5688, 9506, 380, 783, 930, 13, 4754, 317, 261, 22, 13, 16979, 622, 8435, 434, 1047, 317, 261, 23, 13, 7481, 317, 9506, 380, 1207, 7339, 1047, 576, 13, 316, 1047, 16, 316, 10681, 13136, 30, 4754, 317, 261, 21, 13, 9506, 380, 7481, 317, 3821, 3592, 298, 2973, 9813, 316, 10681, 316, 1047, 4825, 2195, 1202, 12156, 9506, 380, 729, 17, 23560, 261, 334, 528, 316, 783, 919, 13, 890, 13, 316, 1047, 16, 316, 2879, 9506, 380, 13136, 30, 3534, 1870, 317, 1923, 19, 6185, 2879, 16, 1960, 358, 261, 20, 13, 9138, 578, 7481, 317, 9506, 380, 3821, 3592, 298, 2973, 9813, 316, 5678, 1059, 13, 316, 1047, 16, 316, 7983, 9506, 380, 13136, 30, 4754, 317, 261, 22, 13, 7481, 317, 1923, 1047, 16, 261, 20, 13, 6967, 469, 486, 9506, 380, 7983, 317, 261, 21, 13, 9506, 380, 7765, 84, 34, 9506, 1195, 1082, 202, 780, 1892, 324, 273, 394, 6674, 12, 6625, 1769, 1082, 202, 780, 1892, 324, 2390, 273, 394, 6674, 12, 24, 3784, 1769, 1082, 202, 5018, 1416, 1805, 273, 394, 5589, 5621, 1082, 202, 780, 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, 4103, 1086, 12, 4103, 1906, 13, 1216, 1860, 16, 1910, 1586, 503, 288, 1082, 202, 26873, 9506, 380, 14275, 15641, 490, 1145, 30, 9506, 380, 411, 84, 34, 20, 13, 316, 977, 13136, 30, 9138, 317, 12, 21, 13, 404, 13, 316, 1047, 16, 486, 316, 9506, 380, 10681, 19, 3469, 19, 18777, 13136, 30, 7983, 317, 261, 24, 13, 261, 5688, 9506, 380, 783, 930, 13, 4754, 317, 261, 22, 13, 16979, 622, 8435, 434, 1047, 317, 261, 23, 13, 7481, 317, 9506, 380, 1207, 7339, 1047, 576, 13, 316, 1047, 16, 316, 10681, 13136, 30, 4754, 317, 261, 21, 13, 9506, 380, 7481, 317, 3821, 3592, 298, 2973, 9813, 316, 10681, 316, 1047, 4825, 2195, 2 ]
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
final private boolean jj_3_8() { if (jj_scan_token(COMMA)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_45()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/da645dc04442445e7ffc49c76d475409ee62c51f/PythonGrammar.java/clean/org/python/parser/PythonGrammar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 67, 28, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 4208, 5535, 3719, 327, 638, 31, 4202, 309, 261, 78, 78, 67, 23, 54, 67, 7950, 10756, 327, 638, 31, 4202, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 67, 28, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 4208, 5535, 3719, 327, 638, 31, 4202, 309, 261, 78, 78, 67, 23, 54, 67, 7950, 10756, 327, 638, 31, 4202, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String editorClassName = getNodeEditorClassName(typeDeclaration, false);
String editorClassName = getNodeEditorClassName(typeDeclaration);
public static Class getNodeEditorClass(ConceptDeclaration typeDeclaration) throws ClassNotFoundException {// // 1 st try "trial" editors// String editorClassName = getNodeEditorClassName(typeDeclaration, true);// if (editorClassName == null) {// return null;// }// try {// Class trialEditorClass = Class.forName(editorClassName);// System.out.println("*USE GENERATED EDITOR FOR TYPE : " + typeDeclaration.getDebugText());// return trialEditorClass;// } catch (ClassNotFoundException e) {// } // else load "normal editor" String editorClassName = getNodeEditorClassName(typeDeclaration, false); if (editorClassName == null) { return null; } return Class.forName(editorClassName); }
14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/9279e1aa3c01c18bff45977a3cd241a696735b82/EditorManager.java/buggy/source/jetbrains/mps/nodeEditor/EditorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1659, 5973, 6946, 797, 12, 15433, 6094, 618, 6094, 13, 1216, 10403, 288, 759, 565, 368, 404, 384, 775, 315, 17493, 6, 29431, 759, 565, 514, 4858, 3834, 273, 5973, 6946, 3834, 12, 723, 6094, 16, 638, 1769, 759, 565, 309, 261, 9177, 3834, 422, 446, 13, 288, 759, 1377, 327, 446, 31, 759, 565, 289, 759, 565, 775, 288, 759, 1377, 1659, 12950, 6946, 797, 273, 1659, 18, 1884, 461, 12, 9177, 3834, 1769, 759, 1377, 2332, 18, 659, 18, 8222, 2932, 14, 8001, 13679, 6344, 21307, 916, 12108, 3463, 294, 315, 397, 618, 6094, 18, 588, 2829, 1528, 10663, 759, 1377, 327, 12950, 6946, 797, 31, 759, 565, 289, 1044, 261, 797, 3990, 425, 13, 288, 759, 565, 289, 565, 368, 469, 1262, 315, 6130, 4858, 6, 565, 514, 4858, 3834, 273, 5973, 6946, 3834, 12, 723, 6094, 16, 629, 1769, 565, 309, 261, 9177, 3834, 422, 446, 13, 288, 1377, 327, 446, 31, 565, 289, 565, 327, 1659, 18, 1884, 461, 12, 9177, 3834, 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, 1659, 5973, 6946, 797, 12, 15433, 6094, 618, 6094, 13, 1216, 10403, 288, 759, 565, 368, 404, 384, 775, 315, 17493, 6, 29431, 759, 565, 514, 4858, 3834, 273, 5973, 6946, 3834, 12, 723, 6094, 16, 638, 1769, 759, 565, 309, 261, 9177, 3834, 422, 446, 13, 288, 759, 1377, 327, 446, 31, 759, 565, 289, 759, 565, 775, 288, 759, 1377, 1659, 12950, 6946, 797, 273, 1659, 18, 1884, 461, 12, 9177, 3834, 1769, 759, 1377, 2332, 18, 659, 18, 8222, 2932, 14, 8001, 13679, 6344, 21307, 916, 12108, 3463, 294, 315, 397, 618, 6094, 18, 588, 2829, 1528, 10663, 759, 1377, 327, 12950, 6946, 797, 31, 759, 565, 289, 1044, 261, 797, 3990, 425, 2 ]
form.getErr().emit("org.bedework.client.error.missingcalendarid"); return null;
String calPath = request.getParameter("calPath"); if (calPath == null) { form.getErr().emit("org.bedework.client.error.missingcalendarpath"); return null; } cal = svci.getCalendar(calPath); } else { cal = svci.getCalendar(calId);
protected EventInfo findEvent(HttpServletRequest request, BwActionFormBase form) throws Throwable { CalSvcI svci = form.fetchSvci(); EventInfo ev = null; BwSubscription sub = null; int subid = getIntReqPar(request, "subid", -1); if (subid >= 0) { sub = svci.getSubscription(subid); if (sub == null) { form.getErr().emit("org.bedework.client.error.missingsubscriptionid"); return null; } } int calId = getIntReqPar(request, "calid", -1); BwCalendar cal = null; if (calId < 0) { form.getErr().emit("org.bedework.client.error.missingcalendarid"); return null; } cal = svci.getCalendar(calId); if (cal == null) { // Assume no access form.getErr().emit("org.bedework.client.error.noaccess"); return null; } String guid = getReqPar(request, "guid"); if (guid != null) { if (debug) { debugMsg("Get event by guid"); } String rid = getReqPar(request, "recurrenceId"); int retMethod = CalFacadeDefs.retrieveRecurMaster; Collection evs = svci.getEvent(sub, cal, guid, rid, retMethod); if (debug) { debugMsg("Get event by guid found " + evs.size()); } if (evs.size() == 1) { ev = (EventInfo)evs.iterator().next(); } else { // XXX this needs dealing with } } if (ev == null) { form.getErr().emit("org.bedework.client.error.nosuchevent", /*eid*/guid); return null; } else if (debug) { debugMsg("Get event by guid found " + ev.getEvent()); } return ev; }
50848 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50848/7e966c0293401dacbb2bc94c4a7eed1bfd585516/BwAbstractAction.java/buggy/calendar3/webcommon/src/org/bedework/webcommon/BwAbstractAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 2587, 966, 1104, 1133, 12, 2940, 18572, 590, 16, 27573, 605, 91, 1803, 1204, 2171, 646, 13, 1216, 4206, 288, 565, 3596, 17444, 45, 7538, 77, 273, 646, 18, 5754, 17444, 77, 5621, 565, 2587, 966, 2113, 273, 446, 31, 565, 605, 91, 6663, 720, 273, 446, 31, 565, 509, 720, 350, 273, 8145, 6113, 1553, 12, 2293, 16, 315, 1717, 350, 3113, 300, 21, 1769, 565, 309, 261, 1717, 350, 1545, 374, 13, 288, 1377, 720, 273, 7538, 77, 18, 588, 6663, 12, 1717, 350, 1769, 1377, 309, 261, 1717, 422, 446, 13, 288, 3639, 646, 18, 588, 2524, 7675, 18356, 2932, 3341, 18, 2196, 323, 1252, 18, 2625, 18, 1636, 18, 3105, 899, 373, 3100, 350, 8863, 3639, 327, 446, 31, 1377, 289, 565, 289, 565, 509, 1443, 548, 273, 8145, 6113, 1553, 12, 2293, 16, 315, 71, 567, 3113, 300, 21, 1769, 565, 605, 91, 7335, 1443, 273, 446, 31, 565, 309, 261, 771, 548, 411, 374, 13, 288, 1377, 646, 18, 588, 2524, 7675, 18356, 2932, 3341, 18, 2196, 323, 1252, 18, 2625, 18, 1636, 18, 7337, 11650, 350, 8863, 1377, 327, 446, 31, 565, 289, 565, 1443, 273, 7538, 77, 18, 588, 7335, 12, 771, 548, 1769, 565, 309, 261, 771, 422, 446, 13, 288, 1377, 368, 15983, 1158, 2006, 1377, 646, 18, 588, 2524, 7675, 18356, 2932, 3341, 18, 2196, 323, 1252, 18, 2625, 18, 1636, 18, 2135, 3860, 8863, 1377, 327, 446, 31, 565, 289, 565, 514, 9875, 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, 2587, 966, 1104, 1133, 12, 2940, 18572, 590, 16, 27573, 605, 91, 1803, 1204, 2171, 646, 13, 1216, 4206, 288, 565, 3596, 17444, 45, 7538, 77, 273, 646, 18, 5754, 17444, 77, 5621, 565, 2587, 966, 2113, 273, 446, 31, 565, 605, 91, 6663, 720, 273, 446, 31, 565, 509, 720, 350, 273, 8145, 6113, 1553, 12, 2293, 16, 315, 1717, 350, 3113, 300, 21, 1769, 565, 309, 261, 1717, 350, 1545, 374, 13, 288, 1377, 720, 273, 7538, 77, 18, 588, 6663, 12, 1717, 350, 1769, 1377, 309, 261, 1717, 422, 446, 13, 288, 3639, 646, 18, 588, 2524, 7675, 18356, 2932, 3341, 18, 2196, 323, 1252, 18, 2625, 18, 1636, 18, 3105, 899, 373, 3100, 2 ]
artifacts.addAll(directArtifacts);
artifacts.addAll( directArtifacts );
protected void setUp() throws Exception { super.setUp(); ArtifactStubFactory fact = new ArtifactStubFactory(null,false); artifacts = fact.getScopedArtifacts(); directArtifacts = fact.getReleaseAndSnapshotArtifacts(); artifacts.addAll(directArtifacts); }
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/cc3a01ab903ce7a1610784db39e6913daeb39597/TestTransitivityFilter.java/clean/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/utils/filters/TestTransitivityFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 3639, 1216, 1185, 565, 288, 3639, 2240, 18, 542, 1211, 5621, 3639, 14022, 11974, 1733, 5410, 273, 394, 14022, 11974, 1733, 12, 2011, 16, 5743, 1769, 3639, 16259, 273, 5410, 18, 588, 25470, 16981, 5621, 7734, 2657, 16981, 273, 5410, 18, 588, 7391, 1876, 4568, 16981, 5621, 7734, 16259, 18, 1289, 1595, 12, 2657, 16981, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 3639, 1216, 1185, 565, 288, 3639, 2240, 18, 542, 1211, 5621, 3639, 14022, 11974, 1733, 5410, 273, 394, 14022, 11974, 1733, 12, 2011, 16, 5743, 1769, 3639, 16259, 273, 5410, 18, 588, 25470, 16981, 5621, 7734, 2657, 16981, 273, 5410, 18, 588, 7391, 1876, 4568, 16981, 5621, 7734, 16259, 18, 1289, 1595, 12, 2657, 16981, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected static String guessContentTypeFromName(String fname)
public static String guessContentTypeFromName(String fname)
protected static String guessContentTypeFromName(String fname) { int dot = fname.lastIndexOf ("."); if (dot != -1) { if (dot == fname.length()) return ("application/octet-stream"); else fname = fname.substring (dot + 1); } String type = MimeTypes.getMimeTypeFromExtension (fname); if (type == null) return("application/octet-stream"); return(type); }
45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/b36f8eef237505f078dd95cd2d50183f990c35aa/URLConnection.java/buggy/libjava/java/net/URLConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 514, 7274, 8046, 29732, 12, 780, 5299, 13, 225, 288, 565, 509, 3928, 273, 5299, 18, 2722, 31985, 7566, 1199, 1769, 3639, 309, 261, 9811, 480, 300, 21, 13, 1377, 288, 202, 430, 261, 9811, 422, 5299, 18, 2469, 10756, 202, 225, 327, 7566, 3685, 19, 17909, 17, 3256, 8863, 202, 12107, 202, 225, 5299, 273, 5299, 18, 28023, 261, 9811, 397, 404, 1769, 1377, 289, 3639, 514, 618, 273, 22059, 2016, 18, 588, 16821, 1265, 3625, 261, 12749, 1769, 3639, 309, 261, 723, 422, 446, 13, 1377, 327, 2932, 3685, 19, 17909, 17, 3256, 8863, 565, 327, 12, 723, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 514, 7274, 8046, 29732, 12, 780, 5299, 13, 225, 288, 565, 509, 3928, 273, 5299, 18, 2722, 31985, 7566, 1199, 1769, 3639, 309, 261, 9811, 480, 300, 21, 13, 1377, 288, 202, 430, 261, 9811, 422, 5299, 18, 2469, 10756, 202, 225, 327, 7566, 3685, 19, 17909, 17, 3256, 8863, 202, 12107, 202, 225, 5299, 273, 5299, 18, 28023, 261, 9811, 397, 404, 1769, 1377, 289, 3639, 514, 618, 273, 22059, 2016, 18, 588, 16821, 1265, 3625, 261, 12749, 1769, 3639, 309, 261, 723, 422, 446, 13, 1377, 327, 2932, 3685, 19, 17909, 17, 3256, 8863, 565, 327, 12, 723, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return v;
return al;
public Collection getTimeZones() throws CalFacadeException { /* The input file should look something like: <dir> <name>A-name</name> <dir>...</dir> <file> <name>file1.ics</name> <data>...</data> </file> </dir> We ignore the first name - it represents the root. Each <dir> element may contain other <dir> and <file> elements. Each <name> element is a path element */ DirClass rootDir = parseTzDefs(new InputStreamReader(inStr)); Vector v = new Vector(); doDir(v, rootDir, ""); return v; }
50848 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50848/19603a749dc768387026adac4e643667a4c22fe4/TimeZonesParser.java/buggy/calendar3/appcommon/src/org/bedework/appcommon/TimeZonesParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2200, 6135, 13600, 1435, 1216, 3596, 12467, 503, 288, 565, 1748, 1021, 810, 585, 1410, 2324, 5943, 3007, 30, 565, 411, 1214, 34, 1377, 411, 529, 34, 37, 17, 529, 1757, 529, 34, 1377, 411, 1214, 34, 2777, 1757, 1214, 34, 1377, 411, 768, 34, 3639, 411, 529, 34, 768, 21, 18, 2102, 1757, 529, 34, 3639, 411, 892, 34, 2777, 1757, 892, 34, 1377, 7765, 768, 34, 565, 7765, 1214, 34, 565, 1660, 2305, 326, 1122, 508, 300, 518, 8686, 326, 1365, 18, 565, 8315, 411, 1214, 34, 930, 2026, 912, 1308, 411, 1214, 34, 471, 411, 768, 34, 2186, 18, 565, 8315, 411, 529, 34, 930, 353, 279, 589, 930, 225, 1195, 565, 8446, 797, 15393, 273, 1109, 56, 94, 14554, 12, 2704, 15322, 12, 267, 1585, 10019, 565, 5589, 331, 273, 394, 5589, 5621, 565, 741, 1621, 12, 90, 16, 15393, 16, 1408, 1769, 565, 327, 524, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2200, 6135, 13600, 1435, 1216, 3596, 12467, 503, 288, 565, 1748, 1021, 810, 585, 1410, 2324, 5943, 3007, 30, 565, 411, 1214, 34, 1377, 411, 529, 34, 37, 17, 529, 1757, 529, 34, 1377, 411, 1214, 34, 2777, 1757, 1214, 34, 1377, 411, 768, 34, 3639, 411, 529, 34, 768, 21, 18, 2102, 1757, 529, 34, 3639, 411, 892, 34, 2777, 1757, 892, 34, 1377, 7765, 768, 34, 565, 7765, 1214, 34, 565, 1660, 2305, 326, 1122, 508, 300, 518, 8686, 326, 1365, 18, 565, 8315, 411, 1214, 34, 930, 2026, 912, 1308, 411, 1214, 34, 471, 411, 768, 34, 2186, 18, 565, 8315, 411, 529, 34, 930, 353, 279, 589, 930, 225, 1195, 565, 8446, 797, 2 ]
public org.quickfix.field.UnderlyingSecurityType getUnderlyingSecurityType() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityType value = new org.quickfix.field.UnderlyingSecurityType();
public quickfix.field.UnderlyingSecurityType getUnderlyingSecurityType() throws FieldNotFound { quickfix.field.UnderlyingSecurityType value = new quickfix.field.UnderlyingSecurityType();
public org.quickfix.field.UnderlyingSecurityType getUnderlyingSecurityType() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityType value = new org.quickfix.field.UnderlyingSecurityType(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/PositionMaintenanceReport.java/buggy/src/java/src/quickfix/fix44/PositionMaintenanceReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 10833, 765, 6291, 4368, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 10833, 765, 6291, 4368, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void showEditorWindow(String title, java.util.Vector properties, java.util.Vector templates) { JInternalFrame jif = (JInternalFrame)getEditorFactory().createEditorWindow(title, properties, templates);
public void showEditorWindow(String title, String property, String template) { JInternalFrame jif = (JInternalFrame)getEditorFactory().createEditorWindow(title, property, template);
public void showEditorWindow(String title, java.util.Vector properties, java.util.Vector templates) { JInternalFrame jif = (JInternalFrame)getEditorFactory().createEditorWindow(title, properties, templates); getMessagePanel().add(jif); jif.setLocation(getMessagePanel().getNewWindowLocation(jif, true)); jif.setVisible(true); try { jif.setSelected(true); } catch (java.beans.PropertyVetoException pve) { } }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/ad1d7a526540019e033079228544b3a802a556d3/PookaDesktopPaneUIFactory.java/clean/src/net/suberic/pooka/gui/PookaDesktopPaneUIFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2405, 6946, 3829, 12, 780, 2077, 16, 2252, 18, 1367, 18, 5018, 1790, 16, 2252, 18, 1367, 18, 5018, 5539, 13, 288, 565, 804, 3061, 3219, 525, 430, 273, 261, 46, 3061, 3219, 13, 588, 6946, 1733, 7675, 2640, 6946, 3829, 12, 2649, 16, 1790, 16, 5539, 1769, 565, 2381, 5537, 7675, 1289, 12, 78, 430, 1769, 565, 525, 430, 18, 542, 2735, 12, 24906, 5537, 7675, 588, 1908, 3829, 2735, 12, 78, 430, 16, 638, 10019, 3639, 525, 430, 18, 542, 6207, 12, 3767, 1769, 565, 775, 288, 1377, 525, 430, 18, 542, 7416, 12, 3767, 1769, 565, 289, 1044, 261, 6290, 18, 2196, 634, 18, 1396, 58, 11453, 503, 293, 537, 13, 288, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2405, 6946, 3829, 12, 780, 2077, 16, 2252, 18, 1367, 18, 5018, 1790, 16, 2252, 18, 1367, 18, 5018, 5539, 13, 288, 565, 804, 3061, 3219, 525, 430, 273, 261, 46, 3061, 3219, 13, 588, 6946, 1733, 7675, 2640, 6946, 3829, 12, 2649, 16, 1790, 16, 5539, 1769, 565, 2381, 5537, 7675, 1289, 12, 78, 430, 1769, 565, 525, 430, 18, 542, 2735, 12, 24906, 5537, 7675, 588, 1908, 3829, 2735, 12, 78, 430, 16, 638, 10019, 3639, 525, 430, 18, 542, 6207, 12, 3767, 1769, 565, 775, 288, 1377, 525, 430, 18, 542, 7416, 12, 3767, 1769, 565, 289, 1044, 261, 6290, 18, 2196, 634, 18, 1396, 58, 11453, 503, 293, 537, 13, 288, 565, 2 ]
RubyModule rbClass = getRubyClass(); while (rbClass.isSingleton() || rbClass.isIncluded()) { rbClass = rbClass.getSuperClass(); } return rbClass; }
RubyModule rbClass = getRubyClass(); while (rbClass.isSingleton() || rbClass.isIncluded()) { rbClass = rbClass.getSuperClass(); } return rbClass; }
public RubyModule m_type() { RubyModule rbClass = getRubyClass(); while (rbClass.isSingleton() || rbClass.isIncluded()) { rbClass = rbClass.getSuperClass(); } return rbClass; }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/addcb75d5d86d9b1fd628d84d22b74cfc41f078e/RubyObject.java/buggy/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 3120, 312, 67, 723, 1435, 288, 3639, 19817, 3120, 7138, 797, 273, 4170, 10340, 797, 5621, 7734, 1323, 261, 6731, 797, 18, 291, 19571, 1435, 747, 7138, 797, 18, 291, 19323, 10756, 288, 5411, 7138, 797, 273, 7138, 797, 18, 588, 8051, 797, 5621, 3639, 289, 7734, 327, 7138, 797, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 19817, 3120, 312, 67, 723, 1435, 288, 3639, 19817, 3120, 7138, 797, 273, 4170, 10340, 797, 5621, 7734, 1323, 261, 6731, 797, 18, 291, 19571, 1435, 747, 7138, 797, 18, 291, 19323, 10756, 288, 5411, 7138, 797, 273, 7138, 797, 18, 588, 8051, 797, 5621, 3639, 289, 7734, 327, 7138, 797, 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 ]
redispatch(e);
redispatchMouseEvent(e, false);
public void mouseEntered(MouseEvent e) { redispatch(e); }
51282 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51282/57a407dc329b3647060b6a1165a8a1233b1f2fee/GlassPaneMouseAdapter.java/clean/mydoggy-plaf/src/main/java/org/noos/xing/mydoggy/plaf/ui/GlassPaneMouseAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7644, 10237, 329, 12, 9186, 1133, 425, 13, 288, 3639, 5813, 2272, 9186, 1133, 12, 73, 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, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7644, 10237, 329, 12, 9186, 1133, 425, 13, 288, 3639, 5813, 2272, 9186, 1133, 12, 73, 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, -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 true; } else { return false; } }
edits.add(edit); return true; }
public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); } } } // if: lastEdit return true; } else { return false; } } // addEdit()
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/1a56510a6b5772240a0ed85a7518db15a15edb8a/CompoundEdit.java/buggy/libjava/javax/swing/undo/CompoundEdit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 527, 4666, 12, 31224, 429, 4666, 392, 4666, 13, 288, 202, 202, 759, 23536, 202, 202, 31224, 429, 4666, 202, 2722, 4666, 31, 202, 202, 430, 261, 267, 5491, 422, 638, 13, 288, 1082, 202, 759, 968, 6825, 15328, 1082, 202, 2722, 4666, 273, 1142, 4666, 5621, 1082, 202, 759, 2073, 364, 446, 1082, 202, 430, 261, 2722, 4666, 480, 446, 13, 288, 9506, 202, 430, 261, 2722, 4666, 18, 1289, 4666, 12, 304, 4666, 13, 422, 629, 13, 288, 6862, 202, 430, 261, 2722, 4666, 18, 2079, 4666, 12, 304, 4666, 13, 422, 629, 13, 288, 25083, 202, 329, 1282, 18, 1289, 12, 304, 4666, 1769, 6862, 202, 97, 9506, 202, 97, 1082, 202, 97, 368, 309, 30, 1142, 4666, 1082, 202, 2463, 638, 31, 202, 202, 97, 469, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 97, 368, 527, 4666, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 1250, 527, 4666, 12, 31224, 429, 4666, 392, 4666, 13, 288, 202, 202, 759, 23536, 202, 202, 31224, 429, 4666, 202, 2722, 4666, 31, 202, 202, 430, 261, 267, 5491, 422, 638, 13, 288, 1082, 202, 759, 968, 6825, 15328, 1082, 202, 2722, 4666, 273, 1142, 4666, 5621, 1082, 202, 759, 2073, 364, 446, 1082, 202, 430, 261, 2722, 4666, 480, 446, 13, 288, 9506, 202, 430, 261, 2722, 4666, 18, 1289, 4666, 12, 304, 4666, 13, 422, 629, 13, 288, 6862, 202, 430, 261, 2722, 4666, 18, 2079, 4666, 12, 304, 4666, 13, 422, 629, 13, 288, 25083, 202, 329, 1282, 18, 1289, 12, 304, 4666, 1769, 6862, 202, 97, 9506, 202, 97, 1082, 202, 2 ]
if (! (data[1] instanceof PAToken)) { throw new PainterException("wrong arguments"); } patoken = (PAToken) data[1]; if (! (patoken.type == PAToken.PROCEDURE)) { throw new PainterException("wrong arguments"); }
public void execute(PAContext context) throws PainterException { Object data[]; ArrayList list; PAToken patoken; data = context.popOperands(2); if (! (data[0] instanceof ArrayList)) { throw new PainterException("wrong arguments"); } if (! (data[1] instanceof PAToken)) { throw new PainterException("wrong arguments"); } patoken = (PAToken) data[1]; if (! (patoken.type == PAToken.PROCEDURE)) { throw new PainterException("wrong arguments"); } list = (ArrayList) data[0]; Iterator iterator = list.iterator(); while (iterator.hasNext()) { context.operands.push(iterator.next()); context.engine.process(patoken); } }
4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/d2f614f1cabfa6f585b4e67b060a3e4e49a9f71e/PAContext.java/clean/src/com/lowagie/text/pdf/codec/postscript/PAContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1836, 12, 4066, 1042, 819, 13, 1216, 453, 11606, 503, 288, 3639, 1033, 501, 8526, 31, 3639, 2407, 666, 31, 3639, 17988, 969, 9670, 969, 31, 3639, 501, 273, 819, 18, 5120, 3542, 5708, 12, 22, 1769, 3639, 309, 16051, 261, 892, 63, 20, 65, 1276, 2407, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 21530, 1775, 8863, 3639, 289, 3639, 309, 16051, 261, 892, 63, 21, 65, 1276, 17988, 969, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 21530, 1775, 8863, 3639, 289, 3639, 9670, 969, 273, 261, 8592, 969, 13, 501, 63, 21, 15533, 3639, 309, 16051, 261, 16330, 969, 18, 723, 422, 17988, 969, 18, 3373, 23552, 4830, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 21530, 1775, 8863, 3639, 289, 3639, 666, 273, 261, 19558, 13, 501, 63, 20, 15533, 3639, 4498, 2775, 273, 666, 18, 9838, 5621, 3639, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 1850, 819, 18, 4063, 5708, 18, 6206, 12, 9838, 18, 4285, 10663, 1850, 819, 18, 8944, 18, 2567, 12, 16330, 969, 1769, 3639, 289, 1377, 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, 4202, 1071, 918, 1836, 12, 4066, 1042, 819, 13, 1216, 453, 11606, 503, 288, 3639, 1033, 501, 8526, 31, 3639, 2407, 666, 31, 3639, 17988, 969, 9670, 969, 31, 3639, 501, 273, 819, 18, 5120, 3542, 5708, 12, 22, 1769, 3639, 309, 16051, 261, 892, 63, 20, 65, 1276, 2407, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 21530, 1775, 8863, 3639, 289, 3639, 309, 16051, 261, 892, 63, 21, 65, 1276, 17988, 969, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 21530, 1775, 8863, 3639, 289, 3639, 9670, 969, 273, 261, 8592, 969, 13, 501, 63, 21, 15533, 3639, 309, 16051, 261, 16330, 969, 18, 723, 422, 17988, 969, 18, 3373, 23552, 4830, 3719, 288, 1850, 2 ]
if(last !=null && !"".equals(last)){
if(last!=null && !"".equals(last)){
public Collection ejbFindBySearch(String id,String first,String middle,String last,String type,int iCategoryId)throws javax.ejb.FinderException{ StringBuffer sql = new StringBuffer("select * from "); sql.append(com.idega.block.finance.data.AccountBMPBean.getEntityTableName()); sql.append(" a,ic_user u "); sql.append(" where a.ic_user_id = u.ic_user_id"); sql.append(" and a."); sql.append(com.idega.block.finance.data.AccountBMPBean.getColumnCategoryId()); sql.append(" = "); sql.append(iCategoryId); if(id !=null && !"".equals(id)){ sql.append(" and a.name like '%"); sql.append(id); sql.append("%' "); } if(first !=null && !"".equals(first )){ sql.append(" and u.first_name like '%"); sql.append(first); sql.append("%' "); } if(middle !=null && !"".equals(middle)){ sql.append(" and u.middle_name like '%"); sql.append(middle); sql.append("%' "); } if(last !=null && !"".equals(last)){ sql.append(" and u.last_name like '%"); sql.append(last); sql.append("%' "); } if(type !=null && !"".equals(type)){ sql.append(" and a.account_type like '"); sql.append(type); sql.append("' "); } //System.err.println(sql.toString()); return super.idoFindPKsBySQL(sql.toString()); }
57001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57001/e85844baf466fc99458d951b920afde1d642ec44/AccountBMPBean.java/clean/src/java/com/idega/block/finance/data/AccountBMPBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2200, 18024, 3125, 858, 2979, 12, 780, 612, 16, 780, 1122, 16, 780, 7689, 16, 780, 1142, 16, 780, 618, 16, 474, 277, 21197, 13, 15069, 6863, 18, 73, 10649, 18, 8441, 503, 95, 565, 6674, 1847, 273, 394, 6674, 2932, 4025, 380, 628, 315, 1769, 565, 1847, 18, 6923, 12, 832, 18, 831, 15833, 18, 2629, 18, 926, 1359, 18, 892, 18, 3032, 38, 4566, 3381, 18, 588, 1943, 7147, 10663, 565, 1847, 18, 6923, 2932, 279, 16, 335, 67, 1355, 582, 315, 1769, 565, 1847, 18, 6923, 2932, 1625, 279, 18, 335, 67, 1355, 67, 350, 273, 582, 18, 335, 67, 1355, 67, 350, 8863, 565, 1847, 18, 6923, 2932, 471, 279, 1199, 1769, 565, 1847, 18, 6923, 12, 832, 18, 831, 15833, 18, 2629, 18, 926, 1359, 18, 892, 18, 3032, 38, 4566, 3381, 18, 588, 1494, 21197, 10663, 565, 1847, 18, 6923, 2932, 273, 315, 1769, 565, 1847, 18, 6923, 12, 77, 21197, 1769, 565, 309, 12, 350, 480, 2011, 597, 401, 3660, 18, 14963, 12, 350, 3719, 95, 1377, 1847, 18, 6923, 2932, 471, 279, 18, 529, 3007, 1995, 8863, 1377, 1847, 18, 6923, 12, 350, 1769, 1377, 1847, 18, 6923, 2932, 8604, 315, 1769, 565, 289, 565, 309, 12, 3645, 480, 2011, 597, 401, 3660, 18, 14963, 12, 3645, 8623, 95, 1377, 1847, 18, 6923, 2932, 471, 582, 18, 3645, 67, 529, 3007, 1995, 8863, 1377, 1847, 18, 6923, 12, 3645, 1769, 1377, 1847, 18, 6923, 2932, 8604, 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, 282, 1071, 2200, 18024, 3125, 858, 2979, 12, 780, 612, 16, 780, 1122, 16, 780, 7689, 16, 780, 1142, 16, 780, 618, 16, 474, 277, 21197, 13, 15069, 6863, 18, 73, 10649, 18, 8441, 503, 95, 565, 6674, 1847, 273, 394, 6674, 2932, 4025, 380, 628, 315, 1769, 565, 1847, 18, 6923, 12, 832, 18, 831, 15833, 18, 2629, 18, 926, 1359, 18, 892, 18, 3032, 38, 4566, 3381, 18, 588, 1943, 7147, 10663, 565, 1847, 18, 6923, 2932, 279, 16, 335, 67, 1355, 582, 315, 1769, 565, 1847, 18, 6923, 2932, 1625, 279, 18, 335, 67, 1355, 67, 350, 273, 582, 18, 335, 67, 1355, 67, 350, 8863, 565, 1847, 18, 6923, 2932, 471, 279, 1199, 1769, 565, 2 ]
oneParsedRecordStr = this.parseOneRecord(tagsV, dataV, htmlCodeFile) ; htmlStr += oneParsedRecordStr ; }
oneParsedRecordStr = this.parseOneRecord(tagsV, dataV, htmlCodeFile) ; htmlStr += oneParsedRecordStr ; }
public String preParse (HttpServletRequest req, String[] DBArr, Vector tagsV, File htmlCodeFile, String imagePath) throws ServletException, IOException { String htmlStr = "" ; try { // Lets get the url to the servlets directory String servletHome = MetaInfo.getServletPath(req) ; // Lets get the part of the expert html File templateLib = super.getExternalTemplateFolder(req) ; File expertHtmFile = new File(templateLib, "CONF_EXPERT.HTM") ; // Lets get the nbr of cols int nbrOfCols = Integer.parseInt(DBArr[0]) ; //log("Number of cols: " + nbrOfCols) ; // Lets build an tagsArray with the tags from the DBarr, if // null was passed to us instead of a vector if( tagsV == null) { tagsV = new Vector() ; for(int k = 1; k<nbrOfCols; k++) { tagsV.add(DBArr[k]) ; // log("Counter: "+ k + " Tagvrde: " + DBArr[k] ) ; } } // Lets do for all records... for(int i = nbrOfCols+1; i<DBArr.length; i += nbrOfCols) { String oneParsedRecordStr = "" ; Vector dataV = new Vector() ; // Lets do for one record... Get all fields for that record // Lets go through the array and see if we can found an '\n' and // Replace it with a <BR> for(int j=i; j<i+nbrOfCols ; j++) { StringBuffer b = new StringBuffer(DBArr[j]) ; String s = this.replace(b, '\n' , "<BR>" ).toString() ; // String s = Html.replace(b, '\n' , "<BR>" ).toString() ; dataV.add(s) ; // dataV.add(DBArr[j]) ; } // End of one records for // Lets check if the user is some kind of "Master" eg. if he's // reply_level is equal to 1 and add the code returned to data. dataV = this.getReplyLevelCode(req, dataV, imagePath) ; // Ok, Lets go through this vector and see if we can found a '\n' and // Replace it with a <BR> //StringBuffer strBuff = new StringBuffer(dataV.toString()) ; //strBuff = Html.replace(strBuff, "'\'", "<BR>") ; //dataV = Html.replace(dataV, '\n', "<BR>") ; //log("RadKoll: " + dataV.toString() ) ; // Lets parse one record oneParsedRecordStr = this.parseOneRecord(tagsV, dataV, htmlCodeFile) ; htmlStr += oneParsedRecordStr ; // log("Ett record: " + oneParsedRecordStr); } // end of the big for } catch(Exception e) { log("Error in Preparse") ; return null ; } return htmlStr ; } // End of
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/ConfReply.java/clean/servlets/conf/ConfReply.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 675, 3201, 261, 2940, 18572, 1111, 16, 514, 8526, 2383, 5715, 16, 5589, 2342, 58, 16, 202, 202, 812, 1729, 1085, 812, 16, 514, 29181, 13, 225, 1216, 16517, 16, 1860, 288, 202, 202, 780, 1729, 1585, 273, 1408, 274, 202, 202, 698, 288, 1082, 202, 759, 511, 2413, 336, 326, 880, 358, 326, 8100, 87, 1867, 1082, 202, 780, 8100, 8684, 273, 6565, 966, 18, 588, 4745, 743, 12, 3658, 13, 274, 1082, 202, 759, 511, 2413, 336, 326, 1087, 434, 326, 431, 672, 1729, 1082, 202, 812, 1542, 5664, 273, 2240, 18, 588, 6841, 2283, 3899, 12, 3658, 13, 274, 1082, 202, 812, 431, 672, 44, 16925, 812, 273, 394, 1387, 12, 3202, 5664, 16, 315, 14497, 67, 2294, 3194, 56, 18, 5062, 49, 7923, 274, 1082, 202, 759, 511, 2413, 336, 326, 26297, 434, 5347, 1082, 202, 474, 26297, 951, 8011, 273, 2144, 18, 2670, 1702, 12, 2290, 5715, 63, 20, 5717, 274, 1082, 202, 759, 1330, 2932, 1854, 434, 5347, 30, 315, 397, 26297, 951, 8011, 13, 274, 1082, 202, 759, 511, 2413, 1361, 392, 2342, 1076, 598, 326, 2342, 628, 326, 2383, 5399, 16, 309, 1082, 202, 759, 446, 1703, 2275, 358, 584, 3560, 434, 279, 3806, 1082, 202, 430, 12, 2342, 58, 422, 446, 13, 288, 9506, 202, 4156, 58, 273, 394, 5589, 1435, 274, 9506, 202, 1884, 12, 474, 417, 273, 404, 31, 417, 32, 82, 2848, 951, 8011, 31, 417, 27245, 288, 6862, 202, 4156, 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, 675, 3201, 261, 2940, 18572, 1111, 16, 514, 8526, 2383, 5715, 16, 5589, 2342, 58, 16, 202, 202, 812, 1729, 1085, 812, 16, 514, 29181, 13, 225, 1216, 16517, 16, 1860, 288, 202, 202, 780, 1729, 1585, 273, 1408, 274, 202, 202, 698, 288, 1082, 202, 759, 511, 2413, 336, 326, 880, 358, 326, 8100, 87, 1867, 1082, 202, 780, 8100, 8684, 273, 6565, 966, 18, 588, 4745, 743, 12, 3658, 13, 274, 1082, 202, 759, 511, 2413, 336, 326, 1087, 434, 326, 431, 672, 1729, 1082, 202, 812, 1542, 5664, 273, 2240, 18, 588, 6841, 2283, 3899, 12, 3658, 13, 274, 1082, 202, 812, 431, 672, 44, 16925, 812, 273, 394, 1387, 12, 3202, 2 ]
public DFA.State transition(IntStream input) throws RecognitionException { int LA65_32 = input.LA(1); if ( LA65_32==89||(LA65_32>=93 && LA65_32<=94)||LA65_32==115 ) {return s4;} if ( LA65_32==IDENT ) {return s52;} NoViableAltException nvae = new NoViableAltException("", 65, 32, input); throw nvae; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/7e425814ce563fcc662b266adb2a4dc8e1a95d19/JavaParser.java/clean/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 40, 2046, 18, 5000, 16354, 634, 608, 12, 1702, 1228, 2630, 13, 15069, 5650, 7909, 503, 95, 474, 2534, 9222, 67, 1578, 33, 2630, 18, 2534, 12, 21, 1769, 430, 12, 2534, 9222, 67, 1578, 631, 6675, 20081, 12, 2534, 9222, 67, 1578, 34, 33, 11180, 10, 10, 2534, 9222, 67, 1578, 32, 33, 11290, 14047, 96, 2534, 9222, 67, 1578, 631, 22062, 15329, 6154, 24, 31, 97, 430, 12, 2534, 9222, 67, 1578, 631, 13355, 15329, 6154, 9401, 31, 97, 2279, 17080, 503, 16588, 8906, 33, 202, 2704, 2279, 17080, 503, 2932, 3113, 9222, 16, 1578, 16, 2630, 1769, 12849, 16588, 8906, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 40, 2046, 18, 5000, 16354, 634, 608, 12, 1702, 1228, 2630, 13, 15069, 5650, 7909, 503, 95, 474, 2534, 9222, 67, 1578, 33, 2630, 18, 2534, 12, 21, 1769, 430, 12, 2534, 9222, 67, 1578, 631, 6675, 20081, 12, 2534, 9222, 67, 1578, 34, 33, 11180, 10, 10, 2534, 9222, 67, 1578, 32, 33, 11290, 14047, 96, 2534, 9222, 67, 1578, 631, 22062, 15329, 6154, 24, 31, 97, 430, 12, 2534, 9222, 67, 1578, 631, 13355, 15329, 6154, 9401, 31, 97, 2279, 17080, 503, 16588, 8906, 33, 202, 2704, 2279, 17080, 503, 2932, 3113, 9222, 16, 1578, 16, 2630, 1769, 12849, 16588, 8906, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (! okayToCreate(rules)) { return this; }
File rules = new File(getFullPathName() + File.separator + newOperatorName + ".soar"); OperatorNode on = null;
public OperatorNode addSuboperator(OperatorWindow operatorWindow, SoarWorkingMemoryModel swmm,String newOperatorName) throws IOException { File rules = new File(getFullPathName() + File.separator + newOperatorName + ".soar"); OperatorNode on = null; if (! okayToCreate(rules)) { return this; } if (! rules.createNewFile()) { throw new IOException(); } on = operatorWindow.createSoarOperatorNode(newOperatorName,rules.getName()); operatorWindow.addChild(this,on); sourceChildren(); return this; }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/9cf35188c641160e2e251774deec0b711037d6fc/FolderNode.java/buggy/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/operatorwindow/FolderNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 11097, 907, 25716, 9497, 12, 5592, 3829, 3726, 3829, 16, 6155, 297, 14836, 6031, 1488, 1352, 7020, 16, 780, 394, 5592, 461, 13, 1216, 1860, 288, 202, 202, 812, 2931, 273, 394, 1387, 12, 588, 24173, 461, 1435, 397, 1387, 18, 11287, 397, 394, 5592, 461, 397, 3552, 2048, 297, 8863, 202, 202, 5592, 907, 603, 273, 446, 31, 202, 202, 430, 16051, 21194, 774, 1684, 12, 7482, 3719, 288, 1082, 202, 2463, 333, 31, 202, 202, 97, 202, 202, 430, 16051, 2931, 18, 2640, 1908, 812, 10756, 288, 1082, 202, 12849, 394, 1860, 5621, 202, 202, 97, 202, 202, 265, 273, 3726, 3829, 18, 2640, 10225, 297, 5592, 907, 12, 2704, 5592, 461, 16, 7482, 18, 17994, 10663, 202, 202, 9497, 3829, 18, 1289, 1763, 12, 2211, 16, 265, 1769, 202, 202, 3168, 4212, 5621, 202, 202, 2463, 333, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11097, 907, 25716, 9497, 12, 5592, 3829, 3726, 3829, 16, 6155, 297, 14836, 6031, 1488, 1352, 7020, 16, 780, 394, 5592, 461, 13, 1216, 1860, 288, 202, 202, 812, 2931, 273, 394, 1387, 12, 588, 24173, 461, 1435, 397, 1387, 18, 11287, 397, 394, 5592, 461, 397, 3552, 2048, 297, 8863, 202, 202, 5592, 907, 603, 273, 446, 31, 202, 202, 430, 16051, 21194, 774, 1684, 12, 7482, 3719, 288, 1082, 202, 2463, 333, 31, 202, 202, 97, 202, 202, 430, 16051, 2931, 18, 2640, 1908, 812, 10756, 288, 1082, 202, 12849, 394, 1860, 5621, 202, 202, 97, 202, 202, 265, 273, 3726, 3829, 18, 2640, 10225, 297, 5592, 907, 12, 2704, 5592, 461, 16, 7482, 2 ]
else if (c == '\'' && index + 2 < len && pattern.charAt(index + 2) == '\'')
else if (c == '\'')
private final int scanFix (String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern.charAt(index + 1) == '\'') { buf.append(c); ++index; } else if (c == '\'' && index + 2 < len && pattern.charAt(index + 2) == '\'') { buf.append(pattern.charAt(index + 1)); index += 2; } else if (c == '\u00a4') { if (index + 1 < len && pattern.charAt(index + 1) == '\u00a4') { buf.append(syms.getInternationalCurrencySymbol()); ++index; } else buf.append(syms.getCurrencySymbol()); } else if (c == syms.getPercent()) { if (multiplierSet) throw new IllegalArgumentException ("multiplier already set " + "- index: " + index); multiplierSet = true; multiplier = 100; buf.append(c); } else if (c == syms.getPerMill()) { if (multiplierSet) throw new IllegalArgumentException ("multiplier already set " + "- index: " + index); multiplierSet = true; multiplier = 1000; buf.append(c); } else if (patChars.indexOf(c) != -1) { // This is a pattern character. break; } else buf.append(c); ++index; } return index; }
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/5ccc4a9c16b9aecebd29ba8e752a0e2915e64d53/DecimalFormat.java/buggy/libjava/java/text/DecimalFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 509, 4135, 8585, 261, 780, 1936, 16, 509, 770, 16, 6674, 1681, 16, 9506, 377, 514, 9670, 7803, 16, 29665, 14821, 24367, 16, 9506, 377, 1250, 353, 67, 8477, 13, 225, 288, 565, 509, 562, 273, 1936, 18, 2469, 5621, 565, 1681, 18, 542, 1782, 12, 20, 1769, 565, 1250, 15027, 694, 273, 629, 31, 565, 1323, 261, 1615, 411, 562, 13, 1377, 288, 202, 3001, 276, 273, 1936, 18, 3001, 861, 12, 1615, 1769, 202, 430, 261, 71, 422, 15053, 597, 770, 397, 404, 411, 562, 202, 565, 597, 1936, 18, 3001, 861, 12, 1615, 397, 404, 13, 422, 14118, 6134, 202, 225, 288, 202, 565, 1681, 18, 6923, 12, 71, 1769, 202, 565, 965, 1615, 31, 202, 225, 289, 202, 12107, 309, 261, 71, 422, 15053, 597, 770, 397, 576, 411, 562, 1082, 597, 1936, 18, 3001, 861, 12, 1615, 397, 576, 13, 422, 14118, 6134, 202, 225, 288, 202, 565, 1681, 18, 6923, 12, 4951, 18, 3001, 861, 12, 1615, 397, 404, 10019, 202, 565, 770, 1011, 576, 31, 202, 225, 289, 202, 12107, 309, 261, 71, 422, 2337, 89, 713, 69, 24, 6134, 202, 225, 288, 202, 565, 309, 261, 1615, 397, 404, 411, 562, 597, 1936, 18, 3001, 861, 12, 1615, 397, 404, 13, 422, 2337, 89, 713, 69, 24, 6134, 202, 1377, 288, 202, 202, 4385, 18, 6923, 12, 9009, 959, 18, 588, 21843, 8371, 7623, 5335, 10663, 202, 202, 9904, 1615, 31, 202, 1377, 289, 202, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 509, 4135, 8585, 261, 780, 1936, 16, 509, 770, 16, 6674, 1681, 16, 9506, 377, 514, 9670, 7803, 16, 29665, 14821, 24367, 16, 9506, 377, 1250, 353, 67, 8477, 13, 225, 288, 565, 509, 562, 273, 1936, 18, 2469, 5621, 565, 1681, 18, 542, 1782, 12, 20, 1769, 565, 1250, 15027, 694, 273, 629, 31, 565, 1323, 261, 1615, 411, 562, 13, 1377, 288, 202, 3001, 276, 273, 1936, 18, 3001, 861, 12, 1615, 1769, 202, 430, 261, 71, 422, 15053, 597, 770, 397, 404, 411, 562, 202, 565, 597, 1936, 18, 3001, 861, 12, 1615, 397, 404, 13, 422, 14118, 6134, 202, 225, 288, 202, 565, 1681, 18, 6923, 12, 71, 1769, 202, 565, 965, 2 ]
log.debug("storeSnmpCollection: routemetric1 is: "+ routemetric1 == null ? "null" : routemetric1+"; IP_ROUTE_METRIC1: "+IpRouteTableEntry.IP_ROUTE_METRIC1);
log.debug("storeSnmpCollection: routemetric1 is: "+ (routemetric1 < 1 ? "less than 1" : routemetric1)+"; IP_ROUTE_METRIC1: "+IpRouteTableEntry.IP_ROUTE_METRIC1); log.debug("storeSnmpCollection: ent="+ent); log.debug("storeSnmpCollection: IP_ROUTE_METRIC2="+IpRouteTableEntry.IP_ROUTE_METRIC2);
private void storeSnmpCollection(Connection dbConn, Timestamp now) throws SQLException, UnknownHostException { Category log = ThreadCategory.getInstance(getClass()); Iterator ite = null; int nodeid = m_node.getNodeId(); if (m_snmpcoll.hasIpNetToMediaTable()) { ite = m_snmpcoll.getIpNetToMediaTable() .getEntries().iterator(); if (log.isDebugEnabled()) log .debug("store: saving IpNetToMediaTable to atinterface table in DB"); // the AtInterfaces used by LinkableNode where to save info java.util.List<AtInterface> atInterfaces = new java.util.ArrayList<AtInterface>(); while (ite.hasNext()) { IpNetToMediaTableEntry ent = (IpNetToMediaTableEntry) ite .next(); int ifindex = ent .getInt32(IpNetToMediaTableEntry.INTM_INDEX); InetAddress ipaddress = ent .getIPAddress(IpNetToMediaTableEntry.INTM_NETADDR); if (ipaddress.isLoopbackAddress() || ipaddress.getHostAddress().equals("0.0.0.0")) { log.warn("store: invalid ip " + ipaddress.getHostAddress()); continue; } String physAddr = ent .getHexString(IpNetToMediaTableEntry.INTM_PHYSADDR); if (physAddr.equals("000000000000") || physAddr.equalsIgnoreCase("ffffffffffff")) { log.warn("store: invalid mac address " + physAddr + " for ip " + ipaddress.getHostAddress()); continue; } if (log.isDebugEnabled()) log.debug("store: trying save info for ipaddr " + ipaddress.getHostName() + " mac address " + physAddr + " found on ifindex " + ifindex); // get an At interface but without setting mac address AtInterface at = getNodeidIfindexFromIp(dbConn, ipaddress); if (at == null) { log.warn("getNodeidIfindexFromIp: no nodeid found for ipaddress " + ipaddress + "."); continue; //TODO here is a good place for autodiscovery } //set the mac address at.setMacAddress(physAddr); // add At Inteface to list of valid interfaces atInterfaces.add(at); // Save in DB DbAtInterfaceEntry atInterfaceEntry = DbAtInterfaceEntry.get( dbConn, at.getNodeId(), ipaddress.getHostAddress()); if (atInterfaceEntry == null) { atInterfaceEntry = DbAtInterfaceEntry.create(at.getNodeId(), ipaddress.getHostAddress()); } // update object atInterfaceEntry.updateAtPhysAddr(physAddr); atInterfaceEntry.updateSourceNodeId(nodeid); atInterfaceEntry.updateIfIndex(ifindex); atInterfaceEntry.updateStatus(DbAtInterfaceEntry.STATUS_ACTIVE); atInterfaceEntry.set_lastpolltime(now); // store object in database atInterfaceEntry.store(dbConn); } // set AtInterfaces in LinkableNode m_node.setAtInterfaces(atInterfaces); } if (m_snmpcoll.hasCdpCacheTable()) { if (log.isDebugEnabled()) log .debug("store: saving CdpCacheTable into SnmpLinkableNode"); java.util.List<CdpInterface> cdpInterfaces = new java.util.ArrayList<CdpInterface>(); ite = m_snmpcoll.getCdpCacheTable() .getEntries().iterator(); while (ite.hasNext()) { CdpCacheTableEntry cdpEntry = (CdpCacheTableEntry) ite.next(); int cdpAddrType = cdpEntry.getInt32(CdpCacheTableEntry.CDP_ADDRESS_TYPE); if (cdpAddrType != 1) continue; String cdptargetipaddress = cdpEntry.getHexString(CdpCacheTableEntry.CDP_ADDRESS); if (log.isDebugEnabled()) log.debug(" cdp ip address octet string is " + cdptargetipaddress); long ipAddr = Long.parseLong(cdptargetipaddress, 16); byte[] bytes = new byte[4]; bytes[3] = (byte) (ipAddr & 0xff); bytes[2] = (byte) ((ipAddr >> 8) & 0xff); bytes[1] = (byte) ((ipAddr >> 16) & 0xff); bytes[0] = (byte) ((ipAddr >> 24) & 0xff); InetAddress cdpTargetIpAddr = InetAddress.getByAddress(bytes); if (log.isDebugEnabled()) log.debug(" cdp ip address after parsing is " + cdpTargetIpAddr.getHostAddress()); int cdpIfIndex = cdpEntry.getInt32(CdpCacheTableEntry.CDP_IFINDEX); if (log.isDebugEnabled()) log.debug(" cdp ifindex is " + cdpIfIndex); String cdpTargetDevicePort = cdpEntry.getDisplayString(CdpCacheTableEntry.CDP_DEVICEPORT); if (log.isDebugEnabled()) log.debug(" cdp Target device port name is " + cdpTargetDevicePort); CdpInterface cdpIface = new CdpInterface(cdpIfIndex); int targetCdpNodeId = getNodeidFromIp(dbConn, cdpTargetIpAddr); cdpIface.setCdpTargetNodeId(targetCdpNodeId); cdpIface.setCdpTargetIpAddr(cdpTargetIpAddr); int cdpTargetIfindex = getIfIndexByName( dbConn, targetCdpNodeId, cdpTargetDevicePort); if (targetCdpNodeId == -1 || cdpTargetIfindex == -1) { log.warn("No nodeid found: cdp interface not added to Linkable Snmp Node"); //TODO Good place for autodiscovery } else { cdpIface.setCdpTargetIfIndex(cdpTargetIfindex); cdpInterfaces.add(cdpIface); } } m_node.setCdpInterfaces(cdpInterfaces); } if (m_snmpcoll.hasRouteTable()) { java.util.List<RouterInterface> routeInterfaces = new java.util.ArrayList<RouterInterface>(); ite = m_snmpcoll.getIpRouteTable().getEntries() .iterator(); if (log.isDebugEnabled()) log .debug("store: saving ipRouteTable to iprouteinterface table in DB"); while (ite.hasNext()) { IpRouteTableEntry ent = (IpRouteTableEntry) ite.next(); InetAddress routedest = ent.getIPAddress(IpRouteTableEntry.IP_ROUTE_DEST); log.debug("storeSnmpCollection: routedest is: "+ routedest == null ? "null" : routedest+"; IP_ROUTE_DEST: "+IpRouteTableEntry.IP_ROUTE_DEST); InetAddress routemask = ent.getIPAddress(IpRouteTableEntry.IP_ROUTE_MASK); log.debug("storeSnmpCollection: routemask is: "+ routemask == null ? "null" : routemask+"; IP_ROUTE_MASK: "+IpRouteTableEntry.IP_ROUTE_MASK); InetAddress nexthop = ent.getIPAddress(IpRouteTableEntry.IP_ROUTE_NXTHOP); log.debug("storeSnmpCollection: nexthop is: "+ nexthop == null ? "null" : nexthop+"; IP_ROUTE_NXTHOP: "+IpRouteTableEntry.IP_ROUTE_NXTHOP); int ifindex = ent.getInt32(IpRouteTableEntry.IP_ROUTE_IFINDEX); log.debug("storeSnmpCollection: ifindex is: "+ ifindex == null ? "null" : ifindex+"; IP_ROUTE_IFINDEX: "+IpRouteTableEntry.IP_ROUTE_IFINDEX); int routemetric1 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC1); log.debug("storeSnmpCollection: routemetric1 is: "+ routemetric1 == null ? "null" : routemetric1+"; IP_ROUTE_METRIC1: "+IpRouteTableEntry.IP_ROUTE_METRIC1); int routemetric2 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC2); log.debug("storeSnmpCollection: routemetric2 is: "+ routemetric2 == null ? "null" : routemetric2+"; IP_ROUTE_METRIC2: "+IpRouteTableEntry.IP_ROUTE_METRIC2); int routemetric3 =ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC3); log.debug("storeSnmpCollection: routemetric3 is: "+ routemetric3 == null ? "null" : routemetric3+"; IP_ROUTE_METRIC3: "+IpRouteTableEntry.IP_ROUTE_METRIC3); int routemetric4 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC4); log.debug("storeSnmpCollection: routemetric4 is: "+ routemetric4 == null ? "null" : routemetric4+"; IP_ROUTE_METRIC4: "+IpRouteTableEntry.IP_ROUTE_METRIC4); int routemetric5 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC5); log.debug("storeSnmpCollection: routemetric5 is: "+ routemetric5 == null ? "null" : routemetric5+"; IP_ROUTE_METRIC5: "+IpRouteTableEntry.IP_ROUTE_METRIC5); int routetype = ent.getInt32(IpRouteTableEntry.IP_ROUTE_TYPE); log.debug("storeSnmpCollection: routetype is: "+ routetype == null ? "null" : routetype+"; IP_ROUTE_TYPE: "+IpRouteTableEntry.IP_ROUTE_TYPE); int routeproto = ent.getInt32(IpRouteTableEntry.IP_ROUTE_PROTO); log.debug("storeSnmpCollection: routeproto is: "+ routeproto == null ? "null" : routeproto+"; IP_ROUTE_PROTO: "+IpRouteTableEntry.IP_ROUTE_PROTO); // info used for Discovery Link RouterInterface routeIface = new RouterInterface(ifindex); routeIface.setMetric(routemetric1); routeIface.setNextHop(nexthop); int nodeParentId = getNodeidFromIp(dbConn,nexthop); if (nodeParentId == -1) { //TODO here is a good point for autodiscovery log.warn("store: No nodeid found for next hop " + nexthop + " Skipping ip route interface add to Linkable Snmp Node"); } else { routeIface.setNodeparentid(nodeParentId); routeIface.setSnmpiftype(getSnmpIfType(dbConn, nodeid, ifindex)); routeInterfaces.add(routeIface); } // save info to DB DbIpRouteInterfaceEntry iprouteInterfaceEntry = DbIpRouteInterfaceEntry .get(dbConn, nodeid, routedest.getHostAddress()); if (iprouteInterfaceEntry == null) { // Create a new entry iprouteInterfaceEntry = DbIpRouteInterfaceEntry.create( m_node.getNodeId(), routedest.getHostAddress()); } // update object iprouteInterfaceEntry.updateRouteMask(routemask.getHostAddress()); iprouteInterfaceEntry.updateRouteNextHop(nexthop.getHostAddress()); iprouteInterfaceEntry.updateIfIndex(ifindex); if (routemetric1 != -1) iprouteInterfaceEntry.updateRouteMetric1(routemetric1); if (routemetric2 != -1) iprouteInterfaceEntry.updateRouteMetric2(routemetric2); if (routemetric3 != -1) iprouteInterfaceEntry.updateRouteMetric3(routemetric3); if (routemetric4 != -1) iprouteInterfaceEntry.updateRouteMetric4(routemetric4); if (routemetric5 != -1) iprouteInterfaceEntry.updateRouteMetric5(routemetric5); if (routetype != -1) iprouteInterfaceEntry.updateRouteType(routetype); if (routeproto != -1) iprouteInterfaceEntry.updateRouteProto(routeproto); iprouteInterfaceEntry .updateStatus(DbAtInterfaceEntry.STATUS_ACTIVE); iprouteInterfaceEntry.set_lastpolltime(now); // store object in database iprouteInterfaceEntry.store(dbConn); } m_node.setRouteInterfaces(routeInterfaces); } // STARTS loop on vlans if (m_snmpcoll.hasVlanTable()) { if (log.isDebugEnabled()) log .debug("store: saving SnmpVlanCollection in DB"); ite = m_snmpcoll.getSnmpVlanCollections() .iterator(); while (ite.hasNext()) { SnmpVlanCollection snmpVlanColl = (SnmpVlanCollection) ite .next(); String vlanindex = snmpVlanColl.getVlanIndex(); int vlan = Integer.parseInt(vlanindex); String vlanname = snmpVlanColl.getVlanName(); if (log.isDebugEnabled()) log .debug("store: parsing VLAN " + vlanindex + " VLAN_NAME " + vlanname); if (snmpVlanColl.hasDot1dBase()) { if (log.isDebugEnabled()) log .debug("store: saving Dot1dBaseGroup in stpnode table"); Dot1dBaseGroup dod1db = (Dot1dBaseGroup) snmpVlanColl.getDot1dBase(); String baseBridgeAddress = dod1db.getBridgeAddress(); int basenumports = dod1db.getNumberOfPorts(); int bridgetype = dod1db.getBridgeType(); if (baseBridgeAddress == "000000000000") { log.warn("store: base bridge address " + baseBridgeAddress + " is invalid for ipaddress " ); } else { m_node.addBridgeIdentifier(baseBridgeAddress,vlanindex); DbStpNodeEntry dbStpNodeEntry = DbStpNodeEntry.get(dbConn, m_node.getNodeId(), vlan); if (dbStpNodeEntry == null) { // Create a new entry dbStpNodeEntry = DbStpNodeEntry.create(m_node .getNodeId(), vlan); } // update object dbStpNodeEntry.updateBaseBridgeAddress(baseBridgeAddress); dbStpNodeEntry.updateBaseNumPorts(basenumports); dbStpNodeEntry.updateBaseType(bridgetype); dbStpNodeEntry.updateBaseVlanName(vlanname); if (snmpVlanColl.hasDot1dStp()) { if (log.isDebugEnabled()) log .debug("store: adding Dot1dStpGroup in stpnode table"); Dot1dStpGroup dod1stp = (Dot1dStpGroup) snmpVlanColl .getDot1dStp(); int protospec = dod1stp.getStpProtocolSpecification(); int stppriority = dod1stp.getStpPriority(); String stpDesignatedRoot = dod1stp.getStpDesignatedRoot(); int stprootcost = dod1stp.getStpRootCost(); int stprootport = dod1stp.getStpRootPort(); if (stpDesignatedRoot != "0000000000000000") { m_node.setVlanStpRoot(vlanindex,stpDesignatedRoot); } dbStpNodeEntry.updateStpProtocolSpecification(protospec); dbStpNodeEntry.updateStpPriority(stppriority); dbStpNodeEntry.updateStpDesignatedRoot(stpDesignatedRoot); dbStpNodeEntry.updateStpRootCost(stprootcost); dbStpNodeEntry.updateStpRootPort(stprootport); } // store object in database dbStpNodeEntry.updateStatus(DbStpNodeEntry.STATUS_ACTIVE); dbStpNodeEntry.set_lastpolltime(now); dbStpNodeEntry.store(dbConn); if (snmpVlanColl.hasDot1dBasePortTable()) { Iterator sub_ite = snmpVlanColl.getDot1dBasePortTable() .getEntries().iterator(); if (log.isDebugEnabled()) log .debug("store: saving Dot1dBasePortTable in stpinterface table"); while (sub_ite.hasNext()) { Dot1dBasePortTableEntry dot1dbaseptentry = (Dot1dBasePortTableEntry) sub_ite .next(); int baseport = dot1dbaseptentry.getInt32(Dot1dBasePortTableEntry.BASE_PORT); int ifindex = dot1dbaseptentry.getInt32(Dot1dBasePortTableEntry.BASE_IFINDEX); m_node.setIfIndexBridgePort(ifindex,baseport); DbStpInterfaceEntry dbStpIntEntry = DbStpInterfaceEntry .get(dbConn, m_node.getNodeId(), baseport, vlan); if (dbStpIntEntry == null) { // Create a new entry dbStpIntEntry = DbStpInterfaceEntry.create( m_node.getNodeId(), baseport, vlan); } dbStpIntEntry.updateIfIndex(ifindex); dbStpIntEntry .updateStatus(DbStpNodeEntry.STATUS_ACTIVE); dbStpIntEntry.set_lastpolltime(now); dbStpIntEntry.store(dbConn); } } if (snmpVlanColl.hasDot1dStpPortTable()) { if (log.isDebugEnabled()) log .debug(" store: adding Dot1dStpPortTable in stpinterface table"); Iterator sub_ite = snmpVlanColl.getDot1dStpPortTable() .getEntries().iterator(); while (sub_ite.hasNext()) { Dot1dStpPortTableEntry dot1dstpptentry = (Dot1dStpPortTableEntry) sub_ite .next(); int stpport = dot1dstpptentry.getInt32(Dot1dStpPortTableEntry.STP_PORT); DbStpInterfaceEntry dbStpIntEntry = DbStpInterfaceEntry .get(dbConn, m_node.getNodeId(), stpport, vlan); if (dbStpIntEntry == null) { // Cannot create the object becouse must exists the dot1dbase // object!!!!! log .warn("store StpInterface: when storing STP info" + " for bridge node with nodeid " + m_node.getNodeId() + " bridgeport number " + stpport + " and vlan index " + vlanindex + " info not found in database, ERROR skipping....."); } else { int stpportstate = dot1dstpptentry .getInt32(Dot1dStpPortTableEntry.STP_PORT_STATE); int stpportpathcost = dot1dstpptentry .getInt32(Dot1dStpPortTableEntry.STP_PORT_PATH_COST); String stpPortDesignatedBridge = dot1dstpptentry .getHexString(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_BRIDGE); String stpPortDesignatedRoot = dot1dstpptentry .getHexString(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_ROOT); int stpportdesignatedcost = dot1dstpptentry .getInt32(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_COST); String stpPortDesignatedPort = dot1dstpptentry .getHexString(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_PORT); if (stpPortDesignatedBridge.equals("0000000000000000")) { log.warn("storeSnmpCollection: designated bridge is invalid not adding to discoveryLink"); } else if (stpPortDesignatedPort.equals("0000")) { log.warn("storeSnmpCollection: designated port is invalid not adding to discoveryLink"); } else { BridgeStpInterface stpIface = new BridgeStpInterface(stpport,vlanindex); stpIface.setStpPortDesignatedBridge(stpPortDesignatedBridge); stpIface.setStpPortDesignatedPort(stpPortDesignatedPort); m_node.addStpInterface(stpIface); } dbStpIntEntry.updateStpPortState(stpportstate); dbStpIntEntry.updateStpPortPathCost(stpportpathcost); dbStpIntEntry.updateStpportDesignatedBridge(stpPortDesignatedBridge); dbStpIntEntry.updateStpportDesignatedRoot(stpPortDesignatedRoot); dbStpIntEntry.updateStpPortDesignatedCost(stpportdesignatedcost); dbStpIntEntry.updateStpportDesignatedPort(stpPortDesignatedPort); dbStpIntEntry.updateStatus(DbStpNodeEntry.STATUS_ACTIVE); dbStpIntEntry.set_lastpolltime(now); dbStpIntEntry.store(dbConn); } } } if (snmpVlanColl.hasDot1dTpFdbTable()) { if (log.isDebugEnabled()) log .debug("store: parsing Dot1dTpFdbTable"); Iterator subite = snmpVlanColl.getDot1dFdbTable() .getEntries().iterator(); while (subite.hasNext()) { Dot1dTpFdbTableEntry dot1dfdbentry = (Dot1dTpFdbTableEntry) subite .next(); String curMacAddress = dot1dfdbentry .getHexString(Dot1dTpFdbTableEntry.FDB_ADDRESS); int fdbport = dot1dfdbentry.getInt32(Dot1dTpFdbTableEntry.FDB_PORT); if (fdbport == 0) { if (log.isDebugEnabled()) log.debug("populateBridge: macaddress " + curMacAddress + " learned on invalid port " + fdbport + " . Skipping"); continue; } int curfdbstatus = dot1dfdbentry.getInt32(Dot1dTpFdbTableEntry.FDB_STATUS); if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_LEARNED) { m_node.addMacAddress(fdbport, curMacAddress, vlanindex); if (log.isDebugEnabled()) log .debug("storeSnmpCollection: found learned mac address " + curMacAddress + " on bridge port " + fdbport + " for VLAN " + snmpVlanColl.getVlanIndex()); } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_SELF) { m_node.addBridgeIdentifier(curMacAddress); if (log.isDebugEnabled()) log .debug("storeSnmpCollection: found bridge identifier " + curMacAddress + " for VLAN " + snmpVlanColl.getVlanIndex() + " and bridge port " + fdbport); } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_INVALID) { if (log.isDebugEnabled()) log.debug("storeSnmpCollection: macaddress " + curMacAddress + " has INVALID status on port " + fdbport + " . Skipping"); continue; } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_MGMT) { if (log.isDebugEnabled()) log.debug("storeSnmpCollection: macaddress " + curMacAddress + " has MGMT status on port " + fdbport + " . Skipping"); continue; } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_OTHER) { if (log.isDebugEnabled()) log.debug("storeSnmpCollection: macaddress " + curMacAddress + " has OTHER status on port " + fdbport + " . Skipping"); continue; } } } //now adding bridge identifier mac addresses of switch from snmpinterface setBridgeIdentifierFromSnmpInterface(dbConn); } } } } update(dbConn, now); }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/1d69554b5dbe6b097367af5d9ca68a47f42dbeff/DbEventWriter.java/clean/opennms-services/src/main/java/org/opennms/netmgt/linkd/DbEventWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1707, 10461, 1291, 2532, 12, 1952, 30795, 16, 8159, 2037, 13, 1216, 6483, 16, 1082, 202, 4874, 29776, 288, 202, 202, 4457, 613, 273, 4884, 4457, 18, 588, 1442, 12, 588, 797, 10663, 202, 202, 3198, 518, 73, 273, 446, 31, 202, 202, 474, 756, 350, 273, 312, 67, 2159, 18, 588, 15883, 5621, 202, 202, 430, 261, 81, 67, 26527, 12910, 18, 5332, 5273, 7308, 774, 5419, 1388, 10756, 288, 1082, 202, 1137, 273, 312, 67, 26527, 12910, 18, 588, 5273, 7308, 774, 5419, 1388, 1435, 6862, 202, 18, 588, 5400, 7675, 9838, 5621, 1082, 202, 430, 261, 1330, 18, 291, 2829, 1526, 10756, 9506, 202, 1330, 25083, 202, 18, 4148, 2932, 2233, 30, 12392, 14709, 7308, 774, 5419, 1388, 358, 622, 5831, 1014, 316, 2383, 8863, 1082, 202, 759, 326, 2380, 10273, 1399, 635, 4048, 429, 907, 1625, 358, 1923, 1123, 1082, 202, 6290, 18, 1367, 18, 682, 32, 861, 1358, 34, 622, 10273, 273, 394, 2252, 18, 1367, 18, 19558, 32, 861, 1358, 34, 5621, 1082, 202, 17523, 261, 1137, 18, 5332, 2134, 10756, 288, 9506, 202, 5273, 7308, 774, 5419, 1388, 1622, 3281, 273, 261, 5273, 7308, 774, 5419, 1388, 1622, 13, 518, 73, 25083, 202, 18, 4285, 5621, 6862, 9506, 202, 474, 309, 1615, 273, 3281, 25083, 202, 18, 588, 1702, 1578, 12, 5273, 7308, 774, 5419, 1388, 1622, 18, 3217, 49, 67, 9199, 1769, 6862, 9506, 202, 382, 278, 1887, 24964, 273, 3281, 25083, 202, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1707, 10461, 1291, 2532, 12, 1952, 30795, 16, 8159, 2037, 13, 1216, 6483, 16, 1082, 202, 4874, 29776, 288, 202, 202, 4457, 613, 273, 4884, 4457, 18, 588, 1442, 12, 588, 797, 10663, 202, 202, 3198, 518, 73, 273, 446, 31, 202, 202, 474, 756, 350, 273, 312, 67, 2159, 18, 588, 15883, 5621, 202, 202, 430, 261, 81, 67, 26527, 12910, 18, 5332, 5273, 7308, 774, 5419, 1388, 10756, 288, 1082, 202, 1137, 273, 312, 67, 26527, 12910, 18, 588, 5273, 7308, 774, 5419, 1388, 1435, 6862, 202, 18, 588, 5400, 7675, 9838, 5621, 1082, 202, 430, 261, 1330, 18, 291, 2829, 1526, 10756, 9506, 202, 1330, 25083, 202, 18, 4148, 2932, 2233, 30, 2 ]
this(stepid, stepname, stepMetaInterface);
this(stepname, stepMetaInterface); if (this.stepid==null) this.stepid = stepid;
public StepMeta(LogWriter log, String stepid, String stepname, StepMetaInterface stepMetaInterface) { this(stepid, stepname, stepMetaInterface); }
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/092fc207e594f510138210bbf34886fdef329e4c/StepMeta.java/buggy/kettle/src/be/ibridge/kettle/trans/step/StepMeta.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8693, 2781, 12, 1343, 2289, 613, 16, 514, 2235, 350, 16, 514, 2235, 529, 16, 8693, 2781, 1358, 2235, 2781, 1358, 13, 565, 288, 3639, 333, 12, 4119, 529, 16, 2235, 2781, 1358, 1769, 309, 261, 2211, 18, 4119, 350, 631, 2011, 13, 333, 18, 4119, 350, 273, 2235, 350, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8693, 2781, 12, 1343, 2289, 613, 16, 514, 2235, 350, 16, 514, 2235, 529, 16, 8693, 2781, 1358, 2235, 2781, 1358, 13, 565, 288, 3639, 333, 12, 4119, 529, 16, 2235, 2781, 1358, 1769, 309, 261, 2211, 18, 4119, 350, 631, 2011, 13, 333, 18, 4119, 350, 273, 2235, 350, 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 ]
IFigure thisEdge = getFigure();
/*IFigure thisEdge = getFigure();
public void highlightEdge() { IFigure thisEdge = getFigure(); IFigure layer = getLayer(CONNECTION_LAYER); IFigure feedbackLayer = getLayer(GraphRootEditPart.CONNECTION_FEEDBACK_LAYER ); layer.remove(thisEdge); feedbackLayer.add(thisEdge); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/46d66185cd1b63599ddd744d94199ca1d2e21db1/GraphConnectionEditPart.java/clean/sandbox/org.eclipse.mylyn.zest.core/src/org/eclipse/mylyn/zest/core/internal/graphviewer/parts/GraphConnectionEditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 8839, 6098, 1435, 288, 202, 202, 20308, 5501, 15906, 333, 6098, 273, 2812, 15906, 5621, 3196, 202, 5501, 15906, 3018, 273, 25763, 12, 15461, 67, 22166, 1769, 202, 202, 5501, 15906, 10762, 4576, 273, 25763, 12, 4137, 2375, 4666, 1988, 18, 15461, 67, 29195, 8720, 67, 22166, 11272, 202, 202, 6363, 18, 4479, 12, 2211, 6098, 1769, 202, 202, 12571, 4576, 18, 1289, 12, 2211, 6098, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 8839, 6098, 1435, 288, 202, 202, 20308, 5501, 15906, 333, 6098, 273, 2812, 15906, 5621, 3196, 202, 5501, 15906, 3018, 273, 25763, 12, 15461, 67, 22166, 1769, 202, 202, 5501, 15906, 10762, 4576, 273, 25763, 12, 4137, 2375, 4666, 1988, 18, 15461, 67, 29195, 8720, 67, 22166, 11272, 202, 202, 6363, 18, 4479, 12, 2211, 6098, 1769, 202, 202, 12571, 4576, 18, 1289, 12, 2211, 6098, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
setSimpleName(simpleName);
reallySetSimpleName(simpleName);
public UnresolvedClassImpl(String packageName, String simpleName, ElementContext ctx) { super(ctx); if (packageName == null) throw new IllegalArgumentException("null pkg"); mPackageName = packageName; setSimpleName(simpleName); }
3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/1e77da5f0296e447d5e1a5eb6340f0766979acda/UnresolvedClassImpl.java/clean/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/UnresolvedClassImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1351, 11792, 797, 2828, 12, 780, 9929, 16, 11794, 514, 4143, 461, 16, 11794, 3010, 1042, 1103, 13, 288, 565, 2240, 12, 5900, 1769, 565, 309, 261, 5610, 461, 422, 446, 13, 604, 394, 2754, 2932, 2011, 3475, 8863, 565, 312, 18308, 273, 9929, 31, 565, 8654, 694, 5784, 461, 12, 9647, 461, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1351, 11792, 797, 2828, 12, 780, 9929, 16, 11794, 514, 4143, 461, 16, 11794, 3010, 1042, 1103, 13, 288, 565, 2240, 12, 5900, 1769, 565, 309, 261, 5610, 461, 422, 446, 13, 604, 394, 2754, 2932, 2011, 3475, 8863, 565, 312, 18308, 273, 9929, 31, 565, 8654, 694, 5784, 461, 12, 9647, 461, 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 ]
private Graph<String, Edge<String>> init(boolean listenable)
private Graph<String, DefaultEdge> init(boolean listenable)
private Graph<String, Edge<String>> init(boolean listenable) { Graph<String,Edge<String>> g; if (listenable) { g = new ListenableUndirectedGraph<String, Edge<String>>(); } else { g = new SimpleGraph<String, Edge<String>>(); } g.addVertex(_v1); g.addVertex(_v2); g.addVertex(_v3); g.addVertex(_v4); g.addEdge(_v1, _v2); g.addEdge(_v2, _v3); g.addEdge(_v3, _v1); g.addEdge(_v1, _v4); return g; }
4188 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4188/c3e5aa9fad3b9e0927939b2a916ae5049377758b/SubgraphTest.java/buggy/testsrc/org/jgrapht/graph/SubgraphTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5601, 32, 780, 16, 2989, 6098, 34, 1208, 12, 6494, 6514, 429, 13, 565, 288, 3639, 5601, 32, 780, 16, 6098, 32, 780, 9778, 314, 31, 3639, 309, 261, 1098, 7589, 13, 288, 5411, 314, 273, 394, 987, 7589, 984, 26830, 4137, 32, 780, 16, 11342, 32, 780, 9778, 5621, 3639, 289, 469, 288, 5411, 314, 273, 394, 4477, 4137, 32, 780, 16, 11342, 32, 780, 9778, 5621, 3639, 289, 3639, 314, 18, 1289, 6475, 24899, 90, 21, 1769, 3639, 314, 18, 1289, 6475, 24899, 90, 22, 1769, 3639, 314, 18, 1289, 6475, 24899, 90, 23, 1769, 3639, 314, 18, 1289, 6475, 24899, 90, 24, 1769, 3639, 314, 18, 1289, 6098, 24899, 90, 21, 16, 389, 90, 22, 1769, 3639, 314, 18, 1289, 6098, 24899, 90, 22, 16, 389, 90, 23, 1769, 3639, 314, 18, 1289, 6098, 24899, 90, 23, 16, 389, 90, 21, 1769, 3639, 314, 18, 1289, 6098, 24899, 90, 21, 16, 389, 90, 24, 1769, 3639, 327, 314, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5601, 32, 780, 16, 2989, 6098, 34, 1208, 12, 6494, 6514, 429, 13, 565, 288, 3639, 5601, 32, 780, 16, 6098, 32, 780, 9778, 314, 31, 3639, 309, 261, 1098, 7589, 13, 288, 5411, 314, 273, 394, 987, 7589, 984, 26830, 4137, 32, 780, 16, 11342, 32, 780, 9778, 5621, 3639, 289, 469, 288, 5411, 314, 273, 394, 4477, 4137, 32, 780, 16, 11342, 32, 780, 9778, 5621, 3639, 289, 3639, 314, 18, 1289, 6475, 24899, 90, 21, 1769, 3639, 314, 18, 1289, 6475, 24899, 90, 22, 1769, 3639, 314, 18, 1289, 6475, 24899, 90, 23, 1769, 3639, 314, 18, 1289, 6475, 24899, 90, 24, 1769, 3639, 314, 18, 1289, 6098, 24899, 90, 21, 16, 389, 90, 2 ]
if ((coolItemToolBarMgr != null) && (!isAdjunctType)) { return coolItemToolBarMgr; } IContributionItem cbItem = coolBarManager.find(toolBarId); if (cbItem instanceof ToolBarContributionItem) { ToolBarContributionItem tbcbItem = (ToolBarContributionItem) cbItem; coolItemToolBarMgr = tbcbItem.getToolBarManager(); if (!isAdjunctType) { toolBarContributionItem = tbcbItem; } } else { coolItemToolBarMgr = new ToolBarManager(coolBarManager.getStyle()); toolBarContributionItem = new ToolBarContributionItem(coolItemToolBarMgr, toolBarId); toolBarContributionItem.setParent(coolItemToolBarMgr); toolBarContributionItem.setVisible(getActive()); coolItemToolBarMgr.markDirty(); IContributionItem refItem = findAlphabeticalOrder( IWorkbenchActionConstants.MB_ADDITIONS, toolBarId, coolBarManager); if (refItem != null) { coolBarManager.insertAfter(refItem.getId(), toolBarContributionItem); } else { coolBarManager.add(toolBarContributionItem); } } return coolItemToolBarMgr;
return new ToolBarManager(coolBarManager.getStyle());
public IToolBarManager getToolBarManager(String actionId) { // Check if a tool bar manager for an adjunct type is being requested String toolBarId = actionSetId; boolean isAdjunctType = false; if (!actionId.equals(actionSetId)) { // Adjunct type toolBarId = actionId; isAdjunctType = true; } // Rereive the cool bar manager ICoolBarManager coolBarManager = getCastedParent().getCoolBarManager(); if (coolBarManager == null) { return null; } // Check to see that there isn't already a tool bar created // and the tool bar being requested is not for an adjunct action if ((coolItemToolBarMgr != null) && (!isAdjunctType)) { return coolItemToolBarMgr; } // Search for toolBarId in the cool Bar manager IContributionItem cbItem = coolBarManager.find(toolBarId); // If there hasn't been a tool bar contribution item created for this // tool bar // id then create one. Otherwise retrieve the tool bar contribution // item if (cbItem instanceof ToolBarContributionItem) { ToolBarContributionItem tbcbItem = (ToolBarContributionItem) cbItem; coolItemToolBarMgr = tbcbItem.getToolBarManager(); // If this not an adjuct type then we can cashe the tool bar // contribution type if (!isAdjunctType) { toolBarContributionItem = tbcbItem; } } else { coolItemToolBarMgr = new ToolBarManager(coolBarManager.getStyle()); // If this is not an adjunct type then create a tool bar // contribution item // we don't create one for an adjunct type because another action // set action bars contains one toolBarContributionItem = new ToolBarContributionItem(coolItemToolBarMgr, toolBarId); toolBarContributionItem.setParent(coolItemToolBarMgr); toolBarContributionItem.setVisible(getActive()); coolItemToolBarMgr.markDirty(); // Now add the tool bar contribution Item to the cool bar manager IContributionItem refItem = findAlphabeticalOrder( IWorkbenchActionConstants.MB_ADDITIONS, toolBarId, coolBarManager); if (refItem != null) { coolBarManager.insertAfter(refItem.getId(), toolBarContributionItem); } else { coolBarManager.add(toolBarContributionItem); } } return coolItemToolBarMgr; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/5fab247f52602e9d6d0d778abdd2a7eac94731b7/ActionSetActionBars.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActionSetActionBars.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 6364, 5190, 1318, 336, 6364, 5190, 1318, 12, 780, 1301, 548, 13, 288, 3639, 368, 2073, 309, 279, 5226, 4653, 3301, 364, 392, 8307, 6931, 618, 353, 3832, 3764, 3639, 514, 5226, 5190, 548, 273, 1301, 18523, 31, 3639, 1250, 353, 17886, 6931, 559, 273, 629, 31, 3639, 309, 16051, 1128, 548, 18, 14963, 12, 1128, 18523, 3719, 288, 5411, 368, 4052, 78, 6931, 618, 5411, 5226, 5190, 548, 273, 1301, 548, 31, 5411, 353, 17886, 6931, 559, 273, 638, 31, 3639, 289, 3639, 368, 534, 822, 688, 326, 27367, 4653, 3301, 3639, 26899, 1371, 5190, 1318, 27367, 5190, 1318, 273, 1927, 689, 329, 3054, 7675, 588, 39, 1371, 5190, 1318, 5621, 3639, 309, 261, 71, 1371, 5190, 1318, 422, 446, 13, 288, 327, 446, 31, 289, 3639, 368, 2073, 358, 2621, 716, 1915, 5177, 1404, 1818, 279, 5226, 4653, 2522, 3639, 368, 471, 326, 5226, 4653, 3832, 3764, 353, 486, 364, 392, 8307, 6931, 1301, 3639, 309, 14015, 71, 1371, 1180, 6364, 5190, 9455, 480, 446, 13, 597, 16051, 291, 17886, 6931, 559, 3719, 288, 327, 27367, 1180, 6364, 5190, 9455, 31, 289, 3639, 368, 5167, 364, 5226, 5190, 548, 316, 326, 27367, 16654, 3301, 3639, 467, 442, 4027, 1180, 2875, 1180, 273, 27367, 5190, 1318, 18, 4720, 12, 6738, 5190, 548, 1769, 3639, 368, 971, 1915, 13342, 1404, 2118, 279, 5226, 4653, 24880, 761, 2522, 364, 333, 3639, 368, 5226, 4653, 3639, 368, 612, 1508, 752, 1245, 18, 5272, 4614, 326, 5226, 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, 467, 6364, 5190, 1318, 336, 6364, 5190, 1318, 12, 780, 1301, 548, 13, 288, 3639, 368, 2073, 309, 279, 5226, 4653, 3301, 364, 392, 8307, 6931, 618, 353, 3832, 3764, 3639, 514, 5226, 5190, 548, 273, 1301, 18523, 31, 3639, 1250, 353, 17886, 6931, 559, 273, 629, 31, 3639, 309, 16051, 1128, 548, 18, 14963, 12, 1128, 18523, 3719, 288, 5411, 368, 4052, 78, 6931, 618, 5411, 5226, 5190, 548, 273, 1301, 548, 31, 5411, 353, 17886, 6931, 559, 273, 638, 31, 3639, 289, 3639, 368, 534, 822, 688, 326, 27367, 4653, 3301, 3639, 26899, 1371, 5190, 1318, 27367, 5190, 1318, 273, 1927, 689, 329, 3054, 7675, 588, 39, 1371, 5190, 1318, 5621, 3639, 309, 261, 71, 2 ]
public int getAtomNumber(Atom atom) throws Exception { for (int f = 0; f < getAtomCount(); f++) { if (getAtomAt(f) == atom) { return f; } } throw new Exception("No such Atom"); }
public int getAtomNumber(Atom atom) throws Exception { for (int i = 0; i < getAtomCount(); i++) if (getAtomAt(i) == atom) return i; throw new Exception("No such Atom"); }
public int getAtomNumber(Atom atom) throws Exception { for (int f = 0; f < getAtomCount(); f++) { if (getAtomAt(f) == atom) { return f; } } throw new Exception("No such Atom"); }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/a0fe2ba9ebb5b30198ad5632dce2a72cb9cfd6d0/AtomContainer.java/buggy/org/openscience/cdk/AtomContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 12358, 1854, 12, 3641, 3179, 13, 1216, 1185, 202, 95, 202, 202, 1884, 261, 474, 284, 273, 374, 31, 284, 411, 29593, 5621, 284, 27245, 202, 202, 95, 1082, 202, 430, 261, 588, 3641, 861, 12, 74, 13, 422, 3179, 13, 1082, 202, 95, 9506, 202, 2463, 284, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 12849, 394, 1185, 2932, 2279, 4123, 7149, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 509, 12358, 1854, 12, 3641, 3179, 13, 1216, 1185, 202, 95, 202, 202, 1884, 261, 474, 284, 273, 374, 31, 284, 411, 29593, 5621, 284, 27245, 202, 202, 95, 1082, 202, 430, 261, 588, 3641, 861, 12, 74, 13, 422, 3179, 13, 1082, 202, 95, 9506, 202, 2463, 284, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 12849, 394, 1185, 2932, 2279, 4123, 7149, 8863, 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 ]
VM_Scheduler.processors[nextTransferId].transferThread(t); if (++nextTransferId > VM_Scheduler.numProcessors) nextTransferId = 1 ;
chooseNextProcessor().transferThread(t);
void dispatch () { if (VM.BuildForEventLogging && VM.EventLoggingEnabled) VM_EventLogger.logDispatchEvent(); // no processor locks should be held across a thread switch // if (VM.VerifyAssertions) VM_Scheduler.assert(lockCount == 0); VM_Thread newThread = getRunnableThread(); while (newThread.suspendPending) { newThread.suspendLock.lock(); newThread.suspended = true; newThread.suspendLock.unlock(); newThread = getRunnableThread(); } // if we've got too much work, transfer some of it to another // processor that has nothing to do if (VM_Processor.idleProcessor != null && !readyQueue.isEmpty() && VM_Processor.getCurrentProcessor().processorMode != NATIVEDAEMON ) { VM_Thread t = readyQueue.dequeue(); if (trace) VM_Scheduler.trace("VM_Processor", "dispatch: offload ", t.getIndex()); scheduleThread(t); } if (VM.BuildForConcurrentGC) newThread.stackBufferNeedScan = true; // RCGC addition previousThread = activeThread; activeThread = newThread;//-#if RVM_FOR_IA32 threadId = newThread.getLockingId();//-#endif if (VM.BuildForCpuMonitoring) { double now = VM_Time.now(); // primordial thread: ignore first time slice if (previousThread.cpuStartTime == -1) ; else previousThread.cpuTotalTime += now - previousThread.cpuStartTime; previousThread.cpuStartTime = 0; // this thread has stopped running newThread.cpuStartTime = now; // this thread has started running } //-#if RVM_FOR_IA32 // save this threads next instruction address to be the return // address of the call to dispatch() // TODO!! eliminate this ugliness by unifying // VM_Magic.saveThreadState() and VM_Magic.restoreThreadExecution previousThread.contextRegisters.ip = VM_Magic.getReturnAddress(VM_Magic.getFramePointer()); //-#endif // (sets "previousThread.beingDispatched = false") VM_Magic.resumeThreadExecution(previousThread, newThread.contextRegisters); if (VM.VerifyAssertions) VM_Scheduler.assert(VM.NOT_REACHED); } //-----------------// // Load Balancing // //-----------------// /** * non-null --> a processor that has no work to do */ static VM_Processor idleProcessor; /** * id of next processor to receive load balancing */ int nextTransferId = 1; /** * Put thread onto most lightly loaded virtual processor. */ void scheduleThread (VM_Thread t) { // if thread wants to stay on specified processor, put it there if (t.processorAffinity != null) { if (trace) VM_Scheduler.trace("VM_Processor.scheduleThread", "outgoing to specific processor:", t.getIndex()); t.processorAffinity.transferThread(t); return; } if (VM.BuildForConcurrentGC) { // currently don't move threads around - so keep on same processor if (trace) VM_Scheduler.trace("VM_Processor.scheduleThread", " staying on same processor"); VM_Processor.getCurrentProcessor().transferThread(t); return; } // if t is this thread and is the only (runable) thread on this processor, stay here if (t == VM_Thread.getCurrentThread() && readyQueue.isEmpty() && transferQueue.isEmpty()) { if (trace) VM_Scheduler.trace("VM_Processor.scheduleThread", "staying on same processor:", t.getIndex()); readyQueue.enqueue(t); return; } // if a processor is idle, put thread there VM_Processor idle = idleProcessor; if (idle != null) { idleProcessor = null; if (trace) VM_Scheduler.trace("VM_Processor.scheduleThread", "outgoing to idle processor:", t.getIndex()); idle.transferThread(t); return; } // otherwise round robin if (trace) VM_Scheduler.trace("VM_Processor.scheduleThread", "outgoing to round-robin processor:", t.getIndex()); VM_Scheduler.processors[nextTransferId].transferThread(t); if (++nextTransferId > VM_Scheduler.numProcessors) nextTransferId = 1 ; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/eac3019e13aaad6dcf3c70da80758745f224e5c0/VM_Processor.java/buggy/rvm/src/vm/scheduler/VM_Processor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 3435, 1832, 288, 565, 309, 261, 7397, 18, 3116, 1290, 1133, 7735, 597, 8251, 18, 1133, 7735, 1526, 13, 4202, 8251, 67, 1133, 3328, 18, 1330, 5325, 1133, 5621, 565, 368, 1158, 6659, 13046, 1410, 506, 15770, 10279, 279, 2650, 1620, 565, 368, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 67, 11870, 18, 11231, 12, 739, 1380, 422, 374, 1769, 565, 8251, 67, 3830, 394, 3830, 273, 336, 20013, 3830, 5621, 565, 1323, 261, 2704, 3830, 18, 87, 18815, 8579, 13, 288, 1377, 394, 3830, 18, 87, 18815, 2531, 18, 739, 5621, 1377, 394, 3830, 18, 87, 22942, 273, 638, 31, 1377, 394, 3830, 18, 87, 18815, 2531, 18, 26226, 5621, 1377, 394, 3830, 273, 336, 20013, 3830, 5621, 565, 289, 6647, 368, 309, 732, 8081, 2363, 4885, 9816, 1440, 16, 7412, 2690, 434, 518, 358, 4042, 377, 368, 6659, 716, 711, 5083, 358, 741, 565, 309, 261, 7397, 67, 5164, 18, 20390, 5164, 480, 446, 597, 401, 1672, 3183, 18, 291, 1921, 1435, 202, 202, 10, 10, 8251, 67, 5164, 18, 588, 3935, 5164, 7675, 8700, 2309, 1171, 480, 31395, 20764, 37, 3375, 673, 262, 288, 1377, 8251, 67, 3830, 268, 273, 5695, 3183, 18, 323, 4000, 5621, 1377, 309, 261, 5129, 13, 540, 8251, 67, 11870, 18, 5129, 2932, 7397, 67, 5164, 3113, 315, 10739, 30, 3397, 945, 3104, 268, 18, 588, 1016, 10663, 1377, 4788, 3830, 12, 88, 1769, 565, 289, 565, 309, 261, 7397, 18, 3116, 1290, 18521, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 3435, 1832, 288, 565, 309, 261, 7397, 18, 3116, 1290, 1133, 7735, 597, 8251, 18, 1133, 7735, 1526, 13, 4202, 8251, 67, 1133, 3328, 18, 1330, 5325, 1133, 5621, 565, 368, 1158, 6659, 13046, 1410, 506, 15770, 10279, 279, 2650, 1620, 565, 368, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 67, 11870, 18, 11231, 12, 739, 1380, 422, 374, 1769, 565, 8251, 67, 3830, 394, 3830, 273, 336, 20013, 3830, 5621, 565, 1323, 261, 2704, 3830, 18, 87, 18815, 8579, 13, 288, 1377, 394, 3830, 18, 87, 18815, 2531, 18, 739, 5621, 1377, 394, 3830, 18, 87, 22942, 273, 638, 31, 1377, 394, 3830, 18, 87, 18815, 2531, 18, 26226, 5621, 1377, 394, 3830, 2 ]
RingSet clone = new RingSet();
RingSet clone = (RingSet)super.clone();
public Object clone() throws CloneNotSupportedException { RingSet clone = new RingSet(); IAtomContainer[] result = getAtomContainers(); for (int i = 0; i < result.length; i++) { clone.addAtomContainer((IAtomContainer) result[i].clone()); } return clone; }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/b35703c55343be9e1780756711f8f8cb630300f2/RingSet.java/clean/src/org/openscience/cdk/RingSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3236, 1435, 1216, 12758, 25482, 288, 202, 202, 10369, 694, 3236, 273, 394, 25463, 694, 5621, 202, 202, 45, 3641, 2170, 8526, 563, 273, 12358, 11177, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 563, 18, 2469, 31, 277, 27245, 288, 1082, 202, 14056, 18, 1289, 3641, 2170, 12443, 45, 3641, 2170, 13, 563, 63, 77, 8009, 14056, 10663, 202, 202, 97, 202, 202, 2463, 3236, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3236, 1435, 1216, 12758, 25482, 288, 202, 202, 10369, 694, 3236, 273, 394, 25463, 694, 5621, 202, 202, 45, 3641, 2170, 8526, 563, 273, 12358, 11177, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 563, 18, 2469, 31, 277, 27245, 288, 1082, 202, 14056, 18, 1289, 3641, 2170, 12443, 45, 3641, 2170, 13, 563, 63, 77, 8009, 14056, 10663, 202, 202, 97, 202, 202, 2463, 3236, 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 ]
scene.setWorldBound(new BoundingBox());
protected void initGame() { text = new Text("Text Label","Collision: No"); text.setLocalTranslation(new Vector3f(1, 60, 0)); TextureState textImage = display.getRenderer().getTextureState(); textImage.setEnabled(true); textImage.setTexture( TextureManager.loadTexture( TestCollision.class.getClassLoader().getResource("jmetest/data/font/font.png"), Texture.MM_LINEAR, Texture.FM_LINEAR, true)); text.setRenderState(textImage); AlphaState as1 = display.getRenderer().getAlphaState(); as1.setBlendEnabled(true); as1.setSrcFunction(AlphaState.SB_SRC_ALPHA); as1.setDstFunction(AlphaState.DB_ONE); as1.setTestEnabled(true); as1.setTestFunction(AlphaState.TF_GREATER); as1.setEnabled(true); text.setRenderState(as1); scene = new Node("3D Scene Root"); root = new Node("Scene Root"); root.attachChild(text); Vector3f max = new Vector3f(5, 5, 5); Vector3f min = new Vector3f(-5, -5, -5); t = new Box("Box 1", min, max); t.setModelBound(new BoundingBox()); t.updateModelBound(); t.setLocalTranslation(new Vector3f(0, 30, 0)); t2 = new Box("Box 2", min, max); t2.setModelBound(new BoundingBox()); t2.updateModelBound(); t2.setLocalTranslation(new Vector3f(30, 0, 0)); scene.attachChild(t); scene.attachChild(t2); root.attachChild(scene); ZBufferState buf = display.getRenderer().getZBufferState(); buf.setEnabled(true); buf.setFunction(ZBufferState.CF_LEQUAL); DirectionalLight am = new DirectionalLight(); am.setDiffuse(new ColorRGBA(0.0f, 1.0f, 0.0f, 1.0f)); am.setAmbient(new ColorRGBA(0.5f, 0.5f, 0.5f, 1.0f)); am.setDirection(new Vector3f(0, 0, 75)); scene.setRenderState(buf); scene.setWorldBound(new BoundingBox()); cam.update(); TextureState ts = display.getRenderer().getTextureState(); ts.setEnabled(true); ts.setTexture( TextureManager.loadTexture( TestCollision.class.getClassLoader().getResource("jmetest/data/images/Monkey.jpg"), Texture.MM_LINEAR, Texture.FM_LINEAR, true)); scene.setRenderState(ts); root.attachChild(text); scene.updateGeometricState(0.0f, true); }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/b261b636b9e4077f48e00c00cfea6ec7b61dd379/TestCollision.java/clean/src/jmetest/intersection/TestCollision.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1208, 12496, 1435, 288, 3639, 977, 273, 394, 3867, 2932, 1528, 5287, 15937, 13535, 1951, 30, 2631, 8863, 3639, 977, 18, 542, 2042, 6717, 12, 2704, 5589, 23, 74, 12, 21, 16, 4752, 16, 374, 10019, 3639, 28582, 1119, 977, 2040, 273, 2562, 18, 588, 6747, 7675, 588, 10967, 1119, 5621, 3639, 977, 2040, 18, 542, 1526, 12, 3767, 1769, 3639, 977, 2040, 18, 542, 10967, 12, 5411, 28582, 1318, 18, 945, 10967, 12, 7734, 7766, 13535, 1951, 18, 1106, 18, 588, 7805, 7675, 588, 1420, 2932, 78, 10578, 395, 19, 892, 19, 5776, 19, 5776, 18, 6446, 6, 3631, 7734, 28582, 18, 8206, 67, 5997, 985, 16, 7734, 28582, 18, 42, 49, 67, 5997, 985, 16, 7734, 638, 10019, 3639, 977, 18, 542, 3420, 1119, 12, 955, 2040, 1769, 3639, 24277, 1119, 487, 21, 273, 2562, 18, 588, 6747, 7675, 588, 9690, 1119, 5621, 3639, 487, 21, 18, 542, 4802, 409, 1526, 12, 3767, 1769, 3639, 487, 21, 18, 542, 7740, 2083, 12, 9690, 1119, 18, 14541, 67, 28413, 67, 26313, 1769, 3639, 487, 21, 18, 542, 15295, 2083, 12, 9690, 1119, 18, 2290, 67, 5998, 1769, 3639, 487, 21, 18, 542, 4709, 1526, 12, 3767, 1769, 3639, 487, 21, 18, 542, 4709, 2083, 12, 9690, 1119, 18, 17963, 67, 43, 18857, 1769, 3639, 487, 21, 18, 542, 1526, 12, 3767, 1769, 3639, 977, 18, 542, 3420, 1119, 12, 345, 21, 1769, 3639, 9065, 273, 394, 2029, 2932, 23, 40, 29347, 7450, 8863, 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, 1208, 12496, 1435, 288, 3639, 977, 273, 394, 3867, 2932, 1528, 5287, 15937, 13535, 1951, 30, 2631, 8863, 3639, 977, 18, 542, 2042, 6717, 12, 2704, 5589, 23, 74, 12, 21, 16, 4752, 16, 374, 10019, 3639, 28582, 1119, 977, 2040, 273, 2562, 18, 588, 6747, 7675, 588, 10967, 1119, 5621, 3639, 977, 2040, 18, 542, 1526, 12, 3767, 1769, 3639, 977, 2040, 18, 542, 10967, 12, 5411, 28582, 1318, 18, 945, 10967, 12, 7734, 7766, 13535, 1951, 18, 1106, 18, 588, 7805, 7675, 588, 1420, 2932, 78, 10578, 395, 19, 892, 19, 5776, 19, 5776, 18, 6446, 6, 3631, 7734, 28582, 18, 8206, 67, 5997, 985, 16, 7734, 28582, 18, 42, 49, 67, 5997, 985, 2 ]
pipeSpec = new SoloPipeSpec ("test", this, handler, Fitting.OCTET_STREAM, Affinity.SERVER, 0); pipeSpecs = new SoloPipeSpec[] { pipeSpec }; reconfigure();
protected void preStart() { pipeSpec = new SoloPipeSpec ("test", this, handler, Fitting.OCTET_STREAM, Affinity.SERVER, 0); pipeSpecs = new SoloPipeSpec[] { pipeSpec }; reconfigure(); if (this.settings == null) { String[] args = {""}; postInit(args); } this.handler = new EventHandler(settings); }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/fe35b530d5c4d260df7aa41ce2506bdf1edf0675/TestTransformImpl.java/buggy/tran/test/main/com/metavize/tran/test/TestTransformImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 675, 1685, 1435, 565, 288, 3639, 6010, 1990, 273, 394, 348, 12854, 11546, 1990, 5411, 7566, 3813, 3113, 333, 16, 1838, 16, 30504, 1787, 18, 51, 1268, 1584, 67, 13693, 16, 7026, 7850, 18, 4370, 16, 374, 1769, 3639, 6010, 15999, 273, 394, 348, 12854, 11546, 1990, 8526, 288, 6010, 1990, 289, 31, 3639, 283, 14895, 5621, 3639, 309, 261, 2211, 18, 4272, 422, 446, 13, 288, 5411, 514, 8526, 833, 273, 288, 3660, 20451, 5411, 1603, 2570, 12, 1968, 1769, 3639, 289, 3639, 333, 18, 4176, 273, 394, 26012, 12, 4272, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 675, 1685, 1435, 565, 288, 3639, 6010, 1990, 273, 394, 348, 12854, 11546, 1990, 5411, 7566, 3813, 3113, 333, 16, 1838, 16, 30504, 1787, 18, 51, 1268, 1584, 67, 13693, 16, 7026, 7850, 18, 4370, 16, 374, 1769, 3639, 6010, 15999, 273, 394, 348, 12854, 11546, 1990, 8526, 288, 6010, 1990, 289, 31, 3639, 283, 14895, 5621, 3639, 309, 261, 2211, 18, 4272, 422, 446, 13, 288, 5411, 514, 8526, 833, 273, 288, 3660, 20451, 5411, 1603, 2570, 12, 1968, 1769, 3639, 289, 3639, 333, 18, 4176, 273, 394, 26012, 12, 4272, 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 ]
dbDir.delete();
private void createDatabase() { File dbDir = null; try { dbDir = File.createTempFile("pv_junit_derby_instance", ""); } catch (IOException ex) { ex.printStackTrace(); } dbDir.delete(); PVDatabase pvd = new PVDatabase(); pvd.setInstanceType( PVDatabase.TYPE_EMBEDDED ); pvd.setEmbeddedDirectory( dbDir ); pvd.createDatabase( "", "", "junit_seed_data.xml" ); PhotovaultSettings settings = PhotovaultSettings.getSettings(); pvd.setName( "pv_junit" ); settings.addDatabase( pvd ); }
50360 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50360/50c91b66814aad5150be79b42f8e54cd305fd7a2/JUnitOJBManager.java/clean/src/main/java/org/photovault/common/JUnitOJBManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 4254, 1435, 288, 3639, 1387, 1319, 1621, 273, 446, 31, 3639, 775, 288, 5411, 1319, 1621, 273, 1387, 18, 2640, 20181, 2932, 25224, 67, 78, 4873, 67, 765, 1637, 67, 1336, 3113, 1408, 1769, 3639, 289, 1044, 261, 14106, 431, 13, 288, 5411, 431, 18, 1188, 6332, 5621, 3639, 289, 9079, 27102, 4254, 9770, 72, 273, 394, 27102, 4254, 5621, 3639, 9770, 72, 18, 542, 29123, 12, 27102, 4254, 18, 2399, 67, 3375, 22235, 7660, 11272, 3639, 9770, 72, 18, 542, 14980, 2853, 12, 1319, 1621, 11272, 3639, 9770, 72, 18, 2640, 4254, 12, 23453, 23453, 315, 78, 4873, 67, 12407, 67, 892, 18, 2902, 6, 11272, 3639, 4360, 352, 1527, 3714, 2628, 1947, 273, 4360, 352, 1527, 3714, 2628, 18, 588, 2628, 5621, 3639, 9770, 72, 18, 542, 461, 12, 315, 25224, 67, 78, 4873, 6, 11272, 3639, 1947, 18, 1289, 4254, 12, 9770, 72, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 918, 752, 4254, 1435, 288, 3639, 1387, 1319, 1621, 273, 446, 31, 3639, 775, 288, 5411, 1319, 1621, 273, 1387, 18, 2640, 20181, 2932, 25224, 67, 78, 4873, 67, 765, 1637, 67, 1336, 3113, 1408, 1769, 3639, 289, 1044, 261, 14106, 431, 13, 288, 5411, 431, 18, 1188, 6332, 5621, 3639, 289, 9079, 27102, 4254, 9770, 72, 273, 394, 27102, 4254, 5621, 3639, 9770, 72, 18, 542, 29123, 12, 27102, 4254, 18, 2399, 67, 3375, 22235, 7660, 11272, 3639, 9770, 72, 18, 542, 14980, 2853, 12, 1319, 1621, 11272, 3639, 9770, 72, 18, 2640, 4254, 12, 23453, 23453, 315, 78, 4873, 67, 12407, 67, 892, 18, 2902, 6, 11272, 3639, 4360, 352, 1527, 3714, 2628, 1947, 273, 2 ]
_ttype = PARENT;
_ttype = XML_PI; } } else if ((LA(1)=='<') && (LA(2)=='/')) { mEND_TAG_START(false); if ( inputState.guessing==0 ) { inElementContent= false; wsExplicit= false; _ttype = END_TAG_START; } } else if ((LA(1)=='<') && (LA(2)=='=')) { mLTEQ(false); if ( inputState.guessing==0 ) { _ttype = LTEQ; } } else if (((LA(1)=='"'||LA(1)=='\'') && ((LA(2) >= '\u0003' && LA(2) <= '\uffff')) && (true))&&( parseStringLiterals )) { mSTRING_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = STRING_LITERAL;
public final void mNEXT_TOKEN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = NEXT_TOKEN; int _saveIndex; switch ( LA(1)) { case '{': { mLCURLY(false); if ( inputState.guessing==0 ) { inElementContent= false; _ttype = LCURLY; } break; } case '}': { mRCURLY(false); if ( inputState.guessing==0 ) { _ttype = RCURLY; } break; } case '&': { mANDEQ(false); if ( inputState.guessing==0 ) { _ttype = ANDEQ; } break; } default: boolean synPredMatched363 = false; if (((_tokenSet_12.member(LA(1))) && (_tokenSet_13.member(LA(2))) && (_tokenSet_14.member(LA(3))))) { int _m363 = mark(); synPredMatched363 = true; inputState.guessing++; try { { mDECIMAL_LITERAL(false); { switch ( LA(1)) { case 'e': { match('e'); break; } case 'E': { match('E'); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } } } catch (RecognitionException pe) { synPredMatched363 = false; } rewind(_m363); inputState.guessing--; } if ( synPredMatched363 ) { mDOUBLE_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DOUBLE_LITERAL; } } else if ((LA(1)=='-') && (LA(2)=='-') && (LA(3)=='>')) { mXML_COMMENT_END(false); if ( inputState.guessing==0 ) { _ttype = XML_COMMENT_END; } } else if ((LA(1)=='<') && (LA(2)=='!')) { mXML_COMMENT(false); if ( inputState.guessing==0 ) { _ttype = XML_COMMENT; } } else { boolean synPredMatched354 = false; if (((LA(1)=='<') && (LA(2)=='?'))) { int _m354 = mark(); synPredMatched354 = true; inputState.guessing++; try { { mXML_PI_START(false); } } catch (RecognitionException pe) { synPredMatched354 = false; } rewind(_m354); inputState.guessing--; } if ( synPredMatched354 ) { mXML_PI(false); if ( inputState.guessing==0 ) { _ttype = XML_PI; } } else if ((LA(1)=='<') && (LA(2)=='/')) { mEND_TAG_START(false); if ( inputState.guessing==0 ) { inElementContent= false; wsExplicit= false; _ttype = END_TAG_START; } } else if ((LA(1)=='<') && (LA(2)=='=')) { mLTEQ(false); if ( inputState.guessing==0 ) { _ttype = LTEQ; } } else if (((LA(1)=='"'||LA(1)=='\'') && ((LA(2) >= '\u0003' && LA(2) <= '\uffff')) && (true))&&( parseStringLiterals )) { mSTRING_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = STRING_LITERAL; } } else { boolean synPredMatched356 = false; if (((LA(1)=='.') && (LA(2)=='.') && (true))) { int _m356 = mark(); synPredMatched356 = true; inputState.guessing++; try { { match('.'); match('.'); } } catch (RecognitionException pe) { synPredMatched356 = false; } rewind(_m356); inputState.guessing--; } if ( synPredMatched356 ) { mPARENT(false); if ( inputState.guessing==0 ) { _ttype = PARENT; } } else { boolean synPredMatched358 = false; if (((_tokenSet_12.member(LA(1))) && (_tokenSet_12.member(LA(2))) && (true))) { int _m358 = mark(); synPredMatched358 = true; inputState.guessing++; try { { match('.'); mINTEGER_LITERAL(false); } } catch (RecognitionException pe) { synPredMatched358 = false; } rewind(_m358); inputState.guessing--; } if ( synPredMatched358 ) { mDECIMAL_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DECIMAL_LITERAL; } } else { boolean synPredMatched365 = false; if (((_tokenSet_12.member(LA(1))) && (_tokenSet_12.member(LA(2))) && (true))) { int _m365 = mark(); synPredMatched365 = true; inputState.guessing++; try { { mINTEGER_LITERAL(false); match('.'); } } catch (RecognitionException pe) { synPredMatched365 = false; } rewind(_m365); inputState.guessing--; } if ( synPredMatched365 ) { mDECIMAL_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DECIMAL_LITERAL; } } else if ((LA(1)=='/') && (LA(2)=='/') && (true)) { mDSLASH(false); if ( inputState.guessing==0 ) { _ttype = DSLASH; } } else if ((LA(1)=='|') && (LA(2)=='=') && (true)) { mOREQ(false); if ( inputState.guessing==0 ) { _ttype = OREQ; } } else if ((LA(1)=='!') && (LA(2)=='=') && (true)) { mNEQ(false); if ( inputState.guessing==0 ) { _ttype = NEQ; } } else if ((LA(1)=='>') && (LA(2)=='=') && (true)) { mGTEQ(false); if ( inputState.guessing==0 ) { _ttype = GTEQ; } } else if ((LA(1)=='?') && (LA(2)=='>') && (true)) { mXML_PI_END(false); if ( inputState.guessing==0 ) { _ttype = XML_PI_END; } } else if ((LA(1)=='<') && (true)) { mLT(false); if ( inputState.guessing==0 ) { inElementContent= false; _ttype = LT; } } else if (((_tokenSet_15.member(LA(1))) && (true) && (true))&&( inAttributeContent )) { mATTRIBUTE_CONTENT(false); if ( inputState.guessing==0 ) { _ttype = ATTRIBUTE_CONTENT; } } else if (((LA(1)=='"') && (true) && (true))&&( !(parseStringLiterals || inElementContent) )) { mQUOT(false); if ( inputState.guessing==0 ) { _ttype = QUOT; } } else if (((_tokenSet_16.member(LA(1))) && (true) && (true))&&( inElementContent )) { mELEMENT_CONTENT(false); if ( inputState.guessing==0 ) { _ttype = ELEMENT_CONTENT; } } else if ((LA(1)=='\t'||LA(1)=='\n'||LA(1)=='\r'||LA(1)==' ') && (true) && (true)) { mWS(false); if ( inputState.guessing==0 ) { if (wsExplicit) _ttype = WS; else _ttype = Token.SKIP; } } else if ((_tokenSet_17.member(LA(1))) && (true) && (true)) { mNCNAME(false); if ( inputState.guessing==0 ) { _ttype = NCNAME; } } else { boolean synPredMatched360 = false; if (((LA(1)=='.') && (true) && (true))) { int _m360 = mark(); synPredMatched360 = true; inputState.guessing++; try { { match('.'); } } catch (RecognitionException pe) { synPredMatched360 = false; } rewind(_m360); inputState.guessing--; } if ( synPredMatched360 ) { mSELF(false); if ( inputState.guessing==0 ) { _ttype = SELF; } } else if ((_tokenSet_3.member(LA(1))) && (true) && (true)) { mINTEGER_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = INTEGER_LITERAL; } } else if ((LA(1)=='/') && (true) && (true)) { mSLASH(false); if ( inputState.guessing==0 ) { _ttype = SLASH; } } else if ((LA(1)==':') && (true) && (true)) { mCOLON(false); if ( inputState.guessing==0 ) { _ttype = COLON; } } else if ((LA(1)==',') && (true) && (true)) { mCOMMA(false); if ( inputState.guessing==0 ) { _ttype = COMMA; } } else if ((LA(1)==';') && (true) && (true)) { mSEMICOLON(false); if ( inputState.guessing==0 ) { _ttype = SEMICOLON; } } else if ((LA(1)=='*') && (true) && (true)) { mSTAR(false); if ( inputState.guessing==0 ) { _ttype = STAR; } } else if ((LA(1)=='+') && (true) && (true)) { mPLUS(false); if ( inputState.guessing==0 ) { _ttype = PLUS; } } else if ((LA(1)=='-') && (true) && (true)) { mMINUS(false); if ( inputState.guessing==0 ) { _ttype = MINUS; } } else if ((LA(1)=='[') && (true) && (true)) { mLPPAREN(false); if ( inputState.guessing==0 ) { _ttype = LPPAREN; } } else if ((LA(1)==']') && (true) && (true)) { mRPPAREN(false); if ( inputState.guessing==0 ) { _ttype = RPPAREN; } } else if ((LA(1)=='(') && (true) && (true)) { mLPAREN(false); if ( inputState.guessing==0 ) { _ttype = LPAREN; } } else if ((LA(1)==')') && (true) && (true)) { mRPAREN(false); if ( inputState.guessing==0 ) { _ttype = RPAREN; } } else if ((LA(1)=='|') && (true) && (true)) { mUNION(false); if ( inputState.guessing==0 ) { _ttype = UNION; } } else if ((LA(1)=='@') && (true) && (true)) { mAT(false); if ( inputState.guessing==0 ) { _ttype = AT; } } else if ((LA(1)=='$') && (true) && (true)) { mDOLLAR(false); if ( inputState.guessing==0 ) { _ttype = DOLLAR; } } else if ((LA(1)=='=') && (true) && (true)) { mEQ(false); if ( inputState.guessing==0 ) { _ttype = EQ; } } else if ((LA(1)=='>') && (true) && (true)) { mGT(false); if ( inputState.guessing==0 ) { _ttype = GT; } } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } }}}}}} if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/542794bb5fd4ba67897c2c2677f4f663483ba69d/XPathLexer2.java/buggy/src/org/exist/parser/XPathLexer2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 312, 25539, 67, 8412, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 19252, 67, 8412, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 2292, 4278, 202, 202, 95, 1082, 202, 81, 13394, 1785, 61, 12, 5743, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 6862, 25083, 202, 267, 1046, 1350, 33, 629, 31, 25083, 202, 67, 88, 723, 273, 511, 26314, 31, 6862, 9506, 202, 97, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 9571, 30, 202, 202, 95, 1082, 202, 81, 11529, 1785, 61, 12, 5743, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 67, 88, 723, 273, 534, 26314, 31, 1082, 202, 97, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 5183, 4278, 202, 202, 95, 1082, 202, 81, 1258, 1639, 53, 12, 5743, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 67, 88, 723, 273, 8175, 1639, 53, 31, 1082, 202, 97, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 1082, 202, 6494, 6194, 10391, 15400, 23, 4449, 273, 629, 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, 225, 202, 482, 727, 918, 312, 25539, 67, 8412, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 19252, 67, 8412, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 2292, 4278, 202, 202, 95, 1082, 202, 81, 13394, 1785, 61, 12, 5743, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 6862, 25083, 202, 267, 1046, 1350, 33, 629, 31, 25083, 202, 67, 88, 723, 273, 511, 2 ]
Cell.ON_CREATE_METHOD );
ICellModel.ON_CREATE_METHOD );
private void dealCell( Cell element, Module module ) { String value = (String) element.getLocalProperty( module, Cell.ON_CREATE_METHOD ); if ( value != null ) handleBoundsForValue( element, module, value ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/d802c33711e0d111551ae23575895cd060f085b6/BoundColumnsMgr.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/BoundColumnsMgr.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 10490, 4020, 12, 8614, 930, 16, 5924, 1605, 262, 202, 95, 202, 202, 780, 460, 273, 261, 780, 13, 930, 18, 588, 2042, 1396, 12, 1605, 16, 9506, 202, 4020, 18, 673, 67, 9344, 67, 5327, 11272, 202, 202, 430, 261, 460, 480, 446, 262, 1082, 202, 4110, 5694, 1290, 620, 12, 930, 16, 1605, 16, 460, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 10490, 4020, 12, 8614, 930, 16, 5924, 1605, 262, 202, 95, 202, 202, 780, 460, 273, 261, 780, 13, 930, 18, 588, 2042, 1396, 12, 1605, 16, 9506, 202, 4020, 18, 673, 67, 9344, 67, 5327, 11272, 202, 202, 430, 261, 460, 480, 446, 262, 1082, 202, 4110, 5694, 1290, 620, 12, 930, 16, 1605, 16, 460, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return getRequest().getVersion();
String result = null; int index = getRequest().getVersion().indexOf('/'); if (index != -1) { result = getRequest().getVersion().substring(index + 1); } return result;
public String getVersion() { return getRequest().getVersion(); }
14172 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14172/766bd5a4e9162b7ca60421e96625bec9171004b8/JettyCall.java/buggy/module/com.noelios.restlet.ext.jetty_5.1/src/com/noelios/restlet/ext/jetty5/JettyCall.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8343, 1435, 288, 3639, 514, 563, 273, 446, 31, 509, 770, 273, 4328, 7675, 588, 1444, 7675, 31806, 2668, 2473, 1769, 225, 309, 261, 1615, 480, 300, 21, 13, 288, 563, 273, 4328, 7675, 588, 1444, 7675, 28023, 12, 1615, 397, 404, 1769, 289, 225, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8343, 1435, 288, 3639, 514, 563, 273, 446, 31, 509, 770, 273, 4328, 7675, 588, 1444, 7675, 31806, 2668, 2473, 1769, 225, 309, 261, 1615, 480, 300, 21, 13, 288, 563, 273, 4328, 7675, 588, 1444, 7675, 28023, 12, 1615, 397, 404, 1769, 289, 225, 327, 563, 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 ]
Vector vAttacks) {
Vector vAttacks, boolean assumeHit) {
public static WeaponAttackAction getHighestExpectedDamage(IGame g, Vector vAttacks) { float fHighest = -1.0f; WeaponAttackAction waaHighest = null; for (int x = 0, n = vAttacks.size(); x < n; x++) { WeaponAttackAction waa = (WeaponAttackAction) vAttacks.elementAt(x); float fDanger = getExpectedDamage(g, waa); if (fDanger > fHighest) { fHighest = fDanger; waaHighest = waa; } } return waaHighest; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/90be1755de036225b8dbd52d346d8a83ec345cbc/Compute.java/buggy/megamek/src/megamek/common/Compute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 3075, 484, 1803, 7628, 2031, 395, 6861, 40, 301, 410, 12, 3047, 339, 314, 16, 5411, 5589, 331, 3075, 22098, 16, 1250, 6750, 13616, 13, 288, 3639, 1431, 284, 8573, 395, 273, 300, 21, 18, 20, 74, 31, 3639, 1660, 28629, 3075, 484, 1803, 341, 7598, 8573, 395, 273, 446, 31, 3639, 364, 261, 474, 619, 273, 374, 16, 290, 273, 331, 3075, 22098, 18, 1467, 5621, 619, 411, 290, 31, 619, 27245, 288, 5411, 1660, 28629, 3075, 484, 1803, 341, 7598, 273, 261, 3218, 28629, 3075, 484, 1803, 13, 331, 3075, 22098, 18, 2956, 861, 12, 92, 1769, 5411, 1431, 284, 40, 11455, 273, 336, 6861, 40, 301, 410, 12, 75, 16, 341, 7598, 1769, 5411, 309, 261, 74, 40, 11455, 405, 284, 8573, 395, 13, 288, 7734, 284, 8573, 395, 273, 284, 40, 11455, 31, 7734, 341, 7598, 8573, 395, 273, 341, 7598, 31, 5411, 289, 3639, 289, 3639, 327, 341, 7598, 8573, 395, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 3075, 484, 1803, 7628, 2031, 395, 6861, 40, 301, 410, 12, 3047, 339, 314, 16, 5411, 5589, 331, 3075, 22098, 16, 1250, 6750, 13616, 13, 288, 3639, 1431, 284, 8573, 395, 273, 300, 21, 18, 20, 74, 31, 3639, 1660, 28629, 3075, 484, 1803, 341, 7598, 8573, 395, 273, 446, 31, 3639, 364, 261, 474, 619, 273, 374, 16, 290, 273, 331, 3075, 22098, 18, 1467, 5621, 619, 411, 290, 31, 619, 27245, 288, 5411, 1660, 28629, 3075, 484, 1803, 341, 7598, 273, 261, 3218, 28629, 3075, 484, 1803, 13, 331, 3075, 22098, 18, 2956, 861, 12, 92, 1769, 5411, 1431, 284, 40, 11455, 273, 336, 6861, 40, 301, 410, 12, 75, 16, 341, 2 ]
if ( ( (Button) buttonRegistry.get( i ) ).getSelection( ) )
if ( ( (Button) buttons.next( ) ).getSelection( ) )
private boolean isButtonSelected( ) { for ( int i = 0; i < buttonRegistry.size( ); i++ ) { if ( ( (Button) buttonRegistry.get( i ) ).getSelection( ) ) { return true; } } return false; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e89bee61a969154f0d074fedf34da17dd208f822/SubtaskSheetImpl.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/SubtaskSheetImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 3616, 7416, 12, 262, 202, 95, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 3568, 4243, 18, 1467, 12, 11272, 277, 9904, 262, 202, 202, 95, 1082, 202, 430, 261, 261, 261, 3616, 13, 3568, 4243, 18, 588, 12, 277, 262, 262, 18, 588, 6233, 12, 262, 262, 1082, 202, 95, 9506, 202, 2463, 638, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 3616, 7416, 12, 262, 202, 95, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 3568, 4243, 18, 1467, 12, 11272, 277, 9904, 262, 202, 202, 95, 1082, 202, 430, 261, 261, 261, 3616, 13, 3568, 4243, 18, 588, 12, 277, 262, 262, 18, 588, 6233, 12, 262, 262, 1082, 202, 95, 9506, 202, 2463, 638, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
newMainJar = new File(mainJar.getParent(), "freenet.jar.new");
newMainJar = new File(mainJar.getParent(), "freenet.jar");
UpdateDeployContext() throws UpdaterParserException { Properties p = WrapperManager.getProperties(); for(int propNo=1;true;propNo++) { String prop = p.getProperty("wrapper.java.classpath."+propNo); if(prop == null) break; File f = new File(prop); boolean isAbsolute = f.isAbsolute(); String name = f.getName().toLowerCase(); if(extJar == null) { if(name.equals("freenet-ext.jar.new")) { extJar = f; newExtJar = new File(extJar.getParent(), "freenet-ext.jar"); extJarAbsolute = isAbsolute; extClasspathNo = propNo; continue; } else if(name.equals("freenet-ext.jar")) { extJar = f; newExtJar = new File(extJar.getParent(), "freenet-ext.jar.new"); extClasspathNo = propNo; continue; } } if(mainJar == null) { // Try to match it if(!(name.startsWith("freenet") && (name.endsWith(".jar")))) { mainJar = f; newMainJar = new File(mainJar.getParent(), "freenet.jar"); mainJarAbsolute = isAbsolute; mainClasspathNo = propNo; continue; } else if(!(name.startsWith("freenet") && (name.endsWith(".jar.new")))) { mainJar = f; newMainJar = new File(mainJar.getParent(), "freenet.jar.new"); mainJarAbsolute = isAbsolute; mainClasspathNo = propNo; continue; } } } if(mainJar == null && extJar == null) throw new UpdaterParserException("Could not find freenet jars in wrapper.conf"); if(mainJar == null) throw new UpdaterParserException("Could not find freenet.jar in wrapper.conf (did find freenet-ext.jar: "+extJar+')'); if(extJar == null) throw new UpdaterParserException("Could not find freenet-ext.jar in wrapper.conf (did find freenet.jar: "+mainJar+')'); }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/03c43894fec32d7f3d93f3b446167de71fd0a98c/UpdateDeployContext.java/buggy/src/freenet/node/updater/UpdateDeployContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1891, 10015, 1042, 1435, 1216, 27254, 2045, 25746, 288, 202, 202, 2297, 293, 273, 18735, 1318, 18, 588, 2297, 5621, 9506, 202, 1884, 12, 474, 2270, 2279, 33, 21, 31, 3767, 31, 5986, 2279, 27245, 288, 1082, 202, 780, 2270, 273, 293, 18, 588, 1396, 2932, 8376, 18, 6290, 18, 26302, 1199, 15, 5986, 2279, 1769, 1082, 202, 430, 12, 5986, 422, 446, 13, 898, 31, 1082, 202, 812, 284, 273, 394, 1387, 12, 5986, 1769, 1082, 202, 6494, 20082, 273, 284, 18, 291, 10368, 5621, 1082, 202, 780, 508, 273, 284, 18, 17994, 7675, 869, 5630, 5621, 1082, 202, 430, 12, 408, 10813, 422, 446, 13, 288, 9506, 202, 430, 12, 529, 18, 14963, 2932, 74, 2842, 278, 17, 408, 18, 11930, 18, 2704, 6, 3719, 288, 6862, 202, 408, 10813, 273, 284, 31, 6862, 202, 2704, 2482, 10813, 273, 394, 1387, 12, 408, 10813, 18, 588, 3054, 9334, 315, 74, 2842, 278, 17, 408, 18, 11930, 8863, 6862, 202, 408, 10813, 10368, 273, 20082, 31, 6862, 202, 408, 17461, 2279, 273, 2270, 2279, 31, 6862, 202, 17143, 31, 9506, 202, 97, 469, 309, 12, 529, 18, 14963, 2932, 74, 2842, 278, 17, 408, 18, 11930, 6, 3719, 288, 6862, 202, 408, 10813, 273, 284, 31, 6862, 202, 2704, 2482, 10813, 273, 394, 1387, 12, 408, 10813, 18, 588, 3054, 9334, 315, 74, 2842, 278, 17, 408, 18, 11930, 18, 2704, 8863, 6862, 202, 408, 17461, 2279, 273, 2270, 2279, 31, 6862, 202, 17143, 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, 1891, 10015, 1042, 1435, 1216, 27254, 2045, 25746, 288, 202, 202, 2297, 293, 273, 18735, 1318, 18, 588, 2297, 5621, 9506, 202, 1884, 12, 474, 2270, 2279, 33, 21, 31, 3767, 31, 5986, 2279, 27245, 288, 1082, 202, 780, 2270, 273, 293, 18, 588, 1396, 2932, 8376, 18, 6290, 18, 26302, 1199, 15, 5986, 2279, 1769, 1082, 202, 430, 12, 5986, 422, 446, 13, 898, 31, 1082, 202, 812, 284, 273, 394, 1387, 12, 5986, 1769, 1082, 202, 6494, 20082, 273, 284, 18, 291, 10368, 5621, 1082, 202, 780, 508, 273, 284, 18, 17994, 7675, 869, 5630, 5621, 1082, 202, 430, 12, 408, 10813, 422, 446, 13, 288, 9506, 202, 430, 12, 529, 18, 14963, 2932, 74, 2 ]
Call call = new Call();
Call call = new Call("target/test-resources/intregrationRepo");
public SOAPEnvelope sendMsg(Round1ClientUtil util, String epUrl, String soapAction) throws AxisFault { SOAPEnvelope retEnv = null; URL url = null; try { url = new URL(epUrl); } catch (MalformedURLException e) { throw new AxisFault(e); } Call call = new Call(); call.setTo(new EndpointReference(url.toString())); call.setSoapAction(soapAction); call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, false); SOAPEnvelope reqEnv = util.getEchoSoapEnvelope(); System.out.println(""); AxisConfiguration axisConfig = new AxisConfigurationImpl(); ConfigurationContext configCtx = new ConfigurationContext(axisConfig); MessageContext msgCtx = new MessageContext(configCtx); msgCtx.setEnvelope(reqEnv); QName opName = new QName(""); OperationDescription opDesc = new OperationDescription(opName); MessageContext retMsgCtx = call.invokeBlocking(opDesc, msgCtx); //SOAPEnvelope responseEnvelop = replyContext.getEnvelope(); retEnv = retMsgCtx.getEnvelope(); return retEnv; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/08108c09ab95c4e627fa6d48f3c5e8c79a53039d/Round1Client.java/buggy/modules/integration/src/org/apache/axis2/interopt/whitemesa/round1/Round1Client.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16434, 10862, 1366, 3332, 12, 11066, 21, 1227, 1304, 1709, 16, 514, 5529, 1489, 16, 514, 9930, 1803, 13, 1216, 15509, 7083, 288, 3639, 16434, 10862, 325, 3491, 273, 446, 31, 3639, 1976, 880, 273, 446, 31, 3639, 775, 288, 5411, 880, 273, 394, 1976, 12, 881, 1489, 1769, 3639, 289, 1044, 261, 18695, 20160, 425, 13, 288, 5411, 604, 394, 15509, 7083, 12, 73, 1769, 3639, 289, 3639, 3049, 745, 273, 394, 3049, 2932, 3299, 19, 3813, 17, 4683, 19, 474, 1574, 7034, 8791, 8863, 3639, 745, 18, 542, 774, 12, 2704, 6961, 2404, 12, 718, 18, 10492, 1435, 10019, 3639, 745, 18, 542, 20601, 1803, 12, 19215, 1803, 1769, 3639, 745, 18, 542, 6568, 966, 12, 2918, 18, 8989, 31943, 67, 3693, 16, 5245, 18, 8989, 31943, 67, 3693, 16, 629, 1769, 3639, 16434, 10862, 1111, 3491, 273, 1709, 18, 588, 19704, 20601, 10862, 5621, 3639, 2332, 18, 659, 18, 8222, 2932, 8863, 3639, 15509, 1750, 2654, 809, 273, 394, 15509, 1750, 2828, 5621, 3639, 4659, 1042, 642, 6442, 273, 394, 4659, 1042, 12, 4890, 809, 1769, 3639, 2350, 1042, 1234, 6442, 273, 394, 2350, 1042, 12, 1425, 6442, 1769, 3639, 1234, 6442, 18, 542, 10862, 12, 3658, 3491, 1769, 3639, 16723, 1061, 461, 273, 394, 16723, 2932, 8863, 3639, 4189, 3291, 1061, 4217, 273, 394, 4189, 3291, 12, 556, 461, 1769, 3639, 2350, 1042, 325, 3332, 6442, 273, 745, 18, 14407, 8728, 12, 556, 4217, 16, 1234, 6442, 1769, 3639, 368, 27952, 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, 16434, 10862, 1366, 3332, 12, 11066, 21, 1227, 1304, 1709, 16, 514, 5529, 1489, 16, 514, 9930, 1803, 13, 1216, 15509, 7083, 288, 3639, 16434, 10862, 325, 3491, 273, 446, 31, 3639, 1976, 880, 273, 446, 31, 3639, 775, 288, 5411, 880, 273, 394, 1976, 12, 881, 1489, 1769, 3639, 289, 1044, 261, 18695, 20160, 425, 13, 288, 5411, 604, 394, 15509, 7083, 12, 73, 1769, 3639, 289, 3639, 3049, 745, 273, 394, 3049, 2932, 3299, 19, 3813, 17, 4683, 19, 474, 1574, 7034, 8791, 8863, 3639, 745, 18, 542, 774, 12, 2704, 6961, 2404, 12, 718, 18, 10492, 1435, 10019, 3639, 745, 18, 542, 20601, 1803, 12, 19215, 1803, 1769, 3639, 745, 18, 542, 6568, 966, 2 ]
im = ((GifFrame) frames.get(n)).image;
im = ((GifFrame) frames.get(n)).image;
public BufferedImage getFrame(int n) { BufferedImage im = null; if ((n >= 0) && (n < frameCount)) { im = ((GifFrame) frames.get(n)).image; } return im; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/38deb5a3770dd936982e996839c13f192aaf5f29/GifDecoder.java/buggy/Ajax/src/com/zimbra/ajax/imagemerge/GifDecoder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 12362, 25396, 12, 474, 290, 13, 288, 3639, 12362, 709, 273, 446, 31, 3639, 309, 14015, 82, 1545, 374, 13, 597, 261, 82, 411, 2623, 1380, 3719, 288, 5411, 709, 273, 14015, 43, 430, 3219, 13, 7793, 18, 588, 12, 82, 13, 2934, 2730, 31, 3639, 289, 3639, 327, 709, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 12362, 25396, 12, 474, 290, 13, 288, 3639, 12362, 709, 273, 446, 31, 3639, 309, 14015, 82, 1545, 374, 13, 597, 261, 82, 411, 2623, 1380, 3719, 288, 5411, 709, 273, 14015, 43, 430, 3219, 13, 7793, 18, 588, 12, 82, 13, 2934, 2730, 31, 3639, 289, 3639, 327, 709, 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 ]
ps_sc.close();
psInsertClob.close();
public void testSetClob() throws IOException, SQLException { //insert default values into the table String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); is.reset(); PreparedStatement ps_sc = prepareStatement("insert into ClobTestTable values(?,?)"); //initially insert the data ps_sc.setInt(1,1); ps_sc.setClob(2,is,str.length()); ps_sc.executeUpdate(); //Now query to retrieve the Clob ResultSet rs = s.executeQuery("select * from ClobTestTable where sno = 1"); rs.next(); Clob clobToBeInserted = rs.getClob(2); rs.close(); //Now use the setClob method ps_sc.setInt(1,2); ps_sc.setClob(2,clobToBeInserted); ps_sc.execute(); ps_sc.close(); //Now test to see that the Clob has been stored correctly rs = s.executeQuery("select * from ClobTestTable where sno = 2"); rs.next(); Clob clobRetrieved = rs.getClob(2); assertEquals(clobToBeInserted,clobRetrieved); }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/10cc70bcc00febcc1aa0d6dcef2f959c4e930c64/PreparedStatementTest.java/clean/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/PreparedStatementTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 694, 39, 1295, 1435, 5411, 1216, 1860, 16, 6483, 288, 3639, 368, 6387, 805, 924, 1368, 326, 1014, 7734, 514, 609, 273, 315, 4709, 501, 364, 326, 385, 1295, 733, 14432, 3639, 26227, 353, 273, 394, 26227, 2932, 4709, 501, 364, 326, 385, 1295, 733, 8863, 3639, 353, 18, 6208, 5621, 7734, 16913, 4250, 67, 1017, 273, 21406, 2932, 6387, 1368, 385, 1295, 4709, 1388, 924, 3680, 27166, 2225, 1769, 7734, 368, 2738, 6261, 2243, 326, 501, 3639, 4250, 67, 1017, 18, 542, 1702, 12, 21, 16, 21, 1769, 3639, 4250, 67, 1017, 18, 542, 39, 1295, 12, 22, 16, 291, 16, 701, 18, 2469, 10663, 3639, 4250, 67, 1017, 18, 8837, 1891, 5621, 7734, 368, 8674, 843, 358, 4614, 326, 385, 1295, 3639, 10842, 3597, 273, 272, 18, 8837, 1138, 2932, 4025, 380, 628, 385, 1295, 4709, 1388, 1625, 272, 2135, 273, 404, 8863, 3639, 3597, 18, 4285, 5621, 3639, 385, 1295, 1219, 70, 15360, 27329, 273, 3597, 18, 588, 39, 1295, 12, 22, 1769, 3639, 3597, 18, 4412, 5621, 7734, 368, 8674, 999, 326, 11440, 1295, 707, 3639, 4250, 67, 1017, 18, 542, 1702, 12, 21, 16, 22, 1769, 3639, 4250, 67, 1017, 18, 542, 39, 1295, 12, 22, 16, 71, 1295, 15360, 27329, 1769, 3639, 4250, 67, 1017, 18, 8837, 5621, 7734, 4250, 4600, 39, 1295, 18, 4412, 5621, 7734, 368, 8674, 1842, 358, 2621, 716, 326, 385, 1295, 711, 2118, 4041, 8783, 3639, 3597, 273, 272, 18, 8837, 1138, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 694, 39, 1295, 1435, 5411, 1216, 1860, 16, 6483, 288, 3639, 368, 6387, 805, 924, 1368, 326, 1014, 7734, 514, 609, 273, 315, 4709, 501, 364, 326, 385, 1295, 733, 14432, 3639, 26227, 353, 273, 394, 26227, 2932, 4709, 501, 364, 326, 385, 1295, 733, 8863, 3639, 353, 18, 6208, 5621, 7734, 16913, 4250, 67, 1017, 273, 21406, 2932, 6387, 1368, 385, 1295, 4709, 1388, 924, 3680, 27166, 2225, 1769, 7734, 368, 2738, 6261, 2243, 326, 501, 3639, 4250, 67, 1017, 18, 542, 1702, 12, 21, 16, 21, 1769, 3639, 4250, 67, 1017, 18, 542, 39, 1295, 12, 22, 16, 291, 16, 701, 18, 2469, 10663, 3639, 4250, 67, 1017, 18, 8837, 1891, 5621, 7734, 2 ]
UserLoginTab ult = new UserLoginTab(); ult.displayLoginInfoSettings(); panel.addTab(ult,++count,iwc); }
public void initializePanel( IWContext iwc, TabbedPropertyPanel panel){ int count = 0; GeneralUserInfoTab genTab = new GeneralUserInfoTab(); try {//temporary before plugins work panel.addTab(genTab, count, iwc); panel.addTab(new UserImageTab(),++count,iwc); panel.addTab(new AddressInfoTab(), ++count, iwc); panel.addTab(new UserPhoneTab(), ++count, iwc); panel.addTab(new UserGroupList(),++count,iwc); panel.addTab((PresentationObject)Class.forName("is.idega.idegaweb.member.presentation.UserFamilyTab").newInstance() ,++count,iwc); //panel.addTab((PresentationObject)Class.forName("is.idega.idegaweb.member.presentation.UserFinanceTab").newInstance() ,++count,iwc); //panel.addTab((PresentationObject)Class.forName("is.idega.idegaweb.member.presentation.UserHistoryTab").newInstance() ,++count,iwc); //temp shit String id = iwc.getParameter(UserPropertyWindow.PARAMETERSTRING_USER_ID); int userId = Integer.parseInt(id); User user = getUserBusiness(iwc).getUser(userId); Collection plugins = getGroupBusiness(iwc).getUserGroupPluginsForUser(user); Iterator iter = plugins.iterator(); while (iter.hasNext()) { UserGroupPlugIn element = (UserGroupPlugIn) iter.next(); UserGroupPlugInBusiness pluginBiz = (UserGroupPlugInBusiness) com.idega.business.IBOLookup.getServiceInstance(iwc,Class.forName(element.getBusinessICObject().getClassName())); List tabs = pluginBiz.getUserPropertiesTabs(user); Iterator tab = tabs.iterator(); while (tab.hasNext()) { UserTab el = (UserTab) tab.next(); panel.addTab(el,++count,iwc); } } } catch (Exception e) { e.printStackTrace(); } UserLoginTab ult = new UserLoginTab(); ult.displayLoginInfoSettings(); panel.addTab(ult,++count,iwc); }
53236 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53236/610d961d60421a5ff04e7c5dcbdd54264a1022f0/UserPropertyWindow.java/buggy/src/java/com/idega/user/presentation/UserPropertyWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4046, 5537, 12, 467, 59, 1042, 25522, 71, 16, 9483, 2992, 1396, 5537, 6594, 15329, 282, 202, 474, 1056, 273, 374, 31, 565, 9544, 21015, 5661, 3157, 5661, 273, 394, 9544, 21015, 5661, 5621, 5411, 775, 288, 759, 31143, 1865, 4799, 1440, 377, 202, 13916, 18, 1289, 5661, 12, 4507, 5661, 16, 1056, 16, 25522, 71, 1769, 1082, 202, 13916, 18, 1289, 5661, 12, 2704, 2177, 2040, 5661, 9334, 9904, 1883, 16, 22315, 71, 1769, 202, 565, 6594, 18, 1289, 5661, 12, 2704, 5267, 966, 5661, 9334, 965, 1883, 16, 25522, 71, 1769, 202, 565, 6594, 18, 1289, 5661, 12, 2704, 2177, 9451, 5661, 9334, 965, 1883, 16, 25522, 71, 1769, 202, 565, 6594, 18, 1289, 5661, 12, 2704, 30928, 682, 9334, 9904, 1883, 16, 22315, 71, 1769, 202, 377, 202, 565, 6594, 18, 1289, 5661, 12443, 6351, 367, 921, 13, 797, 18, 1884, 461, 2932, 291, 18, 831, 15833, 18, 831, 15833, 4875, 18, 5990, 18, 10364, 18, 1299, 9203, 5661, 20387, 2704, 1442, 1435, 269, 9904, 1883, 16, 22315, 71, 1769, 202, 565, 368, 13916, 18, 1289, 5661, 12443, 6351, 367, 921, 13, 797, 18, 1884, 461, 2932, 291, 18, 831, 15833, 18, 831, 15833, 4875, 18, 5990, 18, 10364, 18, 1299, 6187, 1359, 5661, 20387, 2704, 1442, 1435, 269, 9904, 1883, 16, 22315, 71, 1769, 202, 565, 368, 13916, 18, 1289, 5661, 12443, 6351, 367, 921, 13, 797, 18, 1884, 461, 2932, 291, 18, 831, 15833, 18, 831, 15833, 4875, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4046, 5537, 12, 467, 59, 1042, 25522, 71, 16, 9483, 2992, 1396, 5537, 6594, 15329, 282, 202, 474, 1056, 273, 374, 31, 565, 9544, 21015, 5661, 3157, 5661, 273, 394, 9544, 21015, 5661, 5621, 5411, 775, 288, 759, 31143, 1865, 4799, 1440, 377, 202, 13916, 18, 1289, 5661, 12, 4507, 5661, 16, 1056, 16, 25522, 71, 1769, 1082, 202, 13916, 18, 1289, 5661, 12, 2704, 2177, 2040, 5661, 9334, 9904, 1883, 16, 22315, 71, 1769, 202, 565, 6594, 18, 1289, 5661, 12, 2704, 5267, 966, 5661, 9334, 965, 1883, 16, 25522, 71, 1769, 202, 565, 6594, 18, 1289, 5661, 12, 2704, 2177, 9451, 5661, 9334, 965, 1883, 16, 25522, 71, 1769, 202, 565, 6594, 18, 1289, 2 ]
MSILType toType = arithmCoercion(iLeft.type, primitiveType(right.type));
MSILType toType = MSILType.arithmCoercion(iLeft.type.asPrimitive(), primitiveType(right.type));
private Item primitiveOp(Tree left, Symbol opSym, Tree right, MSILType resType) { assert primitives.isPrimitive(opSym); Primitive op = primitives.getPrimitive(opSym); // treat some special cases switch (op) { case BOX: return invokeMethod(opSym, new Tree[]{right}, resType, false); case CONCAT: genLoad(left, MSILType.OBJECT); genLoad(right, MSILType.OBJECT); code.Emit(OpCodes.Call, tc.CONCAT_OBJECT_OBJECT); return items.StackItem(MSILType.STRING); case ADD: if (tc.getType(right.type) == tc.STRING) { log("primaryOp().ADD: string concat!"); genLoad(left, MSILType.OBJECT); genLoad(right, MSILType.OBJECT); code.Emit(OpCodes.Call, tc.CONCAT_OBJECT_OBJECT); return items.StackItem(MSILType.STRING); } break; case IS: genLoad(left, MSILType.OBJECT); final Type type = tc.getType(right.type); code.Emit(OpCodes.Isinst, type); return mkCond(items.StackItem(msilType(type))); case AS: Item i = genLoad(left, MSILType.OBJECT); final Type type = tc.getType(right.type); if (!i.type.isType(type) && type != tc.OBJECT) { code.Emit(OpCodes.Castclass, type); } return items.StackItem(msilType(type)); case SYNCHRONIZED: // TODO: reuse temporary local variable whenever possible LocalBuilder tmp = code.DeclareLocal(tc.OBJECT); genLoad(left, MSILType.OBJECT); code.Emit(OpCodes.Stloc, tmp); code.Emit(OpCodes.Ldloc, tmp); code.Emit(OpCodes.Call, tc.MONITOR_ENTER); genLoad(right, MSILType.OBJECT); code.Emit(OpCodes.Ldloc, tmp); code.Emit(OpCodes.Call, tc.MONITOR_EXIT); return items.StackItem(MSILType.OBJECT); } Item iLeft = null; MSILType tleft = msilType(left); switch (left) { case Apply(Tree fun , Tree[] args): Primitive p = primitives.getPrimitive(fun.symbol()); switch (p) { case BOX: assert args.length == 1; iLeft = gen(args[0], msilType(args[0])); break; } break; default: iLeft = gen(left, tleft); } switch (op) { case THROW: load(iLeft); code.Emit(OpCodes.Throw); code.Emit(OpCodes.Ldnull); return items.StackItem(MSILType.OBJECT); case POS: return load(coerce(iLeft, resType)); case NEG: iLeft = load(coerce(iLeft, resType)); code.Emit(OpCodes.Neg); return iLeft; case NOT: iLeft = load(coerce(iLeft, resType)); code.Emit(OpCodes.Not); return iLeft; case ZNOT: return negate(mkCond(iLeft)); case ZOR: Item.CondItem lcond = mkCond(iLeft), rcond = null; Chain success = lcond.success, failure = lcond.failure; switch (lcond.test) { case True: return lcond; case False: return mkCond(gen(right, MSILType.BOOL)); case And(Test t): success = (success != null) ? success : new Chain(code.DefineLabel(), null); branch(negate(lcond.test), success); resolve(failure); failure = null; break; default: success = (success != null) ? success : new Chain(code.DefineLabel(), null); branch(negate(lcond.test), success); } rcond = mkCond((gen(right, MSILType.BOOL))); rcond = items.CondItem(Test.Or(rcond.test), merge(success, rcond.success), merge(failure, rcond.failure)); return rcond; case ZAND: Item.CondItem lcond = mkCond(iLeft), rcond = null; Chain success = lcond.success, failure = lcond.failure; switch (lcond.test) { case False: return lcond; case True: return mkCond(gen(right, MSILType.BOOL)); case Or(Test t): failure = (failure != null) ? failure : new Chain(code.DefineLabel(), null); branch(lcond.test, failure); resolve(success); success = null; break; default: failure = (failure != null) ? failure : new Chain(code.DefineLabel(), null); branch(lcond.test, failure); } rcond = mkCond(gen(right, MSILType.BOOL)); rcond = items.CondItem(Test.And(rcond.test), merge(success, rcond.success), merge(failure, rcond.failure)); return rcond; } MSILType toType = arithmCoercion(iLeft.type, primitiveType(right.type)); load(coerce(iLeft, toType)); genLoad(right, toType); Item res = null; switch (op) { case ADD: code.Emit(OpCodes.Add); res = items.StackItem(toType); break; case SUB: code.Emit(OpCodes.Sub); res = items.StackItem(toType); break; case MUL: code.Emit(OpCodes.Mul); res = items.StackItem(toType); break; case DIV: code.Emit(OpCodes.Div); res = items.StackItem(toType); break; case MOD: code.Emit(OpCodes.Rem); res = items.StackItem(toType); break; case OR: code.Emit(OpCodes.Or); res = items.StackItem(toType); break; case XOR: code.Emit(OpCodes.Xor); res = items.StackItem(toType); break; case AND: code.Emit(OpCodes.And); res = items.StackItem(toType); break; case LSL: code.Emit(OpCodes.Shl); res = items.StackItem(toType); break; case LSR: code.Emit(OpCodes.Shr); res = items.StackItem(toType); break; case ASR: code.Emit(OpCodes.Shr_Un); res = items.StackItem(toType); break; case EQ: res = items.CondItem(Test.Binary(Test.EQ, toType), null, null); break; case NE: res = items.CondItem(Test.Binary(Test.NE, toType), null, null); break; case LT: res = items.CondItem(Test.Binary(Test.LT_IS, toType), null, null); break; case LE: res = items.CondItem(Test.Binary(Test.LE_IS, toType), null, null); break; case GT: res = items.CondItem(Test.Binary(Test.GT_IS, toType), null, null); break; case GE: res = items.CondItem(Test.Binary(Test.GE_IS, toType), null, null); break; default: throw new ApplicationError(Debug.show(op)); } return coerce(res, resType); }
5590 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5590/ed26845c259032914ff9429f573bf8f07a66eff4/GenMSIL.java/clean/sources/scalac/backend/msil/GenMSIL.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4342, 8225, 3817, 12, 2471, 2002, 16, 8565, 1061, 11901, 16, 4902, 2145, 16, 490, 2320, 48, 559, 400, 559, 13, 565, 288, 202, 11231, 23376, 18, 291, 9840, 12, 556, 11901, 1769, 202, 9840, 1061, 273, 23376, 18, 588, 9840, 12, 556, 11901, 1769, 202, 759, 10116, 2690, 4582, 6088, 202, 9610, 261, 556, 13, 288, 202, 3593, 9784, 60, 30, 202, 565, 327, 27632, 12, 556, 11901, 16, 394, 4902, 63, 7073, 4083, 5779, 400, 559, 16, 629, 1769, 225, 202, 3593, 3492, 14130, 30, 202, 565, 3157, 2563, 12, 4482, 16, 490, 2320, 48, 559, 18, 9422, 1769, 202, 565, 3157, 2563, 12, 4083, 16, 490, 2320, 48, 559, 18, 9422, 1769, 202, 565, 981, 18, 17982, 12, 3817, 6295, 18, 1477, 16, 1715, 18, 2248, 14130, 67, 9422, 67, 9422, 1769, 202, 565, 327, 1516, 18, 2624, 1180, 12, 49, 2320, 48, 559, 18, 5804, 1769, 202, 3593, 11689, 30, 202, 565, 309, 261, 5111, 18, 588, 559, 12, 4083, 18, 723, 13, 422, 1715, 18, 5804, 13, 288, 202, 202, 1330, 2932, 8258, 3817, 7675, 8355, 30, 533, 3835, 4442, 1769, 202, 202, 4507, 2563, 12, 4482, 16, 490, 2320, 48, 559, 18, 9422, 1769, 202, 202, 4507, 2563, 12, 4083, 16, 490, 2320, 48, 559, 18, 9422, 1769, 202, 202, 710, 18, 17982, 12, 3817, 6295, 18, 1477, 16, 1715, 18, 2248, 14130, 67, 9422, 67, 9422, 1769, 202, 202, 2463, 1516, 18, 2624, 1180, 12, 49, 2320, 48, 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, 4342, 8225, 3817, 12, 2471, 2002, 16, 8565, 1061, 11901, 16, 4902, 2145, 16, 490, 2320, 48, 559, 400, 559, 13, 565, 288, 202, 11231, 23376, 18, 291, 9840, 12, 556, 11901, 1769, 202, 9840, 1061, 273, 23376, 18, 588, 9840, 12, 556, 11901, 1769, 202, 759, 10116, 2690, 4582, 6088, 202, 9610, 261, 556, 13, 288, 202, 3593, 9784, 60, 30, 202, 565, 327, 27632, 12, 556, 11901, 16, 394, 4902, 63, 7073, 4083, 5779, 400, 559, 16, 629, 1769, 225, 202, 3593, 3492, 14130, 30, 202, 565, 3157, 2563, 12, 4482, 16, 490, 2320, 48, 559, 18, 9422, 1769, 202, 565, 3157, 2563, 12, 4083, 16, 490, 2320, 48, 559, 18, 9422, 1769, 202, 565, 2 ]
globalClient = new FCPClient("Global Queue", this, null, true);
public FCPServer(String ipToBindTo, int port, Node node, boolean persistentDownloadsEnabled, String persistentDownloadsDir, long persistenceInterval) throws IOException, InvalidConfigValueException { this.bindTo = ipToBindTo; this.persistenceInterval = persistenceInterval; this.port = port; this.enabled = true; this.sock = new ServerSocket(port, 0, InetAddress.getByName(bindTo)); this.node = node; clientsByName = new WeakHashMap(); // This one is only used to get the default settings. Individual FCP conns // will make their own. HighLevelSimpleClient client = node.makeClient((short)0); defaultFetchContext = client.getFetcherContext(); defaultInsertContext = client.getInserterContext(); Thread t = new Thread(this, "FCP server"); this.enablePersistentDownloads = persistentDownloadsEnabled; globalClient = new FCPClient("Global Queue", this, null, true); setPersistentDownloadsFile(new File(persistentDownloadsDir)); t.setDaemon(true); t.start(); if(enablePersistentDownloads) { loadPersistentRequests(); startPersister(); } }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/b6a8f1787df168986eebe0909f752eaab340abbe/FCPServer.java/clean/src/freenet/node/fcp/FCPServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 478, 4258, 2081, 12, 780, 2359, 774, 3357, 774, 16, 509, 1756, 16, 2029, 756, 16, 1250, 9195, 22141, 1526, 16, 514, 9195, 22141, 1621, 16, 1525, 9756, 4006, 13, 1216, 1860, 16, 1962, 809, 9738, 288, 202, 202, 2211, 18, 4376, 774, 273, 2359, 774, 3357, 774, 31, 202, 202, 2211, 18, 24854, 4006, 273, 9756, 4006, 31, 202, 202, 2211, 18, 655, 273, 1756, 31, 202, 202, 2211, 18, 5745, 273, 638, 31, 202, 202, 2211, 18, 15031, 273, 394, 3224, 4534, 12, 655, 16, 374, 16, 14218, 18, 588, 5911, 12, 4376, 774, 10019, 202, 202, 2211, 18, 2159, 273, 756, 31, 202, 202, 16931, 5911, 273, 394, 23632, 8658, 5621, 202, 202, 759, 1220, 1245, 353, 1338, 1399, 358, 336, 326, 805, 1947, 18, 24147, 478, 4258, 18976, 202, 202, 759, 903, 1221, 3675, 4953, 18, 202, 202, 8573, 2355, 5784, 1227, 1004, 273, 756, 18, 6540, 1227, 12443, 6620, 13, 20, 1769, 202, 202, 1886, 5005, 1042, 273, 1004, 18, 588, 16855, 1042, 5621, 202, 202, 1886, 4600, 1042, 273, 1004, 18, 588, 382, 550, 387, 1042, 5621, 202, 202, 3830, 268, 273, 394, 4884, 12, 2211, 16, 315, 42, 4258, 1438, 8863, 202, 202, 2211, 18, 7589, 11906, 22141, 273, 9195, 22141, 1526, 31, 202, 202, 6347, 1227, 273, 394, 478, 4258, 1227, 2932, 5160, 7530, 3113, 333, 16, 446, 16, 638, 1769, 202, 202, 542, 11906, 22141, 812, 12, 2704, 1387, 12, 19393, 22141, 1621, 10019, 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, 478, 4258, 2081, 12, 780, 2359, 774, 3357, 774, 16, 509, 1756, 16, 2029, 756, 16, 1250, 9195, 22141, 1526, 16, 514, 9195, 22141, 1621, 16, 1525, 9756, 4006, 13, 1216, 1860, 16, 1962, 809, 9738, 288, 202, 202, 2211, 18, 4376, 774, 273, 2359, 774, 3357, 774, 31, 202, 202, 2211, 18, 24854, 4006, 273, 9756, 4006, 31, 202, 202, 2211, 18, 655, 273, 1756, 31, 202, 202, 2211, 18, 5745, 273, 638, 31, 202, 202, 2211, 18, 15031, 273, 394, 3224, 4534, 12, 655, 16, 374, 16, 14218, 18, 588, 5911, 12, 4376, 774, 10019, 202, 202, 2211, 18, 2159, 273, 756, 31, 202, 202, 16931, 5911, 273, 394, 23632, 8658, 5621, 202, 202, 2 ]
ResourceBundle rb = new PropertyResourceBundle(is); rb.parent = bundle; rb.locale = locale; bundle = rb;
foundBundle = new PropertyResourceBundle(is); foundBundle.parent = bundle; foundBundle.locale = locale;
private static final ResourceBundle tryBundle(String localizedName, Locale locale, ClassLoader classloader, ResourceBundle bundle, HashMap cache) { { // First look into the cache. // XXX We should remove cleared references from the cache. Reference ref = (Reference) cache.get(localizedName); if (ref != null) { ResourceBundle rb = (ResourceBundle) ref.get(); if (rb != null) // rb should already have the right parent, except if // something very strange happened. return rb; } } try { java.io.InputStream is; if (classloader == null) is = ClassLoader.getSystemResourceAsStream (localizedName.replace('.', '/') + ".properties"); else is = classloader.getResourceAsStream (localizedName.replace('.', '/') + ".properties"); if (is != null) { ResourceBundle rb = new PropertyResourceBundle(is); rb.parent = bundle; rb.locale = locale; bundle = rb; } } catch (java.io.IOException ex) { } try { Class rbClass; if (classloader == null) rbClass = Class.forName(localizedName); else rbClass = classloader.loadClass(localizedName); ResourceBundle rb = (ResourceBundle) rbClass.newInstance(); rb.parent = bundle; rb.locale = locale; bundle = rb; } catch (ClassNotFoundException ex) { } catch (IllegalAccessException ex) { } catch (InstantiationException ex) { // ignore them all // XXX should we also ignore ClassCastException? } // Put the bundle in the cache if (bundle != null) cache.put(localizedName, new SoftReference(bundle)); return bundle; }
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/ff279ae7100d5e4b86a071aa02911d0fd7a25e60/ResourceBundle.java/clean/libjava/java/util/ResourceBundle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 727, 19198, 775, 3405, 12, 780, 13596, 461, 16, 25083, 202, 3916, 2573, 16, 25083, 202, 7805, 20595, 16, 25083, 202, 18731, 3440, 16, 25083, 202, 8658, 1247, 13, 225, 288, 565, 288, 1377, 368, 5783, 2324, 1368, 326, 1247, 18, 1377, 368, 11329, 1660, 1410, 1206, 16054, 5351, 628, 326, 1247, 18, 1377, 6268, 1278, 273, 261, 2404, 13, 1247, 18, 588, 12, 3729, 1235, 461, 1769, 1377, 309, 261, 1734, 480, 446, 13, 202, 95, 202, 225, 19198, 7138, 273, 261, 18731, 13, 1278, 18, 588, 5621, 202, 225, 309, 261, 6731, 480, 446, 13, 202, 565, 368, 7138, 1410, 1818, 1240, 326, 2145, 982, 16, 1335, 309, 202, 565, 368, 5943, 8572, 609, 726, 17497, 18, 202, 565, 327, 7138, 31, 202, 97, 565, 289, 565, 775, 1377, 288, 202, 6290, 18, 1594, 18, 4348, 353, 31, 202, 430, 261, 1106, 6714, 422, 446, 13, 202, 225, 353, 273, 9403, 18, 588, 3163, 1420, 17052, 202, 565, 261, 3729, 1235, 461, 18, 2079, 2668, 1093, 16, 2023, 13, 397, 3552, 4738, 8863, 202, 12107, 202, 225, 353, 273, 20595, 18, 588, 1420, 17052, 202, 565, 261, 3729, 1235, 461, 18, 2079, 2668, 1093, 16, 2023, 13, 397, 3552, 4738, 8863, 202, 430, 261, 291, 480, 446, 13, 202, 225, 288, 202, 565, 19198, 7138, 273, 394, 4276, 18731, 12, 291, 1769, 202, 565, 7138, 18, 2938, 273, 3440, 31, 202, 565, 7138, 18, 6339, 273, 2573, 31, 202, 565, 3440, 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, 282, 3238, 760, 727, 19198, 775, 3405, 12, 780, 13596, 461, 16, 25083, 202, 3916, 2573, 16, 25083, 202, 7805, 20595, 16, 25083, 202, 18731, 3440, 16, 25083, 202, 8658, 1247, 13, 225, 288, 565, 288, 1377, 368, 5783, 2324, 1368, 326, 1247, 18, 1377, 368, 11329, 1660, 1410, 1206, 16054, 5351, 628, 326, 1247, 18, 1377, 6268, 1278, 273, 261, 2404, 13, 1247, 18, 588, 12, 3729, 1235, 461, 1769, 1377, 309, 261, 1734, 480, 446, 13, 202, 95, 202, 225, 19198, 7138, 273, 261, 18731, 13, 1278, 18, 588, 5621, 202, 225, 309, 261, 6731, 480, 446, 13, 202, 565, 368, 7138, 1410, 1818, 1240, 326, 2145, 982, 16, 1335, 309, 202, 565, 368, 5943, 8572, 609, 2 ]
server.undoAllRecruits(playerName);
while (!isUndoStackEmpty()) { undoLastRecruit(); }
void undoAllRecruits() { server.undoAllRecruits(playerName); }
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/9f71659229ae7805ae72ac693333ec823357a19d/Client.java/buggy/Colossus/net/sf/colossus/client/Client.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 15436, 1595, 426, 3353, 89, 1282, 1435, 565, 288, 3639, 1323, 16051, 291, 31224, 2624, 1921, 10756, 288, 15436, 3024, 426, 3353, 14945, 5621, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 918, 15436, 1595, 426, 3353, 89, 1282, 1435, 565, 288, 3639, 1323, 16051, 291, 31224, 2624, 1921, 10756, 288, 15436, 3024, 426, 3353, 14945, 5621, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
/* * * methodRef.selector -> ecx os.writeMOV(INTSIZE, Register.ECX, * Register.EDX, * context.getVmConstIMethodRefSelectorField().getOffset()); * methodRef.selector -> eax os.writeMOV(INTSIZE, Register.EAX, * Register.ECX); * IMT_LENGTH -> ESI os.writeMOV_Const(Register.ESI, * ObjectLayout.IMT_LENGTH); */ os.writeMOV_Const(ECX, selector); os.writeMOV_Const(EDX, imtIndex);
/* * * methodRef.selector -> ecx os.writeMOV(INTSIZE, Register.ECX, * Register.EDX, * context.getVmConstIMethodRefSelectorField().getOffset()); * methodRef.selector -> eax os.writeMOV(INTSIZE, Register.EAX, * Register.ECX); * IMT_LENGTH -> ESI os.writeMOV_Const(Register.ESI, * ObjectLayout.IMT_LENGTH); */ os.writeMOV_Const(ECX, selector); os.writeMOV_Const(EDX, imtIndex);
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = * new Label(this.curInstrLabel + "startClass"); * os.setObjectRef(startClassLabel); * resolveClass(methodRef.getConstClass()); patch_NOP(startClassLabel); } * * if (!methodRef.isResolved()) { Label startLabel = new * Label(this.curInstrLabel + "start"); os.setObjectRef(startLabel); * resolveMethod(methodRef); patch_NOP(startLabel); */ final VmMethod method = methodRef.getResolvedVmMethod(); final int selector = method.getSelector(); final int imtIndex = selector % ObjectLayout.IMT_LENGTH; final int argSlotCount = count - 1; final Label noCollLabel = new Label(this.curInstrLabel + "NoCollision"); final Label findSelectorLabel = new Label(this.curInstrLabel + "FindSelector"); final Label endLabel = new Label(this.curInstrLabel + "End"); // remove parameters from vstack dropParameters(method, true); // Get objectref -> EBX os.writeMOV(INTSIZE, Register.EBX, SP, argSlotCount * slotSize); /* * // methodRef -> EDX os.writeMOV_Const(Register.EDX, methodRef); // * methodRef.selector -> ecx os.writeMOV(INTSIZE, Register.ECX, * Register.EDX, * context.getVmConstIMethodRefSelectorField().getOffset()); // * methodRef.selector -> eax os.writeMOV(INTSIZE, Register.EAX, * Register.ECX); // Clear edx os.writeXOR(Register.EDX, Register.EDX); // * IMT_LENGTH -> ESI os.writeMOV_Const(Register.ESI, * ObjectLayout.IMT_LENGTH); // selector % IMT_LENGTH -> edx */ os.writeMOV_Const(ECX, selector); os.writeMOV_Const(EDX, imtIndex); // Output: EBX=objectref, ECX=selector, EDX=imtIndex /* objectref.TIB -> ebx */ os.writeMOV(INTSIZE, Register.EBX, Register.EBX, ObjectLayout.TIB_SLOT * slotSize); /* boolean[] imtCollisions -> esi */ os.writeMOV(INTSIZE, Register.ESI, Register.EBX, (VmArray.DATA_OFFSET + TIBLayout.IMTCOLLISIONS_INDEX) * slotSize); /* Has collision at imt[index] ? */ os.writeMOV(INTSIZE, Register.EAX, Register.ESI, Register.EDX, 1, VmArray.DATA_OFFSET * slotSize); os.writeTEST_AL(0xFF); /* Object[] imt -> esi */ os.writeMOV(INTSIZE, Register.ESI, Register.EBX, (VmArray.DATA_OFFSET + TIBLayout.IMT_INDEX) * slotSize); /* selector -> ebx */ os.writeMOV(INTSIZE, Register.EBX, Register.ECX); os.writeJCC(noCollLabel, X86Constants.JZ); // We have a collision /* imt[index] (=collisionList) -> esi */ os.writeMOV(INTSIZE, Register.ESI, Register.ESI, Register.EDX, 4, VmArray.DATA_OFFSET * slotSize); /* collisionList.length -> ecx */ os.writeMOV(INTSIZE, Register.ECX, Register.ESI, VmArray.LENGTH_OFFSET * slotSize); /* &collisionList[0] -> esi */ os.writeLEA(Register.ESI, Register.ESI, VmArray.DATA_OFFSET * slotSize); os.setObjectRef(findSelectorLabel); /* collisionList[index] -> eax */ os.writeLODSD(); /* collisionList[index].selector == selector? */ os.writeMOV(INTSIZE, Register.EDX, Register.EAX, context .getVmMethodSelectorField().getOffset()); os.writeCMP(Register.EBX, Register.EDX); os.writeJCC(endLabel, X86Constants.JE); try { os.writeLOOP(findSelectorLabel); } catch (UnresolvedObjectRefException ex) { throw new CompileError(ex); } /* Force a NPE further on */ os.writeXOR(Register.EAX, Register.EAX); os.writeJMP(endLabel); os.setObjectRef(noCollLabel); /* imt[index] -> eax */ os.writeMOV(INTSIZE, Register.EAX, Register.ESI, Register.EDX, 4, VmArray.DATA_OFFSET * slotSize); os.setObjectRef(endLabel); /** Now invoke the method */ helper.invokeJavaMethod(methodRef.getSignature()); // Result is already on the stack. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 3757, 67, 14407, 5831, 12, 22143, 9661, 45, 1305, 1957, 707, 1957, 16, 5411, 509, 1056, 13, 288, 3639, 368, 6241, 30, 1756, 358, 578, 84, 17, 4060, 3639, 19510, 18, 6206, 12, 73, 1042, 1769, 3639, 707, 1957, 18, 10828, 12, 6714, 1769, 3639, 1748, 540, 380, 309, 16051, 2039, 1957, 18, 588, 9661, 797, 7675, 291, 12793, 10756, 288, 5287, 787, 797, 2224, 273, 540, 380, 394, 5287, 12, 2211, 18, 1397, 382, 701, 2224, 397, 315, 1937, 797, 8863, 540, 380, 1140, 18, 542, 921, 1957, 12, 1937, 797, 2224, 1769, 540, 380, 2245, 797, 12, 2039, 1957, 18, 588, 9661, 797, 10663, 4729, 67, 3417, 52, 12, 1937, 797, 2224, 1769, 289, 540, 380, 1850, 380, 309, 16051, 2039, 1957, 18, 291, 12793, 10756, 288, 5287, 787, 2224, 273, 394, 540, 380, 5287, 12, 2211, 18, 1397, 382, 701, 2224, 397, 315, 1937, 8863, 1140, 18, 542, 921, 1957, 12, 1937, 2224, 1769, 540, 380, 2245, 1305, 12, 2039, 1957, 1769, 4729, 67, 3417, 52, 12, 1937, 2224, 1769, 540, 1195, 3639, 727, 776, 81, 1305, 707, 273, 707, 1957, 18, 588, 12793, 22143, 1305, 5621, 3639, 727, 509, 3451, 273, 707, 18, 588, 4320, 5621, 3639, 727, 509, 20384, 1016, 273, 3451, 738, 1033, 3744, 18, 3445, 56, 67, 7096, 31, 3639, 727, 509, 1501, 8764, 1380, 273, 1056, 300, 404, 31, 3639, 727, 5287, 1158, 13535, 2224, 273, 394, 5287, 12, 2211, 18, 1397, 382, 701, 2224, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 3757, 67, 14407, 5831, 12, 22143, 9661, 45, 1305, 1957, 707, 1957, 16, 5411, 509, 1056, 13, 288, 3639, 368, 6241, 30, 1756, 358, 578, 84, 17, 4060, 3639, 19510, 18, 6206, 12, 73, 1042, 1769, 3639, 707, 1957, 18, 10828, 12, 6714, 1769, 3639, 1748, 540, 380, 309, 16051, 2039, 1957, 18, 588, 9661, 797, 7675, 291, 12793, 10756, 288, 5287, 787, 797, 2224, 273, 540, 380, 394, 5287, 12, 2211, 18, 1397, 382, 701, 2224, 397, 315, 1937, 797, 8863, 540, 380, 1140, 18, 542, 921, 1957, 12, 1937, 797, 2224, 1769, 540, 380, 2245, 797, 12, 2039, 1957, 18, 588, 9661, 797, 10663, 4729, 67, 3417, 52, 12, 1937, 797, 2224, 1769, 2 ]
public static User authenticate(Credentials c)
public boolean authenticate(Credentials c)
public static User authenticate(Credentials c) throws BackendException { log.finer("authenticate(Credentials c)"); // Validate credentials. if (c.getType() != Credentials.PASSWORD) { log.severe("Unsupported credentials"); throw new BackendException("Unsupported credentials"); } String username = (String)c.getIdentifier(); String password = (String)c.getCredentials(); // Sanity check. if ( (username == null) || (password == null) || (username.length() == 0) || (password.length() == 0) ) return null; // Get and verify some properties. String keyStore = System.getProperty("no.feide.moria.backend.ldap.keystore"); if (keyStore != null) { log.config("Key store is "+keyStore); System.setProperty("javax.net.ssl.keyStore", keyStore); } String keyStorePassword = System.getProperty("no.feide.moria.backend.ldap.keystorePassword"); if (keyStorePassword != null) System.setProperty("javax.net.ssl.keyStorePassword", keyStorePassword); String trustStore = System.getProperty("no.feide.moria.backend.ldap.trustStore"); if (trustStore != null) { log.config("Trust store is "+trustStore); System.setProperty("javax.net.ssl.trustStore", trustStore); } String trustStorePassword = System.getProperty("no.feide.moria.backend.ldap.trustStorePassword"); if (trustStorePassword != null) System.setProperty("javax.net.ssl.trustStorePassword", trustStorePassword); String usernameAttribute = System.getProperty("no.feide.moria.backend.ldap.usernameAttribute"); if (usernameAttribute == null) throw new BackendException("Required property no.feide.moria.backend.ldap.usernameAttribute not set"); log.config("User name attribute is "+usernameAttribute); String ldapURL = System.getProperty("no.feide.moria.backend.ldap.url"); if (ldapURL == null) throw new BackendException("Required property no.feide.moria.backend.ldap.url not set"); log.config("LDAP URL is "+ldapURL); Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); try { // Prepare LDAP context and look up user element. Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); env.put(Context.PROVIDER_URL, ldapURL); env.put(Context.REFERRAL, "throw"); // To catch referrals. InitialLdapContext ldap = new InitialLdapContext(env, null); log.config("Connected to "+env.get(Context.PROVIDER_URL)); ldap.addToEnvironment(Context.SECURITY_PRINCIPAL, ""); ldap.addToEnvironment(Context.SECURITY_CREDENTIALS, ""); String rdn = ldapSearch(ldap, usernameAttribute+'='+username); if (rdn == null) { // No user element found. log.fine("No subtree match for "+usernameAttribute+'='+username+" on "+ldap.getEnvironment().get(Context.PROVIDER_URL)); return null; } log.fine("Found element at "+rdn+" on "+ldap.getEnvironment().get(Context.PROVIDER_URL)); // Authenticate. ldap.addToEnvironment(Context.SECURITY_AUTHENTICATION, "simple"); ldap.addToEnvironment(Context.SECURITY_PRINCIPAL, rdn+','+ldap.getNameInNamespace()); ldap.addToEnvironment(Context.SECURITY_CREDENTIALS, password); try { ldap.reconnect(null); log.fine("Authenticated as "+rdn+" on "+ldap.getEnvironment().get(Context.PROVIDER_URL)); return new User(ldap, rdn); // Success. } catch (AuthenticationException e) { log.fine("Failed to authenticate as "+rdn+" on "+ldap.getEnvironment().get(Context.PROVIDER_URL)); return null; // Failure. } } catch (NamingException e) { log.severe("NamingException caught and re-thrown as BackendException"); throw new BackendException(e); } }
1637 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1637/adc592ecd29e68c53949d99c5901db2edc9daf32/User.java/clean/moria/src/no/feide/moria/User.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 8929, 12, 6163, 276, 13, 565, 1216, 11736, 503, 288, 3639, 613, 18, 926, 264, 2932, 22035, 12, 6163, 276, 2225, 1769, 7734, 368, 3554, 4448, 18, 3639, 309, 261, 71, 18, 588, 559, 1435, 480, 14582, 18, 13784, 13, 288, 5411, 613, 18, 307, 502, 73, 2932, 8544, 4448, 8863, 5411, 604, 394, 11736, 503, 2932, 8544, 4448, 8863, 3639, 289, 3639, 514, 2718, 273, 261, 780, 13, 71, 18, 588, 3004, 5621, 3639, 514, 2201, 273, 261, 780, 13, 71, 18, 588, 6163, 5621, 7734, 368, 23123, 866, 18, 3639, 309, 261, 261, 5053, 422, 446, 13, 747, 261, 3664, 422, 446, 13, 747, 2398, 261, 5053, 18, 2469, 1435, 422, 374, 13, 747, 261, 3664, 18, 2469, 1435, 422, 374, 13, 262, 5411, 327, 446, 31, 7734, 368, 968, 471, 3929, 2690, 1790, 18, 3639, 514, 17901, 273, 2332, 18, 588, 1396, 2932, 2135, 18, 3030, 831, 18, 81, 280, 1155, 18, 9993, 18, 14394, 18, 856, 2233, 8863, 3639, 309, 261, 856, 2257, 480, 446, 13, 288, 5411, 613, 18, 1425, 2932, 653, 1707, 353, 13773, 856, 2257, 1769, 5411, 2332, 18, 542, 1396, 2932, 28384, 18, 2758, 18, 8157, 18, 856, 2257, 3113, 17901, 1769, 3639, 289, 3639, 514, 17901, 3913, 273, 2332, 18, 588, 1396, 2932, 2135, 18, 3030, 831, 18, 81, 280, 1155, 18, 9993, 18, 14394, 18, 856, 2233, 3913, 8863, 3639, 309, 261, 856, 2257, 3913, 480, 446, 13, 7734, 2332, 18, 542, 1396, 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, 1071, 1250, 8929, 12, 6163, 276, 13, 565, 1216, 11736, 503, 288, 3639, 613, 18, 926, 264, 2932, 22035, 12, 6163, 276, 2225, 1769, 7734, 368, 3554, 4448, 18, 3639, 309, 261, 71, 18, 588, 559, 1435, 480, 14582, 18, 13784, 13, 288, 5411, 613, 18, 307, 502, 73, 2932, 8544, 4448, 8863, 5411, 604, 394, 11736, 503, 2932, 8544, 4448, 8863, 3639, 289, 3639, 514, 2718, 273, 261, 780, 13, 71, 18, 588, 3004, 5621, 3639, 514, 2201, 273, 261, 780, 13, 71, 18, 588, 6163, 5621, 7734, 368, 23123, 866, 18, 3639, 309, 261, 261, 5053, 422, 446, 13, 747, 261, 3664, 422, 446, 13, 747, 2398, 261, 5053, 18, 2469, 1435, 422, 374, 13, 747, 2 ]
throw new Error("java.awt.MenuItem: not implemented");
this.label = label;
public MenuItem (String label) { throw new Error("java.awt.MenuItem: not implemented"); }
1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/42de8277e53eabea04a48598c12ed6d488412a7b/MenuItem.java/buggy/libjava/java/awt/MenuItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 25085, 261, 780, 1433, 13, 225, 288, 565, 333, 18, 1925, 273, 1433, 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 ]
[ 1, 1, 1, 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, 282, 1071, 25085, 261, 780, 1433, 13, 225, 288, 565, 333, 18, 1925, 273, 1433, 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 ]
.getValue());
.getValue());
public void testReadingReport222() throws Exception { int bugid = 2; // TaskRepository repository = new // TaskRepository(BugzillaPlugin.REPOSITORY_KIND, // IBugzillaConstants.TEST_BUGZILLA_222_URL); // // RepositoryTaskData report = new RepositoryTaskData(attributeFactory, // BugzillaPlugin.REPOSITORY_KIND, repository.getUrl(), bugid); // BugzillaRepositoryUtil.setupExistingBugAttributes(repository.getUrl(), // report); // factory.populateReport(report, repository.getUrl(), null, // repository.getUserName(), repository.getPassword(), null); RepositoryTaskData report = init(IBugzillaConstants.TEST_BUGZILLA_222_URL, bugid); assertNotNull(report); assertEquals("search-match-test 1", report.getAttribute(BugzillaReportElement.SHORT_DESC.getKeyString()) .getValue()); assertEquals("search-match-test 1", report.getSummary()); assertEquals("search-match-test 1", report.getDescription()); assertEquals("TestProduct", report.getAttribute(BugzillaReportElement.PRODUCT.getKeyString()).getValue()); assertEquals("TestProduct", report.getProduct()); assertEquals("TestComponent", report.getAttribute(BugzillaReportElement.COMPONENT.getKeyString()).getValue()); assertEquals("PC", report.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString()).getValue()); assertEquals("Windows", report.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue()); assertEquals("other", report.getAttribute(BugzillaReportElement.VERSION.getKeyString()).getValue()); assertEquals("P1", report.getAttribute(BugzillaReportElement.PRIORITY.getKeyString()).getValue()); assertEquals("normal", report.getAttribute(BugzillaReportElement.BUG_SEVERITY.getKeyString()).getValue()); assertEquals("" + bugid, report.getAttribute(BugzillaReportElement.BUG_ID.getKeyString()).getValue()); assertEquals("NEW", report.getAttribute(BugzillaReportElement.BUG_STATUS.getKeyString()).getValue()); assertEquals("2006-05-23 17:46", report.getAttribute(BugzillaReportElement.CREATION_TS.getKeyString()) .getValue()); assertEquals("2006-06-15 12:55:43", report.getAttribute(BugzillaReportElement.DELTA_TS.getKeyString()) .getValue()); assertEquals("---", report.getAttribute(BugzillaReportElement.TARGET_MILESTONE.getKeyString()).getValue()); assertEquals("relves@cs.ubc.ca", report.getAttribute(BugzillaReportElement.REPORTER.getKeyString()).getValue()); assertEquals("nhapke@cs.ubc.ca", report.getAttribute(BugzillaReportElement.ASSIGNED_TO.getKeyString()) .getValue()); assertEquals(3, report.getComments().size()); assertEquals("relves@cs.ubc.ca", report.getComments().get(0).getAttribute( BugzillaReportElement.WHO.getKeyString()).getValue()); assertEquals("2006-05-23 17:46:24", report.getComments().get(0).getAttribute( BugzillaReportElement.BUG_WHEN.getKeyString()).getValue()); assertEquals("search-match-test 1", report.getComments().get(0).getAttribute( BugzillaReportElement.THETEXT.getKeyString()).getValue()); assertEquals(0, report.getAttachments().size()); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/fc5f7c9fb68f9ce217976cd7477a47d3a7cdaf92/RepositoryReportFactoryTest.java/buggy/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryReportFactoryTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 15714, 4820, 28855, 1435, 1216, 1185, 288, 202, 202, 474, 7934, 350, 273, 576, 31, 202, 202, 759, 3837, 3305, 3352, 273, 394, 202, 202, 759, 3837, 3305, 12, 19865, 15990, 3773, 18, 862, 30986, 67, 47, 2356, 16, 202, 202, 759, 467, 19865, 15990, 2918, 18, 16961, 67, 4827, 62, 2627, 2534, 67, 28855, 67, 1785, 1769, 202, 202, 759, 202, 202, 759, 6281, 2174, 751, 2605, 273, 394, 6281, 2174, 751, 12, 4589, 1733, 16, 202, 202, 759, 16907, 15990, 3773, 18, 862, 30986, 67, 47, 2356, 16, 3352, 18, 588, 1489, 9334, 7934, 350, 1769, 202, 202, 759, 16907, 15990, 3305, 1304, 18, 8401, 9895, 19865, 2498, 12, 9071, 18, 588, 1489, 9334, 202, 202, 759, 2605, 1769, 202, 202, 759, 3272, 18, 19936, 4820, 12, 6006, 16, 3352, 18, 588, 1489, 9334, 446, 16, 202, 202, 759, 3352, 18, 588, 15296, 9334, 3352, 18, 588, 3913, 9334, 446, 1769, 202, 202, 3305, 2174, 751, 2605, 273, 1208, 12, 13450, 637, 15990, 2918, 18, 16961, 67, 4827, 62, 2627, 2534, 67, 28855, 67, 1785, 16, 7934, 350, 1769, 202, 202, 11231, 5962, 12, 6006, 1769, 202, 202, 11231, 8867, 2932, 3072, 17, 1916, 17, 3813, 404, 3113, 2605, 18, 588, 1499, 12, 19865, 15990, 4820, 1046, 18, 15993, 67, 10964, 18, 588, 653, 780, 10756, 9506, 202, 18, 24805, 10663, 202, 202, 11231, 8867, 2932, 3072, 17, 1916, 17, 3813, 404, 3113, 2605, 18, 588, 4733, 10663, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 15714, 4820, 28855, 1435, 1216, 1185, 288, 202, 202, 474, 7934, 350, 273, 576, 31, 202, 202, 759, 3837, 3305, 3352, 273, 394, 202, 202, 759, 3837, 3305, 12, 19865, 15990, 3773, 18, 862, 30986, 67, 47, 2356, 16, 202, 202, 759, 467, 19865, 15990, 2918, 18, 16961, 67, 4827, 62, 2627, 2534, 67, 28855, 67, 1785, 1769, 202, 202, 759, 202, 202, 759, 6281, 2174, 751, 2605, 273, 394, 6281, 2174, 751, 12, 4589, 1733, 16, 202, 202, 759, 16907, 15990, 3773, 18, 862, 30986, 67, 47, 2356, 16, 3352, 18, 588, 1489, 9334, 7934, 350, 1769, 202, 202, 759, 16907, 15990, 3305, 1304, 18, 8401, 9895, 19865, 2498, 12, 9071, 18, 588, 2 ]
Utils.resolvePhases( LocalTransportReceiver.CONFIG_CONTEXT.getAxisConfiguration(), service);
protected void setUp() throws Exception { AxisConfiguration config = new AxisConfiguration(); TransportInDescription tIn = new TransportInDescription(new QName(Constants.TRANSPORT_LOCAL)); config.addTransportIn(tIn); tOut = new TransportOutDescription(new QName(Constants.TRANSPORT_LOCAL)); tOut.setSender(new LocalTransportSender()); config.addTransportOut(tOut); LocalTransportReceiver.CONFIG_CONTEXT = new ConfigurationContext( config); AxisService service = new AxisService(serviceName); service.addParameter( new ParameterImpl(AbstractMessageReceiver.SERVICE_CLASS, MessageContextEnabledEcho.class.getName())); AxisOperation axisOperation = new InOnlyAxisOperation( operationName); axisOperation.setMessageReceiver(new RawXMLINOnlyMessageReceiver()); service.addOperation(axisOperation); service.setClassLoader(Thread.currentThread().getContextClassLoader()); LocalTransportReceiver.CONFIG_CONTEXT.getAxisConfiguration() .addService(service); Utils.resolvePhases( LocalTransportReceiver.CONFIG_CONTEXT.getAxisConfiguration(), service); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/151548896fee93e5fea7d23a8aa6898faf39fa41/MessageContextInjectionTest.java/clean/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 1216, 1185, 288, 3639, 15509, 1750, 642, 273, 394, 15509, 1750, 5621, 3639, 9514, 382, 3291, 268, 382, 273, 394, 9514, 382, 3291, 12, 2704, 16723, 12, 2918, 18, 8989, 31943, 67, 14922, 10019, 3639, 642, 18, 1289, 6568, 382, 12, 88, 382, 1769, 3639, 268, 1182, 273, 394, 9514, 1182, 3291, 12, 2704, 16723, 12, 2918, 18, 8989, 31943, 67, 14922, 10019, 3639, 268, 1182, 18, 542, 12021, 12, 2704, 3566, 6568, 12021, 10663, 3639, 642, 18, 1289, 6568, 1182, 12, 88, 1182, 1769, 3639, 3566, 6568, 12952, 18, 7203, 67, 13181, 273, 394, 4659, 1042, 12, 7734, 642, 1769, 3639, 15509, 1179, 1156, 273, 394, 15509, 1179, 12, 15423, 1769, 3639, 1156, 18, 1289, 1662, 12, 7734, 394, 5498, 2828, 12, 7469, 1079, 12952, 18, 12426, 67, 5237, 16, 13491, 2350, 1042, 1526, 19704, 18, 1106, 18, 17994, 1435, 10019, 3639, 15509, 2988, 2654, 2988, 273, 394, 657, 3386, 6558, 2988, 12, 7734, 22697, 1769, 3639, 2654, 2988, 18, 542, 1079, 12952, 12, 2704, 6576, 4201, 706, 3386, 1079, 12952, 10663, 3639, 1156, 18, 1289, 2988, 12, 4890, 2988, 1769, 3639, 1156, 18, 542, 7805, 12, 3830, 18, 2972, 3830, 7675, 29120, 7805, 10663, 3639, 3566, 6568, 12952, 18, 7203, 67, 13181, 18, 588, 6558, 1750, 1435, 7734, 263, 1289, 1179, 12, 3278, 1769, 3639, 6091, 18, 10828, 3731, 3304, 12, 7734, 3566, 6568, 12952, 18, 7203, 67, 13181, 18, 588, 6558, 1750, 9334, 7734, 1156, 1769, 565, 289, 2, 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, 1, 1, 1, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 1216, 1185, 288, 3639, 15509, 1750, 642, 273, 394, 15509, 1750, 5621, 3639, 9514, 382, 3291, 268, 382, 273, 394, 9514, 382, 3291, 12, 2704, 16723, 12, 2918, 18, 8989, 31943, 67, 14922, 10019, 3639, 642, 18, 1289, 6568, 382, 12, 88, 382, 1769, 3639, 268, 1182, 273, 394, 9514, 1182, 3291, 12, 2704, 16723, 12, 2918, 18, 8989, 31943, 67, 14922, 10019, 3639, 268, 1182, 18, 542, 12021, 12, 2704, 3566, 6568, 12021, 10663, 3639, 642, 18, 1289, 6568, 1182, 12, 88, 1182, 1769, 3639, 3566, 6568, 12952, 18, 7203, 67, 13181, 273, 394, 4659, 1042, 12, 7734, 642, 1769, 3639, 15509, 1179, 1156, 273, 394, 15509, 1179, 12, 15423, 1769, 3639, 1156, 2 ]
reportSchemaError ("Con3X3AttributeAppearance", new Object[] {elName, attrName});
reportSchemaError ("s4s-att-not-allowed", new Object[] {elName, attrName});
public Object[] checkAttributes(Element element, boolean isGlobal, XSDocumentInfo schemaDoc) { if (element == null) return null; // update NamespaceSupport resolveNamespace(element, schemaDoc.fNamespaceSupport); String uri = DOMUtil.getNamespaceURI(element); String elName = DOMUtil.getLocalName(element); if (uri == null || !uri.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA)) { reportSchemaError("Con3X3ElementSchemaURI", new Object[] {elName}); } // Get the proper registry: Hashtable eleAttrsMap = null; if (isGlobal) { eleAttrsMap = fEleAttrsMapG; } else { if (DOMUtil.getAttr(element, SchemaSymbols.ATT_REF) != null) eleAttrsMap = fEleAttrsMapR; else eleAttrsMap = fEleAttrsMapN; } // get desired attribute list of this element OneElement oneEle = (OneElement)eleAttrsMap.get(elName); if (oneEle == null) { reportSchemaError ("Con3X3ElementAppearance", new Object[] {elName}); return null; } //Hashtable attrValues = new Hashtable(); Object[] attrValues = getAvailableArray(); //Hashtable otherValues = new Hashtable(); long fromDefault = 0; Hashtable attrList = oneEle.attrList; // traverse all attributes Attr[] attrs = DOMUtil.getAttrs(element); Attr sattr = null; for (int i = 0; i < attrs.length; i++) { sattr = attrs[i]; // get the attribute name/value //String attrName = DOMUtil.getLocalName(sattr); String attrName = sattr.getName(); String attrVal = DOMUtil.getValue(sattr); // skip anything starts with x/X m/M l/L // simply put their values in the return hashtable if (attrName.toLowerCase().startsWith("xml")) { //attrValues.put(attrName, attrVal); //otherValues.put(attrName, attrVal); continue; } // for attributes with namespace prefix // String attrURI = DOMUtil.getNamespaceURI(sattr); if (attrURI != null && attrURI.length() != 0) { // attributes with schema namespace are not allowed // and not allowed on "document" and "appInfo" if (attrURI.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA) || !oneEle.allowNonSchemaAttr) { reportSchemaError ("Con3X3AttributeAppearance", new Object[] {elName, attrName}); } else { // for attributes from other namespace // store them in a list, and TRY to validate them after // schema traversal (because it's "lax") //otherValues.put(attrName, attrVal); String attrRName = attrURI + "," + attrName; Vector values = (Vector)fNonSchemaAttrs.get(attrRName); if (values == null) { values = new Vector(); values.addElement(attrName); values.addElement(elName); values.addElement(attrVal); fNonSchemaAttrs.put(attrRName, values); } else { values.addElement(elName); values.addElement(attrVal); } } continue; } // check whether this attribute is allowed OneAttr oneAttr = (OneAttr)attrList.get(attrName); if (oneAttr == null) { reportSchemaError ("Con3X3AttributeAppearance", new Object[] {elName, attrName}); continue; } // check the value against the datatype try { Object retValue = null; // no checking on string needs to be done here. // no checking on xpath needs to be done here. // xpath values are validated in xpath parser if (oneAttr.dvIndex >= 0) { if (oneAttr.dvIndex != DT_STRING && oneAttr.dvIndex != DT_XPATH && oneAttr.dvIndex != DT_XPATH1) { DatatypeValidator dv = fExtraDVs[oneAttr.dvIndex]; if (dv instanceof IDDatatypeValidator) { retValue = dv.validate(attrVal, schemaDoc.fIdDefs); } else { retValue = dv.validate(attrVal, null); } } // REVISIT: should have the datatype validators return // the object representation of the value. switch (oneAttr.dvIndex) { case DT_QNAME: retValue = resolveQName(attrVal, schemaDoc.fNamespaceSupport); break; default: retValue = attrVal; break; } //attrValues.put(attrName, retValue); attrValues[oneAttr.valueIndex] = retValue; } else { retValue = validate(attrName, attrVal, oneAttr.dvIndex, schemaDoc); //attrValues.put(attrName, retValue); attrValues[oneAttr.valueIndex] = retValue; } } catch (InvalidDatatypeValueException ide) { reportSchemaError ("Con3X3AttributeInvalidValue", new Object[] {elName, attrName, ide.getLocalizedMessage()}); if (oneAttr.dfltValue != null) //attrValues.put(attrName, oneAttr.dfltValue); attrValues[oneAttr.valueIndex] = oneAttr.dfltValue; fromDefault |= (1<<oneAttr.valueIndex); } } // traverse all required attributes OneAttr[] reqAttrs = oneEle.attrArray; for (int i = 0; i < reqAttrs.length; i++) { OneAttr oneAttr = reqAttrs[i]; // if the attribute didn't apprear, and // if the attribute is optional with default value, apply it if (oneAttr.dfltValue != null && DOMUtil.getAttr(element, oneAttr.name) == null) { //attrValues.put(oneAttr.name, oneAttr.dfltValue); attrValues[oneAttr.valueIndex] = oneAttr.dfltValue; fromDefault |= (1<<oneAttr.valueIndex); } } attrValues[ATTIDX_FROMDEFAULT] = new Long(fromDefault); //attrValues[ATTIDX_OTHERVALUES] = otherValues; // Check that minOccurs isn't greater than maxOccurs. // p-props-correct 2.1 if (attrValues[ATTIDX_MAXOCCURS] != null) { int min = ((XInt)attrValues[ATTIDX_MINOCCURS]).intValue(); int max = ((XInt)attrValues[ATTIDX_MAXOCCURS]).intValue(); if (max != SchemaSymbols.OCCURRENCE_UNBOUNDED) { if (min > max) { reportSchemaError ("p-props-correct:2.1 Value of minOccurs '" + attrValues[ATTIDX_MINOCCURS] + "' must not be greater than value of maxOccurs '" + attrValues[ATTIDX_MAXOCCURS] +"'", new Object[] {elName, attrValues[ATTIDX_MINOCCURS], attrValues[ATTIDX_MAXOCCURS]}); } if (((XInt)attrValues[ATTIDX_MAXOCCURS]).intValue() < 1) { reportSchemaError("p-props-correct:2.2 Value of maxOccurs " + attrValues[ATTIDX_MAXOCCURS] + " is invalid. It must be greater than or equal to 1", new Object[] {elName, attrValues[ATTIDX_MAXOCCURS]}); } } } return attrValues; }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/f8e12b094f6f81289db21526d1dc3a9b36772e7b/XSAttributeChecker.java/clean/src/org/apache/xerces/impl/v2/XSAttributeChecker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 8526, 866, 2498, 12, 1046, 930, 16, 1250, 353, 5160, 16, 4766, 565, 1139, 55, 2519, 966, 1963, 1759, 13, 288, 3639, 309, 261, 2956, 422, 446, 13, 5411, 327, 446, 31, 3639, 368, 1089, 6005, 6289, 3639, 2245, 3402, 12, 2956, 16, 1963, 1759, 18, 74, 3402, 6289, 1769, 3639, 514, 2003, 273, 4703, 1304, 18, 588, 3402, 3098, 12, 2956, 1769, 3639, 514, 415, 461, 273, 4703, 1304, 18, 588, 29583, 12, 2956, 1769, 3639, 309, 261, 1650, 422, 446, 747, 401, 1650, 18, 14963, 12, 3078, 14821, 18, 3098, 67, 55, 10390, 6799, 14006, 11355, 3719, 288, 5411, 2605, 3078, 668, 2932, 442, 23, 60, 23, 1046, 3078, 3098, 3113, 394, 1033, 8526, 288, 292, 461, 22938, 3639, 289, 3639, 368, 968, 326, 5338, 4023, 30, 3639, 18559, 5043, 8262, 863, 273, 446, 31, 3639, 309, 261, 291, 5160, 13, 288, 5411, 5043, 8262, 863, 273, 284, 17274, 8262, 863, 43, 31, 3639, 289, 3639, 469, 288, 5411, 309, 261, 8168, 1304, 18, 588, 3843, 12, 2956, 16, 4611, 14821, 18, 789, 56, 67, 10771, 13, 480, 446, 13, 7734, 5043, 8262, 863, 273, 284, 17274, 8262, 863, 54, 31, 5411, 469, 7734, 5043, 8262, 863, 273, 284, 17274, 8262, 863, 50, 31, 3639, 289, 3639, 368, 336, 6049, 1566, 666, 434, 333, 930, 3639, 6942, 1046, 1245, 17274, 273, 261, 3335, 1046, 13, 6516, 8262, 863, 18, 588, 12, 292, 461, 1769, 3639, 309, 261, 476, 17274, 422, 446, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 8526, 866, 2498, 12, 1046, 930, 16, 1250, 353, 5160, 16, 4766, 565, 1139, 55, 2519, 966, 1963, 1759, 13, 288, 3639, 309, 261, 2956, 422, 446, 13, 5411, 327, 446, 31, 3639, 368, 1089, 6005, 6289, 3639, 2245, 3402, 12, 2956, 16, 1963, 1759, 18, 74, 3402, 6289, 1769, 3639, 514, 2003, 273, 4703, 1304, 18, 588, 3402, 3098, 12, 2956, 1769, 3639, 514, 415, 461, 273, 4703, 1304, 18, 588, 29583, 12, 2956, 1769, 3639, 309, 261, 1650, 422, 446, 747, 401, 1650, 18, 14963, 12, 3078, 14821, 18, 3098, 67, 55, 10390, 6799, 14006, 11355, 3719, 288, 5411, 2605, 3078, 668, 2932, 442, 23, 60, 23, 1046, 3078, 3098, 3113, 394, 1033, 8526, 2 ]
Hash us = _context.routerHash();
Hash us = getContext().routerHash();
private void testOutbound(TunnelInfo info) { if (_log.shouldLog(Log.DEBUG)) _log.debug("Testing outbound tunnel " + info); DeliveryStatusMessage msg = new DeliveryStatusMessage(_context); msg.setArrival(new Date(_context.clock().now())); msg.setMessageId(_nonce); Hash us = _context.routerHash(); _secondaryId = getReplyTunnel(); if (_secondaryId == null) { _context.jobQueue().addJob(new TestFailedJob()); return; } TunnelInfo inboundInfo = _pool.getTunnelInfo(_secondaryId); inboundInfo.setLastTested(_context.clock().now()); TestFailedJob failureJob = new TestFailedJob(); MessageSelector selector = new TestMessageSelector(msg.getMessageId(), info.getTunnelId().getTunnelId()); SendTunnelMessageJob testJob = new SendTunnelMessageJob(_context, msg, info.getTunnelId(), us, _secondaryId, null, new TestSuccessfulJob(), failureJob, selector, TEST_TIMEOUT, TEST_PRIORITY); _context.jobQueue().addJob(testJob); }
27437 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27437/e737e5c9507ed0d463dc9e45a8f63657f466b177/TestTunnelJob.java/buggy/router/java/src/net/i2p/router/tunnelmanager/TestTunnelJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1842, 17873, 12, 20329, 966, 1123, 13, 288, 3639, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 5411, 389, 1330, 18, 4148, 2932, 22218, 11663, 14825, 315, 397, 1123, 1769, 3639, 17390, 1482, 1079, 1234, 273, 394, 17390, 1482, 1079, 24899, 2472, 1769, 3639, 1234, 18, 542, 5715, 5162, 12, 2704, 2167, 24899, 2472, 18, 18517, 7675, 3338, 1435, 10019, 3639, 1234, 18, 542, 30550, 24899, 12824, 1769, 3639, 2474, 584, 273, 6474, 7675, 10717, 2310, 5621, 3639, 389, 19674, 548, 273, 5561, 1283, 20329, 5621, 3639, 309, 261, 67, 19674, 548, 422, 446, 13, 288, 5411, 389, 2472, 18, 4688, 3183, 7675, 1289, 2278, 12, 2704, 7766, 2925, 2278, 10663, 5411, 327, 31, 3639, 289, 7734, 399, 8564, 966, 13357, 966, 273, 389, 6011, 18, 588, 20329, 966, 24899, 19674, 548, 1769, 3639, 13357, 966, 18, 542, 3024, 56, 3149, 24899, 2472, 18, 18517, 7675, 3338, 10663, 7734, 7766, 2925, 2278, 5166, 2278, 273, 394, 7766, 2925, 2278, 5621, 3639, 2350, 4320, 3451, 273, 394, 7766, 1079, 4320, 12, 3576, 18, 24906, 548, 9334, 1123, 18, 588, 20329, 548, 7675, 588, 20329, 548, 10663, 3639, 2479, 20329, 1079, 2278, 1842, 2278, 273, 394, 2479, 20329, 1079, 2278, 24899, 2472, 16, 1234, 16, 1123, 18, 588, 20329, 548, 9334, 584, 16, 389, 19674, 548, 16, 446, 16, 394, 7766, 14277, 2278, 9334, 5166, 2278, 16, 3451, 16, 22130, 67, 9503, 16, 22130, 67, 19804, 1769, 3639, 389, 2472, 18, 4688, 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, 1842, 17873, 12, 20329, 966, 1123, 13, 288, 3639, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 5411, 389, 1330, 18, 4148, 2932, 22218, 11663, 14825, 315, 397, 1123, 1769, 3639, 17390, 1482, 1079, 1234, 273, 394, 17390, 1482, 1079, 24899, 2472, 1769, 3639, 1234, 18, 542, 5715, 5162, 12, 2704, 2167, 24899, 2472, 18, 18517, 7675, 3338, 1435, 10019, 3639, 1234, 18, 542, 30550, 24899, 12824, 1769, 3639, 2474, 584, 273, 6474, 7675, 10717, 2310, 5621, 3639, 389, 19674, 548, 273, 5561, 1283, 20329, 5621, 3639, 309, 261, 67, 19674, 548, 422, 446, 13, 288, 5411, 389, 2472, 18, 4688, 3183, 7675, 1289, 2278, 12, 2704, 7766, 2925, 2278, 10663, 5411, 2 ]
_dd.addDependencyConfiguration(_conf, attributes.getValue("name"));
_dd.addDependencyConfiguration(_conf, _ivy.substitute(attributes.getValue("name")));
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); if (versionIndex == -1) { addError("invalid version "+version); throw new SAXException("invalid version "+version); } if (versionIndex >= ALLOWED_VERSIONS.indexOf("1.3")) { Message.debug("post 1.3 ivy file: using "+PatternMatcher.EXACT+" as default matcher"); _defaultMatcher = _ivy.getMatcher(PatternMatcher.EXACT); } else { Message.debug("pre 1.3 ivy file: using "+PatternMatcher.EXACT_OR_REGEXP+" as default matcher"); _defaultMatcher = _ivy.getMatcher(PatternMatcher.EXACT_OR_REGEXP); } } else if ("info".equals(qName)) { _state = INFO; String org = _ivy.substitute(attributes.getValue("organisation")); String module = _ivy.substitute(attributes.getValue("module")); String revision = _ivy.substitute(attributes.getValue("revision")); _md.setModuleRevisionId(ModuleRevisionId.newInstance(org, module, revision)); String namespace = _ivy.substitute(attributes.getValue("namespace")); if (namespace != null) { Namespace ns = _ivy.getNamespace(namespace); if (ns == null) { Message.warn("namespace not found for "+_md.getModuleRevisionId()+": "+namespace); } else { _md.setNamespace(ns); } } String status = _ivy.substitute(attributes.getValue("status")); _md.setStatus(status == null ? Status.DEFAULT_STATUS : status); _md.setDefault(Boolean.valueOf(_ivy.substitute(attributes.getValue("default"))).booleanValue()); String pubDate = _ivy.substitute(attributes.getValue("publication")); if (pubDate != null && pubDate.length() > 0) { try { _md.setPublicationDate(Ivy.DATE_FORMAT.parse(pubDate)); } catch (ParseException e) { addError("invalid publication date format: "+pubDate); _md.setPublicationDate(getDefaultPubDate()); } } else { _md.setPublicationDate(getDefaultPubDate()); } } else if ("license".equals(qName)) { _md.addLicense(new License(attributes.getValue("name"), attributes.getValue("url"))); } else if ("description".equals(qName)) { _md.setHomePage(attributes.getValue("homepage")); } else if ("configurations".equals(qName)) { _state = CONF; setDefaultConfMapping(_ivy.substitute(attributes.getValue("defaultconfmapping"))); } else if ("publications".equals(qName)) { _state = PUB; _artifactsDeclared = true; checkConfigurations(); } else if ("dependencies".equals(qName)) { _state = DEP; String defaultConf = _ivy.substitute(attributes.getValue("defaultconf")); if (defaultConf != null) { setDefaultConf(defaultConf); } defaultConf = _ivy.substitute(attributes.getValue("defaultconfmapping")); if (defaultConf != null) { setDefaultConfMapping(defaultConf); } checkConfigurations(); } else if ("conflicts".equals(qName)) { _state = CONFLICT; checkConfigurations(); } else if ("artifact".equals(qName)) { if (_state == PUB) { // this is a published artifact String ext = attributes.getValue("ext"); ext = ext != null?ext:attributes.getValue("type"); _artifact = new MDArtifact(_md, attributes.getValue("name"), attributes.getValue("type"), ext); String confs = attributes.getValue("conf"); // only add confs if they are specified. if they aren't, endElement will handle this // only if there are no conf defined in sub elements if (confs != null && confs.length() > 0) { String[] conf; if ("*".equals(confs)) { conf = _md.getConfigurationsNames(); } else { conf = confs.split(","); } for (int i = 0; i < conf.length; i++) { _artifact.addConfiguration(conf[i].trim()); _md.addArtifact(conf[i].trim(), _artifact); } } } else if (_state == DEP) { // this is an artifact asked for a particular dependency addDependencyArtifactsIncludes(attributes); } else if (_validate) { addError("artifact tag found in invalid tag: "+_state); } } else if ("include".equals(qName) && _state == DEP) { addDependencyArtifactsIncludes(attributes); } else if ("exclude".equals(qName)) { addDependencyArtifactsExcludes(attributes); } else if ("dependency".equals(qName)) { String org = _ivy.substitute(attributes.getValue("org")); if (org == null) { org = _md.getModuleRevisionId().getOrganisation(); } boolean force = Boolean.valueOf(attributes.getValue("force")).booleanValue(); boolean changing = Boolean.valueOf(attributes.getValue("changing")).booleanValue(); String transitiveValue = attributes.getValue("transitive"); boolean transitive = (transitiveValue == null) ? true : Boolean.valueOf(attributes.getValue("transitive")).booleanValue(); String name = _ivy.substitute(attributes.getValue("name")); String rev = _ivy.substitute(attributes.getValue("rev")); _dd = new DefaultDependencyDescriptor(_md, ModuleRevisionId.newInstance(org, name, rev), force, changing, transitive); _md.addDependency(_dd); String confs = attributes.getValue("conf"); if (confs != null && confs.length() > 0) { parseDepsConfs(confs, _dd); } } else if ("conf".equals(qName)) { String conf = attributes.getValue("name"); switch (_state) { case CONF: String visibility = attributes.getValue("visibility"); String ext = attributes.getValue("extends"); _md.addConfiguration(new Configuration( conf, Configuration.Visibility.getVisibility(visibility == null ? "public":visibility), attributes.getValue("description"), ext==null?null:ext.split(","))); break; case PUB: if ("*".equals(conf)) { String[] confs = _md.getConfigurationsNames(); for (int i = 0; i < confs.length; i++) { _artifact.addConfiguration(confs[i]); _md.addArtifact(confs[i], _artifact); } } else { _artifact.addConfiguration(conf); _md.addArtifact(conf, _artifact); } break; case DEP: _conf = conf; String mappeds = attributes.getValue("mapped"); if (mappeds != null) { String[] mapped = mappeds.split(","); for (int i = 0; i < mapped.length; i++) { _dd.addDependencyConfiguration(_conf, mapped[i].trim()); } } break; case ARTIFACT_INCLUDE: case ARTIFACT_EXCLUDE: _dad.addConfiguration(conf); break; default: if (_validate) { addError("conf tag found in invalid tag: "+_state); } break; } } else if ("mapped".equals(qName)) { _dd.addDependencyConfiguration(_conf, attributes.getValue("name")); } else if ("manager".equals(qName) && _state == CONFLICT) { String org = _ivy.substitute(attributes.getValue("org")); org = org == null ? PatternMatcher.ANY_EXPRESSION : org; String mod = _ivy.substitute(attributes.getValue("module")); mod = mod == null ? PatternMatcher.ANY_EXPRESSION : mod; ConflictManager cm; String name = _ivy.substitute(attributes.getValue("name")); String rev = _ivy.substitute(attributes.getValue("rev")); if (rev != null) { String[] revs = rev.split(","); for (int i = 0; i < revs.length; i++) { revs[i] = revs[i].trim(); } cm = new FixedConflictManager(revs); } else if (name != null) { cm = _ivy.getConflictManager(name); if (cm == null) { addError("unknown conflict manager: "+name); return; } } else { addError("bad conflict manager: no name nor rev"); return; } String matcherName = attributes.getValue("matcher"); PatternMatcher matcher = matcherName == null ? _defaultMatcher : _ivy.getMatcher(matcherName); if (matcher == null) { addError("unknown matcher: "+matcherName); return; } _md.addConflictManager(new ModuleId(org, mod), matcher, cm); } else if ("import".equals(qName) || ("include".equals(qName) && _state == CONF)) { URL url; String fileName = _ivy.substitute(attributes.getValue("file")); if (fileName == null) { String urlStr = _ivy.substitute(attributes.getValue("url")); url = new URL(urlStr); } else { url = new File(fileName).toURL(); } // create a new temporary parser to read the configurations from // the specified file. Parser parser = new Parser(_ivy, false); parser._md = new DefaultModuleDescriptor(); XMLHelper.parse(url, null, parser); // add the configurations from this temporary parser to this module descriptor Configuration[] configs = parser.getModuleDescriptor().getConfigurations(); for (int i = 0; i < configs.length; i++) { _md.addConfiguration(configs[i]); } if (parser.getDefaultConfMapping() != null) { Message.debug("setting default conf from imported configurations file: "+parser.getDefaultConfMapping()); setDefaultConfMapping(parser.getDefaultConfMapping()); } } else if (_validate && _state != INFO) { addError("unknwon tag "+qName); } } catch (Exception ex) { if (ex instanceof SAXException) { throw (SAXException)ex; } throw new SAXException("problem occured while parsing ivy file. message: "+ex.getMessage(), ex); } }
2718 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2718/f002d335494301d96ad22c428126c7b3cf15e09b/XmlModuleDescriptorParser.java/buggy/src/java/fr/jayasoft/ivy/xml/XmlModuleDescriptorParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 2003, 16, 514, 11927, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 3639, 775, 288, 5411, 309, 7566, 427, 93, 17, 2978, 9654, 14963, 12, 85, 461, 3719, 288, 7734, 514, 1177, 273, 1677, 18, 24805, 2932, 1589, 8863, 7734, 509, 1177, 1016, 273, 18592, 2056, 67, 5757, 55, 18, 31806, 12, 1589, 1769, 7734, 309, 261, 1589, 1016, 422, 300, 21, 13, 288, 10792, 9501, 2932, 5387, 1177, 13773, 1589, 1769, 10792, 604, 394, 14366, 2932, 5387, 1177, 13773, 1589, 1769, 7734, 289, 7734, 309, 261, 1589, 1016, 1545, 18592, 2056, 67, 5757, 55, 18, 31806, 2932, 21, 18, 23, 6, 3719, 288, 10792, 2350, 18, 4148, 2932, 2767, 404, 18, 23, 4674, 93, 585, 30, 1450, 13773, 3234, 6286, 18, 2294, 6526, 9078, 487, 805, 4546, 8863, 10792, 389, 1886, 6286, 273, 389, 427, 93, 18, 588, 6286, 12, 3234, 6286, 18, 2294, 6526, 1769, 7734, 289, 469, 288, 10792, 2350, 18, 4148, 2932, 1484, 404, 18, 23, 4674, 93, 585, 30, 1450, 13773, 3234, 6286, 18, 2294, 6526, 67, 916, 67, 28225, 9078, 487, 805, 4546, 8863, 10792, 389, 1886, 6286, 273, 389, 427, 93, 18, 588, 6286, 12, 3234, 6286, 18, 2294, 6526, 67, 916, 67, 28225, 1769, 7734, 289, 5411, 289, 469, 309, 7566, 1376, 9654, 14963, 12, 85, 461, 3719, 288, 7734, 389, 2019, 273, 9286, 31, 7734, 514, 2358, 273, 389, 427, 93, 18, 1717, 17207, 12, 4350, 18, 24805, 2932, 22543, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 2003, 16, 514, 11927, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 3639, 775, 288, 5411, 309, 7566, 427, 93, 17, 2978, 9654, 14963, 12, 85, 461, 3719, 288, 7734, 514, 1177, 273, 1677, 18, 24805, 2932, 1589, 8863, 7734, 509, 1177, 1016, 273, 18592, 2056, 67, 5757, 55, 18, 31806, 12, 1589, 1769, 7734, 309, 261, 1589, 1016, 422, 300, 21, 13, 288, 10792, 9501, 2932, 5387, 1177, 13773, 1589, 1769, 10792, 604, 394, 14366, 2932, 5387, 1177, 13773, 1589, 1769, 7734, 289, 7734, 309, 261, 1589, 1016, 1545, 18592, 2056, 67, 5757, 55, 18, 31806, 2932, 21, 18, 23, 6, 3719, 288, 10792, 2350, 18, 4148, 2932, 2767, 404, 2 ]
member, paramTypes, args);
member, args);
static int findFunction(Member[] methodsOrCtors, Class[][] memberTypes, Object[] args) { if (methodsOrCtors.length == 0) { return -1; } else if (methodsOrCtors.length == 1) { Member member = methodsOrCtors[0]; Class paramTypes[] = memberTypes[0]; int plength = paramTypes.length; if (plength != args.length) { return -1; } for (int j = 0; j != plength; ++j) { if (!NativeJavaObject.canConvert(args[j], paramTypes[j])) { if (debug) printDebug("Rejecting (args can't convert) ", member, paramTypes, args); return -1; } } if (debug) printDebug("Found ", member, paramTypes, args); return 0; } boolean hasMethods = methodsOrCtors[0] instanceof Method; int bestFit = -1; Class[] bestFitTypes = null; int[] ambiguousMethods = null; int ambiguousMethodCount = 0; for (int i = 0; i < methodsOrCtors.length; i++) { Member member = methodsOrCtors[i]; Class paramTypes[] = memberTypes[i]; if (paramTypes.length != args.length) { continue; } if (bestFit < 0) { int j; for (j = 0; j < paramTypes.length; j++) { if (!NativeJavaObject.canConvert(args[j], paramTypes[j])) { if (debug) printDebug("Rejecting (args can't convert) ", member, paramTypes, args); break; } } if (j == paramTypes.length) { if (debug) printDebug("Found ", member, paramTypes, args); bestFit = i; bestFitTypes = paramTypes; } } else { int preference = preferSignature(args, paramTypes, bestFitTypes); if (preference == PREFERENCE_AMBIGUOUS) { if (debug) printDebug("Deferring ", member, paramTypes, args); // add to "ambiguity list" if (ambiguousMethods == null) ambiguousMethods = new int[methodsOrCtors.length]; ambiguousMethods[ambiguousMethodCount++] = i; } else if (preference == PREFERENCE_FIRST_ARG) { if (debug) printDebug("Substituting ", member, paramTypes, args); bestFit = i; bestFitTypes = paramTypes; } else if (preference == PREFERENCE_SECOND_ARG) { if (debug) printDebug("Rejecting ", member, paramTypes, args); } else { if (preference != PREFERENCE_EQUAL) Context.codeBug(); Member best = methodsOrCtors[bestFit]; if (Modifier.isStatic(best.getModifiers()) && best.getDeclaringClass().isAssignableFrom( member.getDeclaringClass())) { // On some JVMs, Class.getMethods will return all // static methods of the class heirarchy, even if // a derived class's parameters match exactly. // We want to call the dervied class's method. if (debug) printDebug( "Substituting (overridden static)", member, paramTypes, args); bestFit = i; bestFitTypes = paramTypes; } else { if (debug) printDebug( "Ignoring same signature member ", member, paramTypes, args); } } } } if (ambiguousMethodCount == 0) return bestFit; // Compare ambiguous methods with best fit, in case // the current best fit removes the ambiguities. int removedCount = 0; for (int k = 0; k != ambiguousMethodCount; ++k) { int i = ambiguousMethods[k]; Member member = methodsOrCtors[i]; Class paramTypes[] = memberTypes[i]; int preference = preferSignature(args, paramTypes, bestFitTypes); if (preference == PREFERENCE_FIRST_ARG) { if (debug) printDebug("Substituting ", member, paramTypes, args); bestFit = i; bestFitTypes = paramTypes; ambiguousMethods[k] = -1; ++removedCount; } else if (preference == PREFERENCE_SECOND_ARG) { if (debug) printDebug("Rejecting ", member, paramTypes, args); ambiguousMethods[k] = -1; ++removedCount; } else { if (debug) printDebug("UNRESOLVED: ", member, paramTypes, args); } } if (removedCount == ambiguousMethodCount) { return bestFit; } // PENDING: report remaining ambiguity StringBuffer buf = new StringBuffer(); ambiguousMethods[ambiguousMethodCount++] = bestFit; boolean first = true; for (int k = 0; k < ambiguousMethodCount; k++) { int i = ambiguousMethods[k]; if (i < 0) { continue; } if (!first) { buf.append(", "); } Member member = methodsOrCtors[i]; if (hasMethods) { Method method = (Method)member; Class rtnType = method.getReturnType(); buf.append(rtnType); buf.append(' '); } buf.append(memberSignature(member, memberTypes[i])); first = false; } Member best = methodsOrCtors[bestFit]; if (!hasMethods) { throw Context.reportRuntimeError3( "msg.constructor.ambiguous", best.getName(), scriptSignature(args), buf.toString()); } else { throw Context.reportRuntimeError4( "msg.method.ambiguous", best.getDeclaringClass().getName(), best.getName(), scriptSignature(args), buf.toString()); } }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/004397fe5ef540e453f60552849d0320b106ace4/NativeJavaMethod.java/buggy/js/rhino/src/org/mozilla/javascript/NativeJavaMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 509, 1104, 2083, 12, 4419, 8526, 2590, 1162, 39, 88, 1383, 16, 1659, 63, 6362, 65, 3140, 2016, 16, 18701, 1033, 8526, 833, 13, 565, 288, 3639, 309, 261, 5163, 1162, 39, 88, 1383, 18, 2469, 422, 374, 13, 288, 5411, 327, 300, 21, 31, 3639, 289, 469, 309, 261, 5163, 1162, 39, 88, 1383, 18, 2469, 422, 404, 13, 288, 5411, 8596, 3140, 273, 2590, 1162, 39, 88, 1383, 63, 20, 15533, 5411, 1659, 21265, 8526, 273, 3140, 2016, 63, 20, 15533, 5411, 509, 886, 1288, 273, 21265, 18, 2469, 31, 5411, 309, 261, 412, 1288, 480, 833, 18, 2469, 13, 288, 7734, 327, 300, 21, 31, 5411, 289, 5411, 364, 261, 474, 525, 273, 374, 31, 525, 480, 886, 1288, 31, 965, 78, 13, 288, 7734, 309, 16051, 9220, 5852, 921, 18, 4169, 2723, 12, 1968, 63, 78, 6487, 21265, 63, 78, 22643, 288, 10792, 309, 261, 4148, 13, 1172, 2829, 2932, 21705, 310, 261, 1968, 848, 1404, 1765, 13, 3104, 4766, 1850, 3140, 16, 833, 1769, 10792, 327, 300, 21, 31, 7734, 289, 5411, 289, 5411, 309, 261, 4148, 13, 1172, 2829, 2932, 2043, 3104, 3140, 16, 833, 1769, 5411, 327, 374, 31, 3639, 289, 3639, 1250, 711, 4712, 273, 2590, 1162, 39, 88, 1383, 63, 20, 65, 1276, 2985, 31, 3639, 509, 3796, 14219, 273, 300, 21, 31, 3639, 1659, 8526, 3796, 14219, 2016, 273, 446, 31, 3639, 509, 8526, 20399, 4712, 273, 446, 31, 3639, 509, 20399, 1305, 1380, 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, 760, 509, 1104, 2083, 12, 4419, 8526, 2590, 1162, 39, 88, 1383, 16, 1659, 63, 6362, 65, 3140, 2016, 16, 18701, 1033, 8526, 833, 13, 565, 288, 3639, 309, 261, 5163, 1162, 39, 88, 1383, 18, 2469, 422, 374, 13, 288, 5411, 327, 300, 21, 31, 3639, 289, 469, 309, 261, 5163, 1162, 39, 88, 1383, 18, 2469, 422, 404, 13, 288, 5411, 8596, 3140, 273, 2590, 1162, 39, 88, 1383, 63, 20, 15533, 5411, 1659, 21265, 8526, 273, 3140, 2016, 63, 20, 15533, 5411, 509, 886, 1288, 273, 21265, 18, 2469, 31, 5411, 309, 261, 412, 1288, 480, 833, 18, 2469, 13, 288, 7734, 327, 300, 21, 31, 5411, 289, 5411, 364, 261, 474, 525, 273, 374, 2 ]
out.println("<tr><td>" + YAMM.getString("mail.date") + "</td><td>" + date + "</td></tr>");
out.println("<tr><td align=right><b>" + YAMM.getString("mail.date") + "</b></td><td>" + date + "</td></tr>");
public MessageParser(BufferedReader in, PrintWriter out, String file) throws IOException, MessageParseException { file = file.substring(0, file.length() - 5); MessageHeaderParser mhp = new MessageHeaderParser(); mhp.parse(in); out.println("<html>"); out.println("<body>"); out.println("<table>"); if (mhp.getHeaderField("Date") != null) { DateParser dp = new DateParser(); dp.setTargetFormat(YAMM.getString("longdate")); String date = null; try { date = dp.parse(mhp.getHeaderField("Date")); } catch (ParseException pe) { date = ""; } out.println("<tr><td>" + YAMM.getString("mail.date") + "</td><td>" + date + "</td></tr>"); } if (mhp.getHeaderField("From") != null) { String from = makeClickable(mhp.getHeaderField("From")); out.println("<tr><td>" + YAMM.getString("mail.from") + "</td><td>" + from + "</td></tr>"); } if (mhp.getHeaderField("To") != null) { String to = makeClickable(mhp.getHeaderField("To")); out.println("<tr><td>" + YAMM.getString("mail.to") + "</td><td>" + to + "</td></tr>"); } if (mhp.getHeaderField("cc") != null) { String cc = makeClickable(mhp.getHeaderField("cc")); out.println("<tr><td>cc:</td><td>" + cc + "</td></tr>"); } if (mhp.getHeaderField("Reply-To") != null) { String replyto = makeClickable( mhp.getHeaderField("Reply-To")); out.println("<tr><td>" + YAMM.getString("mail.reply_to") + "</td><td>" + replyto + "</td></tr>"); } if (mhp.getHeaderField("Subject") != null) { out.println("<tr><td>" + YAMM.getString("mail.subject") + "</td><td>" + Mailbox.unMime(mhp.getHeaderField("Subject")) + "</td></tr>"); } out.println("</table>"); out.println("<br><pre>"); String boundary = null; String temp = mhp.getHeaderField("Content-Type"); String contentType = ""; if (temp != null) { contentType = temp.toLowerCase(); if (contentType.indexOf("boundary=") != -1) { boundary = temp.substring(contentType.indexOf("boundary=") + 9, temp.length()); if (boundary.startsWith("\"")) { boundary = boundary.substring(1, boundary.length() - 1); } if (boundary.indexOf("\"") != -1) { boundary = boundary.substring(0, boundary.indexOf("\"")); } } } if (mhp.getHeaderField("MIME-Version") != null) { // expect a little mime message if (boundary != null) { for (;;) { if (in.readLine().equals("--" + boundary)) { new Attachment().parse(in, null); break; } } } } MessageBodyParser mbp = new MessageBodyParser(true); bigLoop: for (;;) { int test = mbp.parse(in, out, boundary); if (test == MessageBodyParser.ATTACHMENT && contentType.indexOf("multipart/alternative") == -1) { Attachment a = new Attachment(); PrintWriter atOut = null; try { atOut = new PrintWriter( new BufferedOutputStream( new FileOutputStream(file + ".attach." + attachments) ) ); for (;;) { // Attachment found test = a.parse(in, atOut); if (test == Attachment.MESSAGE && contentType.indexOf("multipart/alternative") == -1) { break; } else if (test == Attachment.ATTACHMENT) { attachments++; atOut.close(); atOut = new PrintWriter( new BufferedOutputStream( new FileOutputStream( file + ".attach." + attachments ) ) ); continue; } else /* if (test == Attachment.END) */{ break bigLoop; } } } finally { if (atOut != null) { atOut.close(); } } } else if (test == MessageBodyParser.END) { // end reached break; } else if (test == MessageBodyParser.ATTACHMENT) { break; } } out.println("</pre></body>"); out.println("</html>"); }
3248 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3248/92d3d7e8755da6b1356bc22c2c897d2fa0dbfe38/MessageParser.java/clean/mail/MessageParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2350, 2678, 12, 17947, 2514, 316, 16, 14071, 596, 16, 514, 585, 13, 202, 202, 15069, 1860, 16, 2350, 13047, 202, 95, 202, 202, 768, 273, 585, 18, 28023, 12, 20, 16, 585, 18, 2469, 1435, 300, 1381, 1769, 202, 202, 24319, 2678, 312, 15373, 273, 394, 2350, 1864, 2678, 5621, 202, 202, 81, 15373, 18, 2670, 12, 267, 1769, 202, 202, 659, 18, 8222, 2932, 32, 2620, 2984, 1769, 202, 202, 659, 18, 8222, 2932, 32, 3432, 2984, 1769, 202, 202, 659, 18, 8222, 2932, 32, 2121, 2984, 1769, 202, 202, 430, 261, 81, 15373, 18, 588, 1864, 974, 2932, 1626, 7923, 480, 446, 13, 288, 1082, 202, 1626, 2678, 9986, 273, 394, 2167, 2678, 5621, 1082, 202, 9295, 18, 542, 2326, 1630, 12, 61, 2192, 49, 18, 588, 780, 2932, 5748, 712, 7923, 1769, 1082, 202, 780, 1509, 273, 446, 31, 1082, 202, 698, 288, 9506, 202, 712, 273, 9986, 18, 2670, 12, 81, 15373, 18, 588, 1864, 974, 2932, 1626, 7923, 1769, 1082, 202, 97, 1044, 261, 13047, 2804, 13, 288, 9506, 202, 712, 273, 1408, 31, 1082, 202, 97, 1082, 202, 659, 18, 8222, 2932, 32, 313, 4438, 4465, 2984, 397, 1624, 2192, 49, 18, 588, 780, 2932, 4408, 18, 712, 7923, 397, 9506, 202, 6, 1757, 4465, 4438, 4465, 2984, 397, 1509, 397, 6823, 4465, 4695, 313, 2984, 1769, 202, 202, 97, 202, 202, 430, 261, 81, 15373, 18, 588, 1864, 974, 2932, 1265, 7923, 480, 446, 13, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2350, 2678, 12, 17947, 2514, 316, 16, 14071, 596, 16, 514, 585, 13, 202, 202, 15069, 1860, 16, 2350, 13047, 202, 95, 202, 202, 768, 273, 585, 18, 28023, 12, 20, 16, 585, 18, 2469, 1435, 300, 1381, 1769, 202, 202, 24319, 2678, 312, 15373, 273, 394, 2350, 1864, 2678, 5621, 202, 202, 81, 15373, 18, 2670, 12, 267, 1769, 202, 202, 659, 18, 8222, 2932, 32, 2620, 2984, 1769, 202, 202, 659, 18, 8222, 2932, 32, 3432, 2984, 1769, 202, 202, 659, 18, 8222, 2932, 32, 2121, 2984, 1769, 202, 202, 430, 261, 81, 15373, 18, 588, 1864, 974, 2932, 1626, 7923, 480, 446, 13, 288, 1082, 202, 1626, 2678, 9986, 273, 394, 2167, 2678, 2 ]
if(projectID == null) return errorProperties(MethodConstants.SE_METHOD_ARGUMENT_ERROR,"No project ID specified!"); Long id = null; try { id = Long.parseLong(projectID); } catch (NumberFormatException e) { return errorProperties(MethodConstants.SE_PARSE_ERROR,"Unable to parse project ID!"); }
if(projectID==null) return errorProperties(method,MethodConstants.SE_METHOD_ARGUMENT_ERROR,"No project ID specified!");
public Properties run(Properties p, VHDLLabManager labman) { String projectID = p.getProperty(MethodConstants.PROP_PROJECT_ID,null); if(projectID == null) return errorProperties(MethodConstants.SE_METHOD_ARGUMENT_ERROR,"No project ID specified!"); Long id = null; try { id = Long.parseLong(projectID); } catch (NumberFormatException e) { return errorProperties(MethodConstants.SE_PARSE_ERROR,"Unable to parse project ID!"); } // Load files of a project Set<File> files = null; try { Project project = labman.loadProject(id); files = project.getFiles(); } catch (ServiceException e) { files = null; } if(files==null) return errorProperties(MethodConstants.SE_NO_SUCH_PROJECT,"Project not found!"); // Prepare response Properties resProp = new Properties(); resProp.setProperty(MethodConstants.PROP_METHOD,MethodConstants.MTD_LOAD_PROJECT_FILES_ID); resProp.setProperty(MethodConstants.PROP_STATUS,MethodConstants.STATUS_OK); int i = 1; for(File f : files) { resProp.setProperty(MethodConstants.PROP_FILE_ID+"."+i,String.valueOf(f.getId())); i++; } return resProp; }
48076 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48076/14bd8a7909d9f05db649953c2205191c9fdebb0c/DoMethodLoadProjectFilesId.java/buggy/src/web/onServer/hr/fer/zemris/vhdllab/servlets/methods/DoMethodLoadProjectFilesId.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6183, 1086, 12, 2297, 293, 16, 776, 44, 40, 4503, 378, 1318, 11814, 4728, 13, 288, 202, 202, 780, 1984, 734, 273, 293, 18, 588, 1396, 12, 1305, 2918, 18, 15811, 67, 17147, 67, 734, 16, 2011, 1769, 202, 202, 430, 12, 4406, 734, 422, 446, 13, 327, 555, 2297, 12, 1305, 2918, 18, 1090, 67, 5327, 67, 18311, 67, 3589, 10837, 2279, 1984, 1599, 1269, 4442, 1769, 202, 202, 3708, 612, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 350, 273, 3407, 18, 2670, 3708, 12, 4406, 734, 1769, 202, 202, 97, 1044, 261, 1854, 9291, 425, 13, 288, 1082, 202, 2463, 555, 2297, 12, 1305, 2918, 18, 1090, 67, 21045, 67, 3589, 10837, 3370, 358, 1109, 1984, 1599, 4442, 1769, 202, 202, 97, 9506, 202, 759, 4444, 1390, 434, 279, 1984, 202, 202, 694, 32, 812, 34, 1390, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 4109, 1984, 273, 11814, 4728, 18, 945, 4109, 12, 350, 1769, 1082, 202, 2354, 273, 1984, 18, 588, 2697, 5621, 202, 202, 97, 1044, 261, 15133, 425, 13, 288, 1082, 202, 2354, 273, 446, 31, 202, 202, 97, 202, 202, 430, 12, 2354, 631, 2011, 13, 327, 555, 2297, 12, 1305, 2918, 18, 1090, 67, 3417, 67, 19958, 67, 17147, 10837, 4109, 486, 1392, 4442, 1769, 202, 202, 759, 7730, 766, 202, 202, 2297, 400, 4658, 273, 394, 6183, 5621, 202, 202, 455, 4658, 18, 542, 1396, 12, 1305, 2918, 18, 15811, 67, 5327, 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, 6183, 1086, 12, 2297, 293, 16, 776, 44, 40, 4503, 378, 1318, 11814, 4728, 13, 288, 202, 202, 780, 1984, 734, 273, 293, 18, 588, 1396, 12, 1305, 2918, 18, 15811, 67, 17147, 67, 734, 16, 2011, 1769, 202, 202, 430, 12, 4406, 734, 422, 446, 13, 327, 555, 2297, 12, 1305, 2918, 18, 1090, 67, 5327, 67, 18311, 67, 3589, 10837, 2279, 1984, 1599, 1269, 4442, 1769, 202, 202, 3708, 612, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 350, 273, 3407, 18, 2670, 3708, 12, 4406, 734, 1769, 202, 202, 97, 1044, 261, 1854, 9291, 425, 13, 288, 1082, 202, 2463, 555, 2297, 12, 1305, 2918, 18, 1090, 67, 21045, 67, 3589, 10837, 2 ]
webConnection.setResponse( URL_FIRST, firstContent, 200, "OK", "text/html", Collections.EMPTY_LIST );
webConnection.setResponse(URL_FIRST, firstContent);
public void testPrompt_noPromptHandler() throws Exception { final WebClient webClient = new WebClient(); final MockWebConnection webConnection = new MockWebConnection( webClient ); final List collectedAlerts = new ArrayList(); final List collectedPrompts = new ArrayList(); webClient.setAlertHandler(new CollectingAlertHandler(collectedAlerts)); final String firstContent = "<html><head><title>First</title><script>function doTest(){alert(prompt('foo'))}</script>" + "</head><body onload='doTest()'></body></html>"; webConnection.setResponse( URL_FIRST, firstContent, 200, "OK", "text/html", Collections.EMPTY_LIST ); webClient.setWebConnection( webConnection ); getLog().warn("Warning for no prompt handler expected next"); final HtmlPage firstPage = ( HtmlPage )webClient.getPage( URL_FIRST, SubmitMethod.POST, Collections.EMPTY_LIST ); assertEquals( "First", firstPage.getTitleText() ); assertEquals( Collections.EMPTY_LIST, collectedPrompts ); assertEquals( Collections.singletonList("null"), collectedAlerts ); }
3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/429ab9b3f74495494a904bb8f0f080fb6c368809/WindowTest.java/clean/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/WindowTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 15967, 67, 2135, 15967, 1503, 1435, 1216, 1185, 288, 3639, 727, 2999, 1227, 3311, 1227, 273, 394, 2999, 1227, 5621, 3639, 727, 7867, 4079, 1952, 3311, 1952, 273, 394, 7867, 4079, 1952, 12, 3311, 1227, 11272, 3639, 727, 987, 12230, 37, 29729, 273, 394, 2407, 5621, 3639, 727, 987, 12230, 13224, 1092, 273, 394, 2407, 5621, 3639, 3311, 1227, 18, 542, 13298, 1503, 12, 2704, 9302, 310, 13298, 1503, 12, 14676, 329, 37, 29729, 10019, 3639, 727, 514, 1122, 1350, 5411, 273, 3532, 2620, 4438, 1978, 4438, 2649, 34, 3759, 1757, 2649, 4438, 4263, 34, 915, 741, 4709, 1435, 95, 11798, 12, 13325, 2668, 11351, 26112, 12863, 4263, 2984, 5411, 397, 6823, 1978, 4438, 3432, 23609, 2218, 2896, 4709, 11866, 4695, 3432, 4695, 2620, 2984, 31, 3639, 3311, 1952, 18, 542, 1064, 12, 5411, 1976, 67, 15354, 16, 1122, 1350, 16, 4044, 16, 315, 3141, 3113, 315, 955, 19, 2620, 3113, 5737, 18, 13625, 67, 7085, 11272, 3639, 3311, 1227, 18, 542, 4079, 1952, 12, 3311, 1952, 11272, 3639, 9189, 7675, 8935, 2932, 6210, 364, 1158, 6866, 1838, 2665, 1024, 8863, 3639, 727, 5430, 1964, 1122, 1964, 273, 261, 5430, 1964, 262, 4875, 1227, 18, 588, 1964, 12, 7734, 1976, 67, 15354, 16, 17320, 1305, 18, 3798, 16, 5737, 18, 13625, 67, 7085, 11272, 3639, 1815, 8867, 12, 315, 3759, 3113, 1122, 1964, 18, 588, 4247, 1528, 1435, 11272, 3639, 1815, 8867, 12, 5737, 18, 13625, 67, 7085, 16, 12230, 13224, 1092, 11272, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 15967, 67, 2135, 15967, 1503, 1435, 1216, 1185, 288, 3639, 727, 2999, 1227, 3311, 1227, 273, 394, 2999, 1227, 5621, 3639, 727, 7867, 4079, 1952, 3311, 1952, 273, 394, 7867, 4079, 1952, 12, 3311, 1227, 11272, 3639, 727, 987, 12230, 37, 29729, 273, 394, 2407, 5621, 3639, 727, 987, 12230, 13224, 1092, 273, 394, 2407, 5621, 3639, 3311, 1227, 18, 542, 13298, 1503, 12, 2704, 9302, 310, 13298, 1503, 12, 14676, 329, 37, 29729, 10019, 3639, 727, 514, 1122, 1350, 5411, 273, 3532, 2620, 4438, 1978, 4438, 2649, 34, 3759, 1757, 2649, 4438, 4263, 34, 915, 741, 4709, 1435, 95, 11798, 12, 13325, 2668, 11351, 26112, 12863, 4263, 2984, 5411, 397, 6823, 1978, 4438, 3432, 2 ]