rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
asm.emitMOV_RegIdx_Reg_Byte(T1, S0, asm.BYTE, 0, T0);
asm.emitMOV_RegIdx_Reg_Byte(T1, S0, asm.BYTE, NO_SLOT, T0);
private final boolean genMagic (VM_MethodReference m) { VM_Atom methodName = m.getName(); if (m.getType() == VM_TypeReference.Address) { // Address magic VM_TypeReference[] types = m.getParameterTypes(); // Loads all take the form: // ..., Address, [Offset] -> ..., Value if (methodName == VM_MagicNames.loadAddress || methodName == VM_MagicNames.prepareAddress || methodName == VM_MagicNames.prepareObjectReference || methodName == VM_MagicNames.loadWord || methodName == VM_MagicNames.loadObjectReference || methodName == VM_MagicNames.prepareWord || methodName == VM_MagicNames.loadInt || methodName == VM_MagicNames.prepareInt || methodName == VM_MagicNames.loadFloat) { if (types.length == 0) { // No offset asm.emitPOP_Reg(T0); // address asm.emitPUSH_RegInd(T0); // pushes [T0+0] } else { // Load at offset asm.emitPOP_Reg (S0); // offset asm.emitPOP_Reg (T0); // object ref asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, 0); // pushes [T0+S0] } return true; } if (methodName == VM_MagicNames.loadByte) { if (types.length == 0) { // No offset asm.emitPOP_Reg (T0); // base asm.emitMOVZX_Reg_RegInd_Byte(T0, T0) ; asm.emitPUSH_Reg (T0); } else { // Load at offset asm.emitPOP_Reg (S0); // offset asm.emitPOP_Reg (T0); // base asm.emitMOVZX_Reg_RegIdx_Byte(T0, T0, S0, asm.BYTE, 0); // load and zero extend byte [T0+S0] asm.emitPUSH_Reg (T0); } return true; } if (methodName == VM_MagicNames.loadShort || methodName == VM_MagicNames.loadChar) { if (types.length == 0) { // No offset asm.emitPOP_Reg (T0); // base asm.emitMOVZX_Reg_RegInd_Word(T0, T0); asm.emitPUSH_Reg (T0); } else { // Load at offset asm.emitPOP_Reg (S0); // offset asm.emitPOP_Reg (T0); // base asm.emitMOVZX_Reg_RegIdx_Word(T0, T0, S0, asm.BYTE, 0); // load and zero extend word [T0+S0] asm.emitPUSH_Reg (T0); } return true; } if (methodName == VM_MagicNames.loadLong || methodName == VM_MagicNames.loadDouble) { if (types.length == 0) { // No offset throw new RuntimeException("Magic not implemented"); } else { // Load at offset asm.emitPOP_Reg (S0); // offset asm.emitPOP_Reg (T0); // base asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, 4); // pushes [T0+S0+4] asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, 0); // pushes [T0+S0] } return true; } // Stores all take the form: // ..., Address, [Offset], Value -> ... if (methodName == VM_MagicNames.store) { // Always at least one parameter to a store. // First parameter is the type to be stored. VM_TypeReference storeType = types[0]; if (storeType == VM_TypeReference.Int || storeType == VM_TypeReference.Address || storeType == VM_TypeReference.ObjectReference || storeType == VM_TypeReference.Word || storeType == VM_TypeReference.Float) { if (types.length == 1) { // No offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // address asm.emitMOV_RegInd_Reg(S0,T0); // [S0+0] <- T0 } else { // Store at offset asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // address asm.emitMOV_RegIdx_Reg(T1, S0, asm.BYTE, 0, T0); // [T1+S0] <- T0 } return true; } if (storeType == VM_TypeReference.Byte) { if (types.length == 1) { // No offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // base asm.emitMOV_RegInd_Reg_Byte(T1, T0); } else { // Store at offset asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // base asm.emitMOV_RegIdx_Reg_Byte(T1, S0, asm.BYTE, 0, T0); // [T1+S0] <- (byte) T0 } return true; } if (storeType == VM_TypeReference.Short || storeType == VM_TypeReference.Char) { if (types.length == 1) { // No offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // base asm.emitMOV_RegInd_Reg_Word(T1, T0); } else { // Store at offset asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // base asm.emitMOV_RegIdx_Reg_Word(T1, S0, asm.BYTE, 0, T0); // [T1+S0] <- (word) T0 } return true; } if (storeType == VM_TypeReference.Double || storeType == VM_TypeReference.Long) { if (types.length == 1) { // No offset throw new RuntimeException("Magic not implemented"); } else { // Store at offset asm.emitMOV_Reg_RegDisp(T0, SP, +4); // value high asm.emitMOV_Reg_RegInd (S0, SP); // offset asm.emitMOV_Reg_RegDisp(T1, SP, +12); // base asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, 0, T0); // [T1+S0] <- T0 asm.emitMOV_Reg_RegDisp(T0, SP, +8); // value low asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, 4, T0); // [T1+S0+4] <- T0 asm.emitADD_Reg_Imm (SP, WORDSIZE * 4); // pop stack locations } return true; } } else if (methodName == VM_MagicNames.attempt) { // All attempts are similar 32 bit values. if (types.length == 3) { // Offset passed asm.emitPOP_Reg (S0); // S0 = offset } asm.emitPOP_Reg (T1); // newVal asm.emitPOP_Reg (EAX); // oldVal (EAX is implicit arg to LCMPX if (types.length == 3) { asm.emitADD_Reg_RegInd(S0, SP); // S0 += base } else { // No offset asm.emitMOV_Reg_RegInd(S0, SP); // S0 = base } asm.emitLockNextInstruction(); asm.emitCMPXCHG_RegInd_Reg (S0, T1); // atomic compare-and-exchange asm.emitMOV_RegInd_Imm (SP, 0); // 'push' false (overwriting base) VM_ForwardReference fr = asm.forwardJcc(asm.NE); // skip if compare fails asm.emitMOV_RegInd_Imm (SP, 1); // 'push' true (overwriting base) fr.resolve(asm); return true; } } if (methodName == VM_MagicNames.attemptInt || methodName == VM_MagicNames.attemptObject || methodName == VM_MagicNames.attemptAddress || methodName == VM_MagicNames.attemptWord) { // attempt gets called with four arguments: base, offset, oldVal, newVal // returns ([base+offset] == oldVal) // if ([base+offset] == oldVal) [base+offset] := newVal // (operation on memory is atomic) asm.emitPOP_Reg (T1); // newVal asm.emitPOP_Reg (EAX); // oldVal (EAX is implicit arg to LCMPXCNG asm.emitPOP_Reg (S0); // S0 = offset asm.emitADD_Reg_RegInd(S0, SP); // S0 += base asm.emitLockNextInstruction(); asm.emitCMPXCHG_RegInd_Reg (S0, T1); // atomic compare-and-exchange asm.emitMOV_RegInd_Imm (SP, 0); // 'push' false (overwriting base) VM_ForwardReference fr = asm.forwardJcc(asm.NE); // skip if compare fails asm.emitMOV_RegInd_Imm (SP, 1); // 'push' true (overwriting base) fr.resolve(asm); return true; } if (methodName == VM_MagicNames.invokeMain) { // invokeMain gets "called" with two arguments: // String[] mainArgs // the arguments to the main method // INSTRUCTION[] mainCode // the code for the main method asm.emitPOP_Reg (S0); // genParameterRegisterLoad(1); // pass 1 parameter word asm.emitCALL_Reg(S0); // branches to mainCode with mainArgs on the stack return true; } if (methodName == VM_MagicNames.saveThreadState) { int offset = VM_Entrypoints.saveThreadStateInstructionsField.getOffsetAsInt(); genParameterRegisterLoad(1); // pass 1 parameter word asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.threadSwitch) { int offset = VM_Entrypoints.threadSwitchInstructionsField.getOffsetAsInt(); genParameterRegisterLoad(2); // pass 2 parameter words asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.restoreHardwareExceptionState) { int offset = VM_Entrypoints.restoreHardwareExceptionStateInstructionsField.getOffsetAsInt(); genParameterRegisterLoad(1); // pass 1 parameter word asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.invokeClassInitializer) { asm.emitPOP_Reg (S0); asm.emitCALL_Reg(S0); // call address just popped return true; } if (m.getType() == VM_TypeReference.SysCall) { VM_TypeReference[] args = m.getParameterTypes(); VM_TypeReference rtype = m.getReturnType(); int offsetToJavaArg = 3*WORDSIZE; // the three regs saved in (2) int paramBytes = 0; // (1) save three RVM nonvolatile/special registers // we don't have to save EBP: the callee will // treat it as a framepointer and save/restore // it for us. asm.emitPUSH_Reg(EBX); asm.emitPUSH_Reg(ESI); asm.emitPUSH_Reg(EDI); // (2) Push args to target function (reversed) for (int i=args.length-1; i>=0; i--) { VM_TypeReference arg = args[i]; if (arg.isLongType() || arg.isDoubleType()) { asm.emitPUSH_RegDisp(SP, offsetToJavaArg + 4); asm.emitPUSH_RegDisp(SP, offsetToJavaArg + 4); offsetToJavaArg += 16; paramBytes += 8; } else { asm.emitPUSH_RegDisp(SP, offsetToJavaArg); offsetToJavaArg += 8; paramBytes += 4; } } // (3) invoke target function VM_Field ip = VM_Entrypoints.getSysCallField(m.getName().toString()); asm.emitMOV_Reg_RegDisp(S0, JTOC, VM_Entrypoints.the_boot_recordField.getOffsetAsInt()); asm.emitCALL_RegDisp(S0, ip.getOffsetAsInt()); // (4) pop space for arguments asm.emitADD_Reg_Imm(SP, paramBytes); // (5) restore RVM registers asm.emitPOP_Reg(EDI); asm.emitPOP_Reg(ESI); asm.emitPOP_Reg(EBX); // (6) pop expression stack asm.emitADD_Reg_Imm(SP, paramBytes); // (7) push return value if (rtype.isLongType()) { asm.emitPUSH_Reg(T1); asm.emitPUSH_Reg(T0); } else if (rtype.isDoubleType()) { asm.emitSUB_Reg_Imm(SP, 8); asm.emitFSTP_RegInd_Reg_Quad(SP, FP0); } else if (rtype.isFloatType()) { asm.emitSUB_Reg_Imm(SP, 4); asm.emitFSTP_RegInd_Reg(SP, FP0); } else if (!rtype.isVoidType()) { asm.emitPUSH_Reg(T0); } return true; } if (methodName == VM_MagicNames.getFramePointer) { asm.emitLEA_Reg_RegDisp(S0, SP, fp2spOffset(0)); asm.emitPUSH_Reg (S0); return true; } if (methodName == VM_MagicNames.getCallerFramePointer) { asm.emitPOP_Reg(T0); // Callee FP asm.emitPUSH_RegDisp(T0, STACKFRAME_FRAME_POINTER_OFFSET); // Caller FP return true; } if (methodName == VM_MagicNames.setCallerFramePointer) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // fp asm.emitMOV_RegDisp_Reg(S0, STACKFRAME_FRAME_POINTER_OFFSET, T0); // [S0+SFPO] <- T0 return true; } if (methodName == VM_MagicNames.getCompiledMethodID) { asm.emitPOP_Reg(T0); // Callee FP asm.emitPUSH_RegDisp(T0, STACKFRAME_METHOD_ID_OFFSET); // Callee CMID return true; } if (methodName == VM_MagicNames.setCompiledMethodID) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // fp asm.emitMOV_RegDisp_Reg(S0, STACKFRAME_METHOD_ID_OFFSET, T0); // [S0+SMIO] <- T0 return true; } if (methodName == VM_MagicNames.getReturnAddressLocation) { asm.emitPOP_Reg(T0); // Callee FP asm.emitADD_Reg_Imm(T0, STACKFRAME_RETURN_ADDRESS_OFFSET); // location containing callee return address asm.emitPUSH_Reg(T0); // Callee return address return true; } if (methodName == VM_MagicNames.getTocPointer || methodName == VM_MagicNames.getJTOC ) { asm.emitPUSH_Reg(JTOC); return true; } // get the processor register (PR) if (methodName == VM_MagicNames.getProcessorRegister) { asm.emitPUSH_Reg(PR); return true; } // set the processor register (PR) if (methodName == VM_MagicNames.setProcessorRegister) { asm.emitPOP_Reg(PR); return true; } // Get the value in ESI if (methodName == VM_MagicNames.getESIAsProcessor) { asm.emitPUSH_Reg(ESI); return true; } // Set the value in ESI if (methodName == VM_MagicNames.setESIAsProcessor) { asm.emitPOP_Reg(ESI); return true; } if (methodName == VM_MagicNames.getIntAtOffset || methodName == VM_MagicNames.getWordAtOffset || methodName == VM_MagicNames.getObjectAtOffset || methodName == VM_MagicNames.getObjectArrayAtOffset || methodName == VM_MagicNames.prepareInt || methodName == VM_MagicNames.prepareObject || methodName == VM_MagicNames.prepareAddress || methodName == VM_MagicNames.prepareWord) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, 0); // pushes [T0+S0] return true; } if (methodName == VM_MagicNames.getByteAtOffset) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitMOVZX_Reg_RegIdx_Byte(T0, T0, S0, asm.BYTE, 0); // load and zero extend byte [T0+S0] asm.emitPUSH_Reg (T0); return true; } if (methodName == VM_MagicNames.getCharAtOffset) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitMOVZX_Reg_RegIdx_Word(T0, T0, S0, asm.BYTE, 0); // load and zero extend char [T0+S0] asm.emitPUSH_Reg (T0); return true; } if (methodName == VM_MagicNames.setIntAtOffset || methodName == VM_MagicNames.setWordAtOffset || methodName == VM_MagicNames.setObjectAtOffset ) { if (m.getParameterTypes().length == 4) { // discard locationMetadata parameter asm.emitPOP_Reg(T0); // locationMetadata, not needed by baseline compiler. } asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T1); // obj ref asm.emitMOV_RegIdx_Reg(T1, S0, asm.BYTE, 0, T0); // [T1+S0] <- T0 return true; } if (methodName == VM_MagicNames.setByteAtOffset) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T1); // obj ref asm.emitMOV_RegIdx_Reg_Byte(T1, S0, asm.BYTE, 0, T0); // [T1+S0] <- (byte) T0 return true; } if (methodName == VM_MagicNames.setCharAtOffset) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T1); // obj ref asm.emitMOV_RegIdx_Reg_Word(T1, S0, asm.BYTE, 0, T0); // [T1+S0] <- (char) T0 return true; } if (methodName == VM_MagicNames.getLongAtOffset || methodName == VM_MagicNames.getDoubleAtOffset) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, 4); // pushes [T0+S0+4] asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, 0); // pushes [T0+S0] return true; } if (methodName == VM_MagicNames.setLongAtOffset || methodName == VM_MagicNames.setDoubleAtOffset) { asm.emitMOV_Reg_RegInd (T0, SP); // value high asm.emitMOV_Reg_RegDisp(S0, SP, +8 ); // offset asm.emitMOV_Reg_RegDisp(T1, SP, +12); // obj ref asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, 0, T0); // [T1+S0] <- T0 asm.emitMOV_Reg_RegDisp(T0, SP, +4 ); // value low asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, 4, T0); // [T1+S0+4] <- T0 asm.emitADD_Reg_Imm (SP, WORDSIZE * 4); // pop stack locations return true; } if (methodName == VM_MagicNames.addressArrayCreate) { // no resolution problem possible. emit_resolved_newarray(m.getType().resolve().asArray()); return true; } if (methodName == VM_MagicNames.addressArrayLength) { emit_arraylength(); // argument order already correct return true; } if (methodName == VM_MagicNames.addressArrayGet) { if (m.getType() == VM_TypeReference.CodeArray) { emit_baload(); } else { if (VM.BuildFor32Addr) { emit_iaload(); } else if (VM.BuildFor64Addr) { emit_laload(); } else { VM._assert(NOT_REACHED); } } return true; } if (methodName == VM_MagicNames.addressArraySet) { if (m.getType() == VM_TypeReference.CodeArray) { emit_bastore(); } else { if (VM.BuildFor32Addr) { emit_iastore(); } else if (VM.BuildFor64Addr) { VM._assert(false); // not implemented } else { VM._assert(NOT_REACHED); } } return true; } if (methodName == VM_MagicNames.getMemoryInt || methodName == VM_MagicNames.getMemoryWord || methodName == VM_MagicNames.getMemoryAddress) { asm.emitPOP_Reg(T0); // address asm.emitPUSH_RegInd(T0); // pushes [T0+0] return true; } if (methodName == VM_MagicNames.setMemoryInt || methodName == VM_MagicNames.setMemoryWord || methodName == VM_MagicNames.setMemoryAddress) { if (m.getParameterTypes().length == 3) { // discard locationMetadata parameter asm.emitPOP_Reg(T0); // locationMetadata, not needed by baseline compiler. } asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // address asm.emitMOV_RegInd_Reg(S0,T0); // [S0+0] <- T0 return true; } if (methodName == VM_MagicNames.objectAsAddress || methodName == VM_MagicNames.addressAsByteArray || methodName == VM_MagicNames.addressAsIntArray || methodName == VM_MagicNames.addressAsObject || methodName == VM_MagicNames.addressAsObjectArray || methodName == VM_MagicNames.addressAsType || methodName == VM_MagicNames.objectAsType || methodName == VM_MagicNames.objectAsShortArray || methodName == VM_MagicNames.objectAsByteArray || methodName == VM_MagicNames.objectAsIntArray || methodName == VM_MagicNames.addressAsThread || methodName == VM_MagicNames.objectAsThread || methodName == VM_MagicNames.objectAsProcessor || methodName == VM_MagicNames.threadAsCollectorThread || methodName == VM_MagicNames.addressAsRegisters || methodName == VM_MagicNames.addressAsStack || methodName == VM_MagicNames.floatAsIntBits || methodName == VM_MagicNames.intBitsAsFloat || methodName == VM_MagicNames.doubleAsLongBits || methodName == VM_MagicNames.longBitsAsDouble) { // no-op (a type change, not a representation change) return true; } // code for VM_Type VM_Magic.getObjectType(Object object) if (methodName == VM_MagicNames.getObjectType) { asm.emitPOP_Reg (T0); // object ref VM_ObjectModel.baselineEmitLoadTIB(asm,S0,T0); asm.emitPUSH_RegDisp(S0, TIB_TYPE_INDEX<<LG_WORDSIZE); // push VM_Type slot of TIB return true; } if (methodName == VM_MagicNames.getArrayLength) { asm.emitPOP_Reg(T0); // object ref asm.emitPUSH_RegDisp(T0, VM_ObjectModel.getArrayLengthOffset().toInt()); return true; } if (methodName == VM_MagicNames.sync) { // nothing required on IA32 return true; } if (methodName == VM_MagicNames.isync) { // nothing required on IA32 return true; } // baseline compiled invocation only: all paramaters on the stack // hi mem // Code // GPRs // FPRs // Spills // low-mem if (methodName == VM_MagicNames.invokeMethodReturningVoid) { int offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffsetAsInt(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.invokeMethodReturningInt) { int offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffsetAsInt(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitPUSH_Reg(T0); return true; } if (methodName == VM_MagicNames.invokeMethodReturningLong) { int offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffsetAsInt(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitPUSH_Reg(T0); // high half asm.emitPUSH_Reg(T1); // low half return true; } if (methodName == VM_MagicNames.invokeMethodReturningFloat) { int offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffsetAsInt(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitSUB_Reg_Imm (SP, 4); asm.emitFSTP_RegInd_Reg(SP, FP0); return true; } if (methodName == VM_MagicNames.invokeMethodReturningDouble) { int offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffsetAsInt(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitSUB_Reg_Imm (SP, 8); asm.emitFSTP_RegInd_Reg_Quad(SP, FP0); return true; } if (methodName == VM_MagicNames.invokeMethodReturningObject) { int offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffsetAsInt(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitPUSH_Reg(T0); return true; } // baseline invocation // one paramater, on the stack -- actual code if (methodName == VM_MagicNames.dynamicBridgeTo) { if (VM.VerifyAssertions) VM._assert(klass.isDynamicBridge()); // save the branch address for later asm.emitPOP_Reg (S0); // S0<-code address asm.emitADD_Reg_Imm(SP, fp2spOffset(0) - 4); // just popped 4 bytes above. // restore FPU state asm.emitFRSTOR_RegDisp(SP, FPU_SAVE_OFFSET); // restore GPRs asm.emitMOV_Reg_RegDisp (T0, SP, T0_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (T1, SP, T1_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (EBX, SP, EBX_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (JTOC, SP, JTOC_SAVE_OFFSET); // pop frame asm.emitPOP_RegDisp (PR, VM_Entrypoints.framePointerField.getOffsetAsInt()); // FP<-previous FP // branch asm.emitJMP_Reg (S0); return true; } if (methodName == VM_MagicNames.returnToNewStack) { // SP gets frame pointer for new stack asm.emitPOP_Reg (SP); // restore nonvolatile registers asm.emitMOV_Reg_RegDisp (JTOC, SP, JTOC_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (EBX, SP, EBX_SAVE_OFFSET); // discard current stack frame asm.emitPOP_RegDisp (PR, VM_Entrypoints.framePointerField.getOffsetAsInt()); // return to caller- pop parameters from stack asm.emitRET_Imm(parameterWords << LG_WORDSIZE); return true; } if (methodName == VM_MagicNames.roundToZero) { // Store the FPU Control Word to a JTOC slot asm.emitFNSTCW_RegDisp(JTOC, VM_Entrypoints.FPUControlWordField.getOffsetAsInt()); // Set the bits in the status word that control round to zero. // Note that we use a 32-bit OR, even though we only care about the // low-order 16 bits asm.emitOR_RegDisp_Imm(JTOC,VM_Entrypoints.FPUControlWordField.getOffsetAsInt(), 0x00000c00); // Now store the result back into the FPU Control Word asm.emitFLDCW_RegDisp(JTOC,VM_Entrypoints.FPUControlWordField.getOffsetAsInt()); return true; } if (methodName == VM_MagicNames.clearFloatingPointState) { // Clear the hardware floating-point state asm.emitFNINIT(); return true; } if (methodName == VM_MagicNames.getTimeBase) { asm.emitRDTSC(); // read timestamp counter instruction asm.emitPUSH_Reg(EDX); // upper 32 bits asm.emitPUSH_Reg(EAX); // lower 32 bits return true; } if (methodName == VM_MagicNames.wordFromInt || methodName == VM_MagicNames.wordFromObject || methodName == VM_MagicNames.wordFromIntZeroExtend || methodName == VM_MagicNames.wordFromIntSignExtend || methodName == VM_MagicNames.wordToInt || methodName == VM_MagicNames.wordToAddress || methodName == VM_MagicNames.wordToOffset || methodName == VM_MagicNames.wordToObject || methodName == VM_MagicNames.wordToObjectReference || methodName == VM_MagicNames.wordToExtent || methodName == VM_MagicNames.wordToWord) { if (VM.BuildFor32Addr) return true; // no-op for 32-bit if (VM.VerifyAssertions) VM._assert(false); } if (methodName == VM_MagicNames.wordToLong) { if (VM.BuildFor32Addr) { asm.emitPOP_Reg(T0); asm.emitPUSH_Imm(0); // upper 32 bits asm.emitPUSH_Reg(T0); // lower 32 bits return true; } // else fill unused stackslot if (VM.VerifyAssertions) VM._assert(false); } if (methodName == VM_MagicNames.wordAnd) { asm.emitPOP_Reg(T0); asm.emitAND_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordOr) { asm.emitPOP_Reg(T0); asm.emitOR_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordXor) { asm.emitPOP_Reg(T0); asm.emitXOR_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordNot) { asm.emitNOT_RegInd (SP); return true; } if (methodName == VM_MagicNames.wordAdd) { asm.emitPOP_Reg(T0); asm.emitADD_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordSub || methodName == VM_MagicNames.wordDiff) { asm.emitPOP_Reg(T0); asm.emitSUB_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordZero || methodName == VM_MagicNames.wordNull) { asm.emitPUSH_Imm(0); return true; } if (methodName == VM_MagicNames.wordOne) { asm.emitPUSH_Imm(1); return true; } if (methodName == VM_MagicNames.wordMax) { asm.emitPUSH_Imm(-1); return true; } if (methodName == VM_MagicNames.wordLT) { generateAddrComparison(asm.LLT); return true; } if (methodName == VM_MagicNames.wordLE) { generateAddrComparison(asm.LLE); return true; } if (methodName == VM_MagicNames.wordGT) { generateAddrComparison(asm.LGT); return true; } if (methodName == VM_MagicNames.wordGE) { generateAddrComparison(asm.LGE); return true; } if (methodName == VM_MagicNames.wordsLT) { generateAddrComparison(asm.LT); return true; } if (methodName == VM_MagicNames.wordsLE) { generateAddrComparison(asm.LE); return true; } if (methodName == VM_MagicNames.wordsGT) { generateAddrComparison(asm.GT); return true; } if (methodName == VM_MagicNames.wordsGE) { generateAddrComparison(asm.GE); return true; } if (methodName == VM_MagicNames.wordEQ) { generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordNE) { generateAddrComparison(asm.NE); return true; } if (methodName == VM_MagicNames.wordIsZero) { asm.emitPUSH_Imm(0); generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordIsNull) { asm.emitPUSH_Imm(0); generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordIsMax) { asm.emitPUSH_Imm(-1); generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordLsh) { if (VM.BuildFor32Addr) { asm.emitPOP_Reg(ECX); asm.emitSHL_RegInd_Reg(SP, ECX); } else VM._assert(false); return true; } if (methodName == VM_MagicNames.wordRshl) { if (VM.BuildFor32Addr) { asm.emitPOP_Reg (ECX); asm.emitSHR_RegInd_Reg (SP, ECX); } else VM._assert(false); return true; } if (methodName == VM_MagicNames.wordRsha) { if (VM.BuildFor32Addr) { asm.emitPOP_Reg (ECX); asm.emitSAR_RegInd_Reg (SP, ECX); } else VM._assert(false); return true; } return false; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/df5323a1679a545ad5b2e78b0bf88ba178e71da8/VM_Compiler.java/clean/rvm/src/vm/arch/intel/compilers/baseline/VM_Compiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 1250, 3157, 19289, 261, 7397, 67, 1305, 2404, 312, 13, 288, 565, 8251, 67, 3641, 4918, 273, 312, 18, 17994, 5621, 565, 309, 261, 81, 18, 588, 559, 1435, 422, 8251, 67, 7534, 18, 1887, 13, 288, 1377, 368, 5267, 8146, 1377, 8251, 67, 7534, 8526, 1953, 273, 312, 18, 588, 1662, 2016, 5621, 1377, 368, 4444, 87, 777, 4862, 326, 646, 30, 1377, 368, 1372, 16, 5267, 16, 306, 2335, 65, 317, 1372, 16, 1445, 1377, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 945, 1887, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 1887, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 22101, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 945, 3944, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 945, 22101, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 3944, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 945, 1702, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 1702, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 945, 4723, 13, 288, 3639, 309, 261, 2352, 18, 2469, 422, 374, 13, 288, 1850, 368, 2631, 1384, 1850, 20415, 18, 18356, 30374, 67, 1617, 12, 56, 20, 1769, 8227, 368, 1758, 1850, 20415, 18, 18356, 30348, 67, 1617, 3866, 12, 56, 20, 1769, 5375, 368, 27351, 306, 56, 20, 15, 20, 65, 3639, 289, 469, 288, 1850, 368, 4444, 622, 1384, 1850, 20415, 18, 18356, 30374, 67, 1617, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 1250, 3157, 19289, 261, 7397, 67, 1305, 2404, 312, 13, 288, 565, 8251, 67, 3641, 4918, 273, 312, 18, 17994, 5621, 565, 309, 261, 81, 18, 588, 559, 1435, 422, 8251, 67, 7534, 18, 1887, 13, 288, 1377, 368, 5267, 8146, 1377, 8251, 67, 7534, 8526, 1953, 273, 312, 18, 588, 1662, 2016, 5621, 1377, 368, 4444, 87, 777, 4862, 326, 646, 30, 1377, 368, 1372, 16, 5267, 16, 306, 2335, 65, 317, 1372, 16, 1445, 1377, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 945, 1887, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 1887, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 22101, 747, 1850, 4918, 422, 8251, 2 ]
switch (owntype) { case UnboxedArrayType(Type elemtp): Tree apply = transform(templ.parents[0]); switch (apply) {
if (tree.type.symbol() == definitions.ARRAY_CLASS) { switch (templ.parents[0]) {
public Tree transform(Tree tree, boolean eraseFully) { assert tree.type != null : tree; Type owntype = eraseFully ? tree.type.fullErasure() : tree.type.erasure(); switch (tree) { case ClassDef(int mods, Name name, TypeDef[] tparams, ValDef[][] vparams, Tree tpe, Template impl): Symbol oldCurrentClass = currentClass; currentClass = tree.symbol(); Tree newTree = copy.ClassDef(tree, mods, name, new TypeDef[0], transform(vparams), tpe, transform(impl, tree.symbol())) .setType(owntype); currentClass = oldCurrentClass; return newTree; case DefDef(int mods, Name name, TypeDef[] tparams, ValDef[][] vparams, Tree tpe, Tree rhs): addBridges(tree.symbol()); Tree tpe1 = gen.mkType(tpe.pos, tpe.type.fullErasure()); Tree rhs1 = (rhs == Tree.Empty) ? rhs : transform(rhs, tpe1.type); return copy.DefDef( tree, mods, name, new TypeDef[0], transform(vparams), tpe1, rhs1) .setType(owntype); case ValDef(int mods, Name name, Tree tpe, Tree rhs): Tree tpe1 = transform(tpe); Tree rhs1 = (rhs == Tree.Empty) ? rhs : transform(rhs, tpe1.type); return copy.ValDef( tree, mods, name, tpe1, rhs1) .setType(owntype); case TypeDef(_, _, _): // eliminate return Tree.Empty; case Block(Tree[] stats): Tree[] newStats = new Tree[stats.length]; for (int i = 0; i < stats.length; ++i) newStats[i] = transform(stats[i], true); return copy.Block(tree, newStats).setType(owntype.fullErasure()); case Assign(Tree lhs, Tree rhs): Tree lhs1 = transformLhs(lhs); Tree rhs1 = transform(rhs, lhs1.type); return copy.Assign(tree, lhs1, rhs1).setType(owntype.fullErasure()); case If(Tree cond, Tree thenp, Tree elsep): Tree cond1 = transform(cond, Type.unboxedType(TypeTags.BOOLEAN)); Tree thenp1 = transform(thenp, owntype); Tree elsep1 = (elsep == Tree.Empty) ? elsep : transform(elsep, owntype); return copy.If(tree, cond1, thenp1, elsep1).setType(owntype); case New(Template templ): if (tree.type.symbol() == definitions.UNIT_CLASS) // !!! return Tree.Literal(UNIT, null).setType(owntype); throw Debug.abort("found unit literal"); switch (owntype) { case UnboxedArrayType(Type elemtp): Tree apply = transform(templ.parents[0]); switch (apply) { case Apply(_, Tree[] args): assert args.length == 1; switch (elemtp) { case UnboxedType(int kind): return genNewArray(tree.pos,args[0],kind); default: return genNewArray(tree.pos,args[0],elemtp); } default: throw Debug.abort("illegal case", apply); } } return super.transform(tree).setType(owntype); case Typed(Tree expr, Tree tpe): // coerce expr to tpe Tree tpe1 = gen.mkType(tpe.pos, tpe.type().erasure()); // !!! was transform(tpe); // !!! More generally, we should never transform a tree // that represents a type. We should always transform // types and then reconstruct the corresponding tree. Tree expr1 = transform(expr, tpe1.type); return noTyped ? expr1 : copy.Typed(tree, expr1, tpe1).setType(owntype); case TypeApply(Tree fun, Tree[] args): Symbol sym = fun.symbol(); if (sym == definitions.AS || sym == definitions.IS) { Type tp = args[0].type.erasure(); if (isUnboxed(tp)) { Tree qual1 = transform(getQualifier(currentClass, fun)); if (isUnboxed(qual1.type)) qual1 = box(qual1); Symbol primSym = (sym == definitions.AS) ? primitives.getUnboxValueSymbol(tp) : primitives.getInstanceTestSymbol(tp); return gen.Select(qual1, primSym); } else return copy.TypeApply(tree, transform(fun), transform(args)) .setType(owntype); } else return transform(fun); case Apply(Tree fun, Tree[] args): switch (fun) { case Select(Tree array, _): if (isUnboxedArray(array.type().erasure())) { switch (primitives.getPrimitive(fun.symbol())) { case APPLY: return transformApply(tree); case UPDATE: return transformUpdate(tree); } } } Tree fun1 = transform(fun); if (fun1.symbol() == definitions.NULL) return fun1.setType(owntype); if (global.debug) global.log("fn: " + fun1.symbol() + ":" + fun1.type);//debug switch (fun1.type) { case MethodType(Symbol[] params, Type restpe): Tree[] args1 = args; for (int i = 0; i < args.length; i++) { Tree arg = args[i]; Type pt1 = params[i].type().erasure(); Tree arg1 = cast(transform(arg, pt1), pt1); if (arg1 != arg && args1 == args) { args1 = new Tree[args.length]; System.arraycopy(args, 0, args1, 0, i); } args1[i] = arg1; } return coerce(copy.Apply(tree, fun1, args1).setType(restpe), owntype); default: global.debugPrinter.print(fun1); throw Debug.abort("bad method type: " + Debug.show(fun1.type) + " " + Debug.show(fun1.symbol())); } case Select(_, _): case Ident(_): Tree tree1 = transformLhs(tree); //global.log("id: " + tree1+": "+tree1.type+" -> "+owntype);//DEBUG return (tree1.type instanceof Type.MethodType) ? tree1 : coerce(tree1, owntype); case Empty: case PackageDef(_,_): case Template(_,_): case Tuple(_): // !!! ? case Super(_): case This(_): case Literal(_): case TypeTerm(): return super.transform(tree).setType(owntype); case Bad(): case ModuleDef(_,_,_,_): case PatDef(_,_,_): case Import(_,_): case CaseDef(_,_,_): case LabelDef(_,_): case Visitor(_): case Function(_,_): case SingletonType(_): case SelectFromType(_,_): case FunType(_,_): case CompoundType(_,_): case AppliedType(_, _): case CovariantType(_): throw Debug.abort("illegal case", tree); default: throw Debug.abort("unknown case", tree); } }
1156 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1156/68e734d000dfbea805c752a20c473121039a8c97/Erasure.java/buggy/sources/scalac/transformer/Erasure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4902, 2510, 12, 2471, 2151, 16, 1250, 22038, 16999, 13, 288, 202, 11231, 2151, 18, 723, 480, 446, 294, 2151, 31, 202, 559, 2523, 496, 388, 273, 22038, 16999, 692, 2151, 18, 723, 18, 2854, 29228, 3619, 1435, 294, 2151, 18, 723, 18, 264, 3619, 5621, 202, 9610, 261, 3413, 13, 288, 202, 3593, 1659, 3262, 12, 474, 15546, 16, 1770, 508, 16, 1412, 3262, 8526, 268, 2010, 16, 12747, 3262, 63, 6362, 65, 331, 2010, 16, 4902, 268, 347, 16, 5035, 9380, 4672, 5411, 8565, 1592, 3935, 797, 273, 28742, 31, 5411, 28742, 273, 2151, 18, 7175, 5621, 5411, 4902, 394, 2471, 273, 7734, 1610, 18, 797, 3262, 12, 3413, 16, 15546, 16, 508, 16, 394, 1412, 3262, 63, 20, 6487, 17311, 2510, 12, 90, 2010, 3631, 268, 347, 16, 2510, 12, 11299, 16, 2151, 18, 7175, 1435, 3719, 202, 202, 18, 542, 559, 12, 543, 496, 388, 1769, 5411, 28742, 273, 1592, 3935, 797, 31, 5411, 327, 394, 2471, 31, 202, 3593, 10922, 3262, 12, 474, 15546, 16, 1770, 508, 16, 1412, 3262, 8526, 268, 2010, 16, 12747, 3262, 63, 6362, 65, 331, 2010, 16, 4902, 268, 347, 16, 4902, 7711, 4672, 202, 565, 527, 38, 1691, 2852, 12, 3413, 18, 7175, 10663, 202, 565, 4902, 268, 347, 21, 273, 3157, 18, 24816, 559, 12, 88, 347, 18, 917, 16, 268, 347, 18, 723, 18, 2854, 29228, 3619, 10663, 202, 565, 4902, 7711, 21, 273, 261, 86, 4487, 422, 4902, 18, 1921, 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, 4902, 2510, 12, 2471, 2151, 16, 1250, 22038, 16999, 13, 288, 202, 11231, 2151, 18, 723, 480, 446, 294, 2151, 31, 202, 559, 2523, 496, 388, 273, 22038, 16999, 692, 2151, 18, 723, 18, 2854, 29228, 3619, 1435, 294, 2151, 18, 723, 18, 264, 3619, 5621, 202, 9610, 261, 3413, 13, 288, 202, 3593, 1659, 3262, 12, 474, 15546, 16, 1770, 508, 16, 1412, 3262, 8526, 268, 2010, 16, 12747, 3262, 63, 6362, 65, 331, 2010, 16, 4902, 268, 347, 16, 5035, 9380, 4672, 5411, 8565, 1592, 3935, 797, 273, 28742, 31, 5411, 28742, 273, 2151, 18, 7175, 5621, 5411, 4902, 394, 2471, 273, 7734, 1610, 18, 797, 3262, 12, 3413, 16, 15546, 16, 508, 16, 394, 2 ]
*/
*/
public void callback( int dwDevice, int dwMessage, int dwInstance, int dwParam1, int dwParam2, int dwParam3) { try { switch (dwMessage) { case LINE_ADDRESSSTATE: break; case LINE_CALLINFO: try { String[] s = this.realProvider.XTGetCallInfo(dwDevice); if(null != s) { // We got caller id info // An array of two strings 1. Name 2. Number // Set the remote terminal name == name // Set the remote address name == number this.remoteName = s[0]; this.remoteNumber = s[1]; } } catch(Exception e) { System.out.println("Exception " + e.toString() + " in callback()"); } break; case LINE_CALLSTATE: lineCallState(dwDevice,dwInstance,dwParam1,dwParam2,dwParam3); break; case LINE_CLOSE: break; case LINE_DEVSPECIFIC: break; case LINE_DEVSPECIFICFEATURE: break; case LINE_GATHERDIGITS: break; case LINE_GENERATE: /* * We have been notified that we have generated digits. But we should already know this. */ break; case LINE_MONITORDIGITS:/* debugString(5,"dwDevice -> " + dwDevice + " dwInstance -> " + dwInstance + " dwParam1 -> " + dwParam1 + " dwParam2 -> " + dwParam2 + " dwParam3 -> " + dwParam3);*/ //System.out.println("Monitoring digits"); //System.out.println("dwDevice -> " + dwDevice + " dwInstance (line) -> " + dwInstance + //" dwParam1 -> " + dwParam1 + " dwParam2 -> " + dwParam2 + //" dwParam3 -> " + dwParam3); AddressInfo ai = (AddressInfo)this.lineToAddr.get(new Integer(dwInstance)); if (ai != null) { String terminal = ai.terminal; char[] detectedChars = { (char)dwParam1 }; Symbol[] syms = SymbolConvertor.convert(new String(detectedChars)); this.gjListener.mediaSignalDetectorDetected(terminal, syms); } break; case LINE_LINEDEVSTATE: lineDevState(dwDevice,dwInstance,dwParam1,dwParam2,dwParam3); break; case LINE_MONITORMEDIA: break; case LINE_MONITORTONE: break; case LINE_REPLY: //m_reply = dwParam2; //m_device = dwInstance; /* TODO: Check LINE_REPLY Data for success Switch on current state, maybe connecting or disconnecting. *//* evt = new XCallActiveEv(m_Call,CallActiveEv.ID, Ev.CAUSE_NEW_CALL,0,false); evlist[0] = evt; publishEvent(evlist); */ break; case LINE_REQUEST: break; case PHONE_BUTTON: break; case PHONE_CLOSE: break; case PHONE_DEVSPECIFIC: break; case PHONE_REPLY: break; case PHONE_STATE: break; case LINE_CREATE: break; case PHONE_CREATE: break; default: System.out.println("UNKNOWN TAPI EVENT: " + dwMessage); break; } }catch(Exception e){ System.out.println("Exception " + e.toString() + " in callback()"); } }
49033 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49033/d726ca1bf323e7a97b897700ac14cd9678134878/XtapiProvider.java/clean/src/xtapiSpSrc/net/sourceforge/gjtapi/raw/xtapi/XtapiProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1348, 12, 202, 202, 474, 12394, 3654, 16, 202, 202, 474, 12394, 1079, 16, 202, 202, 474, 12394, 1442, 16, 202, 202, 474, 12394, 786, 21, 16, 202, 202, 474, 12394, 786, 22, 16, 202, 202, 474, 12394, 786, 23, 13, 288, 3639, 775, 288, 10792, 1620, 261, 22512, 1079, 13, 288, 5411, 648, 14340, 67, 15140, 7998, 30, 7734, 898, 31, 18701, 648, 14340, 67, 13730, 5923, 30, 2398, 202, 698, 288, 202, 7734, 514, 8526, 272, 273, 333, 18, 7688, 2249, 18, 3983, 967, 1477, 966, 12, 22512, 3654, 1769, 6862, 202, 430, 12, 2011, 480, 272, 13, 288, 202, 10792, 368, 1660, 2363, 4894, 612, 1123, 202, 10792, 368, 1922, 526, 434, 2795, 2064, 404, 18, 1770, 576, 18, 3588, 202, 10792, 368, 1000, 326, 2632, 8651, 508, 422, 508, 202, 10792, 368, 1000, 326, 2632, 1758, 508, 422, 1300, 25083, 202, 2211, 18, 7222, 461, 273, 272, 63, 20, 15533, 25083, 202, 2211, 18, 7222, 1854, 273, 272, 63, 21, 15533, 6862, 202, 97, 9506, 202, 97, 1044, 12, 503, 425, 13, 288, 25083, 202, 3163, 18, 659, 18, 8222, 2932, 503, 315, 397, 425, 18, 10492, 1435, 397, 315, 316, 1348, 1435, 8863, 9506, 202, 97, 7734, 898, 31, 18701, 648, 14340, 67, 13730, 7998, 30, 7734, 980, 1477, 1119, 12, 22512, 3654, 16, 22512, 1442, 16, 22512, 786, 21, 16, 22512, 786, 22, 16, 22512, 786, 23, 1769, 7734, 898, 31, 18701, 648, 14340, 67, 13384, 30, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1348, 12, 202, 202, 474, 12394, 3654, 16, 202, 202, 474, 12394, 1079, 16, 202, 202, 474, 12394, 1442, 16, 202, 202, 474, 12394, 786, 21, 16, 202, 202, 474, 12394, 786, 22, 16, 202, 202, 474, 12394, 786, 23, 13, 288, 3639, 775, 288, 10792, 1620, 261, 22512, 1079, 13, 288, 5411, 648, 14340, 67, 15140, 7998, 30, 7734, 898, 31, 18701, 648, 14340, 67, 13730, 5923, 30, 2398, 202, 698, 288, 202, 7734, 514, 8526, 272, 273, 333, 18, 7688, 2249, 18, 3983, 967, 1477, 966, 12, 22512, 3654, 1769, 6862, 202, 430, 12, 2011, 480, 272, 13, 288, 202, 10792, 368, 1660, 2363, 4894, 612, 1123, 202, 10792, 368, 1922, 526, 434, 2 ]
AntGenericReference genRef = (AntGenericReference)ref; if (genRef.isCompletionOnlyReference()) continue; if (ref.resolve() == null) {
final AntGenericReference genRef = (AntGenericReference)ref; if (!genRef.shouldBeSkippedByAnnotator() && ref.resolve() == null) {
private static void checkReferences(AntElement element, @NonNls AnnotationHolder holder) { PsiReference[] refs = element.getReferences(); for (final PsiReference ref : refs) { if (ref instanceof AntGenericReference) { AntGenericReference genRef = (AntGenericReference)ref; if (genRef.isCompletionOnlyReference()) continue; if (ref.resolve() == null) { final TextRange absoluteRange = ref.getRangeInElement().shiftRight(ref.getElement().getTextRange().getStartOffset()); final Annotation annotation = holder.createErrorAnnotation(absoluteRange, genRef.getUnresolvedMessagePattern()); annotation.setHighlightType(ProblemHighlightType.LIKE_UNKNOWN_SYMBOL); final IntentionAction[] intentionActions = genRef.getFixes(); for (IntentionAction action : intentionActions) { annotation.registerFix(action); } } } } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/3ece867b583d194ae843295a9f02c74e078fa0f5/AntAnnotator.java/buggy/plugins/ant/src/com/intellij/lang/ant/validation/AntAnnotator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 866, 8221, 12, 14925, 1046, 930, 16, 632, 3989, 50, 3251, 6090, 6064, 10438, 13, 288, 565, 453, 7722, 2404, 8526, 9047, 273, 930, 18, 588, 8221, 5621, 565, 364, 261, 6385, 453, 7722, 2404, 1278, 294, 9047, 13, 288, 1377, 309, 261, 1734, 1276, 18830, 7014, 2404, 13, 288, 3639, 18830, 7014, 2404, 3157, 1957, 273, 261, 14925, 7014, 2404, 13, 1734, 31, 3639, 309, 261, 4507, 1957, 18, 291, 11238, 3386, 2404, 10756, 1324, 31, 3639, 309, 261, 1734, 18, 10828, 1435, 422, 446, 13, 288, 1850, 727, 3867, 2655, 4967, 2655, 273, 1278, 18, 588, 2655, 382, 1046, 7675, 4012, 4726, 12, 1734, 18, 21336, 7675, 588, 1528, 2655, 7675, 588, 1685, 2335, 10663, 1850, 727, 6090, 3204, 273, 10438, 18, 2640, 668, 3257, 12, 12547, 2655, 16, 3157, 1957, 18, 588, 984, 11792, 1079, 3234, 10663, 1850, 3204, 18, 542, 16205, 559, 12, 13719, 16205, 559, 18, 21538, 67, 14737, 67, 22093, 1769, 1850, 727, 3094, 5054, 1803, 8526, 509, 5054, 6100, 273, 3157, 1957, 18, 588, 8585, 281, 5621, 1850, 364, 261, 1702, 5054, 1803, 1301, 294, 509, 5054, 6100, 13, 288, 5411, 3204, 18, 4861, 8585, 12, 1128, 1769, 1850, 289, 3639, 289, 1377, 289, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 866, 8221, 12, 14925, 1046, 930, 16, 632, 3989, 50, 3251, 6090, 6064, 10438, 13, 288, 565, 453, 7722, 2404, 8526, 9047, 273, 930, 18, 588, 8221, 5621, 565, 364, 261, 6385, 453, 7722, 2404, 1278, 294, 9047, 13, 288, 1377, 309, 261, 1734, 1276, 18830, 7014, 2404, 13, 288, 3639, 18830, 7014, 2404, 3157, 1957, 273, 261, 14925, 7014, 2404, 13, 1734, 31, 3639, 309, 261, 4507, 1957, 18, 291, 11238, 3386, 2404, 10756, 1324, 31, 3639, 309, 261, 1734, 18, 10828, 1435, 422, 446, 13, 288, 1850, 727, 3867, 2655, 4967, 2655, 273, 1278, 18, 588, 2655, 382, 1046, 7675, 4012, 4726, 12, 1734, 18, 21336, 7675, 588, 1528, 2655, 7675, 588, 1685, 2 ]
if(parentGroups != null) { Iterator pgIter = parentGroups.iterator(); while(pgIter.hasNext()) { Group g = (Group) pgIter.next(); String type = g.getGroupType(); if("iwme_club".equals(type)) { clubNameField = g.getName(); } } } if(clubNameField == null) { clubNameField = iwrb.getLocalizedString("ledgerwindow.no_club_text","No club"); }
protected void initializeFields() { IWContext iwc = IWContext.getInstance(); IWResourceBundle iwrb = getResourceBundle(iwc); String lIDString = iwc.getParameter(LEDGER); Integer lID = new Integer(lIDString); //The user logged in is set as the main coach for the ledger if(iwc.isLoggedOn()) { User user =iwc.getCurrentUser(); coachNameField = new Text(user.getName()); } int coachGroupID = getCalendarBusiness(iwc).getLedger(lID.intValue()).getCoachGroupID(); Group coaches = null; List trainers = null; try { coaches = getGroupBusiness(iwc).getGroupByGroupID(coachGroupID); trainers = (List) getGroupBusiness(iwc).getUsers(coaches); }catch(Exception e) { e.printStackTrace(); } if(trainers != null && trainers.size() != 0) { StringBuffer buff = new StringBuffer(); Iterator trainersIter = trainers.iterator(); while(trainersIter.hasNext()) { User trainer = (User) trainersIter.next(); buff.append(trainer.getName()); buff.append("<br>"); } otherCoachesNameField = buff.toString(); } else { otherCoachesNameField = ""; } // int groupID = getCalendarBusiness(iwc).getLedger(lID.intValue()).getGroupID(); try { groupNameField = getGroupBusiness(iwc).getGroupByGroupID(groupID).getName(); }catch (Exception e) { e.printStackTrace(); } Timestamp fromD = getCalendarBusiness(iwc).getLedger(lID.intValue()).getDate(); IWTimestamp iwFromD = new IWTimestamp(fromD); //fromDate is the start date of the ledger fromDateField = iwFromD.getDateString("dd. MMMMMMM yyyy"); //when save button is pushed the new ledger is created saveButton = new SubmitButton(iwrb.getLocalizedString("ledgerwindow.save","Save"),saveButtonParameterName,saveButtonParameterValue); //closes the window closeButton = new CloseButton(iwrb.getLocalizedString("ledgerwindow.close","Close")); printButton = new PrintButton(iwrb.getLocalizedString("ledgerwindow.print","Print")); }
11359 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11359/c90d50016616a0fee0c3f819db7885cf1e81aa27/LedgerWindow.java/buggy/src/java/com/idega/block/cal/presentation/LedgerWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 430, 12, 2938, 3621, 480, 446, 13, 288, 4498, 7184, 2360, 273, 982, 3621, 18, 9838, 5621, 1323, 12, 8365, 2360, 18, 5332, 2134, 10756, 288, 3756, 314, 273, 261, 1114, 13, 7184, 2360, 18, 4285, 5621, 514, 618, 273, 314, 18, 588, 1114, 559, 5621, 309, 2932, 22315, 3501, 67, 830, 373, 9654, 14963, 12, 723, 3719, 288, 927, 373, 461, 974, 273, 314, 18, 17994, 5621, 289, 289, 289, 309, 12, 830, 373, 461, 974, 422, 446, 13, 288, 927, 373, 461, 974, 273, 25522, 6731, 18, 588, 2042, 1235, 780, 2932, 1259, 693, 5668, 18, 2135, 67, 830, 373, 67, 955, 15937, 2279, 927, 373, 8863, 289, 918, 430, 12, 2938, 3621, 480, 446, 13, 288, 4498, 7184, 2360, 273, 982, 3621, 18, 9838, 5621, 1323, 12, 8365, 2360, 18, 5332, 2134, 10756, 288, 3756, 314, 273, 261, 1114, 13, 7184, 2360, 18, 4285, 5621, 514, 618, 273, 314, 18, 588, 1114, 559, 5621, 309, 2932, 22315, 3501, 67, 830, 373, 9654, 14963, 12, 723, 3719, 288, 927, 373, 461, 974, 273, 314, 18, 17994, 5621, 289, 289, 289, 309, 12, 830, 373, 461, 974, 422, 446, 13, 288, 927, 373, 461, 974, 273, 25522, 6731, 18, 588, 2042, 1235, 780, 2932, 1259, 693, 5668, 18, 2135, 67, 830, 373, 67, 955, 15937, 2279, 927, 373, 8863, 289, 4046, 2314, 1435, 430, 12, 2938, 3621, 480, 446, 13, 288, 4498, 7184, 2360, 273, 982, 3621, 18, 9838, 5621, 1323, 12, 8365, 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, 430, 12, 2938, 3621, 480, 446, 13, 288, 4498, 7184, 2360, 273, 982, 3621, 18, 9838, 5621, 1323, 12, 8365, 2360, 18, 5332, 2134, 10756, 288, 3756, 314, 273, 261, 1114, 13, 7184, 2360, 18, 4285, 5621, 514, 618, 273, 314, 18, 588, 1114, 559, 5621, 309, 2932, 22315, 3501, 67, 830, 373, 9654, 14963, 12, 723, 3719, 288, 927, 373, 461, 974, 273, 314, 18, 17994, 5621, 289, 289, 289, 309, 12, 830, 373, 461, 974, 422, 446, 13, 288, 927, 373, 461, 974, 273, 25522, 6731, 18, 588, 2042, 1235, 780, 2932, 1259, 693, 5668, 18, 2135, 67, 830, 373, 67, 955, 15937, 2279, 927, 373, 8863, 289, 918, 430, 12, 2938, 3621, 480, 2 ]
saver = (weka.core.converters.Saver) o;
saver = (weka.core.converters.Saver) o;
public Element writeSaver(Element parent, Object o, String name) throws Exception { Element node; weka.core.converters.Saver saver; File file; boolean known; // for debugging only if (DEBUG) trace(new Throwable(), name); m_CurrentNode = parent; saver = (weka.core.converters.Saver) o; node = addElement(parent, name, saver.getClass().getName(), false); known = true; file = null; // file if (saver instanceof weka.core.converters.ArffSaver) file = ((weka.core.converters.ArffSaver) saver).retrieveFile(); else if (saver instanceof weka.core.converters.C45Saver) file = ((weka.core.converters.C45Saver) saver).retrieveFile(); else if (saver instanceof weka.core.converters.CSVSaver) file = ((weka.core.converters.CSVSaver) saver).retrieveFile(); else if (saver instanceof weka.core.converters.SerializedInstancesSaver) file = ((weka.core.converters.SerializedInstancesSaver) saver).retrieveFile(); else known = false; if (!known) System.out.println("WARNING: unknown saver class '" + saver.getClass().getName() + "' - cannot retrieve file!"); // only save it, if it's a real file! if ( (file == null) || (file.isDirectory()) ) invokeWriteToXML(node, "", VAL_FILE); else invokeWriteToXML(node, file.getAbsolutePath(), VAL_FILE); return node; }
48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/74c29fcd5223a83bab0fd8795d7c3121991f6c16/XMLBeans.java/buggy/weka/gui/beans/xml/XMLBeans.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3010, 1045, 55, 21851, 12, 1046, 982, 16, 1033, 320, 16, 514, 508, 13, 1377, 1216, 1185, 288, 3639, 3010, 5397, 756, 31, 565, 732, 7282, 18, 3644, 18, 15747, 87, 18, 55, 21851, 225, 7864, 502, 31, 565, 1387, 13491, 585, 31, 565, 1250, 5397, 4846, 31, 565, 368, 364, 10450, 1338, 565, 309, 261, 9394, 13, 4202, 2606, 12, 2704, 4206, 9334, 508, 1769, 3639, 312, 67, 3935, 907, 273, 982, 31, 3639, 7864, 502, 225, 273, 261, 1814, 7282, 18, 3644, 18, 15747, 87, 18, 55, 21851, 13, 320, 31, 565, 756, 282, 273, 9335, 12, 2938, 16, 508, 16, 7864, 502, 18, 588, 797, 7675, 17994, 9334, 629, 1769, 565, 4846, 273, 638, 31, 565, 585, 225, 273, 446, 31, 565, 368, 585, 565, 309, 261, 13098, 502, 1276, 732, 7282, 18, 3644, 18, 15747, 87, 18, 686, 1403, 55, 21851, 13, 1377, 585, 273, 14015, 1814, 7282, 18, 3644, 18, 15747, 87, 18, 686, 1403, 55, 21851, 13, 7864, 502, 2934, 17466, 812, 5621, 565, 469, 309, 261, 13098, 502, 1276, 732, 7282, 18, 3644, 18, 15747, 87, 18, 39, 7950, 55, 21851, 13, 1377, 585, 273, 14015, 1814, 7282, 18, 3644, 18, 15747, 87, 18, 39, 7950, 55, 21851, 13, 7864, 502, 2934, 17466, 812, 5621, 565, 469, 309, 261, 13098, 502, 1276, 732, 7282, 18, 3644, 18, 15747, 87, 18, 4596, 14640, 21851, 13, 1377, 585, 273, 14015, 1814, 7282, 18, 3644, 18, 15747, 87, 18, 4596, 14640, 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, 3010, 1045, 55, 21851, 12, 1046, 982, 16, 1033, 320, 16, 514, 508, 13, 1377, 1216, 1185, 288, 3639, 3010, 5397, 756, 31, 565, 732, 7282, 18, 3644, 18, 15747, 87, 18, 55, 21851, 225, 7864, 502, 31, 565, 1387, 13491, 585, 31, 565, 1250, 5397, 4846, 31, 565, 368, 364, 10450, 1338, 565, 309, 261, 9394, 13, 4202, 2606, 12, 2704, 4206, 9334, 508, 1769, 3639, 312, 67, 3935, 907, 273, 982, 31, 3639, 7864, 502, 225, 273, 261, 1814, 7282, 18, 3644, 18, 15747, 87, 18, 55, 21851, 13, 320, 31, 565, 756, 282, 273, 9335, 12, 2938, 16, 508, 16, 7864, 502, 18, 588, 797, 7675, 17994, 9334, 629, 1769, 565, 4846, 273, 638, 2 ]
+ " It should have. I don't know why it doesn't.", uee);
+ " It should have. I don't know why it doesn't.", uee);
private static byte[] toUTF8(final Object a) { try { if (a instanceof TreeEntry) { return ((TreeEntry) a).getNameUTF8(); } else if (a instanceof String) { return ((String) a).getBytes("UTF-8"); } else { throw new IllegalArgumentException("Not a TreeEntry" + " or String: " + a); } } catch (UnsupportedEncodingException uee) { throw new RuntimeException("JVM does not support UTF-8." + " It should have. I don't know why it doesn't.", uee); } }
45532 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45532/95e2adba28c9a11f01009dd846fb7366bec613c5/TreeNameComparator.java/clean/org.spearce.jgit/src/org/spearce/jgit/lib/TreeNameComparator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1160, 8526, 358, 5159, 28, 12, 6385, 1033, 279, 13, 288, 3639, 775, 288, 5411, 309, 261, 69, 1276, 4902, 1622, 13, 288, 7734, 327, 14015, 2471, 1622, 13, 279, 2934, 17994, 5159, 28, 5621, 5411, 289, 469, 309, 261, 69, 1276, 514, 13, 288, 7734, 327, 14015, 780, 13, 279, 2934, 588, 2160, 2932, 5159, 17, 28, 8863, 5411, 289, 469, 288, 7734, 604, 394, 2754, 2932, 1248, 279, 4902, 1622, 6, 13491, 397, 315, 578, 514, 30, 315, 397, 279, 1769, 5411, 289, 3639, 289, 1044, 261, 8544, 13836, 17869, 73, 13, 288, 5411, 604, 394, 3235, 2932, 46, 7397, 1552, 486, 2865, 6380, 17, 28, 1199, 10792, 397, 315, 225, 2597, 1410, 1240, 18, 225, 467, 2727, 1404, 5055, 11598, 518, 3302, 1404, 1199, 16, 17869, 73, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1160, 8526, 358, 5159, 28, 12, 6385, 1033, 279, 13, 288, 3639, 775, 288, 5411, 309, 261, 69, 1276, 4902, 1622, 13, 288, 7734, 327, 14015, 2471, 1622, 13, 279, 2934, 17994, 5159, 28, 5621, 5411, 289, 469, 309, 261, 69, 1276, 514, 13, 288, 7734, 327, 14015, 780, 13, 279, 2934, 588, 2160, 2932, 5159, 17, 28, 8863, 5411, 289, 469, 288, 7734, 604, 394, 2754, 2932, 1248, 279, 4902, 1622, 6, 13491, 397, 315, 578, 514, 30, 315, 397, 279, 1769, 5411, 289, 3639, 289, 1044, 261, 8544, 13836, 17869, 73, 13, 288, 5411, 604, 394, 3235, 2932, 46, 7397, 1552, 486, 2865, 6380, 17, 28, 1199, 10792, 397, 315, 225, 2597, 1410, 1240, 2 ]
if(proto != null) {
if (proto != null) {
protected Object[] getChildren() { if(children != null) return children; Context cx = Context.enter(); try { Object value = getObject(); if(value == null) return children = empty; if(value == ScriptableObject.NOT_FOUND || value == Undefined.instance) { return children = empty; } if(value instanceof Scriptable) { Scriptable scrip = (Scriptable)value; Scriptable proto = scrip.getPrototype(); Scriptable parent = scrip.getParentScope(); if(value instanceof NativeCall) { if(name != null && name.equals("this")) { // this is the local variables table root // don't show the __parent__ property parent = null; } else if(!(parent instanceof NativeCall)) { // don't bother showing [object Global] as // the __parent__ property which just creates // more noise parent = null; } } if(proto != null) { if(builtin == null) { builtin = new Scriptable[6]; builtin[0] = ScriptableObject.getObjectPrototype(scrip); builtin[1] = ScriptableObject.getFunctionPrototype(scrip); builtin[2] = ScriptableObject.getClassPrototype(scrip, "String"); builtin[3] = ScriptableObject.getClassPrototype(scrip, "Boolean"); builtin[4] = ScriptableObject.getClassPrototype(scrip, "Array"); builtin[5] = ScriptableObject.getClassPrototype(scrip, "Number"); } for(int i = 0; i < builtin.length; i++) { if(proto == builtin[i]) { proto = null; break; } } } if(scrip.has(0, scrip)) { int len = 0; try { Scriptable start = scrip; Scriptable obj = start; Object result = Undefined.instance; do { if(obj.has("length", start)) { result = obj.get("length", start); if (result != Scriptable.NOT_FOUND) break; } obj = obj.getPrototype(); } while (obj != null); if(result instanceof Number) { len = ((Number)result).intValue(); } } catch(Exception exc) { } if(parent != null) { len++; } if(proto != null) { len++; } children = new VariableNode[len]; int i = 0; int j = 0; if(proto != null) { children[i++] = new VariableNode(scrip, "__proto__"); j++; } if(parent != null) { children[i++] = new VariableNode(scrip, "__parent__"); j++; } for(; i < len; i++) { children[i] = new VariableNode(scrip, i-j); } } else { int len = 0; Hashtable t = new Hashtable(); Object[] ids = scrip.getIds(); if(proto != null) t.put("__proto__", "__proto__"); if(parent != null) t.put("__parent__", "__parent__"); if(ids.length > 0) { for(int j = 0; j < ids.length; j++) { t.put(ids[j], ids[j]); } } ids = new Object[t.size()]; Enumeration e = t.keys(); int j = 0; while(e.hasMoreElements()) { ids[j++] = e.nextElement().toString(); } if(ids != null && ids.length > 0) { java.util.Arrays.sort(ids, new java.util.Comparator() { public int compare(Object l, Object r) { return l.toString().compareToIgnoreCase(r.toString()); } }); len = ids.length; } children = new VariableNode[len]; for(int i = 0; i < len; i++) { Object id = ids[i]; children[i] = new VariableNode(scrip, id.toString()); } } } } catch (Exception exc) { exc.printStackTrace(); } finally { cx.exit(); } return children; }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/b9766e81693411fa600b26b9a0763dcf621b2770/VariableModel.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/VariableModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1033, 8526, 10268, 1435, 288, 3639, 309, 12, 5906, 480, 446, 13, 327, 2325, 31, 3639, 1772, 9494, 273, 1772, 18, 2328, 5621, 3639, 775, 288, 5411, 1033, 460, 273, 6455, 5621, 5411, 309, 12, 1132, 422, 446, 13, 327, 2325, 273, 1008, 31, 5411, 309, 12, 1132, 422, 22780, 921, 18, 4400, 67, 9294, 747, 9079, 460, 422, 22243, 18, 1336, 13, 288, 7734, 327, 2325, 273, 1008, 31, 5411, 289, 5411, 309, 12, 1132, 1276, 22780, 13, 288, 7734, 22780, 888, 21335, 273, 261, 3651, 429, 13, 1132, 31, 7734, 22780, 3760, 273, 888, 21335, 18, 588, 15846, 5621, 7734, 22780, 982, 273, 888, 21335, 18, 588, 3054, 3876, 5621, 7734, 309, 12, 1132, 1276, 16717, 1477, 13, 288, 10792, 309, 12, 529, 480, 446, 597, 508, 18, 14963, 2932, 2211, 6, 3719, 288, 13491, 368, 333, 353, 326, 1191, 3152, 1014, 1365, 13491, 368, 2727, 1404, 2405, 326, 1001, 2938, 972, 1272, 13491, 982, 273, 446, 31, 10792, 289, 469, 309, 12, 5, 12, 2938, 1276, 16717, 1477, 3719, 288, 13491, 368, 2727, 1404, 23440, 17253, 306, 1612, 8510, 65, 487, 13491, 368, 326, 1001, 2938, 972, 1272, 1492, 2537, 3414, 13491, 368, 1898, 10825, 13491, 982, 273, 446, 31, 10792, 289, 7734, 289, 7734, 309, 261, 9393, 480, 446, 13, 288, 10792, 309, 12, 24553, 422, 446, 13, 288, 13491, 15273, 273, 394, 22780, 63, 26, 15533, 13491, 15273, 63, 20, 65, 273, 18701, 22780, 921, 18, 588, 921, 15846, 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, 4750, 1033, 8526, 10268, 1435, 288, 3639, 309, 12, 5906, 480, 446, 13, 327, 2325, 31, 3639, 1772, 9494, 273, 1772, 18, 2328, 5621, 3639, 775, 288, 5411, 1033, 460, 273, 6455, 5621, 5411, 309, 12, 1132, 422, 446, 13, 327, 2325, 273, 1008, 31, 5411, 309, 12, 1132, 422, 22780, 921, 18, 4400, 67, 9294, 747, 9079, 460, 422, 22243, 18, 1336, 13, 288, 7734, 327, 2325, 273, 1008, 31, 5411, 289, 5411, 309, 12, 1132, 1276, 22780, 13, 288, 7734, 22780, 888, 21335, 273, 261, 3651, 429, 13, 1132, 31, 7734, 22780, 3760, 273, 888, 21335, 18, 588, 15846, 5621, 7734, 22780, 982, 273, 888, 21335, 18, 588, 3054, 3876, 5621, 7734, 309, 12, 1132, 1276, 2 ]
return encode(cx, str, methodId == Id_encodeURI);
return encode(str, methodId == Id_encodeURI);
public Object execMethod(IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) { if (f.hasTag(FTAG)) { int methodId = f.methodId(); switch (methodId) { case Id_decodeURI: case Id_decodeURIComponent: { String str = ScriptRuntime.toString(args, 0); return decode(cx, str, methodId == Id_decodeURI); } case Id_encodeURI: case Id_encodeURIComponent: { String str = ScriptRuntime.toString(args, 0); return encode(cx, str, methodId == Id_encodeURI); } case Id_escape: return js_escape(cx, args); case Id_eval: return js_eval(cx, scope, args); case Id_isFinite: { if (args.length < 1) return Boolean.FALSE; double d = ScriptRuntime.toNumber(args[0]); return (d != d || d == Double.POSITIVE_INFINITY || d == Double.NEGATIVE_INFINITY) ? Boolean.FALSE : Boolean.TRUE; } case Id_isNaN: { // The global method isNaN, as per ECMA-262 15.1.2.6. if (args.length < 1) return Boolean.TRUE; double d = ScriptRuntime.toNumber(args[0]); return (d != d) ? Boolean.TRUE : Boolean.FALSE; } case Id_parseFloat: return js_parseFloat(cx, args); case Id_parseInt: return js_parseInt(cx, args); case Id_unescape: return js_unescape(cx, args); case Id_uneval: { Object value = (args.length != 0) ? args[0] : Undefined.instance; return ScriptRuntime.uneval(cx, scope, value); } case Id_new_CommonError: // The implementation of all the ECMA error constructors // (SyntaxError, TypeError, etc.) return NativeError.make(cx, scope, f, args); } } throw f.unknown(); }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/4ad826a35e76cb27011d7ce32f9515c2d80a93c0/NativeGlobal.java/clean/js/rhino/src/org/mozilla/javascript/NativeGlobal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 12, 548, 2083, 284, 16, 1772, 9494, 16, 22780, 2146, 16, 11794, 22780, 15261, 16, 1033, 8526, 833, 13, 565, 288, 3639, 309, 261, 74, 18, 5332, 1805, 12, 4464, 1781, 3719, 288, 5411, 509, 707, 548, 273, 284, 18, 2039, 548, 5621, 5411, 1620, 261, 2039, 548, 13, 288, 7734, 648, 3124, 67, 3922, 3098, 30, 7734, 648, 3124, 67, 3922, 19000, 30, 288, 10792, 514, 609, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 10792, 327, 2495, 12, 71, 92, 16, 609, 16, 707, 548, 422, 3124, 67, 3922, 3098, 1769, 7734, 289, 7734, 648, 3124, 67, 3015, 3098, 30, 7734, 648, 3124, 67, 3015, 19000, 30, 288, 10792, 514, 609, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 10792, 327, 2017, 12, 701, 16, 707, 548, 422, 3124, 67, 3015, 3098, 1769, 7734, 289, 7734, 648, 3124, 67, 6939, 30, 10792, 327, 3828, 67, 6939, 12, 71, 92, 16, 833, 1769, 7734, 648, 3124, 67, 8622, 30, 10792, 327, 3828, 67, 8622, 12, 71, 92, 16, 2146, 16, 833, 1769, 7734, 648, 3124, 67, 291, 26491, 30, 288, 10792, 309, 261, 1968, 18, 2469, 411, 404, 13, 13491, 327, 3411, 18, 21053, 31, 10792, 1645, 302, 273, 7739, 5576, 18, 869, 1854, 12, 1968, 63, 20, 19226, 10792, 327, 261, 72, 480, 302, 747, 302, 422, 3698, 18, 7057, 16325, 67, 17716, 747, 18701, 302, 422, 3698, 18, 5407, 22421, 67, 17716, 13, 21821, 692, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 12, 548, 2083, 284, 16, 1772, 9494, 16, 22780, 2146, 16, 11794, 22780, 15261, 16, 1033, 8526, 833, 13, 565, 288, 3639, 309, 261, 74, 18, 5332, 1805, 12, 4464, 1781, 3719, 288, 5411, 509, 707, 548, 273, 284, 18, 2039, 548, 5621, 5411, 1620, 261, 2039, 548, 13, 288, 7734, 648, 3124, 67, 3922, 3098, 30, 7734, 648, 3124, 67, 3922, 19000, 30, 288, 10792, 514, 609, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 10792, 327, 2495, 12, 71, 92, 16, 609, 16, 707, 548, 422, 3124, 67, 3922, 3098, 1769, 7734, 289, 7734, 648, 3124, 67, 3015, 3098, 30, 7734, 648, 3124, 67, 3015, 19000, 30, 288, 10792, 514, 2 ]
f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, 32); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, 32); f[4] = new Field(connection, "GRANTOR", iVarcharOid, 32); f[5] = new Field(connection, "GRANTEE", iVarcharOid, 32); f[6] = new Field(connection, "PRIVILEGE", iVarcharOid, 32); f[7] = new Field(connection, "IS_GRANTABLE", iVarcharOid, 32);
f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, NAME_SIZE); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, NAME_SIZE); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, NAME_SIZE); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, NAME_SIZE); f[4] = new Field(connection, "GRANTOR", iVarcharOid, NAME_SIZE); f[5] = new Field(connection, "GRANTEE", iVarcharOid, NAME_SIZE); f[6] = new Field(connection, "PRIVILEGE", iVarcharOid, NAME_SIZE); f[7] = new Field(connection, "IS_GRANTABLE", iVarcharOid, NAME_SIZE);
public java.sql.ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException { Field f[] = new Field[8]; Vector v = new Vector(); if (table == null) table = "%"; if (columnNamePattern == null) columnNamePattern = "%"; else columnNamePattern = columnNamePattern.toLowerCase(); f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, 32); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, 32); f[4] = new Field(connection, "GRANTOR", iVarcharOid, 32); f[5] = new Field(connection, "GRANTEE", iVarcharOid, 32); f[6] = new Field(connection, "PRIVILEGE", iVarcharOid, 32); f[7] = new Field(connection, "IS_GRANTABLE", iVarcharOid, 32); // This is taken direct from the psql source java.sql.ResultSet r = connection.ExecSQL("SELECT relname, relacl FROM pg_class, pg_user WHERE ( relkind = 'r' OR relkind = 'i') and relname !~ '^pg_' and relname !~ '^xin[vx][0-9]+' and usesysid = relowner and relname like '" + table.toLowerCase() + "' ORDER BY relname"); while (r.next()) { byte[][] tuple = new byte[8][0]; tuple[0] = tuple[1] = "".getBytes(); if (Driver.logDebug) Driver.debug("relname=\"" + r.getString(1) + "\" relacl=\"" + r.getString(2) + "\""); // For now, don't add to the result as relacl needs to be processed. //v.addElement(tuple); } return connection.getResultSet(null, f, v, "OK", 1); }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/62da2fa0e1cb3cf1df8d633f785e391c35477f7e/AbstractJdbc1DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 6716, 27692, 12, 780, 6222, 16, 514, 1963, 16, 514, 1014, 16, 514, 7578, 3234, 13, 1216, 6483, 202, 95, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 28, 15533, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 430, 261, 2121, 422, 446, 13, 1082, 202, 2121, 273, 2213, 14432, 202, 202, 430, 261, 2827, 461, 3234, 422, 446, 13, 1082, 202, 2827, 461, 3234, 273, 2213, 14432, 202, 202, 12107, 1082, 202, 2827, 461, 3234, 273, 7578, 3234, 18, 869, 5630, 5621, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 315, 6997, 6856, 916, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 6997, 1258, 1448, 41, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 26, 65, 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, 225, 202, 482, 2252, 18, 4669, 18, 13198, 6716, 27692, 12, 780, 6222, 16, 514, 1963, 16, 514, 1014, 16, 514, 7578, 3234, 13, 1216, 6483, 202, 95, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 28, 15533, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 430, 261, 2121, 422, 446, 13, 1082, 202, 2121, 273, 2213, 14432, 202, 202, 430, 261, 2827, 461, 3234, 422, 446, 13, 1082, 202, 2827, 461, 3234, 273, 2213, 14432, 202, 202, 12107, 1082, 202, 2827, 461, 3234, 273, 7578, 3234, 18, 869, 5630, 5621, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 2 ]
masks[i] &= ~COMPUTED_MASK; masks[i] |= (b) ? COMPUTED_MASK : 0;
if (b) masks[i] |= COMPUTED_MASK; else masks[i] &= ~COMPUTED_MASK;
public void putComputed(int i, boolean b) { masks[i] &= ~COMPUTED_MASK; masks[i] |= (b) ? COMPUTED_MASK : 0; }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/8d03ce5e4f1f836a7a182162a820e4f42e2f60de/StyleMap.java/clean/sources/org/apache/batik/css/engine/StyleMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 17934, 12, 474, 277, 16, 1250, 324, 13, 288, 3639, 20931, 63, 77, 65, 12058, 4871, 10057, 57, 6404, 67, 11704, 31, 3639, 20931, 63, 77, 65, 5626, 261, 70, 13, 692, 13846, 57, 6404, 67, 11704, 294, 374, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 17934, 12, 474, 277, 16, 1250, 324, 13, 288, 3639, 20931, 63, 77, 65, 12058, 4871, 10057, 57, 6404, 67, 11704, 31, 3639, 20931, 63, 77, 65, 5626, 261, 70, 13, 692, 13846, 57, 6404, 67, 11704, 294, 374, 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 ]
private void updateVerifierControl(int decompiledLine) {
protected void updateVerifierControl(int decompiledLine) {
private void updateVerifierControl(int decompiledLine) { lvtTable.removeAll(); stackTable.removeAll(); String[][][] frame = lastDecompiledResult.getFrameTables( decompiledLine, showQualifiedNames); if (frame != null) { for (int i = 0; i < frame[0].length; ++i) { if (frame[0][i] != null) { new TableItem(lvtTable, SWT.NONE).setText(frame[0][i]); } } for (int i = 0; i < frame[1].length; ++i) { if (frame[1][i] != null) { new TableItem(stackTable, SWT.NONE).setText(frame[1][i]); } } lvtTable.getColumn(0).pack(); lvtTable.getColumn(1).pack(); lvtTable.getColumn(2).pack(); stackTable.getColumn(0).pack(); stackTable.getColumn(1).pack(); } else { // lvtControl.setText(""); // stackControl.setText(""); } tableControl.setSelection(decompiledLine); }
2697 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2697/ac0834dfd80b120c573481251d075c707235b683/BytecodeOutlineView.java/clean/eclipse/plugin/src/de/loskutov/bco/views/BytecodeOutlineView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1089, 17758, 3367, 12, 474, 443, 19397, 1670, 13, 288, 3639, 5362, 88, 1388, 18, 4479, 1595, 5621, 3639, 2110, 1388, 18, 4479, 1595, 5621, 3639, 514, 63, 6362, 6362, 65, 2623, 273, 1142, 17731, 84, 1411, 1253, 18, 588, 3219, 6905, 12, 5411, 443, 19397, 1670, 16, 2405, 8708, 1557, 1769, 3639, 309, 261, 3789, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2623, 63, 20, 8009, 2469, 31, 965, 77, 13, 288, 7734, 309, 261, 3789, 63, 20, 6362, 77, 65, 480, 446, 13, 288, 10792, 394, 3555, 1180, 12, 3070, 88, 1388, 16, 348, 8588, 18, 9826, 2934, 542, 1528, 12, 3789, 63, 20, 6362, 77, 19226, 7734, 289, 5411, 289, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2623, 63, 21, 8009, 2469, 31, 965, 77, 13, 288, 7734, 309, 261, 3789, 63, 21, 6362, 77, 65, 480, 446, 13, 288, 10792, 394, 3555, 1180, 12, 3772, 1388, 16, 348, 8588, 18, 9826, 2934, 542, 1528, 12, 3789, 63, 21, 6362, 77, 19226, 7734, 289, 5411, 289, 5411, 5362, 88, 1388, 18, 588, 1494, 12, 20, 2934, 2920, 5621, 5411, 5362, 88, 1388, 18, 588, 1494, 12, 21, 2934, 2920, 5621, 5411, 5362, 88, 1388, 18, 588, 1494, 12, 22, 2934, 2920, 5621, 5411, 2110, 1388, 18, 588, 1494, 12, 20, 2934, 2920, 5621, 5411, 2110, 1388, 18, 588, 1494, 12, 21, 2934, 2920, 5621, 3639, 289, 469, 288, 5411, 368, 5362, 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, 1089, 17758, 3367, 12, 474, 443, 19397, 1670, 13, 288, 3639, 5362, 88, 1388, 18, 4479, 1595, 5621, 3639, 2110, 1388, 18, 4479, 1595, 5621, 3639, 514, 63, 6362, 6362, 65, 2623, 273, 1142, 17731, 84, 1411, 1253, 18, 588, 3219, 6905, 12, 5411, 443, 19397, 1670, 16, 2405, 8708, 1557, 1769, 3639, 309, 261, 3789, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2623, 63, 20, 8009, 2469, 31, 965, 77, 13, 288, 7734, 309, 261, 3789, 63, 20, 6362, 77, 65, 480, 446, 13, 288, 10792, 394, 3555, 1180, 12, 3070, 88, 1388, 16, 348, 8588, 18, 9826, 2934, 542, 1528, 12, 3789, 63, 20, 6362, 77, 19226, 2 ]
if (ChainBuilderAgent.DEBUG) {
/*if (ChainBuilderAgent.DEBUG) {
public void mouseDragged(PInputEvent e) { if (ChainBuilderAgent.DEBUG) { System.err.println("CHAIN HANDLER:got a drag event in chain canvas"); System.err.println("mouse dragged..."+e.getPickedNode()); } mouseMoved(e); super.mouseDragged(e); }
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/869da38edf32c7e711340685a28d8c8e84694f92/ChainCreationEventHandler.java/buggy/SRC/org/openmicroscopy/shoola/agents/chainbuilder/piccolo/ChainCreationEventHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7644, 11728, 2423, 12, 52, 1210, 1133, 425, 13, 288, 202, 202, 430, 261, 3893, 1263, 3630, 18, 9394, 13, 288, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 1792, 6964, 24166, 14668, 30, 13212, 279, 8823, 871, 316, 2687, 5953, 8863, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 11697, 8823, 2423, 7070, 15, 73, 18, 588, 17968, 329, 907, 10663, 202, 202, 97, 202, 202, 11697, 25317, 12, 73, 1769, 202, 202, 9565, 18, 11697, 11728, 2423, 12, 73, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7644, 11728, 2423, 12, 52, 1210, 1133, 425, 13, 288, 202, 202, 430, 261, 3893, 1263, 3630, 18, 9394, 13, 288, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 1792, 6964, 24166, 14668, 30, 13212, 279, 8823, 871, 316, 2687, 5953, 8863, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 11697, 8823, 2423, 7070, 15, 73, 18, 588, 17968, 329, 907, 10663, 202, 202, 97, 202, 202, 11697, 25317, 12, 73, 1769, 202, 202, 9565, 18, 11697, 11728, 2423, 12, 73, 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 ]
public void setLongFileMode(int longFileMode) {
public void setLongFileMode( int longFileMode ) {
public void setLongFileMode(int longFileMode) { this.longFileMode = longFileMode; }
55907 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55907/4da7a225ba9c01ca94805923e06e3fb2d46bf201/TarOutputStream.java/buggy/plexus-archiver/src/main/java/org/codehaus/plexus/archiver/tar/TarOutputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 3708, 812, 2309, 12, 509, 1525, 812, 2309, 262, 288, 3639, 333, 18, 5748, 812, 2309, 273, 1525, 812, 2309, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 3708, 812, 2309, 12, 509, 1525, 812, 2309, 262, 288, 3639, 333, 18, 5748, 812, 2309, 273, 1525, 812, 2309, 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 ]
if (sizeZ == 1) {
if (zSize == 1) {
private void setDimensions(int[][] dims) throws FormatException, IOException { // first set X and Y // this is relatively easy - we can just take the maximum value int maxX = 0; int maxY = 0; for (int i=0; i<dims.length; i++) { if (dims[i][0] > maxX) { maxX = dims[i][0]; } if (dims[i][1] > maxY) { maxY = dims[i][1]; } } for (int i=0; i<dimensions.length; i++) { if (dimensions[i] == 0) dimensions[i]++; } // now the tricky part - setting Z, C and T // first we'll get a list of the prefix blocks Vector prefixes = new Vector(); int i = 0; String prefix = fp.getPrefix(i); while (prefix != null) { prefixes.add(prefix); i++; prefix = fp.getPrefix(i); } int[] counts = fp.getCount(); int sizeZ = 1; int sizeC = 1; int sizeT = 1; String ordering = ""; for (int j=0; j<counts.length; j++) { // which dimension is this? int zndx = -1; int cndx = -1; int tndx = -1; String p = (String) prefixes.get(j); for (int k=0; k<Z.length; k++) { if (p.indexOf(Z[k]) != -1) { zndx = k; } } if (counts[j] <= 4) { for (int k=0; k<C.length; k++) { if (p.indexOf(C[k]) != -1) { cndx = k; } } } for (int k=0; k<T.length; k++) { if (p.indexOf(T[k]) != -1) { tndx = k; } } if (zndx != -1 || cndx != -1 || tndx != -1) { // the largest of these three is the dimension we will choose int zpos = zndx == -1 ? -1 : p.indexOf(Z[zndx]); int cpos = cndx == -1 ? -1 : p.indexOf(C[cndx]); int tpos = tndx == -1 ? -1 : p.indexOf(T[tndx]); int max = zpos; if (cpos > max) max = cpos; if (tpos > max) max = tpos; if (max == zpos) { ordering += "Z"; sizeZ = counts[j]; } else if (max == cpos) { if (sizeC == 1 && !isRGB(currentId)) { ordering += "C"; sizeC = counts[j]; } else { if (sizeZ == 1) { ordering += "Z"; sizeZ = counts[j]; } else if (sizeT == 1) { ordering += "T"; sizeT = counts[j]; } else sizeC *= counts[j]; } } else { ordering += "T"; sizeT = counts[j]; } } else { // our simple check failed, so let's try some more complex stuff // if the count is 2 or 3, it's probably a C size if (counts[j] == 2 || counts[j] == 3) { if (!varyZ && !varyC && !varyT) { if (counts[j] != 1) { // we already set this dimension if (sizeZ == 1) { sizeZ = sizeC; ordering += "Z"; } else if (sizeT == 1) { sizeT = sizeC; ordering += "T"; } } if (ordering.indexOf("C") == -1) ordering += "C"; sizeC = counts[j]; } } else { // the most likely choice is whichever dimension is currently set to 1 if (dimensions[2] == 1) { ordering += "Z"; sizeZ = counts[j]; } else if (dimensions[4] == 1) { ordering += "T"; sizeT = counts[j]; } } } } // reset the dimensions, preserving internal sizes dimensions[3] *= sizeC; if (sizeZ > 1 && dimensions[2] > 1) { if (dimensions[4] == 1) { dimensions[4] = dimensions[2]; dimensions[2] = sizeZ; } else dimensions[2] *= sizeZ; } else dimensions[2] *= sizeZ; if (sizeT > 1 && dimensions[4] > 1) { if (dimensions[2] == 1) { dimensions[2] = dimensions[4]; dimensions[4] = sizeT; } else dimensions[4] *= sizeT; } else dimensions[4] *= sizeT; // make sure ordering is right String begin = ""; String readerOrder = reader.getDimensionOrder(currentId); for (int j=0; j<readerOrder.length(); j++) { if (ordering.indexOf(readerOrder.substring(j, j+1)) == -1) { begin += readerOrder.substring(j, j+1); } } ordering = begin + ordering; order = ordering.substring(0, 5); }
46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/054bd26b1432b6733cf1a54342b04ae97fa3a07c/FileStitcher.java/buggy/loci/formats/FileStitcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 444, 10796, 12, 474, 63, 6362, 65, 9914, 13, 1216, 4077, 503, 16, 1860, 288, 565, 368, 1122, 444, 1139, 471, 1624, 565, 368, 333, 353, 1279, 17526, 12779, 300, 732, 848, 2537, 4862, 326, 4207, 460, 565, 509, 21482, 273, 374, 31, 565, 509, 21509, 273, 374, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 8550, 18, 2469, 31, 277, 27245, 288, 1377, 309, 261, 8550, 63, 77, 6362, 20, 65, 405, 21482, 13, 288, 3639, 21482, 273, 9914, 63, 77, 6362, 20, 15533, 1377, 289, 1377, 309, 261, 8550, 63, 77, 6362, 21, 65, 405, 21509, 13, 288, 3639, 21509, 273, 9914, 63, 77, 6362, 21, 15533, 1377, 289, 565, 289, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 14797, 18, 2469, 31, 277, 27245, 288, 1377, 309, 261, 14797, 63, 77, 65, 422, 374, 13, 5769, 63, 77, 3737, 15, 31, 565, 289, 565, 368, 2037, 326, 433, 13055, 1087, 300, 3637, 2285, 16, 385, 471, 399, 565, 368, 1122, 732, 5614, 336, 279, 666, 434, 326, 1633, 4398, 565, 5589, 9419, 273, 394, 5589, 5621, 565, 509, 277, 273, 374, 31, 565, 514, 1633, 273, 4253, 18, 588, 2244, 12, 77, 1769, 565, 1323, 261, 3239, 480, 446, 13, 288, 1377, 9419, 18, 1289, 12, 3239, 1769, 1377, 277, 9904, 31, 1377, 1633, 273, 4253, 18, 588, 2244, 12, 77, 1769, 565, 289, 565, 509, 8526, 6880, 273, 4253, 18, 588, 1380, 5621, 565, 509, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 444, 10796, 12, 474, 63, 6362, 65, 9914, 13, 1216, 4077, 503, 16, 1860, 288, 565, 368, 1122, 444, 1139, 471, 1624, 565, 368, 333, 353, 1279, 17526, 12779, 300, 732, 848, 2537, 4862, 326, 4207, 460, 565, 509, 21482, 273, 374, 31, 565, 509, 21509, 273, 374, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 8550, 18, 2469, 31, 277, 27245, 288, 1377, 309, 261, 8550, 63, 77, 6362, 20, 65, 405, 21482, 13, 288, 3639, 21482, 273, 9914, 63, 77, 6362, 20, 15533, 1377, 289, 1377, 309, 261, 8550, 63, 77, 6362, 21, 65, 405, 21509, 13, 288, 3639, 21509, 273, 9914, 63, 77, 6362, 21, 15533, 1377, 289, 565, 289, 2 ]
public void generateService(OMFactory fac, OMElement defintions) throws Exception { OMElement service = fac.createOMElement(SERVICE_LOCAL_NAME, wsdl); defintions.addChild(service); service.addAttribute(ATTRIBUTE_NAME, axisService.getName(), null); generateSOAP11Port(fac, service); generateSOAP12Port(fac, service); addPolicy(PolicyInclude.SERVICE_POLICY, axisService.getPolicyInclude(), service, fac); if (generateHttp) { generateHTTPPort(fac, service); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/ba54d5aaf13444359652c993d6c219b6e3c87cfb/AxisService2OM.java/buggy/modules/core/src/org/apache/axis2/description/AxisService2OM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2103, 1179, 12, 1872, 1733, 5853, 16, 27573, 531, 12310, 1652, 474, 1115, 13, 1216, 1185, 288, 3639, 531, 12310, 1156, 273, 5853, 18, 2640, 51, 12310, 12, 12426, 67, 14922, 67, 1985, 16, 17642, 1769, 3639, 1652, 474, 1115, 18, 1289, 1763, 12, 3278, 1769, 3639, 1156, 18, 1289, 1499, 12, 11616, 67, 1985, 16, 2654, 1179, 18, 17994, 9334, 446, 1769, 3639, 2103, 27952, 2499, 2617, 12, 11639, 16, 1156, 1769, 3639, 2103, 27952, 2138, 2617, 12, 11639, 16, 1156, 1769, 7734, 527, 2582, 12, 2582, 8752, 18, 12426, 67, 26366, 16, 2654, 1179, 18, 588, 2582, 8752, 9334, 1156, 16, 5853, 1769, 7734, 309, 261, 7163, 2940, 13, 288, 5411, 2103, 3693, 2617, 12, 11639, 16, 1156, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2103, 1179, 12, 1872, 1733, 5853, 16, 27573, 531, 12310, 1652, 474, 1115, 13, 1216, 1185, 288, 3639, 531, 12310, 1156, 273, 5853, 18, 2640, 51, 12310, 12, 12426, 67, 14922, 67, 1985, 16, 17642, 1769, 3639, 1652, 474, 1115, 18, 1289, 1763, 12, 3278, 1769, 3639, 1156, 18, 1289, 1499, 12, 11616, 67, 1985, 16, 2654, 1179, 18, 17994, 9334, 446, 1769, 3639, 2103, 27952, 2499, 2617, 12, 11639, 16, 1156, 1769, 3639, 2103, 27952, 2138, 2617, 12, 11639, 16, 1156, 1769, 7734, 527, 2582, 12, 2582, 8752, 18, 12426, 67, 26366, 16, 2654, 1179, 18, 588, 2582, 8752, 9334, 1156, 16, 5853, 1769, 7734, 309, 261, 7163, 2940, 13, 288, 5411, 2103, 3693, 2617, 2 ]
documentFilter.remove(getBypass(), offset, length);
f.remove(getBypass(), offset, length); } finally { writeUnlock(); }
public void remove(int offset, int length) throws BadLocationException { if (documentFilter == null) removeImpl(offset, length); else documentFilter.remove(getBypass(), offset, length); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ba862f89183b5347853381927a04e1e399fae5db/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1206, 12, 474, 1384, 16, 509, 769, 13, 1216, 6107, 2735, 503, 225, 288, 565, 309, 261, 5457, 1586, 422, 446, 13, 1377, 1206, 2828, 12, 3348, 16, 769, 1769, 565, 469, 1377, 284, 18, 4479, 12, 588, 858, 5466, 9334, 1384, 16, 769, 1769, 289, 3095, 288, 1045, 7087, 5621, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1206, 12, 474, 1384, 16, 509, 769, 13, 1216, 6107, 2735, 503, 225, 288, 565, 309, 261, 5457, 1586, 422, 446, 13, 1377, 1206, 2828, 12, 3348, 16, 769, 1769, 565, 469, 1377, 284, 18, 4479, 12, 588, 858, 5466, 9334, 1384, 16, 769, 1769, 289, 3095, 288, 1045, 7087, 5621, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int retopaque = (int) ( ( retalpha ) * 256.0 ); return (double) ( ( retopaque << 24 ) & ( (int) retrgb ) );
int retopaque = (int) ( ( retalpha ) * 255.9 ); return (double) ( ( retopaque << 24 ) | ( (int) retrgb ) );
public double attr( int attr, double value, int prim ) { if ( attr == GRF__COLOUR ) { // Treat the colour attribute specially - instead of just // forwarding the call to the attribute method, we split the // value into an RGB part (bits 0-23) which gets forwarded to // atribute(GRF__COLOUR,,) and an alpha part (bits 24-31) which // get forwarded to attribute(GRF__ALPHA,,). double retrgb; double retalpha; if ( value != AstObject.AST__BAD ) { int ivalue = (int) value; double rgb = (double) ( ivalue & 0x00ffffff ); int opaque = ( ivalue & 0xff000000 ) >>> 24; double alpha = ( opaque / 255.0 ); retrgb = attribute( GRF__COLOUR, rgb, prim ); retalpha = attribute( GRF__ALPHA, alpha, prim ); } else { retrgb = attribute( GRF__COLOUR, AstObject.AST__BAD, prim ); retalpha = attribute( GRF__ALPHA, AstObject.AST__BAD, prim ); } int retopaque = (int) ( ( retalpha ) * 256.0 ); return (double) ( ( retopaque << 24 ) & ( (int) retrgb ) ); } else { return attribute( attr, value, prim ); } }
48494 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48494/68bd290b25dbf47b4a68c8ed0c694061b459d757/DefaultGrf.java/clean/jniast/src/main/uk/ac/starlink/ast/grf/DefaultGrf.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 1604, 12, 509, 1604, 16, 1645, 460, 16, 509, 15610, 262, 565, 288, 3639, 309, 261, 1604, 422, 611, 12918, 972, 3865, 1502, 1099, 262, 288, 5411, 368, 26564, 326, 15046, 1566, 857, 6261, 300, 3560, 434, 2537, 2398, 368, 20635, 326, 745, 358, 326, 1566, 707, 16, 732, 1416, 326, 5411, 368, 460, 1368, 392, 11510, 1087, 261, 6789, 374, 17, 4366, 13, 1492, 5571, 19683, 358, 5411, 368, 622, 1533, 624, 12, 6997, 42, 972, 3865, 1502, 1099, 16408, 13, 471, 392, 4190, 1087, 261, 6789, 4248, 17, 6938, 13, 1492, 5411, 368, 336, 19683, 358, 1566, 12, 6997, 42, 972, 26313, 16408, 2934, 5411, 1645, 17343, 4490, 31, 5411, 1645, 325, 5429, 31, 5411, 309, 261, 460, 480, 16614, 921, 18, 9053, 972, 16234, 262, 288, 7734, 509, 277, 1132, 273, 261, 474, 13, 460, 31, 7734, 1645, 6917, 273, 261, 9056, 13, 261, 277, 1132, 473, 374, 92, 713, 18217, 11272, 7734, 509, 22519, 273, 261, 277, 1132, 473, 374, 5297, 9449, 262, 4080, 4248, 31, 7734, 1645, 4190, 273, 261, 22519, 342, 4561, 18, 20, 11272, 7734, 17343, 4490, 273, 1566, 12, 611, 12918, 972, 3865, 1502, 1099, 16, 6917, 16, 15610, 11272, 7734, 325, 5429, 273, 1566, 12, 611, 12918, 972, 26313, 16, 4190, 16, 15610, 11272, 5411, 289, 5411, 469, 288, 7734, 17343, 4490, 273, 1566, 12, 611, 12918, 972, 3865, 1502, 1099, 16, 16614, 921, 18, 9053, 972, 16234, 16, 15610, 11272, 7734, 325, 5429, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 1604, 12, 509, 1604, 16, 1645, 460, 16, 509, 15610, 262, 565, 288, 3639, 309, 261, 1604, 422, 611, 12918, 972, 3865, 1502, 1099, 262, 288, 5411, 368, 26564, 326, 15046, 1566, 857, 6261, 300, 3560, 434, 2537, 2398, 368, 20635, 326, 745, 358, 326, 1566, 707, 16, 732, 1416, 326, 5411, 368, 460, 1368, 392, 11510, 1087, 261, 6789, 374, 17, 4366, 13, 1492, 5571, 19683, 358, 5411, 368, 622, 1533, 624, 12, 6997, 42, 972, 3865, 1502, 1099, 16408, 13, 471, 392, 4190, 1087, 261, 6789, 4248, 17, 6938, 13, 1492, 5411, 368, 336, 19683, 358, 1566, 12, 6997, 42, 972, 26313, 16408, 2934, 5411, 1645, 17343, 4490, 31, 5411, 1645, 325, 5429, 31, 2 ]
16, 17, 18, 0,
16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 0, 0, 46, 47, 48, 49, 0, 50, 59, 51, 52, 53, 54, 55, 56, 58, 0, 0, 0, 57, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 396, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 280, 0, 0, 0, 280, 280, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 280, 280, 280, 280, 280, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 58, 0, 0, 0, 0, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 0, 0, 280, 280, 280, 3, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 45, 412, 0, 261, 47, 48, 49, 0, 50, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57,
private static final short[] yyTable3() { return new short[] { 0, 0, 188, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 187, 188, 188, 0, 0, 188, 188, 188, 188, 188, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 188, 188, 0, 188, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, 190, 0, 0, 190, 190, 190, 190, 190, 0, 190, 0, 0, 0, 188, 188, 0, 0, 0, 0, 0, 190, 190, 190, 0, 190, 190, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, 190, 0, 0, 0, 0, 0, 187, 187, 187, 0, 0, 187, 187, 187, 0, 187, 0, 212, 0, 0, 0, 0, 0, 0, 0, 187, 187, 212, 0, 0, 190, 190, 0, 0, 187, 187, 0, 187, 187, 187, 187, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 212, 0, 0, 212, 0, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 212, 212, 187, 187, 0, 212, 0, 187, 0, 0, 0, 0, 187, 0, 0, 0, 0, 0, 0, 0, 188, 188, 188, 0, 0, 188, 188, 188, 0, 188, 0, 0, 0, 0, 0, 212, 0, 0, 0, 188, 188, 0, 0, 0, 0, 0, 0, 0, 188, 188, 0, 188, 188, 188, 188, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 212, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 0, 0, 188, 188, 190, 190, 190, 188, 0, 190, 190, 190, 188, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, 190, 0, 0, 0, 0, 0, 0, 0, 190, 190, 0, 190, 190, 190, 190, 190, 0, 0, 0, 0, 0, 191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 0, 0, 0, 0, 0, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 0, 0, 190, 190, 0, 0, 0, 190, 0, 191, 191, 0, 190, 191, 191, 191, 191, 191, 0, 191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 191, 191, 0, 191, 191, 0, 0, 0, 0, 0, 0, 212, 212, 212, 184, 0, 212, 212, 212, 0, 212, 0, 0, 0, 184, 0, 0, 0, 0, 0, 212, 212, 0, 0, 191, 191, 0, 0, 0, 212, 212, 0, 212, 212, 212, 212, 212, 0, 0, 0, 0, 0, 184, 0, 0, 184, 0, 184, 184, 184, 0, 0, 0, 0, 0, 191, 191, 0, 0, 0, 0, 0, 184, 184, 184, 212, 184, 184, 212, 212, 0, 0, 0, 0, 0, 0, 0, 212, 0, 0, 0, 185, 212, 0, 0, 0, 0, 0, 0, 0, 0, 185, 0, 0, 0, 0, 0, 184, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 185, 0, 0, 185, 0, 185, 185, 185, 0, 184, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 185, 185, 185, 0, 185, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 185, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 191, 191, 0, 0, 191, 191, 191, 0, 191, 0, 0, 185, 185, 0, 0, 0, 0, 0, 191, 191, 0, 0, 0, 0, 0, 0, 0, 191, 191, 0, 191, 191, 191, 191, 191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 0, 0, 191, 191, 184, 184, 184, 191, 0, 184, 184, 184, 191, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 184, 184, 0, 0, 0, 0, 0, 0, 0, 184, 184, 0, 184, 184, 184, 184, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 0, 0, 184, 184, 0, 0, 0, 184, 185, 185, 185, 0, 184, 185, 185, 185, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 185, 185, 0, 0, 0, 0, 0, 0, 0, 185, 185, 0, 185, 185, 185, 185, 185, 209, 0, 0, 0, 0, 0, 0, 0, 0, 0, 209, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 0, 0, 185, 185, 0, 209, 0, 185, 209, 0, 0, 209, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 209, 209, 209, 0, 209, 209, 0, 0, 0, 0, 0, 0, 0, 0, 0, 210, 0, 0, 0, 0, 0, 0, 0, 0, 0, 210, 0, 0, 0, 0, 0, 0, 334, 329, 0, 209, 209, 332, 330, 0, 331, 0, 333, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 210, 0, 326, 210, 325, 324, 210, 0, 0, 0, 0, 0, 0, 209, 209, 0, 0, 0, 0, 0, 210, 210, 210, 0, 210, 210, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 328, 0, 0, 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 196, 0, 0, 0, 0, 0, 210, 210, 0, 0, 0, 0, 0, 0, 0, 0, 0, 327, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 196, 0, 0, 196, 0, 0, 196, 0, 0, 210, 210, 0, 0, 0, 0, 0, 0, 0, 0, 0, 196, 196, 196, 0, 196, 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 334, 329, 0, 0, 0, 332, 330, 0, 331, 0, 333, 0, 0, 0, 0, 196, 196, 0, 0, 0, 0, 0, 0, 326, 0, 325, 0, 0, 0, 0, 0, 0, 0, 0, 209, 209, 209, 0, 0, 209, 209, 209, 0, 209, 0, 0, 196, 196, 0, 0, 0, 0, 0, 209, 209, 0, 0, 328, 0, 0, 0, 0, 209, 209, 0, 209, 209, 209, 209, 209, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 327, 0, 0, 0, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 0, 0, 209, 209, 210, 210, 210, 209, 0, 210, 210, 210, 209, 210, 0, 0, 0, 0, 0, 0, 0, 0, 0, 210, 210, 0, 0, 0, 0, 0, 0, 0, 210, 210, 0, 210, 210, 210, 210, 210, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 0, 0, 210, 210, 0, 0, 0, 210, 196, 196, 196, 0, 210, 196, 196, 196, 0, 196, 0, 194, 0, 0, 0, 0, 0, 0, 0, 196, 196, 194, 0, 0, 0, 0, 0, 0, 196, 196, 0, 196, 196, 196, 196, 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 194, 0, 0, 194, 0, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 194, 194, 194, 0, 194, 194, 0, 196, 0, 0, 0, 0, 196, 0, 0, 195, 0, 0, 0, 0, 0, 0, 0, 0, 0, 195, 0, 0, 309, 310, 311, 312, 313, 314, 315, 194, 194, 318, 319, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 195, 0, 0, 195, 0, 0, 0, 0, 0, 0, 194, 194, 0, 0, 0, 0, 0, 195, 195, 195, 0, 195, 195, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 199, 0, 0, 0, 0, 0, 0, 0, 0, 0, 199, 0, 0, 0, 0, 0, 195, 195, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 199, 0, 0, 199, 0, 0, 195, 195, 0, 0, 0, 0, 0, 0, 0, 0, 0, 199, 199, 199, 0, 199, 199, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 199, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 194, 194, 194, 0, 0, 194, 194, 194, 0, 194, 0, 0, 0, 199, 0, 0, 0, 0, 0, 194, 194, 0, 177, 0, 185, 0, 0, 0, 194, 194, 0, 194, 194, 194, 194, 194, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 0, 0, 0, 0, 195, 195, 195, 194, 0, 195, 195, 195, 194, 195, 0, 0, 0, 0, 0, 0, 0, 0, 0, 195, 195, 0, 0, 0, 0, 0, 0, 0, 195, 195, 201, 195, 195, 195, 195, 195, 0, 0, 0, 0, 201, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 0, 0, 201, 0, 0, 201, 0, 195, 199, 199, 199, 0, 195, 199, 199, 199, 0, 199, 0, 201, 201, 201, 0, 201, 201, 0, 0, 199, 199, 0, 0, 0, 0, 0, 0, 0, 199, 199, 198, 199, 199, 199, 199, 199, 0, 0, 0, 0, 198, 0, 0, 0, 0, 0, 201, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 0, 0, 198, 0, 0, 198, 0, 199, 0, 201, 0, 0, 199, 515, 516, 0, 0, 517, 0, 198, 198, 198, 0, 198, 198, 160, 161, 162, 163, 164, 165, 0, 166, 167, 200, 0, 168, 0, 0, 0, 169, 170, 171, 172, 200, 0, 0, 0, 0, 0, 0, 0, 0, 173, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200, 0, 0, 200, 0, 0, 0, 0, 0, 0, 0, 198, 0, 0, 0, 0, 0, 200, 200, 200, 0, 200, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200, 203, 0, 0, 0, 0, 0, 0, 0, 0, 0, 203, 0, 0, 0, 0, 0, 0, 0, 201, 201, 201, 0, 0, 201, 201, 201, 0, 201, 0, 0, 0, 200, 0, 0, 0, 0, 0, 201, 201, 0, 0, 203, 0, 0, 203, 0, 201, 201, 0, 201, 201, 201, 201, 201, 0, 0, 0, 0, 203, 203, 0, 0, 0, 203, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 0, 0, 0, 0, 0, 0, 203, 201, 198, 198, 198, 0, 201, 198, 198, 198, 0, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 198, 198, 0, 0, 0, 0, 0, 0, 0, 198, 198, 203, 198, 198, 198, 198, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 0, 0, 0, 0, 200, 200, 200, 198, 0, 200, 200, 200, 198, 200, 0, 204, 0, 0, 0, 0, 0, 0, 0, 200, 200, 204, 0, 0, 0, 0, 0, 0, 200, 200, 0, 200, 200, 200, 200, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 204, 0, 0, 204, 0, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 204, 204, 0, 0, 0, 204, 0, 200, 0, 0, 0, 0, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 203, 203, 203, 211, 0, 203, 203, 203, 0, 203, 204, 0, 0, 211, 0, 0, 0, 0, 0, 203, 203, 0, 0, 0, 0, 0, 0, 0, 203, 203, 0, 203, 203, 203, 203, 203, 0, 0, 0, 0, 0, 263, 204, 0, 211, 0, 0, 211, 0, 0, 0, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 211, 211, 203, 203, 0, 211, 203, 203, 0, 0, 0, 0, 0, 0, 0, 203, 0, 0, 0, 205, 203, 263, 0, 0, 262, 0, 0, 0, 0, 205, 0, 0, 0, 0, 0, 211, 0, 0, 263, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 205, 0, 0, 205, 0, 0, 0, 211, 0, 0, 206, 0, 0, 0, 0, 0, 0, 205, 205, 0, 206, 0, 205, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 263, 0, 0, 0, 0, 0, 206, 205, 0, 206, 0, 0, 0, 204, 204, 204, 182, 0, 204, 204, 204, 0, 204, 206, 206, 0, 182, 0, 206, 0, 0, 0, 204, 204, 0, 0, 0, 0, 0, 205, 0, 204, 204, 0, 204, 204, 204, 204, 204, 0, 0, 0, 0, 0, 183, 0, 0, 182, 206, 0, 182, 0, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 182, 182, 204, 204, 0, 182, 204, 204, 0, 0, 0, 0, 0, 0, 0, 204, 206, 0, 0, 0, 204, 183, 0, 0, 183, 211, 211, 211, 0, 0, 211, 211, 211, 0, 211, 182, 0, 0, 183, 183, 0, 0, 0, 183, 211, 211, 0, 0, 0, 0, 0, 0, 0, 211, 211, 0, 211, 211, 211, 211, 211, 0, 0, 263, 263, 263, 0, 182, 263, 263, 263, 0, 263, 183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 211, 211, 0, 0, 211, 211, 263, 263, 263, 263, 263, 0, 0, 211, 205, 205, 205, 183, 211, 205, 205, 205, 0, 205, 0, 0, 0, 0, 0, 0, 0, 0, 0, 205, 205, 0, 0, 0, 0, 0, 0, 0, 205, 205, 0, 205, 205, 205, 205, 205, 0, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 206, 206, 206, 0, 0, 206, 206, 206, 0, 206, 0, 0, 205, 205, 0, 0, 205, 205, 0, 206, 206, 0, 0, 0, 0, 205, 0, 0, 206, 206, 205, 206, 206, 206, 206, 206, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 182, 182, 182, 0, 0, 182, 182, 182, 0, 182, 0, 0, 206, 206, 0, 0, 206, 206, 0, 182, 182, 0, 0, 0, 0, 206, 0, 0, 182, 182, 206, 182, 182, 182, 182, 182, 217, 0, 183, 183, 183, 0, 0, 183, 183, 183, 217, 183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 183, 0, 0, 0, 0, 0, 0, 0, 183, 183, 0, 183, 183, 183, 183, 183, 181, 0, 182, 217, 0, 0, 217, 182, 0, 0, 181, 0, 0, 0, 0, 0, 0, 0, 0, 0, 217, 217, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 174, 183, 181, 0, 0, 181, 183, 0, 0, 0, 174, 0, 0, 0, 0, 0, 217, 0, 0, 181, 181, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 214, 0, 174, 0, 0, 174, 0, 0, 0, 217, 214, 0, 0, 0, 0, 181, 0, 0, 0, 174, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 180, 0, 0, 214, 0, 0, 214, 0, 0, 181, 180, 0, 0, 0, 0, 0, 174, 0, 0, 0, 214, 214, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 215, 0, 180, 0, 0, 180, 0, 0, 0, 174, 215, 0, 0, 0, 0, 0, 214, 0, 0, 180, 180, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 215, 0, 0, 215, 0, 0, 0, 214, 0, 0, 0, 0, 0, 180, 0, 0, 0, 215, 215, 0, 0, 0, 0, 0, 0, 0, 0, 0, 217, 217, 217, 0, 0, 217, 217, 217, 0, 217, 0, 0, 0, 0, 0, 0, 0, 180, 0, 217, 217, 0, 0, 0, 215, 0, 0, 0, 217, 217, 0, 217, 217, 217, 217, 217, 0, 0, 181, 181, 181, 0, 0, 181, 181, 181, 0, 181, 0, 0, 0, 0, 0, 0, 0, 0, 215, 181, 181, 0, 0, 0, 0, 0, 0, 0, 181, 181, 0, 181, 181, 181, 181, 181, 0, 0, 217, 174, 174, 174, 0, 217, 174, 174, 174, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 174, 174, 0, 0, 0, 0, 0, 0, 0, 174, 174, 0, 174, 174, 174, 174, 174, 0, 181, 0, 214, 214, 214, 181, 0, 214, 214, 214, 0, 214, 0, 0, 0, 0, 0, 0, 0, 0, 0, 214, 214, 0, 0, 0, 0, 0, 0, 0, 214, 214, 0, 214, 214, 214, 214, 214, 0, 174, 180, 180, 180, 0, 174, 180, 180, 180, 0, 180, 0, 0, 0, 0, 0, 0, 0, 0, 0, 180, 180, 0, 0, 0, 0, 0, 0, 0, 180, 180, 0, 180, 180, 180, 180, 180, 0, 0, 214, 215, 215, 215, 178, 214, 215, 215, 215, 0, 215, 0, 0, 0, 178, 0, 0, 0, 0, 0, 215, 215, 0, 0, 0, 0, 0, 0, 0, 215, 215, 0, 215, 215, 215, 215, 215, 0, 180, 0, 179, 0, 0, 180, 0, 178, 0, 0, 178, 0, 179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 178, 178, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 215, 0, 0, 0, 179, 215, 0, 179, 0, 0, 0, 0, 0, 0, 176, 0, 0, 0, 0, 0, 178, 179, 179, 0, 176, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 178, 0, 0, 176, 179, 0, 176, 0, 177, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 176, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 179, 0, 0, 177, 0, 0, 177, 0, 0, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 177, 177, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 0, 0, 0, 173, 0, 0, 173, 0, 175, 0, 0, 0, 0, 0, 176, 0, 0, 0, 177, 0, 173, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 0, 175, 0, 0, 0, 0, 0, 0, 0, 177, 0, 0, 0, 0, 173, 175, 175, 0, 0, 0, 0, 0, 0, 178, 178, 178, 0, 0, 178, 178, 178, 0, 178, 0, 0, 0, 0, 0, 0, 261, 0, 0, 178, 178, 0, 0, 173, 0, 0, 261, 175, 178, 178, 0, 178, 178, 178, 178, 178, 179, 179, 179, 0, 0, 179, 179, 179, 0, 179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 179, 179, 261, 0, 175, 261, 0, 0, 0, 179, 179, 0, 179, 179, 179, 179, 179, 0, 0, 261, 261, 178, 0, 0, 0, 0, 178, 0, 0, 0, 0, 0, 176, 176, 176, 0, 0, 176, 176, 176, 0, 176, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 176, 0, 261, 0, 0, 179, 0, 0, 176, 176, 179, 176, 176, 176, 176, 176, 177, 177, 177, 0, 0, 177, 177, 177, 0, 177, 0, 0, 0, 0, 0, 0, 0, 0, 261, 177, 177, 0, 0, 0, 0, 0, 0, 0, 177, 177, 0, 177, 177, 177, 177, 177, 0, 173, 173, 173, 176, 0, 173, 173, 173, 176, 173, 0, 0, 0, 0, 0, 0, 172, 0, 0, 173, 173, 0, 0, 0, 0, 0, 172, 0, 173, 173, 0, 173, 173, 173, 173, 173, 175, 175, 175, 177, 0, 175, 175, 175, 177, 175, 0, 0, 0, 0, 0, 0, 262, 0, 0, 175, 175, 172, 0, 0, 172, 0, 262, 0, 175, 175, 0, 175, 175, 175, 175, 175, 0, 0, 172, 172, 173, 0, 0, 0, 0, 173, 334, 329, 0, 0, 0, 332, 330, 0, 331, 0, 333, 262, 0, 0, 262, 0, 0, 0, 0, 0, 0, 0, 0, 326, 0, 325, 0, 172, 262, 262, 175, 0, 0, 0, 0, 175, 261, 261, 261, 318, 0, 261, 261, 261, 0, 261, 0, 0, 0, 318, 0, 0, 0, 0, 0, 261, 261, 328, 0, 172, 0, 0, 0, 262, 261, 261, 0, 261, 261, 261, 261, 261, 0, 0, 0, 0, 318, 318, 0, 0, 318, 318, 318, 318, 318, 318, 318, 327, 0, 0, 0, 0, 0, 0, 0, 262, 0, 318, 318, 318, 0, 318, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 261, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 319, 318, 0, 0, 318, 0, 0, 0, 0, 0, 319, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 0, 0, 217, 318, 318, 0, 319, 319, 0, 0, 319, 319, 319, 319, 319, 319, 319, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 319, 319, 319, 0, 319, 319, 0, 0, 0, 172, 172, 172, 0, 0, 172, 172, 172, 0, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 172, 0, 0, 0, 319, 0, 0, 319, 172, 172, 0, 172, 172, 172, 172, 0, 262, 262, 262, 0, 0, 262, 262, 262, 0, 262, 0, 172, 0, 0, 0, 0, 0, 0, 0, 262, 262, 319, 319, 0, 0, 0, 0, 0, 262, 262, 0, 262, 262, 262, 262, 262, 0, 0, 0, 0, 172, 0, 0, 0, 0, 172, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 0, 0, 0, 322, 323, 0, 0, 0, 318, 318, 318, 0, 0, 318, 318, 318, 0, 318, 0, 0, 262, 0, 0, 0, 0, 0, 0, 318, 0, 0, 0, 0, 0, 0, 0, 0, 318, 318, 0, 318, 318, 318, 318, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 0, 0, 318, 318, 318, 0, 0, 318, 0, 0, 172, 172, 172, 0, 0, 0, 172, 172, 0, 172, 0, 319, 319, 319, 0, 0, 319, 319, 319, 0, 319, 0, 0, 0, 0, 0, 0, 0, 172, 172, 319, 172, 172, 172, 172, 0, 0, 0, 0, 319, 319, 0, 319, 319, 319, 319, 319, 0, 283, 0, 0, 0, 0, 0, 0, 0, 0, 0, 283, 0, 0, 0, 0, 0, 0, 0, 0, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 0, 0, 319, 319, 319, 283, 283, 319, 0, 283, 283, 283, 283, 283, 283, 283, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 283, 283, 283, 0, 283, 283, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 334, 329, 0, 0, 0, 332, 330, 0, 331, 423, 333, 0, 0, 0, 0, 283, 0, 0, 283, 423, 0, 0, 0, 326, 0, 325, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 283, 283, 423, 423, 423, 74, 423, 423, 423, 328, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 82, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 327, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 0, 0, 423, 0, 40, 423, 0, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 0, 0, 273, 273, 273, 81, 273, 273, 273, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 40, 273, 273, 89, 273, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 40, 0, 0, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 0, 0, 273, 0, 0, 273, 54, 0, 0, 0, 0, 0, 283, 283, 283, 0, 0, 283, 283, 283, 0, 283, 0, 0, 0, 0, 0, 0, 0, 0, 0, 283, 0, 0, 0, 273, 273, 54, 0, 0, 283, 283, 0, 283, 283, 283, 283, 283, 0, 0, 0, 0, 0, 40, 54, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 0, 0, 283, 283, 283, 42, 0, 283, 54, 0, 0, 0, 0, 0, 0, 42, 423, 423, 423, 0, 0, 0, 423, 423, 0, 423, 309, 310, 311, 312, 313, 314, 315, 316, 0, 318, 319, 0, 0, 0, 54, 322, 323, 0, 423, 423, 42, 423, 423, 423, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 42, 0, 0, 0, 0, 0, 0, 0, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 0, 0, 423, 423, 423, 0, 424, 273, 273, 273, 0, 0, 0, 273, 273, 0, 273, 0, 0, 0, 0, 0, 0, 0, 40, 40, 40, 0, 0, 40, 40, 40, 0, 40, 0, 273, 273, 0, 273, 273, 273, 273, 273, 40, 279, 42, 0, 0, 0, 0, 0, 0, 40, 40, 279, 40, 40, 40, 40, 40, 0, 0, 0, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 0, 0, 273, 273, 273, 279, 279, 0, 0, 279, 279, 279, 80, 279, 279, 279, 54, 54, 54, 0, 0, 54, 54, 54, 0, 54, 0, 279, 279, 88, 279, 279, 0, 0, 0, 54, 54, 0, 0, 0, 0, 0, 280, 0, 54, 54, 0, 54, 54, 54, 54, 54, 280, 0, 0, 0, 0, 0, 0, 279, 0, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 0, 280, 280, 280, 75, 280, 280, 280, 0, 0, 279, 279, 0, 0, 0, 0, 0, 0, 0, 280, 280, 83, 280, 280, 42, 42, 42, 0, 0, 42, 42, 42, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 280, 42, 42, 280, 42, 42, 42, 42, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 0, 0, 0, 0, 0, 4, 5, 6, 0, 8, 280, 280, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 102, 34, 35, 36, 103, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 279, 279, 0, 0, 0, 279, 279, 0, 279, 105, 0, 0, 106, 47, 48, 49, 0, 59, 0, 51, 52, 53, 54, 55, 56, 58, 0, 279, 279, 107, 279, 279, 279, 279, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 0, 0, 279, 279, 279, 280, 280, 280, 0, 0, 0, 280, 280, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 280, 280, 280, 280, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 0, 0, 58, 0, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 0, 0, 280, 280, 280, 3, 4, 5, 6, 7, 8, 396, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, }; }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 23, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 5411, 374, 16, 565, 374, 16, 225, 404, 5482, 16, 565, 374, 16, 225, 404, 5292, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 6549, 27, 16, 225, 6549, 27, 16, 225, 404, 5482, 16, 6647, 404, 5482, 16, 565, 374, 16, 565, 374, 16, 225, 404, 5482, 16, 225, 404, 5482, 16, 225, 404, 5482, 16, 225, 404, 5482, 16, 225, 404, 5482, 16, 565, 374, 16, 225, 404, 5482, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 6647, 404, 5482, 16, 225, 404, 5482, 16, 225, 404, 5482, 16, 565, 374, 16, 225, 404, 5482, 16, 225, 404, 5482, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 5342, 20, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 23, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 5411, 374, 16, 565, 374, 16, 225, 404, 5482, 16, 565, 374, 16, 225, 404, 5292, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 6549, 27, 16, 225, 6549, 27, 16, 225, 404, 5482, 16, 6647, 404, 5482, 16, 565, 374, 16, 2 ]
} else
} else {
protected void setSelectedFilter(SelectionChangedEvent event) { ISelection selection = event.getSelection(); if (selection instanceof IStructuredSelection) { Collection list = ((IStructuredSelection) selection).toList(); MarkerFilter[] selected = new MarkerFilter[list.size()]; list.toArray(selected); selectedFilters = selected; } else selectedFilters = new MarkerFilter[0]; updateUIFromFilter(); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/DialogMarkerFilter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 23006, 1586, 12, 6233, 27553, 871, 13, 288, 202, 202, 45, 6233, 4421, 273, 871, 18, 588, 6233, 5621, 202, 202, 430, 261, 10705, 1276, 467, 30733, 6233, 13, 288, 1082, 202, 2532, 666, 273, 14015, 45, 30733, 6233, 13, 4421, 2934, 869, 682, 5621, 1082, 202, 7078, 1586, 8526, 3170, 273, 394, 14742, 1586, 63, 1098, 18, 1467, 1435, 15533, 1082, 202, 1098, 18, 31447, 12, 8109, 1769, 1082, 202, 8109, 5422, 273, 3170, 31, 202, 202, 97, 469, 1082, 202, 8109, 5422, 273, 394, 14742, 1586, 63, 20, 15533, 202, 202, 2725, 5370, 1265, 1586, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 23006, 1586, 12, 6233, 27553, 871, 13, 288, 202, 202, 45, 6233, 4421, 273, 871, 18, 588, 6233, 5621, 202, 202, 430, 261, 10705, 1276, 467, 30733, 6233, 13, 288, 1082, 202, 2532, 666, 273, 14015, 45, 30733, 6233, 13, 4421, 2934, 869, 682, 5621, 1082, 202, 7078, 1586, 8526, 3170, 273, 394, 14742, 1586, 63, 1098, 18, 1467, 1435, 15533, 1082, 202, 1098, 18, 31447, 12, 8109, 1769, 1082, 202, 8109, 5422, 273, 3170, 31, 202, 202, 97, 469, 1082, 202, 8109, 5422, 273, 394, 14742, 1586, 63, 20, 15533, 202, 202, 2725, 5370, 1265, 1586, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else if (override_val.equalsIgnoreCase("false"))
else if ("false".equalsIgnoreCase(override_val))
protected int getOverrideValue(XMLElement f) throws CompilerException { int override = PackFile.OVERRIDE_UPDATE; String override_val = f.getAttribute("override"); if (override_val != null) { if (override_val.equalsIgnoreCase("true")) { override = PackFile.OVERRIDE_TRUE; } else if (override_val.equalsIgnoreCase("false")) { override = PackFile.OVERRIDE_FALSE; } else if (override_val.equalsIgnoreCase("asktrue")) { override = PackFile.OVERRIDE_ASK_TRUE; } else if (override_val.equalsIgnoreCase("askfalse")) { override = PackFile.OVERRIDE_ASK_FALSE; } else if (override_val.equalsIgnoreCase("update")) { override = PackFile.OVERRIDE_UPDATE; } else parseError(f, "invalid value for attribute \"override\""); } return override; }
58440 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58440/98333eede78b9ac1131e72aef96a4d63b6ae031f/CompilerConfig.java/clean/izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 336, 6618, 620, 12, 15223, 284, 13, 1216, 28227, 565, 288, 3639, 509, 3849, 273, 7930, 812, 18, 31514, 67, 8217, 31, 3639, 514, 3849, 67, 1125, 273, 284, 18, 588, 1499, 2932, 10601, 8863, 3639, 309, 261, 10601, 67, 1125, 480, 446, 13, 3639, 288, 5411, 309, 261, 10601, 67, 1125, 18, 14963, 5556, 2932, 3767, 6, 3719, 5411, 288, 7734, 3849, 273, 7930, 812, 18, 31514, 67, 18724, 31, 5411, 289, 5411, 469, 309, 7566, 5743, 9654, 14963, 5556, 12, 10601, 67, 1125, 3719, 5411, 288, 7734, 3849, 273, 7930, 812, 18, 31514, 67, 21053, 31, 5411, 289, 5411, 469, 309, 261, 10601, 67, 1125, 18, 14963, 5556, 2932, 835, 3767, 6, 3719, 5411, 288, 7734, 3849, 273, 7930, 812, 18, 31514, 67, 6971, 67, 18724, 31, 5411, 289, 5411, 469, 309, 261, 10601, 67, 1125, 18, 14963, 5556, 2932, 835, 5743, 6, 3719, 5411, 288, 7734, 3849, 273, 7930, 812, 18, 31514, 67, 6971, 67, 21053, 31, 5411, 289, 5411, 469, 309, 261, 10601, 67, 1125, 18, 14963, 5556, 2932, 2725, 6, 3719, 5411, 288, 7734, 3849, 273, 7930, 812, 18, 31514, 67, 8217, 31, 5411, 289, 5411, 469, 7734, 1109, 668, 12, 74, 16, 315, 5387, 460, 364, 1566, 1239, 10601, 8530, 1769, 3639, 289, 3639, 327, 3849, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 336, 6618, 620, 12, 15223, 284, 13, 1216, 28227, 565, 288, 3639, 509, 3849, 273, 7930, 812, 18, 31514, 67, 8217, 31, 3639, 514, 3849, 67, 1125, 273, 284, 18, 588, 1499, 2932, 10601, 8863, 3639, 309, 261, 10601, 67, 1125, 480, 446, 13, 3639, 288, 5411, 309, 261, 10601, 67, 1125, 18, 14963, 5556, 2932, 3767, 6, 3719, 5411, 288, 7734, 3849, 273, 7930, 812, 18, 31514, 67, 18724, 31, 5411, 289, 5411, 469, 309, 7566, 5743, 9654, 14963, 5556, 12, 10601, 67, 1125, 3719, 5411, 288, 7734, 3849, 273, 7930, 812, 18, 31514, 67, 21053, 31, 5411, 289, 5411, 469, 309, 261, 10601, 67, 1125, 18, 14963, 5556, 2932, 835, 3767, 6, 3719, 5411, 2 ]
wordRelation.addWord(order); expandNumberAt(numberString, i, wordRelation);
wordRelation.addWord(tokenItem,order); expandNumberAt(numberString, i, wordRelation,tokenItem);
private static void expandLargeNumber(String numberString, String order, int numberZeroes, WordRelation wordRelation) { int numberDigits = numberString.length(); // parse out the prefix, e.g., "113" in "113,000" int i = numberDigits - numberZeroes; String part = numberString.substring(0, i); // get how many thousands/millions/billions Item oldTail = wordRelation.getTail(); expandNumber(part, wordRelation); if (wordRelation.getTail() == oldTail) { expandNumberAt(numberString, i, wordRelation); } else { wordRelation.addWord(order); expandNumberAt(numberString, i, wordRelation); } }
49846 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49846/460d07833503253a5c476790f8921bd1e3c702a9/NumberExpander.java/clean/java/de/dfki/lt/mary/modules/en/NumberExpander.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 4542, 20020, 1854, 12, 780, 1300, 780, 16, 25083, 225, 514, 1353, 16, 25083, 225, 509, 1300, 7170, 281, 16, 25083, 225, 9926, 3963, 2076, 3963, 13, 288, 202, 474, 1300, 9537, 273, 1300, 780, 18, 2469, 5621, 202, 202, 759, 1109, 596, 326, 1633, 16, 425, 18, 75, 12990, 315, 23379, 6, 316, 315, 23379, 16, 3784, 6, 202, 474, 277, 273, 1300, 9537, 300, 1300, 7170, 281, 31, 202, 780, 1087, 273, 1300, 780, 18, 28023, 12, 20, 16, 277, 1769, 1082, 202, 759, 336, 3661, 4906, 286, 24810, 19, 81, 737, 1115, 19, 17240, 1115, 202, 1180, 1592, 12363, 273, 2076, 3963, 18, 588, 12363, 5621, 202, 202, 12320, 1854, 12, 2680, 16, 2076, 3963, 1769, 202, 430, 261, 1095, 3963, 18, 588, 12363, 1435, 422, 1592, 12363, 13, 288, 202, 565, 4542, 1854, 861, 12, 2696, 780, 16, 277, 16, 2076, 3963, 1769, 202, 97, 469, 288, 202, 565, 2076, 3963, 18, 1289, 3944, 12, 1019, 1769, 202, 565, 4542, 1854, 861, 12, 2696, 780, 16, 277, 16, 2076, 3963, 1769, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 760, 918, 4542, 20020, 1854, 12, 780, 1300, 780, 16, 25083, 225, 514, 1353, 16, 25083, 225, 509, 1300, 7170, 281, 16, 25083, 225, 9926, 3963, 2076, 3963, 13, 288, 202, 474, 1300, 9537, 273, 1300, 780, 18, 2469, 5621, 202, 202, 759, 1109, 596, 326, 1633, 16, 425, 18, 75, 12990, 315, 23379, 6, 316, 315, 23379, 16, 3784, 6, 202, 474, 277, 273, 1300, 9537, 300, 1300, 7170, 281, 31, 202, 780, 1087, 273, 1300, 780, 18, 28023, 12, 20, 16, 277, 1769, 1082, 202, 759, 336, 3661, 4906, 286, 24810, 19, 81, 737, 1115, 19, 17240, 1115, 202, 1180, 1592, 12363, 273, 2076, 3963, 18, 588, 12363, 5621, 202, 202, 12320, 1854, 12, 2680, 2 ]
AffineTransform t; if (transform == null) { transform = new java.awt.geom.AffineTransform();
Rectangle2D bounds = layout.getBounds(); double tx = location.getX(); double ty = location.getY(); if (anchor == Anchor.MIDDLE) { tx -= bounds.getWidth()/2; } else if (anchor == Anchor.END) { tx -= bounds.getWidth();
public Shape getOutline(){ // HACK, until we change getBounds to take // GraphicsNodeRenderContext java.awt.font.TextLayout layout = new java.awt.font.TextLayout(aci, new java.awt.font.FontRenderContext(new AffineTransform(), true, true)); AffineTransform t; if (transform == null) { transform = new java.awt.geom.AffineTransform(); } t = transform; t.translate(location.getX(), location.getY()); return layout.getOutline(t); }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/dbd352a943d9d391b96962dbd2f7c5101daee24d/ConcreteTextNode.java/clean/sources/org/apache/batik/refimpl/gvt/ConcreteTextNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 12383, 336, 21805, 1435, 95, 3639, 368, 670, 3649, 16, 3180, 732, 2549, 22107, 358, 4862, 3639, 368, 16830, 907, 3420, 1042, 3639, 2252, 18, 2219, 88, 18, 5776, 18, 1528, 3744, 3511, 5411, 273, 394, 2252, 18, 2219, 88, 18, 5776, 18, 1528, 3744, 12, 1077, 77, 16, 5375, 394, 2252, 18, 2219, 88, 18, 5776, 18, 5711, 3420, 1042, 12, 2704, 23906, 558, 4059, 9334, 4766, 8227, 638, 16, 4766, 8227, 638, 10019, 3639, 23906, 558, 4059, 268, 31, 3639, 309, 261, 6547, 422, 446, 13, 288, 5411, 2510, 273, 394, 2252, 18, 2219, 88, 18, 10049, 18, 13785, 558, 4059, 5621, 3639, 289, 3639, 268, 273, 2510, 31, 540, 268, 18, 13929, 12, 3562, 18, 588, 60, 9334, 2117, 18, 588, 61, 10663, 3639, 327, 3511, 18, 588, 21805, 12, 88, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 12383, 336, 21805, 1435, 95, 3639, 368, 670, 3649, 16, 3180, 732, 2549, 22107, 358, 4862, 3639, 368, 16830, 907, 3420, 1042, 3639, 2252, 18, 2219, 88, 18, 5776, 18, 1528, 3744, 3511, 5411, 273, 394, 2252, 18, 2219, 88, 18, 5776, 18, 1528, 3744, 12, 1077, 77, 16, 5375, 394, 2252, 18, 2219, 88, 18, 5776, 18, 5711, 3420, 1042, 12, 2704, 23906, 558, 4059, 9334, 4766, 8227, 638, 16, 4766, 8227, 638, 10019, 3639, 23906, 558, 4059, 268, 31, 3639, 309, 261, 6547, 422, 446, 13, 288, 5411, 2510, 273, 394, 2252, 18, 2219, 88, 18, 10049, 18, 13785, 558, 4059, 5621, 3639, 289, 3639, 268, 273, 2510, 31, 540, 268, 18, 13929, 12, 3562, 2 ]
log("Javadoc args: " + cmd.getArguments(), Project.MSG_VERBOSE);
log("Javadoc args: " + cmd, Project.MSG_VERBOSE);
public void execute() throws BuildException { if ("javadoc2".equals(taskType)) { log("!! javadoc2 is deprecated. Use javadoc instead. !!"); } if (sourcePath == null || destDir == null ) { String msg = "sourcePath and destDir attributes must be set!"; throw new BuildException(msg); } log("Generating Javadoc", Project.MSG_INFO); cmd.setExecutable("javadoc");// ------------------------------------------------ general javadoc arguments if (classpath == null) classpath = Path.systemClasspath; if ( (!javadoc1) || (sourcePath == null) ) { cmd.createArgument().setValue("-classpath"); cmd.createArgument().setPath(classpath); if (sourcePath != null) { cmd.createArgument().setValue("-sourcepath"); cmd.createArgument().setPath(sourcePath); } } else { cmd.createArgument().setValue("-classpath"); cmd.createArgument().setValue(sourcePath.toString() + System.getProperty("path.separator") + classpath.toString()); } if (version && doclet == null) cmd.createArgument().setValue("-version"); if (author && doclet == null) cmd.createArgument().setValue("-author");// --------------------------------- javadoc2 arguments for default doclet// XXX: how do we handle a custom doclet? if (!javadoc1) { if (doclet != null) { if (doclet.getName() == null) { throw new BuildException("The doclet name must be specified.", location); } else { cmd.createArgument().setValue("-doclet"); cmd.createArgument().setValue(doclet.getName()); if (doclet.getPath() != null) { cmd.createArgument().setValue("-docletpath"); cmd.createArgument().setPath(doclet.getPath()); } for (Enumeration e = doclet.getParams(); e.hasMoreElements();) { DocletParam param = (DocletParam)e.nextElement(); if (param.getName() == null) { throw new BuildException("Doclet parameters must have a name"); } cmd.createArgument().setValue(param.getName()); if (param.getValue() != null) { cmd.createArgument().setValue(param.getValue()); } } } } if (bootclasspath != null) { cmd.createArgument().setValue("-bootclasspath"); cmd.createArgument().setPath(bootclasspath); } // add the links arguments if (links.size() != 0) { for (Enumeration e = links.elements(); e.hasMoreElements(); ) { LinkArgument la = (LinkArgument)e.nextElement(); if (la.getHref() == null) { throw new BuildException("Links must provide the URL to the external class documentation."); } if (la.isLinkOffline()) { String packageListLocation = la.getPackagelistLoc(); if (packageListLocation == null) { throw new BuildException("The package list location for link " + la.getHref() + " must be provided because the link is offline"); } cmd.createArgument().setValue("-linkoffline"); cmd.createArgument().setValue(la.getHref()); cmd.createArgument().setValue(packageListLocation); } else { cmd.createArgument().setValue("-link"); cmd.createArgument().setValue(la.getHref()); } } } // add the single group arguments // Javadoc 1.2 rules: // Multiple -group args allowed. // Each arg includes 3 strings: -group [name] [packagelist]. // Elements in [packagelist] are colon-delimited. // An element in [packagelist] may end with the * wildcard. // Ant javadoc task rules for group attribute: // Args are comma-delimited. // Each arg is 2 space-delimited strings. // E.g., group="XSLT_Packages org.apache.xalan.xslt*,XPath_Packages orgapache.xalan.xpath*" if (group != null) { StringTokenizer tok = new StringTokenizer(group, ",", false); while (tok.hasMoreTokens()) { String grp = tok.nextToken().trim(); int space = grp.indexOf(" "); if (space > 0){ String name = grp.substring(0, space); String pkgList = grp.substring(space + 1); cmd.createArgument().setValue("-group"); cmd.createArgument().setValue(name); cmd.createArgument().setValue(pkgList); } } } // add the group arguments if (groups.size() != 0) { for (Enumeration e = groups.elements(); e.hasMoreElements(); ) { GroupArgument ga = (GroupArgument)e.nextElement(); String title = ga.getTitle(); String packages = ga.getPackages(); if (title == null || packages == null) { throw new BuildException("The title and packages must be specified for group elements."); } cmd.createArgument().setValue("-group"); cmd.createArgument().setValue(title); cmd.createArgument().setValue(packages); } } } if ((packageNames != null) && (packageNames.length() > 0)) { Vector packages = new Vector(); StringTokenizer tok = new StringTokenizer(packageNames, ",", false); while (tok.hasMoreTokens()) { String name = tok.nextToken().trim(); if (name.endsWith(".*")) { packages.addElement(name); } else { cmd.createArgument().setValue(name); } } if (packages.size() > 0) { evaluatePackages(sourcePath, packages); } } if ((sourceFiles != null) && (sourceFiles.length() > 0)) { StringTokenizer tok = new StringTokenizer(sourceFiles, ",", false); while (tok.hasMoreTokens()) { cmd.createArgument().setValue(tok.nextToken().trim()); } } if (packageList != null) { cmd.createArgument().setValue("@" + packageList); } log("Javadoc args: " + cmd.getArguments(), Project.MSG_VERBOSE); log("Javadoc execution", Project.MSG_INFO); JavadocOutputStream out = new JavadocOutputStream(Project.MSG_INFO); JavadocOutputStream err = new JavadocOutputStream(Project.MSG_WARN); Execute exe = new Execute(new PumpStreamHandler(out, err)); exe.setAntRun(project); exe.setWorkingDirectory(project.getBaseDir()); try { exe.setCommandline(cmd.getCommandline()); exe.execute(); } catch (IOException e) { throw new BuildException("Javadoc failed: " + e, e, location); } finally { out.logFlush(); err.logFlush(); try { out.close(); err.close(); } catch (IOException e) {} } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/0dd985bc2a3584f478eebc7c1a25f24aa559f1ac/Javadoc.java/clean/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 309, 7566, 78, 4805, 22, 9654, 14963, 12, 4146, 559, 3719, 288, 5411, 613, 2932, 8548, 30829, 22, 353, 6849, 18, 2672, 30829, 3560, 18, 401, 4442, 1769, 3639, 289, 3639, 309, 261, 3168, 743, 422, 446, 747, 26231, 422, 446, 262, 288, 5411, 514, 1234, 273, 315, 3168, 743, 471, 26231, 1677, 1297, 506, 444, 4442, 31, 5411, 604, 394, 18463, 12, 3576, 1769, 3639, 289, 3639, 613, 2932, 21755, 5195, 3113, 5420, 18, 11210, 67, 5923, 1769, 3639, 1797, 18, 542, 17709, 2932, 78, 4805, 8863, 759, 19134, 18753, 7470, 30829, 1775, 3639, 309, 261, 26302, 422, 446, 13, 5411, 10006, 273, 2666, 18, 4299, 17461, 31, 3639, 309, 261, 16051, 78, 4805, 21, 13, 747, 261, 3168, 743, 422, 446, 13, 262, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 2932, 17, 26302, 8863, 5411, 1797, 18, 2640, 1379, 7675, 542, 743, 12, 26302, 1769, 5411, 309, 261, 3168, 743, 480, 446, 13, 288, 7734, 1797, 18, 2640, 1379, 7675, 542, 620, 2932, 17, 3168, 803, 8863, 7734, 1797, 18, 2640, 1379, 7675, 542, 743, 12, 3168, 743, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 2932, 17, 26302, 8863, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 3168, 743, 18, 10492, 1435, 397, 7734, 2332, 18, 588, 1396, 2932, 803, 18, 11287, 7923, 397, 10006, 18, 10492, 10663, 3639, 289, 3639, 309, 261, 1589, 597, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 309, 7566, 78, 4805, 22, 9654, 14963, 12, 4146, 559, 3719, 288, 5411, 613, 2932, 8548, 30829, 22, 353, 6849, 18, 2672, 30829, 3560, 18, 401, 4442, 1769, 3639, 289, 3639, 309, 261, 3168, 743, 422, 446, 747, 26231, 422, 446, 262, 288, 5411, 514, 1234, 273, 315, 3168, 743, 471, 26231, 1677, 1297, 506, 444, 4442, 31, 5411, 604, 394, 18463, 12, 3576, 1769, 3639, 289, 3639, 613, 2932, 21755, 5195, 3113, 5420, 18, 11210, 67, 5923, 1769, 3639, 1797, 18, 542, 17709, 2932, 78, 4805, 8863, 759, 19134, 18753, 7470, 30829, 1775, 3639, 309, 261, 26302, 422, 446, 13, 5411, 10006, 273, 2666, 18, 4299, 17461, 31, 3639, 2 ]
System.out.println("CFlowTest.step2");
public void step2() { System.out.println("CFlowTest.step2"); log("step2 "); }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/44395ae6f1bc25dd7c1e9ba497dc6ed779ba0b8c/CFlowTest.java/buggy/aspectwerkz3/src/test/test/CFlowTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2235, 22, 1435, 288, 9079, 613, 2932, 4119, 22, 315, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 918, 2235, 22, 1435, 288, 9079, 613, 2932, 4119, 22, 315, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!tJustDoneConsensus) {
if (!tJustDoneConsensus) {
private void parseLine(String poLine) throws SAXException{ poLine = poLine.toUpperCase(); if ( (poLine.startsWith("QUERY:")) || (poLine.startsWith("SBJCT:")) ) { oSt = new StringTokenizer(poLine,":"); //there should be two tokens at this point if (oSt.countTokens() != 2) { throw (new SAXException( "Failed to parse a line in a BlastLikeAlignment" + " due it having an unexpected format." + " The line is shown below.\n" + poLine)); } //get here if Query line OK //skip first token (i.e. "Query") oSt.nextToken(); //next token is the alignment - make it uppercase. oSeq = oSt.nextToken().trim(); //System.out.println(oSeq); //To get numbers robustly, tokenize on letters, gaps, and unknowns oSt = new StringTokenizer(oSeq," ABCDEFGHIJKLMNOPQRSTUVWXYZ-*"); //System.out.println("Token Count----->" + oSt.countTokens()); //throw exception if there number of tokens is not two //(these correspond to start and stop ids if (oSt.countTokens() != 2) { throw (new SAXException( "Failed to parse a line of an alignment due to it having" + " an unexpected character.")); } //here if tokens for start and stop OK oStartId.setLength(0); oStartId.append(oSt.nextToken().trim()); oStopId.setLength(0); oStopId.append(oSt.nextToken().trim()); //System.out.println("StartId="+oStartId+" : "+"StopId="+oStopId); //To get sequence robustly, tokenize on numbers only oSt = new StringTokenizer(oSeq,"0123456789"); //System.out.println("Token Count----->" + oSt.countTokens()); if (oSt.countTokens() != 1) { throw (new SAXException( "Failed to parse a line of an alignment due to it having" + " an unexpected character.")); } oParsedSeq = oSt.nextToken().trim(); //System.out.println(oParsedSeq); //get info for consensus only on Query: lines iOffset = poLine.indexOf(oParsedSeq); iEnd = iOffset + oParsedSeq.length(); //System.out.println("Offset="+iOffset+" : End="+iEnd); //end if this is a query or sbjct line } else { //here if on a consensus sequence line //only time should get here is if //a Query: line has just been parsed. //deal with software that doesn't output spaces to end of //consensus line if (iEnd <= poLine.length()) { oParsedSeq = poLine.substring(iOffset,iEnd); } else { //could fix this by padding with white-space //currently this problem is a known BUG/FEATURE. throw (new SAXException( "Failed to parse what the framework supposes " + " to be a consensus line in an alignment due to " + "the source program not outputing expected white space." + " Tried to access character " + iEnd + " in a String " + "of length " + poLine.length() + ". The String is show " + "below. If it is not a consensus line, the parser " + "has become confused due to the presense of unknown " + "content in the output.\n" + poLine)); } //System.out.println("|"+oParsedSeq+"|"); } //get startIds for query and subject if (iState == ON_FIRST_SEGMENT) { //here if on first block of an alignment if (poLine.startsWith("QUERY:")) { oQueryStartId.append(oStartId); oQueryStopId.append(oStopId); oQuery.append(oParsedSeq); tJustDoneQuery = true; tJustDoneConsensus = false; tJustDoneHit = false; return; } if (poLine.startsWith("SBJCT:")) { oHitStartId.append(oStartId); oHitStopId.append(oStopId); oHit.append(oParsedSeq); if (!tJustDoneConsensus) { //handle rare case of a totally blank //consensus line -- currently known BUG/FEATURE //implement this with StringBuffer(char[],int,int) //and a template array of blanks throw (new SAXException( "Failed parsing the consensus line of an alignment." + " Cannot currently deal with consensus lines that" + " are blank.")); } tJustDoneQuery = false; tJustDoneConsensus = false; tJustDoneHit = true; //here finished with block this.changeState(DONE_FIRST_SEGMENT); return; } oMatchConsensus.append(oParsedSeq); tJustDoneQuery = false; tJustDoneConsensus = true; tJustDoneHit = false; } //end if onFirstSegment //if inside the alignment, set the stopids each time //so that they are correct for multi-block alignments if (iState == DONE_FIRST_SEGMENT) { if (poLine.startsWith("QUERY:")) { oQueryStopId.setLength(0); oQueryStopId.append(oStopId); oQuery.append(oParsedSeq); return; } if (poLine.startsWith("SBJCT:")) { oHitStopId.setLength(0); oHitStopId.append(oStopId); oHit.append(oParsedSeq); //here finished with block return; } //get here if on a match consensus oMatchConsensus.append(oParsedSeq); return; } //end if inAlignment }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/92f84ab151886beb3641bfe55aedf381e952e8b3/BlastLikeAlignmentSAXParser.java/clean/src/org/biojava/bio/program/sax/BlastLikeAlignmentSAXParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1109, 1670, 12, 780, 8275, 1670, 13, 1216, 14366, 95, 565, 8275, 1670, 273, 8275, 1670, 18, 869, 8915, 5621, 565, 309, 261, 261, 1631, 1670, 18, 17514, 1190, 2932, 10753, 2773, 3719, 747, 2398, 261, 1631, 1670, 18, 17514, 1190, 2932, 14541, 46, 1268, 2773, 3719, 262, 288, 3639, 320, 510, 273, 394, 16370, 12, 1631, 1670, 10837, 2773, 1769, 3639, 368, 18664, 1410, 506, 2795, 2430, 622, 333, 1634, 3639, 309, 261, 83, 510, 18, 1883, 5157, 1435, 480, 576, 13, 288, 3639, 604, 261, 2704, 14366, 12, 3639, 315, 2925, 358, 1109, 279, 980, 316, 279, 605, 2722, 8804, 11535, 6, 397, 3639, 315, 6541, 518, 7999, 392, 9733, 740, 1199, 397, 3639, 315, 1021, 980, 353, 12188, 5712, 8403, 82, 6, 397, 3639, 8275, 1670, 10019, 3639, 289, 3639, 368, 588, 2674, 309, 2770, 980, 7791, 3639, 368, 7457, 1122, 1147, 261, 77, 18, 73, 18, 315, 1138, 7923, 3639, 320, 510, 18, 4285, 1345, 5621, 3639, 368, 4285, 1147, 353, 326, 8710, 300, 1221, 518, 18966, 18, 3639, 320, 6926, 273, 320, 510, 18, 4285, 1345, 7675, 5290, 5621, 4202, 368, 3163, 18, 659, 18, 8222, 12, 83, 6926, 1769, 4202, 368, 774, 336, 5600, 27920, 715, 16, 13672, 603, 13768, 16, 21085, 16, 471, 5917, 87, 2868, 320, 510, 273, 394, 16370, 12, 83, 6926, 10837, 29253, 12904, 16715, 45, 19474, 17063, 3417, 28386, 10637, 20147, 59, 23479, 17, 7388, 1769, 4202, 368, 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, 377, 3238, 918, 1109, 1670, 12, 780, 8275, 1670, 13, 1216, 14366, 95, 565, 8275, 1670, 273, 8275, 1670, 18, 869, 8915, 5621, 565, 309, 261, 261, 1631, 1670, 18, 17514, 1190, 2932, 10753, 2773, 3719, 747, 2398, 261, 1631, 1670, 18, 17514, 1190, 2932, 14541, 46, 1268, 2773, 3719, 262, 288, 3639, 320, 510, 273, 394, 16370, 12, 1631, 1670, 10837, 2773, 1769, 3639, 368, 18664, 1410, 506, 2795, 2430, 622, 333, 1634, 3639, 309, 261, 83, 510, 18, 1883, 5157, 1435, 480, 576, 13, 288, 3639, 604, 261, 2704, 14366, 12, 3639, 315, 2925, 358, 1109, 279, 980, 316, 279, 605, 2722, 8804, 11535, 6, 397, 3639, 315, 6541, 518, 7999, 392, 9733, 740, 1199, 397, 3639, 2 ]
if( N == -1)
if ( N == -1 )
public boolean evaluate(Object value, Object n, boolean calculatePercent) throws DataException { if( FilterPassController.getForceReset() ) { doReset(); FilterPassController.setForceReset( false ); } if( N == -1) { try{ if( calculatePercent ) { double temp = Double.valueOf( n.toString() ).doubleValue()/100; if( temp > 1 || temp < 0) throw new DataException(ResourceConstants.INVALID_TOP_BOTTOM_PERCENT_ARGUMENT); N = (int)Math.round( temp*getRowCount() ); }else N = Double.valueOf( n.toString() ).intValue(); }catch (NumberFormatException e) { } //If the exception is thrown in abrove code, then the value of N should //remains "-1" if( N < 0 ) throw new DataException(ResourceConstants.INVALID_TOP_BOTTOM_N_ARGUMENT); } if ( getPassLevel( ) == FIRST_PASS ) { return doFirstPass( value ); } else if ( getPassLevel( ) == SECOND_PASS ) { return doSecondPass( ); } return false; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/54d8c65fe9f2486c85ada2ee8ab32a3a85c1606d/NEvaluator.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/NEvaluator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 5956, 12, 921, 460, 16, 1033, 290, 16, 1250, 4604, 8410, 13, 1216, 1910, 503, 202, 95, 202, 202, 430, 12, 4008, 6433, 2933, 18, 588, 10997, 7013, 1435, 262, 202, 202, 95, 1082, 202, 2896, 7013, 5621, 1082, 202, 1586, 6433, 2933, 18, 542, 10997, 7013, 12, 629, 11272, 202, 202, 97, 202, 202, 430, 12, 423, 422, 300, 21, 13, 202, 202, 95, 1082, 202, 698, 95, 9506, 202, 430, 12, 4604, 8410, 262, 9506, 202, 95, 6862, 202, 9056, 1906, 273, 3698, 18, 1132, 951, 12, 290, 18, 10492, 1435, 262, 18, 9056, 620, 1435, 19, 6625, 31, 6862, 202, 430, 12, 1906, 405, 404, 747, 1906, 411, 374, 13, 25083, 202, 12849, 394, 1910, 503, 12, 1420, 2918, 18, 9347, 67, 10462, 67, 28891, 67, 3194, 19666, 67, 18311, 1769, 6862, 25083, 202, 50, 273, 261, 474, 13, 10477, 18, 2260, 12, 1906, 14, 588, 26359, 1435, 11272, 9506, 202, 97, 12107, 6862, 6862, 202, 50, 273, 3698, 18, 1132, 951, 12, 290, 18, 10492, 1435, 262, 18, 474, 620, 5621, 1082, 202, 97, 14683, 261, 1854, 9291, 425, 13, 1082, 202, 95, 6862, 1082, 202, 97, 1082, 202, 759, 2047, 326, 1520, 353, 6718, 316, 1223, 303, 537, 981, 16, 1508, 326, 460, 434, 423, 1410, 1082, 202, 759, 2764, 4167, 3701, 21, 6, 1082, 202, 430, 12, 423, 411, 374, 262, 9506, 202, 12849, 394, 1910, 503, 12, 1420, 2918, 18, 9347, 67, 10462, 67, 28891, 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, 225, 202, 482, 1250, 5956, 12, 921, 460, 16, 1033, 290, 16, 1250, 4604, 8410, 13, 1216, 1910, 503, 202, 95, 202, 202, 430, 12, 4008, 6433, 2933, 18, 588, 10997, 7013, 1435, 262, 202, 202, 95, 1082, 202, 2896, 7013, 5621, 1082, 202, 1586, 6433, 2933, 18, 542, 10997, 7013, 12, 629, 11272, 202, 202, 97, 202, 202, 430, 12, 423, 422, 300, 21, 13, 202, 202, 95, 1082, 202, 698, 95, 9506, 202, 430, 12, 4604, 8410, 262, 9506, 202, 95, 6862, 202, 9056, 1906, 273, 3698, 18, 1132, 951, 12, 290, 18, 10492, 1435, 262, 18, 9056, 620, 1435, 19, 6625, 31, 6862, 202, 430, 12, 1906, 405, 404, 747, 1906, 411, 374, 13, 25083, 202, 2 ]
ListIterator i = epeople.listIterator(); while(i.hasNext()) { EPerson e2 = (EPerson)i.next(); if( e.getID() == e2.getID() ) { i.remove(); epeoplechanged = true; } }
if (epeople.remove(e)) epeoplechanged = true;
public void removeMember(EPerson e) { ListIterator i = epeople.listIterator(); // find and remove the eperson while(i.hasNext()) { EPerson e2 = (EPerson)i.next(); if( e.getID() == e2.getID() ) { // match, remove, and set epeople changed flag i.remove(); epeoplechanged = true; } } }
25205 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25205/c4fd0f82585f7e096b6d0916fd382f2bb8d4b56f/Group.java/clean/dspace/src/org/dspace/eperson/Group.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 4419, 12, 41, 8346, 425, 13, 565, 288, 3639, 987, 3198, 277, 273, 425, 28035, 18, 1098, 3198, 5621, 3639, 368, 1104, 471, 1206, 326, 5529, 3565, 3639, 1323, 12, 77, 18, 5332, 2134, 10756, 3639, 288, 5411, 512, 8346, 425, 22, 273, 261, 41, 8346, 13, 77, 18, 4285, 5621, 5411, 309, 12, 425, 18, 588, 734, 1435, 422, 425, 22, 18, 588, 734, 1435, 262, 5411, 288, 7734, 368, 845, 16, 1206, 16, 471, 444, 425, 28035, 3550, 2982, 7734, 277, 18, 4479, 5621, 7734, 425, 28035, 6703, 273, 638, 31, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1206, 4419, 12, 41, 8346, 425, 13, 565, 288, 3639, 987, 3198, 277, 273, 425, 28035, 18, 1098, 3198, 5621, 3639, 368, 1104, 471, 1206, 326, 5529, 3565, 3639, 1323, 12, 77, 18, 5332, 2134, 10756, 3639, 288, 5411, 512, 8346, 425, 22, 273, 261, 41, 8346, 13, 77, 18, 4285, 5621, 5411, 309, 12, 425, 18, 588, 734, 1435, 422, 425, 22, 18, 588, 734, 1435, 262, 5411, 288, 7734, 368, 845, 16, 1206, 16, 471, 444, 425, 28035, 3550, 2982, 7734, 277, 18, 4479, 5621, 7734, 425, 28035, 6703, 273, 638, 31, 5411, 289, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
proxySettings = TasksUiPlugin.getDefault().getProxySettings();
protected void setUp() throws Exception { super.setUp(); manager = TasksUiPlugin.getRepositoryManager(); manager.clearRepositories(TasksUiPlugin.getDefault().getRepositoriesFilePath()); proxySettings = TasksUiPlugin.getDefault().getProxySettings(); data = TestFixture.init010(); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/101ff7c2d10bb2298dc26374711a5c44d3a01761/TracAttachmentHandlerTest.java/clean/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracAttachmentHandlerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 9565, 18, 542, 1211, 5621, 202, 202, 4181, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 5621, 202, 202, 4181, 18, 8507, 18429, 12, 6685, 13943, 3773, 18, 588, 1868, 7675, 588, 18429, 5598, 10663, 202, 202, 5656, 2628, 273, 20350, 13943, 3773, 18, 588, 1868, 7675, 588, 3886, 2628, 5621, 202, 202, 892, 273, 7766, 26392, 18, 2738, 23254, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 9565, 18, 542, 1211, 5621, 202, 202, 4181, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 5621, 202, 202, 4181, 18, 8507, 18429, 12, 6685, 13943, 3773, 18, 588, 1868, 7675, 588, 18429, 5598, 10663, 202, 202, 5656, 2628, 273, 20350, 13943, 3773, 18, 588, 1868, 7675, 588, 3886, 2628, 5621, 202, 202, 892, 273, 7766, 26392, 18, 2738, 23254, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int level = RubyFixnum.fix2int(value.toRubyObject());
int level = RubyFixnum.fix2int(value);
public IRubyObject set(IRubyObject value) { int level = RubyFixnum.fix2int(value.toRubyObject()); if (level < ruby.getSafeLevel()) { throw new SecurityException("tried to downgrade level from " + ruby.getSafeLevel() + " to " + level); } ruby.setSafeLevel(level); // thread.setSafeLevel(level); return value; }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/f235ab756f32ea9496f8f880066b46ad95ebb692/RubyGlobal.java/buggy/org/jruby/RubyGlobal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 15908, 10340, 921, 444, 12, 7937, 10340, 921, 460, 13, 288, 5411, 509, 1801, 273, 19817, 8585, 2107, 18, 904, 22, 474, 12, 1132, 1769, 5411, 309, 261, 2815, 411, 22155, 18, 588, 9890, 2355, 10756, 288, 7734, 604, 394, 17780, 2932, 313, 2092, 358, 2588, 3994, 1801, 628, 315, 397, 22155, 18, 588, 9890, 2355, 1435, 397, 315, 358, 315, 397, 1801, 1769, 5411, 289, 5411, 22155, 18, 542, 9890, 2355, 12, 2815, 1769, 5411, 368, 2650, 18, 542, 9890, 2355, 12, 2815, 1769, 5411, 327, 460, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 15908, 10340, 921, 444, 12, 7937, 10340, 921, 460, 13, 288, 5411, 509, 1801, 273, 19817, 8585, 2107, 18, 904, 22, 474, 12, 1132, 1769, 5411, 309, 261, 2815, 411, 22155, 18, 588, 9890, 2355, 10756, 288, 7734, 604, 394, 17780, 2932, 313, 2092, 358, 2588, 3994, 1801, 628, 315, 397, 22155, 18, 588, 9890, 2355, 1435, 397, 315, 358, 315, 397, 1801, 1769, 5411, 289, 5411, 22155, 18, 542, 9890, 2355, 12, 2815, 1769, 5411, 368, 2650, 18, 542, 9890, 2355, 12, 2815, 1769, 5411, 327, 460, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(status != NOT_FINISHED) throw new IllegalStateException("finish() called with "+code+" when was already "+status);
private void finish(int code, PeerNode next) { Logger.minor(this, "Finished: "+code+" on "+this, new Exception("debug")); if(status != NOT_FINISHED) throw new IllegalStateException("finish() called with "+code+" when was already "+status); synchronized(this) { setStatusTime = System.currentTimeMillis(); if(code == ROUTE_NOT_FOUND && !sentRequest) code = ROUTE_REALLY_NOT_FOUND; status = code; notifyAll(); Logger.minor(this, "Set status code: "+getStatusString()+" on "+uid); // Now wait for transfers, or for downstream transfer notifications. if(cw != null) { while(!allTransfersCompleted) { try { wait(10*1000); } catch (InterruptedException e) { // Try again } } } else { Logger.minor(this, "No completion waiter"); // There weren't any transfers allTransfersCompleted = true; } notifyAll(); } if(code != TIMED_OUT && code != GENERATED_REJECTED_OVERLOAD && code != INTERNAL_ERROR && code != ROUTE_REALLY_NOT_FOUND) { Logger.minor(this, "CHK insert cost "+getTotalSentBytes()+"/"+getTotalReceivedBytes()+" bytes ("+code+")"); (source == null ? node.localChkInsertBytesSentAverage : node.remoteChkInsertBytesSentAverage) .report(getTotalSentBytes()); (source == null ? node.localChkInsertBytesReceivedAverage : node.remoteChkInsertBytesReceivedAverage) .report(getTotalReceivedBytes()); } Logger.minor(this, "Returning from finish()"); }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/18bdac5b045940cab8c77eb1e775cefcdda23e0a/CHKInsertSender.java/buggy/src/freenet/node/CHKInsertSender.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 309, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 225, 309, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 225, 309, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 225, 309, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 225, 3238, 430, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 225, 918, 430, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 225, 4076, 12, 474, 430, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 225, 981, 16, 430, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 225, 10669, 907, 430, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 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, 309, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 225, 309, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 225, 309, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 225, 309, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 225, 3238, 430, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 604, 2 ]
fields.add(new String[] { "Publisher", "publisher", null }); fields.add(new String[] { "Citation", "identifier", "citation" }); fields.add(new String[] { "Series/Report no.", "relation",
fields.add(new String[] { LocaleSupport.getLocalizedMessage(pageContext, "org.dspace.app.webui.jsptag.ItemTag.publisher"), "publisher", null }); fields.add(new String[] { LocaleSupport.getLocalizedMessage(pageContext, "org.dspace.app.webui.jsptag.ItemTag.citation"), "identifier", "citation" }); fields.add(new String[] { LocaleSupport.getLocalizedMessage(pageContext, "org.dspace.app.webui.jsptag.ItemTag.series"), "relation",
private void renderDefault() throws IOException, java.sql.SQLException { JspWriter out = pageContext.getOut(); // Build up a list of things to display. // To display a DC field from the item, do // fields.add(new String[] {"Display Name", "element", "qualifier"}); // (or "qualifier" as null for unqualified) // to display an actual value without getting it from the item, do // fields.add(new String[] {"Display Name", "The value to display") List fields = new LinkedList(); // Title - special case, if there is no title, use "Untitled" DCValue[] titleDC = item.getDC("title", null, Item.ANY); if (titleDC.length == 0) { fields.add(new String[] { "Title", "Untitled" }); } else { fields.add(new String[] { "Title", "title", null }); } fields.add(new String[] { "Other Titles", "title", "alternative" }); fields.add(new String[] { "Authors", "contributor", Item.ANY }); fields.add(new String[] { "Keywords", "subject", null }); // Date issued DCValue[] dateIssued = item.getDC("date", "issued", Item.ANY); DCDate dd = null; if (dateIssued.length > 0) { dd = new DCDate(dateIssued[0].value); } String displayDate = UIUtil.displayDate(dd, false, false); fields.add(new String[] { "Issue Date", displayDate }); fields.add(new String[] { "Publisher", "publisher", null }); fields.add(new String[] { "Citation", "identifier", "citation" }); fields.add(new String[] { "Series/Report no.", "relation", "ispartofseries" }); // Truncate abstract DCValue[] abstrDC = item.getDC("description", "abstract", Item.ANY); if (abstrDC.length > 0) { String abstr = abstrDC[0].value; if (abstr.length() > 1000) { abstr = abstr.substring(0, 1000) + "..."; } fields.add(new String[] { "Abstract", abstr }); } fields.add(new String[] { "Description", "description", null }); fields.add(new String[] { "Gov't Doc # ", "identifier", "govdoc" }); fields.add(new String[] { "URI", "identifier", "uri" }); fields.add(new String[] { "ISBN", "identifier", "isbn" }); fields.add(new String[] { "ISSN", "identifier", "issn" }); fields.add(new String[] { "ISMN", "identifier", "ismn" }); fields.add(new String[] { "Other Identifiers", "identifier", null }); HttpServletRequest request = (HttpServletRequest) pageContext .getRequest(); out.println("<center><table class=\"itemDisplayTable\">"); Iterator fieldIterator = fields.iterator(); while (fieldIterator.hasNext()) { String[] fieldData = (String[]) fieldIterator.next(); DCValue[] values; if (fieldData.length == 2) { // Value direct from field data DCValue v = new DCValue(); v.value = fieldData[1]; values = new DCValue[1]; values[0] = v; } else { // Grab the value from the item values = item.getDC(fieldData[1], fieldData[2], Item.ANY); } // Only display the field if we have an actual value if (values.length > 0) { out.print("<tr><td class=\"metadataFieldLabel\">"); out.print(fieldData[0]); out.print(":&nbsp;</td><td class=\"metadataFieldValue\">"); out.print(Utils.addEntities(values[0].value)); for (int j = 1; j < values.length; j++) { out.print("<br>"); out.print(Utils.addEntities(values[j].value)); } out.println("</td></tr>"); } } listCollections(); out.println("</table></center><br>"); listBitstreams(); out.println("<br><br>"); showLicence(); }
1868 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1868/22d85d1df34eed227975b6e94ba17893121fac13/ItemTag.java/buggy/dspace/src/org/dspace/app/webui/jsptag/ItemTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1743, 1868, 1435, 1216, 1860, 16, 2252, 18, 4669, 18, 23116, 565, 288, 3639, 19300, 2289, 596, 273, 21442, 18, 588, 1182, 5621, 3639, 368, 3998, 731, 279, 666, 434, 9198, 358, 2562, 18, 3639, 368, 2974, 2562, 279, 21533, 652, 628, 326, 761, 16, 741, 3639, 368, 282, 1466, 18, 1289, 12, 2704, 514, 8526, 12528, 4236, 1770, 3113, 315, 2956, 3113, 315, 28157, 6, 22938, 3639, 368, 1377, 261, 280, 315, 28157, 6, 487, 446, 364, 640, 19724, 13, 3639, 368, 358, 2562, 392, 3214, 460, 2887, 8742, 518, 628, 326, 761, 16, 741, 3639, 368, 282, 1466, 18, 1289, 12, 2704, 514, 8526, 12528, 4236, 1770, 3113, 315, 1986, 460, 358, 2562, 7923, 3639, 987, 1466, 273, 394, 10688, 5621, 3639, 368, 10984, 300, 4582, 648, 16, 309, 1915, 353, 1158, 2077, 16, 999, 315, 57, 496, 305, 1259, 6, 3639, 21533, 620, 8526, 2077, 5528, 273, 761, 18, 588, 5528, 2932, 2649, 3113, 446, 16, 4342, 18, 15409, 1769, 3639, 309, 261, 2649, 5528, 18, 2469, 422, 374, 13, 3639, 288, 5411, 1466, 18, 1289, 12, 2704, 514, 8526, 288, 315, 4247, 3113, 315, 57, 496, 305, 1259, 6, 15549, 3639, 289, 3639, 469, 3639, 288, 5411, 1466, 18, 1289, 12, 2704, 514, 8526, 288, 315, 4247, 3113, 315, 2649, 3113, 446, 15549, 3639, 289, 3639, 1466, 18, 1289, 12, 2704, 514, 8526, 288, 315, 8290, 399, 9398, 3113, 315, 2649, 3113, 315, 27071, 6, 15549, 3639, 1466, 18, 1289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1743, 1868, 1435, 1216, 1860, 16, 2252, 18, 4669, 18, 23116, 565, 288, 3639, 19300, 2289, 596, 273, 21442, 18, 588, 1182, 5621, 3639, 368, 3998, 731, 279, 666, 434, 9198, 358, 2562, 18, 3639, 368, 2974, 2562, 279, 21533, 652, 628, 326, 761, 16, 741, 3639, 368, 282, 1466, 18, 1289, 12, 2704, 514, 8526, 12528, 4236, 1770, 3113, 315, 2956, 3113, 315, 28157, 6, 22938, 3639, 368, 1377, 261, 280, 315, 28157, 6, 487, 446, 364, 640, 19724, 13, 3639, 368, 358, 2562, 392, 3214, 460, 2887, 8742, 518, 628, 326, 761, 16, 741, 3639, 368, 282, 1466, 18, 1289, 12, 2704, 514, 8526, 12528, 4236, 1770, 3113, 315, 1986, 460, 358, 2562, 7923, 2 ]
private void initializeFrame() { this.frame = new Frame("MegaMek Client"); menuBar.addActionListener( this ); menuBar.setGame( this.game ); frame.setMenuBar( menuBar ); if (Settings.windowSizeHeight != 0) { frame.setLocation(Settings.windowPosX, Settings.windowPosY); frame.setSize(Settings.windowSizeWidth, Settings.windowSizeHeight); } else { frame.setSize(800, 600); } frame.setBackground(SystemColor.menu); frame.setForeground(SystemColor.menuText); frame.setIconImage(frame.getToolkit().getImage("data/images/megamek-icon.gif")); // when frame closes, save settings and clean up. frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { frame.setVisible(false); saveSettings(); die(); } }); }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/a9ed297cb5081fb025a01868efe86e5f185402e3/Client.java/buggy/megamek/src/megamek/client/Client.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 11160, 3219, 1435, 95, 2211, 18, 3789, 33, 2704, 3219, 2932, 49, 11061, 49, 3839, 1227, 8863, 5414, 5190, 18, 1289, 1803, 2223, 12, 2211, 1769, 5414, 5190, 18, 542, 12496, 12, 2211, 18, 13957, 1769, 3789, 18, 542, 4599, 5190, 12, 5414, 5190, 1769, 430, 12, 2628, 18, 5668, 1225, 2686, 5, 33, 20, 15329, 3789, 18, 542, 2735, 12, 2628, 18, 5668, 1616, 60, 16, 2628, 18, 5668, 1616, 61, 1769, 3789, 18, 542, 1225, 12, 2628, 18, 5668, 1225, 2384, 16, 2628, 18, 5668, 1225, 2686, 1769, 97, 12107, 95, 3789, 18, 542, 1225, 12, 17374, 16, 28133, 1769, 97, 3789, 18, 542, 8199, 12, 3163, 2957, 18, 5414, 1769, 3789, 18, 542, 23206, 12, 3163, 2957, 18, 5414, 1528, 1769, 3789, 18, 542, 5554, 2040, 12, 3789, 18, 588, 6364, 8691, 7675, 588, 2040, 2932, 892, 19, 7369, 19, 81, 1332, 339, 79, 17, 3950, 18, 13905, 7923, 1769, 759, 13723, 3789, 7550, 2420, 16, 87, 6606, 278, 1256, 464, 16732, 18, 3789, 18, 1289, 3829, 2223, 12, 2704, 3829, 4216, 1435, 95, 482, 6459, 5668, 15745, 12, 3829, 1133, 73, 15329, 3789, 18, 542, 6207, 12, 5743, 1769, 5688, 2628, 5621, 72, 1385, 5621, 9090, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 11160, 3219, 1435, 95, 2211, 18, 3789, 33, 2704, 3219, 2932, 49, 11061, 49, 3839, 1227, 8863, 5414, 5190, 18, 1289, 1803, 2223, 12, 2211, 1769, 5414, 5190, 18, 542, 12496, 12, 2211, 18, 13957, 1769, 3789, 18, 542, 4599, 5190, 12, 5414, 5190, 1769, 430, 12, 2628, 18, 5668, 1225, 2686, 5, 33, 20, 15329, 3789, 18, 542, 2735, 12, 2628, 18, 5668, 1616, 60, 16, 2628, 18, 5668, 1616, 61, 1769, 3789, 18, 542, 1225, 12, 2628, 18, 5668, 1225, 2384, 16, 2628, 18, 5668, 1225, 2686, 1769, 97, 12107, 95, 3789, 18, 542, 1225, 12, 17374, 16, 28133, 1769, 97, 3789, 18, 542, 8199, 12, 3163, 2957, 18, 5414, 1769, 3789, 18, 542, 23206, 2 ]
throw new RangeError(runtime, inspect().toString() + " out of range.");
throw new RangeError(getRuntime(), inspect().toString() + " out of range.");
public long[] getBeginLength(long limit, boolean truncate, boolean isStrict) { long beginLong = RubyNumeric.num2long(begin); long endLong = RubyNumeric.num2long(end); if (! isExclusive) { endLong++; } if (beginLong < 0) { beginLong += limit; if (beginLong < 0) { if (isStrict) { throw new RangeError(runtime, inspect().toString() + " out of range."); } return null; } } if (truncate && beginLong > limit) { if (isStrict) { throw new RangeError(runtime, inspect().toString() + " out of range."); } return null; } if (truncate && endLong > limit) { endLong = limit; } if (endLong < 0 || (!isExclusive && endLong == 0)) { endLong += limit; if (endLong < 0) { if (isStrict) { throw new RangeError(runtime, inspect().toString() + " out of range."); } return null; } } if (beginLong > endLong) { if (isStrict) { throw new RangeError(runtime, inspect().toString() + " out of range."); } return null; } return new long[] { beginLong, endLong - beginLong }; }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyRange.java/buggy/src/org/jruby/RubyRange.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1525, 8526, 25282, 1782, 12, 5748, 1800, 16, 1250, 10310, 16, 1250, 353, 14809, 13, 288, 3639, 1525, 2376, 3708, 273, 19817, 9902, 18, 2107, 22, 5748, 12, 10086, 1769, 3639, 1525, 679, 3708, 273, 19817, 9902, 18, 2107, 22, 5748, 12, 409, 1769, 3639, 309, 16051, 353, 17075, 13, 288, 5411, 679, 3708, 9904, 31, 3639, 289, 3639, 309, 261, 10086, 3708, 411, 374, 13, 288, 5411, 2376, 3708, 1011, 1800, 31, 5411, 309, 261, 10086, 3708, 411, 374, 13, 288, 7734, 309, 261, 291, 14809, 13, 288, 10792, 604, 394, 8086, 668, 12, 588, 5576, 9334, 5334, 7675, 10492, 1435, 397, 315, 596, 434, 1048, 1199, 1769, 7734, 289, 7734, 327, 446, 31, 5411, 289, 3639, 289, 3639, 309, 261, 27201, 597, 2376, 3708, 405, 1800, 13, 288, 5411, 309, 261, 291, 14809, 13, 288, 7734, 604, 394, 8086, 668, 12, 588, 5576, 9334, 5334, 7675, 10492, 1435, 397, 315, 596, 434, 1048, 1199, 1769, 5411, 289, 5411, 327, 446, 31, 3639, 289, 3639, 309, 261, 27201, 597, 679, 3708, 405, 1800, 13, 288, 5411, 679, 3708, 273, 1800, 31, 3639, 289, 202, 202, 430, 261, 409, 3708, 411, 374, 225, 747, 16051, 291, 17075, 597, 679, 3708, 422, 374, 3719, 288, 1082, 202, 409, 3708, 1011, 1800, 31, 1082, 202, 430, 261, 409, 3708, 411, 374, 13, 288, 9506, 202, 430, 261, 291, 14809, 13, 288, 6862, 202, 12849, 394, 8086, 668, 12, 9448, 16, 5334, 7675, 10492, 1435, 397, 315, 596, 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, 1525, 8526, 25282, 1782, 12, 5748, 1800, 16, 1250, 10310, 16, 1250, 353, 14809, 13, 288, 3639, 1525, 2376, 3708, 273, 19817, 9902, 18, 2107, 22, 5748, 12, 10086, 1769, 3639, 1525, 679, 3708, 273, 19817, 9902, 18, 2107, 22, 5748, 12, 409, 1769, 3639, 309, 16051, 353, 17075, 13, 288, 5411, 679, 3708, 9904, 31, 3639, 289, 3639, 309, 261, 10086, 3708, 411, 374, 13, 288, 5411, 2376, 3708, 1011, 1800, 31, 5411, 309, 261, 10086, 3708, 411, 374, 13, 288, 7734, 309, 261, 291, 14809, 13, 288, 10792, 604, 394, 8086, 668, 12, 588, 5576, 9334, 5334, 7675, 10492, 1435, 397, 315, 596, 434, 1048, 1199, 1769, 7734, 289, 7734, 327, 446, 31, 5411, 289, 2 ]
System.out.println("Default (no arguments) is '-c 1'"); System.out.println("\nReport errors only in logs: ChecksumChecker -e");
System.out.println("\nReport all processing (verbose)(default reports only errors): ChecksumChecker -v"); System.out.println("\nDefault (no arguments) is equivalent to '-c 1'");
private static void printHelp(Options options) { HelpFormatter myhelp = new HelpFormatter(); myhelp.printHelp("Checksum Checker\n", options); System.out .println("\nSpecify a duration for checker process, using s(seconds)," + "m(minutes), or h(hours): ChecksumChecker -d 30s" + " OR ChecksumChecker -d 30m" + " OR ChecksumChecker -d 2h"); System.out .println("\nSpecify bitstream IDs: ChecksumChecker -b 13 15 17 20"); System.out.println("\nLoop through all bitstreams: " + "ChecksumChecker -l"); System.out .println("\nLoop through all bitstreams continuously: ChecksumChecker -L"); System.out .println("\nCheck a defined number of bitstreams: ChecksumChecker -c 10"); System.out.println("Default (no arguments) is '-c 1'"); System.out.println("\nReport errors only in logs: ChecksumChecker -e"); System.exit(0); }
51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/6c35684c85aea40f564514743cf353881f53e165/ChecksumChecker.java/buggy/dspace/src/org/dspace/app/checker/ChecksumChecker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1172, 6696, 12, 1320, 702, 13, 565, 288, 3639, 11288, 5074, 3399, 5201, 273, 394, 11288, 5074, 5621, 3639, 3399, 5201, 18, 1188, 6696, 2932, 10723, 31577, 64, 82, 3113, 702, 1769, 3639, 2332, 18, 659, 7734, 263, 8222, 31458, 82, 19302, 279, 3734, 364, 12489, 1207, 16, 1450, 272, 12, 7572, 3631, 6, 13491, 397, 315, 81, 12, 17916, 3631, 578, 366, 12, 16814, 4672, 19760, 8847, 300, 72, 5196, 87, 6, 13491, 397, 315, 4869, 19760, 8847, 300, 72, 5196, 81, 6, 13491, 397, 315, 4869, 19760, 8847, 300, 72, 576, 76, 8863, 3639, 2332, 18, 659, 7734, 263, 8222, 31458, 82, 19302, 28640, 7115, 30, 19760, 8847, 300, 70, 5958, 4711, 8043, 4200, 8863, 3639, 2332, 18, 659, 18, 8222, 31458, 82, 6452, 3059, 777, 2831, 16320, 30, 315, 7734, 397, 315, 10723, 8847, 300, 80, 8863, 3639, 2332, 18, 659, 7734, 263, 8222, 31458, 82, 6452, 3059, 777, 2831, 16320, 17235, 715, 30, 19760, 8847, 300, 48, 8863, 3639, 2332, 18, 659, 7734, 263, 8222, 31458, 82, 1564, 279, 2553, 1300, 434, 2831, 16320, 30, 19760, 8847, 300, 71, 1728, 8863, 3639, 2332, 18, 659, 18, 8222, 2932, 1868, 261, 2135, 1775, 13, 353, 2400, 71, 404, 4970, 1769, 3639, 2332, 18, 659, 18, 8222, 31458, 82, 4820, 1334, 1338, 316, 5963, 30, 19760, 8847, 300, 73, 8863, 3639, 2332, 18, 8593, 12, 20, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1172, 6696, 12, 1320, 702, 13, 565, 288, 3639, 11288, 5074, 3399, 5201, 273, 394, 11288, 5074, 5621, 3639, 3399, 5201, 18, 1188, 6696, 2932, 10723, 31577, 64, 82, 3113, 702, 1769, 3639, 2332, 18, 659, 7734, 263, 8222, 31458, 82, 19302, 279, 3734, 364, 12489, 1207, 16, 1450, 272, 12, 7572, 3631, 6, 13491, 397, 315, 81, 12, 17916, 3631, 578, 366, 12, 16814, 4672, 19760, 8847, 300, 72, 5196, 87, 6, 13491, 397, 315, 4869, 19760, 8847, 300, 72, 5196, 81, 6, 13491, 397, 315, 4869, 19760, 8847, 300, 72, 576, 76, 8863, 3639, 2332, 18, 659, 7734, 263, 8222, 31458, 82, 19302, 28640, 7115, 30, 19760, 8847, 300, 70, 5958, 4711, 8043, 2 ]
"var key=Ltest0048/Test<*>;.var [in Test [in [Working copy] Test.java [in test0048 [in src2 [in Resolve]]]]]",
"var declaringSignature=Ltest0048/Test<*>; signature=null [in Test [in [Working copy] Test.java [in test0048 [in src2 [in Resolve]]]]]",
public void test0048() throws JavaModelException { this.wc = getWorkingCopy( "/Resolve/src2/test0048/Test.java", "package test0048;\n" + "public class Test<T1> {\n" + " public String var;\n" + " void foo() {\n" + " Test<?> t = new Test<String>;\n" + " t.var = null;\n" + " }\n" + "}"); String str = wc.getSource(); String selection = "var"; int start = str.lastIndexOf(selection); int length = selection.length(); IJavaElement[] elements = wc.codeSelect(start, length); assertElementsEqual( "Unexpected elements", "var key=Ltest0048/Test<*>;.var [in Test [in [Working copy] Test.java [in test0048 [in src2 [in Resolve]]]]]", elements );}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/562f566c1c2b8bfedaad7117a5b53ae2f781bec9/ResolveTests_1_5.java/buggy/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ResolveTests_1_5.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 713, 8875, 1435, 1216, 5110, 1488, 503, 288, 202, 2211, 18, 27594, 273, 336, 14836, 2951, 12, 1082, 202, 6, 19, 8460, 19, 4816, 22, 19, 3813, 713, 8875, 19, 4709, 18, 6290, 3113, 1082, 202, 6, 5610, 1842, 713, 8875, 9747, 82, 6, 397, 1082, 202, 6, 482, 667, 7766, 32, 56, 21, 34, 18890, 82, 6, 397, 1082, 202, 6, 202, 482, 514, 569, 9747, 82, 6, 397, 1082, 202, 6, 202, 6459, 8431, 1435, 18890, 82, 6, 397, 1082, 202, 6, 202, 225, 7766, 12880, 34, 268, 273, 394, 7766, 32, 780, 34, 9747, 82, 6, 397, 1082, 202, 6, 202, 225, 268, 18, 1401, 273, 446, 9747, 82, 6, 397, 1082, 202, 6, 202, 6280, 82, 6, 397, 1082, 202, 6, 1532, 1769, 202, 202, 780, 609, 273, 14310, 18, 588, 1830, 5621, 202, 780, 4421, 273, 315, 1401, 14432, 202, 474, 787, 273, 609, 18, 2722, 31985, 12, 10705, 1769, 202, 474, 769, 273, 4421, 18, 2469, 5621, 202, 202, 45, 5852, 1046, 8526, 2186, 273, 14310, 18, 710, 3391, 12, 1937, 16, 769, 1769, 202, 11231, 3471, 5812, 12, 202, 202, 6, 7762, 2186, 3113, 202, 202, 6, 1401, 498, 33, 48, 3813, 713, 8875, 19, 4709, 32, 14, 34, 31, 18, 1401, 306, 267, 7766, 306, 267, 306, 14836, 1610, 65, 7766, 18, 6290, 306, 267, 1842, 713, 8875, 306, 267, 1705, 22, 306, 267, 9910, 13563, 13563, 65, 3113, 202, 202, 6274, 202, 1769, 97, 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, 1071, 918, 1842, 713, 8875, 1435, 1216, 5110, 1488, 503, 288, 202, 2211, 18, 27594, 273, 336, 14836, 2951, 12, 1082, 202, 6, 19, 8460, 19, 4816, 22, 19, 3813, 713, 8875, 19, 4709, 18, 6290, 3113, 1082, 202, 6, 5610, 1842, 713, 8875, 9747, 82, 6, 397, 1082, 202, 6, 482, 667, 7766, 32, 56, 21, 34, 18890, 82, 6, 397, 1082, 202, 6, 202, 482, 514, 569, 9747, 82, 6, 397, 1082, 202, 6, 202, 6459, 8431, 1435, 18890, 82, 6, 397, 1082, 202, 6, 202, 225, 7766, 12880, 34, 268, 273, 394, 7766, 32, 780, 34, 9747, 82, 6, 397, 1082, 202, 6, 202, 225, 268, 18, 1401, 273, 446, 9747, 82, 6, 397, 1082, 202, 2 ]
return getFile("mapred.local.dir", name + File.separator + subdir);
return getFile("mapred.local.dir", subdir + File.separator + name);
public File getLocalFile(String subdir, String name) throws IOException { return getFile("mapred.local.dir", name + File.separator + subdir); }
51718 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51718/b7fa0d8b7421622f3ec524111b5561b3a7788f6c/JobConf.java/buggy/src/java/org/apache/hadoop/mapred/JobConf.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1387, 6993, 812, 12, 780, 16921, 16, 514, 508, 13, 1216, 1860, 288, 565, 327, 6034, 2932, 1458, 1118, 18, 3729, 18, 1214, 3113, 16921, 397, 1387, 18, 11287, 397, 508, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1387, 6993, 812, 12, 780, 16921, 16, 514, 508, 13, 1216, 1860, 288, 565, 327, 6034, 2932, 1458, 1118, 18, 3729, 18, 1214, 3113, 16921, 397, 1387, 18, 11287, 397, 508, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int size = m_board.getSize();
public void initSize() { m_lastMove = null; m_field = new Field[m_board.getSize()][m_board.getSize()]; removeAll(); int size = m_board.getSize(); setLayout(new GridLayout(size + 2, size + 2)); addColumnLabels(); for (int y = size - 1; y >= 0; --y) { String yLabel = Integer.toString(y + 1); add(new JLabel(yLabel, JLabel.CENTER)); for (int x = 0; x < size; ++x) { go.Point p = m_board.getPoint(x, y); Field field = new Field(this, p, m_board.isHandicap(p)); add(field); m_field[x][y] = field; } add(new JLabel(yLabel, JLabel.CENTER)); } addColumnLabels(); newGame(); revalidate(); repaint(); }
2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/c65e110a6cb0c977679bc969485468cf4820bbcf/Board.java/clean/src/gui/Board.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 1225, 1435, 565, 288, 3639, 312, 67, 2722, 7607, 273, 446, 31, 3639, 312, 67, 1518, 273, 394, 2286, 63, 81, 67, 3752, 18, 588, 1225, 1435, 6362, 81, 67, 3752, 18, 588, 1225, 1435, 15533, 3639, 12787, 5621, 9079, 18479, 12, 2704, 7145, 3744, 12, 1467, 397, 576, 16, 963, 397, 576, 10019, 3639, 10871, 5888, 5621, 3639, 364, 261, 474, 677, 273, 963, 300, 404, 31, 677, 1545, 374, 31, 1493, 93, 13, 3639, 288, 5411, 514, 677, 2224, 273, 2144, 18, 10492, 12, 93, 397, 404, 1769, 5411, 527, 12, 2704, 21403, 12, 93, 2224, 16, 21403, 18, 19835, 10019, 5411, 364, 261, 474, 619, 273, 374, 31, 619, 411, 963, 31, 965, 92, 13, 5411, 288, 7734, 1960, 18, 2148, 293, 273, 312, 67, 3752, 18, 588, 2148, 12, 92, 16, 677, 1769, 7734, 2286, 652, 273, 394, 2286, 12, 2211, 16, 293, 16, 312, 67, 3752, 18, 291, 1144, 335, 438, 12, 84, 10019, 7734, 527, 12, 1518, 1769, 7734, 312, 67, 1518, 63, 92, 6362, 93, 65, 273, 652, 31, 5411, 289, 5411, 527, 12, 2704, 21403, 12, 93, 2224, 16, 21403, 18, 19835, 10019, 3639, 289, 3639, 10871, 5888, 5621, 3639, 394, 12496, 5621, 3639, 283, 5662, 5621, 3639, 24962, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 1225, 1435, 565, 288, 3639, 312, 67, 2722, 7607, 273, 446, 31, 3639, 312, 67, 1518, 273, 394, 2286, 63, 81, 67, 3752, 18, 588, 1225, 1435, 6362, 81, 67, 3752, 18, 588, 1225, 1435, 15533, 3639, 12787, 5621, 9079, 18479, 12, 2704, 7145, 3744, 12, 1467, 397, 576, 16, 963, 397, 576, 10019, 3639, 10871, 5888, 5621, 3639, 364, 261, 474, 677, 273, 963, 300, 404, 31, 677, 1545, 374, 31, 1493, 93, 13, 3639, 288, 5411, 514, 677, 2224, 273, 2144, 18, 10492, 12, 93, 397, 404, 1769, 5411, 527, 12, 2704, 21403, 12, 93, 2224, 16, 21403, 18, 19835, 10019, 5411, 364, 261, 474, 619, 273, 374, 31, 619, 411, 963, 31, 2 ]
throw new IllegalArgumentException("Bad sort order: " + sortOrder);
throw new IllegalArgumentException("Bad sort order: " + groupBy);
private Comparator getGroupComparator(String sortOrder) { if (sortOrder.equals(BY_CLASS)) { return bugInstanceClassComparator; } else if (sortOrder.equals(BY_PACKAGE)) { return bugInstancePackageComparator; } else if (sortOrder.equals(BY_CATEGORY)) { return bugInstanceTypeComparator; } else throw new IllegalArgumentException("Bad sort order: " + sortOrder); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/90102c11e692616f20e5537d0acfeb0b692ad5f3/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 13359, 11751, 5559, 12, 780, 19050, 13, 288, 202, 430, 261, 3804, 2448, 18, 14963, 12, 6486, 67, 5237, 3719, 288, 202, 565, 327, 7934, 1442, 797, 5559, 31, 202, 97, 469, 309, 261, 3804, 2448, 18, 14963, 12, 6486, 67, 19077, 3719, 288, 202, 565, 327, 7934, 1442, 2261, 5559, 31, 202, 97, 469, 309, 261, 3804, 2448, 18, 14963, 12, 6486, 67, 24847, 3719, 288, 202, 565, 327, 7934, 29123, 5559, 31, 202, 97, 469, 202, 565, 604, 394, 2754, 2932, 6434, 1524, 1353, 30, 315, 397, 13197, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3238, 13359, 11751, 5559, 12, 780, 19050, 13, 288, 202, 430, 261, 3804, 2448, 18, 14963, 12, 6486, 67, 5237, 3719, 288, 202, 565, 327, 7934, 1442, 797, 5559, 31, 202, 97, 469, 309, 261, 3804, 2448, 18, 14963, 12, 6486, 67, 19077, 3719, 288, 202, 565, 327, 7934, 1442, 2261, 5559, 31, 202, 97, 469, 309, 261, 3804, 2448, 18, 14963, 12, 6486, 67, 24847, 3719, 288, 202, 565, 327, 7934, 29123, 5559, 31, 202, 97, 469, 202, 565, 604, 394, 2754, 2932, 6434, 1524, 1353, 30, 315, 397, 13197, 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 ]
Mock session = getMockSession();
Mock session = MuleTestUtils.getMockSession();
public void testSelectiveConsumer() throws Exception { Mock session = getMockSession(); UMOComponent testComponent = getTestComponent(getTestDescriptor("test", Apple.class.getName())); UMOInboundMessageRouter messageRouter = new InboundMessageRouter(); SelectiveConsumer router = new SelectiveConsumer(); messageRouter.addRouter(router); messageRouter.setCatchAllStrategy(new LoggingCatchAllStrategy()); PayloadTypeFilter filter = new PayloadTypeFilter(String.class); router.setFilter(filter); assertEquals(filter, router.getFilter()); UMOMessage message = new MuleMessage("test event"); UMOEndpoint endpoint = getTestEndpoint("Test1Provider", UMOEndpoint.ENDPOINT_TYPE_SENDER); UMOEvent event = new MuleEvent(message, endpoint, (UMOSession) session.proxy(), false); assertTrue(router.isMatch(event)); session.expect("dispatchEvent", C.eq(event)); session.expectAndReturn("getComponent", testComponent); messageRouter.route(event); session.verify(); event = new MuleEvent(message, endpoint, (UMOSession) session.proxy(), true); session.expectAndReturn("sendEvent", C.eq(event), message); session.expectAndReturn("getComponent", testComponent); UMOMessage result = messageRouter.route(event); assertNotNull(result); assertEquals(message, result); session.verify(); session.expectAndReturn("getComponent", testComponent); session.expectAndReturn("toString", ""); message = new MuleMessage(new Exception()); event = new MuleEvent(message, endpoint, (UMOSession) session.proxy(), false); assertTrue(!router.isMatch(event)); messageRouter.route(event); session.verify(); }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/b656e0806058d87c5db05880209b51a8d57416d0/SelectiveConsumerTestCase.java/clean/mule/src/test/java/org/mule/test/routing/inbound/SelectiveConsumerTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3391, 688, 5869, 1435, 1216, 1185, 565, 288, 3639, 7867, 1339, 273, 490, 725, 4709, 1989, 18, 588, 9865, 2157, 5621, 3639, 587, 5980, 1841, 1842, 1841, 273, 29384, 1841, 12, 588, 4709, 3187, 2932, 3813, 3113, 1716, 1802, 18, 1106, 18, 17994, 1435, 10019, 3639, 587, 5980, 20571, 1079, 8259, 883, 8259, 273, 394, 657, 3653, 1079, 8259, 5621, 3639, 6766, 688, 5869, 4633, 273, 394, 6766, 688, 5869, 5621, 3639, 883, 8259, 18, 1289, 8259, 12, 10717, 1769, 3639, 883, 8259, 18, 542, 14842, 1595, 4525, 12, 2704, 10253, 14842, 1595, 4525, 10663, 3639, 11320, 559, 1586, 1034, 273, 394, 11320, 559, 1586, 12, 780, 18, 1106, 1769, 3639, 4633, 18, 542, 1586, 12, 2188, 1769, 3639, 1815, 8867, 12, 2188, 16, 4633, 18, 588, 1586, 10663, 3639, 587, 5980, 1079, 883, 273, 394, 490, 725, 1079, 2932, 3813, 871, 8863, 3639, 587, 5980, 3293, 2494, 273, 29384, 3293, 2932, 4709, 21, 2249, 3113, 587, 5980, 3293, 18, 18506, 67, 2399, 67, 1090, 18556, 1769, 3639, 587, 5980, 1133, 871, 273, 394, 490, 725, 1133, 12, 2150, 16, 2494, 16, 261, 2799, 51, 2157, 13, 1339, 18, 5656, 9334, 629, 1769, 3639, 1815, 5510, 12, 10717, 18, 291, 2060, 12, 2575, 10019, 3639, 1339, 18, 12339, 2932, 10739, 1133, 3113, 385, 18, 11253, 12, 2575, 10019, 3639, 1339, 18, 12339, 1876, 990, 2932, 588, 1841, 3113, 1842, 1841, 1769, 3639, 883, 8259, 18, 5547, 12, 2575, 1769, 3639, 1339, 18, 8705, 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, 3391, 688, 5869, 1435, 1216, 1185, 565, 288, 3639, 7867, 1339, 273, 490, 725, 4709, 1989, 18, 588, 9865, 2157, 5621, 3639, 587, 5980, 1841, 1842, 1841, 273, 29384, 1841, 12, 588, 4709, 3187, 2932, 3813, 3113, 1716, 1802, 18, 1106, 18, 17994, 1435, 10019, 3639, 587, 5980, 20571, 1079, 8259, 883, 8259, 273, 394, 657, 3653, 1079, 8259, 5621, 3639, 6766, 688, 5869, 4633, 273, 394, 6766, 688, 5869, 5621, 3639, 883, 8259, 18, 1289, 8259, 12, 10717, 1769, 3639, 883, 8259, 18, 542, 14842, 1595, 4525, 12, 2704, 10253, 14842, 1595, 4525, 10663, 3639, 11320, 559, 1586, 1034, 273, 394, 11320, 559, 1586, 12, 780, 18, 1106, 1769, 3639, 4633, 18, 542, 1586, 2 ]
public Message create( String beginString, String msgType ) { if("0".equals(msgType)) { return new quickfix.fix44.Heartbeat(); } if("A".equals(msgType)) { return new quickfix.fix44.Logon(); } if("1".equals(msgType)) { return new quickfix.fix44.TestRequest(); } if("2".equals(msgType)) { return new quickfix.fix44.ResendRequest(); } if("3".equals(msgType)) { return new quickfix.fix44.Reject(); } if("4".equals(msgType)) { return new quickfix.fix44.SequenceReset(); } if("5".equals(msgType)) { return new quickfix.fix44.Logout(); } if("j".equals(msgType)) { return new quickfix.fix44.BusinessMessageReject(); } if("BE".equals(msgType)) { return new quickfix.fix44.UserRequest(); } if("BF".equals(msgType)) { return new quickfix.fix44.UserResponse(); } if("7".equals(msgType)) { return new quickfix.fix44.Advertisement(); } if("6".equals(msgType)) { return new quickfix.fix44.IndicationOfInterest(); } if("B".equals(msgType)) { return new quickfix.fix44.News(); } if("C".equals(msgType)) { return new quickfix.fix44.Email(); } if("R".equals(msgType)) { return new quickfix.fix44.QuoteRequest(); } if("AJ".equals(msgType)) { return new quickfix.fix44.QuoteResponse(); } if("AG".equals(msgType)) { return new quickfix.fix44.QuoteRequestReject(); } if("AH".equals(msgType)) { return new quickfix.fix44.RFQRequest(); } if("S".equals(msgType)) { return new quickfix.fix44.Quote(); } if("Z".equals(msgType)) { return new quickfix.fix44.QuoteCancel(); } if("a".equals(msgType)) { return new quickfix.fix44.QuoteStatusRequest(); } if("AI".equals(msgType)) { return new quickfix.fix44.QuoteStatusReport(); } if("i".equals(msgType)) { return new quickfix.fix44.MassQuote(); } if("b".equals(msgType)) { return new quickfix.fix44.MassQuoteAcknowledgement(); } if("V".equals(msgType)) { return new quickfix.fix44.MarketDataRequest(); } if("W".equals(msgType)) { return new quickfix.fix44.MarketDataSnapshotFullRefresh(); } if("X".equals(msgType)) { return new quickfix.fix44.MarketDataIncrementalRefresh(); } if("Y".equals(msgType)) { return new quickfix.fix44.MarketDataRequestReject(); } if("c".equals(msgType)) { return new quickfix.fix44.SecurityDefinitionRequest(); } if("d".equals(msgType)) { return new quickfix.fix44.SecurityDefinition(); } if("v".equals(msgType)) { return new quickfix.fix44.SecurityTypeRequest(); } if("w".equals(msgType)) { return new quickfix.fix44.SecurityTypes(); } if("x".equals(msgType)) { return new quickfix.fix44.SecurityListRequest(); } if("y".equals(msgType)) { return new quickfix.fix44.SecurityList(); } if("z".equals(msgType)) { return new quickfix.fix44.DerivativeSecurityListRequest(); } if("AA".equals(msgType)) { return new quickfix.fix44.DerivativeSecurityList(); } if("e".equals(msgType)) { return new quickfix.fix44.SecurityStatusRequest(); } if("f".equals(msgType)) { return new quickfix.fix44.SecurityStatus(); } if("g".equals(msgType)) { return new quickfix.fix44.TradingSessionStatusRequest(); } if("h".equals(msgType)) { return new quickfix.fix44.TradingSessionStatus(); } if("D".equals(msgType)) { return new quickfix.fix44.NewOrderSingle(); } if("8".equals(msgType)) { return new quickfix.fix44.ExecutionReport(); } if("Q".equals(msgType)) { return new quickfix.fix44.DontKnowTrade(); } if("G".equals(msgType)) { return new quickfix.fix44.OrderCancelReplaceRequest(); } if("F".equals(msgType)) { return new quickfix.fix44.OrderCancelRequest(); } if("9".equals(msgType)) { return new quickfix.fix44.OrderCancelReject(); } if("H".equals(msgType)) { return new quickfix.fix44.OrderStatusRequest(); } if("q".equals(msgType)) { return new quickfix.fix44.OrderMassCancelRequest(); } if("r".equals(msgType)) { return new quickfix.fix44.OrderMassCancelReport(); } if("AF".equals(msgType)) { return new quickfix.fix44.OrderMassStatusRequest(); } if("s".equals(msgType)) { return new quickfix.fix44.NewOrderCross(); } if("t".equals(msgType)) { return new quickfix.fix44.CrossOrderCancelReplaceRequest(); } if("u".equals(msgType)) { return new quickfix.fix44.CrossOrderCancelRequest(); } if("AB".equals(msgType)) { return new quickfix.fix44.NewOrderMultileg(); } if("AC".equals(msgType)) { return new quickfix.fix44.MultilegOrderCancelReplaceRequest(); } if("k".equals(msgType)) { return new quickfix.fix44.BidRequest(); } if("l".equals(msgType)) { return new quickfix.fix44.BidResponse(); } if("E".equals(msgType)) { return new quickfix.fix44.NewOrderList(); } if("m".equals(msgType)) { return new quickfix.fix44.ListStrikePrice(); } if("N".equals(msgType)) { return new quickfix.fix44.ListStatus(); } if("L".equals(msgType)) { return new quickfix.fix44.ListExecute(); } if("K".equals(msgType)) { return new quickfix.fix44.ListCancelRequest(); } if("M".equals(msgType)) { return new quickfix.fix44.ListStatusRequest(); } if("J".equals(msgType)) { return new quickfix.fix44.AllocationInstruction(); } if("P".equals(msgType)) { return new quickfix.fix44.AllocationInstructionAck(); } if("AS".equals(msgType)) { return new quickfix.fix44.AllocationReport(); } if("AT".equals(msgType)) { return new quickfix.fix44.AllocationReportAck(); } if("AK".equals(msgType)) { return new quickfix.fix44.Confirmation(); } if("AU".equals(msgType)) { return new quickfix.fix44.ConfirmationAck(); } if("BH".equals(msgType)) { return new quickfix.fix44.ConfirmationRequest(); } if("T".equals(msgType)) { return new quickfix.fix44.SettlementInstructions(); } if("AV".equals(msgType)) { return new quickfix.fix44.SettlementInstructionRequest(); } if("AD".equals(msgType)) { return new quickfix.fix44.TradeCaptureReportRequest(); } if("AQ".equals(msgType)) { return new quickfix.fix44.TradeCaptureReportRequestAck(); } if("AE".equals(msgType)) { return new quickfix.fix44.TradeCaptureReport(); } if("AR".equals(msgType)) { return new quickfix.fix44.TradeCaptureReportAck(); } if("o".equals(msgType)) { return new quickfix.fix44.RegistrationInstructions(); } if("p".equals(msgType)) { return new quickfix.fix44.RegistrationInstructionsResponse(); } if("AL".equals(msgType)) { return new quickfix.fix44.PositionMaintenanceRequest(); } if("AM".equals(msgType)) { return new quickfix.fix44.PositionMaintenanceReport(); } if("AN".equals(msgType)) { return new quickfix.fix44.RequestForPositions(); } if("AO".equals(msgType)) { return new quickfix.fix44.RequestForPositionsAck(); } if("AP".equals(msgType)) { return new quickfix.fix44.PositionReport(); } if("AW".equals(msgType)) { return new quickfix.fix44.AssignmentReport(); } if("AX".equals(msgType)) { return new quickfix.fix44.CollateralRequest(); } if("AY".equals(msgType)) { return new quickfix.fix44.CollateralAssignment(); } if("AZ".equals(msgType)) { return new quickfix.fix44.CollateralResponse(); } if("BA".equals(msgType)) { return new quickfix.fix44.CollateralReport(); } if("BB".equals(msgType)) { return new quickfix.fix44.CollateralInquiry(); } if("BG".equals(msgType)) { return new quickfix.fix44.CollateralInquiryAck(); } return new quickfix.fix44.Message(); }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/1550773ed3d856616a145b520aada7f5e496c228/MessageFactory.java/buggy/src/java/src/quickfix/fix44/MessageFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2350, 752, 12, 514, 2376, 780, 16, 514, 1234, 559, 262, 288, 282, 309, 2932, 20, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 6334, 18, 15894, 5621, 282, 289, 282, 309, 2932, 37, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 6334, 18, 1343, 265, 5621, 282, 289, 282, 309, 2932, 21, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 6334, 18, 4709, 691, 5621, 282, 289, 282, 309, 2932, 22, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 6334, 18, 607, 409, 691, 5621, 282, 289, 282, 309, 2932, 23, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 6334, 18, 21705, 5621, 282, 289, 282, 309, 2932, 24, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 6334, 18, 4021, 7013, 5621, 282, 289, 282, 309, 2932, 25, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 6334, 18, 19456, 5621, 282, 289, 282, 309, 2932, 78, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 6334, 18, 13423, 1079, 21705, 5621, 282, 289, 282, 309, 2932, 5948, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 6334, 18, 31059, 5621, 282, 289, 282, 309, 2932, 15259, 9654, 14963, 12, 3576, 559, 3719, 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, 2350, 752, 12, 514, 2376, 780, 16, 514, 1234, 559, 262, 288, 282, 309, 2932, 20, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 6334, 18, 15894, 5621, 282, 289, 282, 309, 2932, 37, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 6334, 18, 1343, 265, 5621, 282, 289, 282, 309, 2932, 21, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 6334, 18, 4709, 691, 5621, 282, 289, 282, 309, 2932, 22, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 6334, 18, 607, 409, 691, 5621, 282, 289, 282, 309, 2932, 23, 9654, 2 ]
AST tmp265_AST_in = (AST)_t;
AST tmp264_AST_in = (AST)_t;
public final void block_opt(AST _t) throws RecognitionException { AST block_opt_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Block_iterator: { AST __t230 = _t; AST tmp265_AST_in = (AST)_t; match(_t,Block_iterator); _t = _t.getFirstChild(); field(_t); _t = _retTree; AST tmp266_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getNextSibling(); expression(_t); _t = _retTree; AST tmp267_AST_in = (AST)_t; match(_t,TO); _t = _t.getNextSibling(); expression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BY: { AST tmp268_AST_in = (AST)_t; match(_t,BY); _t = _t.getNextSibling(); constant(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t230; _t = _t.getNextSibling(); break; } case QUERYTUNING: { querytuningphrase(_t); _t = _retTree; break; } case WHILE: { AST __t232 = _t; AST tmp269_AST_in = (AST)_t; match(_t,WHILE); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t232; _t = _t.getNextSibling(); break; } case TRANSACTION: { AST tmp270_AST_in = (AST)_t; match(_t,TRANSACTION); _t = _t.getNextSibling(); break; } case ON: { on___phrase(_t); _t = _retTree; break; } case WITH: { framephrase(_t); _t = _retTree; break; } case BREAK: { AST tmp271_AST_in = (AST)_t; match(_t,BREAK); _t = _t.getNextSibling(); break; } case BY: { AST __t233 = _t; AST tmp272_AST_in = (AST)_t; match(_t,BY); _t = _t.getFirstChild(); expression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DESCENDING: { AST tmp273_AST_in = (AST)_t; match(_t,DESCENDING); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t233; _t = _t.getNextSibling(); break; } case COLLATE: { collatephrase(_t); _t = _retTree; break; } case GROUP: { AST __t235 = _t; AST tmp274_AST_in = (AST)_t; match(_t,GROUP); _t = _t.getFirstChild(); { int _cnt239=0; _loop239: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==BY)) { AST __t237 = _t; AST tmp275_AST_in = (AST)_t; match(_t,BY); _t = _t.getFirstChild(); expression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DESCENDING: { AST tmp276_AST_in = (AST)_t; match(_t,DESCENDING); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t237; _t = _t.getNextSibling(); } else { if ( _cnt239>=1 ) { break _loop239; } else {throw new NoViableAltException(_t);} } _cnt239++; } while (true); } _t = __t235; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1203, 67, 3838, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1203, 67, 3838, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 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, 3914, 67, 9838, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 29157, 273, 389, 88, 31, 1082, 202, 9053, 1853, 30281, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 1768, 67, 9838, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 1518, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 9053, 1853, 5558, 26, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 12853, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8692, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 9053, 1853, 5558, 27, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4296, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8692, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 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, 1203, 67, 3838, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1203, 67, 3838, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 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, 3914, 67, 9838, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 29157, 273, 389, 88, 31, 1082, 202, 9053, 1853, 30281, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 1768, 67, 9838, 1769, 1082, 202, 67, 88, 2 ]
else { filechooser.setSelectedFile(f); filechooser.approveSelection(); closeDialog(); }
else { filechooser.setSelectedFile(f); filechooser.approveSelection(); closeDialog(); }
public void actionPerformed(ActionEvent e) { Object obj = filelist.getSelectedValue(); if (obj != null) { File f = filechooser.getFileSystemView().createFileObject(obj .toString()); if (filechooser.isTraversable(f) && filechooser.getFileSelectionMode() == JFileChooser.FILES_ONLY) filechooser.setCurrentDirectory(f); else { filechooser.setSelectedFile(f); filechooser.approveSelection(); closeDialog(); } } }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/d03b7ded9dacd5a74a8420d7dade451079b17d89/BasicFileChooserUI.java/clean/libraries/javalib/javax/swing/plaf/basic/BasicFileChooserUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 565, 288, 1377, 1033, 1081, 273, 26204, 18, 588, 7416, 620, 5621, 1377, 309, 261, 2603, 480, 446, 13, 3639, 288, 202, 225, 1387, 284, 273, 585, 2599, 13164, 18, 588, 11785, 1767, 7675, 2640, 21471, 12, 2603, 202, 4766, 18701, 263, 10492, 10663, 202, 225, 309, 261, 768, 2599, 13164, 18, 291, 15844, 429, 12, 74, 13, 597, 9079, 585, 2599, 13164, 18, 29925, 6233, 2309, 1435, 422, 804, 812, 17324, 18, 12669, 67, 10857, 13, 5411, 585, 2599, 13164, 18, 542, 3935, 2853, 12, 74, 1769, 202, 225, 469, 202, 565, 288, 202, 1377, 585, 2599, 13164, 18, 542, 7416, 812, 12, 74, 1769, 202, 1377, 585, 2599, 13164, 18, 12908, 537, 6233, 5621, 202, 1377, 1746, 6353, 5621, 202, 565, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 565, 288, 1377, 1033, 1081, 273, 26204, 18, 588, 7416, 620, 5621, 1377, 309, 261, 2603, 480, 446, 13, 3639, 288, 202, 225, 1387, 284, 273, 585, 2599, 13164, 18, 588, 11785, 1767, 7675, 2640, 21471, 12, 2603, 202, 4766, 18701, 263, 10492, 10663, 202, 225, 309, 261, 768, 2599, 13164, 18, 291, 15844, 429, 12, 74, 13, 597, 9079, 585, 2599, 13164, 18, 29925, 6233, 2309, 1435, 422, 804, 812, 17324, 18, 12669, 67, 10857, 13, 5411, 585, 2599, 13164, 18, 542, 3935, 2853, 12, 74, 1769, 202, 225, 469, 202, 565, 288, 202, 1377, 585, 2599, 13164, 18, 542, 7416, 812, 12, 74, 1769, 202, 1377, 585, 2599, 2 ]
jj_la1[70] = jj_gen;
jj_la1[71] = jj_gen;
final public Statement SwitchStatement() throws ParseException { Expression test; SwitchCase tempCase; LinkedList<SwitchCase> caseList = new LinkedList<SwitchCase>(); Token first = getToken(1); jj_consume_token(SWITCH); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: jj_consume_token(LPAREN); break; default: jj_la1[67] = jj_gen; _errorChar('('); } test = Expression(")"); jj_consume_token(RPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: jj_consume_token(LBRACE); break; default: jj_la1[68] = jj_gen; _errorChar('{'); } label_14: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CASE: case _DEFAULT: ; break; default: jj_la1[69] = jj_gen; break label_14; } tempCase = SwitchCase(); caseList.add(tempCase); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case RBRACE: jj_consume_token(RBRACE); break; default: jj_la1[70] = jj_gen; _errorChar('}'); } {if (true) return new SwitchStatement(_loc(first), test, caseList.toArray(new SwitchCase[0]));} throw new Error("Missing return statement in function"); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/8e9d6d4a3458f4fb8d197d118149328dfb2ae150/ACParser.java/clean/drjava/src/edu/rice/cs/drjava/model/autocomplete/parser/ACParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 8056, 13967, 3406, 1435, 1216, 10616, 288, 225, 5371, 1842, 31, 225, 13967, 2449, 1906, 2449, 31, 225, 10688, 32, 10200, 2449, 34, 648, 682, 273, 394, 10688, 32, 10200, 2449, 34, 5621, 225, 3155, 1122, 273, 9162, 12, 21, 1769, 565, 10684, 67, 21224, 67, 2316, 12, 18746, 25588, 1769, 565, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 565, 648, 511, 15111, 30, 1377, 10684, 67, 21224, 67, 2316, 12, 48, 15111, 1769, 1377, 898, 31, 565, 805, 30, 1377, 10684, 67, 11821, 21, 63, 9599, 65, 273, 10684, 67, 4507, 31, 1377, 389, 1636, 2156, 2668, 2668, 1769, 565, 289, 565, 1842, 273, 5371, 2932, 2225, 1769, 565, 10684, 67, 21224, 67, 2316, 12, 54, 15111, 1769, 565, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 565, 648, 511, 26980, 30, 1377, 10684, 67, 21224, 67, 2316, 12, 12995, 9254, 1769, 1377, 898, 31, 565, 805, 30, 1377, 10684, 67, 11821, 21, 63, 9470, 65, 273, 10684, 67, 4507, 31, 1377, 389, 1636, 2156, 2668, 95, 8284, 565, 289, 565, 1433, 67, 3461, 30, 565, 1323, 261, 3767, 13, 288, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 18403, 30, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 8056, 13967, 3406, 1435, 1216, 10616, 288, 225, 5371, 1842, 31, 225, 13967, 2449, 1906, 2449, 31, 225, 10688, 32, 10200, 2449, 34, 648, 682, 273, 394, 10688, 32, 10200, 2449, 34, 5621, 225, 3155, 1122, 273, 9162, 12, 21, 1769, 565, 10684, 67, 21224, 67, 2316, 12, 18746, 25588, 1769, 565, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 565, 648, 511, 15111, 30, 1377, 10684, 67, 21224, 67, 2316, 12, 48, 15111, 1769, 1377, 898, 31, 565, 805, 30, 1377, 10684, 67, 11821, 21, 63, 9599, 65, 273, 10684, 67, 4507, 31, 1377, 389, 1636, 2156, 2668, 2668, 2 ]
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
retEnv = client.sendMsg(util, url, soapAction);
public void testR2BaseEchoHexBinary() throws AxisFault { url = "http://www.whitemesa.net/interop/std"; soapAction = "http://soapinterop.org/"; util = new Round2EchoHexBinaryClientUtil(); retEnv = SunRound2Client.sendMsg(util, url, soapAction); tempPath = resFilePath + "WMBaseHexBinaryRes.xml"; compare(retEnv, tempPath); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/95f09abc768fee06d65b12836e31273ac0e15eb3/WMRound2InteropTest.java/clean/modules/integration/itest/test/interop/whitemesa/round2/WMRound2InteropTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 22, 2171, 19704, 7037, 5905, 1435, 1216, 15509, 7083, 288, 3639, 880, 273, 315, 2505, 2207, 5591, 18, 3350, 1726, 281, 69, 18, 2758, 19, 30376, 19, 5084, 14432, 3639, 9930, 1803, 273, 315, 2505, 2207, 19215, 30376, 18, 3341, 4898, 31, 3639, 1709, 273, 394, 11370, 22, 19704, 7037, 5905, 1227, 1304, 5621, 3639, 325, 3491, 273, 1004, 18, 4661, 3332, 12, 1367, 16, 880, 16, 9930, 1803, 1769, 3639, 1906, 743, 273, 400, 5598, 397, 315, 25173, 2171, 7037, 5905, 607, 18, 2902, 14432, 3639, 3400, 12, 1349, 3491, 16, 1906, 743, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 22, 2171, 19704, 7037, 5905, 1435, 1216, 15509, 7083, 288, 3639, 880, 273, 315, 2505, 2207, 5591, 18, 3350, 1726, 281, 69, 18, 2758, 19, 30376, 19, 5084, 14432, 3639, 9930, 1803, 273, 315, 2505, 2207, 19215, 30376, 18, 3341, 4898, 31, 3639, 1709, 273, 394, 11370, 22, 19704, 7037, 5905, 1227, 1304, 5621, 3639, 325, 3491, 273, 1004, 18, 4661, 3332, 12, 1367, 16, 880, 16, 9930, 1803, 1769, 3639, 1906, 743, 273, 400, 5598, 397, 315, 25173, 2171, 7037, 5905, 607, 18, 2902, 14432, 3639, 3400, 12, 1349, 3491, 16, 1906, 743, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public LifecycleCallback(LifecycleCallbackHandler hh, LifecycleCallbackMetadata hm) { m_metadata = hm; m_callback = new Callback(hm.getMethod(), hm.isStatic(), hh.getComponentManager());
public LifecycleCallback(LifecycleCallbackHandler hh, String initialState, String finalState, String method, boolean isStatic) { if (initialState.equals("VALID")) { m_initialState = InstanceManager.VALID; } if (initialState.equals("INVALID")) { m_initialState = InstanceManager.INVALID; } if (finalState.equals("VALID")) { m_finalState = InstanceManager.VALID; } if (finalState.equals("INVALID")) { m_finalState = InstanceManager.INVALID; } m_method = method; m_callback = new Callback(method, isStatic, hh.getInstanceManager());
public LifecycleCallback(LifecycleCallbackHandler hh, LifecycleCallbackMetadata hm) { m_metadata = hm; m_callback = new Callback(hm.getMethod(), hm.isStatic(), hh.getComponentManager()); }
45948 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45948/d229001e440fb0347d56e6cc3a6e65308dcdb431/LifecycleCallback.java/clean/ipojo/src/main/java/org/apache/felix/ipojo/handlers/lifecycle/callback/LifecycleCallback.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14283, 2428, 12, 9977, 2428, 1503, 18629, 16, 14283, 2428, 2277, 16349, 13, 288, 3639, 312, 67, 4165, 273, 16349, 31, 3639, 312, 67, 3394, 273, 394, 8444, 12, 76, 81, 18, 588, 1305, 9334, 16349, 18, 291, 5788, 9334, 18629, 18, 588, 1841, 1318, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14283, 2428, 12, 9977, 2428, 1503, 18629, 16, 14283, 2428, 2277, 16349, 13, 288, 3639, 312, 67, 4165, 273, 16349, 31, 3639, 312, 67, 3394, 273, 394, 8444, 12, 76, 81, 18, 588, 1305, 9334, 16349, 18, 291, 5788, 9334, 18629, 18, 588, 1841, 1318, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
getLogger().debug("Tiff encoding done.");
log.debug("Tiff encoding done.");
public void stopRenderer() throws IOException { super.stopRenderer(); getLogger().debug("Starting Tiff encoding ..."); //Set resolution float pixSzMM = userAgent.getPixelUnitToMillimeter(); // num Pixs in 100 Meters int numPix = (int)(((1000 * 100) / pixSzMM) + 0.5); int denom = 100 * 100; // Centimeters per 100 Meters; long [] rational = {numPix, denom}; TIFFField [] fields = { new TIFFField(TIFFImageDecoder.TIFF_RESOLUTION_UNIT, TIFFField.TIFF_SHORT, 1, new char[] {(char)3}), new TIFFField(TIFFImageDecoder.TIFF_X_RESOLUTION, TIFFField.TIFF_RATIONAL, 1, new long[][] {rational}), new TIFFField(TIFFImageDecoder.TIFF_Y_RESOLUTION, TIFFField.TIFF_RATIONAL, 1, new long[][] {rational}) }; renderParams.setExtraFields(fields); // Creates encoder TIFFImageEncoder enc = new TIFFImageEncoder(outputStream, renderParams); // Creates lazy iterator over generated page images Iterator pageImagesItr = new LazyPageImagesIterator(getNumberOfPages()); // The first image to be passed to enc RenderedImage first = (RenderedImage) pageImagesItr.next(); // The other images are set to the renderParams renderParams.setExtraImages(pageImagesItr); // Start encoding enc.encode(first); // Cleaning outputStream.flush(); clearViewportList(); getLogger().debug("Tiff encoding done."); }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/990f5e0aee12f2b62f6a961dec312bb3eb5f3e56/TIFFRenderer.java/clean/src/java/org/apache/fop/render/bitmap/TIFFRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2132, 6747, 1435, 1216, 1860, 288, 3639, 2240, 18, 5681, 6747, 5621, 3639, 7156, 7675, 4148, 2932, 11715, 399, 3048, 2688, 1372, 8863, 3639, 368, 694, 7861, 3639, 1431, 11871, 55, 94, 8206, 273, 7574, 18, 588, 9037, 2802, 774, 49, 737, 28051, 5621, 3639, 368, 818, 453, 697, 87, 316, 2130, 490, 1032, 3639, 509, 818, 21816, 273, 261, 474, 13, 12443, 12, 18088, 380, 2130, 13, 342, 11871, 55, 94, 8206, 13, 397, 374, 18, 25, 1769, 540, 509, 10716, 273, 2130, 380, 2130, 31, 225, 368, 22321, 381, 1032, 1534, 2130, 490, 1032, 31, 3639, 1525, 5378, 436, 8371, 273, 288, 2107, 21816, 16, 10716, 20451, 3639, 27491, 974, 5378, 1466, 273, 288, 5411, 394, 27491, 974, 12, 56, 16962, 2040, 7975, 18, 56, 16962, 67, 17978, 13269, 67, 15736, 16, 21821, 27491, 974, 18, 56, 16962, 67, 15993, 16, 404, 16, 21821, 394, 1149, 8526, 288, 12, 3001, 13, 23, 97, 3631, 5411, 394, 27491, 974, 12, 56, 16962, 2040, 7975, 18, 56, 16962, 67, 60, 67, 17978, 13269, 16, 21821, 27491, 974, 18, 56, 16962, 67, 24284, 1013, 16, 404, 16, 21821, 394, 1525, 63, 6362, 65, 288, 7034, 287, 97, 3631, 5411, 394, 27491, 974, 12, 56, 16962, 2040, 7975, 18, 56, 16962, 67, 61, 67, 17978, 13269, 16, 21821, 27491, 974, 18, 56, 16962, 67, 24284, 1013, 16, 404, 16, 21821, 394, 1525, 63, 6362, 65, 288, 7034, 287, 6792, 1171, 289, 31, 3639, 1743, 1370, 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, 2132, 6747, 1435, 1216, 1860, 288, 3639, 2240, 18, 5681, 6747, 5621, 3639, 7156, 7675, 4148, 2932, 11715, 399, 3048, 2688, 1372, 8863, 3639, 368, 694, 7861, 3639, 1431, 11871, 55, 94, 8206, 273, 7574, 18, 588, 9037, 2802, 774, 49, 737, 28051, 5621, 3639, 368, 818, 453, 697, 87, 316, 2130, 490, 1032, 3639, 509, 818, 21816, 273, 261, 474, 13, 12443, 12, 18088, 380, 2130, 13, 342, 11871, 55, 94, 8206, 13, 397, 374, 18, 25, 1769, 540, 509, 10716, 273, 2130, 380, 2130, 31, 225, 368, 22321, 381, 1032, 1534, 2130, 490, 1032, 31, 3639, 1525, 5378, 436, 8371, 273, 288, 2107, 21816, 16, 10716, 20451, 3639, 27491, 974, 5378, 1466, 273, 288, 2 ]
page.setPerspective(persp); }
page.setPerspective(persp); }
private static void replaceCurrentPerspective(IPerspectiveDescriptor persp) { //Get the active page. IWorkbenchWindow window = PlatformUI.getWorkbench() .getActiveWorkbenchWindow(); if (window == null) { return; } IWorkbenchPage page = window.getActivePage(); if (page == null) { return; } // Set the perspective. page.setPerspective(persp); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/53cada7d6d0463cdcb3aed320ea380f4aae64087/BasicNewProjectResourceWizard.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/newresource/BasicNewProjectResourceWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1453, 3935, 14781, 16772, 12, 2579, 414, 16772, 3187, 13508, 84, 13, 288, 3639, 368, 967, 326, 2695, 1363, 18, 3639, 467, 2421, 22144, 3829, 2742, 273, 11810, 5370, 18, 588, 2421, 22144, 1435, 7734, 263, 588, 3896, 2421, 22144, 3829, 5621, 3639, 309, 261, 5668, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 3639, 467, 2421, 22144, 1964, 1363, 273, 2742, 18, 588, 3896, 1964, 5621, 3639, 309, 261, 2433, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 3639, 368, 1000, 326, 26651, 18, 3639, 1363, 18, 542, 14781, 16772, 12, 10422, 84, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1453, 3935, 14781, 16772, 12, 2579, 414, 16772, 3187, 13508, 84, 13, 288, 3639, 368, 967, 326, 2695, 1363, 18, 3639, 467, 2421, 22144, 3829, 2742, 273, 11810, 5370, 18, 588, 2421, 22144, 1435, 7734, 263, 588, 3896, 2421, 22144, 3829, 5621, 3639, 309, 261, 5668, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 3639, 467, 2421, 22144, 1964, 1363, 273, 2742, 18, 588, 3896, 1964, 5621, 3639, 309, 261, 2433, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 3639, 368, 1000, 326, 26651, 18, 3639, 1363, 18, 542, 14781, 16772, 12, 10422, 84, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
initialDocumentToSubmit = createDocumentToSubmit(currentNode, currentInstance); containingDocument.dispatchEvent(pipelineContext, new XFormsRevalidateEvent(model, false)); final boolean instanceSatisfiesValidRequired = isDocumentSatisfiesValidRequired(initialDocumentToSubmit); if (!instanceSatisfiesValidRequired) { if (XFormsServer.logger.isDebugEnabled()) { final LocationDocumentResult documentResult = new LocationDocumentResult(); final TransformerHandler identity = TransformerUtils.getIdentityTransformerHandler(); identity.setResult(documentResult); currentInstance.read(identity); final String documentString = Dom4jUtils.domToString(documentResult.getDocument()); XFormsServer.logger.debug("XForms - instance document or subset thereof cannot be submitted:\n" + documentString);
final Document backupInstanceDocument = currentInstance.getDocument(); try { initialDocumentToSubmit = createDocumentToSubmit(currentNode, currentInstance); currentInstance.setInstanceDocument(initialDocumentToSubmit); containingDocument.dispatchEvent(pipelineContext, new XFormsRevalidateEvent(model, false)); final boolean instanceSatisfiesValidRequired = isDocumentSatisfiesValidRequired(initialDocumentToSubmit); if (!instanceSatisfiesValidRequired) { { currentInstance.readOut(); ; } if (XFormsServer.logger.isDebugEnabled()) { final LocationDocumentResult documentResult = new LocationDocumentResult(); final TransformerHandler identity = TransformerUtils.getIdentityTransformerHandler(); identity.setResult(documentResult); currentInstance.read(identity); final String documentString = Dom4jUtils.domToString(documentResult.getDocument()); XFormsServer.logger.debug("XForms - instance document or subset thereof cannot be submitted:\n" + documentString); } throw new OXFException("xforms:submission: instance to submit does not satisfy valid and/or required model item properties.");
public void performDefaultAction(PipelineContext pipelineContext, XFormsEvent event) { final String eventName = event.getEventName(); if (XFormsEvents.XFORMS_SUBMIT.equals(eventName) || XFormsEvents.XXFORMS_SUBMIT.equals(eventName)) { // 11.1 The xforms-submit Event // Bubbles: Yes / Cancelable: Yes / Context Info: None boolean isDeferredSubmissionSecondPass = false; try { // Make sure submission element info is extracted extractSubmissionElement(); final boolean isReplaceAll = replace.equals(XFormsConstants.XFORMS_SUBMIT_REPLACE_ALL); final boolean isHandlingOptimizedGet = XFormsUtils.isOptimizeGetAllSubmission() && XFormsSubmissionUtils.isGet(method) && isReplaceAll; //noinspection UnnecessaryLocalVariable final boolean isDeferredSubmission = isReplaceAll; final boolean isDeferredSubmissionFirstPass = isDeferredSubmission && XFormsEvents.XFORMS_SUBMIT.equals(eventName) && !isHandlingOptimizedGet; isDeferredSubmissionSecondPass = isDeferredSubmission && !isDeferredSubmissionFirstPass; // Select node based on ref or bind final XFormsControls xformsControls = containingDocument.getXFormsControls(); xformsControls.setBinding(pipelineContext, submissionElement); // FIXME: the submission element is not a control... final Node currentNode = xformsControls.getCurrentSingleNode(); if (!(currentNode instanceof Document || currentNode instanceof Element)) { throw new OXFException("xforms:submission: single-node binding must refer to a document node or an element."); } final XFormsInstance currentInstance = xformsControls.getCurrentInstance(); final Document initialDocumentToSubmit; if (!isDeferredSubmissionSecondPass) { // Create document to submit initialDocumentToSubmit = createDocumentToSubmit(currentNode, currentInstance); // Revalidate instance containingDocument.dispatchEvent(pipelineContext, new XFormsRevalidateEvent(model, false)); // TODO: The "false" attribute is no longer used. The above will cause events to be // sent out. Check if the validation state can really change. If so, find a // solution. // "no notification events are marked for dispatching due to this operation" // Check that there are no validation errors final boolean instanceSatisfiesValidRequired = isDocumentSatisfiesValidRequired(initialDocumentToSubmit); if (!instanceSatisfiesValidRequired) { if (XFormsServer.logger.isDebugEnabled()) { final LocationDocumentResult documentResult = new LocationDocumentResult(); final TransformerHandler identity = TransformerUtils.getIdentityTransformerHandler(); identity.setResult(documentResult); currentInstance.read(identity); final String documentString = Dom4jUtils.domToString(documentResult.getDocument()); XFormsServer.logger.debug("XForms - instance document or subset thereof cannot be submitted:\n" + documentString); } throw new OXFException("xforms:submission: instance to submit does not satisfy valid and/or required model item properties."); } } else { initialDocumentToSubmit = null; } // Deferred submission: end of the first pass if (isDeferredSubmissionFirstPass) { // When replace="all", we wait for the submission of an XXFormsSubmissionEvent from the client containingDocument.setClientActiveSubmission(this); return; } final Document documentToSubmit; if (isDeferredSubmissionSecondPass) { // Handle uploaded files if any final Element filesElement = (event instanceof XXFormsSubmissionEvent) ? ((XXFormsSubmissionEvent) event).getFilesElement() : null; if (filesElement != null) { for (Iterator i = filesElement.elements().iterator(); i.hasNext();) { final Element parameterElement = (Element) i.next(); final String name = parameterElement.element("name").getTextTrim(); final Element valueElement = parameterElement.element("value"); final String value = valueElement.getTextTrim(); final String paramValueType = Dom4jUtils.qNameToexplodedQName(Dom4jUtils.extractAttributeValueQName(valueElement, XMLConstants.XSI_TYPE_QNAME)); final String filename = parameterElement.element("filename").getTextTrim(); final String mediatype = parameterElement.element("content-type").getTextTrim(); final String size = parameterElement.element("content-length").getTextTrim(); final XFormsControls.UploadControlInfo uploadControl = (XFormsControls.UploadControlInfo) containingDocument.getObjectById(pipelineContext, name); if (uploadControl != null) { // in case of xforms:repeat, the name of the template will not match an existing control // Set value into the instance xformsControls.setBinding(pipelineContext, uploadControl); { final Node currentSingleNode = xformsControls.getCurrentSingleNode(); XFormsInstance.setValueForNode(pipelineContext, currentSingleNode, value, paramValueType); } // Handle filename if any if (uploadControl.getFilenameElement() != null) { xformsControls.pushBinding(pipelineContext, uploadControl.getFilenameElement()); final Node currentSingleNode = xformsControls.getCurrentSingleNode(); XFormsInstance.setValueForNode(pipelineContext, currentSingleNode, filename, null); xformsControls.popBinding(); } // Handle mediatype if any if (uploadControl.getMediatypeElement() != null) { xformsControls.pushBinding(pipelineContext, uploadControl.getMediatypeElement()); final Node currentSingleNode = xformsControls.getCurrentSingleNode(); XFormsInstance.setValueForNode(pipelineContext, currentSingleNode, mediatype, null); xformsControls.popBinding(); } // Handle file size if any if (uploadControl.getSizeElement() != null) { xformsControls.pushBinding(pipelineContext, uploadControl.getSizeElement()); final Node currentSingleNode = xformsControls.getCurrentSingleNode(); XFormsInstance.setValueForNode(pipelineContext, currentSingleNode, size, null); xformsControls.popBinding(); } } } } // Create document to submit documentToSubmit = createDocumentToSubmit(currentNode, currentInstance); // Revalidate instance containingDocument.dispatchEvent(pipelineContext, new XFormsRevalidateEvent(model, false)); // TODO: The "false" attribute is no longer used. The above will cause events to be // sent out. Check if the validation state can really change. If so, find a // solution. // "no notification events are marked for dispatching due to this operation" // Check that there are no validation errors final boolean instanceSatisfiesValidRequired = isDocumentSatisfiesValidRequired(documentToSubmit); if (!instanceSatisfiesValidRequired) {// currentInstance.readOut();// FIXME: DEBUG throw new OXFException("xforms:submission: instance to submit does not satisfy valid and/or required model item properties."); } } else { // Don't recreate document documentToSubmit = initialDocumentToSubmit; } // Serialize // To support: application/xml, application/x-www-form-urlencoded, multipart/related, multipart/form-data final byte[] serializedInstance; final String serializedInstanceString; { if (XFormsSubmissionUtils.isPost(method) || XFormsSubmissionUtils.isPut(method)) { try { final Transformer identity = TransformerUtils.getIdentityTransformer(); TransformerUtils.applyOutputProperties(identity, "xml", version, null, null, encoding, omitxmldeclaration, standalone, indent, 4); // TODO: use cdata-section-elements final ByteArrayOutputStream os = new ByteArrayOutputStream(); identity.transform(new DocumentSource(documentToSubmit), new StreamResult(os)); serializedInstance = os.toByteArray(); } catch (Exception e) { throw new OXFException("xforms:submission: exception while serializing instance to XML.", e); } serializedInstanceString = null; } else if (XFormsSubmissionUtils.isGet(method)) { // Perform "application/x-www-form-urlencoded" serialization serializedInstanceString = createWwwFormUrlEncoded(documentToSubmit); serializedInstance = null; } else if (method.equals("multipart-post")) { // TODO throw new OXFException("xforms:submission: submission method not yet implemented: " + method); } else if (method.equals("form-data-post")) { // TODO throw new OXFException("xforms:submission: submission method not yet implemented: " + method); } else if (method.equals("urlencoded-post")) { throw new OXFException("xforms:submission: deprecated submission method requested: " + method); } else { throw new OXFException("xforms:submission: invalid submission method requested: " + method); } } final ExternalContext externalContext = (ExternalContext) pipelineContext.getAttribute(PipelineContext.EXTERNAL_CONTEXT); // Result information ConnectionResult connectionResult = null; try { if (isHandlingOptimizedGet) { // GET with replace="all": we can optimize and tell the client to just load the URL connectionResult = doOptimizedGet(pipelineContext, serializedInstanceString); } else if (!NetUtils.urlHasProtocol(action) && (externalContext.getRequest().getContainerType().equals("portlet") || (externalContext.getRequest().getContainerType().equals("servlet") && (XFormsUtils.isOptimizeLocalSubmission() || isMethodOptimizedLocalSubmission()) && isReplaceAll))) { // This is an "optimized" submission, i.e. one that does not use an actual // protocol handler to access the resource // NOTE: Optimizing with include() for servlets doesn't allow detecting // errors caused by the included resource, so we don't allow this for now. // NOTE: For portlets, paths are served directly by the portlet, NOT as // resources. // Current limitations: // o Portlets cannot access resources outside the portlet except by using absolute URLs // o Servlets cannot access resources on the same serer but not in the current application // except by using absolute URLs final URI resolvedURI = XFormsUtils.resolveURI(submissionElement, action); connectionResult = XFormsSubmissionUtils.doOptimized(pipelineContext, externalContext, this, method, resolvedURI.toString(), mediatype, isReplaceAll, serializedInstance, serializedInstanceString); } else { // This is a regular remote submission going through a protocol handler // Absolute URLs or absolute paths are allowed to a local servlet final String resolvedURL = XFormsUtils.resolveURL(containingDocument, pipelineContext, submissionElement, false, action); connectionResult = XFormsSubmissionUtils.doRegular(pipelineContext, externalContext, method, resolvedURL, mediatype, isReplaceAll, serializedInstance, serializedInstanceString); } if (!connectionResult.dontHandleResponse) { // Handle response if (connectionResult.resultCode == 200) { // Sucessful response final boolean hasContent; { if (connectionResult.resultInputStream == null) { hasContent = false; } else { if (!connectionResult.resultInputStream.markSupported()) connectionResult.resultInputStream = new BufferedInputStream(connectionResult.resultInputStream); connectionResult.resultInputStream.mark(1); hasContent = connectionResult.resultInputStream.read() != -1; connectionResult.resultInputStream.reset(); } } if (hasContent) { // There is a body if (isReplaceAll) { // When we get here, we are in a mode where we need to send the reply // directly to an external context, if any. // "the event xforms-submit-done is dispatched" containingDocument.dispatchEvent(pipelineContext, new XFormsSubmitDoneEvent(XFormsModelSubmission.this)); final ExternalContext.Response response = externalContext.getResponse(); // Forward headers to response if (connectionResult.resultHeaders != null) { for (Iterator i = connectionResult.resultHeaders.entrySet().iterator(); i.hasNext();) { final Map.Entry currentEntry = (Map.Entry) i.next(); final String headerName = (String) currentEntry.getKey(); final List headerValues = (List) currentEntry.getValue(); if (headerName != null && headerValues != null) { for (Iterator j = headerValues.iterator(); j.hasNext();) { response.addHeader(headerName, (String) j.next()); } } } } // Forward content to response NetUtils.copyStream(connectionResult.resultInputStream, response.getOutputStream()); } else if (replace.equals(XFormsConstants.XFORMS_SUBMIT_REPLACE_INSTANCE)) { final ByteArrayOutputStream resultByteArrayOutputStream = new ByteArrayOutputStream(); NetUtils.copyStream(connectionResult.resultInputStream, resultByteArrayOutputStream); byte[] submissionResponse = resultByteArrayOutputStream.toByteArray(); if (ProcessorUtils.isXMLContentType(connectionResult.resultMediaType)) { // Handling of XML media type try { final Transformer identity = TransformerUtils.getIdentityTransformer(); final LocationDocumentResult documentResult = new LocationDocumentResult(); identity.transform(new StreamSource(new ByteArrayInputStream(submissionResponse)), documentResult); final Document resultingInstanceDocument = documentResult.getDocument(); // Set new instance document to replace the one submitted final XFormsInstance replaceInstance = (replaceInstanceId == null) ? currentInstance : model.getInstance(replaceInstanceId); if (replaceInstance == null) { containingDocument.dispatchEvent(pipelineContext, new XFormsBindingExceptionEvent(XFormsModelSubmission.this)); } else { // Get repeat index information just before insertion final Map previousRepeatIdToIndex; { final Map map = xformsControls.getCurrentControlsState().getRepeatIdToIndex(); previousRepeatIdToIndex = (map == null) ? null : new HashMap(map); } // Set new instance replaceInstance.setInstanceDocument(resultingInstanceDocument); // Mark all values as changed so that refresh sends appropriate events XFormsUtils.markAllValuesChanged(replaceInstance.getDocument()); // Rebuild ControlsState xformsControls.rebuildCurrentControlsState(pipelineContext); // "Once the XML instance data has been replaced, // the rebuild, recalculate, revalidate and refresh // operations are performed on the model, without // dispatching events to invoke those four // operations." model.doRebuild(pipelineContext); model.doRecalculate(pipelineContext); model.doRevalidate(pipelineContext); model.doRefresh(pipelineContext); // Update repeat indexes if necessary // The idea is that if a repeat index was set to 0 // (which can only happen when a repeat node-set is // empty) and instance replacement causes the // node-set to be non-empty, then the repeat index // must be set to the initial repeat index for that // repeat. if (previousRepeatIdToIndex != null) { final XFormsControls.ControlsState currentControlsState = xformsControls.getCurrentControlsState(); final Map currentRepeatIdToIndex = currentControlsState.getRepeatIdToIndex(); final Map intialRepeatIdToIndex = currentControlsState.getDefaultRepeatIdToIndex(); final Map effectiveRepeatIdToIterations = currentControlsState.getEffectiveRepeatIdToIterations(); if (currentRepeatIdToIndex != null && currentRepeatIdToIndex.size() != 0) { for (Iterator i = previousRepeatIdToIndex.entrySet().iterator(); i.hasNext();) { final Map.Entry currentEntry = (Map.Entry) i.next(); final String repeatId = (String) currentEntry.getKey(); final Integer previouslIndex = (Integer) currentEntry.getValue();// final Integer newIndex = (Integer) currentRepeatIdToIndex.get(repeatId); final Integer newIterations = (Integer) effectiveRepeatIdToIterations.get(repeatId); if (previouslIndex.intValue() == 0 && newIterations.intValue() > 0) { // Set index to defaul value final Integer initialRepeatIndex = (Integer) intialRepeatIdToIndex.get(repeatId);// XFormsActionInterpreter.executeSetindexAction(pipelineContext, containingDocument, repeatId, initialRepeatIndex.toString()); // TODO: Here we need to check that the index is within bounds and to send the appropriate events currentControlsState.updateRepeatIndex(repeatId, initialRepeatIndex.intValue()); } else { // Just reset index and make sure it is within bounds// XFormsActionInterpreter.executeSetindexAction(pipelineContext, containingDocument, repeatId, previousRepeatIndex.toString()); // TODO: Here we need to check that the index is within bounds and to send the appropriate events// final Integer previousRepeatIndex = (Integer) previousRepeatIdToIndex.get(repeatId);// currentControlsState.updateRepeatIndex(repeatId, previousRepeatIndex.intValue()); final Integer initialRepeatIndex = (Integer) intialRepeatIdToIndex.get(repeatId); currentControlsState.updateRepeatIndex(repeatId, initialRepeatIndex.intValue()); } // TODO: Adjust controls ids that could have gone out of bounds? // adjustRepeatIndexes(pipelineContext, xformsControls); } } } // Notify that submission is done containingDocument.dispatchEvent(pipelineContext, new XFormsSubmitDoneEvent(XFormsModelSubmission.this)); } } catch (Exception e) { throw new OXFException("xforms:submission: exception while serializing XML to instance.", e); } } else { // Other media type throw new OXFException("Body received with non-XML media type for replace=\"instance\": " + connectionResult.resultMediaType); } } else if (replace.equals(XFormsConstants.XFORMS_SUBMIT_REPLACE_NONE)) { // Just notify that processing is terminated containingDocument.dispatchEvent(pipelineContext, new XFormsSubmitDoneEvent(XFormsModelSubmission.this)); } else { throw new OXFException("xforms:submission: invalid replace attribute: " + replace); } } else { // There is no body, notify that processing is terminated containingDocument.dispatchEvent(pipelineContext, new XFormsSubmitDoneEvent(XFormsModelSubmission.this)); } } else if (connectionResult.resultCode == 302 || connectionResult.resultCode == 301) { // Got a redirect final ExternalContext.Response response = externalContext.getResponse(); // Forward headers to response // TODO: this is duplicated from above if (connectionResult.resultHeaders != null) { for (Iterator i = connectionResult.resultHeaders.entrySet().iterator(); i.hasNext();) { final Map.Entry currentEntry = (Map.Entry) i.next(); final String headerName = (String) currentEntry.getKey(); final List headerValues = (List) currentEntry.getValue(); if (headerName != null && headerValues != null) { for (Iterator j = headerValues.iterator(); j.hasNext();) { response.addHeader(headerName, (String) j.next()); } } } } // Forward redirect response.setStatus(connectionResult.resultCode); } else { // Error code received throw new OXFException("Error code received when submitting instance: " + connectionResult.resultCode); } } } finally { // Clean-up if (connectionResult != null) { connectionResult.close(); } } } catch (Throwable e) { if (isDeferredSubmissionSecondPass && XFormsUtils.isOptimizePostAllSubmission()) { // It doesn't serve any purpose here to dispatch an event, so we just propagate the exception throw new OXFException(e); } else { // Any exception will cause an error event to be dispatched containingDocument.dispatchEvent(pipelineContext, new XFormsSubmitErrorEvent(XFormsModelSubmission.this, action, e)); } } } else if (XFormsEvents.XFORMS_BINDING_EXCEPTION.equals(eventName)) { // The default action for this event results in the following: Fatal error. throw new OXFException("Binding exception."); } }
54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/0d1166505c8e2f5bfe7c24e43c908b331cb9f07a/XFormsModelSubmission.java/clean/src/java/org/orbeon/oxf/xforms/XFormsModelSubmission.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3073, 1868, 1803, 12, 8798, 1042, 5873, 1042, 16, 1139, 18529, 1133, 871, 13, 288, 3639, 727, 514, 7933, 273, 871, 18, 588, 24320, 5621, 3639, 309, 261, 60, 18529, 3783, 18, 60, 4983, 55, 67, 8362, 6068, 18, 14963, 12, 2575, 461, 13, 747, 1139, 18529, 3783, 18, 5619, 4983, 55, 67, 8362, 6068, 18, 14963, 12, 2575, 461, 3719, 288, 5411, 368, 4648, 18, 21, 1021, 619, 9741, 17, 9297, 2587, 5411, 368, 605, 22298, 1040, 30, 19925, 342, 10347, 429, 30, 19925, 342, 1772, 3807, 30, 599, 5411, 1250, 353, 16886, 17865, 8211, 6433, 273, 629, 31, 5411, 775, 288, 7734, 368, 4344, 3071, 8515, 930, 1123, 353, 9438, 7734, 2608, 17865, 1046, 5621, 7734, 727, 1250, 353, 5729, 1595, 273, 1453, 18, 14963, 12, 60, 18529, 2918, 18, 60, 4983, 55, 67, 8362, 6068, 67, 21726, 67, 4685, 1769, 7734, 727, 1250, 353, 14701, 13930, 1235, 967, 273, 1139, 18529, 1989, 18, 291, 6179, 10153, 21413, 17865, 1435, 597, 1139, 18529, 17865, 1989, 18, 291, 967, 12, 2039, 13, 597, 353, 5729, 1595, 31, 7734, 368, 13242, 1351, 82, 4128, 2042, 3092, 7734, 727, 1250, 353, 16886, 17865, 273, 353, 5729, 1595, 31, 7734, 727, 1250, 353, 16886, 17865, 3759, 6433, 273, 353, 16886, 17865, 597, 1139, 18529, 3783, 18, 60, 4983, 55, 67, 8362, 6068, 18, 14963, 12, 2575, 461, 13, 597, 401, 291, 14701, 13930, 1235, 967, 31, 7734, 353, 16886, 17865, 8211, 6433, 273, 353, 16886, 17865, 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, 3073, 1868, 1803, 12, 8798, 1042, 5873, 1042, 16, 1139, 18529, 1133, 871, 13, 288, 3639, 727, 514, 7933, 273, 871, 18, 588, 24320, 5621, 3639, 309, 261, 60, 18529, 3783, 18, 60, 4983, 55, 67, 8362, 6068, 18, 14963, 12, 2575, 461, 13, 747, 1139, 18529, 3783, 18, 5619, 4983, 55, 67, 8362, 6068, 18, 14963, 12, 2575, 461, 3719, 288, 5411, 368, 4648, 18, 21, 1021, 619, 9741, 17, 9297, 2587, 5411, 368, 605, 22298, 1040, 30, 19925, 342, 10347, 429, 30, 19925, 342, 1772, 3807, 30, 599, 5411, 1250, 353, 16886, 17865, 8211, 6433, 273, 629, 31, 5411, 775, 288, 7734, 368, 4344, 3071, 8515, 930, 1123, 353, 9438, 7734, 2608, 17865, 1046, 2 ]
} else roll.addModifier(TargetRoll.CHECK_FALSE,"Check false");
} else roll.addModifier(TargetRoll.CHECK_FALSE,"Check false: Entity did not use more MPs walking/running than possible at 1G");
public PilotingRollData checkMovedTooFast(MoveStep step) { PilotingRollData roll = getBasePilotingRoll(); switch (step.getMovementType()) { case Entity.MOVE_WALK: case Entity.MOVE_RUN: if (step.getMpUsed() > (int)Math.ceil(getOriginalWalkMP() * 1.5)) { roll.append(new PilotingRollData(getId(), 0, "used more MPs than at 1G possible")); } else roll.addModifier(TargetRoll.CHECK_FALSE,"Check false"); break; case Entity.MOVE_JUMP: if (step.getMpUsed() > getOriginalJumpMP()) { roll.append(new PilotingRollData(getId(), 0, "used more MPs than at 1G possible")); } else roll.addModifier(TargetRoll.CHECK_FALSE,"Check false"); break; } return roll; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/c5d6a3c5fb1730d7ddcc4a38249f0decb6b71887/Entity.java/buggy/megamek/src/megamek/common/Entity.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 453, 330, 17128, 24194, 751, 866, 25317, 10703, 12305, 12, 7607, 4160, 2235, 13, 288, 3639, 453, 330, 17128, 24194, 751, 5824, 273, 8297, 52, 330, 17128, 24194, 5621, 3639, 1620, 261, 4119, 18, 588, 49, 26140, 559, 10756, 288, 5411, 648, 3887, 18, 16537, 67, 59, 1013, 47, 30, 5411, 648, 3887, 18, 16537, 67, 15238, 30, 7734, 309, 261, 4119, 18, 588, 49, 84, 6668, 1435, 405, 261, 474, 13, 10477, 18, 311, 330, 12, 588, 8176, 9463, 4566, 1435, 380, 404, 18, 25, 3719, 288, 10792, 5824, 18, 6923, 12, 2704, 453, 330, 17128, 24194, 751, 12, 26321, 9334, 374, 16, 315, 3668, 1898, 13480, 87, 2353, 622, 404, 43, 3323, 7923, 1769, 7734, 289, 469, 5824, 18, 1289, 9829, 12, 2326, 24194, 18, 10687, 67, 21053, 10837, 1564, 629, 30, 3887, 5061, 486, 999, 1898, 13480, 87, 5442, 310, 19, 8704, 2353, 3323, 622, 404, 43, 8863, 7734, 898, 31, 5411, 648, 3887, 18, 16537, 67, 46, 23942, 30, 7734, 309, 261, 4119, 18, 588, 49, 84, 6668, 1435, 405, 18354, 26743, 4566, 10756, 288, 10792, 5824, 18, 6923, 12, 2704, 453, 330, 17128, 24194, 751, 12, 26321, 9334, 374, 16, 315, 3668, 1898, 13480, 87, 2353, 622, 404, 43, 3323, 7923, 1769, 7734, 289, 469, 5824, 18, 1289, 9829, 12, 2326, 24194, 18, 10687, 67, 21053, 10837, 1564, 629, 30, 3887, 5061, 486, 999, 1898, 13480, 87, 5442, 310, 19, 8704, 2353, 3323, 622, 404, 43, 8863, 7734, 898, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 453, 330, 17128, 24194, 751, 866, 25317, 10703, 12305, 12, 7607, 4160, 2235, 13, 288, 3639, 453, 330, 17128, 24194, 751, 5824, 273, 8297, 52, 330, 17128, 24194, 5621, 3639, 1620, 261, 4119, 18, 588, 49, 26140, 559, 10756, 288, 5411, 648, 3887, 18, 16537, 67, 59, 1013, 47, 30, 5411, 648, 3887, 18, 16537, 67, 15238, 30, 7734, 309, 261, 4119, 18, 588, 49, 84, 6668, 1435, 405, 261, 474, 13, 10477, 18, 311, 330, 12, 588, 8176, 9463, 4566, 1435, 380, 404, 18, 25, 3719, 288, 10792, 5824, 18, 6923, 12, 2704, 453, 330, 17128, 24194, 751, 12, 26321, 9334, 374, 16, 315, 3668, 1898, 13480, 87, 2353, 622, 404, 43, 3323, 7923, 1769, 7734, 2 ]
m_localhost = InetAddress.getByName("127.0.0.1");
m_localhost = InetAddress.getByName(m_ip);
protected void setUp() throws Exception { MockLogAppender.setupLogging(); m_anticipator = new EventAnticipator(); m_eventMgr = new MockEventIpcManager(); m_eventMgr.setEventAnticipator(m_anticipator); m_localhost = InetAddress.getByName("127.0.0.1"); String eventconf = "<events xmlns=\"http://xmlns.opennms.org/xsd/eventconf\">\n" + " <global>\n" + " <security>\n" + " <doNotOverride>logmsg</doNotOverride>\n" + " <doNotOverride>operaction</doNotOverride>\n" + " <doNotOverride>autoaction</doNotOverride>\n" + " <doNotOverride>tticket</doNotOverride>\n" + " <doNotOverride>script</doNotOverride>\n" + " </security>\n" + " </global>\n" + "\n" + " <event>\n" + " <mask>\n" + " <maskelement>\n" + " <mename>id</mename>\n" + " <mevalue>.1.3.6.1.2.1.15.7</mevalue>\n" + " </maskelement>\n" + " <maskelement>\n" + " <mename>generic</mename>\n" + " <mevalue>6</mevalue>\n" + " </maskelement>\n" + " <maskelement>\n" + " <mename>specific</mename>\n" + " <mevalue>1</mevalue>\n" + " </maskelement>\n" + " </mask>\n" + " <uei>uei.opennms.org/IETF/BGP/traps/bgpEstablished</uei>\n" + " <event-label>BGP4-MIB defined trap event: bgpEstablished</event-label>\n" + " <descr>&lt;p&gt;The BGP Established event is generated when\n" + " the BGP FSM enters the ESTABLISHED state.&lt;/p&gt;&lt;table&gt;\n" + " &lt;tr&gt;&lt;td&gt;&lt;b&gt;\n" + " bgpPeerLastError&lt;/b&gt;&lt;/td&gt;&lt;td&gt;%parm[#1]%\n" + " &lt;/td&gt;&lt;td&gt;&lt;p;&gt;&lt;/p&gt;&lt;/td;&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;\n" + " bgpPeerState&lt;/b&gt;&lt;/td&gt;&lt;td&gt;%parm[#2]%\n" + " &lt;/td&gt;&lt;td&gt;&lt;p;&gt;\n" + " idle(1) connect(2) active(3) opensent(4) openconfirm(5) established(6)&lt;/p&gt;\n" + " &lt;/td;&gt;&lt;/tr&gt;&lt;/table&gt;\n" + " </descr>\n" + " <logmsg dest='logndisplay'>&lt;p&gt;BGP Event: FSM entered connected state.&lt;/p&gt;</logmsg>\n" + " <severity>Normal</severity>\n" + " </event>\n" + "\n" + " <event>\n" + " <mask>\n" + " <maskelement>\n" + " <mename>id</mename>\n" + " <mevalue>.1.3.6.1.2.1.15.7</mevalue>\n" + " </maskelement>\n" + " <maskelement>\n" + " <mename>generic</mename>\n" + " <mevalue>6</mevalue>\n" + " </maskelement>\n" + " <maskelement>\n" + " <mename>specific</mename>\n" + " <mevalue>2</mevalue>\n" + " </maskelement>\n" + " </mask>\n" + " <uei>uei.opennms.org/IETF/BGP/traps/bgpBackwardTransition</uei>\n" + " <event-label>BGP4-MIB defined trap event: bgpBackwardTransition</event-label>\n" + " <descr>&lt;p&gt;The BGPBackwardTransition Event is generated\n" + " when the BGP FSM moves from a higher numbered\n" + " state to a lower numbered state.&lt;/p&gt;&lt;table&gt;\n" + " &lt;tr&gt;&lt;td&gt;&lt;b&gt;\n" + " bgpPeerLastError&lt;/b&gt;&lt;/td&gt;&lt;td&gt;%parm[#1]%\n" + " &lt;/td&gt;&lt;td&gt;&lt;p;&gt;&lt;/p&gt;&lt;/td;&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;\n" + " bgpPeerState&lt;/b&gt;&lt;/td&gt;&lt;td&gt;%parm[#2]%\n" + " &lt;/td&gt;&lt;td&gt;&lt;p;&gt;\n" + " idle(1) connect(2) active(3) opensent(4) openconfirm(5) established(6)&lt;/p&gt;\n" + " &lt;/td;&gt;&lt;/tr&gt;&lt;/table&gt;\n" + " </descr>\n" + " <logmsg dest='discardtraps'>&lt;p&gt;BGP Event: FSM Backward Transistion.&lt;/p&gt;</logmsg>\n" + " <severity>Warning</severity>\n" + " </event>\n" + "\n" + " <event>\n" + " <mask>\n" + " <maskelement>\n" + " <mename>generic</mename>\n" + " <mevalue>0</mevalue>\n" + " </maskelement>\n" + " </mask>\n" + " <uei>uei.opennms.org/generic/traps/SNMP_Cold_Start</uei>\n" + " <event-label>OpenNMS-defined trap event: SNMP_Cold_Start</event-label>\n" + " <descr>\n" + " &lt;p&gt;A coldStart trap signifies that the sending\n" + " protocol entity is reinitializing itself such that the\n" + " agent's configuration or the protocol entity implementation\n" + " may be altered.&lt;/p&gt;\n" + " </descr>\n" + " <logmsg dest='logndisplay'>\n" + " Agent Up with Possible Changes (coldStart Trap)\n" + " enterprise:%id% (%id%) args(%parm[##]%):%parm[all]%\n" + " </logmsg>\n" + " <severity>Normal</severity>\n" + " </event>\n" + "</events>"; StringReader reader = new StringReader(eventconf); EventConfigurationManager.loadConfiguration(reader); }
11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/ce9ed6240bad3deba8bd4d91751317d5f3585491/TrapHandlerTest.java/buggy/opennms-services/src/test/java/org/opennms/netmgt/trapd/TrapHandlerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 1216, 1185, 288, 3639, 7867, 1343, 17302, 18, 8401, 7735, 5621, 7734, 312, 67, 9941, 625, 639, 273, 394, 2587, 14925, 24629, 639, 5621, 3639, 312, 67, 2575, 9455, 273, 394, 7867, 1133, 45, 2436, 1318, 5621, 3639, 312, 67, 2575, 9455, 18, 542, 1133, 14925, 24629, 639, 12, 81, 67, 9941, 625, 639, 1769, 7734, 312, 67, 13014, 273, 14218, 18, 588, 5911, 12, 81, 67, 625, 1769, 3639, 514, 871, 3923, 273, 5411, 3532, 5989, 12302, 5189, 2505, 2207, 16741, 18, 3190, 82, 959, 18, 3341, 19, 19144, 19, 2575, 3923, 28219, 82, 6, 397, 5411, 315, 411, 6347, 5333, 82, 6, 397, 5411, 315, 225, 411, 7462, 5333, 82, 6, 397, 5411, 315, 282, 411, 2896, 1248, 6618, 34, 1330, 3576, 1757, 2896, 1248, 6618, 5333, 82, 6, 397, 5411, 315, 282, 411, 2896, 1248, 6618, 34, 4063, 1128, 1757, 2896, 1248, 6618, 5333, 82, 6, 397, 5411, 315, 282, 411, 2896, 1248, 6618, 34, 6079, 1128, 1757, 2896, 1248, 6618, 5333, 82, 6, 397, 5411, 315, 282, 411, 2896, 1248, 6618, 34, 748, 29378, 1757, 2896, 1248, 6618, 5333, 82, 6, 397, 5411, 315, 282, 411, 2896, 1248, 6618, 34, 4263, 1757, 2896, 1248, 6618, 5333, 82, 6, 397, 5411, 315, 225, 7765, 7462, 5333, 82, 6, 397, 5411, 315, 7765, 6347, 5333, 82, 6, 397, 5411, 1548, 82, 6, 397, 5411, 315, 411, 2575, 5333, 82, 6, 397, 5411, 315, 4, 64, 82, 6, 397, 5411, 315, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 1216, 1185, 288, 3639, 7867, 1343, 17302, 18, 8401, 7735, 5621, 7734, 312, 67, 9941, 625, 639, 273, 394, 2587, 14925, 24629, 639, 5621, 3639, 312, 67, 2575, 9455, 273, 394, 7867, 1133, 45, 2436, 1318, 5621, 3639, 312, 67, 2575, 9455, 18, 542, 1133, 14925, 24629, 639, 12, 81, 67, 9941, 625, 639, 1769, 7734, 312, 67, 13014, 273, 14218, 18, 588, 5911, 12, 81, 67, 625, 1769, 3639, 514, 871, 3923, 273, 5411, 3532, 5989, 12302, 5189, 2505, 2207, 16741, 18, 3190, 82, 959, 18, 3341, 19, 19144, 19, 2575, 3923, 28219, 82, 6, 397, 5411, 315, 411, 6347, 5333, 82, 6, 397, 5411, 315, 225, 411, 7462, 5333, 82, 6, 397, 2 ]
return ((Attr)node).getOwnerElement();
return ((Attr)n).getOwnerElement();
public Iterator getParentAxisIterator (Object contextNode) { Node node = (Node)contextNode; if (node.getNodeType() == Node.ATTRIBUTE_NODE) { return new NodeIterator (node) { protected Node getFirstNode (Node node) { // FIXME: assumes castability. return ((Attr)node).getOwnerElement(); } protected Node getNextNode (Node node) { return null; } }; } else { return new NodeIterator (node) { protected Node getFirstNode (Node node) { return node.getParentNode(); } protected Node getNextNode (Node node) { return null; } }; } }
5646 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5646/b8a5f9984d98ed626f3f36e2b17f1db5c65bb588/DocumentNavigator.java/buggy/src/java/main/org/jaxen/dom/DocumentNavigator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4498, 5089, 6558, 3198, 261, 921, 819, 907, 13, 565, 288, 3639, 2029, 756, 273, 261, 907, 13, 2472, 907, 31, 3639, 309, 261, 2159, 18, 588, 15101, 1435, 422, 2029, 18, 11616, 67, 8744, 13, 288, 5411, 327, 394, 2029, 3198, 261, 2159, 13, 288, 10792, 4750, 2029, 7521, 907, 261, 907, 756, 13, 10792, 288, 13491, 368, 9852, 30, 13041, 4812, 2967, 18, 13491, 327, 14015, 3843, 13, 82, 2934, 588, 5541, 1046, 5621, 10792, 289, 10792, 4750, 2029, 6927, 907, 261, 907, 756, 13, 288, 13491, 327, 446, 31, 10792, 289, 7734, 289, 31, 3639, 289, 469, 288, 5411, 327, 394, 2029, 3198, 261, 2159, 13, 288, 10792, 4750, 2029, 7521, 907, 261, 907, 756, 13, 10792, 288, 13491, 327, 756, 18, 588, 3054, 907, 5621, 10792, 289, 10792, 4750, 2029, 6927, 907, 261, 907, 756, 13, 288, 13491, 327, 446, 31, 10792, 289, 7734, 289, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4498, 5089, 6558, 3198, 261, 921, 819, 907, 13, 565, 288, 3639, 2029, 756, 273, 261, 907, 13, 2472, 907, 31, 3639, 309, 261, 2159, 18, 588, 15101, 1435, 422, 2029, 18, 11616, 67, 8744, 13, 288, 5411, 327, 394, 2029, 3198, 261, 2159, 13, 288, 10792, 4750, 2029, 7521, 907, 261, 907, 756, 13, 10792, 288, 13491, 368, 9852, 30, 13041, 4812, 2967, 18, 13491, 327, 14015, 3843, 13, 82, 2934, 588, 5541, 1046, 5621, 10792, 289, 10792, 4750, 2029, 6927, 907, 261, 907, 756, 13, 288, 13491, 327, 446, 31, 10792, 289, 7734, 289, 31, 3639, 289, 469, 288, 5411, 327, 394, 2029, 3198, 261, 2159, 13, 288, 10792, 4750, 2029, 7521, 907, 261, 907, 2 ]
String value = requireAttribute(element,attribute);
String value = requireAttribute(element, attribute);
protected boolean requireYesNoAttribute(XMLElement element, String attribute) throws CompilerException { String value = requireAttribute(element,attribute); if (value.equalsIgnoreCase("yes")) return true; if (value.equalsIgnoreCase("no")) return false; parseError(element, "<"+element.getName()+"> invalid attribute '"+ attribute+"': Expected (yes|no)"); return false; // never happens }
46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/Compiler.java/buggy/src/lib/com/izforge/izpack/compiler/Compiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1250, 2583, 22352, 2279, 1499, 12, 15223, 930, 16, 514, 1566, 13, 565, 1216, 28227, 225, 288, 565, 514, 460, 273, 2583, 1499, 12, 2956, 16, 1566, 1769, 565, 309, 261, 1132, 18, 14963, 5556, 2932, 9707, 6, 3719, 1377, 327, 638, 31, 565, 309, 261, 1132, 18, 14963, 5556, 2932, 2135, 6, 3719, 1377, 327, 629, 31, 3639, 1109, 668, 12, 2956, 16, 18165, 15, 2956, 18, 17994, 1435, 15, 6441, 2057, 1566, 2119, 15, 9079, 1566, 9078, 4278, 13219, 261, 9707, 96, 2135, 2225, 1769, 3639, 327, 629, 31, 368, 5903, 10555, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 4750, 1250, 2583, 22352, 2279, 1499, 12, 15223, 930, 16, 514, 1566, 13, 565, 1216, 28227, 225, 288, 565, 514, 460, 273, 2583, 1499, 12, 2956, 16, 1566, 1769, 565, 309, 261, 1132, 18, 14963, 5556, 2932, 9707, 6, 3719, 1377, 327, 638, 31, 565, 309, 261, 1132, 18, 14963, 5556, 2932, 2135, 6, 3719, 1377, 327, 629, 31, 3639, 1109, 668, 12, 2956, 16, 18165, 15, 2956, 18, 17994, 1435, 15, 6441, 2057, 1566, 2119, 15, 9079, 1566, 9078, 4278, 13219, 261, 9707, 96, 2135, 2225, 1769, 3639, 327, 629, 31, 368, 5903, 10555, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return actionMethod.invoke(target, new Object[] {val});
return actionMethod.invoke(target, null); } catch(InvocationTargetException ite) { throw new RuntimeException(ite.getCause()); } catch(IllegalAccessException iae) { throw (InternalError) new InternalError("Non-public method was invoked.").initCause(iae); }
public Object invoke(Object proxy, Method method, Object[] arguments) throws Exception { // Do we actually need the proxy? if (method == null) throw new RuntimeException("Invoking null method"); // Listener methods that weren't specified are ignored. If listenerMethod // is null, then all listener methods are processed. if (listenerMethod != null && !method.getName().equals(listenerMethod)) return null; // Extract the first arg from arguments and do getProperty on arg if (arguments == null || arguments.length == 0) return null; Object event = arguments[0]; // We hope :-) // Obtain the property XXX propertyType keeps showing up null - why? // because the object inside getProperty changes, but the ref variable // can't change this way, dolt! need a better way to get both values out // - need method and object to do the invoke and get return type Object v[] = getProperty(event, property); Object val = v[0]; Class propertyType = (Class) v[1]; // Find the actual method of target to invoke. We can't do this in the // constructor since we don't know the type of the property we extracted // from the event then. // // action can be either a property or a method. Sun's docs seem to imply // that action should be treated as a property first, and then a method, // but don't specifically say it. // // XXX check what happens with native type wrappers. The better thing to // do is look at the return type of the method Method actionMethod; try { // Look for a property setter for action. actionMethod = target.getClass().getMethod("set" + capitalize(action), new Class[] {propertyType}); } catch (NoSuchMethodException e) { // If action as property didn't work, try as method. try { actionMethod = target.getClass().getMethod(action, new Class[] {propertyType}); } catch (NoSuchMethodException e1) { // When event property is null, we may call action with no args if (property == null) { actionMethod = target.getClass().getMethod(action, null); return actionMethod.invoke(target, null); } else throw e1; } } // Invoke target.action(property) return actionMethod.invoke(target, new Object[] {val}); }
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/4560ec84d1941b7d1dc387ca2fa2087617053271/EventHandler.java/buggy/libjava/java/beans/EventHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 4356, 12, 921, 2889, 16, 2985, 707, 16, 1033, 8526, 1775, 13, 565, 1216, 1185, 225, 288, 565, 368, 2256, 732, 6013, 1608, 326, 2889, 35, 565, 309, 261, 2039, 422, 446, 13, 1377, 604, 394, 3235, 2932, 11354, 310, 446, 707, 8863, 565, 368, 10652, 2590, 716, 22646, 275, 1404, 1269, 854, 5455, 18, 225, 971, 2991, 1305, 565, 368, 353, 446, 16, 1508, 777, 2991, 2590, 854, 5204, 18, 565, 309, 261, 12757, 1305, 480, 446, 597, 401, 2039, 18, 17994, 7675, 14963, 12, 12757, 1305, 3719, 1377, 327, 446, 31, 565, 368, 8152, 326, 1122, 1501, 628, 1775, 471, 741, 3911, 603, 1501, 565, 309, 261, 7099, 422, 446, 747, 1775, 18, 2469, 422, 374, 13, 1377, 327, 446, 31, 565, 1033, 871, 273, 1775, 63, 20, 15533, 368, 1660, 27370, 294, 17, 13, 565, 368, 24850, 326, 1272, 11329, 21076, 20948, 17253, 731, 446, 300, 11598, 35, 565, 368, 2724, 326, 733, 4832, 3911, 3478, 16, 1496, 326, 1278, 2190, 565, 368, 848, 1404, 2549, 333, 4031, 16, 302, 4397, 5, 225, 1608, 279, 7844, 4031, 358, 336, 3937, 924, 596, 565, 368, 300, 1608, 707, 471, 733, 358, 741, 326, 4356, 471, 336, 327, 618, 565, 1033, 331, 8526, 273, 3911, 12, 2575, 16, 1272, 1769, 565, 1033, 1244, 273, 331, 63, 20, 15533, 565, 1659, 21076, 273, 261, 797, 13, 331, 63, 21, 15533, 565, 368, 4163, 326, 3214, 707, 434, 1018, 358, 4356, 18, 225, 1660, 848, 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, 1033, 4356, 12, 921, 2889, 16, 2985, 707, 16, 1033, 8526, 1775, 13, 565, 1216, 1185, 225, 288, 565, 368, 2256, 732, 6013, 1608, 326, 2889, 35, 565, 309, 261, 2039, 422, 446, 13, 1377, 604, 394, 3235, 2932, 11354, 310, 446, 707, 8863, 565, 368, 10652, 2590, 716, 22646, 275, 1404, 1269, 854, 5455, 18, 225, 971, 2991, 1305, 565, 368, 353, 446, 16, 1508, 777, 2991, 2590, 854, 5204, 18, 565, 309, 261, 12757, 1305, 480, 446, 597, 401, 2039, 18, 17994, 7675, 14963, 12, 12757, 1305, 3719, 1377, 327, 446, 31, 565, 368, 8152, 326, 1122, 1501, 628, 1775, 471, 741, 3911, 603, 1501, 565, 309, 261, 7099, 422, 446, 747, 1775, 18, 2469, 2 ]
public void informations_colis1() { String barre_code,temp=""; int Ok=0; // Tant que le code barre saisi n'est pas valide ou null ( pour la cration d'un nouveau colis) //On affiche la fenetre douchette do{ barre_code = douchette(); temp = barre_code; AccesBDDColis rechercher_colis=new AccesBDDColis(); AccesBDDChargement rechercher_chargement=new AccesBDDChargement(); //Si on veut crer un nouveau colis if (barre_code==null || barre_code.length()==0) { col = new Colis(); Ok = 1; } //Si on veut chercher un colis ou un chargement dans la Bdd else{ try{ new Integer(temp.trim()); int i = Integer.parseInt(temp); try { //on cherche un colis dans la Bdd col = rechercher_colis.rechercherCode_barre(i); //Si le colis existe on quitte la boucle if(col!=null){ Ok =1; } //Si le code barre n'existe pas, on va rechercher un chargement else{ //charg = rechercher_chargement. //Si il n'existe ni colis ni chargement avec ce code barre : JOptionPane.showMessageDialog(this,"Le code barre ne correspond aucun colis ou chargement.","Message d'avertissement",JOptionPane.ERROR_MESSAGE); } } catch (SQLException e) { e.printStackTrace(); } } //Si le code barre n'est pas un chiffre catch(NumberFormatException e){ JOptionPane.showMessageDialog(this,"Le code barre ne correspond aucun colis ou chargement.","Message d'avertissement",JOptionPane.ERROR_MESSAGE); } } }while(Ok == 0); // tant que le code barre n'est pas valide ou null //On reaffiche tout le contenu graphique contenu.removeAll(); contenu.validate(); create_graphique(); contenu.validate(); repaint(); int de; String id=""; int error = 1; //On va chercher les colis prsents dans le chargement( Si un chargement a dja t rentr) ajout_chargement(); //Si on veut saisir un nouveau colis. if (col.getCode_barre()==null) { //cration du code barre do{ for (int i = 0; i< 9;i++) { Random r = new Random(); de = r.nextInt(10); id = id + de; } }while(error==0); // On affiche toutes les donnes vierges create = 0; informations_vierge(); code_barre.setText(id); date_envoie.setText(new Timestamp(System.currentTimeMillis()).toLocaleString()); } //Si on vrifie un colis else { create = 1; code_barre.setEnabled(false); code_barre.setText(col.getCode_barre()); forme_colis.setEnabled(false); modele_colis.setEnabled(false); fragilite_colis.setEnabled(false); fragilite_colis.setSelectedIndex(col.getFragilite().intValue()); largeur.setEnabled(false); hauteur.setEnabled(false); profondeur.setEnabled(false); poids.setEnabled(false); poids.setText(col.getPoids().toString()); date_envoie.setEnabled(false); date_envoie.setText(col.getDate().toLocaleString()); donnees_dest.setEnabled(false); donnees_exp.setEnabled(false); voir_incident.setVisible(true); //On rcupre les infos dans la Bdd et on les affiche // On cherche les infos sur le modle du colis AccesBDDModelesColis test3=new AccesBDDModelesColis(); try{ modelecolis = test3.rechercher(col.getModele().getId()); } catch(SQLException e2){ System.out.println(e2.getMessage()); } //On affiche les infos sur le modle de colis forme_colis.setSelectedIndex(modelecolis.getForme().intValue()); modele_colis.setEnabled(false); modele_colis.setSelectedIndex(modelecolis.getModele().intValue()); largeur.setText(modelecolis.getLargeur().toString()); hauteur.setText(modelecolis.getHauteur().toString()); profondeur.setText(modelecolis.getProfondeur().toString()); //On cherche les infos sur le destinataire AccesBDDPersonne test1=new AccesBDDPersonne(); try{ destinataire = test1.rechercher(col.getDestinataire().getId()); } catch(SQLException e2){ System.out.println(e2.getMessage()); } //On cherche les infos sur l'adresse du destinataire AccesBDDLocalisation test2=new AccesBDDLocalisation(); try{ localisation1 = test2.rechercher(destinataire.getLocalisation().getId()); } catch(SQLException e2){ System.out.println(e2.getMessage()); } //On affiche les donnes du destinataire donnees_dest.setText(destinataire.getNom()+ " "+ destinataire.getPrenom()+ "\n"+ localisation1.getAdresse()+ "\n"+ localisation1.getCodePostal()+ " "+ localisation1.getVille()+ "\n"+destinataire.getMail()); //On cherche les infos sur l'expditeur try{ expediteur = test1.rechercher(col.getExpediteur().getId()); } catch(SQLException e2){ System.out.println(e2.getMessage()); } //On cherche les infos sur l'adresse de l'expditeur try{ localisation2 = test2.rechercher(expediteur.getLocalisation().getId()); } catch(SQLException e2){ System.out.println(e2.getMessage()); } //On affiche les infos de l'expditeur donnees_exp.setText(expediteur.getNom()+ " "+ expediteur.getPrenom()+ "\n"+ localisation2.getAdresse()+ "\n"+ localisation2.getCodePostal()+ " "+ localisation2.getVille()+ "\n"+expediteur.getMail()); //On liste les incidents qu'il y a eu sur le colis Vector liste_incidents = new Vector(); AccesBDDIncident test5=new AccesBDDIncident(); try { liste_incidents = test5.lister_colis(col.getId()); //On ajoute les incidents dans le tableau for(int i=0;i<liste_incidents.size();i++){ ajouterInc((Incident)liste_incidents.get(i)); } } catch (SQLException e) { e.printStackTrace(); } } contenu.validate(); }
56849 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56849/fb14221fa03714ffa15dc712c2d4898144af5e42/Entree_Fenetre_colis.java/buggy/trunk/ihm/entree/Entree_Fenetre_colis.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 267, 687, 1012, 67, 1293, 291, 21, 1435, 202, 95, 202, 202, 780, 3215, 266, 67, 710, 16, 5814, 1546, 14432, 202, 202, 474, 8809, 33, 20, 31, 202, 202, 759, 56, 970, 372, 292, 557, 390, 3215, 455, 69, 291, 267, 11, 395, 84, 345, 1125, 831, 465, 420, 12, 84, 477, 80, 1077, 7034, 72, 11, 318, 82, 1395, 537, 8377, 1293, 291, 13, 202, 202, 759, 1398, 7329, 1354, 292, 1727, 31034, 1118, 7309, 7637, 202, 202, 2896, 95, 9506, 202, 3215, 266, 67, 710, 33, 72, 7309, 7637, 5621, 1082, 202, 5814, 33, 3215, 266, 67, 710, 31, 1082, 202, 9988, 764, 38, 5698, 914, 291, 266, 19322, 19322, 67, 1293, 291, 33, 2704, 9988, 764, 38, 5698, 914, 291, 5621, 1082, 202, 9988, 764, 38, 5698, 2156, 75, 820, 266, 19322, 19322, 67, 3001, 75, 820, 33, 2704, 9988, 764, 38, 5698, 2156, 75, 820, 5621, 25083, 202, 759, 55, 285, 537, 322, 3353, 19780, 82, 1395, 537, 8377, 1293, 291, 1082, 202, 430, 12, 3215, 266, 67, 710, 631, 2011, 20081, 3215, 266, 67, 710, 18, 2469, 1435, 631, 20, 13, 1082, 202, 95, 9506, 202, 1293, 33, 2704, 914, 291, 5621, 9506, 202, 8809, 33, 21, 31, 25083, 202, 97, 1082, 202, 759, 55, 285, 537, 322, 19322, 19322, 551, 355, 291, 1395, 318, 3001, 75, 820, 72, 634, 11821, 27128, 1082, 202, 12107, 95, 6862, 202, 698, 95, 25083, 202, 2704, 4522, 12, 5814, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 267, 687, 1012, 67, 1293, 291, 21, 1435, 202, 95, 202, 202, 780, 3215, 266, 67, 710, 16, 5814, 1546, 14432, 202, 202, 474, 8809, 33, 20, 31, 202, 202, 759, 56, 970, 372, 292, 557, 390, 3215, 455, 69, 291, 267, 11, 395, 84, 345, 1125, 831, 465, 420, 12, 84, 477, 80, 1077, 7034, 72, 11, 318, 82, 1395, 537, 8377, 1293, 291, 13, 202, 202, 759, 1398, 7329, 1354, 292, 1727, 31034, 1118, 7309, 7637, 202, 202, 2896, 95, 9506, 202, 3215, 266, 67, 710, 33, 72, 7309, 7637, 5621, 1082, 202, 5814, 33, 3215, 266, 67, 710, 31, 1082, 202, 9988, 764, 38, 5698, 914, 291, 266, 19322, 19322, 67, 1293, 2 ]
}});
}
public void widgetDisposed(DisposeEvent e) { if (!treeIsDisposed) { Object data = item.getData(); if (usingElementMap() && data != null) { unmapElement(data, item); } } }});
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/72b02dfa9a75652d45af68d329d447e0e8bbe40d/TreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 3604, 1669, 7423, 12, 1669, 4150, 1133, 425, 13, 288, 6862, 202, 430, 16051, 3413, 2520, 1669, 7423, 13, 288, 25083, 202, 921, 501, 273, 761, 18, 588, 751, 5621, 25083, 202, 430, 261, 9940, 1046, 863, 1435, 597, 501, 480, 446, 13, 288, 6862, 1082, 202, 318, 1458, 1046, 12, 892, 16, 761, 1769, 25083, 202, 97, 6862, 202, 97, 9506, 202, 9090, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 3604, 1669, 7423, 12, 1669, 4150, 1133, 425, 13, 288, 6862, 202, 430, 16051, 3413, 2520, 1669, 7423, 13, 288, 25083, 202, 921, 501, 273, 761, 18, 588, 751, 5621, 25083, 202, 430, 261, 9940, 1046, 863, 1435, 597, 501, 480, 446, 13, 288, 6862, 1082, 202, 318, 1458, 1046, 12, 892, 16, 761, 1769, 25083, 202, 97, 6862, 202, 97, 9506, 202, 9090, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new GrouperShellException(eNSNF);
GrouperShell.error(i, eNSNF);
protected static Stem addStem( Interpreter i, String parent, String extn, String displayExtn ) throws GrouperShellException { try { GrouperSession s = GrouperShell.getSession(i); Stem nsP = null; if (parent == null) { nsP = StemFinder.findRootStem(s); } else { nsP = StemFinder.findByName(s, parent); } return nsP.addChildStem(extn, displayExtn); } catch (InsufficientPrivilegeException eIP) { throw new GrouperShellException(eIP); } catch (StemAddException eNSA) { throw new GrouperShellException(eNSA); } catch (StemNotFoundException eNSNF) { throw new GrouperShellException(eNSNF); } } // protected static Stem addStem(i, parent, extn, displayExtn)
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/30851413764c0ab36008f24bc8c626a632356f1c/StemHelper.java/clean/grouper/contrib/cdg/src/cdg/com/devclue/grouper/shell/StemHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 760, 348, 874, 527, 28771, 12, 565, 5294, 11599, 277, 16, 514, 982, 16, 514, 1110, 82, 16, 514, 2562, 2482, 82, 225, 262, 377, 1216, 225, 3756, 264, 13220, 503, 225, 288, 565, 775, 288, 1377, 3756, 264, 2157, 225, 272, 282, 273, 3756, 264, 13220, 18, 588, 2157, 12, 77, 1769, 1377, 348, 874, 5411, 3153, 52, 273, 446, 31, 1377, 309, 261, 2938, 422, 446, 13, 288, 3639, 3153, 52, 273, 348, 874, 8441, 18, 4720, 2375, 28771, 12, 87, 1769, 1377, 289, 1377, 469, 288, 3639, 3153, 52, 273, 348, 874, 8441, 18, 4720, 5911, 12, 87, 16, 982, 1769, 1377, 289, 1377, 327, 3153, 52, 18, 1289, 1763, 28771, 12, 408, 82, 16, 2562, 2482, 82, 1769, 565, 289, 565, 1044, 261, 5048, 11339, 24308, 503, 425, 2579, 13, 225, 288, 1377, 604, 394, 3756, 264, 13220, 503, 12, 73, 2579, 1769, 565, 289, 565, 1044, 261, 28771, 986, 503, 10624, 37, 13, 9079, 288, 1377, 604, 394, 3756, 264, 13220, 503, 12, 73, 3156, 37, 1769, 565, 289, 565, 1044, 261, 28771, 3990, 10624, 26473, 13, 540, 288, 1377, 3756, 264, 13220, 18, 1636, 12, 77, 16, 10624, 26473, 1769, 565, 289, 225, 289, 368, 4750, 760, 348, 874, 527, 28771, 12, 77, 16, 982, 16, 1110, 82, 16, 2562, 2482, 82, 13, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 760, 348, 874, 527, 28771, 12, 565, 5294, 11599, 277, 16, 514, 982, 16, 514, 1110, 82, 16, 514, 2562, 2482, 82, 225, 262, 377, 1216, 225, 3756, 264, 13220, 503, 225, 288, 565, 775, 288, 1377, 3756, 264, 2157, 225, 272, 282, 273, 3756, 264, 13220, 18, 588, 2157, 12, 77, 1769, 1377, 348, 874, 5411, 3153, 52, 273, 446, 31, 1377, 309, 261, 2938, 422, 446, 13, 288, 3639, 3153, 52, 273, 348, 874, 8441, 18, 4720, 2375, 28771, 12, 87, 1769, 1377, 289, 1377, 469, 288, 3639, 3153, 52, 273, 348, 874, 8441, 18, 4720, 5911, 12, 87, 16, 982, 1769, 1377, 289, 1377, 327, 3153, 52, 18, 1289, 1763, 28771, 12, 408, 82, 2 ]
return self.getRuntime().newString("tag:yaml.org,2002:map");
String className = self.getType().getName(); if("Hash".equals(className)) { return self.getRuntime().newString("tag:yaml.org,2002:map"); } else { return self.getRuntime().newString("tag:yaml.org,2002:map:" + className); }
public IRubyObject method1(ThreadContext context, IRubyObject self, IRubyObject[] args) { return self.getRuntime().newString("tag:yaml.org,2002:map"); }
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/121d8287e0a8d27aa18bbefd10a9ebf08fe51d8d/RubyYAML.java/clean/src/org/jruby/RubyYAML.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 15908, 10340, 921, 707, 21, 12, 3830, 1042, 819, 16, 15908, 10340, 921, 365, 16, 15908, 10340, 921, 8526, 833, 13, 288, 5411, 514, 2658, 273, 365, 18, 588, 559, 7675, 17994, 5621, 309, 2932, 2310, 9654, 14963, 12, 12434, 3719, 288, 327, 365, 18, 588, 5576, 7675, 2704, 780, 2932, 2692, 30, 9522, 18, 3341, 16, 6976, 22, 30, 1458, 8863, 289, 469, 288, 327, 365, 18, 588, 5576, 7675, 2704, 780, 2932, 2692, 30, 9522, 18, 3341, 16, 6976, 22, 30, 1458, 2773, 397, 2658, 1769, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 15908, 10340, 921, 707, 21, 12, 3830, 1042, 819, 16, 15908, 10340, 921, 365, 16, 15908, 10340, 921, 8526, 833, 13, 288, 5411, 514, 2658, 273, 365, 18, 588, 559, 7675, 17994, 5621, 309, 2932, 2310, 9654, 14963, 12, 12434, 3719, 288, 327, 365, 18, 588, 5576, 7675, 2704, 780, 2932, 2692, 30, 9522, 18, 3341, 16, 6976, 22, 30, 1458, 8863, 289, 469, 288, 327, 365, 18, 588, 5576, 7675, 2704, 780, 2932, 2692, 30, 9522, 18, 3341, 16, 6976, 22, 30, 1458, 2773, 397, 2658, 1769, 289, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
interpreter.evaluate(reader);
interpreter.evaluate(reader, desc);
public void loadScripts() { org.apache.batik.script.Window window = null; NodeList scripts = document.getElementsByTagNameNS (SVGConstants.SVG_NAMESPACE_URI, SVGConstants.SVG_SCRIPT_TAG); int len = scripts.getLength(); if (len == 0) { return; } Set languages = new HashSet(); for (int i = 0; i < len; i++) { Element script = (Element)scripts.item(i); String type = script.getAttributeNS (null, SVGConstants.SVG_TYPE_ATTRIBUTE); if (type.length() == 0) { type = SVGConstants.SVG_SCRIPT_TYPE_DEFAULT_VALUE; } // // Java code invocation. // if (type.equals(SVGConstants.SVG_SCRIPT_TYPE_JAVA)) { try { String href = XLinkSupport.getXLinkHref(script); ParsedURL purl = new ParsedURL (XMLBaseSupport.getCascadedXMLBase(script), href); checkCompatibleScriptURL(type, purl); DocumentJarClassLoader cll; URL docURL = null; try { docURL = new URL(docPURL.toString()); } catch (MalformedURLException mue) { /* nothing just let docURL be null */ } cll = new DocumentJarClassLoader (new URL(purl.toString()), docURL); // Get the 'Script-Handler' entry in the manifest. URL url = cll.findResource("META-INF/MANIFEST.MF"); if (url == null) { continue; } Manifest man = new Manifest(url.openStream()); String sh; sh = man.getMainAttributes().getValue("Script-Handler"); if (sh == null) { continue; } // Run the script handler. ScriptHandler h; h = (ScriptHandler)cll.loadClass(sh).newInstance(); if (window == null) { window = createWindow(); } h.run(document, window); } catch (Exception e) { if (userAgent != null) { userAgent.displayError(e); } } continue; } // // Scripting language invocation. // Interpreter interpreter = bridgeContext.getInterpreter(type); if (interpreter == null) { UserAgent ua = bridgeContext.getUserAgent(); if (ua != null) { ua.displayError(new Exception("Unknown language: "+type)); } return; } if (!languages.contains(type)) { languages.add(type); initializeEnvironment(interpreter, type); } try { String href = XLinkSupport.getXLinkHref(script); Reader reader; if (href.length() > 0) { // External script. ParsedURL purl = new ParsedURL (XMLBaseSupport.getCascadedXMLBase(script), href); checkCompatibleScriptURL(type, purl); reader = new InputStreamReader(purl.openStream()); } else { // Inline script. Node n = script.getFirstChild(); if (n != null) { StringBuffer sb = new StringBuffer(); while (n != null) { sb.append(n.getNodeValue()); n = n.getNextSibling(); } reader = new StringReader(sb.toString()); } else { continue; } } interpreter.evaluate(reader); } catch (IOException e) { if (userAgent != null) { userAgent.displayError(e); } return; } catch (InterpreterException e) { handleInterpreterException(e); return; } catch (SecurityException e) { if (userAgent != null) { userAgent.displayError(e); } } } }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/78c299529028b9eb1e15f01b8a7c676554b12d6a/BaseScriptingEnvironment.java/clean/sources/org/apache/batik/bridge/BaseScriptingEnvironment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 15041, 1435, 288, 3639, 2358, 18, 19211, 18, 28260, 1766, 18, 4263, 18, 3829, 2742, 273, 446, 31, 3639, 16781, 8873, 273, 1668, 18, 588, 3471, 10401, 3156, 5411, 261, 26531, 2918, 18, 26531, 67, 11368, 67, 3098, 16, 11281, 2918, 18, 26531, 67, 10885, 67, 7927, 1769, 3639, 509, 562, 273, 8873, 18, 588, 1782, 5621, 3639, 309, 261, 1897, 422, 374, 13, 288, 5411, 327, 31, 3639, 289, 3639, 1000, 8191, 273, 394, 6847, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 562, 31, 277, 27245, 288, 5411, 3010, 2728, 273, 261, 1046, 13, 12827, 18, 1726, 12, 77, 1769, 5411, 514, 618, 273, 2728, 18, 588, 1499, 3156, 7734, 261, 2011, 16, 11281, 2918, 18, 26531, 67, 2399, 67, 11616, 1769, 5411, 309, 261, 723, 18, 2469, 1435, 422, 374, 13, 288, 7734, 618, 273, 11281, 2918, 18, 26531, 67, 10885, 67, 2399, 67, 5280, 67, 4051, 31, 5411, 289, 5411, 368, 5411, 368, 5110, 981, 9495, 18, 5411, 368, 5411, 309, 261, 723, 18, 14963, 12, 26531, 2918, 18, 26531, 67, 10885, 67, 2399, 67, 27264, 3719, 288, 7734, 775, 288, 10792, 514, 3897, 273, 1139, 2098, 6289, 18, 588, 60, 2098, 15962, 12, 4263, 1769, 10792, 19244, 1785, 293, 718, 273, 394, 19244, 1785, 13491, 261, 4201, 2171, 6289, 18, 588, 39, 3691, 2435, 4201, 2171, 12, 4263, 3631, 3897, 1769, 10792, 866, 14599, 3651, 1785, 12, 723, 16, 293, 718, 1769, 10792, 4319, 10813, 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, 1262, 15041, 1435, 288, 3639, 2358, 18, 19211, 18, 28260, 1766, 18, 4263, 18, 3829, 2742, 273, 446, 31, 3639, 16781, 8873, 273, 1668, 18, 588, 3471, 10401, 3156, 5411, 261, 26531, 2918, 18, 26531, 67, 11368, 67, 3098, 16, 11281, 2918, 18, 26531, 67, 10885, 67, 7927, 1769, 3639, 509, 562, 273, 8873, 18, 588, 1782, 5621, 3639, 309, 261, 1897, 422, 374, 13, 288, 5411, 327, 31, 3639, 289, 3639, 1000, 8191, 273, 394, 6847, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 562, 31, 277, 27245, 288, 5411, 3010, 2728, 273, 261, 1046, 13, 12827, 18, 1726, 12, 77, 1769, 5411, 514, 618, 273, 2728, 18, 588, 1499, 3156, 7734, 2 ]
public IRubyObject specificEval(RubyModule mod, IRubyObject[] args) { ThreadContext tc = getRuntime().getCurrentContext(); if (tc.isBlockGiven()) { if (args.length > 0) { throw getRuntime().newArgumentError(args.length, 0); } return yieldUnder(mod); } if (args.length == 0) { throw getRuntime().newArgumentError("block not supplied"); } else if (args.length > 3) { String lastFuncName = tc.getFrameLastFunc(); throw getRuntime().newArgumentError( "wrong # of arguments: " + lastFuncName + "(src) or " + lastFuncName + "{..}"); } /* if (ruby.getSecurityLevel() >= 4) { Check_Type(argv[0], T_STRING); } else { Check_SafeStr(argv[0]); } */ IRubyObject file = args.length > 1 ? args[1] : getRuntime().newString("(eval)"); IRubyObject line = args.length > 2 ? args[2] : RubyFixnum.one(getRuntime()); Visibility savedVisibility = tc.getCurrentVisibility(); tc.setCurrentVisibility(Visibility.PUBLIC); try { return evalUnder(mod, args[0], file, line); } finally { tc.setCurrentVisibility(savedVisibility); } }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/c8b66db475de1dc66f347884891dd70d9943689b/RubyObject.java/buggy/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 2923, 13904, 12, 54, 10340, 3120, 681, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 4884, 1042, 1715, 273, 18814, 7675, 588, 3935, 1042, 5621, 7734, 309, 261, 5111, 18, 291, 1768, 6083, 10756, 288, 5411, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 7734, 604, 18814, 7675, 2704, 1379, 668, 12, 1968, 18, 2469, 16, 374, 1769, 5411, 289, 5411, 327, 2824, 14655, 12, 1711, 1769, 3639, 289, 202, 202, 430, 261, 1968, 18, 2469, 422, 374, 13, 288, 1082, 565, 604, 18814, 7675, 2704, 1379, 668, 2932, 2629, 486, 4580, 8863, 202, 202, 97, 469, 309, 261, 1968, 18, 2469, 405, 890, 13, 288, 1082, 565, 514, 1142, 2622, 461, 273, 1715, 18, 588, 3219, 3024, 2622, 5621, 1082, 565, 604, 18814, 7675, 2704, 1379, 668, 12, 1082, 3639, 315, 21530, 468, 434, 1775, 30, 315, 397, 1142, 2622, 461, 397, 7751, 4816, 13, 578, 315, 397, 1142, 2622, 461, 397, 4144, 838, 1532, 1769, 202, 202, 97, 202, 202, 20308, 202, 202, 430, 261, 27768, 18, 588, 4368, 2355, 1435, 1545, 1059, 13, 288, 1082, 202, 1564, 67, 559, 12, 19485, 63, 20, 6487, 399, 67, 5804, 1769, 202, 202, 97, 469, 288, 1082, 202, 1564, 67, 9890, 1585, 12, 19485, 63, 20, 19226, 202, 202, 97, 202, 202, 5549, 202, 202, 7937, 10340, 921, 585, 273, 833, 18, 2469, 405, 404, 692, 833, 63, 21, 65, 294, 18814, 7675, 2704, 780, 2932, 12, 8622, 2225, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 2923, 13904, 12, 54, 10340, 3120, 681, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 4884, 1042, 1715, 273, 18814, 7675, 588, 3935, 1042, 5621, 7734, 309, 261, 5111, 18, 291, 1768, 6083, 10756, 288, 5411, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 7734, 604, 18814, 7675, 2704, 1379, 668, 12, 1968, 18, 2469, 16, 374, 1769, 5411, 289, 5411, 327, 2824, 14655, 12, 1711, 1769, 3639, 289, 202, 202, 430, 261, 1968, 18, 2469, 422, 374, 13, 288, 1082, 565, 604, 18814, 7675, 2704, 1379, 668, 2932, 2629, 486, 4580, 8863, 202, 202, 97, 469, 309, 261, 1968, 18, 2469, 405, 890, 13, 288, 1082, 565, 514, 1142, 2622, 461, 2 ]
if ( StringUtils.isEmpty( childScm.getDeveloperConnection() ) && !StringUtils.isEmpty( parentScm.getDeveloperConnection() ) )
if ( StringUtils.isEmpty( childScm.getDeveloperConnection() ) && !StringUtils.isEmpty( parentScm.getDeveloperConnection() ) )
public void assembleModelInheritance( Model child, Model parent ) { // Pom version if ( child.getModelVersion() == null ) { child.setModelVersion( parent.getModelVersion() ); } // Group id if ( child.getGroupId() == null ) { child.setGroupId( parent.getGroupId() ); } // artifactId if ( child.getArtifactId() == null ) { child.setArtifactId( parent.getArtifactId() ); } // name if ( child.getName() == null ) { child.setName( parent.getName() ); } // currentVersion if ( child.getVersion() == null ) { child.setVersion( parent.getVersion() ); } // inceptionYear if ( child.getInceptionYear() == null ) { child.setInceptionYear( parent.getInceptionYear() ); } // Name if ( child.getPackage() == null ) { child.setPackage( parent.getPackage() ); } // url if ( child.getUrl() == null ) { child.setUrl( parent.getUrl() ); } // ---------------------------------------------------------------------- // Distribution // ---------------------------------------------------------------------- if ( child.getDistributionManagement() == null ) { child.setDistributionManagement( parent.getDistributionManagement() ); } // issueManagement if ( child.getIssueManagement() == null ) { child.setIssueManagement( parent.getIssueManagement() ); } // Short description if ( child.getShortDescription() == null ) { child.setShortDescription( parent.getShortDescription() ); } // Short description if ( child.getDescription() == null ) { child.setDescription( parent.getDescription() ); } // Organization if ( child.getOrganization() == null ) { child.setOrganization( parent.getOrganization() ); } // Scm if ( parent.getScm() != null ) { Scm parentScm = parent.getScm(); Scm childScm = child.getScm(); if ( childScm == null ) { childScm = new Scm(); child.setScm( childScm ); } if ( StringUtils.isEmpty( childScm.getConnection() ) && !StringUtils.isEmpty( parentScm.getConnection() ) ) { childScm.setConnection( parentScm.getConnection() + "/" + child.getArtifactId() ); } if ( StringUtils.isEmpty( childScm.getDeveloperConnection() ) && !StringUtils.isEmpty( parentScm.getDeveloperConnection() ) ) { childScm.setDeveloperConnection( parentScm.getDeveloperConnection() + "/" + child.getArtifactId() ); } if ( StringUtils.isEmpty( childScm.getUrl() ) ) { childScm.setUrl( parentScm.getUrl() ); } if ( parentScm.getBranches() != null ) { childScm.getBranches().addAll( parentScm.getBranches() ); } } // ciManagement if ( child.getCiManagement() == null ) { child.setCiManagement( parent.getCiManagement() ); } // developers if ( child.getDevelopers().size() == 0 ) { child.setDevelopers( parent.getDevelopers() ); } // developers if ( child.getContributors().size() == 0 ) { child.setContributors( parent.getContributors() ); } // mailingLists if ( child.getMailingLists().size() == 0 ) { child.setMailingLists( parent.getMailingLists() ); } // reports if ( child.getReports().size() == 0 ) { child.setReports( parent.getReports() ); } // Build if ( child.getBuild() == null ) { child.setBuild( parent.getBuild() ); } else { // The build has been set but we want to step in here and fill in // values // that have not been set by the child. if ( child.getBuild().getDirectory() == null ) { child.getBuild().setDirectory( parent.getBuild().getDirectory() ); } if ( child.getBuild().getSourceDirectory() == null ) { child.getBuild().setSourceDirectory( parent.getBuild().getSourceDirectory() ); } if ( child.getBuild().getUnitTestSourceDirectory() == null ) { child.getBuild().setUnitTestSourceDirectory( parent.getBuild().getUnitTestSourceDirectory() ); } if ( child.getBuild().getAspectSourceDirectory() == null ) { child.getBuild().setAspectSourceDirectory( parent.getBuild().getAspectSourceDirectory() ); } if ( child.getBuild().getOutput() == null ) { child.getBuild().setOutput( parent.getBuild().getOutput() ); } if ( child.getBuild().getTestOutput() == null ) { child.getBuild().setTestOutput( parent.getBuild().getTestOutput() ); } List resources = child.getBuild().getResources(); if ( resources == null || resources.isEmpty() ) { child.getBuild().setResources( parent.getBuild().getResources() ); } if ( child.getBuild().getUnitTest() == null ) { child.getBuild().setUnitTest( parent.getBuild().getUnitTest() ); } else { if ( child.getBuild().getUnitTest().getIncludes().size() == 0 ) { child.getBuild().getUnitTest().setIncludes( parent.getBuild().getUnitTest().getIncludes() ); } if ( child.getBuild().getUnitTest().getExcludes().size() == 0 ) { child.getBuild().getUnitTest().setExcludes( parent.getBuild().getUnitTest().getExcludes() ); } List testResources = child.getBuild().getUnitTest().getResources(); if ( testResources == null || testResources.isEmpty() ) { child.getBuild().getUnitTest().setResources( parent.getBuild().getUnitTest().getResources() ); } } } // Dependencies :: aggregate List dependencies = parent.getDependencies(); for ( Iterator iterator = dependencies.iterator(); iterator.hasNext(); ) { Dependency dependency = (Dependency) iterator.next(); child.addDependency( dependency ); } // PreGoals :: aggregate List preGoals = parent.getPreGoals(); for ( Iterator iterator = preGoals.iterator(); iterator.hasNext(); ) { PreGoal preGoal = (PreGoal) iterator.next(); child.addPreGoal( preGoal ); } // PostGoals :: aggregate List postGoals = parent.getPostGoals(); for ( Iterator iterator = postGoals.iterator(); iterator.hasNext(); ) { PostGoal postGoal = (PostGoal) iterator.next(); child.addPostGoal( postGoal ); } // Repositories :: aggregate List parentRepositories = parent.getRepositories(); List childRepositories = child.getRepositories(); for ( Iterator iterator = parentRepositories.iterator(); iterator.hasNext(); ) { Repository repository = (Repository) iterator.next(); if ( !childRepositories.contains( repository ) ) { child.addRepository( repository ); } } // Plugins :: aggregate List parentPlugins = parent.getPlugins(); List childPlugins = child.getPlugins(); for ( Iterator iterator = parentPlugins.iterator(); iterator.hasNext(); ) { Plugin plugin = (Plugin) iterator.next(); if ( !childPlugins.contains( plugin ) ) { child.addPlugin( plugin ); } } DependencyManagement parentDepMgmt = parent.getDependencyManagement(); DependencyManagement childDepMgmt = child.getDependencyManagement(); if(parentDepMgmt != null) { if(childDepMgmt == null) { child.setDependencyManagement(parentDepMgmt); } else { List parentDeps = parentDepMgmt.getDependencies(); Map mappedParentDeps = new TreeMap(); for ( Iterator it = parentDeps.iterator(); it.hasNext(); ) { Dependency dep = (Dependency) it.next(); mappedParentDeps.put(dep.getManagementKey(), dep); } List deps = new ArrayList(parentDeps); for ( Iterator it = childDepMgmt.getDependencies().iterator(); it.hasNext(); ) { Dependency dep = (Dependency) it.next(); if(!mappedParentDeps.containsKey(dep.getManagementKey())) { deps.add(dep); } } childDepMgmt.setDependencies(deps); } } }
48791 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48791/2ce3a6cbde640081b1a8892e57498b24f5baa1ba/DefaultModelInheritanceAssembler.java/buggy/maven-core/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19540, 1488, 28255, 12, 3164, 1151, 16, 3164, 982, 262, 565, 288, 3639, 368, 453, 362, 1177, 3639, 309, 261, 1151, 18, 588, 1488, 1444, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 1488, 1444, 12, 982, 18, 588, 1488, 1444, 1435, 11272, 3639, 289, 3639, 368, 3756, 612, 3639, 309, 261, 1151, 18, 588, 8722, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 8722, 12, 982, 18, 588, 8722, 1435, 11272, 3639, 289, 3639, 368, 25496, 3639, 309, 261, 1151, 18, 588, 7581, 548, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 7581, 548, 12, 982, 18, 588, 7581, 548, 1435, 11272, 3639, 289, 3639, 368, 508, 3639, 309, 261, 1151, 18, 17994, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 461, 12, 982, 18, 17994, 1435, 11272, 3639, 289, 3639, 368, 23344, 3639, 309, 261, 1151, 18, 588, 1444, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 1444, 12, 982, 18, 588, 1444, 1435, 11272, 3639, 289, 3639, 368, 316, 472, 5593, 3639, 309, 261, 1151, 18, 588, 382, 472, 5593, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 382, 472, 5593, 12, 982, 18, 588, 382, 472, 5593, 1435, 11272, 3639, 289, 3639, 368, 1770, 3639, 309, 261, 1151, 18, 588, 2261, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 2261, 12, 982, 18, 588, 2261, 1435, 11272, 3639, 289, 3639, 368, 880, 3639, 309, 261, 1151, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19540, 1488, 28255, 12, 3164, 1151, 16, 3164, 982, 262, 565, 288, 3639, 368, 453, 362, 1177, 3639, 309, 261, 1151, 18, 588, 1488, 1444, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 1488, 1444, 12, 982, 18, 588, 1488, 1444, 1435, 11272, 3639, 289, 3639, 368, 3756, 612, 3639, 309, 261, 1151, 18, 588, 8722, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 8722, 12, 982, 18, 588, 8722, 1435, 11272, 3639, 289, 3639, 368, 25496, 3639, 309, 261, 1151, 18, 588, 7581, 548, 1435, 422, 446, 262, 3639, 288, 5411, 1151, 18, 542, 7581, 548, 12, 982, 18, 588, 7581, 548, 1435, 11272, 3639, 289, 3639, 368, 508, 3639, 309, 2 ]
refArray[i] = new Editor();
refArray[i] = new InnerEditor(ref, inputArray[i], descArray[i]);
private IEditorReference[] openMultiEditor(final IEditorReference ref, final MultiEditor part, final EditorDescriptor desc, final MultiEditorInput input, final boolean setVisible) throws PartInitException { String[] editorArray = input.getEditors(); IEditorInput[] inputArray = input.getInput(); //find all descriptors EditorDescriptor[] descArray = new EditorDescriptor[editorArray.length]; IEditorReference refArray[] = new IEditorReference[editorArray.length]; IEditorPart partArray[] = new IEditorPart[editorArray.length]; IEditorRegistry reg = getEditorRegistry(); for (int i = 0; i < editorArray.length; i++) { EditorDescriptor innerDesc = (EditorDescriptor) reg .findEditor(editorArray[i]); if (innerDesc == null) throw new PartInitException( NLS.bind(WorkbenchMessages.EditorManager_unknownEditorIDMessage, editorArray[i] )); descArray[i] = innerDesc; partArray[i] = createPart(descArray[i]); refArray[i] = new Editor(); createSite(ref, partArray[i], descArray[i], inputArray[i]); ((Editor) refArray[i]).setPart(partArray[i]); } part.setChildren(partArray); return refArray; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e63fb57c60e1285097cb8d21d56f8acdff80e7de/EditorManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 467, 6946, 2404, 8526, 1696, 5002, 6946, 12, 6385, 467, 6946, 2404, 1278, 16, 5411, 727, 5991, 6946, 1087, 16, 727, 18451, 3187, 3044, 16, 5411, 727, 5991, 6946, 1210, 810, 16, 727, 1250, 16697, 13, 5411, 1216, 6393, 2570, 503, 288, 3639, 514, 8526, 4858, 1076, 273, 810, 18, 588, 4666, 1383, 5621, 3639, 467, 6946, 1210, 8526, 810, 1076, 273, 810, 18, 588, 1210, 5621, 3639, 368, 4720, 777, 14215, 3639, 18451, 3187, 8526, 3044, 1076, 273, 394, 18451, 3187, 63, 9177, 1076, 18, 2469, 15533, 3639, 467, 6946, 2404, 1278, 1076, 8526, 273, 394, 467, 6946, 2404, 63, 9177, 1076, 18, 2469, 15533, 3639, 467, 6946, 1988, 1087, 1076, 8526, 273, 394, 467, 6946, 1988, 63, 9177, 1076, 18, 2469, 15533, 3639, 467, 6946, 4243, 960, 273, 336, 6946, 4243, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4858, 1076, 18, 2469, 31, 277, 27245, 288, 5411, 18451, 3187, 3443, 4217, 273, 261, 6946, 3187, 13, 960, 10792, 263, 4720, 6946, 12, 9177, 1076, 63, 77, 19226, 5411, 309, 261, 7872, 4217, 422, 446, 13, 7734, 604, 394, 6393, 2570, 503, 12, 13491, 29117, 18, 4376, 12, 2421, 22144, 5058, 18, 6946, 1318, 67, 8172, 6946, 734, 1079, 16, 4858, 1076, 63, 77, 65, 262, 1769, 2398, 3044, 1076, 63, 77, 65, 273, 3443, 4217, 31, 5411, 1087, 1076, 63, 77, 65, 273, 752, 1988, 12, 5569, 1076, 63, 77, 19226, 5411, 1278, 1076, 63, 77, 65, 273, 394, 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, 467, 6946, 2404, 8526, 1696, 5002, 6946, 12, 6385, 467, 6946, 2404, 1278, 16, 5411, 727, 5991, 6946, 1087, 16, 727, 18451, 3187, 3044, 16, 5411, 727, 5991, 6946, 1210, 810, 16, 727, 1250, 16697, 13, 5411, 1216, 6393, 2570, 503, 288, 3639, 514, 8526, 4858, 1076, 273, 810, 18, 588, 4666, 1383, 5621, 3639, 467, 6946, 1210, 8526, 810, 1076, 273, 810, 18, 588, 1210, 5621, 3639, 368, 4720, 777, 14215, 3639, 18451, 3187, 8526, 3044, 1076, 273, 394, 18451, 3187, 63, 9177, 1076, 18, 2469, 15533, 3639, 467, 6946, 2404, 1278, 1076, 8526, 273, 394, 467, 6946, 2404, 63, 9177, 1076, 18, 2469, 15533, 3639, 467, 6946, 1988, 1087, 1076, 8526, 273, 394, 467, 6946, 2 ]
if ( _cnt518>=1 ) { break _loop518; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());}
if ( _cnt520>=1 ) { break _loop520; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());}
protected final void mS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = S; int _saveIndex; { int _cnt518=0; _loop518: do { if ((LA(1)=='\t'||LA(1)=='\n'||LA(1)=='\r'||LA(1)==' ')) { { switch ( LA(1)) { case ' ': { match(' '); break; } case '\n': { match('\n'); break; } case '\r': { match('\r'); break; } case '\t': { match('\t'); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } } else { if ( _cnt518>=1 ) { break _loop518; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} } _cnt518++; } while (true); } 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/ce8b3af89ca1836e7de5c4b3c7110a9e9001a4e4/XQueryLexer.java/clean/src/org/exist/xquery/parser/XQueryLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 312, 55, 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, 348, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 95, 202, 202, 474, 389, 13085, 25, 2643, 33, 20, 31, 202, 202, 67, 6498, 25, 2643, 30, 202, 202, 2896, 288, 1082, 202, 430, 14015, 2534, 12, 21, 13, 631, 8314, 88, 11, 20081, 2534, 12, 21, 13, 631, 8314, 82, 11, 20081, 2534, 12, 21, 13, 631, 8314, 86, 11, 20081, 2534, 12, 21, 13, 18920, 296, 3719, 288, 9506, 202, 95, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 9506, 202, 3593, 296, 4290, 9506, 202, 95, 6862, 202, 1916, 2668, 28005, 6862, 202, 8820, 31, 9506, 202, 97, 9506, 202, 3593, 2337, 82, 4278, 9506, 202, 95, 6862, 202, 1916, 2668, 64, 82, 8284, 6862, 202, 8820, 31, 9506, 202, 97, 9506, 202, 3593, 2337, 86, 4278, 9506, 202, 95, 6862, 202, 1916, 2668, 64, 86, 8284, 6862, 202, 8820, 31, 9506, 202, 97, 9506, 202, 3593, 2337, 88, 4278, 9506, 202, 95, 6862, 202, 1916, 2668, 64, 88, 8284, 6862, 202, 8820, 31, 9506, 202, 97, 9506, 202, 1886, 30, 9506, 202, 95, 6862, 202, 12849, 394, 17093, 1290, 2156, 503, 12443, 3001, 13, 2534, 12, 21, 3631, 14632, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 312, 55, 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, 348, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 95, 202, 202, 474, 389, 13085, 25, 2643, 33, 20, 31, 202, 202, 67, 6498, 25, 2643, 30, 202, 202, 2896, 288, 1082, 202, 430, 14015, 2534, 12, 21, 13, 631, 8314, 88, 11, 20081, 2534, 12, 21, 13, 631, 8314, 82, 11, 20081, 2534, 12, 21, 13, 631, 8314, 86, 11, 20081, 2534, 12, 21, 13, 2 ]
myCellRole = "" + (myCell.getUserObject(EditorCell.ROLE));
myCellRole = "" + (EditorUtil.getCellRole(myCell));
public CellProperties(EditorCell cell) { myCell = cell; myCellText = null; if (myCell instanceof EditorCell_Label) { myCellText = ((EditorCell_Label) myCell).getText(); if (myCellText == null || myCellText.length() == 0) myCellText = ((EditorCell_Label) myCell).getNullText(); } myCellKind = NameUtil.shortNameFromLongName(myCell.getClass().getName()); myCellWidth = myCell.getWidth() + ""; myCellHeight = myCell.getHeight() + ""; myCellEffectiveWidth = myCell.getEffectiveWidth() + ""; myRootCell = (myCell.getEditorContext().getNodeEditorComponent().getRootCell() == myCell)?"Yes":"No"; myCellID = (String) (myCell.getUserObject(EditorCell.CELL_ID)); myCellNumber = "" + (myCell.getUserObject(EditorCell.NUMBER)); myCellRole = "" + (myCell.getUserObject(EditorCell.ROLE)); mySNode = myCell.getSNode(); String name = mySNode.getName(); name = name != null ? name : "<no name>"; myCellSNode = mySNode == null ? "no node" : name + " (" + mySNode.getConceptName() + ") [" + mySNode.getId() + "]"; }
14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/9a64b03ddb77be6e5541ba7fba2ab4c3bcd0ee92/CellProperties.java/buggy/source/jetbrains/mps/nodeEditor/CellProperties.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8614, 2297, 12, 6946, 4020, 2484, 13, 288, 565, 3399, 4020, 273, 2484, 31, 565, 3399, 4020, 1528, 273, 446, 31, 565, 309, 261, 4811, 4020, 1276, 18451, 4020, 67, 2224, 13, 288, 1377, 3399, 4020, 1528, 273, 14015, 6946, 4020, 67, 2224, 13, 3399, 4020, 2934, 588, 1528, 5621, 1377, 309, 261, 4811, 4020, 1528, 422, 446, 747, 3399, 4020, 1528, 18, 2469, 1435, 422, 374, 13, 3399, 4020, 1528, 273, 14015, 6946, 4020, 67, 2224, 13, 3399, 4020, 2934, 588, 2041, 1528, 5621, 565, 289, 565, 3399, 4020, 5677, 273, 1770, 1304, 18, 6620, 461, 1265, 3708, 461, 12, 4811, 4020, 18, 588, 797, 7675, 17994, 10663, 565, 3399, 4020, 2384, 273, 3399, 4020, 18, 588, 2384, 1435, 397, 1408, 31, 565, 3399, 4020, 2686, 273, 3399, 4020, 18, 588, 2686, 1435, 397, 1408, 31, 565, 3399, 4020, 28531, 2384, 273, 3399, 4020, 18, 588, 28531, 2384, 1435, 397, 1408, 31, 565, 3399, 2375, 4020, 273, 261, 4811, 4020, 18, 588, 6946, 1042, 7675, 588, 907, 6946, 1841, 7675, 588, 2375, 4020, 1435, 422, 3399, 4020, 13, 7225, 22352, 15563, 2279, 14432, 565, 3399, 4020, 734, 273, 261, 780, 13, 261, 4811, 4020, 18, 588, 1299, 921, 12, 6946, 4020, 18, 27752, 67, 734, 10019, 565, 3399, 4020, 1854, 273, 1408, 397, 261, 4811, 4020, 18, 588, 1299, 921, 12, 6946, 4020, 18, 9931, 10019, 565, 3399, 4020, 2996, 273, 1408, 397, 261, 6946, 1304, 18, 588, 4020, 2996, 12, 4811, 4020, 10019, 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, 8614, 2297, 12, 6946, 4020, 2484, 13, 288, 565, 3399, 4020, 273, 2484, 31, 565, 3399, 4020, 1528, 273, 446, 31, 565, 309, 261, 4811, 4020, 1276, 18451, 4020, 67, 2224, 13, 288, 1377, 3399, 4020, 1528, 273, 14015, 6946, 4020, 67, 2224, 13, 3399, 4020, 2934, 588, 1528, 5621, 1377, 309, 261, 4811, 4020, 1528, 422, 446, 747, 3399, 4020, 1528, 18, 2469, 1435, 422, 374, 13, 3399, 4020, 1528, 273, 14015, 6946, 4020, 67, 2224, 13, 3399, 4020, 2934, 588, 2041, 1528, 5621, 565, 289, 565, 3399, 4020, 5677, 273, 1770, 1304, 18, 6620, 461, 1265, 3708, 461, 12, 4811, 4020, 18, 588, 797, 7675, 17994, 10663, 565, 3399, 4020, 2384, 273, 3399, 4020, 18, 2 ]
public ChargeAttackAction(int entityId, int targetType, int targetId, Coords targetPos) { super(entityId, targetType, targetId, targetPos);
public ChargeAttackAction(Entity attacker, Targetable target) { this(attacker.getId(), target.getTargetType(), target.getTargetId(), target.getPosition());
public ChargeAttackAction(int entityId, int targetType, int targetId, Coords targetPos) { super(entityId, targetType, targetId, targetPos); }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/03092122adb113d090a52ecdde7d904aa84ea147/ChargeAttackAction.java/buggy/megamek/src/megamek/common/actions/ChargeAttackAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3703, 908, 3075, 484, 1803, 12, 474, 15052, 16, 509, 16065, 16, 509, 27729, 16, 10320, 87, 1018, 1616, 13, 288, 3639, 2240, 12, 1096, 548, 16, 16065, 16, 27729, 16, 1018, 1616, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3703, 908, 3075, 484, 1803, 12, 474, 15052, 16, 509, 16065, 16, 509, 27729, 16, 10320, 87, 1018, 1616, 13, 288, 3639, 2240, 12, 1096, 548, 16, 16065, 16, 27729, 16, 1018, 1616, 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 ]
ivRenderer.ungroupPrimitive(tre, true);
ivRenderer.ungroupPrimitive( tre, true );
public void drawText( TextRenderEvent tre ) throws ChartException { ivRenderer.groupPrimitive(tre, true); SVGTextRenderer tr = SVGTextRenderer.instance( (SVGDisplayServer) _ids ); switch ( tre.getAction( ) ) { case TextRenderEvent.UNDEFINED : throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.RENDERING, "exception.missing.text.render.action", //$NON-NLS-1$ Messages.getResourceBundle( getULocale( ) ) ); case TextRenderEvent.RENDER_SHADOW_AT_LOCATION : tr.renderShadowAtLocation( this, tre.getTextPosition( ), tre.getLocation( ), tre.getLabel( ) ); break; case TextRenderEvent.RENDER_TEXT_AT_LOCATION : tr.renderTextAtLocation( this, tre.getTextPosition( ), tre.getLocation( ), tre.getLabel( ) ); break; case TextRenderEvent.RENDER_TEXT_IN_BLOCK : tr.renderTextInBlock( this, tre.getBlockBounds( ), tre.getBlockAlignment( ), tre.getLabel( ) ); break; } ivRenderer.ungroupPrimitive(tre, true); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/1cb055a94d0be6592f772701e9d73d66322c6253/SVGRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3724, 1528, 12, 3867, 3420, 1133, 9787, 262, 1216, 14804, 503, 202, 95, 202, 202, 427, 6747, 18, 1655, 9840, 12, 27427, 16, 638, 1769, 202, 202, 26531, 1528, 6747, 433, 273, 11281, 1528, 6747, 18, 1336, 12, 261, 26531, 4236, 2081, 13, 389, 2232, 11272, 202, 202, 9610, 261, 9787, 18, 588, 1803, 12, 262, 262, 202, 202, 95, 1082, 202, 3593, 3867, 3420, 1133, 18, 2124, 15544, 294, 9506, 202, 12849, 394, 14804, 503, 12, 14804, 3654, 3625, 3773, 18, 734, 16, 25083, 202, 7984, 503, 18, 25230, 1360, 16, 25083, 202, 6, 4064, 18, 7337, 18, 955, 18, 5902, 18, 1128, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 5058, 18, 588, 18731, 12, 23037, 3916, 12, 262, 262, 11272, 1082, 202, 3593, 3867, 3420, 1133, 18, 25230, 67, 2664, 1880, 7306, 67, 789, 67, 15277, 294, 9506, 202, 313, 18, 5902, 12957, 861, 2735, 12, 333, 16, 25083, 202, 27427, 18, 588, 1528, 2555, 12, 262, 16, 25083, 202, 27427, 18, 588, 2735, 12, 262, 16, 25083, 202, 27427, 18, 588, 2224, 12, 262, 11272, 9506, 202, 8820, 31, 1082, 202, 3593, 3867, 3420, 1133, 18, 25230, 67, 5151, 67, 789, 67, 15277, 294, 9506, 202, 313, 18, 5902, 1528, 861, 2735, 12, 333, 16, 25083, 202, 27427, 18, 588, 1528, 2555, 12, 262, 16, 25083, 202, 27427, 18, 588, 2735, 12, 262, 16, 25083, 202, 27427, 18, 588, 2224, 12, 262, 11272, 9506, 202, 8820, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3724, 1528, 12, 3867, 3420, 1133, 9787, 262, 1216, 14804, 503, 202, 95, 202, 202, 427, 6747, 18, 1655, 9840, 12, 27427, 16, 638, 1769, 202, 202, 26531, 1528, 6747, 433, 273, 11281, 1528, 6747, 18, 1336, 12, 261, 26531, 4236, 2081, 13, 389, 2232, 11272, 202, 202, 9610, 261, 9787, 18, 588, 1803, 12, 262, 262, 202, 202, 95, 1082, 202, 3593, 3867, 3420, 1133, 18, 2124, 15544, 294, 9506, 202, 12849, 394, 14804, 503, 12, 14804, 3654, 3625, 3773, 18, 734, 16, 25083, 202, 7984, 503, 18, 25230, 1360, 16, 25083, 202, 6, 4064, 18, 7337, 18, 955, 18, 5902, 18, 1128, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 5058, 2 ]
return valueMap.entrySet().iterator();
return new ArrayList(valueMap.entrySet()).iterator();
private Iterator entryIterator() { //return new ArrayList(valueMap.entrySet()).iterator(); //in general we either want to modify the map or make sure we don't when we use this, so skip the copy return valueMap.entrySet().iterator(); }
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/ca0297671a9134bbd35c936224da11609c37fa62/RubyHash.java/clean/org/jruby/RubyHash.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 4498, 1241, 3198, 1435, 288, 202, 202, 759, 2463, 394, 2407, 12, 1132, 863, 18, 4099, 694, 1435, 2934, 9838, 5621, 202, 202, 759, 267, 7470, 732, 3344, 2545, 358, 5612, 326, 852, 578, 1221, 3071, 732, 2727, 1404, 1347, 732, 999, 333, 16, 1427, 2488, 326, 1610, 202, 202, 2463, 460, 863, 18, 4099, 694, 7675, 9838, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4498, 1241, 3198, 1435, 288, 202, 202, 759, 2463, 394, 2407, 12, 1132, 863, 18, 4099, 694, 1435, 2934, 9838, 5621, 202, 202, 759, 267, 7470, 732, 3344, 2545, 358, 5612, 326, 852, 578, 1221, 3071, 732, 2727, 1404, 1347, 732, 999, 333, 16, 1427, 2488, 326, 1610, 202, 202, 2463, 460, 863, 18, 4099, 694, 7675, 9838, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super.performDefaults(); }
IPreferenceStore store = getIDEPreferenceStore(); autoSaveAllButton .setSelection(store .getDefaultBoolean(IDEInternalPreferences.SAVE_ALL_BEFORE_BUILD)); refreshButton .setSelection(store .getDefaultBoolean(IDEInternalPreferences.REFRESH_WORKSPACE_ON_STARTUP)); launchPromptButton.setSelection(true); exitPromptButton .setSelection(store .getDefaultBoolean(IDEInternalPreferences.EXIT_PROMPT_ON_CLOSE_LAST_WINDOW)); showTasks.setSelection(store .getBoolean(IDEInternalPreferences.SHOW_TASKS_ON_BUILD)); saveInterval.loadDefault(); boolean autoRefresh = ResourcesPlugin.getPlugin().getPluginPreferences().getDefaultBoolean( ResourcesPlugin.PREF_AUTO_REFRESH); autoRefreshButton.setSelection(autoRefresh); super.performDefaults(); }
protected void performDefaults() { // core holds onto this preference. boolean autoBuild = ResourcesPlugin.getPlugin().getPluginPreferences().getDefaultBoolean(ResourcesPlugin.PREF_AUTO_BUILDING); autoBuildButton.setSelection(autoBuild); IPreferenceStore store = getIDEPreferenceStore(); autoSaveAllButton.setSelection(store.getDefaultBoolean(IDEInternalPreferences.SAVE_ALL_BEFORE_BUILD)); refreshButton.setSelection(store.getDefaultBoolean(IDEInternalPreferences.REFRESH_WORKSPACE_ON_STARTUP)); launchPromptButton.setSelection(true); exitPromptButton.setSelection(store.getDefaultBoolean(IDEInternalPreferences.EXIT_PROMPT_ON_CLOSE_LAST_WINDOW)); showTasks.setSelection(store.getBoolean(IDEInternalPreferences.SHOW_TASKS_ON_BUILD)); saveInterval.loadDefault(); super.performDefaults(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/d9f077f11edb05a527f887adc8741e37bc3a1982/IDEWorkbenchPreferencePage.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/IDEWorkbenchPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3073, 7019, 1435, 288, 202, 202, 759, 2922, 14798, 10170, 333, 11555, 18, 202, 202, 6494, 3656, 3116, 273, 8128, 3773, 18, 588, 3773, 7675, 588, 3773, 12377, 7675, 588, 1868, 5507, 12, 3805, 3773, 18, 3670, 42, 67, 18909, 67, 20215, 1360, 1769, 202, 202, 6079, 3116, 3616, 18, 542, 6233, 12, 6079, 3116, 1769, 9506, 202, 45, 9624, 2257, 1707, 273, 336, 10385, 9624, 2257, 5621, 202, 202, 6079, 4755, 1595, 3616, 18, 542, 6233, 12, 2233, 18, 588, 1868, 5507, 12, 10385, 3061, 12377, 18, 25242, 67, 4685, 67, 19152, 67, 20215, 10019, 202, 202, 9144, 3616, 18, 542, 6233, 12, 2233, 18, 588, 1868, 5507, 12, 10385, 3061, 12377, 18, 10771, 14753, 67, 10566, 6616, 67, 673, 67, 7570, 3079, 10019, 202, 202, 20738, 15967, 3616, 18, 542, 6233, 12, 3767, 1769, 202, 202, 8593, 15967, 3616, 18, 542, 6233, 12, 2233, 18, 588, 1868, 5507, 12, 10385, 3061, 12377, 18, 28682, 67, 3373, 49, 1856, 67, 673, 67, 13384, 67, 14378, 67, 23407, 10019, 202, 202, 4500, 6685, 18, 542, 6233, 12, 2233, 18, 588, 5507, 12, 10385, 3061, 12377, 18, 16677, 67, 15580, 55, 67, 673, 67, 20215, 10019, 202, 202, 5688, 4006, 18, 945, 1868, 5621, 202, 202, 9565, 18, 16092, 7019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3073, 7019, 1435, 288, 202, 202, 759, 2922, 14798, 10170, 333, 11555, 18, 202, 202, 6494, 3656, 3116, 273, 8128, 3773, 18, 588, 3773, 7675, 588, 3773, 12377, 7675, 588, 1868, 5507, 12, 3805, 3773, 18, 3670, 42, 67, 18909, 67, 20215, 1360, 1769, 202, 202, 6079, 3116, 3616, 18, 542, 6233, 12, 6079, 3116, 1769, 9506, 202, 45, 9624, 2257, 1707, 273, 336, 10385, 9624, 2257, 5621, 202, 202, 6079, 4755, 1595, 3616, 18, 542, 6233, 12, 2233, 18, 588, 1868, 5507, 12, 10385, 3061, 12377, 18, 25242, 67, 4685, 67, 19152, 67, 20215, 10019, 202, 202, 9144, 3616, 18, 542, 6233, 12, 2233, 18, 588, 1868, 5507, 12, 10385, 3061, 12377, 18, 10771, 2 ]
if (WorkbenchActivityHelper.filterItem(viewDescriptor)) return null;
if (WorkbenchActivityHelper.filterItem(viewDescriptor)) { return null; }
private LayoutPart createView(String partID) throws PartInitException { if (partID.equals(ID_EDITOR_AREA)) { return editorFolder; } IViewDescriptor viewDescriptor = viewFactory.getViewRegistry() .find(ViewFactory.extractPrimaryId(partID)); if (WorkbenchActivityHelper.filterItem(viewDescriptor)) return null; return LayoutHelper.createView(getViewFactory(), partID); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/PageLayout.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PageLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 9995, 1988, 15193, 12, 780, 1087, 734, 13, 1216, 6393, 2570, 503, 288, 3639, 309, 261, 2680, 734, 18, 14963, 12, 734, 67, 13208, 67, 20933, 3719, 288, 5411, 327, 4858, 3899, 31, 3639, 289, 202, 202, 45, 1767, 3187, 1476, 3187, 273, 1476, 1733, 18, 588, 1767, 4243, 1435, 1082, 3639, 263, 4720, 12, 1767, 1733, 18, 8004, 6793, 548, 12, 2680, 734, 10019, 202, 202, 430, 261, 2421, 22144, 6193, 2276, 18, 2188, 1180, 12, 1945, 3187, 3719, 1082, 565, 327, 446, 31, 202, 202, 2463, 9995, 2276, 18, 2640, 1767, 12, 588, 1767, 1733, 9334, 1087, 734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 9995, 1988, 15193, 12, 780, 1087, 734, 13, 1216, 6393, 2570, 503, 288, 3639, 309, 261, 2680, 734, 18, 14963, 12, 734, 67, 13208, 67, 20933, 3719, 288, 5411, 327, 4858, 3899, 31, 3639, 289, 202, 202, 45, 1767, 3187, 1476, 3187, 273, 1476, 1733, 18, 588, 1767, 4243, 1435, 1082, 3639, 263, 4720, 12, 1767, 1733, 18, 8004, 6793, 548, 12, 2680, 734, 10019, 202, 202, 430, 261, 2421, 22144, 6193, 2276, 18, 2188, 1180, 12, 1945, 3187, 3719, 1082, 565, 327, 446, 31, 202, 202, 2463, 9995, 2276, 18, 2640, 1767, 12, 588, 1767, 1733, 9334, 1087, 734, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
null, "setOnmousemove");
null, "setOnmousemoveExpr");
public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] result = new PropertyDescriptor[26]; try { result[0] = new PropertyDescriptor("accesskey", ELSubmitTag.class, null, "setAccesskey"); result[1] = new PropertyDescriptor("alt", ELSubmitTag.class, null, "setAlt"); result[2] = new PropertyDescriptor("altKey", ELSubmitTag.class, null, "setAltKey"); // This attribute has a non-standard mapping. result[3] = new PropertyDescriptor("disabled", ELSubmitTag.class, null, "setDisabledExpr"); // This attribute has a non-standard mapping. result[4] = new PropertyDescriptor("indexed", ELSubmitTag.class, null, "setIndexedExpr"); result[5] = new PropertyDescriptor("onblur", ELSubmitTag.class, null, "setOnblur"); result[6] = new PropertyDescriptor("onchange", ELSubmitTag.class, null, "setOnchange"); result[7] = new PropertyDescriptor("onclick", ELSubmitTag.class, null, "setOnclick"); result[8] = new PropertyDescriptor("ondblclick", ELSubmitTag.class, null, "setOndblclick"); result[9] = new PropertyDescriptor("onfocus", ELSubmitTag.class, null, "setOnfocus"); result[10] = new PropertyDescriptor("onkeydown", ELSubmitTag.class, null, "setOnkeydown"); result[11] = new PropertyDescriptor("onkeypress", ELSubmitTag.class, null, "setOnkeypress"); result[12] = new PropertyDescriptor("onkeyup", ELSubmitTag.class, null, "setOnkeyup"); result[13] = new PropertyDescriptor("onmousedown", ELSubmitTag.class, null, "setOnmousedown"); result[14] = new PropertyDescriptor("onmousemove", ELSubmitTag.class, null, "setOnmousemove"); result[15] = new PropertyDescriptor("onmouseout", ELSubmitTag.class, null, "setOnmouseout"); result[16] = new PropertyDescriptor("onmouseover", ELSubmitTag.class, null, "setOnmouseover"); result[17] = new PropertyDescriptor("onmouseup", ELSubmitTag.class, null, "setOnmouseup"); result[18] = new PropertyDescriptor("property", ELSubmitTag.class, null, "setProperty"); result[19] = new PropertyDescriptor("style", ELSubmitTag.class, null, "setStyle"); result[20] = new PropertyDescriptor("styleClass", ELSubmitTag.class, null, "setStyleClass"); result[21] = new PropertyDescriptor("styleId", ELSubmitTag.class, null, "setStyleId"); result[22] = new PropertyDescriptor("tabindex", ELSubmitTag.class, null, "setTabindex"); result[23] = new PropertyDescriptor("title", ELSubmitTag.class, null, "setTitle"); result[24] = new PropertyDescriptor("titleKey", ELSubmitTag.class, null, "setTitleKey"); result[25] = new PropertyDescriptor("value", ELSubmitTag.class, null, "setValue"); } catch (IntrospectionException ex) { ex.printStackTrace(); } return (result); }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/db064e19656421b94aaf753550935d95f44bd5f9/ELSubmitTagBeanInfo.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELSubmitTagBeanInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 5558, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860, 856, 3113, 14801, 11620, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1862, 856, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 2390, 3113, 14801, 11620, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 2390, 653, 3113, 14801, 11620, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 653, 8863, 5411, 368, 1220, 1566, 711, 279, 1661, 17, 10005, 2874, 18, 5411, 563, 63, 23, 65, 273, 394, 26761, 2932, 9278, 3113, 14801, 11620, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 8853, 4742, 8863, 5411, 368, 1220, 1566, 711, 279, 1661, 17, 10005, 2874, 18, 5411, 563, 63, 24, 65, 273, 394, 26761, 2932, 19626, 3113, 14801, 11620, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 15034, 4742, 8863, 5411, 563, 63, 25, 65, 273, 394, 26761, 2932, 265, 27065, 3113, 14801, 11620, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1398, 27065, 8863, 5411, 563, 63, 26, 65, 273, 394, 26761, 2932, 265, 3427, 3113, 14801, 11620, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1398, 3427, 8863, 5411, 563, 63, 27, 65, 273, 394, 26761, 2932, 265, 7475, 3113, 14801, 11620, 1805, 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, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 5558, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860, 856, 3113, 14801, 11620, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1862, 856, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 2390, 3113, 14801, 11620, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 2390, 653, 3113, 14801, 11620, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 653, 8863, 5411, 368, 1220, 1566, 711, 279, 1661, 17, 10005, 2874, 18, 5411, 563, 63, 23, 2 ]
myPrefetchingRelationshipKeyPaths = new PropertyListSet();
myPrefetchingRelationshipKeyPaths = new TreeSet();
public void removePrefetchingRelationshipKeyPath(String _prefetchingRelationshipKeyPath, boolean _fireEvents) { if (_fireEvents) { Set oldPrefetchingRelationshipKeyPaths = myPrefetchingRelationshipKeyPaths; if (oldPrefetchingRelationshipKeyPaths != null) { myPrefetchingRelationshipKeyPaths = new PropertyListSet(); myPrefetchingRelationshipKeyPaths.addAll(oldPrefetchingRelationshipKeyPaths); myPrefetchingRelationshipKeyPaths.remove(_prefetchingRelationshipKeyPath); } firePropertyChange(EOFetchSpecification.PREFETCHING_RELATIONSHIP_KEY_PATHS, oldPrefetchingRelationshipKeyPaths, myPrefetchingRelationshipKeyPaths); } else { myPrefetchingRelationshipKeyPaths.remove(_prefetchingRelationshipKeyPath); } }
47899 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47899/8124a2eab3b65cb02a74dc08a8def0fb75ca9f7d/EOFetchSpecification.java/clean/wolips/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/model/EOFetchSpecification.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1206, 25591, 310, 8180, 653, 743, 12, 780, 389, 1484, 5754, 310, 8180, 653, 743, 16, 1250, 389, 12179, 3783, 13, 288, 565, 309, 261, 67, 12179, 3783, 13, 288, 1377, 1000, 1592, 25591, 310, 8180, 653, 4466, 273, 3399, 25591, 310, 8180, 653, 4466, 31, 1377, 309, 261, 1673, 25591, 310, 8180, 653, 4466, 480, 446, 13, 288, 3639, 3399, 25591, 310, 8180, 653, 4466, 273, 394, 19461, 5621, 3639, 3399, 25591, 310, 8180, 653, 4466, 18, 1289, 1595, 12, 1673, 25591, 310, 8180, 653, 4466, 1769, 3639, 3399, 25591, 310, 8180, 653, 4466, 18, 4479, 24899, 1484, 5754, 310, 8180, 653, 743, 1769, 1377, 289, 1377, 4452, 1396, 3043, 12, 12706, 1593, 8615, 18, 3670, 20231, 1360, 67, 27822, 20101, 67, 3297, 67, 4211, 55, 16, 1592, 25591, 310, 8180, 653, 4466, 16, 3399, 25591, 310, 8180, 653, 4466, 1769, 565, 289, 565, 469, 288, 1377, 3399, 25591, 310, 8180, 653, 4466, 18, 4479, 24899, 1484, 5754, 310, 8180, 653, 743, 1769, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1206, 25591, 310, 8180, 653, 743, 12, 780, 389, 1484, 5754, 310, 8180, 653, 743, 16, 1250, 389, 12179, 3783, 13, 288, 565, 309, 261, 67, 12179, 3783, 13, 288, 1377, 1000, 1592, 25591, 310, 8180, 653, 4466, 273, 3399, 25591, 310, 8180, 653, 4466, 31, 1377, 309, 261, 1673, 25591, 310, 8180, 653, 4466, 480, 446, 13, 288, 3639, 3399, 25591, 310, 8180, 653, 4466, 273, 394, 19461, 5621, 3639, 3399, 25591, 310, 8180, 653, 4466, 18, 1289, 1595, 12, 1673, 25591, 310, 8180, 653, 4466, 1769, 3639, 3399, 25591, 310, 8180, 653, 4466, 18, 4479, 24899, 1484, 5754, 310, 8180, 653, 743, 1769, 1377, 289, 1377, 4452, 1396, 3043, 12, 12706, 1593, 8615, 18, 2 ]
Tile tile = event.getTile(); if (tile != null) { editor.setCurrentTile(tile); }
editor.setCurrentTile(event.getTile());
public void tileSelected(TileSelectionEvent event) { Tile tile = event.getTile(); if (tile != null) { editor.setCurrentTile(tile); } }
6621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6621/8cf53681079451ebb6164f93f48bf0d706a1e200/TilePaletteDialog.java/clean/src/tiled/mapeditor/dialogs/TilePaletteDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4769, 7416, 12, 9337, 6233, 1133, 871, 13, 288, 3639, 13791, 4769, 273, 871, 18, 588, 9337, 5621, 3639, 309, 261, 15368, 480, 446, 13, 288, 5411, 4858, 18, 542, 3935, 9337, 12, 15368, 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, 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, 918, 4769, 7416, 12, 9337, 6233, 1133, 871, 13, 288, 3639, 13791, 4769, 273, 871, 18, 588, 9337, 5621, 3639, 309, 261, 15368, 480, 446, 13, 288, 5411, 4858, 18, 542, 3935, 9337, 12, 15368, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case 3: { String s = yytext(); w.write(s); if(debug) log("Matched whitespace: "+s); } case 48: break; case 22: { String s = yytext(); if(debug) log("Ignoring unrecognizable url: "+s); w.write("/* Ignoring unmatchable URL */url()"); } case 49: break; case 27:
case 26:
public Yytoken yylex() throws java.io.IOException { int zzInput; int zzAction; // cached fields: int zzCurrentPosL; int zzMarkedPosL; int zzEndReadL = zzEndRead; char [] zzBufferL = zzBuffer; char [] zzCMapL = ZZ_CMAP; int [] zzTransL = ZZ_TRANS; int [] zzRowMapL = ZZ_ROWMAP; int [] zzAttrL = ZZ_ATTRIBUTE; while (true) { zzMarkedPosL = zzMarkedPos; zzAction = -1; zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL; zzState = zzLexicalState; zzForAction: { while (true) { if (zzCurrentPosL < zzEndReadL) zzInput = zzBufferL[zzCurrentPosL++]; else if (zzAtEOF) { zzInput = YYEOF; break zzForAction; } else { // store back cached positions zzCurrentPos = zzCurrentPosL; zzMarkedPos = zzMarkedPosL; boolean eof = zzRefill(); // get translated positions and possibly new buffer zzCurrentPosL = zzCurrentPos; zzMarkedPosL = zzMarkedPos; zzBufferL = zzBuffer; zzEndReadL = zzEndRead; if (eof) { zzInput = YYEOF; break zzForAction; } else { zzInput = zzBufferL[zzCurrentPosL++]; } } int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ]; if (zzNext == -1) break zzForAction; zzState = zzNext; int zzAttributes = zzAttrL[zzState]; if ( (zzAttributes & 1) == 1 ) { zzAction = zzState; zzMarkedPosL = zzCurrentPosL; if ( (zzAttributes & 8) == 8 ) break zzForAction; } } } // store back cached position zzMarkedPos = zzMarkedPosL; switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) { case 18: { String s = yytext(); w.write(s); if(debug) log("Matched unicode: "+s); } case 31: break; case 8: { String s = yytext(); w.write(s); if(debug) log("Matched close braces: "+s); } case 32: break; case 21: { String s = yytext(); w.write(s); if(debug) log("Matched HTML comment: "+s); } case 33: break; case 15: { String s = yytext(); w.write(s); if(debug) log("Matched ~=: "+s); } case 34: break; case 12: { String s = yytext(); if(debug) log("Matched string: "+s); if(paranoidStringCheck && s.indexOf(':') != -1) { w.write("/* Deleted disallowed string */"); log("Deleted disallowed string: "+s); } else { w.write(s); } } case 35: break; case 24: { String s = yytext(); w.write(s); if(debug) log("Matched @page: "+s); } case 36: break; case 13: { String s = yytext(); w.write(s); if(debug) log("Matched number: "+s); } case 37: break; case 1: { String s = yytext(); char c = s.charAt(0); log("Matched anything: "+yytext()+" - ignoring"); w.write("/* ignored unmatched char: "+c+" */"); // single char cannot break out of comment } case 38: break; case 6: { String s = yytext(); w.write(s); if(debug) log("Matched semicolon: "+s); } case 39: break; case 19: { String s = yytext(); if(debug) log("Got hexcolor: "+s); w.write(s); } case 40: break; case 7: { String s = yytext(); w.write(s); if(debug) log("Matched open braces: "+s); } case 41: break; case 26: { String s = yytext(); s = s.substring("@media".length()).trim(); w.write("@media "+s+" "); if(debug) log("Matched @media: "+s); } case 42: break; case 2: { String s = yytext(); w.write(s); if(debug) log("Matched ident: "+s); } case 43: break; case 23: { String s = yytext(); w.write(s); if(debug) log("Matched unicode range: "+s); } case 44: break; case 28: { String s = yytext(); w.write(s); if(debug) log("Matched @font-face: "+s); } case 45: break; case 9: { String s = yytext(); if(s.startsWith("url")) throwError("Invalid contents of url()"); w.write(s); if(debug) log("Matched function start: "+s); } case 46: break; case 17: { String s = yytext(); w.write(s); if(debug) log("Matched HTML comment: "+s); } case 47: break; case 3: { String s = yytext(); w.write(s); if(debug) log("Matched whitespace: "+s); } case 48: break; case 22: { String s = yytext(); if(debug) log("Ignoring unrecognizable url: "+s); w.write("/* Ignoring unmatchable URL */url()"); } case 49: break; case 27: { String s = yytext(); if(debug) log("Found @import: "+s); s = s.substring("@import".length()); s = s.trim(); DecodedStringThingy dst = new DecodedStringThingy(s); s = dst.data; if(debug) log("URL: "+s); s = processImportURL(s); dst.data = s; if(debug) log("Processed URL: "+s); if(dst.quote == ' ') dst.quote = '\"'; if (!(s == null || s.equals(""))) { if(debug) log("URL now: "+s); s = "@import "+dst.toString(); if(debug) log("Writing: "+s); w.write(s); } else if(debug) log("Dropped @import"); } case 50: break; case 29: { String s = yytext(); w.write(s); if(debug) log("Matched important: "+s); } case 51: break; case 20: { String s = yytext(); StringBuffer sb = new StringBuffer(s.length()); sb.append("/* "); boolean inPrefix = true; for(int i=2;i<s.length()-2;i++) { char c = s.charAt(i); if(inPrefix && Character.isWhitespace(c)) { continue; } inPrefix = false; if(Character.isDigit(c) || Character.isWhitespace(c) || Character.isLetter(c) || c == '.' || c == '_' || c == '-') { // No @, no !, etc; IE has been known to do things with comments // in CSS, and other browsers may too sb.append(c); } } while(Character.isWhitespace(sb.charAt(sb.length()-1))) sb.deleteCharAt(sb.length()-1); sb.append(" */"); w.write(sb.toString()); if(debug) log("Matched comment: "+s+" -> "+sb.toString()); } case 52: break; case 25: { // This is horrible. However it seems that there is no other way to do it with either jflex or CUP, as {URL} cannot be an unambiguous token :( String s = yytext(); if(debug) log("Recognized URL: "+s); DecodedStringThingy dst = new DecodedStringThingy(s); if(!dst.url) { throw new IllegalStateException("parsing url().. isn't a url()"); } if(dst.suffix.length() > 0) { yypushback(dst.suffix.length()); dst.suffix = ""; } s = dst.data; if(debug) log("URL now: "+s); s = processURL(s); dst.data = s; if(s == null || s.equals("")) { if(debug) log("URL invalid"); w.write("url()"); } else { s = dst.toString(); if(debug) log("Writing: "+s); w.write(s); } } case 53: break; case 11: { String s = yytext(); w.write(s); if(debug) log("Matched measurement: "+s); } case 54: break; case 16: { String s = yytext(); w.write(s); if(debug) log("Matched |=: "+s); } case 55: break; case 30: { String s = yytext(); detectedCharset = s; if(debug) log("Matched and ignoring charset: "+s); // Ignore } case 56: break; case 10: { if(postBadImportFlag) { // Ignore postBadImportFlag = false; if(debug) log("Ignoring mediums list because after bad import: "+ yytext()); } else { String s = yytext(); w.write(s); if(debug) log("Matched and passing on mediums list: "+s); } } case 57: break; case 4: { String s = yytext(); w.write(s); if(debug) log("Matched single char: "+s); } case 58: break; case 14: { String s = yytext(); w.write(s); if(debug) log("Matched #name: "+s); } case 59: break; case 5: { String s = yytext(); w.write(s); if(debug) log("Matched function end: "+s); } case 60: break; default: if (zzInput == YYEOF && zzStartRead == zzCurrentPos) { zzAtEOF = true; return null; } else { zzScanError(ZZ_NO_MATCH); } } } }
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/e8996198a75deffbf4dc9e1ed08d3120115f4fa9/CSSTokenizerFilter.java/buggy/src/freenet/clients/http/filter/CSSTokenizerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1624, 93, 2316, 677, 1362, 92, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 11273, 1210, 31, 565, 509, 11273, 1803, 31, 565, 368, 3472, 1466, 30, 565, 509, 11273, 3935, 1616, 48, 31, 565, 509, 11273, 21486, 1616, 48, 31, 565, 509, 11273, 1638, 1994, 48, 273, 11273, 1638, 1994, 31, 565, 1149, 5378, 11273, 1892, 48, 273, 11273, 1892, 31, 565, 1149, 5378, 11273, 39, 863, 48, 273, 2285, 62, 67, 39, 8352, 31, 565, 509, 5378, 11273, 1429, 48, 273, 2285, 62, 67, 16596, 31, 565, 509, 5378, 11273, 1999, 863, 48, 273, 2285, 62, 67, 11226, 8352, 31, 565, 509, 5378, 11273, 3843, 48, 273, 2285, 62, 67, 11616, 31, 565, 1323, 261, 3767, 13, 288, 1377, 11273, 21486, 1616, 48, 273, 11273, 21486, 1616, 31, 1377, 11273, 1803, 273, 300, 21, 31, 1377, 11273, 3935, 1616, 48, 273, 11273, 3935, 1616, 273, 11273, 1685, 1994, 273, 11273, 21486, 1616, 48, 31, 3639, 11273, 1119, 273, 11273, 14756, 1706, 1119, 31, 1377, 11273, 1290, 1803, 30, 288, 3639, 1323, 261, 3767, 13, 288, 2868, 309, 261, 6378, 3935, 1616, 48, 411, 11273, 1638, 1994, 48, 13, 5411, 11273, 1210, 273, 11273, 1892, 48, 63, 6378, 3935, 1616, 48, 9904, 15533, 1850, 469, 309, 261, 6378, 861, 12706, 13, 288, 5411, 11273, 1210, 273, 1624, 61, 12706, 31, 5411, 898, 11273, 1290, 1803, 31, 1850, 289, 1850, 469, 288, 5411, 368, 1707, 1473, 3472, 6865, 5411, 11273, 3935, 1616, 225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1624, 93, 2316, 677, 1362, 92, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 11273, 1210, 31, 565, 509, 11273, 1803, 31, 565, 368, 3472, 1466, 30, 565, 509, 11273, 3935, 1616, 48, 31, 565, 509, 11273, 21486, 1616, 48, 31, 565, 509, 11273, 1638, 1994, 48, 273, 11273, 1638, 1994, 31, 565, 1149, 5378, 11273, 1892, 48, 273, 11273, 1892, 31, 565, 1149, 5378, 11273, 39, 863, 48, 273, 2285, 62, 67, 39, 8352, 31, 565, 509, 5378, 11273, 1429, 48, 273, 2285, 62, 67, 16596, 31, 565, 509, 5378, 11273, 1999, 863, 48, 273, 2285, 62, 67, 11226, 8352, 31, 565, 509, 5378, 11273, 3843, 48, 273, 2285, 62, 67, 11616, 31, 565, 2 ]
iCodeTop = addByte((byte) TokenStream.DUP, iCodeTop);
iCodeTop = addByte(TokenStream.DUP, iCodeTop);
private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; switch (type) { case TokenStream.FUNCTION : { iCodeTop = addByte((byte) TokenStream.CLOSURE, iCodeTop); Node fn = (Node) node.getProp(Node.FUNCTION_PROP); Short index = (Short) fn.getProp(Node.FUNCTION_PROP); iCodeTop = addByte((byte)(index.shortValue() >> 8), iCodeTop); iCodeTop = addByte((byte)(index.shortValue() & 0xff), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.SCRIPT : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { if (child.getType() != TokenStream.FUNCTION) iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.CASE : iCodeTop = updateLineNumber(node, iCodeTop); child = child.getNextSibling(); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.LABEL : case TokenStream.WITH : case TokenStream.LOOP : case TokenStream.DEFAULT : case TokenStream.BLOCK : case TokenStream.VOID : case TokenStream.NOP : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.COMMA : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); break; case TokenStream.SWITCH : { iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; /* reminder - below we construct new GOTO nodes that aren't linked into the tree just for the purpose of having a node to pass to the addGoto routine. (Parallels codegen here). Seems unnecessary. */ Vector cases = (Vector) node.getProp(Node.CASES_PROP); for (int i = 0; i < cases.size(); i++) { Node thisCase = (Node)cases.elementAt(i); Node first = thisCase.getFirstChild(); // the case expression is the firstmost child // the rest will be generated when the case // statements are encountered as siblings of // the switch statement. iCodeTop = generateICode(first, iCodeTop); iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.SHEQ, iCodeTop); Node target = new Node(TokenStream.TARGET); thisCase.addChildAfter(target, first); Node branch = new Node(TokenStream.IFEQ); branch.putProp(Node.TARGET_PROP, target); iCodeTop = addGoto(branch, TokenStream.IFEQ, iCodeTop); itsStackDepth--; } Node defaultNode = (Node) node.getProp(Node.DEFAULT_PROP); if (defaultNode != null) { Node defaultTarget = new Node(TokenStream.TARGET); defaultNode.getFirstChild().addChildToFront(defaultTarget); Node branch = new Node(TokenStream.GOTO); branch.putProp(Node.TARGET_PROP, defaultTarget); iCodeTop = addGoto(branch, TokenStream.GOTO, iCodeTop); } Node breakTarget = (Node) node.getProp(Node.BREAK_PROP); Node branch = new Node(TokenStream.GOTO); branch.putProp(Node.TARGET_PROP, breakTarget); iCodeTop = addGoto(branch, TokenStream.GOTO, iCodeTop); } break; case TokenStream.TARGET : { Object lblObect = node.getProp(Node.LABEL_PROP); if (lblObect == null) { int label = markLabel(acquireLabel(), iCodeTop); node.putProp(Node.LABEL_PROP, new Integer(label)); } else { int label = ((Integer)lblObect).intValue(); markLabel(label, iCodeTop); } // if this target has a FINALLY_PROP, it is a JSR target // and so has a PC value on the top of the stack if (node.getProp(Node.FINALLY_PROP) != null) { itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.EQOP : case TokenStream.RELOP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); int op = node.getInt(); if (version == Context.VERSION_1_2) { if (op == TokenStream.EQ) op = TokenStream.SHEQ; else if (op == TokenStream.NE) op = TokenStream.SHNE; } iCodeTop = addByte((byte) op, iCodeTop); itsStackDepth--; } break; case TokenStream.NEW : case TokenStream.CALL : { if (itsSourceFile != null && (itsData.itsSourceFile == null || ! itsSourceFile.equals(itsData.itsSourceFile))) itsData.itsSourceFile = itsSourceFile; iCodeTop = addByte((byte)TokenStream.SOURCEFILE, iCodeTop); int childCount = 0; short nameIndex = -1; while (child != null) { iCodeTop = generateICode(child, iCodeTop); if (nameIndex == -1) { if (child.getType() == TokenStream.NAME) nameIndex = (short)(itsData.itsStringTableIndex - 1); else if (child.getType() == TokenStream.GETPROP) nameIndex = (short)(itsData.itsStringTableIndex - 1); } child = child.getNextSibling(); childCount++; } if (node.getProp(Node.SPECIALCALL_PROP) != null) { // embed line number and source filename iCodeTop = addByte((byte) TokenStream.CALLSPECIAL, iCodeTop); iCodeTop = addByte((byte)(itsLineNumber >> 8), iCodeTop); iCodeTop = addByte((byte)(itsLineNumber & 0xff), iCodeTop); iCodeTop = addString(itsSourceFile, iCodeTop); } else { iCodeTop = addByte((byte) type, iCodeTop); iCodeTop = addByte((byte)(nameIndex >> 8), iCodeTop); iCodeTop = addByte((byte)(nameIndex & 0xFF), iCodeTop); } itsStackDepth -= (childCount - 1); // always a result value // subtract from child count to account for [thisObj &] fun if (type == TokenStream.NEW) childCount -= 1; else childCount -= 2; iCodeTop = addByte((byte)(childCount >> 8), iCodeTop); iCodeTop = addByte((byte)(childCount & 0xff), iCodeTop); if (childCount > itsData.itsMaxArgs) itsData.itsMaxArgs = childCount; iCodeTop = addByte((byte)TokenStream.SOURCEFILE, iCodeTop); } break; case TokenStream.NEWLOCAL : case TokenStream.NEWTEMP : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); } break; case TokenStream.USELOCAL : { if (node.getProp(Node.TARGET_PROP) != null) iCodeTop = addByte((byte) TokenStream.RETSUB, iCodeTop); else { iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } Node temp = (Node) node.getProp(Node.LOCAL_PROP); iCodeTop = addLocalRef(temp, iCodeTop); } break; case TokenStream.USETEMP : { iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); Node temp = (Node) node.getProp(Node.TEMP_PROP); iCodeTop = addLocalRef(temp, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.IFEQ : case TokenStream.IFNE : iCodeTop = generateICode(child, iCodeTop); itsStackDepth--; // after the conditional GOTO, really // fall thru... case TokenStream.GOTO : iCodeTop = addGoto(node, (byte) type, iCodeTop); break; case TokenStream.JSR : { /* mark the target with a FINALLY_PROP to indicate that it will have an incoming PC value on the top of the stack. !!! This only works if the target follows the JSR in the tree. !!! */ Node target = (Node)(node.getProp(Node.TARGET_PROP)); target.putProp(Node.FINALLY_PROP, node); iCodeTop = addGoto(node, TokenStream.GOSUB, iCodeTop); } break; case TokenStream.AND : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int falseTarget = acquireLabel(); iCodeTop = addGoto(falseTarget, TokenStream.IFNE, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); markLabel(falseTarget, iCodeTop); } break; case TokenStream.OR : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int trueTarget = acquireLabel(); iCodeTop = addGoto(trueTarget, TokenStream.IFEQ, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); markLabel(trueTarget, iCodeTop); } break; case TokenStream.GETPROP : { iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) iCodeTop = addByte((byte) TokenStream.GETPROTO, iCodeTop); else if (s.equals("__parent__")) iCodeTop = addByte((byte) TokenStream.GETSCOPEPARENT, iCodeTop); else badTree(node); } else { child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.GETPROP, iCodeTop); itsStackDepth--; } } break; case TokenStream.DELPROP : case TokenStream.BITAND : case TokenStream.BITOR : case TokenStream.BITXOR : case TokenStream.LSH : case TokenStream.RSH : case TokenStream.URSH : case TokenStream.ADD : case TokenStream.SUB : case TokenStream.MOD : case TokenStream.DIV : case TokenStream.MUL : case TokenStream.GETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth--; break; case TokenStream.CONVERT : { iCodeTop = generateICode(child, iCodeTop); Object toType = node.getProp(Node.TYPE_PROP); if (toType == ScriptRuntime.NumberClass) iCodeTop = addByte((byte) TokenStream.POS, iCodeTop); else badTree(node); } break; case TokenStream.UNARYOP : iCodeTop = generateICode(child, iCodeTop); switch (node.getInt()) { case TokenStream.VOID : iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); iCodeTop = addByte((byte) TokenStream.UNDEFINED, iCodeTop); break; case TokenStream.NOT : { int trueTarget = acquireLabel(); int beyond = acquireLabel(); iCodeTop = addGoto(trueTarget, TokenStream.IFEQ, iCodeTop); iCodeTop = addByte((byte) TokenStream.TRUE, iCodeTop); iCodeTop = addGoto(beyond, TokenStream.GOTO, iCodeTop); markLabel(trueTarget, iCodeTop); iCodeTop = addByte((byte) TokenStream.FALSE, iCodeTop); markLabel(beyond, iCodeTop); } break; case TokenStream.BITNOT : iCodeTop = addByte((byte) TokenStream.BITNOT, iCodeTop); break; case TokenStream.TYPEOF : iCodeTop = addByte((byte) TokenStream.TYPEOF, iCodeTop); break; case TokenStream.SUB : iCodeTop = addByte((byte) TokenStream.NEG, iCodeTop); break; case TokenStream.ADD : iCodeTop = addByte((byte) TokenStream.POS, iCodeTop); break; default: badTree(node); break; } break; case TokenStream.SETPROP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) iCodeTop = addByte((byte) TokenStream.SETPROTO, iCodeTop); else if (s.equals("__parent__")) iCodeTop = addByte((byte) TokenStream.SETPARENT, iCodeTop); else badTree(node); } else { child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.SETPROP, iCodeTop); itsStackDepth -= 2; } } break; case TokenStream.SETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth -= 2; break; case TokenStream.SETNAME : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.SETNAME, iCodeTop); iCodeTop = addString(firstChild.getString(), iCodeTop); itsStackDepth--; break; case TokenStream.TYPEOF : { String name = node.getString(); int index = -1; // use typeofname if an activation frame exists // since the vars all exist there instead of in jregs if (itsInFunctionFlag && !itsData.itsNeedsActivation) index = itsVariableTable.getOrdinal(name); if (index == -1) { iCodeTop = addByte((byte) TokenStream.TYPEOFNAME, iCodeTop); iCodeTop = addString(name, iCodeTop); } else { iCodeTop = addByte((byte) TokenStream.GETVAR, iCodeTop); iCodeTop = addByte((byte) index, iCodeTop); iCodeTop = addByte((byte) TokenStream.TYPEOF, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.PARENT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.GETPARENT, iCodeTop); break; case TokenStream.GETBASE : case TokenStream.BINDNAME : case TokenStream.NAME : case TokenStream.STRING : iCodeTop = addByte((byte) type, iCodeTop); iCodeTop = addString(node.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.INC : case TokenStream.DEC : { int childType = child.getType(); switch (childType) { case TokenStream.GETVAR : { String name = child.getString(); if (itsData.itsNeedsActivation) { iCodeTop = addByte((byte) TokenStream.SCOPE, iCodeTop); iCodeTop = addByte((byte) TokenStream.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.PROPINC : TokenStream.PROPDEC), iCodeTop); itsStackDepth--; } else { iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.VARINC : TokenStream.VARDEC), iCodeTop); int i = itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte)i, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.GETPROP : case TokenStream.GETELEM : { Node getPropChild = child.getFirstChild(); iCodeTop = generateICode(getPropChild, iCodeTop); getPropChild = getPropChild.getNextSibling(); iCodeTop = generateICode(getPropChild, iCodeTop); if (childType == TokenStream.GETPROP) iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.PROPINC : TokenStream.PROPDEC), iCodeTop); else iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.ELEMINC : TokenStream.ELEMDEC), iCodeTop); itsStackDepth--; } break; default : { iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.NAMEINC : TokenStream.NAMEDEC), iCodeTop); iCodeTop = addString(child.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } } break; case TokenStream.NUMBER : { double num = node.getDouble(); if (num == 0.0) { iCodeTop = addByte((byte) TokenStream.ZERO, iCodeTop); } else if (num == 1.0) { iCodeTop = addByte((byte) TokenStream.ONE, iCodeTop); } else { iCodeTop = addByte((byte) TokenStream.NUMBER, iCodeTop); iCodeTop = addNumber(num, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case TokenStream.POP : case TokenStream.POPV : iCodeTop = updateLineNumber(node, iCodeTop); case TokenStream.ENTERWITH : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth--; break; case TokenStream.GETTHIS : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); break; case TokenStream.NEWSCOPE : iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.LEAVEWITH : iCodeTop = addByte((byte) type, iCodeTop); break; case TokenStream.TRY : { itsTryDepth++; if (itsTryDepth > itsData.itsMaxTryDepth) itsData.itsMaxTryDepth = itsTryDepth; Node catchTarget = (Node)node.getProp(Node.TARGET_PROP); Node finallyTarget = (Node)node.getProp(Node.FINALLY_PROP); if (catchTarget == null) { iCodeTop = addByte((byte) TokenStream.TRY, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); } else iCodeTop = addGoto(node, TokenStream.TRY, iCodeTop); int finallyHandler = 0; if (finallyTarget != null) { finallyHandler = acquireLabel(); int theLabel = finallyHandler & 0x7FFFFFFF; itsLabelTable[theLabel].addFixup(iCodeTop); } iCodeTop = addByte((byte)0, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); Node lastChild = null; /* when we encounter the child of the catchTarget, we set the stackDepth to 1 to account for the incoming exception object. */ boolean insertedEndTry = false; while (child != null) { if (catchTarget != null && lastChild == catchTarget) { itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } /* When the following child is the catchTarget (or the finallyTarget if there are no catches), the current child is the goto at the end of the try statemets, we need to emit the endtry before that goto. */ Node nextSibling = child.getNextSibling(); if (!insertedEndTry && nextSibling != null && (nextSibling == catchTarget || nextSibling == finallyTarget)) { iCodeTop = addByte((byte) TokenStream.ENDTRY, iCodeTop); insertedEndTry = true; } iCodeTop = generateICode(child, iCodeTop); lastChild = child; child = child.getNextSibling(); } itsStackDepth = 0; if (finallyTarget != null) { // normal flow goes around the finally handler stublet int skippy = acquireLabel(); iCodeTop = addGoto(skippy, TokenStream.GOTO, iCodeTop); // on entry the stack will have the exception object markLabel(finallyHandler, iCodeTop); itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); Integer finallyLabel = (Integer)(finallyTarget.getProp(Node.LABEL_PROP)); iCodeTop = addGoto(finallyLabel.intValue(), TokenStream.GOSUB, iCodeTop); iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.JTHROW, iCodeTop); itsStackDepth = 0; markLabel(skippy, iCodeTop); } itsTryDepth--; } break; case TokenStream.THROW : iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.THROW, iCodeTop); itsStackDepth--; break; case TokenStream.RETURN : iCodeTop = updateLineNumber(node, iCodeTop); if (child != null) iCodeTop = generateICode(child, iCodeTop); else { iCodeTop = addByte((byte) TokenStream.UNDEFINED, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } iCodeTop = addGoto(node, TokenStream.RETURN, iCodeTop); itsStackDepth--; break; case TokenStream.GETVAR : { String name = node.getString(); if (itsData.itsNeedsActivation) { // SETVAR handled this by turning into a SETPROP, but // we can't do that to a GETVAR without manufacturing // bogus children. Instead we use a special op to // push the current scope. iCodeTop = addByte((byte) TokenStream.SCOPE, iCodeTop); iCodeTop = addByte((byte) TokenStream.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) TokenStream.GETPROP, iCodeTop); itsStackDepth--; } else { int index = itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte) TokenStream.GETVAR, iCodeTop); iCodeTop = addByte((byte)index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.SETVAR : { if (itsData.itsNeedsActivation) { child.setType(TokenStream.BINDNAME); node.setType(TokenStream.SETNAME); iCodeTop = generateICode(node, iCodeTop); } else { String name = child.getString(); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); int index = itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte) TokenStream.SETVAR, iCodeTop); iCodeTop = addByte((byte)index, iCodeTop); } } break; case TokenStream.PRIMARY: iCodeTop = addByte((byte) node.getInt(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.ENUMINIT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.ENUMINIT, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); itsStackDepth--; break; case TokenStream.ENUMNEXT : { iCodeTop = addByte((byte) TokenStream.ENUMNEXT, iCodeTop); Node init = (Node)node.getProp(Node.ENUM_PROP); iCodeTop = addLocalRef(init, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.ENUMDONE : // could release the local here?? break; case TokenStream.OBJECT : { Node regexp = (Node) node.getProp(Node.REGEXP_PROP); int index = ((Integer)(regexp.getProp( Node.REGEXP_PROP))).intValue(); iCodeTop = addByte((byte) TokenStream.OBJECT, iCodeTop); iCodeTop = addByte((byte)(index >> 8), iCodeTop); iCodeTop = addByte((byte)(index & 0xff), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; default : badTree(node); break; } return iCodeTop; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/f6c346cc7699c007b0b9b27d9c3cdb5446052c64/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 1620, 261, 723, 13, 288, 13491, 648, 3155, 1228, 18, 7788, 294, 288, 4766, 18701, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 13, 3155, 1228, 18, 22693, 55, 4830, 16, 277, 1085, 3401, 1769, 10792, 2029, 2295, 273, 261, 907, 13, 756, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 7925, 770, 273, 261, 4897, 13, 2295, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 21433, 1615, 18, 6620, 620, 1435, 1671, 1725, 3631, 277, 1085, 3401, 1769, 10792, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 21433, 1615, 18, 6620, 620, 1435, 473, 374, 5297, 3631, 277, 1085, 3401, 1769, 4766, 3639, 2097, 2624, 6148, 9904, 31, 10792, 309, 261, 1282, 2624, 6148, 405, 2097, 751, 18, 1282, 2747, 2624, 13, 13491, 2097, 751, 18, 1282, 2747, 2624, 273, 2097, 2624, 6148, 31, 7734, 289, 7734, 898, 31, 5411, 648, 3155, 1228, 18, 10885, 294, 7734, 277, 1085, 3401, 273, 1089, 31063, 12, 2159, 16, 277, 1085, 3401, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 309, 261, 3624, 18, 588, 559, 1435, 480, 3155, 1228, 18, 7788, 13, 7682, 277, 1085, 3401, 273, 2103, 45, 1085, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 1620, 261, 723, 13, 288, 13491, 648, 3155, 1228, 18, 7788, 294, 288, 4766, 18701, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 13, 3155, 1228, 18, 22693, 55, 4830, 16, 277, 1085, 3401, 1769, 10792, 2029, 2295, 273, 261, 907, 13, 756, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 7925, 770, 273, 261, 4897, 13, 2295, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 277, 1085, 3401, 273, 527, 2 ]
triggerSequence = null;
keySequence = null;
protected Control createButtonBar(Composite parent) { // Create a composite for the button bar contents. final Composite composite = new Composite(parent, SWT.NONE); composite.setLayout(new GridLayout()); composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); composite.setBackground(parent.getBackground()); /* * Figure out which key is used to open the key assist. If no key, then * just return. */ final Collection keyBindings = bindingService .getActiveBindingsFor("org.eclipse.ui.window.showKeyAssist"); //$NON-NLS-1$ final Iterator keyBindingItr = keyBindings.iterator(); final KeySequence currentState = keyBindingState.getCurrentSequence(); final int prefixSize = currentState.getKeyStrokes().size(); // Try to find the first possible matching key binding. TriggerSequence triggerSequence = null; while (keyBindingItr.hasNext()) { triggerSequence = (TriggerSequence) keyBindingItr.next(); // Now just double-check to make sure the key is still possible. if (prefixSize > 0) { if (triggerSequence.startsWith(currentState, false)) { /* * Okay, so we have a partial match. Replace the key binding * with the required suffix completion. */ final List newKeyStrokes = new ArrayList(triggerSequence .getTriggers()); for (int i = 0; i < prefixSize; i++) { newKeyStrokes.remove(0); } triggerSequence = KeySequence.getInstance(newKeyStrokes); break; } /* * The prefix doesn't match, so null out the key binding and try * again. */ triggerSequence = null; continue; } // There is no prefix, so just grab the first. break; } if (triggerSequence == null) { return composite; // couldn't find a suitable key binding } // Create a horizontal separator line // Looks silly in this dialog, but might be useful in the general case. // final Label separator = new Label(composite, SWT.SEPARATOR // | SWT.HORIZONTAL | SWT.LINE_DOT); // separator.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); // Create the text widget final Label text = new Label(composite, SWT.NONE); text.setLayoutData(new GridData(SWT.END, SWT.CENTER, true, false)); text.setBackground(composite.getBackground()); text.setText(MessageFormat.format(Util.translateString(RESOURCE_BUNDLE, "openPreferencePage"), //$NON-NLS-1$ new Object[] { triggerSequence.format() })); return composite; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/419e3fe3a65aaac0eb4f974d711712853ff084e6/KeyAssistDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/KeyAssistDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 3616, 5190, 12, 9400, 982, 13, 288, 202, 202, 759, 1788, 279, 9635, 364, 326, 3568, 4653, 2939, 18, 202, 202, 6385, 14728, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 202, 27676, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 202, 202, 27676, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 202, 27676, 18, 542, 8199, 12, 2938, 18, 588, 8199, 10663, 202, 202, 20308, 1082, 380, 18818, 596, 1492, 498, 353, 1399, 358, 1696, 326, 498, 1551, 376, 18, 971, 1158, 498, 16, 1508, 1082, 380, 2537, 327, 18, 1082, 1195, 202, 202, 6385, 2200, 498, 10497, 273, 5085, 1179, 9506, 202, 18, 588, 3896, 10497, 1290, 2932, 3341, 18, 20416, 18, 4881, 18, 5668, 18, 4500, 653, 2610, 376, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 6385, 4498, 498, 5250, 28984, 273, 498, 10497, 18, 9838, 5621, 202, 202, 6385, 1929, 4021, 17773, 273, 498, 5250, 1119, 18, 588, 3935, 4021, 5621, 202, 202, 6385, 509, 1633, 1225, 273, 17773, 18, 588, 653, 510, 3250, 281, 7675, 1467, 5621, 202, 202, 759, 6161, 358, 1104, 326, 1122, 3323, 3607, 498, 5085, 18, 202, 202, 6518, 4021, 3080, 4021, 273, 446, 31, 202, 202, 17523, 261, 856, 5250, 28984, 18, 5332, 2134, 10756, 288, 1082, 202, 10668, 4021, 273, 261, 6518, 4021, 13, 498, 5250, 28984, 18, 4285, 5621, 1082, 202, 759, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 3616, 5190, 12, 9400, 982, 13, 288, 202, 202, 759, 1788, 279, 9635, 364, 326, 3568, 4653, 2939, 18, 202, 202, 6385, 14728, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 202, 27676, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 202, 202, 27676, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 202, 27676, 18, 542, 8199, 12, 2938, 18, 588, 8199, 10663, 202, 202, 20308, 1082, 380, 18818, 596, 1492, 498, 353, 1399, 358, 1696, 326, 498, 1551, 376, 18, 971, 1158, 498, 16, 1508, 1082, 380, 2537, 327, 18, 1082, 1195, 202, 202, 6385, 2200, 498, 10497, 2 ]
MylarUiPlugin.getDefault().getPreferenceStore().setValue(ID, on);
ContextUiPlugin.getDefault().getPreferenceStore().setValue(ID, on);
public void update(boolean on) { setChecked(on); MylarUiPlugin.getDefault().getPreferenceStore().setValue(ID, on); ISelectionService service = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService(); if (on) { service.addPostSelectionListener(selectionTracker); } else { service.removePostSelectionListener(selectionTracker); } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/b23efbfef800ff6f85224f036d6a11e9fab7acba/LinkActiveSearchWithEditorAction.java/buggy/org.eclipse.mylyn.ide.ui/src/org/eclipse/mylyn/internal/ide/ui/actions/LinkActiveSearchWithEditorAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 12, 6494, 603, 13, 288, 202, 202, 542, 11454, 12, 265, 1769, 202, 202, 12062, 7901, 13943, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 7675, 542, 620, 12, 734, 16, 603, 1769, 202, 202, 45, 6233, 1179, 1156, 273, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 6233, 1179, 5621, 202, 202, 430, 261, 265, 13, 288, 1082, 202, 3278, 18, 1289, 3349, 6233, 2223, 12, 10705, 8135, 1769, 202, 202, 97, 469, 288, 1082, 202, 3278, 18, 4479, 3349, 6233, 2223, 12, 10705, 8135, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 12, 6494, 603, 13, 288, 202, 202, 542, 11454, 12, 265, 1769, 202, 202, 12062, 7901, 13943, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 7675, 542, 620, 12, 734, 16, 603, 1769, 202, 202, 45, 6233, 1179, 1156, 273, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 6233, 1179, 5621, 202, 202, 430, 261, 265, 13, 288, 1082, 202, 3278, 18, 1289, 3349, 6233, 2223, 12, 10705, 8135, 1769, 202, 202, 97, 469, 288, 1082, 202, 3278, 18, 4479, 3349, 6233, 2223, 12, 10705, 8135, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
console.setLayout(new BorderLayout());
console.getContentPane().setLayout(new BorderLayout());
public static void main(String[] args) { final IRBConsole console = new IRBConsole("JRuby IRB Console"); PipedInputStream pipeIn = new PipedInputStream(); console.setLayout(new BorderLayout()); console.setSize(700, 600); JEditorPane text = new JTextPane(); text.setMargin(new Insets(8,8,8,8)); text.setCaretColor(new Color(0xa4, 0x00, 0x00)); text.setBackground(new Color(0xf2, 0xf2, 0xf2)); text.setForeground(new Color(0xa4, 0x00, 0x00)); Font font = console.findFont("Monospaced", Font.PLAIN, 14, new String[] {"Monaco", "Andale Mono"}); text.setFont(font); JScrollPane pane = new JScrollPane(); pane.setViewportView(text); pane.setBorder(BorderFactory.createLineBorder(Color.darkGray)); console.add(pane); console.validate(); TextAreaReadline tar = new TextAreaReadline(text, " Welcome to the JRuby IRB Console \n\n"); final IRuby runtime = Ruby.newInstance(pipeIn, new PrintStream(tar), new PrintStream(tar), false); IRubyObject argumentArray = runtime.newArray(JavaUtil.convertJavaArrayToRuby(runtime, args)); runtime.defineGlobalConstant("ARGV", argumentArray); runtime.getGlobalVariables().defineReadonly("$*", new ValueAccessor(argumentArray)); runtime.getGlobalVariables().defineReadonly("$$", new ValueAccessor(runtime.newFixnum(System.identityHashCode(runtime)))); runtime.getLoadService().init(new ArrayList()); tar.hookIntoRuntime(runtime); Thread t2 = new Thread() { public void run() { console.setVisible(true); runtime.evalScript("require 'irb'; require 'irb/completion'; IRB.start"); } }; t2.start(); try { t2.join(); } catch (InterruptedException ie) { // ignore } System.exit(0); }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/a757121012744f77b135696456ba9a8170135244/IRBConsole.java/clean/src/org/jruby/demo/IRBConsole.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 727, 15908, 38, 10215, 2983, 273, 394, 15908, 38, 10215, 2932, 46, 54, 10340, 15908, 38, 9657, 8863, 3639, 29305, 329, 4348, 6010, 382, 273, 394, 29305, 329, 4348, 5621, 7734, 2983, 18, 588, 1350, 8485, 7675, 542, 3744, 12, 2704, 30814, 10663, 3639, 2983, 18, 542, 1225, 12, 26874, 16, 14707, 1769, 7734, 804, 6946, 8485, 977, 273, 394, 804, 1528, 8485, 5621, 7734, 977, 18, 542, 9524, 12, 2704, 22300, 12, 28, 16, 28, 16, 28, 16, 28, 10019, 3639, 977, 18, 542, 39, 20731, 2957, 12, 2704, 5563, 12, 20, 6995, 24, 16, 374, 92, 713, 16, 374, 92, 713, 10019, 3639, 977, 18, 542, 8199, 12, 2704, 5563, 12, 20, 5841, 22, 16, 374, 5841, 22, 16, 374, 5841, 22, 10019, 3639, 977, 18, 542, 23206, 12, 2704, 5563, 12, 20, 6995, 24, 16, 374, 92, 713, 16, 374, 92, 713, 10019, 3639, 10063, 3512, 273, 2983, 18, 4720, 5711, 2932, 11415, 538, 909, 72, 3113, 10063, 18, 26549, 16, 5045, 16, 7734, 394, 514, 8526, 12528, 11415, 24363, 3113, 315, 1876, 5349, 9041, 83, 6, 22938, 7734, 977, 18, 542, 5711, 12, 5776, 1769, 3639, 804, 26360, 13618, 273, 394, 804, 26360, 5621, 3639, 13618, 18, 542, 22743, 1767, 12, 955, 1769, 3639, 13618, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 1670, 8107, 12, 2957, 18, 25045, 23521, 10019, 3639, 2983, 18, 1289, 12, 29009, 1769, 3639, 2983, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 727, 15908, 38, 10215, 2983, 273, 394, 15908, 38, 10215, 2932, 46, 54, 10340, 15908, 38, 9657, 8863, 3639, 29305, 329, 4348, 6010, 382, 273, 394, 29305, 329, 4348, 5621, 7734, 2983, 18, 588, 1350, 8485, 7675, 542, 3744, 12, 2704, 30814, 10663, 3639, 2983, 18, 542, 1225, 12, 26874, 16, 14707, 1769, 7734, 804, 6946, 8485, 977, 273, 394, 804, 1528, 8485, 5621, 7734, 977, 18, 542, 9524, 12, 2704, 22300, 12, 28, 16, 28, 16, 28, 16, 28, 10019, 3639, 977, 18, 542, 39, 20731, 2957, 12, 2704, 5563, 12, 20, 6995, 24, 16, 374, 92, 713, 16, 374, 92, 713, 10019, 3639, 977, 18, 2 ]
else
} else {
protected String getTargetTypeParameter() { if( notEmpty( _targetType ) ) return "/target:" + _targetType; else return null; }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/b95d90a13da3fb8d362982bc84652f1e03e8325e/CSharp.java/buggy/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 8571, 16920, 1435, 565, 288, 3639, 309, 12, 21263, 12, 389, 3299, 559, 262, 262, 5411, 327, 2206, 3299, 2773, 397, 389, 3299, 559, 31, 3639, 289, 469, 288, 5411, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 514, 8571, 16920, 1435, 565, 288, 3639, 309, 12, 21263, 12, 389, 3299, 559, 262, 262, 5411, 327, 2206, 3299, 2773, 397, 389, 3299, 559, 31, 3639, 289, 469, 288, 5411, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
rsvc.error( ( left == null ? "Left" : "Right" )
rsvc.error( ( left == null ? "Left" : "Right" )
public Object value( InternalContextAdapter context) throws MethodInvocationException { /* * get the two addends */ Object left = jjtGetChild(0).value( context ); Object right = jjtGetChild(1).value( context ); /* * if either is null, lets log and bail */ if (left == null || right == null) { rsvc.error( ( left == null ? "Left" : "Right" ) + " side (" + jjtGetChild( (left == null? 0 : 1) ).literal() + ") of addition operation has null value." + " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return null; } /* * if not an Integer, not much we can do either */ if ( !( left instanceof Integer ) || !( right instanceof Integer )) { rsvc.error( ( !( left instanceof Integer ) ? "Left" : "Right" ) + " side of addition operation is not a valid type. " + "Currently only integers (1,2,3...) and Integer type is supported. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return null; } return new Integer( ( (Integer) left ).intValue() + ( (Integer) right ).intValue() ); }
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/d0480bc70ab3efce5f04a5de514ce6322a1dff24/ASTAddNode.java/clean/src/java/org/apache/velocity/runtime/parser/node/ASTAddNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 460, 12, 3186, 1042, 4216, 819, 13, 3639, 1216, 2985, 9267, 503, 565, 288, 3639, 1748, 540, 380, 225, 336, 326, 2795, 527, 5839, 540, 1195, 3639, 1033, 2002, 273, 10684, 88, 967, 1763, 12, 20, 2934, 1132, 12, 819, 11272, 3639, 1033, 2145, 273, 10684, 88, 967, 1763, 12, 21, 2934, 1132, 12, 819, 11272, 3639, 1748, 540, 380, 225, 309, 3344, 353, 446, 16, 14557, 613, 471, 18422, 540, 1195, 3639, 309, 261, 4482, 422, 446, 747, 2145, 422, 446, 13, 3639, 288, 5411, 3597, 4227, 18, 1636, 12, 261, 2002, 422, 446, 692, 315, 3910, 6, 294, 315, 4726, 6, 262, 18701, 397, 315, 4889, 7566, 21821, 397, 10684, 88, 967, 1763, 12, 261, 4482, 422, 446, 35, 374, 294, 404, 13, 262, 18, 13107, 1435, 21821, 397, 9369, 434, 2719, 1674, 711, 446, 460, 1199, 21821, 397, 315, 4189, 486, 3323, 18, 315, 21821, 397, 819, 18, 588, 3935, 28917, 1435, 397, 315, 306, 1369, 315, 397, 9851, 1435, 18701, 397, 3104, 1057, 315, 397, 6716, 1435, 397, 9870, 1769, 5411, 327, 446, 31, 3639, 289, 7734, 1748, 540, 380, 225, 309, 486, 392, 2144, 16, 486, 9816, 732, 848, 741, 3344, 540, 1195, 3639, 309, 261, 401, 12, 2002, 1276, 2144, 262, 225, 747, 401, 12, 2145, 1276, 2144, 8623, 3639, 288, 5411, 3597, 4227, 18, 1636, 12, 261, 401, 12, 2002, 1276, 2144, 262, 692, 315, 3910, 6, 294, 315, 4726, 6, 262, 18701, 397, 315, 4889, 434, 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, 460, 12, 3186, 1042, 4216, 819, 13, 3639, 1216, 2985, 9267, 503, 565, 288, 3639, 1748, 540, 380, 225, 336, 326, 2795, 527, 5839, 540, 1195, 3639, 1033, 2002, 273, 10684, 88, 967, 1763, 12, 20, 2934, 1132, 12, 819, 11272, 3639, 1033, 2145, 273, 10684, 88, 967, 1763, 12, 21, 2934, 1132, 12, 819, 11272, 3639, 1748, 540, 380, 225, 309, 3344, 353, 446, 16, 14557, 613, 471, 18422, 540, 1195, 3639, 309, 261, 4482, 422, 446, 747, 2145, 422, 446, 13, 3639, 288, 5411, 3597, 4227, 18, 1636, 12, 261, 2002, 422, 446, 692, 315, 3910, 6, 294, 315, 4726, 6, 262, 18701, 397, 315, 4889, 7566, 21821, 397, 10684, 88, 967, 1763, 12, 2 ]
nameL = new Label("Name (no tile selected)", Label.CENTER); typeL = new Label("Type (no tile selected)", Label.CENTER); hexC = new HexCanvas(); elevL = new Label("Elevation:", Label.RIGHT); elevC = new Choice(); for(int i = 9; i > -6; i--) { elevC.add("" + i);
addKeyListener(this); canHex = new HexCanvas(); labElev = new Label("Elev:", Label.RIGHT); texElev = new TextField("0", 1); texElev.addActionListener(this); butElevUp = new Button("U"); butElevUp.addActionListener(this); butElevDown = new Button("D"); butElevDown.addActionListener(this); labTerrain = new Label("Terrain:", Label.LEFT); lisTerrain = new java.awt.List(6); lisTerrain.addItemListener(this); refreshTerrainList(); butDelTerrain = new Button("Remove Terrain"); butDelTerrain.addActionListener(this); choTerrainType = new Choice(); for (int i = 1; i < Terrain.SIZE; i++) { choTerrainType.add(Terrain.getName(i));
public BoardEditor(Frame frame, Board board, BoardView1 bv) { this.frame = frame; this.board = board; this.bv = bv; board.newData(0, 0, new Hex[0]); frame.setTitle("MegaMek Editor : Unnamed"); nameL = new Label("Name (no tile selected)", Label.CENTER); typeL = new Label("Type (no tile selected)", Label.CENTER); hexC = new HexCanvas(); elevL = new Label("Elevation:", Label.RIGHT); elevC = new Choice(); for(int i = 9; i > -6; i--) { elevC.add("" + i); } elevC.select("0"); elevC.addItemListener(this); loadedL = new Label("Hexes Loaded:", Label.LEFT); loadedList = new List(10); loadedList.addItemListener(this); refreshTerrainList(); loadHexesB = new Button("Load More Hexes..."); loadHexesB.setActionCommand("hexes_load"); loadHexesB.addActionListener(this); clearUnusedB = new Button("Clear Unused Hexes"); clearUnusedB.setActionCommand("hexes_clear"); clearUnusedB.addActionListener(this); boardL = new Label("Board:", Label.LEFT); boardNewB = new Button("New..."); boardNewB.setActionCommand("board_new"); boardNewB.addActionListener(this); boardLoadB = new Button("Load..."); boardLoadB.setActionCommand("board_load"); boardLoadB.addActionListener(this); boardSaveB = new Button("Save"); boardSaveB.setActionCommand("board_save"); boardSaveB.addActionListener(this); boardSaveAsB = new Button("Save As..."); boardSaveAsB.setActionCommand("board_saveas"); boardSaveAsB.addActionListener(this); blankL = new Label("", Label.CENTER); GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); setLayout(gridbag); c.fill = GridBagConstraints.HORIZONTAL; c.weightx = 0.0; c.weighty = 0.0; c.insets = new Insets(4, 4, 1, 1); c.gridwidth = GridBagConstraints.REMAINDER; addBag(nameL, gridbag, c); addBag(hexC, gridbag, c); addBag(typeL, gridbag, c); c.gridwidth = 1; addBag(elevL, gridbag, c); c.gridwidth = GridBagConstraints.REMAINDER; addBag(elevC, gridbag, c); addBag(loadedL, gridbag, c); addBag(loadedList, gridbag, c); addBag(loadHexesB, gridbag, c); addBag(clearUnusedB, gridbag, c); c.weightx = 1.0; c.weighty = 1.0; addBag(blankL, gridbag, c); c.weightx = 0.0; c.weighty = 0.0; addBag(boardL, gridbag, c); c.gridwidth = 1; addBag(boardNewB, gridbag, c); c.gridwidth = GridBagConstraints.REMAINDER; addBag(boardLoadB, gridbag, c); c.gridwidth = 1; addBag(boardSaveB, gridbag, c); c.gridwidth = GridBagConstraints.REMAINDER; addBag(boardSaveAsB, gridbag, c); }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/3045e322f5d70e8d851c863279a5680bed754e84/BoardEditor.java/buggy/megamek/src/megamek/client/ui/AWT/BoardEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 17980, 1060, 6946, 12, 3219, 2623, 16, 17980, 1060, 11094, 16, 17980, 1060, 1767, 21, 18021, 13, 288, 3639, 333, 18, 3789, 273, 2623, 31, 3639, 333, 18, 3752, 273, 11094, 31, 3639, 333, 18, 70, 90, 273, 18021, 31, 7734, 11094, 18, 2704, 751, 12, 20, 16, 374, 16, 394, 15734, 63, 20, 19226, 7734, 2623, 18, 542, 4247, 2932, 49, 11061, 49, 3839, 18451, 294, 1351, 13188, 8863, 7734, 508, 48, 273, 394, 5287, 2932, 461, 261, 2135, 4769, 3170, 2225, 16, 5287, 18, 19835, 1769, 3639, 618, 48, 273, 394, 5287, 2932, 559, 261, 2135, 4769, 3170, 2225, 16, 5287, 18, 19835, 1769, 3639, 3827, 39, 273, 394, 15734, 12971, 5621, 3639, 30047, 48, 273, 394, 5287, 2932, 17274, 7112, 2773, 16, 5287, 18, 11847, 1769, 3639, 30047, 39, 273, 394, 16432, 5621, 3639, 364, 12, 474, 277, 273, 2468, 31, 277, 405, 300, 26, 31, 277, 413, 13, 288, 5411, 30047, 39, 18, 1289, 2932, 6, 397, 277, 1769, 3639, 289, 3639, 30047, 39, 18, 4025, 2932, 20, 8863, 3639, 30047, 39, 18, 1289, 1180, 2223, 12, 2211, 1769, 7734, 4203, 48, 273, 394, 5287, 2932, 7037, 281, 3176, 2435, 2773, 16, 5287, 18, 10066, 1769, 3639, 4203, 682, 273, 394, 987, 12, 2163, 1769, 3639, 4203, 682, 18, 1289, 1180, 2223, 12, 2211, 1769, 3639, 4460, 56, 264, 7596, 682, 5621, 3639, 1262, 7037, 281, 38, 273, 394, 12569, 2932, 2563, 16053, 15734, 281, 7070, 1769, 3639, 1262, 7037, 281, 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, 17980, 1060, 6946, 12, 3219, 2623, 16, 17980, 1060, 11094, 16, 17980, 1060, 1767, 21, 18021, 13, 288, 3639, 333, 18, 3789, 273, 2623, 31, 3639, 333, 18, 3752, 273, 11094, 31, 3639, 333, 18, 70, 90, 273, 18021, 31, 7734, 11094, 18, 2704, 751, 12, 20, 16, 374, 16, 394, 15734, 63, 20, 19226, 7734, 2623, 18, 542, 4247, 2932, 49, 11061, 49, 3839, 18451, 294, 1351, 13188, 8863, 7734, 508, 48, 273, 394, 5287, 2932, 461, 261, 2135, 4769, 3170, 2225, 16, 5287, 18, 19835, 1769, 3639, 618, 48, 273, 394, 5287, 2932, 559, 261, 2135, 4769, 3170, 2225, 16, 5287, 18, 19835, 1769, 3639, 3827, 39, 273, 394, 15734, 12971, 5621, 3639, 30047, 48, 2 ]
Set<FileFilter> filters = new TreeSet<FileFilter>( new Comparator<FileFilter>(){ public int compare(FileFilter f1, FileFilter f2) { return f1.getPreferredExtension().compareTo(f2.getPreferredExtension()); }});
Set<FileFilter> filters = new LinkedHashSet<FileFilter>();
private FileFilter[] createFileFilters() { //get existing writer formats String writerFormats[] = ImageIO.getWriterFormatNames(); //usually [bmp, jpeg, jpg, png, wbmp] String[] known = new String[]{"bmp","jpeg","jpg","png", "wbmp"}; //get remaining formats ignoring case Set<String> special = new HashSet<String>(); outer: for (int i = 0; i < writerFormats.length; i++) { final String ext = writerFormats[i].toLowerCase(); for (int j = 0; j < known.length; j++) { if (known[j].equals(ext)) continue outer; } special.add(ext); } //ordered set of file filters (lexicographically order of preferred extension) Set<FileFilter> filters = new TreeSet<FileFilter>( new Comparator<FileFilter>(){ public int compare(FileFilter f1, FileFilter f2) { return f1.getPreferredExtension().compareTo(f2.getPreferredExtension()); }}); //add known filter filters.add(new FileFilter("BMP Image", "bmp")); filters.add(new FileFilter("Wireless BMP Image", "wbmp")); filters.add(new FileFilter("JPEG Image", "jpg", "jpeg")); filters.add(new FileFilter("PNG Image", "png")); //add tiff filter if writer exists try { Class.forName("javax.media.jai.JAI"); filters.add(new FileFilter("TIFF Image", "tiff", "tif")); } catch (ClassNotFoundException e) {} //add filters for special writer formats for (String s : special) filters.add(new FileFilter(s.toUpperCase()+" Image", s)); //convert to (ordered) array FileFilter[] ff = new FileFilter[filters.size()]; return filters.toArray(ff); }
25476 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25476/d806af473c5d9ed9506713ec6d5cbefcd51e8452/ExportImage.java/buggy/src-ui/de/jreality/ui/viewerapp/actions/file/ExportImage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1387, 1586, 8526, 21266, 5422, 1435, 288, 3639, 368, 588, 2062, 2633, 6449, 565, 514, 2633, 8976, 8526, 273, 3421, 4294, 18, 588, 2289, 1630, 1557, 5621, 565, 368, 407, 3452, 306, 70, 1291, 16, 29726, 16, 525, 8365, 16, 14476, 16, 17298, 1291, 65, 565, 514, 8526, 4846, 273, 394, 514, 63, 7073, 6, 70, 1291, 15937, 14423, 15937, 14362, 15937, 6446, 3113, 315, 9464, 1291, 6, 20451, 565, 368, 588, 4463, 6449, 14398, 648, 565, 1000, 32, 780, 34, 4582, 273, 394, 6847, 32, 780, 34, 5621, 565, 6390, 30, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2633, 8976, 18, 2469, 31, 277, 27245, 288, 1377, 727, 514, 1110, 273, 2633, 8976, 63, 77, 8009, 869, 5630, 5621, 1377, 364, 261, 474, 525, 273, 374, 31, 525, 411, 4846, 18, 2469, 31, 525, 27245, 288, 3639, 309, 261, 2994, 63, 78, 8009, 14963, 12, 408, 3719, 1324, 6390, 31, 1377, 289, 1377, 4582, 18, 1289, 12, 408, 1769, 565, 289, 3639, 368, 9885, 444, 434, 585, 3415, 261, 4149, 335, 8829, 6478, 1353, 434, 9119, 2710, 13, 565, 1000, 32, 29837, 34, 3415, 273, 394, 19461, 32, 29837, 34, 12, 394, 13359, 32, 29837, 34, 1435, 95, 1377, 1071, 509, 3400, 12, 29837, 284, 21, 16, 1387, 1586, 284, 22, 13, 288, 3639, 327, 284, 21, 18, 588, 16028, 3625, 7675, 9877, 774, 12, 74, 22, 18, 588, 16028, 3625, 10663, 1377, 10523, 1769, 3639, 368, 1289, 4846, 1034, 565, 3415, 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, 1387, 1586, 8526, 21266, 5422, 1435, 288, 3639, 368, 588, 2062, 2633, 6449, 565, 514, 2633, 8976, 8526, 273, 3421, 4294, 18, 588, 2289, 1630, 1557, 5621, 565, 368, 407, 3452, 306, 70, 1291, 16, 29726, 16, 525, 8365, 16, 14476, 16, 17298, 1291, 65, 565, 514, 8526, 4846, 273, 394, 514, 63, 7073, 6, 70, 1291, 15937, 14423, 15937, 14362, 15937, 6446, 3113, 315, 9464, 1291, 6, 20451, 565, 368, 588, 4463, 6449, 14398, 648, 565, 1000, 32, 780, 34, 4582, 273, 394, 6847, 32, 780, 34, 5621, 565, 6390, 30, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2633, 8976, 18, 2469, 31, 277, 27245, 288, 1377, 727, 514, 1110, 273, 2633, 8976, 63, 2 ]
m_vecAreaInfo.add( new AreaInfo(iWordStart, m_iNextStart, iWScount, ipd));
vecAreaInfo.add( new AreaInfo(iWordStart, iNextStart, iWScount, ipd));
private BreakPoss makeBreakPoss(short iWordStart, MinOptMax spaceIPD, int wordDim, SpaceSpecifier leadingSpace, SpaceSpecifier trailingSpace, int flags, short iWScount) { MinOptMax ipd = new MinOptMax(wordDim); ipd.add(spaceIPD); if (m_ipdTotal != null) { ipd.add(m_ipdTotal); // sum of all words so far in line } // Note: break position now stores total size to here // Position is the index of the info for this word in the vector m_vecAreaInfo.add( new AreaInfo(iWordStart, m_iNextStart, iWScount, ipd)); BreakPoss bp = new BreakPoss( new LeafPosition(this, m_vecAreaInfo.size() - 1)); m_ipdTotal = ipd; if ((flags & BreakPoss.HYPHENATED) != 0) { // Add the hyphen size, but don't change total IPD! bp.setStackingSize( MinOptMax.add(ipd, new MinOptMax(m_hyphIPD))); } else { bp.setStackingSize(ipd); } // TODO: make this correct (see Keiron's vertical alignment code) bp.setNonStackingSize(new MinOptMax(textInfo.lineHeight)); /* Set max ascender and descender (offset from baseline), * used for calculating the bpd of the line area containing * this text. */ //bp.setDescender(textInfo.fs.getDescender()); //bp.setAscender(textInfo.fs.getAscender()); if (m_iNextStart == chars.length) { flags |= BreakPoss.ISLAST; setFinished(true); } bp.setFlag(flags); if (trailingSpace != null) { bp.setTrailingSpace(trailingSpace); } else { bp.setTrailingSpace(new SpaceSpecifier(false)); } if (leadingSpace != null) { bp.setLeadingSpace(leadingSpace); } else { bp.setLeadingSpace(new SpaceSpecifier(false)); } return bp; }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/a62f977d812bb273863a574255920ca141eec969/TextLayoutManager.java/clean/src/org/apache/fop/layoutmgr/TextLayoutManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 17030, 1616, 87, 1221, 7634, 1616, 87, 12, 6620, 277, 3944, 1685, 16, 4766, 565, 5444, 6179, 2747, 3476, 2579, 40, 16, 509, 2076, 5225, 16, 4766, 565, 14059, 21416, 7676, 3819, 16, 14059, 21416, 7341, 3819, 16, 4766, 565, 509, 2943, 16, 3025, 277, 59, 1541, 592, 13, 288, 3639, 5444, 6179, 2747, 2359, 72, 273, 394, 5444, 6179, 2747, 12, 1095, 5225, 1769, 3639, 2359, 72, 18, 1289, 12, 2981, 2579, 40, 1769, 3639, 309, 261, 81, 67, 625, 72, 5269, 480, 446, 13, 288, 5411, 2359, 72, 18, 1289, 12, 81, 67, 625, 72, 5269, 1769, 368, 2142, 434, 777, 4511, 1427, 10247, 316, 980, 3639, 289, 3639, 368, 3609, 30, 898, 1754, 2037, 9064, 2078, 963, 358, 2674, 3639, 368, 11010, 353, 326, 770, 434, 326, 1123, 364, 333, 2076, 316, 326, 3806, 3639, 312, 67, 8799, 5484, 966, 18, 1289, 12, 1850, 394, 16668, 966, 12, 77, 3944, 1685, 16, 312, 67, 77, 2134, 1685, 16, 277, 59, 1541, 592, 16, 2359, 72, 10019, 3639, 17030, 1616, 87, 9107, 273, 394, 17030, 1616, 87, 12, 7682, 394, 23383, 2555, 12, 2211, 16, 312, 67, 8799, 5484, 966, 18, 1467, 1435, 300, 404, 10019, 3639, 312, 67, 625, 72, 5269, 273, 2359, 72, 31, 3639, 309, 14015, 7133, 473, 17030, 1616, 87, 18, 44, 61, 8939, 1157, 6344, 13, 480, 374, 13, 288, 5411, 368, 1436, 326, 20634, 963, 16, 1496, 2727, 1404, 2549, 2078, 2971, 40, 5, 5411, 9107, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 17030, 1616, 87, 1221, 7634, 1616, 87, 12, 6620, 277, 3944, 1685, 16, 4766, 565, 5444, 6179, 2747, 3476, 2579, 40, 16, 509, 2076, 5225, 16, 4766, 565, 14059, 21416, 7676, 3819, 16, 14059, 21416, 7341, 3819, 16, 4766, 565, 509, 2943, 16, 3025, 277, 59, 1541, 592, 13, 288, 3639, 5444, 6179, 2747, 2359, 72, 273, 394, 5444, 6179, 2747, 12, 1095, 5225, 1769, 3639, 2359, 72, 18, 1289, 12, 2981, 2579, 40, 1769, 3639, 309, 261, 81, 67, 625, 72, 5269, 480, 446, 13, 288, 5411, 2359, 72, 18, 1289, 12, 81, 67, 625, 72, 5269, 1769, 368, 2142, 434, 777, 4511, 1427, 10247, 316, 980, 3639, 289, 3639, 368, 3609, 30, 898, 1754, 2037, 2 ]
dataV = this.getReplyLevelCode(req, dataV, imagePath) ;
dataV = this.getReplyLevelCode(req, dataV, imagePath) ;
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 ]
return eDynamicIsSet( eFeature );
return super.eIsSet( featureID );
public boolean eIsSet( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case AttributePackage.INTERACTIVITY__ENABLE : return isSetEnable( ); case AttributePackage.INTERACTIVITY__LEGEND_BEHAVIOR : return isSetLegendBehavior( ); } return eDynamicIsSet( eFeature ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/InteractivityImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/InteractivityImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 20372, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 3601, 2261, 18, 9125, 22271, 4107, 972, 29377, 294, 9506, 202, 2463, 13532, 8317, 12, 11272, 1082, 202, 3593, 3601, 2261, 18, 9125, 22271, 4107, 972, 19384, 4415, 67, 5948, 19191, 4136, 916, 294, 9506, 202, 2463, 13532, 16812, 9212, 12, 11272, 202, 202, 97, 202, 202, 2463, 425, 9791, 15737, 12, 425, 4595, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 20372, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 3601, 2261, 18, 9125, 22271, 4107, 972, 29377, 294, 9506, 202, 2463, 13532, 8317, 12, 11272, 1082, 202, 3593, 3601, 2261, 18, 9125, 22271, 4107, 972, 19384, 4415, 67, 5948, 19191, 4136, 916, 294, 9506, 202, 2463, 13532, 16812, 9212, 12, 11272, 202, 202, 97, 202, 202, 2463, 425, 9791, 15737, 12, 425, 4595, 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 ]
|| propertyName.equals( StyleHandle.BORDER_BOTTOM_WIDTH_PROP )
public void elementChanged( DesignElementHandle focus, NotificationEvent ev ) { PropertyEvent event = (PropertyEvent) ev; String propertyName = event.getPropertyName( ); if ( propertyName.equals( StyleHandle.BORDER_TOP_WIDTH_PROP ) || propertyName.equals( StyleHandle.BORDER_LEFT_WIDTH_PROP ) || propertyName.equals( StyleHandle.BORDER_BOTTOM_WIDTH_PROP ) || propertyName.equals( StyleHandle.BORDER_RIGHT_WIDTH_PROP ) ) { load( ); } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/5524fdf49f84912e89c89e44e114c4b0ff5f090e/BorderPropertyDescriptor.java/buggy/UI/org.eclipse.birt.report.designer.ui.views/src/org/eclipse/birt/report/designer/internal/ui/views/attributes/widget/BorderPropertyDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 930, 5033, 12, 29703, 1046, 3259, 7155, 16, 8050, 1133, 2113, 262, 202, 95, 202, 202, 1396, 1133, 871, 273, 261, 1396, 1133, 13, 2113, 31, 202, 202, 780, 5470, 273, 871, 18, 588, 13073, 12, 11272, 202, 202, 430, 261, 5470, 18, 14963, 12, 9767, 3259, 18, 38, 7954, 67, 10462, 67, 10023, 67, 15811, 262, 9506, 202, 20081, 5470, 18, 14963, 12, 9767, 3259, 18, 38, 7954, 67, 10066, 67, 10023, 67, 15811, 262, 9506, 202, 20081, 5470, 18, 14963, 12, 9767, 3259, 18, 38, 7954, 67, 28891, 67, 10023, 67, 15811, 262, 9506, 202, 20081, 5470, 18, 14963, 12, 9767, 3259, 18, 38, 7954, 67, 11847, 67, 10023, 67, 15811, 262, 262, 202, 202, 95, 1082, 202, 945, 12, 11272, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 930, 5033, 12, 29703, 1046, 3259, 7155, 16, 8050, 1133, 2113, 262, 202, 95, 202, 202, 1396, 1133, 871, 273, 261, 1396, 1133, 13, 2113, 31, 202, 202, 780, 5470, 273, 871, 18, 588, 13073, 12, 11272, 202, 202, 430, 261, 5470, 18, 14963, 12, 9767, 3259, 18, 38, 7954, 67, 10462, 67, 10023, 67, 15811, 262, 9506, 202, 20081, 5470, 18, 14963, 12, 9767, 3259, 18, 38, 7954, 67, 10066, 67, 10023, 67, 15811, 262, 9506, 202, 20081, 5470, 18, 14963, 12, 9767, 3259, 18, 38, 7954, 67, 28891, 67, 10023, 67, 15811, 262, 9506, 202, 20081, 5470, 18, 14963, 12, 9767, 3259, 18, 38, 7954, 67, 11847, 67, 10023, 67, 15811, 262, 262, 2 ]
return new DefaultScriptSecurity(scriptType, scriptURL, docURL);
return new DefaultScriptSecurity (scriptType, scriptPURL, docPURL);
public ScriptSecurity getScriptSecurity(String scriptType, URL scriptURL, URL docURL){ if (scripts.indexOf(scriptType) == -1){ return new NoLoadScriptSecurity(scriptType); } else { if (constrain){ return new DefaultScriptSecurity(scriptType, scriptURL, docURL); } else { return new RelaxedScriptSecurity(scriptType, scriptURL, docURL); } } }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/b3bfbdc9cdab85ed31fcac017fd38c721cc6713e/ScriptSelfTest.java/clean/test-sources/org/apache/batik/bridge/ScriptSelfTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 7739, 4368, 22611, 4368, 12, 780, 2728, 559, 16, 4766, 7734, 1976, 2728, 1785, 16, 4766, 7734, 1976, 997, 1785, 15329, 5411, 309, 261, 12827, 18, 31806, 12, 4263, 559, 13, 422, 300, 21, 15329, 7734, 327, 394, 2631, 2563, 3651, 4368, 12, 4263, 559, 1769, 5411, 289, 469, 288, 7734, 309, 261, 591, 27568, 15329, 10792, 327, 394, 2989, 3651, 4368, 261, 4263, 559, 16, 2728, 52, 1785, 16, 997, 52, 1785, 1769, 7734, 289, 469, 288, 10792, 327, 394, 4275, 651, 329, 3651, 4368, 12, 4263, 559, 16, 2728, 1785, 16, 997, 1785, 1769, 7734, 289, 5411, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 7739, 4368, 22611, 4368, 12, 780, 2728, 559, 16, 4766, 7734, 1976, 2728, 1785, 16, 4766, 7734, 1976, 997, 1785, 15329, 5411, 309, 261, 12827, 18, 31806, 12, 4263, 559, 13, 422, 300, 21, 15329, 7734, 327, 394, 2631, 2563, 3651, 4368, 12, 4263, 559, 1769, 5411, 289, 469, 288, 7734, 309, 261, 591, 27568, 15329, 10792, 327, 394, 2989, 3651, 4368, 261, 4263, 559, 16, 2728, 52, 1785, 16, 997, 52, 1785, 1769, 7734, 289, 469, 288, 10792, 327, 394, 4275, 651, 329, 3651, 4368, 12, 4263, 559, 16, 2728, 1785, 16, 997, 1785, 1769, 7734, 289, 5411, 289, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int endOffset = startOffset + ev.getLength();
protected void forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent ev, Shape shape, ViewFactory vf) { int count = getViewCount(); if (count > 0) { int startOffset = ev.getOffset(); int endOffset = startOffset + ev.getLength(); int startIndex = getViewIndex(startOffset, Position.Bias.Backward); int endIndex = getViewIndex(endOffset, Position.Bias.Forward); int index = -1; int addLength = -1; if (ec != null) { index = ec.getIndex(); addLength = ec.getChildrenAdded().length; } if (startIndex >= 0 && endIndex >= 0) { for (int i = startIndex; i <= endIndex; i++) { // Skip newly added child views. if (index >= 0 && i >= index && i < (index+addLength)) continue; View child = getView(i); forwardUpdateToView(child, ev, shape, vf); } } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/View.java/clean/core/src/classpath/javax/javax/swing/text/View.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 5104, 1891, 12, 2519, 1133, 18, 1046, 3043, 6557, 16, 1171, 9079, 4319, 1133, 2113, 16, 12383, 2179, 16, 4441, 1733, 28902, 13, 225, 288, 565, 509, 1056, 273, 8893, 1380, 5621, 565, 309, 261, 1883, 405, 374, 13, 1377, 288, 3639, 509, 18245, 273, 2113, 18, 588, 2335, 5621, 9079, 509, 10588, 273, 8893, 1016, 12, 1937, 2335, 16, 11010, 18, 31645, 18, 26283, 1769, 3639, 509, 13818, 273, 8893, 1016, 12, 409, 2335, 16, 11010, 18, 31645, 18, 8514, 1769, 3639, 509, 770, 273, 300, 21, 31, 3639, 509, 527, 1782, 273, 300, 21, 31, 3639, 309, 261, 557, 480, 446, 13, 1850, 288, 5411, 770, 273, 6557, 18, 588, 1016, 5621, 5411, 527, 1782, 273, 6557, 18, 588, 4212, 8602, 7675, 2469, 31, 1850, 289, 3639, 309, 261, 1937, 1016, 1545, 374, 597, 13818, 1545, 374, 13, 1850, 288, 5411, 364, 261, 474, 277, 273, 10588, 31, 277, 1648, 13818, 31, 277, 27245, 2868, 288, 7734, 368, 6611, 10894, 3096, 1151, 7361, 18, 7734, 309, 261, 1615, 1545, 374, 597, 277, 1545, 770, 597, 277, 411, 261, 1615, 15, 1289, 1782, 3719, 5375, 1324, 31, 3639, 4441, 1151, 273, 8893, 12, 77, 1769, 3639, 5104, 1891, 774, 1767, 12, 3624, 16, 2113, 16, 2179, 16, 28902, 1769, 1377, 289, 225, 289, 1377, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 5104, 1891, 12, 2519, 1133, 18, 1046, 3043, 6557, 16, 1171, 9079, 4319, 1133, 2113, 16, 12383, 2179, 16, 4441, 1733, 28902, 13, 225, 288, 565, 509, 1056, 273, 8893, 1380, 5621, 565, 309, 261, 1883, 405, 374, 13, 1377, 288, 3639, 509, 18245, 273, 2113, 18, 588, 2335, 5621, 9079, 509, 10588, 273, 8893, 1016, 12, 1937, 2335, 16, 11010, 18, 31645, 18, 26283, 1769, 3639, 509, 13818, 273, 8893, 1016, 12, 409, 2335, 16, 11010, 18, 31645, 18, 8514, 1769, 3639, 509, 770, 273, 300, 21, 31, 3639, 509, 527, 1782, 273, 300, 21, 31, 3639, 309, 261, 557, 480, 446, 13, 1850, 288, 5411, 770, 273, 6557, 18, 588, 1016, 5621, 5411, 527, 2 ]
new LocalTime(10, 20, 30, -1, JULIAN);
new LocalTime(10, 20, 30, -1, JULIAN_LONDON);
public void testConstructor_int_int_int_int_Chronology() throws Throwable { LocalTime test = new LocalTime(10, 20, 30, 40, JULIAN); assertEquals(JULIAN_UTC, test.getChronology()); assertEquals(10, test.getHourOfDay()); assertEquals(20, test.getMinuteOfHour()); assertEquals(30, test.getSecondOfMinute()); assertEquals(40, test.getMillisOfSecond()); try { new LocalTime(-1, 20, 30, 40, JULIAN); fail(); } catch (IllegalArgumentException ex) {} try { new LocalTime(24, 20, 30, 40, JULIAN); fail(); } catch (IllegalArgumentException ex) {} try { new LocalTime(10, -1, 30, 40, JULIAN); fail(); } catch (IllegalArgumentException ex) {} try { new LocalTime(10, 60, 30, 40, JULIAN); fail(); } catch (IllegalArgumentException ex) {} try { new LocalTime(10, 20, -1, 40, JULIAN); fail(); } catch (IllegalArgumentException ex) {} try { new LocalTime(10, 20, 60, 40, JULIAN); fail(); } catch (IllegalArgumentException ex) {} try { new LocalTime(10, 20, 30, -1, JULIAN); fail(); } catch (IllegalArgumentException ex) {} try { new LocalTime(10, 20, 30, 1000, JULIAN); fail(); } catch (IllegalArgumentException ex) {} }
52681 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52681/d4998c7904a9a9c5380904e1f744bbc67e397745/TestLocalTime_Constructors.java/buggy/JodaTime/src/test/org/joda/time/TestLocalTime_Constructors.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6293, 67, 474, 67, 474, 67, 474, 67, 474, 67, 23809, 1435, 1216, 4206, 288, 3639, 25515, 1842, 273, 394, 25515, 12, 2163, 16, 4200, 16, 5196, 16, 8063, 16, 804, 1506, 21634, 1769, 3639, 1815, 8867, 12, 46, 1506, 21634, 67, 11471, 16, 1842, 18, 588, 23809, 10663, 3639, 1815, 8867, 12, 2163, 16, 1842, 18, 588, 13433, 17263, 10663, 3639, 1815, 8867, 12, 3462, 16, 1842, 18, 588, 18329, 951, 13433, 10663, 3639, 1815, 8867, 12, 5082, 16, 1842, 18, 588, 8211, 951, 18329, 10663, 3639, 1815, 8867, 12, 7132, 16, 1842, 18, 588, 4814, 951, 8211, 10663, 3639, 775, 288, 5411, 394, 25515, 19236, 21, 16, 4200, 16, 5196, 16, 8063, 16, 804, 1506, 21634, 1769, 5411, 2321, 5621, 3639, 289, 1044, 261, 31237, 431, 13, 2618, 3639, 775, 288, 5411, 394, 25515, 12, 3247, 16, 4200, 16, 5196, 16, 8063, 16, 804, 1506, 21634, 1769, 5411, 2321, 5621, 3639, 289, 1044, 261, 31237, 431, 13, 2618, 3639, 775, 288, 5411, 394, 25515, 12, 2163, 16, 300, 21, 16, 5196, 16, 8063, 16, 804, 1506, 21634, 1769, 5411, 2321, 5621, 3639, 289, 1044, 261, 31237, 431, 13, 2618, 3639, 775, 288, 5411, 394, 25515, 12, 2163, 16, 4752, 16, 5196, 16, 8063, 16, 804, 1506, 21634, 1769, 5411, 2321, 5621, 3639, 289, 1044, 261, 31237, 431, 13, 2618, 3639, 775, 288, 5411, 394, 25515, 12, 2163, 16, 4200, 16, 300, 21, 16, 8063, 16, 804, 1506, 21634, 1769, 5411, 2321, 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, 6293, 67, 474, 67, 474, 67, 474, 67, 474, 67, 23809, 1435, 1216, 4206, 288, 3639, 25515, 1842, 273, 394, 25515, 12, 2163, 16, 4200, 16, 5196, 16, 8063, 16, 804, 1506, 21634, 1769, 3639, 1815, 8867, 12, 46, 1506, 21634, 67, 11471, 16, 1842, 18, 588, 23809, 10663, 3639, 1815, 8867, 12, 2163, 16, 1842, 18, 588, 13433, 17263, 10663, 3639, 1815, 8867, 12, 3462, 16, 1842, 18, 588, 18329, 951, 13433, 10663, 3639, 1815, 8867, 12, 5082, 16, 1842, 18, 588, 8211, 951, 18329, 10663, 3639, 1815, 8867, 12, 7132, 16, 1842, 18, 588, 4814, 951, 8211, 10663, 3639, 775, 288, 5411, 394, 25515, 19236, 21, 16, 4200, 16, 5196, 16, 8063, 16, 2 ]
Main.debug("Applet " + appletName + " id=" + appletID + " initialized."); Main.debug("app.setSize(appletSize);"); app.setSize(appletSize);
app.setSize(appletSize);
public void run() { //this order is very important and took a long time //to figure out- don't modify it unless there are //real bug fixes // till 2002 09 18 // commented out the synchronized block because // it leads to a deadlock of the JVM with // j2re 1.4.1 //synchronized( me ) { active = true; try { appletClass = loader.loadClass( className ); } catch (Exception e) { Main.kjas_err("Class could not be loaded: " + className, e); } if( appletClass == null ) { Main.info( "Could not load applet class " + className); panel.showFailed(); return; } try { synchronized (appletClass) { Main.debug("Applet " + appletName + " id=" + appletID + " instantiating..."); app = (Applet) appletClass.newInstance(); Main.debug("Applet " + appletName + " id=" + appletID + " instantiated."); } app.setStub( me ); } catch( InstantiationException e ) { Main.kjas_err( "Could not instantiate applet", e ); panel.showFailed(); return; } catch( IllegalAccessException e ) { Main.kjas_err( "Could not instantiate applet", e ); panel.showFailed(); return; } //} // synchronized app.setVisible(false); Main.debug("panel.add( \"Center\", app );"); panel.setApplet( app ); Main.debug("app.setSize(appletSize);"); app.setSize(appletSize); context.showStatus("Initializing Applet " + appletName + " ..."); Main.debug("Applet " + appletName + " id=" + appletID + " initializing..."); try { app.init(); } catch (Error e) { Main.info("Error " + e.toString() + " during applet initialization"); e.printStackTrace(); return; } loader.removeStatusListener(panel); app.setVisible(true); Main.debug("Applet " + appletName + " id=" + appletID + " initialized."); Main.debug("app.setSize(appletSize);"); app.setSize(appletSize); app.validate(); Main.debug("app.setVisible(true);"); app.setVisible(true); Main.debug("panel.setVisible(true);"); panel.setVisible(true); Main.debug("setVisible(true);"); setVisible(true); //repaint(1L); //panel.repaint(1L); //--Main.debug("app.repaint(1L);"); app.repaint(0L); context.showStatus("Starting Applet " + appletName + " ..."); // create a new thread, so we know, when the applet was started Main.debug("Applet " + appletName + " id=" + appletID + " starting..."); Thread appletThread = new KJASAppletThread(app, "KJAS-Applet-" + appletID + "-" + appletName); panel.stopAnimation(); appletThread.start(); Main.debug("Applet " + appletName + " id=" + appletID + " started."); context.showStatus("Applet " + appletName + " started."); //setVisible(true); }
45545 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45545/3ea62068168d1d5e148e98e6c40ca7f4f9a004b0/KJASAppletStub.java/clean/khtml/java/org/kde/kjas/server/KJASAppletStub.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 7734, 368, 2211, 1353, 353, 8572, 10802, 471, 23151, 279, 1525, 813, 7734, 368, 869, 7837, 596, 17, 2727, 1404, 5612, 518, 3308, 1915, 854, 7734, 368, 7688, 7934, 24436, 27573, 368, 21364, 4044, 22, 21058, 6549, 7734, 368, 31813, 596, 326, 3852, 1203, 2724, 7734, 368, 518, 5871, 87, 358, 279, 8363, 739, 434, 326, 14131, 598, 7734, 368, 525, 22, 266, 404, 18, 24, 18, 21, 7734, 368, 22043, 12, 1791, 262, 288, 10792, 2695, 273, 638, 31, 10792, 775, 288, 13491, 21853, 797, 273, 4088, 18, 945, 797, 12, 2658, 11272, 10792, 289, 1044, 261, 503, 425, 13, 288, 13491, 12740, 18, 79, 78, 345, 67, 370, 2932, 797, 3377, 486, 506, 4203, 30, 315, 397, 2658, 16, 425, 1769, 10792, 289, 10792, 309, 12, 21853, 797, 422, 446, 262, 288, 13491, 12740, 18, 1376, 12, 315, 4445, 486, 1262, 21853, 667, 315, 397, 2658, 1769, 13491, 6594, 18, 4500, 2925, 5621, 13491, 327, 31, 10792, 289, 4766, 565, 775, 288, 13491, 3852, 261, 438, 1469, 797, 13, 288, 18701, 12740, 18, 4148, 2932, 23696, 315, 397, 21853, 461, 397, 315, 612, 1546, 397, 21853, 734, 397, 315, 5934, 22906, 7070, 1769, 18701, 595, 273, 261, 23696, 13, 21853, 797, 18, 2704, 1442, 5621, 18701, 12740, 18, 4148, 2932, 23696, 315, 397, 21853, 461, 397, 315, 612, 1546, 397, 21853, 734, 397, 315, 17651, 1199, 1769, 13491, 289, 13491, 595, 18, 542, 11974, 12, 1791, 11272, 10792, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 7734, 368, 2211, 1353, 353, 8572, 10802, 471, 23151, 279, 1525, 813, 7734, 368, 869, 7837, 596, 17, 2727, 1404, 5612, 518, 3308, 1915, 854, 7734, 368, 7688, 7934, 24436, 27573, 368, 21364, 4044, 22, 21058, 6549, 7734, 368, 31813, 596, 326, 3852, 1203, 2724, 7734, 368, 518, 5871, 87, 358, 279, 8363, 739, 434, 326, 14131, 598, 7734, 368, 525, 22, 266, 404, 18, 24, 18, 21, 7734, 368, 22043, 12, 1791, 262, 288, 10792, 2695, 273, 638, 31, 10792, 775, 288, 13491, 21853, 797, 273, 4088, 18, 945, 797, 12, 2658, 11272, 10792, 289, 1044, 261, 503, 425, 13, 288, 13491, 12740, 18, 79, 78, 345, 67, 370, 2932, 797, 3377, 2 ]
Scriptable so = context.toObject(obj, global);
Scriptable so = Context.toObject(obj, global);
public Object get(Object obj, String propname) { if ((obj == null) || (propname == null)) { return null; } String prototypeName = app.getPrototypeName(obj); if ("user".equalsIgnoreCase(prototypeName) && "password".equalsIgnoreCase(propname)) { return "[macro access to password property not allowed]"; } // if this is a HopObject, check if the property is defined // in the type.properties db-mapping. if (obj instanceof INode) { DbMapping dbm = app.getDbMapping(prototypeName); if (dbm != null) { Relation rel = dbm.propertyToRelation(propname); if ((rel == null) || !rel.isPrimitive()) { return "[property \"" + propname + "\" is not defined for " + prototypeName + "]"; } } } Scriptable so = context.toObject(obj, global); try { Object prop = so.get(propname, so); if ((prop == null) || (prop == Undefined.instance)) { return null; } else if (prop instanceof NativeJavaObject) { return ((NativeJavaObject) prop).unwrap(); } else { return prop; } } catch (Exception esx) { // System.err.println ("Error in getProperty: "+esx); return null; } }
46029 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46029/2f39d4f9080cbaa258e99279b7b1c5a043cd34e3/RhinoEngine.java/clean/src/helma/scripting/rhino/RhinoEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 12, 921, 1081, 16, 514, 2270, 529, 13, 288, 3639, 309, 14015, 2603, 422, 446, 13, 747, 261, 5986, 529, 422, 446, 3719, 288, 5411, 327, 446, 31, 3639, 289, 3639, 514, 4409, 461, 273, 595, 18, 588, 15846, 461, 12, 2603, 1769, 3639, 309, 7566, 1355, 9654, 14963, 5556, 12, 18541, 461, 13, 597, 7734, 315, 3664, 9654, 14963, 5556, 12, 5986, 529, 3719, 288, 5411, 327, 5158, 26448, 2006, 358, 2201, 1272, 486, 2935, 4279, 31, 3639, 289, 3639, 368, 309, 333, 353, 279, 670, 556, 921, 16, 866, 309, 326, 1272, 353, 2553, 3639, 368, 316, 326, 618, 18, 4738, 1319, 17, 6770, 18, 3639, 309, 261, 2603, 1276, 21176, 13, 288, 5411, 8408, 3233, 1319, 81, 273, 595, 18, 588, 4331, 3233, 12, 18541, 461, 1769, 5411, 309, 261, 1966, 81, 480, 446, 13, 288, 7734, 7317, 1279, 273, 1319, 81, 18, 4468, 774, 3963, 12, 5986, 529, 1769, 7734, 309, 14015, 2878, 422, 446, 13, 747, 401, 2878, 18, 291, 9840, 10756, 288, 10792, 327, 5158, 4468, 11843, 397, 2270, 529, 397, 7023, 353, 486, 2553, 364, 315, 397, 21821, 4409, 461, 397, 9870, 31, 7734, 289, 5411, 289, 3639, 289, 3639, 22780, 1427, 273, 1772, 18, 869, 921, 12, 2603, 16, 2552, 1769, 3639, 775, 288, 5411, 1033, 2270, 273, 1427, 18, 588, 12, 5986, 529, 16, 1427, 1769, 5411, 309, 14015, 5986, 422, 446, 13, 747, 261, 5986, 422, 22243, 18, 1336, 3719, 288, 7734, 327, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 12, 921, 1081, 16, 514, 2270, 529, 13, 288, 3639, 309, 14015, 2603, 422, 446, 13, 747, 261, 5986, 529, 422, 446, 3719, 288, 5411, 327, 446, 31, 3639, 289, 3639, 514, 4409, 461, 273, 595, 18, 588, 15846, 461, 12, 2603, 1769, 3639, 309, 7566, 1355, 9654, 14963, 5556, 12, 18541, 461, 13, 597, 7734, 315, 3664, 9654, 14963, 5556, 12, 5986, 529, 3719, 288, 5411, 327, 5158, 26448, 2006, 358, 2201, 1272, 486, 2935, 4279, 31, 3639, 289, 3639, 368, 309, 333, 353, 279, 670, 556, 921, 16, 866, 309, 326, 1272, 353, 2553, 3639, 368, 316, 326, 618, 18, 4738, 1319, 17, 6770, 18, 3639, 309, 261, 2603, 1276, 21176, 13, 288, 2 ]
if (undo != null) {
if (compoundEdit != null) { compoundEdit.addEdit(e.getEdit()); } else if (undo != null) {
public void undoableEditHappened(UndoableEditEvent e) { if (undo != null) { undo.addEdit(e.getEdit()); undoAction.updateUndoState(); redoAction.updateRedoState(); } }
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/5e137a70ed86abcf800133fce5e0bc821ae7c55a/Editor.java/buggy/app/Editor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6647, 1071, 918, 15436, 429, 4666, 44, 438, 1907, 329, 12, 31224, 429, 4666, 1133, 425, 13, 288, 5411, 309, 261, 22585, 4666, 480, 446, 13, 288, 11360, 4666, 18, 1289, 4666, 12, 73, 18, 588, 4666, 10663, 225, 289, 469, 309, 261, 31226, 480, 446, 13, 288, 2868, 15436, 18, 1289, 4666, 12, 73, 18, 588, 4666, 10663, 2868, 15436, 1803, 18, 2725, 31224, 1119, 5621, 2868, 24524, 1803, 18, 2725, 3715, 83, 1119, 5621, 5411, 289, 1850, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6647, 1071, 918, 15436, 429, 4666, 44, 438, 1907, 329, 12, 31224, 429, 4666, 1133, 425, 13, 288, 5411, 309, 261, 22585, 4666, 480, 446, 13, 288, 11360, 4666, 18, 1289, 4666, 12, 73, 18, 588, 4666, 10663, 225, 289, 469, 309, 261, 31226, 480, 446, 13, 288, 2868, 15436, 18, 1289, 4666, 12, 73, 18, 588, 4666, 10663, 2868, 15436, 1803, 18, 2725, 31224, 1119, 5621, 2868, 24524, 1803, 18, 2725, 3715, 83, 1119, 5621, 5411, 289, 1850, 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 ]
if (tt != ts.EOF && tt != ts.EOL && tt != ts.SEMI && tt != ts.RC) {
if (tt != ts.EOF && tt != ts.EOL && tt != ts.SEMI && tt != ts.RC && !(tt == ts.PRIMARY && ts.getOp() == ts.THIS)) {
private Object statementHelper(TokenStream ts, Source source) throws IOException, JavaScriptException { Object pn = null; // If skipsemi == true, don't add SEMI + EOL to source at the // end of this statment. For compound statements, IF/FOR etc. boolean skipsemi = false; int tt; int lastExprType = 0; // For wellTerminated. 0 to avoid warning. tt = ts.getToken(); switch(tt) { case ts.IF: { skipsemi = true; source.append((char)ts.IF); int lineno = ts.getLineno(); Object cond = condition(ts, source); source.append((char)ts.LC); source.append((char)ts.EOL); Object ifTrue = statement(ts, source); Object ifFalse = null; if (ts.matchToken(ts.ELSE)) { source.append((char)ts.RC); source.append((char)ts.ELSE); source.append((char)ts.LC); source.append((char)ts.EOL); ifFalse = statement(ts, source); } source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createIf(cond, ifTrue, ifFalse, lineno); break; } case ts.SWITCH: { skipsemi = true; source.append((char)ts.SWITCH); pn = nf.createSwitch(ts.getLineno()); Object cur_case = null; // to kill warning Object case_statements; mustMatchToken(ts, ts.LP, "msg.no.paren.switch"); source.append((char)ts.LP); nf.addChildToBack(pn, expr(ts, source, false)); mustMatchToken(ts, ts.RP, "msg.no.paren.after.switch"); source.append((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.switch"); source.append((char)ts.LC); source.append((char)ts.EOL); while ((tt = ts.getToken()) != ts.RC && tt != ts.EOF) { switch(tt) { case ts.CASE: source.append((char)ts.CASE); cur_case = nf.createUnary(ts.CASE, expr(ts, source, false)); source.append((char)ts.COLON); source.append((char)ts.EOL); break; case ts.DEFAULT: cur_case = nf.createLeaf(ts.DEFAULT); source.append((char)ts.DEFAULT); source.append((char)ts.COLON); source.append((char)ts.EOL); // XXX check that there isn't more than one default break; default: reportError(ts, "msg.bad.switch"); break; } mustMatchToken(ts, ts.COLON, "msg.no.colon.case"); case_statements = nf.createLeaf(TokenStream.BLOCK); while ((tt = ts.peekToken()) != ts.RC && tt != ts.CASE && tt != ts.DEFAULT && tt != ts.EOF) { nf.addChildToBack(case_statements, statement(ts, source)); } // assert cur_case nf.addChildToBack(cur_case, case_statements); nf.addChildToBack(pn, cur_case); } source.append((char)ts.RC); source.append((char)ts.EOL); break; } case ts.WHILE: { skipsemi = true; source.append((char)ts.WHILE); int lineno = ts.getLineno(); Object cond = condition(ts, source); source.append((char)ts.LC); source.append((char)ts.EOL); Object body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createWhile(cond, body, lineno); break; } case ts.DO: { source.append((char)ts.DO); source.append((char)ts.LC); source.append((char)ts.EOL); int lineno = ts.getLineno(); Object body = statement(ts, source); source.append((char)ts.RC); mustMatchToken(ts, ts.WHILE, "msg.no.while.do"); source.append((char)ts.WHILE); Object cond = condition(ts, source); pn = nf.createDoWhile(body, cond, lineno); break; } case ts.FOR: { skipsemi = true; source.append((char)ts.FOR); int lineno = ts.getLineno(); Object init; // Node init is also foo in 'foo in Object' Object cond; // Node cond is also object in 'foo in Object' Object incr = null; // to kill warning Object body; mustMatchToken(ts, ts.LP, "msg.no.paren.for"); source.append((char)ts.LP); tt = ts.peekToken(); if (tt == ts.SEMI) { init = nf.createLeaf(ts.VOID); } else { if (tt == ts.VAR) { // set init to a var list or initial ts.getToken(); // throw away the 'var' token init = variables(ts, source, true); } else { init = expr(ts, source, true); } } tt = ts.peekToken(); if (tt == ts.RELOP && ts.getOp() == ts.IN) { ts.matchToken(ts.RELOP); source.append((char)ts.IN); // 'cond' is the object over which we're iterating cond = expr(ts, source, false); } else { // ordinary for loop mustMatchToken(ts, ts.SEMI, "msg.no.semi.for"); source.append((char)ts.SEMI); if (ts.peekToken() == ts.SEMI) { // no loop condition cond = nf.createLeaf(ts.VOID); } else { cond = expr(ts, source, false); } mustMatchToken(ts, ts.SEMI, "msg.no.semi.for.cond"); source.append((char)ts.SEMI); if (ts.peekToken() == ts.RP) { incr = nf.createLeaf(ts.VOID); } else { incr = expr(ts, source, false); } } mustMatchToken(ts, ts.RP, "msg.no.paren.for.ctrl"); source.append((char)ts.RP); source.append((char)ts.LC); source.append((char)ts.EOL); body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); if (incr == null) { // cond could be null if 'in obj' got eaten by the init node. pn = nf.createForIn(init, cond, body, lineno); } else { pn = nf.createFor(init, cond, incr, body, lineno); } break; } case ts.TRY: { int lineno = ts.getLineno(); Object tryblock; Object catchblocks = null; Object finallyblock = null; skipsemi = true; source.append((char)ts.TRY); source.append((char)ts.LC); source.append((char)ts.EOL); tryblock = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); catchblocks = nf.createLeaf(TokenStream.BLOCK); int peek = ts.peekToken(); if (peek == ts.CATCH) { while (ts.matchToken(ts.CATCH)) { source.append((char)ts.CATCH); mustMatchToken(ts, ts.LP, "msg.no.paren.catch"); source.append((char)ts.LP); mustMatchToken(ts, ts.NAME, "msg.bad.catchcond"); String varName = ts.getString(); source.addString(ts.NAME, varName); Object catchCond = null; if (implementsCatchCond && ts.matchToken(ts.COLON)) { source.append((char)ts.COLON); catchCond = expr(ts, source, false); } mustMatchToken(ts, ts.RP, "msg.bad.catchcond"); source.append((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.catchblock"); source.append((char)ts.LC); source.append((char)ts.EOL); nf.addChildToBack(catchblocks, nf.createCatch(varName, catchCond, statements(ts, source), ts.getLineno())); mustMatchToken(ts, ts.RC, "msg.no.brace.after.body"); source.append((char)ts.RC); source.append((char)ts.EOL); } } else if (peek != ts.FINALLY) { mustMatchToken(ts, ts.FINALLY, "msg.try.no.catchfinally"); } if (ts.matchToken(ts.FINALLY)) { source.append((char)ts.FINALLY); source.append((char)ts.LC); source.append((char)ts.EOL); finallyblock = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); } pn = nf.createTryCatchFinally(tryblock, catchblocks, finallyblock, lineno); break; } case ts.THROW: { int lineno = ts.getLineno(); source.append((char)ts.THROW); pn = nf.createThrow(expr(ts, source, false), lineno); if (lineno == ts.getLineno()) wellTerminated(ts, ts.ERROR); break; } case ts.BREAK: { int lineno = ts.getLineno(); source.append((char)ts.BREAK); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { source.addString(ts.NAME, label); } pn = nf.createBreak(label, lineno); break; } case ts.CONTINUE: { int lineno = ts.getLineno(); source.append((char)ts.CONTINUE); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { source.addString(ts.NAME, label); } pn = nf.createContinue(label, lineno); break; } case ts.WITH: { skipsemi = true; source.append((char)ts.WITH); int lineno = ts.getLineno(); mustMatchToken(ts, ts.LP, "msg.no.paren.with"); source.append((char)ts.LP); Object obj = expr(ts, source, false); mustMatchToken(ts, ts.RP, "msg.no.paren.after.with"); source.append((char)ts.RP); source.append((char)ts.LC); source.append((char)ts.EOL); Object body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createWith(obj, body, lineno); break; } case ts.VAR: { int lineno = ts.getLineno(); pn = variables(ts, source, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); break; } case ts.RETURN: { Object retExpr = null; int lineno = 0; source.append((char)ts.RETURN); // bail if we're not in a (toplevel) function if ((ts.flags & ts.TSF_FUNCTION) == 0) reportError(ts, "msg.bad.return"); /* This is ugly, but we don't want to require a semicolon. */ ts.flags |= ts.TSF_REGEXP; tt = ts.peekTokenSameLine(); ts.flags &= ~ts.TSF_REGEXP; if (tt != ts.EOF && tt != ts.EOL && tt != ts.SEMI && tt != ts.RC) { lineno = ts.getLineno(); retExpr = expr(ts, source, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); ts.flags |= ts.TSF_RETURN_EXPR; } else { ts.flags |= ts.TSF_RETURN_VOID; } if ((ts.flags & (ts.TSF_RETURN_EXPR | ts.TSF_RETURN_VOID)) == (ts.TSF_RETURN_EXPR | ts.TSF_RETURN_VOID)) reportError(ts, "msg.fn.retval"); // XXX ASSERT pn pn = nf.createReturn(retExpr, lineno); break; } case ts.LC: skipsemi = true; pn = statements(ts, source); mustMatchToken(ts, ts.RC, "msg.no.brace.block"); break; case ts.ERROR: reportError(ts, "msg.scanner.caught.error"); // Fall thru, to have a node for error recovery to work on case ts.EOL: case ts.SEMI: pn = nf.createLeaf(ts.VOID); skipsemi = true; break; default: { lastExprType = tt; int tokenno = ts.getTokenno(); ts.ungetToken(tt); int lineno = ts.getLineno(); pn = expr(ts, source, false); if (ts.peekToken() == ts.COLON) { /* check that the last thing the tokenizer returned was a * NAME and that only one token was consumed. */ if (lastExprType != ts.NAME || (ts.getTokenno() != tokenno)) reportError(ts, "msg.bad.label"); ts.getToken(); // eat the COLON /* in the C source, the label is associated with the * statement that follows: * nf.addChildToBack(pn, statement(ts)); */ String name = ts.getString(); pn = nf.createLabel(name, lineno); // depend on decompiling lookahead to guess that that // last name was a label. source.append((char)ts.COLON); source.append((char)ts.EOL); return pn; } pn = nf.createExprStatement(pn, lineno); /* * Check explicitly against (multi-line) function * statement. * lastExprEndLine is a hack to fix an * automatic semicolon insertion problem with function * expressions; the ts.getLineno() == lineno check was * firing after a function definition even though the * next statement was on a new line, because * speculative getToken calls advanced the line number * even when they didn't succeed. */ if (ts.getLineno() == lineno || (lastExprType == ts.FUNCTION && ts.getLineno() == lastExprEndLine)) { wellTerminated(ts, lastExprType); } break; } } ts.matchToken(ts.SEMI); if (!skipsemi) { source.append((char)ts.SEMI); source.append((char)ts.EOL); } return pn; }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/7b356f28dc70a29a83bd20fd8531240905b10ee9/Parser.java/buggy/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3021, 2276, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 446, 31, 3639, 368, 971, 2488, 307, 9197, 422, 638, 16, 2727, 1404, 527, 3174, 7492, 397, 19995, 358, 1084, 622, 326, 3639, 368, 679, 434, 333, 610, 475, 18, 225, 2457, 11360, 6317, 16, 11083, 19, 7473, 5527, 18, 3639, 1250, 2488, 307, 9197, 273, 629, 31, 3639, 509, 3574, 31, 3639, 509, 1142, 4742, 559, 273, 374, 31, 225, 368, 2457, 5492, 21888, 18, 225, 374, 358, 4543, 3436, 18, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3742, 18, 5501, 30, 288, 5411, 2488, 307, 9197, 273, 638, 31, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 5501, 1769, 5411, 509, 7586, 273, 3742, 18, 588, 48, 267, 5764, 5621, 5411, 1033, 6941, 273, 2269, 12, 3428, 16, 1084, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 13394, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 5842, 1769, 5411, 1033, 309, 5510, 273, 3021, 12, 3428, 16, 1084, 1769, 5411, 1033, 309, 8381, 273, 446, 31, 5411, 309, 261, 3428, 18, 1916, 1345, 12, 3428, 18, 2247, 1090, 3719, 288, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 11529, 1769, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 2247, 1090, 1769, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 13394, 1769, 7734, 1084, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3021, 2276, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 446, 31, 3639, 368, 971, 2488, 307, 9197, 422, 638, 16, 2727, 1404, 527, 3174, 7492, 397, 19995, 358, 1084, 622, 326, 3639, 368, 679, 434, 333, 610, 475, 18, 225, 2457, 11360, 6317, 16, 11083, 19, 7473, 5527, 18, 3639, 1250, 2488, 307, 9197, 273, 629, 31, 3639, 509, 3574, 31, 3639, 509, 1142, 4742, 559, 273, 374, 31, 225, 368, 2457, 5492, 21888, 18, 225, 374, 358, 4543, 3436, 18, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3742, 18, 5501, 30, 288, 5411, 2 ]
if (myMouseInside)
if (myMouseInside) {
public Paint getOutlinePaint() { if (myMouseInside) return getHighlightOutlineColor(); else if (mySelected) return getSelectedOutlineColor(); else return myOutlineColor; }
11319 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11319/5a27ee0fb244c1de62fe044d34d5e1838dacefef/Lozenge.java/buggy/datagrabber/src/org/cougaar/mlm/ui/newtpfdd/gui/component/Lozenge.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 30001, 336, 21805, 12699, 1435, 288, 202, 430, 261, 4811, 9186, 18619, 13, 202, 565, 327, 7628, 2031, 5099, 21805, 2957, 5621, 202, 12107, 309, 261, 4811, 7416, 13, 202, 565, 327, 16625, 21805, 2957, 5621, 202, 12107, 202, 565, 327, 3399, 21805, 2957, 31, 565, 289, 282, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 30001, 336, 21805, 12699, 1435, 288, 202, 430, 261, 4811, 9186, 18619, 13, 202, 565, 327, 7628, 2031, 5099, 21805, 2957, 5621, 202, 12107, 309, 261, 4811, 7416, 13, 202, 565, 327, 16625, 21805, 2957, 5621, 202, 12107, 202, 565, 327, 3399, 21805, 2957, 31, 565, 289, 282, 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 ]
table2dc.put("ItemsBySubject", item.getDC("subject", Item.ANY, Item.ANY));
table2dc.put("ItemsBySubject", item .getDC("subject", Item.ANY, Item.ANY));
public static void itemAdded(Context context, Item item) throws SQLException { // add all parent communities to communities2item table Community[] parents = item.getCommunities(); for (int j = 0; j < parents.length; j++) { TableRow row = DatabaseManager.create(context, "Communities2Item"); row.setColumn("item_id", item.getID()); row.setColumn("community_id", parents[j].getID()); DatabaseManager.update(context, row); } Map table2dc = new HashMap(); table2dc.put("ItemsByTitle", item.getDC("title", null, Item.ANY)); table2dc.put("ItemsByAuthor", item.getDC("creator", null, Item.ANY)); table2dc.put("ItemsByDate", item.getDC("date", "issued", Item.ANY)); table2dc.put("ItemsByDateAccessioned", item.getDC("date", "accessioned", Item.ANY)); // TODO: Get from config? (Richard Jones patch?) table2dc.put("ItemsBySubject", item.getDC("subject", Item.ANY, Item.ANY)); for (Iterator iterator = table2dc.keySet().iterator(); iterator .hasNext();) { String table = (String) iterator.next(); DCValue[] dc = (DCValue[]) table2dc.get(table); for (int i = 0; i < dc.length; i++) { TableRow row = DatabaseManager.create(context, table); row.setColumn("item_id", item.getID()); String value = dc[i].value; if ("ItemsByDateAccessioned".equals(table)) { row.setColumn("date_accessioned", value); } else if ("ItemsByDate".equals(table)) { row.setColumn("date_issued", value); } else if ("ItemsByAuthor".equals(table)) { // author name, and normalized sorting name // (which for now is simple lower-case) row.setColumn("author", value); row.setColumn("sort_author", value.toLowerCase()); } else if ("ItemsByTitle".equals(table)) { String title = NormalizedTitle.normalize(value, dc[i].language); row.setColumn("title", value); row.setColumn("sort_title", title.toLowerCase()); } else if ("ItemsBySubject".equals(table)) { row.setColumn("subject", value); row.setColumn("sort_subject", value.toLowerCase()); } DatabaseManager.update(context, row); } } }
1868 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1868/36e0aff656ae4c75308793a5e6744544f92e9646/Browse.java/clean/dspace/src/org/dspace/browse/Browse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 761, 8602, 12, 1042, 819, 16, 4342, 761, 13, 5411, 1216, 6483, 565, 288, 3639, 368, 527, 777, 982, 8391, 1961, 358, 8391, 1961, 22, 1726, 1014, 3639, 16854, 13352, 8526, 6298, 273, 761, 18, 588, 12136, 318, 1961, 5621, 3639, 364, 261, 474, 525, 273, 374, 31, 525, 411, 6298, 18, 2469, 31, 525, 27245, 3639, 288, 5411, 3555, 1999, 1027, 273, 5130, 1318, 18, 2640, 12, 2472, 16, 315, 12136, 318, 1961, 22, 1180, 8863, 5411, 1027, 18, 542, 1494, 2932, 1726, 67, 350, 3113, 761, 18, 588, 734, 10663, 5411, 1027, 18, 542, 1494, 2932, 20859, 67, 350, 3113, 6298, 63, 78, 8009, 588, 734, 10663, 5411, 5130, 1318, 18, 2725, 12, 2472, 16, 1027, 1769, 3639, 289, 3639, 1635, 1014, 22, 7201, 273, 394, 4317, 5621, 3639, 1014, 22, 7201, 18, 458, 2932, 3126, 858, 4247, 3113, 761, 18, 588, 5528, 2932, 2649, 3113, 446, 16, 4342, 18, 15409, 10019, 3639, 1014, 22, 7201, 18, 458, 2932, 3126, 858, 3594, 3113, 761, 18, 588, 5528, 2932, 20394, 3113, 446, 16, 7734, 4342, 18, 15409, 10019, 3639, 1014, 22, 7201, 18, 458, 2932, 3126, 858, 1626, 3113, 761, 18, 588, 5528, 2932, 712, 3113, 315, 1054, 5957, 3113, 4342, 18, 15409, 10019, 3639, 1014, 22, 7201, 18, 458, 2932, 3126, 858, 1626, 1862, 285, 329, 3113, 761, 18, 588, 5528, 2932, 712, 3113, 7734, 315, 3860, 285, 329, 3113, 4342, 18, 15409, 10019, 3639, 368, 2660, 30, 968, 628, 642, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 761, 8602, 12, 1042, 819, 16, 4342, 761, 13, 5411, 1216, 6483, 565, 288, 3639, 368, 527, 777, 982, 8391, 1961, 358, 8391, 1961, 22, 1726, 1014, 3639, 16854, 13352, 8526, 6298, 273, 761, 18, 588, 12136, 318, 1961, 5621, 3639, 364, 261, 474, 525, 273, 374, 31, 525, 411, 6298, 18, 2469, 31, 525, 27245, 3639, 288, 5411, 3555, 1999, 1027, 273, 5130, 1318, 18, 2640, 12, 2472, 16, 315, 12136, 318, 1961, 22, 1180, 8863, 5411, 1027, 18, 542, 1494, 2932, 1726, 67, 350, 3113, 761, 18, 588, 734, 10663, 5411, 1027, 18, 542, 1494, 2932, 20859, 67, 350, 3113, 6298, 63, 78, 8009, 588, 734, 10663, 5411, 5130, 1318, 18, 2725, 12, 2 ]
listenerList.add (ListDataListener.class, listener);
listenerList.add(ListDataListener.class, listener);
public void addListDataListener(ListDataListener listener) { listenerList.add (ListDataListener.class, listener); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/0788b89b7368770a1157f825d60dd8c5a9df183e/AbstractListModel.java/clean/core/src/classpath/javax/javax/swing/AbstractListModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 682, 751, 2223, 12, 682, 751, 2223, 2991, 13, 282, 288, 565, 2991, 682, 18, 1289, 12, 682, 751, 2223, 18, 1106, 16, 2991, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 527, 682, 751, 2223, 12, 682, 751, 2223, 2991, 13, 282, 288, 565, 2991, 682, 18, 1289, 12, 682, 751, 2223, 18, 1106, 16, 2991, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
cat.error("Not contained in XMI: " + it.next());
LOG.error("Not contained in XMI: " + it.next());
private void logNotContainedElements(XMIWriter xmiwriter) { if (xmiwriter != null) { Iterator it = xmiwriter.getNotContainedElements().iterator(); while (it.hasNext()) cat.error("Not contained in XMI: " + it.next()); } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/56eeb0d4d18fb3e553e32d15e2c45dccd76eb958/ProjectMemberModel.java/buggy/src_new/org/argouml/uml/ProjectMemberModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 613, 1248, 660, 8707, 3471, 12, 60, 7492, 2289, 619, 9197, 6299, 13, 288, 3639, 309, 261, 92, 9197, 6299, 480, 446, 13, 288, 5411, 4498, 518, 273, 619, 9197, 6299, 18, 588, 1248, 660, 8707, 3471, 7675, 9838, 5621, 5411, 1323, 261, 305, 18, 5332, 2134, 10756, 7734, 2018, 18, 1636, 2932, 1248, 7542, 316, 1139, 7492, 30, 315, 397, 518, 18, 4285, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 613, 1248, 660, 8707, 3471, 12, 60, 7492, 2289, 619, 9197, 6299, 13, 288, 3639, 309, 261, 92, 9197, 6299, 480, 446, 13, 288, 5411, 4498, 518, 273, 619, 9197, 6299, 18, 588, 1248, 660, 8707, 3471, 7675, 9838, 5621, 5411, 1323, 261, 305, 18, 5332, 2134, 10756, 7734, 2018, 18, 1636, 2932, 1248, 7542, 316, 1139, 7492, 30, 315, 397, 518, 18, 4285, 10663, 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 ]
0, 0, 0, 0, 787, 0, 0, 106, 47, 48,
0, 0, 0, 0, 276, 0, 0, 106, 47, 48,
private static final short[] yyTable4() { return new short[] { 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 45, 58, 0, 46, 47, 48, 49, 0, 50, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 3, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 45, 233, 0, 261, 47, 48, 49, 0, 50, 412, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 0, 0, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 233, 0, 0, 0, 0, 45, 0, 0, 46, 47, 48, 49, 0, 50, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 0, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 0, 0, 46, 47, 48, 49, 0, 50, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 0, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 231, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 231, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 414, 48, 49, 0, 231, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 611, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 615, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 611, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 804, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 808, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 812, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 867, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 251, 0, 0, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 869, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 881, 232, 51, 52, 53, 54, 55, 56, 0, 251, 251, 251, 57, 251, 0, 0, 0, 251, 251, 0, 0, 0, 251, 0, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 0, 251, 251, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 251, 251, 251, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 4, 5, 6, 251, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 266, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 526, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 526, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 593, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 483, 0, 0, 0, 0, 0, 0, 483, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 641, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 483, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 769, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 798, 0, 51, 52, 53, 54, 55, 56, 0, 483, 483, 483, 57, 483, 0, 0, 0, 483, 483, 0, 0, 0, 483, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 0, 483, 483, 0, 483, 483, 59, 0, 0, 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 0, 0, 0, 483, 483, 483, 483, 483, 483, 0, 4, 5, 6, 483, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 0, 207, 0, 0, 106, 47, 48, 49, 0, 47, 0, 51, 52, 53, 54, 55, 56, 0, 213, 213, 213, 57, 213, 0, 0, 0, 213, 213, 0, 0, 0, 213, 0, 213, 213, 213, 213, 213, 213, 213, 47, 0, 0, 0, 213, 213, 213, 213, 213, 213, 213, 0, 0, 0, 0, 0, 0, 47, 47, 0, 213, 0, 0, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 0, 213, 213, 0, 213, 213, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 213, 0, 0, 213, 213, 213, 213, 175, 0, 174, 213, 213, 213, 213, 213, 213, 0, 0, 0, 0, 213, 0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 47, 47, 47, 0, 0, 47, 47, 47, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 47, 47, 0, 47, 47, 47, 47, 47, 0, 0, 0, 0, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 251, 0, 199, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 0, 200, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 0, 0, 199, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 183, 178, 0, 186, 0, 181, 179, 0, 180, 173, 182, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 176, 182, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 35, 36, 159, 38, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 116, 117, 118, 119, 120, 121, 122, 123, 0, 173, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 281, 282, 199, 283, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 183, 178, 0, 0, 0, 181, 179, 0, 180, 173, 182, 0, 0, 0, 520, 516, 0, 0, 521, 0, 0, 0, 0, 175, 0, 174, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 183, 178, 0, 0, 0, 181, 179, 0, 180, 173, 182, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 177, 184, 185, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 0, 0, 199, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 0, 0, 0, 0, 546, 509, 0, 0, 547, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 584, 509, 0, 0, 585, 0, 0, 0, 0, 173, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 587, 516, 0, 173, 588, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 183, 178, 0, 0, 0, 181, 179, 0, 180, 173, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 177, 184, 185, 175, 0, 174, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 175, 0, 174, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 177, 184, 185, 175, 0, 174, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 175, 0, 174, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 177, 184, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 602, 509, 0, 0, 603, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 605, 516, 0, 0, 606, 0, 0, 0, 0, 173, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 643, 509, 0, 173, 644, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 646, 516, 0, 0, 647, 0, 0, 0, 0, 173, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 857, 509, 0, 173, 858, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 860, 516, 0, 0, 861, 0, 0, 0, 0, 173, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 4, 5, 6, 0, 8, 0, 0, 173, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 102, 34, 35, 36, 103, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 104, 0, 0, 105, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 107, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 0, 0, 46, 47, 48, 49, 0, 50, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 107, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 276, 0, 0, 349, 47, 48, 49, 0, 350, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 107, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 276, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 107, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 787, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 107, }; }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 24, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 5411, 374, 16, 565, 374, 16, 565, 374, 16, 282, 5342, 16, 282, 4200, 16, 282, 9035, 16, 282, 11201, 16, 282, 10213, 16, 282, 4248, 16, 282, 6969, 16, 2398, 374, 16, 565, 374, 16, 282, 10659, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 282, 12732, 16, 282, 9131, 16, 5411, 12899, 16, 282, 5196, 16, 282, 8231, 16, 282, 3847, 16, 282, 13159, 16, 282, 13438, 16, 282, 13191, 16, 282, 6580, 16, 282, 18091, 16, 282, 18012, 16, 5411, 16977, 16, 282, 8063, 16, 565, 374, 16, 282, 20170, 16, 282, 14856, 16, 565, 374, 16, 282, 21193, 16, 282, 13291, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 282, 14995, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 282, 12292, 16, 282, 17066, 16, 565, 374, 16, 282, 17077, 16, 5411, 17495, 16, 282, 9934, 16, 282, 17160, 16, 565, 374, 16, 282, 6437, 16, 565, 374, 16, 282, 21119, 16, 282, 18106, 16, 282, 15935, 16, 282, 22431, 16, 5411, 21483, 16, 282, 13850, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 282, 15981, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 24, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 5411, 374, 16, 565, 374, 16, 565, 374, 16, 282, 5342, 16, 282, 4200, 16, 282, 9035, 16, 282, 11201, 16, 282, 10213, 16, 282, 4248, 16, 282, 6969, 16, 2398, 374, 16, 565, 374, 16, 282, 10659, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 282, 12732, 16, 282, 9131, 16, 5411, 12899, 16, 282, 5196, 16, 282, 8231, 16, 282, 3847, 16, 282, 13159, 16, 282, 13438, 16, 282, 13191, 16, 282, 6580, 16, 282, 18091, 16, 282, 18012, 16, 5411, 16977, 16, 282, 8063, 16, 565, 374, 16, 282, 20170, 16, 2 ]
m_remoteAddr = addr;
remoteAddr = addr;
public void setClientAddress(InetAddress addr) { m_remoteAddr = addr; }
48500 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48500/f8bdbb2dab0d67be139dd05d6110e466306c8868/FtpRequestImpl.java/buggy/src/java/org/apache/ftpserver/FtpRequestImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26001, 1887, 12, 382, 278, 1887, 3091, 13, 288, 3639, 30184, 273, 3091, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26001, 1887, 12, 382, 278, 1887, 3091, 13, 288, 3639, 30184, 273, 3091, 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 ]
if (actionsetId.equals(id)) itemsToRemove.add(items[i]);
if (actionsetId.equals(id)) { itemsToRemove.add(items[i]); }
private void revokeActionSetFromToolbar(IToolBarManager toolbarMgr, String actionsetId) { IContributionItem[] items = toolbarMgr.getItems(); ArrayList itemsToRemove = new ArrayList(); String id; for (int i = 0; i < items.length; i++) { id = items[i].getId(); if (id.equals(actionsetId)) { itemsToRemove.add(items[i]); continue; } if (items[i] instanceof PluginActionCoolBarContributionItem) { id = ((PluginActionCoolBarContributionItem) items[i]) .getActionSetId(); if (actionsetId.equals(id)) itemsToRemove.add(items[i]); } else if (items[i] instanceof ActionContributionItem) { id = ((ActionContributionItem) items[i]).getId(); if (actionsetId.equals(id)) itemsToRemove.add(items[i]); } else if (items[i] instanceof GroupMarker) { id = ((GroupMarker) items[i]).getId(); if (actionsetId.equals(id)) itemsToRemove.add(items[i]); } } Iterator iter = itemsToRemove.iterator(); while (iter.hasNext()) toolbarMgr.remove((IContributionItem) iter.next()); toolbarMgr.update(true); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/PluginActionSetBuilder.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PluginActionSetBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 18007, 1803, 694, 1265, 17907, 12, 45, 6364, 5190, 1318, 12748, 9455, 16, 7734, 514, 1301, 542, 548, 13, 288, 5411, 467, 442, 4027, 1180, 8526, 1516, 273, 12748, 9455, 18, 588, 3126, 5621, 5411, 2407, 1516, 12765, 273, 394, 2407, 5621, 5411, 514, 612, 31, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 288, 7734, 612, 273, 1516, 63, 77, 8009, 26321, 5621, 7734, 309, 261, 350, 18, 14963, 12, 1128, 542, 548, 3719, 288, 10792, 1516, 12765, 18, 1289, 12, 3319, 63, 77, 19226, 10792, 1324, 31, 7734, 289, 7734, 309, 261, 3319, 63, 77, 65, 1276, 6258, 1803, 39, 1371, 5190, 442, 4027, 1180, 13, 288, 10792, 612, 273, 14015, 3773, 1803, 39, 1371, 5190, 442, 4027, 1180, 13, 1516, 63, 77, 5717, 18701, 263, 588, 1803, 18523, 5621, 10792, 309, 261, 1128, 542, 548, 18, 14963, 12, 350, 3719, 13491, 1516, 12765, 18, 1289, 12, 3319, 63, 77, 19226, 7734, 289, 469, 309, 261, 3319, 63, 77, 65, 1276, 4382, 442, 4027, 1180, 13, 288, 10792, 612, 273, 14015, 1803, 442, 4027, 1180, 13, 1516, 63, 77, 65, 2934, 26321, 5621, 10792, 309, 261, 1128, 542, 548, 18, 14963, 12, 350, 3719, 13491, 1516, 12765, 18, 1289, 12, 3319, 63, 77, 19226, 7734, 289, 469, 309, 261, 3319, 63, 77, 65, 1276, 3756, 7078, 13, 288, 10792, 612, 273, 14015, 1114, 7078, 13, 1516, 63, 77, 65, 2934, 26321, 5621, 10792, 309, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 18007, 1803, 694, 1265, 17907, 12, 45, 6364, 5190, 1318, 12748, 9455, 16, 7734, 514, 1301, 542, 548, 13, 288, 5411, 467, 442, 4027, 1180, 8526, 1516, 273, 12748, 9455, 18, 588, 3126, 5621, 5411, 2407, 1516, 12765, 273, 394, 2407, 5621, 5411, 514, 612, 31, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 288, 7734, 612, 273, 1516, 63, 77, 8009, 26321, 5621, 7734, 309, 261, 350, 18, 14963, 12, 1128, 542, 548, 3719, 288, 10792, 1516, 12765, 18, 1289, 12, 3319, 63, 77, 19226, 10792, 1324, 31, 7734, 289, 7734, 309, 261, 3319, 63, 77, 65, 1276, 6258, 1803, 39, 1371, 5190, 442, 4027, 1180, 13, 2 ]
}
private void constructFromInputStream(InputStreamReader treeInputStream) throws IOException { int lineNum = 2; int depthMarker; BufferedReader bReader = new BufferedReader(treeInputStream); JreepadNode babyNode; children = new Vector(); Stack nodeStack = new Stack(); nodeStack.push(this); int hjtFileFormat = -1; String dtLine, nodeLine, titleLine, depthLine; StringBuffer currentContent; String currentLine = bReader.readLine(); // Read the first line, check for treepadness if((currentLine.toLowerCase().startsWith("<treepad") && currentLine.endsWith(">")) ) { hjtFileFormat = 1; } else if((currentLine.toLowerCase().startsWith("<hj-treepad") && currentLine.endsWith(">")) ) { hjtFileFormat = 2; } else { throw new IOException("\"<Treepad>\" tag not found at beginning of file!\n(This can be caused by having the wrong character set specified.)"); } dtLine = "dt=text"; while( (hjtFileFormat == 2 || (dtLine = bReader.readLine())!=null) && (nodeLine = bReader.readLine())!=null && (titleLine = bReader.readLine())!=null && (depthLine = bReader.readLine())!=null) { // Read "dt=text" [or error] - NB THE OLDER FORMAT DOESN'T INCLUDE THIS LINE SO WE SKIP IT if(dtLine.equals("") && nodeLine.startsWith("<bmarks>")) throw new IOException("This is not a Treepad-Lite-compatible file!\n\nFiles created in more advanced versions of Treepad\ncontain features that are not available in Jreepad."); if(hjtFileFormat != 2) if(! (dtLine.toLowerCase().startsWith("dt=text"))) throw new IOException("Unrecognised node dt format at line " + lineNum + ": " + dtLine); // Read "<node>" [or error] if(! (nodeLine.toLowerCase().startsWith("<node>"))) throw new IOException("Unrecognised node format at line " + (lineNum+1) + ": " + nodeLine);// System.out.println("Found node (depth " + depthLine + "): " + titleLine); lineNum += 4; // Read THE CONTENT! [loop until we find "<end node> 5P9i0s8y19Z"] currentContent = new StringBuffer(); while((currentLine = bReader.readLine())!=null && !currentLine.equals("<end node> 5P9i0s8y19Z")) { currentContent.append(currentLine + lineSeparator); lineNum++; } // Now, having established the content and the title and the depth, we'll create the child babyNode = new JreepadNode(titleLine, currentContent.substring(0, Math.max(currentContent.length()-2,0)), (JreepadNode)(nodeStack.peek()));// babyNode = new JreepadNode(titleLine, currentContent.toString()); if(depthLine.equals("0")) { this.title = titleLine; this.content = currentContent.toString(); } else { depthMarker = Integer.parseInt(depthLine); while(nodeStack.size()>depthMarker) nodeStack.pop(); // System.out.println(" Adding it to a "); ((JreepadNode)(nodeStack.peek())).addChild(babyNode); nodeStack.push(babyNode); // Remember THE LEVEL! [single integer: 0 is root node, 1 is children of root, etc.] // Now add the correct node to the right point in the tree } } } // End of constructor from FileInputStream
6364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6364/8c5e55c0d3808a1585418f3545c02fded2202381/JreepadNode.java/clean/jreepad/src/jreepad/JreepadNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 4872, 1265, 4348, 12, 4348, 2514, 2151, 4348, 13, 1216, 1860, 225, 288, 565, 509, 980, 2578, 273, 576, 31, 565, 509, 3598, 7078, 31, 565, 10633, 324, 2514, 273, 394, 10633, 12, 3413, 4348, 1769, 565, 804, 266, 881, 361, 907, 324, 24383, 907, 31, 565, 2325, 273, 394, 5589, 5621, 565, 7283, 756, 2624, 273, 394, 7283, 5621, 565, 756, 2624, 18, 6206, 12, 2211, 1769, 3639, 509, 366, 78, 88, 812, 1630, 273, 300, 21, 31, 565, 514, 3681, 1670, 16, 756, 1670, 16, 2077, 1670, 16, 3598, 1670, 31, 565, 6674, 783, 1350, 31, 565, 514, 22325, 273, 324, 2514, 18, 896, 1670, 5621, 368, 2720, 326, 1122, 980, 16, 866, 364, 9787, 881, 361, 4496, 565, 309, 12443, 2972, 1670, 18, 869, 5630, 7675, 17514, 1190, 2932, 32, 27427, 881, 361, 7923, 597, 22325, 18, 5839, 1190, 2932, 2984, 3719, 262, 565, 288, 1377, 366, 78, 88, 812, 1630, 273, 404, 31, 4202, 469, 309, 12443, 2972, 1670, 18, 869, 5630, 7675, 17514, 1190, 2932, 32, 76, 78, 17, 27427, 881, 361, 7923, 597, 22325, 18, 5839, 1190, 2932, 2984, 3719, 262, 565, 288, 1377, 366, 78, 88, 812, 1630, 273, 576, 31, 4202, 469, 565, 288, 1377, 604, 394, 1860, 2932, 2412, 32, 56, 266, 881, 361, 34, 2412, 1047, 486, 1392, 622, 8435, 434, 585, 24440, 82, 12, 2503, 848, 506, 15848, 635, 7999, 326, 7194, 3351, 444, 1269, 18, 2225, 1769, 6647, 3681, 1670, 273, 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, 3238, 918, 4872, 1265, 4348, 12, 4348, 2514, 2151, 4348, 13, 1216, 1860, 225, 288, 565, 509, 980, 2578, 273, 576, 31, 565, 509, 3598, 7078, 31, 565, 10633, 324, 2514, 273, 394, 10633, 12, 3413, 4348, 1769, 565, 804, 266, 881, 361, 907, 324, 24383, 907, 31, 565, 2325, 273, 394, 5589, 5621, 565, 7283, 756, 2624, 273, 394, 7283, 5621, 565, 756, 2624, 18, 6206, 12, 2211, 1769, 3639, 509, 366, 78, 88, 812, 1630, 273, 300, 21, 31, 565, 514, 3681, 1670, 16, 756, 1670, 16, 2077, 1670, 16, 3598, 1670, 31, 565, 6674, 783, 1350, 31, 565, 514, 22325, 273, 324, 2514, 18, 896, 1670, 5621, 368, 2720, 326, 1122, 980, 16, 866, 364, 2 ]