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
log().info("Persiting data for resource "+resource);
log().info("Persisting data for resource "+resource);
public void visitResource(CollectionResource resource) { log().info("Persiting data for resource "+resource); pushShouldPersist(resource); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/f5ef55e2fe09f2882c095a745c4c8514f2750533/BasePersister.java/buggy/opennms-services/src/main/java/org/opennms/netmgt/collectd/BasePersister.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 1420, 12, 2532, 1420, 1058, 13, 288, 3639, 613, 7675, 1376, 2932, 12771, 310, 501, 364, 1058, 13773, 3146, 1769, 3639, 1817, 14309, 12771, 12, 3146, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 1420, 12, 2532, 1420, 1058, 13, 288, 3639, 613, 7675, 1376, 2932, 12771, 310, 501, 364, 1058, 13773, 3146, 1769, 3639, 1817, 14309, 12771, 12, 3146, 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 ]
public String stopFunction(int savedTop)
String stopFunction(int savedTop)
public String stopFunction(int savedTop) { if (!(0 <= savedTop && savedTop <= sourceTop)) throw new IllegalArgumentException(); String encoded = sourceToString(savedTop); sourceTop = savedTop; return encoded; }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/26830fb45b7c82a7760eb0041f4a6ad5b88bfc73/Parser.java/clean/src/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 514, 2132, 2083, 12, 474, 5198, 3401, 13, 565, 288, 3639, 309, 16051, 12, 20, 1648, 5198, 3401, 597, 5198, 3401, 1648, 1084, 3401, 3719, 5411, 604, 394, 2754, 5621, 3639, 514, 3749, 273, 1084, 5808, 12, 14077, 3401, 1769, 3639, 1084, 3401, 273, 5198, 3401, 31, 3639, 327, 3749, 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, 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, 377, 514, 2132, 2083, 12, 474, 5198, 3401, 13, 565, 288, 3639, 309, 16051, 12, 20, 1648, 5198, 3401, 597, 5198, 3401, 1648, 1084, 3401, 3719, 5411, 604, 394, 2754, 5621, 3639, 514, 3749, 273, 1084, 5808, 12, 14077, 3401, 1769, 3639, 1084, 3401, 273, 5198, 3401, 31, 3639, 327, 3749, 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 ]
storeParametersForLinux(asm, frameSize, method, klass);
public static synchronized VM_CompiledMethod compile (VM_NativeMethod method) { VM_JNICompiledMethod cm = (VM_JNICompiledMethod)VM_CompiledMethods.createCompiledMethod(method, VM_CompiledMethod.JNI); int compiledMethodId = cm.getId(); VM_Assembler asm = new VM_Assembler(0); int frameSize = VM_Compiler.getFrameSize(method); VM_Class klass = method.getDeclaringClass(); /* initialization */ if (VM.VerifyAssertions) VM._assert(T3 <= LAST_VOLATILE_GPR); // need 4 gp temps if (VM.VerifyAssertions) VM._assert(F3 <= LAST_VOLATILE_FPR); // need 4 fp temps if (VM.VerifyAssertions) VM._assert(S0 < SP && SP <= LAST_SCRATCH_GPR); // need 2 scratch VM_Address bootRecordAddress = VM_Magic.objectAsAddress(VM_BootRecord.the_boot_record); int lockoutLockOffset = VM_Entrypoints.lockoutProcessorField.getOffset(); VM_Address lockoutLockAddress = bootRecordAddress.add(lockoutLockOffset); int sysTOCOffset = VM_Entrypoints.sysTOCField.getOffset(); int sysYieldIPOffset = VM_Entrypoints.sysVirtualProcessorYieldIPField.getOffset(); VM_Address gCFlagAddress = VM_Magic.objectAsAddress(VM_BootRecord.the_boot_record).add(VM_Entrypoints.globalGCInProgressFlagField.getOffset()); int nativeIP = method.getNativeIP(); int nativeTOC = method.getNativeTOC(); // NOTE: this must be done before the condition VM_Thread.hasNativeStackFrame() become true // so that the first Java to C transition will be allowed to resize the stack // (currently, this is true when the JNIRefsTop index has been incremented from 0) asm.emitNativeStackOverflowCheck(frameSize + 14); // add at least 14 for C frame (header + spill) int numValues = method.getParameterWords(); // number of arguments for this method int parameterAreaSize = (numValues) * 4; asm.emitMFLR(0); // save return address in caller frame asm.emitST(0, STACKFRAME_NEXT_INSTRUCTION_OFFSET, FP); // this was set up the first time by DynamicBridgeTo() asm.emitSTU (FP, -frameSize, FP); // get transition frame on stack asm.emitST (JTOC, frameSize - JNI_JTOC_OFFSET, FP); // save RVM JTOC in frame asm.emitST (PROCESSOR_REGISTER, frameSize - JNI_PR_OFFSET, FP); // save PR in frame // store method ID for JNI frame, occupies AIX saved CR slot, which we don't use // hardcoded in the glue routine asm.emitLVAL (S0, compiledMethodId); asm.emitST (S0, STACKFRAME_METHOD_ID_OFFSET, FP); // establish SP -> VM_Thread, S0 -> threads JNIEnv structure asm.emitL(SP, VM_Entrypoints.activeThreadField.getOffset(), PROCESSOR_REGISTER); asm.emitL(S0, VM_Entrypoints.jniEnvField.getOffset(), SP); // save the TI & PR registers in the JNIEnvironment object for possible calls back into Java asm.emitST(TI, VM_Entrypoints.JNIEnvSavedTIField.getOffset(), S0); asm.emitST(PROCESSOR_REGISTER, VM_Entrypoints.JNIEnvSavedPRField.getOffset(), S0); // save current frame pointer in JNIEnv, JNITopJavaFP, which will be the frame // to start scanning this stack during GC, if top of stack is still executing in C asm.emitST(FP, VM_Entrypoints.JNITopJavaFPField.getOffset(), S0); // save the RVM nonvolatile registers, to be scanned by GC stack mapper // remember to skip past the saved JTOC and SP by starting with offset=-12 // for (int i = LAST_NONVOLATILE_GPR, offset = JNI_RVM_NONVOLATILE_OFFSET; i >= FIRST_NONVOLATILE_GPR; --i, offset+=4) { asm.emitST (i, frameSize - offset, FP); } // clear the GC flag on entry to native code asm.emitCAL(PROCESSOR_REGISTER,0,0); // use PR as scratch asm.emitST(PROCESSOR_REGISTER, frameSize-JNI_GC_FLAG_OFFSET, FP); // generate the code to map the parameters to AIX convention and add the // second parameter 2 (either the "this" ptr or class if a static method). // The JNI Function ptr first parameter is set before making the call. // Opens a new frame in the JNIRefs table to register the references // Assumes S0 set to JNIEnv, kills TI, SP & PROCESSOR_REGISTER // On return, S0 is still valid. // storeParametersForAIX(asm, frameSize, method, klass); // Get address of out_of_line prolog into SP, before setting TOC reg. asm.emitL (SP, VM_Entrypoints.invokeNativeFunctionInstructionsField.getOffset(), JTOC); asm.emitMTLR(SP); // set the TOC and IP for branch to out_of_line code asm.emitLVAL (JTOC, nativeTOC); // load TOC for native function into TOC reg asm.emitLVAL (TI, nativeIP); // load TI with address of native code // go to part of prologue that is in the boot image. It will change the Processor // status to "in_native" and transfer to the native code. On return it will // change the state back to "in_java" (waiting if blocked). // // The native address entrypoint is in register TI // The native TOC has been loaded into the TOC register // S0 still points to threads JNIEnvironment // asm.emitBLRL (); // restore PR, saved in this glue frame before the call. If GC occurred, this saved // VM_Processor reference was relocated while scanning this stack. If while in native, // the thread became "stuck" and was moved to a Native Processor, then this saved // PR was reset to point to that native processor // asm.emitL (PROCESSOR_REGISTER, frameSize - JNI_PR_OFFSET, FP); // at this point, test if in blue processor: if yes, return to // Java caller; by picking up at "check if GC..." below // if not, must transfer to blue processor by using // become RVM thread. asm.emitL (S0, VM_Entrypoints.processorModeField.getOffset(), PROCESSOR_REGISTER); // get processorMode asm.emitCMPI (S0, VM_Processor.RVM) ; // are we still on blue processor VM_ForwardReference frBlue = asm.emitForwardBC(EQ); asm.emitL(T0, VM_Entrypoints.activeThreadField.getOffset(), PROCESSOR_REGISTER); // get activeThread from Processor asm.emitL(S0, VM_Entrypoints.jniEnvField.getOffset(), T0); // get JNIEnvironment from activeThread asm.emitL (TI, VM_Entrypoints.JNIEnvSavedTIField.getOffset(), S0); // and restore TI from JNIEnvironment // restore RVM JTOC asm.emitL (JTOC, frameSize - 4, FP); // Branch to becomeRVMThread: we will yield and get rescheduled to execute // on a regular VM_Processor for Java code asm.emitL (S0, VM_Entrypoints.becomeRVMThreadMethod.getOffset(), JTOC); asm.emitMTLR(S0); asm.emitBLRL (); // At this point, we have resumed execution in the regular Java VM_Processor // so the PR contains the correct values for this VM_Processor. TI is also correct // branch to here if on blue processor // // check if GC has occurred, If GC did not occur, then // VM NON_VOLATILE regs were restored by AIX and are valid. If GC did occur // objects referenced by these restored regs may have moved, in this case we // restore the nonvolatile registers from our savearea, // where any object references would have been relocated during GC. // use T2 as scratch (not needed any more on return from call) // frBlue.resolve(asm); asm.emitL(T2, frameSize - JNI_GC_FLAG_OFFSET, FP); asm.emitCMPI(T2,0); VM_ForwardReference fr1 = asm.emitForwardBC(EQ); for (int i = LAST_NONVOLATILE_GPR, offset = JNI_RVM_NONVOLATILE_OFFSET; i >= FIRST_NONVOLATILE_GPR; --i, offset+=4) { asm.emitL (i, frameSize - offset, FP); } fr1.resolve(asm); asm.emitL(S0, VM_Entrypoints.activeThreadField.getOffset(), PROCESSOR_REGISTER); // S0 holds thread pointer // reset threads processor affinity if it was previously zero, before the call. // ...again, rethink if the setting & resetting of processor affinity is still necessary // asm.emitL(T2, frameSize - JNI_AFFINITY_OFFSET, FP); // saved affinity in glue frame asm.emitCMPI(T2,0); VM_ForwardReference fr2 = asm.emitForwardBC(NE); asm.emitST(T2, VM_Entrypoints.processorAffinityField.getOffset(), S0); // store 0 into affinity field fr2.resolve(asm); // reestablish S0 to hold jniEnv pointer asm.emitL(S0, VM_Entrypoints.jniEnvField.getOffset(), S0); // pop jrefs frame off the JNIRefs stack, "reopen" the previous top jref frame // use SP as scratch before it's restored, also use T2, T3 for scratch which are no longer needed asm.emitL (SP, VM_Entrypoints.JNIRefsField.getOffset(), S0); // load base of JNIRefs array asm.emitL (T2, VM_Entrypoints.JNIRefsSavedFPField.getOffset(), S0); // get saved offset for JNIRefs frame ptr previously pushed onto JNIRefs array asm.emitCAL(T3, -4, T2); // compute offset for new TOP asm.emitST (T3, VM_Entrypoints.JNIRefsTopField.getOffset(), S0); // store new offset for TOP into JNIEnv asm.emitLX (T2, SP, T2); // retrieve the previous frame ptr asm.emitST (T2, VM_Entrypoints.JNIRefsSavedFPField.getOffset(), S0); // store new offset for JNIRefs frame ptr into JNIEnv // Restore the return value R3-R4 saved in the glue frame spill area before the migration asm.emitL (T0, AIX_FRAME_HEADER_SIZE, FP); asm.emitL (T1, AIX_FRAME_HEADER_SIZE+4, FP); // if the the return type is a reference, the native C is returning a jref // which is a byte offset from the beginning of the threads JNIRefs stack/array // of the corresponding ref. In this case, emit code to replace the returned // offset (in R3) with the ref from the JNIRefs array VM_TypeReference returnType = method.getReturnType(); if (returnType.isReferenceType()) { // use returned offset to load ref from JNIRefs into R3 asm.emitLX (3, SP, 3); // SP is still the base of the JNIRefs array } // reload TI ref saved in JNIEnv asm.emitL (TI, VM_Entrypoints.JNIEnvSavedTIField.getOffset(), S0); // pop the glue stack frame, restore the Java caller frame asm.emitCAL (FP, +frameSize, FP); // remove linkage area // C return value is already where caller expected it (R3, R4 or F0) // and SP is a scratch register, so we actually don't have to // restore it and/or pop arguments off it. // So, just restore the return address to the link register. asm.emitL(0, STACKFRAME_NEXT_INSTRUCTION_OFFSET, FP); asm.emitMTLR(0); // restore return address // CHECK EXCEPTION AND BRANCH TO ATHROW CODE OR RETURN NORMALLY asm.emitL (T2, VM_Entrypoints.JNIPendingExceptionField.getOffset(), S0); // get pending exception from JNIEnv asm.emitCAL (T3, 0, 0); // get a null value to compare asm.emitST (T3, VM_Entrypoints.JNIPendingExceptionField.getOffset(), S0); // clear the current pending exception asm.emitCMP (T2, T3); // check for pending exception on return from native VM_ForwardReference fr3 = asm.emitForwardBC(NE); asm.emitBLR(); // if no pending exception, proceed to return to caller fr3.resolve(asm); // An exception is pending, deliver the exception to the caller as if executing an athrow in the caller // at the location of the call to the native method asm.emitLtoc(T3, VM_Entrypoints.athrowMethod.getOffset()); asm.emitMTCTR(T3); // point LR to the exception delivery code asm.emitCAL (T0, 0, T2); // copy the saved exception to T0 asm.emitBCTR(); // then branch to the exception delivery code, does not return VM_MachineCode machineCode = asm.makeMachineCode(); cm.compileComplete(machineCode.getInstructions()); return cm; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/84e99898036221f1c0ed5e72e060bc3e0803769c/VM_JNICompiler.java/clean/rvm/src/vm/arch/powerPC/jni/VM_JNICompiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 565, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 1071, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 760, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 3852, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 8251, 67, 20733, 1305, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 4074, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 261, 7397, 67, 9220, 1305, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 707, 13, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 288, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 565, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 565, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 565, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 8251, 67, 46, 50, 45, 20733, 1305, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 5003, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 565, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 1071, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 760, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 3852, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 8251, 67, 20733, 1305, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 4074, 1707, 2402, 1290, 19475, 12, 23522, 16, 2623, 1225, 16, 707, 16, 7352, 1769, 282, 261, 7397, 67, 9220, 1305, 2 ]
long maxTimeStamp = 0;
long maxTimeStamp = Long.MIN_VALUE;
void loadFSImage( Configuration conf ) throws IOException { FSNamesystem fsNamesys = FSNamesystem.getFSNamesystem(); FSDirectory fsDir = fsNamesys.dir; for (int idx = 0; idx < imageDirs.length; idx++) { // // Atomic move sequence, to recover from interrupted save // File curFile = new File(imageDirs[idx], FS_IMAGE); File newFile = new File(imageDirs[idx], NEW_FS_IMAGE); File oldFile = new File(imageDirs[idx], OLD_FS_IMAGE); // Maybe we were interrupted between 2 and 4 if (oldFile.exists() && curFile.exists()) { oldFile.delete(); if (editLog.exists()) { editLog.deleteAll(); } } else if (oldFile.exists() && newFile.exists()) { // Or maybe between 1 and 2 newFile.renameTo(curFile); oldFile.delete(); } else if (curFile.exists() && newFile.exists()) { // Or else before stage 1, in which case we lose the edits newFile.delete(); } } // Now check all curFiles and see which is the newest File curFile = null; long maxTimeStamp = 0; for (int idx = 0; idx < imageDirs.length; idx++) { File file = new File(imageDirs[idx], FS_IMAGE); if (file.exists()) { long timeStamp = 0; File timeFile = new File(imageDirs[idx], FS_TIME); if (timeFile.exists() && timeFile.canRead()) { DataInputStream in = new DataInputStream( new FileInputStream(timeFile)); try { timeStamp = in.readLong(); } finally { in.close(); } } if (maxTimeStamp < timeStamp) { maxTimeStamp = timeStamp; curFile = file; } } } // // Load in bits // boolean needToSave = true; int imgVersion = FSConstants.DFS_CURRENT_VERSION; if (curFile != null) { DataInputStream in = new DataInputStream( new BufferedInputStream( new FileInputStream(curFile))); try { // read image version: first appeared in version -1 imgVersion = in.readInt(); // read namespaceID: first appeared in version -2 if( imgVersion <= -2 ) fsDir.namespaceID = in.readInt(); // read number of files int numFiles = 0; // version 0 does not store version # // starts directly with the number of files if( imgVersion >= 0 ) { numFiles = imgVersion; imgVersion = 0; } else numFiles = in.readInt(); needToSave = ( imgVersion != FSConstants.DFS_CURRENT_VERSION ); if( imgVersion < FSConstants.DFS_CURRENT_VERSION ) // future version throw new IncorrectVersionException(imgVersion, "file system image"); // read file info short replication = (short)conf.getInt("dfs.replication", 3); for (int i = 0; i < numFiles; i++) { UTF8 name = new UTF8(); name.readFields(in); // version 0 does not support per file replication if( !(imgVersion >= 0) ) { replication = in.readShort(); // other versions do replication = FSEditLog.adjustReplication( replication, conf ); } int numBlocks = in.readInt(); Block blocks[] = null; if (numBlocks > 0) { blocks = new Block[numBlocks]; for (int j = 0; j < numBlocks; j++) { blocks[j] = new Block(); blocks[j].readFields(in); } } fsDir.unprotectedAddFile(name, blocks, replication ); } // load datanode info this.loadDatanodes( imgVersion, in ); } finally { in.close(); } } if( fsDir.namespaceID == 0 ) fsDir.namespaceID = newNamespaceID(); needToSave |= ( editLog.exists() && editLog.loadFSEdits(conf) > 0 ); if( needToSave ) saveFSImage(); }
49935 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49935/3d053c0d9f93618c2d3bb22b3709a50c2a93c064/FSImage.java/clean/src/java/org/apache/hadoop/dfs/FSImage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 1262, 4931, 2040, 12, 4659, 2195, 262, 1216, 1860, 288, 565, 9247, 1557, 1108, 2662, 1557, 1900, 273, 9247, 1557, 1108, 18, 588, 4931, 1557, 1108, 5621, 565, 9247, 2853, 2662, 1621, 273, 2662, 1557, 1900, 18, 1214, 31, 565, 364, 261, 474, 2067, 273, 374, 31, 2067, 411, 1316, 9872, 18, 2469, 31, 2067, 27245, 288, 1377, 368, 1377, 368, 11553, 3635, 3102, 16, 358, 5910, 628, 15711, 1923, 1377, 368, 1377, 1387, 662, 812, 273, 394, 1387, 12, 2730, 9872, 63, 3465, 6487, 9247, 67, 13603, 1769, 1377, 1387, 20592, 273, 394, 1387, 12, 2730, 9872, 63, 3465, 6487, 12887, 67, 4931, 67, 13603, 1769, 1377, 1387, 1592, 812, 273, 394, 1387, 12, 2730, 9872, 63, 3465, 6487, 30432, 67, 4931, 67, 13603, 1769, 1377, 368, 14024, 732, 4591, 15711, 3086, 576, 471, 1059, 1377, 309, 261, 1673, 812, 18, 1808, 1435, 597, 662, 812, 18, 1808, 10756, 288, 3639, 1592, 812, 18, 3733, 5621, 3639, 309, 261, 4619, 1343, 18, 1808, 10756, 288, 1850, 3874, 1343, 18, 3733, 1595, 5621, 3639, 289, 1377, 289, 469, 309, 261, 1673, 812, 18, 1808, 1435, 597, 20592, 18, 1808, 10756, 288, 3639, 368, 2965, 6944, 3086, 404, 471, 576, 3639, 20592, 18, 18539, 774, 12, 1397, 812, 1769, 3639, 1592, 812, 18, 3733, 5621, 1377, 289, 469, 309, 261, 1397, 812, 18, 1808, 1435, 597, 20592, 18, 1808, 10756, 288, 3639, 368, 2965, 469, 1865, 6009, 404, 16, 316, 1492, 648, 732, 29612, 326, 24450, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 1262, 4931, 2040, 12, 4659, 2195, 262, 1216, 1860, 288, 565, 9247, 1557, 1108, 2662, 1557, 1900, 273, 9247, 1557, 1108, 18, 588, 4931, 1557, 1108, 5621, 565, 9247, 2853, 2662, 1621, 273, 2662, 1557, 1900, 18, 1214, 31, 565, 364, 261, 474, 2067, 273, 374, 31, 2067, 411, 1316, 9872, 18, 2469, 31, 2067, 27245, 288, 1377, 368, 1377, 368, 11553, 3635, 3102, 16, 358, 5910, 628, 15711, 1923, 1377, 368, 1377, 1387, 662, 812, 273, 394, 1387, 12, 2730, 9872, 63, 3465, 6487, 9247, 67, 13603, 1769, 1377, 1387, 20592, 273, 394, 1387, 12, 2730, 9872, 63, 3465, 6487, 12887, 67, 4931, 67, 13603, 1769, 1377, 1387, 1592, 812, 273, 394, 1387, 12, 2730, 9872, 2 ]
logger.info(msg);
logger.log(FQCN, Level.INFO, msg, null);
public void info(String msg) { logger.info(msg); }
55012 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55012/fb136472b4ff37cfad94ca3ad6fa7781ad7dd989/Log4jLoggerAdapter.java/buggy/src/java/org/slf4j/impl/Log4jLoggerAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1123, 12, 780, 1234, 13, 288, 565, 1194, 18, 1330, 12, 23032, 12821, 16, 4557, 18, 5923, 16, 1234, 16, 446, 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, 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, 282, 1071, 918, 1123, 12, 780, 1234, 13, 288, 565, 1194, 18, 1330, 12, 23032, 12821, 16, 4557, 18, 5923, 16, 1234, 16, 446, 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, -100, -100, -100, -100 ]
public static String searchGetSortOrderString(boolean detailed, HttpSession session) { ResultSortOrder resultSortOrder = ProductSearchOptions.getResultSortOrder(session);
public static String searchGetSortOrderString(boolean detailed, HttpServletRequest request) { Locale locale = UtilHttp.getLocale(request); ResultSortOrder resultSortOrder = ProductSearchOptions.getResultSortOrder(request);
public static String searchGetSortOrderString(boolean detailed, HttpSession session) { ResultSortOrder resultSortOrder = ProductSearchOptions.getResultSortOrder(session); if (resultSortOrder == null) return ""; return resultSortOrder.prettyPrintSortOrder(detailed); }
45953 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45953/a0a99db38a608b5af3fc0585fced6229e794b469/ProductSearchSession.java/clean/applications/product/src/org/ofbiz/product/product/ProductSearchSession.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 1623, 967, 31460, 780, 12, 6494, 6864, 16, 26166, 1339, 13, 288, 3639, 3438, 31460, 563, 31460, 273, 8094, 2979, 1320, 18, 588, 1253, 31460, 12, 3184, 1769, 3639, 309, 261, 2088, 31460, 422, 446, 13, 327, 1408, 31, 3639, 327, 563, 31460, 18, 19073, 5108, 31460, 12, 72, 6372, 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, 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, 31460, 563, 31460, 273, 8094, 2979, 1320, 18, 588, 1253, 31460, 12, 3184, 1769, 3639, 309, 261, 2088, 31460, 422, 446, 13, 327, 1408, 31, 3639, 327, 563, 31460, 18, 19073, 5108, 31460, 12, 72, 6372, 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 ]
public void execute() throws BuildException { if (!destinationDirectory.isDirectory()) { throw new BuildException("destination directory " + destinationDirectory.getPath() + " is not valid"); } if (!sourceDirectory.isDirectory()) { throw new BuildException("src directory " + sourceDirectory.getPath() + " is not valid"); } if (destinationPackage == null) { throw new BuildException("package attribute must be present.", getLocation()); } pathToPackage = this.destinationPackage.replace('.', File.separatorChar); // get all the files in the sourceDirectory DirectoryScanner ds = super.getDirectoryScanner(sourceDirectory); //use the systemclasspath as well, to include the ant jar if (compileClasspath == null) { compileClasspath = new Path(getProject()); } compileClasspath = compileClasspath.concatSystemClasspath(); String[] files = ds.getIncludedFiles(); //Weblogic.jspc calls System.exit() ... have to fork // Therefore, takes loads of time // Can pass directories at a time (*.jsp) but easily runs out of memory on hefty dirs // (even on a Sun) Java helperTask = (Java) getProject().createTask("java"); helperTask.setFork(true); helperTask.setClassname("weblogic.jspc"); helperTask.setTaskName(getTaskName()); String[] args = new String[12]; File jspFile = null; String parents = ""; int j = 0; //XXX this array stuff is a remnant of prev trials.. gotta remove. args[j++] = "-d"; args[j++] = destinationDirectory.getAbsolutePath().trim(); args[j++] = "-docroot"; args[j++] = sourceDirectory.getAbsolutePath().trim(); args[j++] = "-keepgenerated"; //TODO: Parameterise ?? //Call compiler as class... dont want to fork again //Use classic compiler -- can be parameterised? args[j++] = "-compilerclass"; args[j++] = "sun.tools.javac.Main"; //Weblogic jspc does not seem to work unless u explicitly set this... // Does not take the classpath from the env.... // Am i missing something about the Java task?? args[j++] = "-classpath"; args[j++] = compileClasspath.toString(); this.scanDir(files); log("Compiling " + filesToDo.size() + " JSP files"); for (int i = 0; i < filesToDo.size(); i++) { //XXX // All this to get package according to weblogic standards // Can be written better... this is too hacky! // Careful.. similar code in scanDir , but slightly different!! String filename = (String) filesToDo.elementAt(i); jspFile = new File(filename); args[j] = "-package"; parents = jspFile.getParent(); if ((parents != null) && (!("").equals(parents))) { parents = this.replaceString(parents, File.separator, "_."); args[j + 1] = destinationPackage + "." + "_" + parents; } else { args[j + 1] = destinationPackage; } args[j + 2] = sourceDirectory + File.separator + filename; helperTask.clearArgs(); for (int x = 0; x < j + 3; x++) { helperTask.createArg().setValue(args[x]); } helperTask.setClasspath(compileClasspath); if (helperTask.executeJava() != 0) { log(filename + " failed to compile", Project.MSG_WARN); } } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/60f48875263c0b85f9eab0d94454e3ce3efce5c2/WLJspc.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/jsp/WLJspc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 309, 16051, 10590, 2853, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 10590, 1867, 315, 397, 2929, 2853, 18, 588, 743, 1435, 397, 4766, 1377, 315, 353, 486, 923, 8863, 3639, 289, 4766, 4202, 309, 16051, 3168, 2853, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 4816, 1867, 315, 397, 1084, 2853, 18, 588, 743, 1435, 397, 4766, 1377, 315, 353, 486, 923, 8863, 3639, 289, 3639, 309, 261, 10590, 2261, 422, 446, 13, 288, 5411, 604, 394, 18463, 2932, 5610, 1566, 1297, 506, 3430, 1199, 16, 13312, 10663, 3639, 289, 13491, 12221, 2261, 5411, 273, 333, 18, 10590, 2261, 18, 2079, 2668, 1093, 16, 1387, 18, 11287, 2156, 1769, 3639, 368, 336, 777, 326, 1390, 316, 326, 1084, 2853, 3639, 8930, 11338, 3780, 273, 2240, 18, 588, 2853, 11338, 12, 3168, 2853, 1769, 3639, 368, 1202, 326, 2619, 26302, 487, 5492, 16, 358, 2341, 326, 17841, 7334, 3639, 309, 261, 11100, 17461, 422, 446, 13, 288, 5411, 4074, 17461, 273, 394, 2666, 12, 588, 4109, 10663, 3639, 289, 7734, 4074, 17461, 273, 4074, 17461, 18, 16426, 3163, 17461, 5621, 3639, 514, 8526, 1390, 273, 3780, 18, 588, 19323, 2697, 5621, 7734, 368, 4079, 28339, 18, 24926, 71, 4097, 2332, 18, 8593, 1435, 1372, 1240, 358, 12515, 3639, 368, 17189, 16, 5530, 6277, 434, 813, 540, 368, 4480, 1342, 6402, 622, 279, 813, 261, 11146, 24926, 13, 1496, 17997, 7597, 596, 434, 3778, 603, 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, 16051, 10590, 2853, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 10590, 1867, 315, 397, 2929, 2853, 18, 588, 743, 1435, 397, 4766, 1377, 315, 353, 486, 923, 8863, 3639, 289, 4766, 4202, 309, 16051, 3168, 2853, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 4816, 1867, 315, 397, 1084, 2853, 18, 588, 743, 1435, 397, 4766, 1377, 315, 353, 486, 923, 8863, 3639, 289, 3639, 309, 261, 10590, 2261, 422, 446, 13, 288, 5411, 604, 394, 18463, 2932, 5610, 1566, 1297, 506, 3430, 1199, 16, 13312, 10663, 3639, 289, 13491, 12221, 2261, 5411, 273, 333, 18, 10590, 2261, 18, 2079, 2668, 1093, 16, 1387, 2 ]
return new org.quickfix.fix41.NewOrderSingle();
return new quickfix.fix41.NewOrderSingle();
public Message create( String beginString, String msgType ) { if("0".equals(msgType)) { return new org.quickfix.fix41.Heartbeat(); } if("A".equals(msgType)) { return new org.quickfix.fix41.Logon(); } if("1".equals(msgType)) { return new org.quickfix.fix41.TestRequest(); } if("2".equals(msgType)) { return new org.quickfix.fix41.ResendRequest(); } if("3".equals(msgType)) { return new org.quickfix.fix41.Reject(); } if("4".equals(msgType)) { return new org.quickfix.fix41.SequenceReset(); } if("5".equals(msgType)) { return new org.quickfix.fix41.Logout(); } if("7".equals(msgType)) { return new org.quickfix.fix41.Advertisement(); } if("6".equals(msgType)) { return new org.quickfix.fix41.IndicationofInterest(); } if("B".equals(msgType)) { return new org.quickfix.fix41.News(); } if("C".equals(msgType)) { return new org.quickfix.fix41.Email(); } if("R".equals(msgType)) { return new org.quickfix.fix41.QuoteRequest(); } if("S".equals(msgType)) { return new org.quickfix.fix41.Quote(); } if("D".equals(msgType)) { return new org.quickfix.fix41.NewOrderSingle(); } if("8".equals(msgType)) { return new org.quickfix.fix41.ExecutionReport(); } if("Q".equals(msgType)) { return new org.quickfix.fix41.DontKnowTrade(); } if("G".equals(msgType)) { return new org.quickfix.fix41.OrderCancelReplaceRequest(); } if("F".equals(msgType)) { return new org.quickfix.fix41.OrderCancelRequest(); } if("9".equals(msgType)) { return new org.quickfix.fix41.OrderCancelReject(); } if("H".equals(msgType)) { return new org.quickfix.fix41.OrderStatusRequest(); } if("J".equals(msgType)) { return new org.quickfix.fix41.Allocation(); } if("P".equals(msgType)) { return new org.quickfix.fix41.AllocationACK(); } if("T".equals(msgType)) { return new org.quickfix.fix41.SettlementInstructions(); } if("E".equals(msgType)) { return new org.quickfix.fix41.NewOrderList(); } if("N".equals(msgType)) { return new org.quickfix.fix41.ListStatus(); } if("L".equals(msgType)) { return new org.quickfix.fix41.ListExecute(); } if("K".equals(msgType)) { return new org.quickfix.fix41.ListCancelRequest(); } if("M".equals(msgType)) { return new org.quickfix.fix41.ListStatusRequest(); } return new org.quickfix.fix41.Message(); }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/MessageFactory.java/clean/src/java/src/quickfix/fix41/MessageFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2350, 752, 12, 514, 2376, 780, 16, 514, 1234, 559, 262, 288, 377, 309, 2932, 20, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 9803, 18, 15894, 5621, 282, 289, 565, 309, 2932, 37, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 9803, 18, 1343, 265, 5621, 282, 289, 565, 309, 2932, 21, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 9803, 18, 4709, 691, 5621, 282, 289, 565, 309, 2932, 22, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 9803, 18, 607, 409, 691, 5621, 282, 289, 565, 309, 2932, 23, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 9803, 18, 21705, 5621, 282, 289, 565, 309, 2932, 24, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 9803, 18, 4021, 7013, 5621, 282, 289, 565, 309, 2932, 25, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 9803, 18, 19456, 5621, 282, 289, 565, 309, 2932, 27, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 9803, 18, 1871, 1097, 291, 820, 5621, 282, 289, 565, 309, 2932, 26, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 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, 377, 309, 2932, 20, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 9803, 18, 15894, 5621, 282, 289, 565, 309, 2932, 37, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 9803, 18, 1343, 265, 5621, 282, 289, 565, 309, 2932, 21, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 9803, 18, 4709, 691, 5621, 282, 289, 565, 309, 2932, 22, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 9803, 18, 607, 409, 691, 2 ]
public synchronized void addUndoableEditListener(UndoableEditListener value0) { }
public synchronized void addUndoableEditListener(UndoableEditListener val) { listeners.add(val); }
public synchronized void addUndoableEditListener(UndoableEditListener value0) { // TODO } // addUndoableEditListener()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/UndoableEditSupport.java/buggy/core/src/classpath/javax/javax/swing/undo/UndoableEditSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 527, 31224, 429, 4666, 2223, 12, 31224, 429, 4666, 2223, 460, 20, 13, 288, 202, 202, 759, 2660, 202, 97, 368, 527, 31224, 429, 4666, 2223, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 527, 31224, 429, 4666, 2223, 12, 31224, 429, 4666, 2223, 460, 20, 13, 288, 202, 202, 759, 2660, 202, 97, 368, 527, 31224, 429, 4666, 2223, 1435, 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 ]
int colNumber = columnNumber - columnWithWidth; int aw = (maxWidth - colSum)/colNumber; distributeWidth( columns, colNumber, aw);
distributeLeftWidth( columns, (maxWidth - colSum)/( columnNumber - columnWithWidth));
public int[] resolve(int specifiedWidth, int maxWidth) { assert(specifiedWidth<=maxWidth); int columnNumber = table.getColumnCount( ); int[] columns = new int[columnNumber]; int columnWithWidth = 0; int colSum = 0; for ( int j = 0; j < table.getColumnCount( ); j++ ) { IColumn column = (IColumn) table.getColumn( j ); int columnWidth = getDimensionValue( column.getWidth( ), tableWidth ); if ( columnWidth > 0 ) { columns[j] = columnWidth; colSum += columnWidth; columnWithWidth++; } else { columns[j] = -1; } } if(columnWithWidth==columnNumber) { if(colSum<=maxWidth) { return columns; } else { int delta = (colSum - maxWidth)/columnNumber; assert(delta>=0); for ( int i = 0; i < columnNumber; i++ ) { columns[i] -= delta; } return columns; } } else { if(specifiedWidth==0) { if(colSum<maxWidth) { int colNumber = columnNumber - columnWithWidth; int aw = (maxWidth - colSum)/colNumber; distributeWidth( columns, colNumber, aw); } else { distributeWidth(columns, columnNumber, maxWidth/columnNumber); } } else { if(colSum<specifiedWidth) { int colNumber = columnNumber - columnWithWidth; int aw = (specifiedWidth - colSum)/colNumber; distributeWidth( columns, colNumber, aw); } else { if(colSum<maxWidth) { int colNumber = columnNumber - columnWithWidth; int aw = (maxWidth - colSum)/colNumber; distributeWidth( columns, colNumber, aw); } else { distributeWidth(columns, columnNumber, specifiedWidth/columnNumber); } } } } return columns; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/492c34611de8891f6d7b978bd46fd50220a88943/PDFTableLM.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFTableLM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 509, 8526, 2245, 12, 474, 1269, 2384, 16, 509, 17681, 13, 202, 202, 95, 1082, 202, 11231, 12, 13827, 2384, 32, 33, 1896, 2384, 1769, 1082, 202, 474, 1057, 1854, 273, 1014, 18, 588, 1494, 1380, 12, 11272, 1082, 202, 474, 8526, 2168, 273, 394, 509, 63, 2827, 1854, 15533, 1082, 202, 474, 1057, 1190, 2384, 273, 374, 31, 1082, 202, 474, 645, 3495, 273, 374, 31, 25083, 202, 1884, 261, 509, 525, 273, 374, 31, 525, 411, 1014, 18, 588, 1494, 1380, 12, 11272, 525, 9904, 262, 1082, 202, 95, 9506, 202, 45, 1494, 1057, 273, 261, 45, 1494, 13, 1014, 18, 588, 1494, 12, 525, 11272, 9506, 202, 474, 1057, 2384, 273, 20283, 620, 12, 1057, 18, 588, 2384, 12, 262, 16, 1014, 2384, 11272, 9506, 202, 430, 261, 1057, 2384, 405, 374, 262, 9506, 202, 95, 6862, 202, 5112, 63, 78, 65, 273, 1057, 2384, 31, 6862, 202, 1293, 3495, 1011, 1057, 2384, 31, 6862, 202, 2827, 1190, 2384, 9904, 31, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 5112, 63, 78, 65, 273, 300, 21, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 430, 12, 2827, 1190, 2384, 631, 2827, 1854, 13, 1082, 202, 95, 9506, 202, 430, 12, 1293, 3495, 32, 33, 1896, 2384, 13, 9506, 202, 95, 6862, 202, 2463, 2168, 31, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 474, 3622, 273, 261, 1293, 3495, 300, 17681, 13176, 2827, 1854, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 509, 8526, 2245, 12, 474, 1269, 2384, 16, 509, 17681, 13, 202, 202, 95, 1082, 202, 11231, 12, 13827, 2384, 32, 33, 1896, 2384, 1769, 1082, 202, 474, 1057, 1854, 273, 1014, 18, 588, 1494, 1380, 12, 11272, 1082, 202, 474, 8526, 2168, 273, 394, 509, 63, 2827, 1854, 15533, 1082, 202, 474, 1057, 1190, 2384, 273, 374, 31, 1082, 202, 474, 645, 3495, 273, 374, 31, 25083, 202, 1884, 261, 509, 525, 273, 374, 31, 525, 411, 1014, 18, 588, 1494, 1380, 12, 11272, 525, 9904, 262, 1082, 202, 95, 9506, 202, 45, 1494, 1057, 273, 261, 45, 1494, 13, 1014, 18, 588, 1494, 12, 525, 11272, 9506, 202, 474, 1057, 2384, 273, 20283, 620, 2 ]
verifyAnticipated(2000);
verifyAnticipated(20000);
public void testReparentCausesStatusChange() { m_pollerConfig.setNodeOutageProcessingEnabled(true); MockNode node1 = m_network.getNode(1); MockNode node2 = m_network.getNode(2); MockInterface node1Iface = m_network.getInterface(1, "192.168.1.1"); MockInterface reparentedIface = m_network.getInterface(1, "192.168.1.2"); MockInterface node2Iface = m_network.getInterface(2, "192.168.1.3"); // // Plan to bring down both nodes except the reparented interface // the node owning the interface should be up while the other is down // after reparenting we should got the old owner go down while the other // comes up. // anticipateDown(node2); anticipateDown(node1Iface); // bring down both nodes but bring iface back up node1.bringDown(); node2.bringDown(); reparentedIface.bringUp(); Event reparentEvent = MockUtil.createReparentEvent("Test", "192.168.1.2", 1, 2); startDaemons(); verifyAnticipated(2000); resetAnticipated(); // FIXME: should I expect this to send new events saying that the old // node is now down and the new node is now up? YES I SHOULD // after moving the interface we expect node down on node1 and node up // on node2; // anticipateNodeDown(node1); // anticipateNodeUp(node2); m_db.reparentInterface(reparentedIface.getIpAddr(), reparentedIface.getNodeId(), node2.getNodeId()); reparentedIface.moveTo(node2); m_eventMgr.sendEventToListeners(reparentEvent); verifyAnticipated(2000); }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/63ea02f21c3a123dc08712837e512664c4c6c32e/PollerTest.java/clean/src/services/org/opennms/netmgt/poller/PollerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 426, 2938, 39, 9608, 1482, 3043, 1435, 288, 3639, 312, 67, 3915, 749, 809, 18, 542, 907, 1182, 410, 7798, 1526, 12, 3767, 1769, 3639, 7867, 907, 756, 21, 273, 312, 67, 5185, 18, 588, 907, 12, 21, 1769, 3639, 7867, 907, 756, 22, 273, 312, 67, 5185, 18, 588, 907, 12, 22, 1769, 3639, 7867, 1358, 756, 21, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 21, 8863, 3639, 7867, 1358, 2071, 817, 329, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 22, 8863, 3639, 7867, 1358, 756, 22, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 22, 16, 315, 15561, 18, 23329, 18, 21, 18, 23, 8863, 3639, 368, 3639, 368, 12540, 358, 5186, 310, 2588, 3937, 2199, 1335, 326, 2071, 817, 329, 1560, 3639, 368, 326, 756, 25022, 326, 1560, 1410, 506, 731, 1323, 326, 1308, 353, 2588, 3639, 368, 1839, 2071, 817, 310, 732, 1410, 2363, 326, 1592, 3410, 1960, 2588, 1323, 326, 1308, 3639, 368, 14535, 731, 18, 3639, 368, 3639, 17841, 24629, 340, 4164, 12, 2159, 22, 1769, 3639, 17841, 24629, 340, 4164, 12, 2159, 21, 45, 865, 1769, 3639, 368, 5186, 310, 2588, 3937, 2199, 1496, 5186, 310, 9751, 1473, 731, 3639, 756, 21, 18, 2848, 310, 4164, 5621, 3639, 756, 22, 18, 2848, 310, 4164, 5621, 3639, 2071, 817, 329, 45, 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, 426, 2938, 39, 9608, 1482, 3043, 1435, 288, 3639, 312, 67, 3915, 749, 809, 18, 542, 907, 1182, 410, 7798, 1526, 12, 3767, 1769, 3639, 7867, 907, 756, 21, 273, 312, 67, 5185, 18, 588, 907, 12, 21, 1769, 3639, 7867, 907, 756, 22, 273, 312, 67, 5185, 18, 588, 907, 12, 22, 1769, 3639, 7867, 1358, 756, 21, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 21, 8863, 3639, 7867, 1358, 2071, 817, 329, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 22, 8863, 3639, 7867, 1358, 756, 22, 45, 865, 273, 2 ]
showSystemMenu(folder.getTabFolder().getSystemMenuLocation(), getSite().getSelectedPart());
public void showSystemMenu() { }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/a44e3679b294ff539fce71b7e835499b2c444fa7/TabbedStackPresentation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/newapi/TabbedStackPresentation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2405, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 2405, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 2405, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 2405, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 1071, 4500, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 918, 4500, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 2405, 3163, 4599, 1435, 4500, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 288, 4500, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 2405, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 2405, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 2405, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2405, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 2405, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 2405, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 2405, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 1071, 4500, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 4599, 2735, 9334, 11021, 7675, 588, 7416, 1988, 10663, 918, 4500, 3163, 4599, 12, 5609, 18, 588, 5661, 3899, 7675, 588, 3163, 2 ]
log("Reading filters from " + filtersFile, Project.MSG_VERBOSE );
log("Reading filters from " + filtersFile, Project.MSG_VERBOSE);
public void readFiltersFromFile(File filtersFile) throws BuildException { if (isReference()) { throw tooManyAttributes(); } if (filtersFile.isFile()) { log("Reading filters from " + filtersFile, Project.MSG_VERBOSE ); FileInputStream in = null; try { Properties props = new Properties(); in = new FileInputStream(filtersFile); props.load(in); Enumeration enum = props.propertyNames(); Vector filters = getFilters(); while (enum.hasMoreElements()) { String strPropName = (String) enum.nextElement(); String strValue = props.getProperty(strPropName); filters.addElement(new Filter(strPropName, strValue)); } } catch (Exception e) { throw new BuildException( "Could not read filters from file: " + filtersFile ); }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/6154080061f869b4e425d608da3bd61fad967564/FilterSet.java/buggy/src/main/org/apache/tools/ant/types/FilterSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 855, 5422, 13087, 12, 812, 3415, 812, 13, 1216, 18463, 288, 3639, 309, 261, 291, 2404, 10756, 288, 5411, 604, 4885, 5594, 2498, 5621, 3639, 289, 3639, 309, 261, 6348, 812, 18, 291, 812, 10756, 288, 6647, 613, 2932, 15714, 3415, 628, 315, 397, 3415, 812, 16, 5420, 18, 11210, 67, 21900, 1769, 6647, 11907, 316, 273, 446, 31, 6647, 775, 288, 2868, 6183, 3458, 273, 394, 6183, 5621, 2868, 316, 273, 394, 11907, 12, 6348, 812, 1769, 2868, 3458, 18, 945, 12, 267, 1769, 18701, 13864, 2792, 273, 3458, 18, 4468, 1557, 5621, 2868, 5589, 3415, 273, 25175, 5621, 2868, 1323, 261, 7924, 18, 5332, 7417, 3471, 10756, 288, 1171, 514, 609, 28856, 273, 261, 780, 13, 2792, 18, 4285, 1046, 5621, 1171, 514, 22842, 273, 3458, 18, 588, 1396, 12, 701, 28856, 1769, 1171, 3415, 18, 1289, 1046, 12, 2704, 4008, 12, 701, 28856, 16, 22842, 10019, 2868, 289, 6647, 289, 6647, 1044, 261, 503, 425, 13, 288, 2868, 604, 394, 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]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 855, 5422, 13087, 12, 812, 3415, 812, 13, 1216, 18463, 288, 3639, 309, 261, 291, 2404, 10756, 288, 5411, 604, 4885, 5594, 2498, 5621, 3639, 289, 3639, 309, 261, 6348, 812, 18, 291, 812, 10756, 288, 6647, 613, 2932, 15714, 3415, 628, 315, 397, 3415, 812, 16, 5420, 18, 11210, 67, 21900, 1769, 6647, 11907, 316, 273, 446, 31, 6647, 775, 288, 2868, 6183, 3458, 273, 394, 6183, 5621, 2868, 316, 273, 394, 11907, 12, 6348, 812, 1769, 2868, 3458, 18, 945, 12, 267, 1769, 18701, 13864, 2792, 273, 3458, 18, 4468, 1557, 5621, 2868, 5589, 3415, 273, 25175, 5621, 2868, 1323, 261, 7924, 18, 5332, 7417, 3471, 10756, 288, 1171, 514, 609, 28856, 273, 261, 2 ]
Integer key = new Integer(field); Set values = (Set) fieldValues.get(key); if (values == null) { values = new HashSet(); fieldValues.put(key, values); } values.add(value); }
Integer key = new Integer(field); Set values = (Set) fieldValues.get(key); if (values == null) { values = new HashSet(); fieldValues.put(key, values); } values.add(value); }
private void addFieldValue(int field, String value) { Integer key = new Integer(field); Set values = (Set) fieldValues.get(key); if (values == null) { values = new HashSet(); fieldValues.put(key, values); } values.add(value); }
52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/bc5f21c5a32614ef5c419366046d5f643c6e93ff/DataDictionary.java/clean/src/quickfix/DataDictionary.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 11742, 620, 12, 474, 652, 16, 514, 460, 13, 288, 3639, 2144, 498, 273, 394, 2144, 12, 1518, 1769, 3639, 1000, 924, 273, 261, 694, 13, 24976, 18, 588, 12, 856, 1769, 3639, 309, 261, 2372, 422, 446, 13, 288, 5411, 924, 273, 394, 6847, 5621, 5411, 24976, 18, 458, 12, 856, 16, 924, 1769, 3639, 289, 3639, 924, 18, 1289, 12, 1132, 1769, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 11742, 620, 12, 474, 652, 16, 514, 460, 13, 288, 3639, 2144, 498, 273, 394, 2144, 12, 1518, 1769, 3639, 1000, 924, 273, 261, 694, 13, 24976, 18, 588, 12, 856, 1769, 3639, 309, 261, 2372, 422, 446, 13, 288, 5411, 924, 273, 394, 6847, 5621, 5411, 24976, 18, 458, 12, 856, 16, 924, 1769, 3639, 289, 3639, 924, 18, 1289, 12, 1132, 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 ]
final Color borderColor = new Color(titleArea.getDisplay(),ViewForm.borderOutsideRGB); titleArea.addPaintListener(new PaintListener(){ public void paintControl(PaintEvent e){
final Color borderColor = new Color(titleArea.getDisplay(), ViewForm.borderOutsideRGB); titleArea.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) {
private Composite createTitleArea(Composite parent) { // Create the title area which will contain // a title, message, and image. titleArea = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(); layout.marginHeight = 2; layout.marginWidth = 2; layout.verticalSpacing = 0; layout.horizontalSpacing = 0; layout.numColumns = 2; // Get the background color for the title area Display display = parent.getDisplay(); Color background = JFaceColors.getBannerBackground(display); final Color foreground = JFaceColors.getBannerForeground(display); GridData layoutData = new GridData(GridData.FILL_BOTH); titleArea.setLayout(layout); titleArea.setLayoutData(layoutData); titleArea.setBackground(background); final Color borderColor = new Color(titleArea.getDisplay(),ViewForm.borderOutsideRGB); titleArea.addPaintListener(new PaintListener(){ public void paintControl(PaintEvent e){ e.gc.setForeground(borderColor); Rectangle bounds = titleArea.getClientArea(); bounds.height = bounds.height - 2; bounds.width = bounds.width - 1; e.gc.drawRectangle(bounds); } }); // Add a dispose listener titleArea.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent e) { if (titleAreaColor != null) titleAreaColor.dispose(); if (errorMsgAreaBackground != null) errorMsgAreaBackground.dispose(); borderColor.dispose(); } }); // Message label messageLabel = new CLabel(titleArea, SWT.LEFT); JFaceColors.setColors(messageLabel, foreground, background); messageLabel.setText(" "); //$NON-NLS-1$ messageLabel.setFont(JFaceResources.getBannerFont()); final IPropertyChangeListener fontListener = new IPropertyChangeListener() { public void propertyChange(PropertyChangeEvent event) { if (JFaceResources.BANNER_FONT.equals(event.getProperty())) updateMessage(); if (JFaceResources.DIALOG_FONT.equals(event.getProperty())) { updateMessage(); Font dialogFont = JFaceResources.getDialogFont(); tree.setFont(dialogFont); Control[] children = ((Composite) buttonBar).getChildren(); for (int i = 0; i < children.length; i++) children[i].setFont(dialogFont); } } }; messageLabel.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent event) { JFaceResources.getFontRegistry().removeListener(fontListener); } }); JFaceResources.getFontRegistry().addListener(fontListener); GridData gd = new GridData(GridData.FILL_BOTH); messageLabel.setLayoutData(gd); // Title image titleImage = new Label(titleArea, SWT.LEFT); titleImage.setBackground(background); titleImage.setImage(JFaceResources.getImage(PREF_DLG_TITLE_IMG)); gd = new GridData(); gd.horizontalAlignment = GridData.END; titleImage.setLayoutData(gd); return titleArea; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/0a89689d9b30b50ef4ada7d54613cf836432c498/PreferenceDialog.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 14728, 752, 4247, 5484, 12, 9400, 982, 13, 288, 202, 202, 759, 1788, 326, 2077, 5091, 1492, 903, 912, 202, 202, 759, 279, 2077, 16, 883, 16, 471, 1316, 18, 202, 202, 2649, 5484, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 10107, 2686, 273, 576, 31, 202, 202, 6741, 18, 10107, 2384, 273, 576, 31, 202, 202, 6741, 18, 17824, 18006, 273, 374, 31, 202, 202, 6741, 18, 18396, 18006, 273, 374, 31, 202, 202, 6741, 18, 2107, 3380, 273, 576, 31, 202, 202, 759, 968, 326, 5412, 2036, 364, 326, 2077, 5091, 202, 202, 4236, 2562, 273, 982, 18, 588, 4236, 5621, 202, 202, 2957, 5412, 273, 804, 11824, 12570, 18, 588, 27398, 8199, 12, 5417, 1769, 202, 202, 6385, 5563, 16231, 273, 804, 11824, 12570, 18, 588, 27398, 23206, 12, 5417, 1769, 202, 202, 6313, 751, 3511, 751, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 202, 202, 2649, 5484, 18, 542, 3744, 12, 6741, 1769, 202, 202, 2649, 5484, 18, 542, 3744, 751, 12, 6741, 751, 1769, 202, 202, 2649, 5484, 18, 542, 8199, 12, 9342, 1769, 9506, 202, 6385, 5563, 5795, 2957, 273, 394, 5563, 12, 2649, 5484, 18, 588, 4236, 9334, 1767, 1204, 18, 8815, 28018, 11343, 1769, 9506, 202, 2649, 5484, 18, 1289, 12699, 2223, 12, 2704, 30001, 2223, 1435, 95, 1082, 202, 482, 918, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 14728, 752, 4247, 5484, 12, 9400, 982, 13, 288, 202, 202, 759, 1788, 326, 2077, 5091, 1492, 903, 912, 202, 202, 759, 279, 2077, 16, 883, 16, 471, 1316, 18, 202, 202, 2649, 5484, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 10107, 2686, 273, 576, 31, 202, 202, 6741, 18, 10107, 2384, 273, 576, 31, 202, 202, 6741, 18, 17824, 18006, 273, 374, 31, 202, 202, 6741, 18, 18396, 18006, 273, 374, 31, 202, 202, 6741, 18, 2107, 3380, 273, 576, 31, 202, 202, 759, 968, 326, 5412, 2036, 364, 326, 2077, 5091, 202, 202, 4236, 2562, 273, 2 ]
expectedTable.addCell("Node 1", "Critical", "element/node.jsp?node=null");
expectedTable.addCell("Node 1", "Critical", "element/node.jsp?node=1");
public void runTestCreateStatus() { expectEverything(); expect(m_monitoredServiceDao.findByApplication(m_application1)).andReturn(m_applicationServices1); replayEverything(); SimpleWebTable table = m_service.createStatusTable(m_locationDefinition1.getName(), m_application1.getName()); verifyEverything(); //System.out.print(table.toString()); SimpleWebTable expectedTable = new SimpleWebTable(); expectedTable.setTitle("Distributed poller view for Application 1 from Raleigh location"); expectedTable.addColumn("Node", "simpleWebTableHeader"); expectedTable.addColumn("Monitor", "simpleWebTableHeader"); expectedTable.addColumn("Service", "simpleWebTableHeader"); expectedTable.addColumn("Status", "simpleWebTableHeader"); expectedTable.addColumn("Response", "simpleWebTableHeader"); expectedTable.newRow(); expectedTable.addCell("Node 1", "Normal", "element/node.jsp?node=null"); expectedTable.addCell("Raleigh-1", ""); expectedTable.addCell("HTTP", "", "element/service.jsp?ifserviceid=null"); expectedTable.addCell("Up", "bright"); expectedTable.addCell("", ""); expectedTable.newRow(); expectedTable.addCell("Node 1", "Critical", "element/node.jsp?node=null"); expectedTable.addCell("Raleigh-1", ""); expectedTable.addCell("HTTPS", "", "element/service.jsp?ifserviceid=null"); expectedTable.addCell("Unknown", "bright"); expectedTable.addCell("No status recorded for this service from this location", ""); assertTableEquals(expectedTable, table); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/6c59a7e3b2f1ad843e281c2374851ebf421fe074/DefaultDistributedStatusServiceTest.java/buggy/opennms-webapp/src/test/java/org/opennms/web/svclayer/support/DefaultDistributedStatusServiceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 4709, 1684, 1482, 1435, 288, 3639, 4489, 21465, 4274, 5621, 7734, 4489, 12, 81, 67, 2586, 20425, 1179, 11412, 18, 4720, 858, 3208, 12, 81, 67, 3685, 21, 13, 2934, 464, 990, 12, 81, 67, 3685, 5676, 21, 1769, 7734, 16033, 21465, 4274, 5621, 3639, 4477, 4079, 1388, 1014, 273, 5411, 312, 67, 3278, 18, 2640, 1482, 1388, 12, 81, 67, 3562, 1852, 21, 18, 17994, 9334, 4766, 3639, 312, 67, 3685, 21, 18, 17994, 10663, 7734, 3929, 21465, 4274, 5621, 7734, 368, 3163, 18, 659, 18, 1188, 12, 2121, 18, 10492, 10663, 7734, 4477, 4079, 1388, 2665, 1388, 273, 394, 4477, 4079, 1388, 5621, 3639, 2665, 1388, 18, 542, 4247, 2932, 1669, 11050, 24525, 1476, 364, 4257, 404, 628, 534, 5349, 2031, 2117, 8863, 7734, 2665, 1388, 18, 1289, 1494, 2932, 907, 3113, 315, 9647, 4079, 1388, 1864, 8863, 3639, 2665, 1388, 18, 1289, 1494, 2932, 7187, 3113, 315, 9647, 4079, 1388, 1864, 8863, 3639, 2665, 1388, 18, 1289, 1494, 2932, 1179, 3113, 315, 9647, 4079, 1388, 1864, 8863, 3639, 2665, 1388, 18, 1289, 1494, 2932, 1482, 3113, 315, 9647, 4079, 1388, 1864, 8863, 3639, 2665, 1388, 18, 1289, 1494, 2932, 1064, 3113, 315, 9647, 4079, 1388, 1864, 8863, 7734, 2665, 1388, 18, 2704, 1999, 5621, 3639, 2665, 1388, 18, 1289, 4020, 2932, 907, 404, 3113, 315, 5506, 3113, 315, 2956, 19, 2159, 18, 24926, 35, 2159, 33, 2011, 8863, 3639, 2665, 1388, 18, 1289, 4020, 2932, 54, 5349, 2031, 17, 21, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 4709, 1684, 1482, 1435, 288, 3639, 4489, 21465, 4274, 5621, 7734, 4489, 12, 81, 67, 2586, 20425, 1179, 11412, 18, 4720, 858, 3208, 12, 81, 67, 3685, 21, 13, 2934, 464, 990, 12, 81, 67, 3685, 5676, 21, 1769, 7734, 16033, 21465, 4274, 5621, 3639, 4477, 4079, 1388, 1014, 273, 5411, 312, 67, 3278, 18, 2640, 1482, 1388, 12, 81, 67, 3562, 1852, 21, 18, 17994, 9334, 4766, 3639, 312, 67, 3685, 21, 18, 17994, 10663, 7734, 3929, 21465, 4274, 5621, 7734, 368, 3163, 18, 659, 18, 1188, 12, 2121, 18, 10492, 10663, 7734, 4477, 4079, 1388, 2665, 1388, 273, 394, 4477, 4079, 1388, 5621, 3639, 2665, 1388, 18, 542, 4247, 2932, 1669, 11050, 24525, 2 ]
public void visitCALOAD(CALOAD obj) { pushValue(Type.CHAR); }
public void visitCALOAD(CALOAD obj) { consumeStack(obj); pushValue(Type.CHAR); }
public void visitCALOAD(CALOAD obj) { pushValue(Type.CHAR); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/b75aa9fb6d1d4ee62fc08bb62f57dc88de7f092d/TypeFrameModelingVisitor.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/TypeFrameModelingVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 7913, 51, 1880, 12, 7913, 51, 1880, 1081, 13, 9506, 202, 95, 1817, 620, 12, 559, 18, 7305, 1769, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final CodeSource source = resource.getCodeSource();
final CodeSource source = resource.getCodeSource();
protected Class findClass(final String className) throws ClassNotFoundException { // Just try to find the resource by the (almost) same name String resourceName = className.replace('.', '/') + ".class"; Resource resource = findURLResource(resourceName); if (resource == null) throw new ClassNotFoundException(className + " not found in " + urls); // Try to read the class data, create the CodeSource, Package and // construct the class (and watch out for those nasty IOExceptions) try { byte[] data; InputStream in = resource.getInputStream(); try { int length = resource.getLength(); if (length != -1) { // We know the length of the data. // Just try to read it in all at once data = new byte[length]; int pos = 0; while (length - pos > 0) { int len = in.read(data, pos, length - pos); if (len == -1) throw new EOFException("Not enough data reading from: " + in); pos += len; } } else { // We don't know the data length. // Have to read it in chunks. ByteArrayOutputStream out = new ByteArrayOutputStream(4096); byte[] b = new byte[4096]; int l = 0; while (l != -1) { l = in.read(b); if (l != -1) out.write(b, 0, l); } data = out.toByteArray(); } } finally { in.close(); } final byte[] classData = data; // Now get the CodeSource final CodeSource source = resource.getCodeSource(); // Find out package name String packageName = null; int lastDot = className.lastIndexOf('.'); if (lastDot != -1) packageName = className.substring(0, lastDot); if (packageName != null && getPackage(packageName) == null) { // define the package Manifest manifest = resource.loader.getManifest(); if (manifest == null) definePackage(packageName, null, null, null, null, null, null, null); else definePackage(packageName, manifest, resource.loader.baseURL); } // And finally construct the class! SecurityManager sm = System.getSecurityManager(); if (sm != null && securityContext != null) { return (Class)AccessController.doPrivileged (new PrivilegedAction() { public Object run() { return defineClass(className, classData, 0, classData.length, source); } }, securityContext); } else return defineClass(className, classData, 0, classData.length, source); } catch (IOException ioe) { throw new ClassNotFoundException(className, ioe); } }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/c7beb2e15aab929442532def7adc6eca7478246d/URLClassLoader.java/clean/java/net/URLClassLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1659, 1104, 797, 12, 6385, 514, 2658, 13, 565, 1216, 10403, 225, 288, 565, 368, 12526, 775, 358, 1104, 326, 1058, 635, 326, 261, 287, 10329, 13, 1967, 508, 565, 514, 9546, 273, 2658, 18, 2079, 2668, 1093, 16, 2023, 13, 397, 3552, 1106, 14432, 565, 2591, 1058, 273, 1104, 1785, 1420, 12, 3146, 461, 1769, 565, 309, 261, 3146, 422, 446, 13, 1377, 604, 394, 10403, 12, 12434, 397, 315, 486, 1392, 316, 315, 397, 6903, 1769, 565, 368, 6161, 358, 855, 326, 667, 501, 16, 752, 326, 3356, 1830, 16, 7508, 471, 565, 368, 4872, 326, 667, 261, 464, 4267, 596, 364, 5348, 290, 689, 93, 1860, 87, 13, 565, 775, 1377, 288, 202, 7229, 8526, 501, 31, 202, 4348, 316, 273, 1058, 18, 588, 4348, 5621, 202, 698, 202, 225, 288, 202, 565, 509, 769, 273, 1058, 18, 588, 1782, 5621, 202, 565, 309, 261, 2469, 480, 300, 21, 13, 202, 1377, 288, 202, 202, 759, 1660, 5055, 326, 769, 434, 326, 501, 18, 202, 202, 759, 12526, 775, 358, 855, 518, 316, 777, 622, 3647, 202, 202, 892, 273, 394, 1160, 63, 2469, 15533, 202, 202, 474, 949, 273, 374, 31, 202, 202, 17523, 261, 2469, 300, 949, 405, 374, 13, 1082, 225, 288, 1082, 565, 509, 562, 273, 316, 18, 896, 12, 892, 16, 949, 16, 769, 300, 949, 1769, 1082, 565, 309, 261, 1897, 422, 300, 21, 13, 1082, 1377, 604, 394, 30051, 2932, 1248, 7304, 501, 6453, 628, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1659, 1104, 797, 12, 6385, 514, 2658, 13, 565, 1216, 10403, 225, 288, 565, 368, 12526, 775, 358, 1104, 326, 1058, 635, 326, 261, 287, 10329, 13, 1967, 508, 565, 514, 9546, 273, 2658, 18, 2079, 2668, 1093, 16, 2023, 13, 397, 3552, 1106, 14432, 565, 2591, 1058, 273, 1104, 1785, 1420, 12, 3146, 461, 1769, 565, 309, 261, 3146, 422, 446, 13, 1377, 604, 394, 10403, 12, 12434, 397, 315, 486, 1392, 316, 315, 397, 6903, 1769, 565, 368, 6161, 358, 855, 326, 667, 501, 16, 752, 326, 3356, 1830, 16, 7508, 471, 565, 368, 4872, 326, 667, 261, 464, 4267, 596, 364, 5348, 290, 689, 93, 1860, 87, 13, 565, 775, 1377, 288, 202, 7229, 2 ]
public WindowPeer createEmbeddedWindow (int window_id, int width, int height);
public EmbeddedWindowPeer createEmbeddedWindow (EmbeddedWindow w);
public WindowPeer createEmbeddedWindow (int window_id, int width, int height);
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/c3d201dee6a1d42270bf2d1388faf42a4a5da8c4/EmbeddedWindowSupport.java/buggy/libjava/gnu/java/awt/EmbeddedWindowSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 6076, 6813, 752, 14980, 3829, 261, 474, 2742, 67, 350, 16, 25083, 225, 509, 1835, 16, 509, 2072, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected DRDAResultSet(ResultSet rs) throws SQLException
protected DRDAResultSet()
protected DRDAResultSet(ResultSet rs) throws SQLException { setResultSet(rs); state = NOT_OPENED; }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/82c7dde0566c7b457f3906cdc8bd5062ecdaa09d/DRDAResultSet.java/buggy/java/drda/org/apache/derby/impl/drda/DRDAResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 16801, 9793, 13198, 12, 13198, 3597, 13, 1216, 6483, 202, 95, 202, 202, 542, 13198, 12, 5453, 1769, 202, 202, 2019, 273, 4269, 67, 11437, 2056, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 326, 981, 30, 225, 202, 1117, 16801, 9793, 13198, 12, 13198, 3597, 13, 1216, 6483, 202, 95, 202, 202, 542, 13198, 12, 5453, 1769, 202, 202, 2019, 273, 4269, 67, 11437, 2056, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
catch(IllegalMonitorStateException ex) { throw ex; }
public Object peek() throws QueueClosedException { Object retval=null; synchronized(mutex) { while(l.size() == 0) { if(closed) throw new QueueClosedException(); try { mutex.wait(); } catch(IllegalMonitorStateException ex) { throw ex; } catch(InterruptedException ex) { } } if(closed) throw new QueueClosedException(); try { retval=l.getFirst(); } catch(NoSuchElementException ex) { if(log.isErrorEnabled()) log.error("retval == null, size()=" + l.size()); return null; } } if(retval == endMarker) { close(false); // mark queue as closed throw new QueueClosedException(); } return retval; }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/4071daaa0d7c1c82cdc06c63ce8b9cfb7b0eff8c/LinkedListQueue.java/buggy/src/org/jgroups/util/LinkedListQueue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 8032, 1435, 1216, 7530, 7395, 503, 288, 3639, 1033, 5221, 33, 2011, 31, 3639, 3852, 12, 29946, 13, 288, 5411, 1323, 12, 80, 18, 1467, 1435, 422, 374, 13, 288, 7734, 309, 12, 12204, 13, 10792, 604, 394, 7530, 7395, 503, 5621, 7734, 775, 288, 10792, 9020, 18, 7048, 5621, 7734, 289, 7734, 1044, 12, 12195, 7187, 5060, 431, 13, 288, 10792, 604, 431, 31, 7734, 289, 7734, 1044, 12, 24485, 503, 431, 13, 288, 7734, 289, 5411, 289, 5411, 309, 12, 12204, 13, 7734, 604, 394, 7530, 7395, 503, 5621, 202, 565, 775, 288, 202, 202, 18341, 33, 80, 18, 588, 3759, 5621, 202, 565, 289, 202, 565, 1044, 12, 28341, 20826, 431, 13, 288, 202, 202, 430, 12, 1330, 18, 291, 668, 1526, 10756, 613, 18, 1636, 2932, 18341, 422, 446, 16, 963, 1435, 1546, 397, 328, 18, 1467, 10663, 202, 202, 2463, 446, 31, 1082, 565, 289, 3639, 289, 3639, 309, 12, 18341, 422, 679, 7078, 13, 288, 5411, 1746, 12, 5743, 1769, 368, 2267, 2389, 487, 4375, 5411, 604, 394, 7530, 7395, 503, 5621, 3639, 289, 3639, 327, 5221, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 8032, 1435, 1216, 7530, 7395, 503, 288, 3639, 1033, 5221, 33, 2011, 31, 3639, 3852, 12, 29946, 13, 288, 5411, 1323, 12, 80, 18, 1467, 1435, 422, 374, 13, 288, 7734, 309, 12, 12204, 13, 10792, 604, 394, 7530, 7395, 503, 5621, 7734, 775, 288, 10792, 9020, 18, 7048, 5621, 7734, 289, 7734, 1044, 12, 12195, 7187, 5060, 431, 13, 288, 10792, 604, 431, 31, 7734, 289, 7734, 1044, 12, 24485, 503, 431, 13, 288, 7734, 289, 5411, 289, 5411, 309, 12, 12204, 13, 7734, 604, 394, 7530, 7395, 503, 5621, 202, 565, 775, 288, 202, 202, 18341, 33, 80, 18, 588, 3759, 5621, 202, 565, 289, 202, 565, 1044, 12, 28341, 20826, 431, 13, 288, 2 ]
int tend = getLastNonSkippedChild(c,box);
int tend = getLastNonSkippedChild(c, box);
public static void paintBlockContext(Context c, Box box, boolean restyle) { //if (box.getPersistentBFC() != null) c.pushBFC(box.getPersistentBFC()); c.translate(box.x, box.y); c.getGraphics().translate(box.x, box.y); if (box.getPersistentBFC() != null) { c.pushBFC(new BlockFormattingContext(box.getPersistentBFC())); } //XRLog.render(Level.WARNING, "using default renderer paintChildren for " + box.getClass().getPropertyName()); //TODO: work out how images and other replaced content really should be handled if (box.component != null) { //HACK: the positions during layout are still not perfect, reset here - tobe 2005-01-07 //TODO: fix the translates during layout to handle this directly instead Point origin = c.getOriginOffset(); box.component.setLocation((int) origin.getX(), (int) origin.getY()); if (!c.isInteractive()) { box.component.paint(c.getGraphics()); } } else { int start = 0; int end = box.getChildCount()-1; if(ALTERNATE_CLIP_DAMAGE) { if(box.getChildCount() > 10) { int tstart = getFirstNonSkippedChild(c,box); Uu.p("first non skip = " + tstart); if(tstart != -1) { start = tstart; } int tend = getLastNonSkippedChild(c,box); Uu.p("last non skip = " + tend); if(tend != -1) { end = tend; } } } for (int i = start; i <= end; i++) { LinkedList inlineBorders = null; Box child = (Box) box.getChild(i); if (!(child instanceof AnonymousBlockBox)) { //save inline borders and reconstitute them inlineBorders = (LinkedList) c.getInlineBorders().clone(); c.getInlineBorders().clear(); } paintChild(c, child, restyle); if (!(child instanceof AnonymousBlockBox)) { c.getInlineBorders().addAll(inlineBorders); } } } if (box.getPersistentBFC() != null) { c.popBFC(); } c.translate(-box.x, -box.y); c.getGraphics().translate(-box.x, -box.y); //if (box.getPersistentBFC() != null) c.popBFC(); }
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/c96efe21dd32b0a4f0420c8495d49144792cbc9d/BlockRendering.java/clean/src/java/org/xhtmlrenderer/render/BlockRendering.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 12574, 1768, 1042, 12, 1042, 276, 16, 8549, 3919, 16, 1250, 3127, 1362, 13, 288, 3639, 368, 430, 261, 2147, 18, 588, 11906, 38, 4488, 1435, 480, 446, 13, 276, 18, 6206, 38, 4488, 12, 2147, 18, 588, 11906, 38, 4488, 10663, 3639, 276, 18, 13929, 12, 2147, 18, 92, 16, 3919, 18, 93, 1769, 3639, 276, 18, 588, 17558, 7675, 13929, 12, 2147, 18, 92, 16, 3919, 18, 93, 1769, 3639, 309, 261, 2147, 18, 588, 11906, 38, 4488, 1435, 480, 446, 13, 288, 5411, 276, 18, 6206, 38, 4488, 12, 2704, 3914, 23974, 1042, 12, 2147, 18, 588, 11906, 38, 4488, 1435, 10019, 3639, 289, 3639, 368, 60, 54, 1343, 18, 5902, 12, 2355, 18, 9511, 16, 315, 9940, 805, 5690, 12574, 4212, 364, 315, 397, 3919, 18, 588, 797, 7675, 588, 13073, 10663, 3639, 368, 6241, 30, 1440, 596, 3661, 4602, 471, 1308, 8089, 913, 8654, 1410, 506, 7681, 3639, 309, 261, 2147, 18, 4652, 480, 446, 13, 288, 5411, 368, 44, 3649, 30, 326, 6865, 4982, 3511, 854, 4859, 486, 24746, 16, 2715, 2674, 300, 358, 2196, 4044, 25, 17, 1611, 17, 8642, 5411, 368, 6241, 30, 2917, 326, 2162, 815, 4982, 3511, 358, 1640, 333, 5122, 3560, 5411, 4686, 4026, 273, 276, 18, 588, 7571, 2335, 5621, 5411, 3919, 18, 4652, 18, 542, 2735, 12443, 474, 13, 4026, 18, 588, 60, 9334, 261, 474, 13, 4026, 18, 588, 61, 10663, 5411, 309, 16051, 71, 18, 291, 26442, 10756, 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, 12574, 1768, 1042, 12, 1042, 276, 16, 8549, 3919, 16, 1250, 3127, 1362, 13, 288, 3639, 368, 430, 261, 2147, 18, 588, 11906, 38, 4488, 1435, 480, 446, 13, 276, 18, 6206, 38, 4488, 12, 2147, 18, 588, 11906, 38, 4488, 10663, 3639, 276, 18, 13929, 12, 2147, 18, 92, 16, 3919, 18, 93, 1769, 3639, 276, 18, 588, 17558, 7675, 13929, 12, 2147, 18, 92, 16, 3919, 18, 93, 1769, 3639, 309, 261, 2147, 18, 588, 11906, 38, 4488, 1435, 480, 446, 13, 288, 5411, 276, 18, 6206, 38, 4488, 12, 2704, 3914, 23974, 1042, 12, 2147, 18, 588, 11906, 38, 4488, 1435, 10019, 3639, 289, 3639, 368, 60, 54, 1343, 18, 5902, 12, 2 ]
}
public void run() { in = null; out = null; try { in = new BufferedReader(new InputStreamReader(input)); out = new PrintWriter(output, true); } catch(Exception e) { debug.error("Can't run console input", e); return; } // Wait 2 seconds to allow things to finish. XXX - hack - better way? try { Thread.sleep(1000); } catch(Exception e) { ; } // Print out the welcome message out.println("\n\nEvent Packager v2.0"); out.println("Copyright (c) 2002: The Trustees of Columbia University " + "in the\nCity of New York. All Rights Reserved."); out.println("Type HELP for console help."); // Actually listen for requests now String command = null; while(true) { out.print("> "); out.flush(); try { command = in.readLine(); } catch(Exception e) { debug.error("Could not read console input", e); break; } // Now try to determine if the command is important if(command == null) { // Bad out.println("Warning: null encountered, shutting down input"); break; } else if(command.trim().length() == 0) { // ignore - it's whitespace } // Help else if(isCommand(command, "help")) { out.println("-------------------\n" + "Available commands:\n"+ "- HELP: produces this output\n"+ "- INJECTSTRING: injects a \"quoted string\" into EP for testing\n" + "- INJECTXML: injects \"quoted XML\" into EP for testing\n" + "- INJECTSIENA: injects a Siena notification; use\n" + " {\"a1\"=(valuetype)\"data\", ...} as the parameter; supported\n" + " valuetypes include String, boolean, double, or long. If\n" + " valuetype is not specified, String is assumed\n" + "- SHUTDOWN: shuts down the Event Packager cleanly\n" + "-------------------"); } // Shutdown else if(isCommand(command, "shutdown")) { ep.shutdown(); break; } // Inject(String|XML) else if(isCommand(command, "injectstring") || isCommand(command, "injectxml")) { // Grab the actual string from the input StringTokenizer tok = new StringTokenizer(command, "\""); String data = null; try { tok.nextToken(); // Ignore the stuff outside data = tok.nextToken(); } catch(Exception e) { out.println("Invalid format for injecting a string"); continue; } // Encapsulate it into a StringEvent... StringEvent se = new StringEvent(getName(), data); // ...and then either ship it or convert it to DOMEvent if(isCommand(command, "injectstring")) { debug.debug("Injecting " + se); ep.injectEvent(se); } else { // XML DOMEvent de = (DOMEvent)se.convertEvent("DOMEvent"); if(de == null) { out.println("Failed in parsing XML"); continue; } debug.debug("Injecting " + de); ep.injectEvent(de); } } // InjectSiena else if(isCommand(command, "injectsiena")) { StringTokenizer tok = new StringTokenizer(command, "\""); Notification n = new Notification(); String attribute = null, rawValueType = null, valueType = null, data = null; while(tok.hasMoreTokens()) { try { attribute = tok.nextToken(); rawValueType = tok.nextToken(); // Parse rawValueType. Handle situations where there are NO // tokens left for the rawValueType, i.e., there's no valueType. StringTokenizer tok2 = new StringTokenizer(rawValueType, "()"); if(tok2.hasMoreTokens()) tok2.nextToken(); // Skip = valueType = (tok2.hasMoreTokens()) ? tok2.nextToken() : null; // Parse data data = tok.nextToken(); } catch(Exception e) { out.println("Parse error in InjectSiena: " + e); break; } // Now add to the notification if(valueType == null || valueType.equalsIgnoreCase("String")) { n.putAttribute(attribute, data); } else if(valueType.equalsIgnoreCase("boolean")) { n.putAttribute(attribute, Boolean.valueOf(data).booleanValue()); } else if(valueType.equalsIgnoreCase("double")) { n.putAttribute(attribute, Double.parseDouble(data)); } else if(valueType.equalsIgnoreCase("long")) { n.putAttribute(attribute, Integer.parseInt(data)); } else { out.println("Invalid value type \"" + valueType + "\", try again"); break; } // Now publish the notification ep.injectEvent(new SienaEvent(getName(), n)); } } // Invalid else { // If we're in ep-shutdown, let bygones be bygones if(ep.inShutdown()) break; else out.println("Invalid command; please try again, or try HELP."); } } }
14534 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14534/ffd9cd0cae35aa4f37241c8ed2c0d00426d7289e/ConsoleInput.java/clean/ep/input/ConsoleInput.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 1435, 288, 565, 316, 273, 446, 31, 565, 596, 273, 446, 31, 3639, 775, 288, 1377, 316, 273, 394, 10633, 12, 2704, 15322, 12, 2630, 10019, 1377, 596, 273, 394, 14071, 12, 2844, 16, 638, 1769, 565, 1044, 12, 503, 425, 13, 288, 1377, 1198, 18, 1636, 2932, 2568, 1404, 1086, 2983, 810, 3113, 425, 1769, 1377, 327, 31, 6647, 368, 5838, 576, 3974, 358, 1699, 9198, 358, 4076, 18, 225, 11329, 300, 11769, 300, 7844, 4031, 35, 565, 775, 288, 1377, 4884, 18, 19607, 12, 18088, 1769, 565, 1044, 12, 503, 425, 13, 288, 274, 3639, 368, 3038, 596, 326, 28329, 883, 565, 596, 18, 8222, 31458, 82, 64, 82, 1133, 7930, 6817, 331, 22, 18, 20, 8863, 565, 596, 18, 8222, 2932, 2951, 4083, 261, 71, 13, 4044, 22, 30, 1021, 20246, 25521, 434, 1558, 3592, 1155, 1351, 6760, 560, 315, 397, 565, 315, 267, 326, 64, 82, 22236, 434, 1166, 1624, 778, 18, 225, 4826, 534, 10730, 16237, 1199, 1769, 565, 596, 18, 8222, 2932, 559, 22557, 52, 364, 2983, 2809, 1199, 1769, 3639, 368, 4603, 3452, 6514, 364, 3285, 2037, 565, 514, 1296, 273, 446, 31, 565, 1323, 12, 3767, 13, 288, 1377, 596, 18, 1188, 2932, 34, 315, 1769, 1377, 596, 18, 11330, 5621, 1377, 775, 288, 3639, 1296, 273, 316, 18, 896, 1670, 5621, 1377, 1044, 12, 503, 425, 13, 288, 3639, 1198, 18, 1636, 2932, 4445, 486, 855, 2983, 810, 3113, 425, 1769, 3639, 898, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 1435, 288, 565, 316, 273, 446, 31, 565, 596, 273, 446, 31, 3639, 775, 288, 1377, 316, 273, 394, 10633, 12, 2704, 15322, 12, 2630, 10019, 1377, 596, 273, 394, 14071, 12, 2844, 16, 638, 1769, 565, 1044, 12, 503, 425, 13, 288, 1377, 1198, 18, 1636, 2932, 2568, 1404, 1086, 2983, 810, 3113, 425, 1769, 1377, 327, 31, 6647, 368, 5838, 576, 3974, 358, 1699, 9198, 358, 4076, 18, 225, 11329, 300, 11769, 300, 7844, 4031, 35, 565, 775, 288, 1377, 4884, 18, 19607, 12, 18088, 1769, 565, 1044, 12, 503, 425, 13, 288, 274, 3639, 368, 3038, 596, 326, 28329, 883, 565, 596, 18, 8222, 31458, 82, 64, 82, 1133, 7930, 6817, 331, 2 ]
throws NotImplementedException
public int getAccessibleSelectionCount() throws NotImplementedException { return 0; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JMenu.java/clean/core/src/classpath/javax/javax/swing/JMenu.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 10451, 6233, 1380, 1435, 540, 288, 1377, 327, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 10451, 6233, 1380, 1435, 540, 288, 1377, 327, 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, -100, -100, -100, -100, -100, -100, -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 int getMinTileX() {
public int getMinTileX() {
public int getMinTileX() { return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/BufferedImage.java/clean/core/src/classpath/java/java/awt/image/BufferedImage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 9555, 9337, 60, 1435, 288, 202, 202, 2463, 374, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 9555, 9337, 60, 1435, 288, 202, 202, 2463, 374, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
result = 2;
return 2;
public static int getConversionWeight(Object fromObj, Class to) { int fromCode = getJSTypeCode(fromObj); int result = CONVERSION_NONE; switch (fromCode) { case JSTYPE_UNDEFINED: if (to == ScriptRuntime.StringClass || to == ScriptRuntime.ObjectClass) { result = 1; } break; case JSTYPE_NULL: if (!to.isPrimitive()) { result = 1; } break; case JSTYPE_BOOLEAN: // "boolean" is #1 if (to == Boolean.TYPE) { result = 1; } else if (to == ScriptRuntime.BooleanClass) { result = 2; } else if (to == ScriptRuntime.ObjectClass) { result = 3; } else if (to == ScriptRuntime.StringClass) { result = 4; } break; case JSTYPE_NUMBER: if (to.isPrimitive()) { if (to == Double.TYPE) { result = 1; } else if (to != Boolean.TYPE) { result = 1 + getSizeRank(to); } } else { if (to == ScriptRuntime.StringClass) { // native numbers are #1-8 result = 9; } else if (to == ScriptRuntime.ObjectClass) { result = 10; } else if (ScriptRuntime.NumberClass.isAssignableFrom(to)) { // "double" is #1 result = 2; } } break; case JSTYPE_STRING: if (to == ScriptRuntime.StringClass) { result = 1; } else if (to.isInstance(fromObj)) { result = 2; } else if (to.isPrimitive()) { if (to == Character.TYPE) { result = 3; } else if (to != Boolean.TYPE) { result = 4; } } break; case JSTYPE_JAVA_CLASS: if (to == ScriptRuntime.ClassClass) { result = 1; } else if (to == ScriptRuntime.ObjectClass) { result = 3; } else if (to == ScriptRuntime.StringClass) { result = 4; } break; case JSTYPE_JAVA_OBJECT: case JSTYPE_JAVA_ARRAY: if (to == ScriptRuntime.StringClass) { result = 2; } else if (to.isPrimitive() && to != Boolean.TYPE) { result = (fromCode == JSTYPE_JAVA_ARRAY) ? CONVERSION_NONTRIVIAL : 2 + getSizeRank(to); } else { Object javaObj = fromObj; if (javaObj instanceof Wrapper) { javaObj = ((Wrapper)javaObj).unwrap(); } if (to.isInstance(javaObj)) { result = CONVERSION_NONTRIVIAL; } } break; case JSTYPE_OBJECT: // Other objects takes #1-#3 spots if (to.isArray()) { if (fromObj instanceof NativeArray) { // This is a native array conversion to a java array // Array conversions are all equal, and preferable to object // and string conversion, per LC3. result = 1; } } else if (to == ScriptRuntime.ObjectClass) { result = 2; } else if (to == ScriptRuntime.StringClass) { result = 3; } else if (to == ScriptRuntime.DateClass) { if (fromObj instanceof NativeDate) { // This is a native date to java date conversion result = 1; } } else if (to.isPrimitive() || to != Boolean.TYPE) { result = 3 + getSizeRank(to); } break; } return result; }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/11eddf0c611b2537267e99835d22096964c80528/NativeJavaObject.java/buggy/src/org/mozilla/javascript/NativeJavaObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 336, 6814, 6544, 12, 921, 628, 2675, 16, 1659, 358, 13, 288, 3639, 509, 628, 1085, 273, 30257, 15460, 12, 2080, 2675, 1769, 3639, 509, 563, 273, 3492, 5757, 67, 9826, 31, 3639, 1620, 261, 2080, 1085, 13, 288, 3639, 648, 804, 882, 1738, 67, 2124, 15544, 30, 5411, 309, 261, 869, 422, 7739, 5576, 18, 780, 797, 747, 7734, 358, 422, 7739, 5576, 18, 921, 797, 13, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 8560, 30, 5411, 309, 16051, 869, 18, 291, 9840, 10756, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 17900, 30, 5411, 368, 315, 6494, 6, 353, 468, 21, 5411, 309, 261, 869, 422, 3411, 18, 2399, 13, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 469, 309, 261, 869, 422, 7739, 5576, 18, 5507, 797, 13, 288, 7734, 327, 576, 31, 5411, 289, 5411, 469, 309, 261, 869, 422, 7739, 5576, 18, 921, 797, 13, 288, 7734, 563, 273, 890, 31, 5411, 289, 5411, 469, 309, 261, 869, 422, 7739, 5576, 18, 780, 797, 13, 288, 7734, 563, 273, 1059, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 9931, 30, 5411, 309, 261, 869, 18, 291, 9840, 10756, 288, 7734, 309, 261, 869, 422, 3698, 18, 2399, 13, 288, 10792, 563, 273, 404, 31, 7734, 289, 7734, 469, 309, 261, 869, 480, 3411, 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, 509, 336, 6814, 6544, 12, 921, 628, 2675, 16, 1659, 358, 13, 288, 3639, 509, 628, 1085, 273, 30257, 15460, 12, 2080, 2675, 1769, 3639, 509, 563, 273, 3492, 5757, 67, 9826, 31, 3639, 1620, 261, 2080, 1085, 13, 288, 3639, 648, 804, 882, 1738, 67, 2124, 15544, 30, 5411, 309, 261, 869, 422, 7739, 5576, 18, 780, 797, 747, 7734, 358, 422, 7739, 5576, 18, 921, 797, 13, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 8560, 30, 5411, 309, 16051, 869, 18, 291, 9840, 10756, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 17900, 30, 5411, 2 ]
"a.alarmID as alarmID" +clause);
"a.alarmID as alarmID " +clause);
public AlarmMappingQuery(DataSource ds, String clause) { super(ds, "SELECT " + "a.eventUei as eventUei, " + "a.dpName as dpName, " + "a.nodeID as nodeID, " + "a.ipaddr as ipaddr, " + "a.serviceID as serviceID, " + "a.reductionKey as reductionKey, " + "a.alarmType as alarmType, " + "a.counter as counter, " + "a.severity as severity, " + "a.lastEventID as lastEventID, " + "a.firstEventTime as firstEventTime, " + "a.lastEventTime as lastEventTime, " + "a.description as description, " + "a.logMsg as logMsg, " + "a.operInstruct as operInstruct, " + "a.tticketID as tticketID, " + "a.tticketState as tticketState, " + "a.mouseOverText as mouseOverText, " + "a.suppressedUntil as suppressedUntil, " + "a.suppressedUser as suppressedUser, " + "a.suppressedTime as suppressedTime, " + "a.alarmAckUser as alarmAckUser, " + "a.alarmAckTime as alarmAckTime, " + "a.clearUei as clearUei, " + "a.alarmID as alarmID" +clause); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/bf0f4e4be3a381bb06f5e87e9095dbff5664ee04/AlarmMappingQuery.java/clean/opennms-model/src/main/java/org/opennms/netmgt/dao/jdbc/alarm/AlarmMappingQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2262, 4610, 3233, 1138, 12, 8597, 3780, 16, 514, 6591, 13, 288, 3639, 2240, 12, 2377, 16, 315, 4803, 315, 397, 1850, 202, 202, 6, 69, 18, 2575, 57, 73, 77, 487, 871, 57, 73, 77, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 9295, 461, 487, 9986, 461, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 2159, 734, 487, 14871, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 625, 4793, 487, 2359, 4793, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 3278, 734, 487, 21212, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 1118, 4062, 653, 487, 20176, 653, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 20681, 559, 487, 13721, 559, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 7476, 487, 3895, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 27341, 487, 11426, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 2722, 1133, 734, 487, 1142, 1133, 734, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 3645, 1133, 950, 487, 1122, 1133, 950, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 2722, 1133, 950, 487, 1142, 1133, 950, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 3384, 487, 2477, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 1330, 3332, 487, 613, 3332, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 4063, 382, 1697, 487, 2255, 382, 1697, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 748, 29378, 734, 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, 2262, 4610, 3233, 1138, 12, 8597, 3780, 16, 514, 6591, 13, 288, 3639, 2240, 12, 2377, 16, 315, 4803, 315, 397, 1850, 202, 202, 6, 69, 18, 2575, 57, 73, 77, 487, 871, 57, 73, 77, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 9295, 461, 487, 9986, 461, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 2159, 734, 487, 14871, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 625, 4793, 487, 2359, 4793, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 3278, 734, 487, 21212, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 1118, 4062, 653, 487, 20176, 653, 16, 315, 397, 1850, 202, 202, 6, 69, 18, 20681, 559, 487, 2 ]
null,
private void verify (Node node, boolean verifyNames, boolean xml11Version){ int type = node.getNodeType(); boolean wellformed; switch (type) { case Node.DOCUMENT_NODE:{ break; } case Node.DOCUMENT_TYPE_NODE:{ break; } case Node.ELEMENT_NODE:{ if (verifyNames){ if((features & NAMESPACES) != 0){ wellformed = CoreDocumentImpl.isValidQName(node.getPrefix() , node.getLocalName(), xml11Version) ; } else{ wellformed = CoreDocumentImpl.isXMLName(node.getNodeName() , xml11Version); } if (!wellformed){ if (!wellformed){ if (fErrorHandler != null) { String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "wf-invalid-character-in-node-name", new Object[]{"Element", node.getNodeName()}); DOMNormalizer.reportDOMError(fErrorHandler, fError, fLocator, msg, DOMError.SEVERITY_FATAL_ERROR, null, "wf-invalid-character-in-node-name"); } } } } AttributeMap attributes = (node.hasAttributes()) ? (AttributeMap) node.getAttributes() : null; if (attributes != null) { for (int i = 0; i < attributes.getLength(); ++i) { Attr attr = (Attr) attributes.item(i); DOMNormalizer.isAttrValueWF( fErrorHandler, fError, fLocator, attributes,(AttrImpl) attr, attr.getValue(), xml11Version); if (verifyNames) { wellformed = CoreDocumentImpl.isXMLName( node.getNodeName(), xml11Version); if (!wellformed) { String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "wf-invalid-character-in-node-name", new Object[] { "Attr", node.getNodeName()}); DOMNormalizer.reportDOMError( fErrorHandler, fError, fLocator, msg, DOMError.SEVERITY_FATAL_ERROR, null, "wf-invalid-character-in-node-name"); } } } } break; } case Node.COMMENT_NODE: { // only verify well-formness if comments included in the tree if ((features & COMMENTS) != 0) DOMNormalizer.isCommentWF(fErrorHandler, fError, fLocator, ((Comment)node).getData(), xml11Version); break; } case Node.ENTITY_REFERENCE_NODE: { // only if entity is preserved in the tree if (verifyNames && (features & ENTITIES) != 0){ CoreDocumentImpl.isXMLName(node.getNodeName() , xml11Version); } break; } case Node.CDATA_SECTION_NODE: { // verify content DOMNormalizer.isXMLCharWF(fErrorHandler, fError, fLocator, node.getNodeValue(), xml11Version); // the ]]> string will be checked during serialization break; } case Node.TEXT_NODE:{ DOMNormalizer.isXMLCharWF(fErrorHandler, fError, fLocator, node.getNodeValue(), xml11Version); break; } case Node.PROCESSING_INSTRUCTION_NODE:{ ProcessingInstruction pinode = (ProcessingInstruction)node ; String target = pinode.getTarget(); if (verifyNames) { if (xml11Version) { wellformed = XML11Char.isXML11ValidName(target); } else { wellformed = XMLChar.isValidName(target); } if (!wellformed) { String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "wf-invalid-character-in-node-name", new Object[] { "Element", node.getNodeName()}); DOMNormalizer.reportDOMError( fErrorHandler, fError, fLocator, msg, DOMError.SEVERITY_FATAL_ERROR, null, "wf-invalid-character-in-node-name"); } } DOMNormalizer.isXMLCharWF(fErrorHandler, fError, fLocator, pinode.getData(), xml11Version); break; } } }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/82adaadf3e9c9c7705874891d284dfa5ac18d582/DOMSerializerImpl.java/clean/src/org/apache/xml/serialize/DOMSerializerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3929, 261, 907, 756, 16, 1250, 3929, 1557, 16, 1250, 2025, 2499, 1444, 15329, 3639, 509, 618, 273, 756, 18, 588, 15101, 5621, 3639, 1250, 5492, 7312, 31, 3639, 1620, 261, 723, 13, 288, 2398, 648, 2029, 18, 18450, 67, 8744, 18611, 7734, 898, 31, 5411, 289, 5411, 648, 2029, 18, 18450, 67, 2399, 67, 8744, 18611, 7734, 898, 31, 5411, 289, 5411, 648, 2029, 18, 10976, 67, 8744, 18611, 1171, 9079, 309, 261, 8705, 1557, 15329, 10792, 309, 12443, 7139, 473, 18494, 55, 13, 480, 374, 15329, 13491, 5492, 7312, 273, 4586, 2519, 2828, 18, 26810, 13688, 12, 2159, 18, 588, 2244, 1435, 269, 756, 18, 588, 29583, 9334, 2025, 2499, 1444, 13, 274, 10792, 289, 10792, 469, 95, 13491, 5492, 7312, 273, 4586, 2519, 2828, 18, 291, 4201, 461, 12, 2159, 18, 588, 18948, 1435, 269, 2025, 2499, 1444, 1769, 10792, 289, 10792, 309, 16051, 30389, 7312, 15329, 18701, 309, 16051, 30389, 7312, 15329, 27573, 309, 261, 74, 17729, 480, 446, 13, 288, 4766, 565, 514, 1234, 273, 4703, 1079, 5074, 18, 2139, 1079, 12, 4766, 3639, 4703, 1079, 5074, 18, 8168, 67, 18192, 16, 29159, 315, 15581, 17, 5387, 17, 11560, 17, 267, 17, 2159, 17, 529, 3113, 29159, 394, 1033, 63, 7073, 6, 1046, 3113, 756, 18, 588, 18948, 17767, 1769, 4766, 3639, 4703, 16132, 18, 6006, 8168, 668, 12, 74, 17729, 16, 284, 668, 16, 284, 5786, 16, 1234, 16, 4703, 668, 18, 1090, 2204, 4107, 67, 29891, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3929, 261, 907, 756, 16, 1250, 3929, 1557, 16, 1250, 2025, 2499, 1444, 15329, 3639, 509, 618, 273, 756, 18, 588, 15101, 5621, 3639, 1250, 5492, 7312, 31, 3639, 1620, 261, 723, 13, 288, 2398, 648, 2029, 18, 18450, 67, 8744, 18611, 7734, 898, 31, 5411, 289, 5411, 648, 2029, 18, 18450, 67, 2399, 67, 8744, 18611, 7734, 898, 31, 5411, 289, 5411, 648, 2029, 18, 10976, 67, 8744, 18611, 1171, 9079, 309, 261, 8705, 1557, 15329, 10792, 309, 12443, 7139, 473, 18494, 55, 13, 480, 374, 15329, 13491, 5492, 7312, 273, 4586, 2519, 2828, 18, 26810, 13688, 12, 2159, 18, 588, 2244, 1435, 269, 756, 18, 588, 29583, 9334, 2025, 2499, 1444, 13, 274, 10792, 2 ]
private static boolean testAndClearMark(ObjectReference object) throws InlinePragma {
private static boolean testAndClearMark(ObjectReference object) throws InlinePragma {
private static boolean testAndClearMark(ObjectReference object) throws InlinePragma { Word oldValue; do { oldValue = ObjectModel.prepareAvailableBits(object); Word markBit = oldValue.and(GC_MARK_BIT_MASK); if (markBit.isZero()) return false; } while (!ObjectModel.attemptAvailableBits(object, oldValue, oldValue.and(GC_MARK_BIT_MASK.not()))); return true; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/30524c62fa391922d51289c03075f714c772951c/MarkCompactSpace.java/buggy/MMTk/src/org/mmtk/policy/MarkCompactSpace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1250, 1842, 1876, 9094, 3882, 12, 22101, 733, 13, 377, 1216, 16355, 2050, 9454, 288, 565, 9926, 11144, 31, 565, 741, 288, 1377, 11144, 273, 1033, 1488, 18, 9366, 5268, 6495, 12, 1612, 1769, 1377, 9926, 2267, 5775, 273, 11144, 18, 464, 12, 15396, 67, 12693, 67, 15650, 67, 11704, 1769, 1377, 309, 261, 3355, 5775, 18, 291, 7170, 10756, 327, 629, 31, 565, 289, 1323, 16051, 921, 1488, 18, 11764, 5268, 6495, 12, 1612, 16, 11144, 16, 4766, 1171, 11144, 18, 464, 12, 15396, 67, 12693, 67, 15650, 67, 11704, 18, 902, 1435, 3719, 1769, 565, 327, 638, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1250, 1842, 1876, 9094, 3882, 12, 22101, 733, 13, 377, 1216, 16355, 2050, 9454, 288, 565, 9926, 11144, 31, 565, 741, 288, 1377, 11144, 273, 1033, 1488, 18, 9366, 5268, 6495, 12, 1612, 1769, 1377, 9926, 2267, 5775, 273, 11144, 18, 464, 12, 15396, 67, 12693, 67, 15650, 67, 11704, 1769, 1377, 309, 261, 3355, 5775, 18, 291, 7170, 10756, 327, 629, 31, 565, 289, 1323, 16051, 921, 1488, 18, 11764, 5268, 6495, 12, 1612, 16, 11144, 16, 4766, 1171, 11144, 18, 464, 12, 15396, 67, 12693, 67, 15650, 67, 11704, 18, 902, 1435, 3719, 1769, 565, 327, 638, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (ok) {
} if (ok) {
double classifyInstanceLeaveOneOut(Instance instance, double [] instA) throws Exception { hashKey thekey; double [] tempDist; double [] normDist; thekey = new hashKey(instA); if (m_classIsNominal) { // if this one is not in the table if ((tempDist = (double [])m_entries.get(thekey)) == null) { System.out.println("Shouldnt get here!"); System.exit(1); } else { normDist = new double [tempDist.length]; System.arraycopy(tempDist,0,normDist,0,tempDist.length); normDist[(int)instance.classValue()] -= instance.weight(); // update the table // first check to see if the class counts are all zero now boolean ok = false; for (int i=0;i<normDist.length;i++) if (!Utils.eq(normDist[i],0.0)) { ok = true; break; } if (ok) { Utils.normalize(normDist); return Utils.maxIndex(normDist); } else return m_majority; } return Utils.maxIndex(tempDist); } else { // see if this one is already in the table if ((tempDist = (double[])m_entries.get(thekey)) != null) { normDist = new double [tempDist.length]; System.arraycopy(tempDist,0,normDist,0,tempDist.length); normDist[0] -= (instance.classValue() * instance.weight()); normDist[1] -= instance.weight(); if (Utils.eq(normDist[1],0.0)) return m_majority; else return (normDist[0] / normDist[1]); } else { System.out.println("Shouldnt get here"); System.exit(1); } } // shouldn't get here return 0.0; }
48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/cda0e11a5a37e91d026594d506cc5433742c7b77/DecisionTable.java/clean/weka/classifiers/rules/DecisionTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1645, 19974, 1442, 21300, 3335, 1182, 12, 1442, 791, 16, 1645, 5378, 1804, 37, 13, 4202, 1216, 1185, 225, 288, 565, 29623, 326, 856, 31, 565, 1645, 5378, 1906, 5133, 31, 565, 1645, 5378, 4651, 5133, 31, 565, 326, 856, 273, 394, 29623, 12, 8591, 37, 1769, 1850, 309, 261, 81, 67, 1106, 2520, 26685, 1490, 13, 565, 288, 1377, 368, 309, 333, 1245, 353, 486, 316, 326, 1014, 1377, 309, 14015, 5814, 5133, 273, 261, 9056, 5378, 13, 81, 67, 8219, 18, 588, 12, 5787, 856, 3719, 422, 446, 13, 1377, 288, 202, 225, 2332, 18, 659, 18, 8222, 2932, 14309, 496, 336, 2674, 4442, 1769, 202, 225, 2332, 18, 8593, 12, 21, 1769, 1377, 289, 1377, 469, 1377, 288, 202, 7959, 5133, 273, 394, 1645, 306, 5814, 5133, 18, 2469, 15533, 202, 3163, 18, 1126, 3530, 12, 5814, 5133, 16, 20, 16, 7959, 5133, 16, 20, 16, 5814, 5133, 18, 2469, 1769, 202, 7959, 5133, 63, 12, 474, 13, 1336, 18, 1106, 620, 1435, 65, 3947, 791, 18, 4865, 5621, 202, 759, 1089, 326, 1014, 202, 759, 1122, 866, 358, 2621, 309, 326, 667, 6880, 854, 777, 3634, 2037, 202, 6494, 1529, 273, 629, 31, 202, 1884, 261, 474, 277, 33, 20, 31, 77, 32, 7959, 5133, 18, 2469, 31, 77, 27245, 202, 225, 309, 16051, 1989, 18, 11253, 12, 7959, 5133, 63, 77, 6487, 20, 18, 20, 3719, 202, 225, 288, 202, 565, 1529, 273, 638, 31, 202, 565, 898, 31, 202, 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, 1645, 19974, 1442, 21300, 3335, 1182, 12, 1442, 791, 16, 1645, 5378, 1804, 37, 13, 4202, 1216, 1185, 225, 288, 565, 29623, 326, 856, 31, 565, 1645, 5378, 1906, 5133, 31, 565, 1645, 5378, 4651, 5133, 31, 565, 326, 856, 273, 394, 29623, 12, 8591, 37, 1769, 1850, 309, 261, 81, 67, 1106, 2520, 26685, 1490, 13, 565, 288, 1377, 368, 309, 333, 1245, 353, 486, 316, 326, 1014, 1377, 309, 14015, 5814, 5133, 273, 261, 9056, 5378, 13, 81, 67, 8219, 18, 588, 12, 5787, 856, 3719, 422, 446, 13, 1377, 288, 202, 225, 2332, 18, 659, 18, 8222, 2932, 14309, 496, 336, 2674, 4442, 1769, 202, 225, 2332, 18, 8593, 12, 21, 1769, 1377, 289, 1377, 2 ]
EditorCell_Error noRefCell = EditorCell_Error.create(context, node, "");
EditorCell_Error noRefCell = EditorCell_Error.create(context, node, "<no link>");
public EditorCell createLinkReferenceCellinternal(EditorContext context, SNode node) { SNode effectiveNode = null; effectiveNode = node.getReferent("link"); LinkDeclaration linkDeclaration = SModelUtil.getLinkDeclaration(node, "link", context.getOperationContext().getScope()); SReference reference = node.getReference("link"); if(reference != null && !(reference.isResolved())) { EditorCell_Error noRefCell = EditorCell_Error.create(context, node, null); noRefCell.setText(BadReferenceTextProvider.getBadReferenceText(reference)); noRefCell.setEditable(true); noRefCell.setDrawBrackets(false); noRefCell.setBracketsColor(Color.black); noRefCell.putUserObject(EditorCell.METAINFO_LINK_DECLARATION, linkDeclaration); noRefCell.putUserObject(EditorCell.METAINFO_SOURCE_NODE, node); noRefCell.setAction(EditorCellAction.DELETE, new CellAction_Empty()); noRefCell.setSubstituteInfo(new DefaultReferenceSubstituteInfo(node, linkDeclaration, context)); noRefCell.putUserObject(EditorCell.CELL_ID, "1138063854038"); noRefCell.putUserObject(EditorCell.ROLE, "link"); return noRefCell; } if(effectiveNode == null) { { EditorCell_Error noRefCell = EditorCell_Error.create(context, node, ""); noRefCell.setEditable(true); noRefCell.setDrawBrackets(false); noRefCell.setBracketsColor(Color.black); noRefCell.putUserObject(EditorCell.METAINFO_LINK_DECLARATION, linkDeclaration); noRefCell.putUserObject(EditorCell.METAINFO_SOURCE_NODE, node); noRefCell.setAction(EditorCellAction.DELETE, new CellAction_Empty()); noRefCell.setSubstituteInfo(new DefaultReferenceSubstituteInfo(node, linkDeclaration, context)); noRefCell.putUserObject(EditorCell.CELL_ID, "1138063854038"); noRefCell.setLayoutConstraint(""); noRefCell.putUserObject(EditorCell.ROLE, "link"); return noRefCell; } } AbstractCellProvider inlineComponent = new SLinkTargetAccess_Editor_link_InlineComponent(effectiveNode); EditorCell editorCell = inlineComponent.createEditorCell(context); EditorUtil.setSemanticNodeToCells(editorCell, node); editorCell.setLayoutConstraint(""); editorCell.setSelectable(true); editorCell.setDrawBorder(false); editorCell.setDrawBrackets(false); editorCell.setBracketsColor(Color.black); editorCell.putUserObject(EditorCell.METAINFO_LINK_DECLARATION, linkDeclaration); editorCell.putUserObject(EditorCell.METAINFO_SOURCE_NODE, node); editorCell.putUserObject(EditorCell.ROLE, "link"); editorCell.setAction(EditorCellAction.DELETE, new CellAction_Empty()); editorCell.setSubstituteInfo(new DefaultReferenceSubstituteInfo(node, linkDeclaration, context)); return editorCell; }
14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/85c26c7bc8c610037ae198e46166d3ad7842ad13/SLinkTargetAccess_Editor.java/clean/source_gen/jetbrains/mps/bootstrap/smodelLanguage/editor/SLinkTargetAccess_Editor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 18451, 4020, 752, 2098, 2404, 4020, 7236, 12, 6946, 1042, 819, 16, 348, 907, 756, 13, 288, 565, 348, 907, 11448, 907, 273, 446, 31, 565, 11448, 907, 273, 756, 18, 588, 426, 3518, 2932, 1232, 8863, 565, 4048, 6094, 1692, 6094, 273, 348, 1488, 1304, 18, 588, 2098, 6094, 12, 2159, 16, 315, 1232, 3113, 819, 18, 588, 2988, 1042, 7675, 588, 3876, 10663, 565, 348, 2404, 2114, 273, 756, 18, 588, 2404, 2932, 1232, 8863, 565, 309, 12, 6180, 480, 446, 597, 401, 12, 6180, 18, 291, 12793, 1435, 3719, 288, 1377, 18451, 4020, 67, 668, 1158, 1957, 4020, 273, 18451, 4020, 67, 668, 18, 2640, 12, 2472, 16, 756, 16, 446, 1769, 1377, 1158, 1957, 4020, 18, 542, 1528, 12, 6434, 2404, 1528, 2249, 18, 588, 6434, 2404, 1528, 12, 6180, 10019, 1377, 1158, 1957, 4020, 18, 542, 15470, 12, 3767, 1769, 1377, 1158, 1957, 4020, 18, 542, 6493, 23029, 12, 5743, 1769, 1377, 1158, 1957, 4020, 18, 542, 23029, 2957, 12, 2957, 18, 11223, 1769, 1377, 1158, 1957, 4020, 18, 458, 1299, 921, 12, 6946, 4020, 18, 19294, 5923, 67, 10554, 67, 23956, 985, 2689, 16, 1692, 6094, 1769, 1377, 1158, 1957, 4020, 18, 458, 1299, 921, 12, 6946, 4020, 18, 19294, 5923, 67, 6537, 67, 8744, 16, 756, 1769, 1377, 1158, 1957, 4020, 18, 542, 1803, 12, 6946, 4020, 1803, 18, 6460, 16, 394, 8614, 1803, 67, 1921, 10663, 1377, 1158, 1957, 4020, 18, 542, 1676, 17207, 966, 12, 2704, 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, 18451, 4020, 752, 2098, 2404, 4020, 7236, 12, 6946, 1042, 819, 16, 348, 907, 756, 13, 288, 565, 348, 907, 11448, 907, 273, 446, 31, 565, 11448, 907, 273, 756, 18, 588, 426, 3518, 2932, 1232, 8863, 565, 4048, 6094, 1692, 6094, 273, 348, 1488, 1304, 18, 588, 2098, 6094, 12, 2159, 16, 315, 1232, 3113, 819, 18, 588, 2988, 1042, 7675, 588, 3876, 10663, 565, 348, 2404, 2114, 273, 756, 18, 588, 2404, 2932, 1232, 8863, 565, 309, 12, 6180, 480, 446, 597, 401, 12, 6180, 18, 291, 12793, 1435, 3719, 288, 1377, 18451, 4020, 67, 668, 1158, 1957, 4020, 273, 18451, 4020, 67, 668, 18, 2640, 12, 2472, 16, 756, 16, 446, 1769, 1377, 1158, 2 ]
buf.append(minutes + "M");
buf.append(minutes).append('M');
public String toString() { StringBuffer buf = new StringBuffer(); if (signum < 0) { buf.append('-'); } buf.append('P'); if (years != null) { buf.append(years + "Y"); } if (months != null) { buf.append(months + "M"); } if (days != null) { buf.append(days + "D"); } if (hours != null || minutes != null || seconds != null) { buf.append('T'); if (hours != null) { buf.append(hours + "H"); } if (minutes != null) { buf.append(minutes + "M"); } if (seconds != null) { buf.append(toString(seconds) + "S"); } } return buf.toString(); }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/b414bd5a51a69161c61ffcd585bdb76ec3eff180/DurationImpl.java/clean/src/org/apache/xerces/jaxp/datatype/DurationImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 3639, 6674, 1681, 273, 394, 6674, 5621, 3639, 309, 261, 2977, 379, 411, 374, 13, 288, 5411, 1681, 18, 6923, 2668, 6627, 1769, 3639, 289, 3639, 1681, 18, 6923, 2668, 52, 8284, 7734, 309, 261, 29391, 480, 446, 13, 288, 5411, 1681, 18, 6923, 12, 29391, 397, 315, 61, 8863, 3639, 289, 3639, 309, 261, 27584, 480, 446, 13, 288, 5411, 1681, 18, 6923, 12, 27584, 397, 315, 49, 8863, 3639, 289, 3639, 309, 261, 9810, 480, 446, 13, 288, 5411, 1681, 18, 6923, 12, 9810, 397, 315, 40, 8863, 3639, 289, 3639, 309, 261, 16814, 480, 446, 747, 6824, 480, 446, 747, 3974, 480, 446, 13, 288, 5411, 1681, 18, 6923, 2668, 56, 8284, 5411, 309, 261, 16814, 480, 446, 13, 288, 7734, 1681, 18, 6923, 12, 16814, 397, 315, 44, 8863, 5411, 289, 5411, 309, 261, 17916, 480, 446, 13, 288, 7734, 1681, 18, 6923, 12, 17916, 2934, 6923, 2668, 49, 8284, 5411, 289, 5411, 309, 261, 7572, 480, 446, 13, 288, 7734, 1681, 18, 6923, 12, 10492, 12, 7572, 13, 397, 315, 55, 8863, 5411, 289, 3639, 289, 7734, 327, 1681, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 3639, 6674, 1681, 273, 394, 6674, 5621, 3639, 309, 261, 2977, 379, 411, 374, 13, 288, 5411, 1681, 18, 6923, 2668, 6627, 1769, 3639, 289, 3639, 1681, 18, 6923, 2668, 52, 8284, 7734, 309, 261, 29391, 480, 446, 13, 288, 5411, 1681, 18, 6923, 12, 29391, 397, 315, 61, 8863, 3639, 289, 3639, 309, 261, 27584, 480, 446, 13, 288, 5411, 1681, 18, 6923, 12, 27584, 397, 315, 49, 8863, 3639, 289, 3639, 309, 261, 9810, 480, 446, 13, 288, 5411, 1681, 18, 6923, 12, 9810, 397, 315, 40, 8863, 3639, 289, 3639, 309, 261, 16814, 480, 446, 747, 6824, 480, 446, 747, 3974, 480, 446, 13, 288, 5411, 1681, 18, 6923, 2668, 2 ]
requestLine = casing.dequeueRequest();
private Object firstLine(ByteBuffer data) throws ParseException { if (!clientSide) { requestLine = casing.dequeueRequest(); return statusLine = statusLine(data); } else { return requestLine = requestLine(data); } }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/858eacdb9a813cb806a97a3e3ee503ae037263dc/HttpParser.java/clean/tran/http/main/com/metavize/tran/http/HttpParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 24415, 12, 12242, 501, 13, 1216, 10616, 565, 288, 3639, 309, 16051, 2625, 8895, 13, 288, 15604, 327, 1267, 1670, 273, 1267, 1670, 12, 892, 1769, 3639, 289, 469, 288, 5411, 327, 590, 1670, 273, 590, 1670, 12, 892, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 24415, 12, 12242, 501, 13, 1216, 10616, 565, 288, 3639, 309, 16051, 2625, 8895, 13, 288, 15604, 327, 1267, 1670, 273, 1267, 1670, 12, 892, 1769, 3639, 289, 469, 288, 5411, 327, 590, 1670, 273, 590, 1670, 12, 892, 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 ]
if (appClientRadioButton.getSelection()) return getAppClientNode(); if (connectorRadioButton != null && connectorRadioButton.getSelection()) return getConnectorNode(); if (ejbRadioButton != null && ejbRadioButton.getSelection()) return getEjbNode(); if (webRadioButton != null && webRadioButton.getSelection()) return getWebNode(); return null; }
if (appClientRadioButton.getSelection()) return getAppClientNode(); if (connectorRadioButton != null && connectorRadioButton.getSelection()) return getConnectorNode(); if (ejbRadioButton != null && ejbRadioButton.getSelection()) return getEjbNode(); if (webRadioButton != null && webRadioButton.getSelection()) return getWebNode(); return null; }
private GenericWizardNode getWizardNodeFromSelection() { if (appClientRadioButton.getSelection()) return getAppClientNode(); if (connectorRadioButton != null && connectorRadioButton.getSelection()) return getConnectorNode(); if (ejbRadioButton != null && ejbRadioButton.getSelection()) return getEjbNode(); if (webRadioButton != null && webRadioButton.getSelection()) return getWebNode(); return null; }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/00f6a4d44cf71e0497aeeae1b2008a2226b5439d/NewJ2EEComponentSelectionPage.java/buggy/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/NewJ2EEComponentSelectionPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 7928, 27130, 907, 13876, 13412, 907, 1265, 6233, 1435, 288, 202, 202, 430, 261, 2910, 1227, 19984, 3616, 18, 588, 6233, 10756, 1082, 202, 2463, 13697, 1227, 907, 5621, 202, 202, 430, 261, 23159, 19984, 3616, 480, 446, 597, 8703, 19984, 3616, 18, 588, 6233, 10756, 1082, 202, 2463, 336, 7487, 907, 5621, 202, 202, 430, 261, 73, 10649, 19984, 3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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 7928, 27130, 907, 13876, 13412, 907, 1265, 6233, 1435, 288, 202, 202, 430, 261, 2910, 1227, 19984, 3616, 18, 588, 6233, 10756, 1082, 202, 2463, 13697, 1227, 907, 5621, 202, 202, 430, 261, 23159, 19984, 3616, 480, 446, 597, 8703, 19984, 3616, 18, 588, 6233, 10756, 1082, 202, 2463, 336, 7487, 907, 5621, 202, 202, 430, 261, 73, 10649, 19984, 3616, 480, 446, 597, 18024, 19984, 3616, 18, 588, 6233, 10756, 1082, 202, 2463, 4774, 10649, 907, 5621, 202, 202, 430, 261, 4875, 19984, 3616, 480, 446, 597, 3311, 19984, 3616, 18, 588, 6233, 10756, 1082, 202, 2463, 20312, 907, 5621, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertEquals("{" + SystemUtils.LINE_SEPARATOR + "foo=bar" + SystemUtils.LINE_SEPARATOR + "foozle=doozle" + SystemUtils.LINE_SEPARATOR + "}", PropertiesHelper.propertiesToString(props, true));
assertEquals("{" + SystemUtils.LINE_SEPARATOR + "foo=bar" + SystemUtils.LINE_SEPARATOR + "foozle=doozle" + SystemUtils.LINE_SEPARATOR + "}", PropertiesHelper .propertiesToString(props, true));
public void testMapTwoElements() throws Exception { Map props = CollectionUtil.mapWithKeysAndValues(HashMap.class, new Object[]{"foo", "foozle"}, new Object[]{"bar", "doozle"}); assertEquals("{foo=bar, foozle=doozle}", PropertiesHelper.propertiesToString(props, false)); assertEquals("{" + SystemUtils.LINE_SEPARATOR + "foo=bar" + SystemUtils.LINE_SEPARATOR + "foozle=doozle" + SystemUtils.LINE_SEPARATOR + "}", PropertiesHelper.propertiesToString(props, true)); }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/5c7badd7924d8f30223c81136f63117d913be921/PropertiesHelperTestCase.java/clean/src/test/java/org/mule/test/util/PropertiesHelperTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 863, 11710, 3471, 1435, 1216, 1185, 565, 288, 377, 202, 863, 3458, 273, 2200, 1304, 18, 1458, 1190, 2396, 1876, 1972, 12, 8658, 18, 1106, 16, 377, 1082, 202, 2704, 1033, 63, 7073, 6, 11351, 3113, 315, 617, 11142, 298, 6, 5779, 394, 1033, 63, 7073, 6, 3215, 3113, 315, 2896, 11142, 298, 6, 22938, 377, 202, 11231, 8867, 2932, 95, 11351, 33, 3215, 16, 8431, 94, 298, 33, 2896, 11142, 298, 1532, 16, 377, 1082, 202, 2297, 2276, 18, 4738, 5808, 12, 9693, 16, 629, 10019, 377, 202, 11231, 8867, 2932, 16711, 7734, 397, 2332, 1989, 18, 5997, 67, 4550, 397, 315, 11351, 33, 3215, 6, 7734, 397, 2332, 1989, 18, 5997, 67, 4550, 397, 315, 617, 11142, 298, 33, 2896, 11142, 298, 6, 7734, 397, 2332, 1989, 18, 5997, 67, 4550, 397, 11883, 16, 377, 1082, 202, 2297, 2276, 18, 4738, 5808, 12, 9693, 16, 638, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2396, 1876, 1972, 12, 8658, 18, 1106, 16, 377, 1082, 202, 2704, 1033, 63, 7073, 6, 11351, 3113, 315, 617, 11142, 298, 6, 5779, 394, 1033, 63, 7073, 6, 3215, 3113, 315, 2896, 11142, 298, 6, 22938, 377, 202, 11231, 8867, 2932, 95, 11351, 33, 3215, 16, 8431, 94, 298, 33, 2896, 11142, 298, 1532, 16, 377, 1082, 202, 2297, 2276, 18, 4738, 5808, 12, 9693, 16, 629, 10019, 377, 202, 11231, 8867, 2932, 16711, 7734, 397, 2332, 1989, 18, 5997, 67, 4550, 397, 315, 11351, 33, 3215, 6, 7734, 397, 2332, 1989, 18, 5997, 67, 4550, 2 ]
if (!(dm instanceof MClassifier)) return NO_PROBLEM; MClassifier cls = (MClassifier) dm; Vector namesSeen = new Vector(); Collection assocEnds = cls.getAssociationEnds(); if (assocEnds == null) return NO_PROBLEM; Iterator enum = assocEnds.iterator(); while (enum.hasNext()) { MAssociationEnd myAe = (MAssociationEnd) enum.next(); MAssociation asc = (MAssociation) myAe.getAssociation(); if (asc == null) continue; Collection conns = asc.getConnections(); if (asc instanceof MAssociationRole) conns = ((MAssociationRole)asc).getConnections(); if (conns == null) continue; Iterator enum2 = conns.iterator(); while (enum2.hasNext()) { MAssociationEnd ae = (MAssociationEnd) enum2.next(); if (ae.getType() == cls) continue; String aeName = ae.getName(); if ("".equals(aeName)) continue; String aeNameStr = aeName; if (aeNameStr.length() == 0) continue; if (namesSeen.contains(aeNameStr)) return PROBLEM_FOUND; namesSeen.addElement(aeNameStr); }
boolean problem = NO_PROBLEM; if (ModelFacade.isAClassifier(dm)) { Collection col = CoreHelper.getHelper().getAssociations(dm); List names = new ArrayList(); Iterator it = col.iterator(); String name = null; while (it.hasNext()) { name = ModelFacade.getName(it.next()); if (name == null || name.equals("")) continue; if (names.contains(name)) { problem = PROBLEM_FOUND; break; } } } return problem;
public boolean predicate2(Object dm, Designer dsgr) { if (!(dm instanceof MClassifier)) return NO_PROBLEM; MClassifier cls = (MClassifier) dm; Vector namesSeen = new Vector(); Collection assocEnds = cls.getAssociationEnds(); if (assocEnds == null) return NO_PROBLEM; Iterator enum = assocEnds.iterator(); // warn about inheritied name conflicts, different critic? while (enum.hasNext()) { MAssociationEnd myAe = (MAssociationEnd) enum.next(); MAssociation asc = (MAssociation) myAe.getAssociation(); if (asc == null) continue; Collection conns = asc.getConnections(); if (asc instanceof MAssociationRole) conns = ((MAssociationRole)asc).getConnections(); if (conns == null) continue; Iterator enum2 = conns.iterator(); while (enum2.hasNext()) { MAssociationEnd ae = (MAssociationEnd) enum2.next(); if (ae.getType() == cls) continue; String aeName = ae.getName(); if ("".equals(aeName)) continue; String aeNameStr = aeName; if (aeNameStr.length() == 0) continue; if (namesSeen.contains(aeNameStr)) return PROBLEM_FOUND; namesSeen.addElement(aeNameStr); } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/9eda3ebb05b231fea6a868e0ddf77960398b16cb/CrOppEndConflict.java/clean/src_new/org/argouml/uml/cognitive/critics/CrOppEndConflict.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 5641, 22, 12, 921, 9113, 16, 29703, 264, 302, 1055, 86, 13, 288, 565, 309, 16051, 12, 10956, 1276, 490, 13860, 3719, 327, 3741, 67, 3373, 38, 26817, 31, 565, 490, 13860, 2028, 273, 261, 49, 13860, 13, 9113, 31, 565, 5589, 1257, 15160, 273, 394, 5589, 5621, 565, 2200, 7191, 24980, 273, 2028, 18, 588, 7174, 24980, 5621, 565, 309, 261, 14578, 24980, 422, 446, 13, 327, 3741, 67, 3373, 38, 26817, 31, 565, 4498, 2792, 273, 7191, 24980, 18, 9838, 5621, 565, 368, 1894, 2973, 6811, 2092, 508, 14450, 16, 3775, 7921, 335, 35, 565, 1323, 261, 7924, 18, 5332, 2134, 10756, 288, 1377, 490, 7174, 1638, 3399, 37, 73, 273, 261, 49, 7174, 1638, 13, 2792, 18, 4285, 5621, 1377, 490, 7174, 6972, 273, 261, 49, 7174, 13, 3399, 37, 73, 18, 588, 7174, 5621, 1377, 309, 261, 3691, 422, 446, 13, 1324, 31, 1377, 2200, 18976, 273, 6972, 18, 588, 9314, 5621, 1377, 309, 261, 3691, 1276, 490, 7174, 2996, 13, 202, 591, 2387, 273, 14015, 49, 7174, 2996, 13, 3691, 2934, 588, 9314, 5621, 1377, 309, 261, 591, 2387, 422, 446, 13, 1324, 31, 1377, 4498, 2792, 22, 273, 18976, 18, 9838, 5621, 1377, 1323, 261, 7924, 22, 18, 5332, 2134, 10756, 288, 202, 49, 7174, 1638, 14221, 273, 261, 49, 7174, 1638, 13, 2792, 22, 18, 4285, 5621, 202, 430, 261, 8906, 18, 588, 559, 1435, 422, 2028, 13, 1324, 31, 202, 780, 14221, 461, 273, 14221, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 5641, 22, 12, 921, 9113, 16, 29703, 264, 302, 1055, 86, 13, 288, 565, 309, 16051, 12, 10956, 1276, 490, 13860, 3719, 327, 3741, 67, 3373, 38, 26817, 31, 565, 490, 13860, 2028, 273, 261, 49, 13860, 13, 9113, 31, 565, 5589, 1257, 15160, 273, 394, 5589, 5621, 565, 2200, 7191, 24980, 273, 2028, 18, 588, 7174, 24980, 5621, 565, 309, 261, 14578, 24980, 422, 446, 13, 327, 3741, 67, 3373, 38, 26817, 31, 565, 4498, 2792, 273, 7191, 24980, 18, 9838, 5621, 565, 368, 1894, 2973, 6811, 2092, 508, 14450, 16, 3775, 7921, 335, 35, 565, 1323, 261, 7924, 18, 5332, 2134, 10756, 288, 1377, 490, 7174, 1638, 3399, 37, 73, 273, 261, 49, 7174, 2 ]
case 412 :
case 407 :
protected void consumeRule(int act) { switch ( act ) { case 29 : // System.out.println("Type ::= PrimitiveType"); consumePrimitiveType(); break ; case 43 : // System.out.println("ReferenceType ::= ClassOrInterfaceType"); consumeReferenceType(); break ; case 52 : // System.out.println("QualifiedName ::= Name DOT SimpleName"); consumeQualifiedName(); break ; case 53 : // System.out.println("CompilationUnit ::= EnterCompilationUnit PackageDeclarationopt ImportDeclarationsopt"); consumeCompilationUnit(); break ; case 54 : // System.out.println("EnterCompilationUnit ::="); consumeEnterCompilationUnit(); break ; case 67 : // System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN LBRACE"); consumeCatchHeader(); break ; case 69 : // System.out.println("ImportDeclarations ::= ImportDeclarations ImportDeclaration"); consumeImportDeclarations(); break ; case 71 : // System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); consumeTypeDeclarations(); break ; case 72 : // System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); consumePackageDeclaration(); break ; case 73 : // System.out.println("PackageDeclarationName ::= package Name"); consumePackageDeclarationName(); break ; case 76 : // System.out.println("SingleTypeImportDeclaration ::= SingleTypeImportDeclarationName SEMICOLON"); consumeSingleTypeImportDeclaration(); break ; case 77 : // System.out.println("SingleTypeImportDeclarationName ::= import Name"); consumeSingleTypeImportDeclarationName(); break ; case 78 : // System.out.println("TypeImportOnDemandDeclaration ::= TypeImportOnDemandDeclarationName SEMICOLON"); consumeTypeImportOnDemandDeclaration(); break ; case 79 : // System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT MULTIPLY"); consumeTypeImportOnDemandDeclarationName(); break ; case 82 : // System.out.println("TypeDeclaration ::= SEMICOLON"); consumeEmptyTypeDeclaration(); break ; case 96 : // System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); consumeClassDeclaration(); break ; case 97 : // System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt ClassHeaderImplementsopt"); consumeClassHeader(); break ; case 98 : // System.out.println("ClassHeaderName ::= Modifiersopt class Identifier"); consumeClassHeaderName(); break ; case 99 : // System.out.println("ClassHeaderExtends ::= extends ClassType"); consumeClassHeaderExtends(); break ; case 100 : // System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); consumeClassHeaderImplements(); break ; case 102 : // System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA InterfaceType"); consumeInterfaceTypeList(); break ; case 103 : // System.out.println("InterfaceType ::= ClassOrInterfaceType"); consumeInterfaceType(); break ; case 106 : // System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations ClassBodyDeclaration"); consumeClassBodyDeclarations(); break ; case 110 : // System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); consumeClassBodyDeclaration(); break ; case 111 : // System.out.println("Diet ::="); consumeDiet(); break ; case 112 : // System.out.println("Initializer ::= Diet NestedMethod Block"); consumeClassBodyDeclaration(); break ; case 119 : // System.out.println("ClassMemberDeclaration ::= SEMICOLON"); consumeEmptyClassMemberDeclaration(); break ; case 120 : // System.out.println("FieldDeclaration ::= Modifiersopt Type VariableDeclarators SEMICOLON"); consumeFieldDeclaration(); break ; case 122 : // System.out.println("VariableDeclarators ::= VariableDeclarators COMMA VariableDeclarator"); consumeVariableDeclarators(); break ; case 125 : // System.out.println("EnterVariable ::="); consumeEnterVariable(); break ; case 126 : // System.out.println("ExitVariableWithInitialization ::="); consumeExitVariableWithInitialization(); break ; case 127 : // System.out.println("ExitVariableWithoutInitialization ::="); consumeExitVariableWithoutInitialization(); break ; case 128 : // System.out.println("ForceNoDiet ::="); consumeForceNoDiet(); break ; case 129 : // System.out.println("RestoreDiet ::="); consumeRestoreDiet(); break ; case 134 : // System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); // set to true to consume a method with a body consumeMethodDeclaration(true); break ; case 135 : // System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); // set to false to consume a method without body consumeMethodDeclaration(false); break ; case 136 : // System.out.println("MethodHeader ::= MethodHeaderName MethodHeaderParameters MethodHeaderExtendedDims"); consumeMethodHeader(); break ; case 137 : // System.out.println("MethodPushModifiersHeader ::= MethodPushModifiersHeaderName MethodHeaderParameters"); consumeMethodHeader(); break ; case 138 : // System.out.println("MethodPushModifiersHeaderName ::= Modifiers Type PushModifiers Identifier LPAREN"); consumeMethodPushModifiersHeaderName(); break ; case 139 : // System.out.println("MethodPushModifiersHeaderName ::= Type PushModifiers Identifier LPAREN"); consumeMethodPushModifiersHeaderName(); break ; case 140 : // System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); consumeMethodHeaderName(); break ; case 141 : // System.out.println("MethodHeaderParameters ::= FormalParameterListopt RPAREN"); consumeMethodHeaderParameters(); break ; case 142 : // System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); consumeMethodHeaderExtendedDims(); break ; case 143 : // System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); consumeMethodHeaderThrowsClause(); break ; case 144 : // System.out.println("ConstructorHeader ::= ConstructorHeaderName MethodHeaderParameters..."); consumeConstructorHeader(); break ; case 145 : // System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); consumeConstructorHeaderName(); break ; case 147 : // System.out.println("FormalParameterList ::= FormalParameterList COMMA FormalParameter"); consumeFormalParameterList(); break ; case 148 : // System.out.println("FormalParameter ::= Modifiersopt Type VariableDeclaratorId"); // the boolean is used to know if the modifiers should be reset consumeFormalParameter(); break ; case 150 : // System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); consumeClassTypeList(); break ; case 151 : // System.out.println("ClassTypeElt ::= ClassType"); consumeClassTypeElt(); break ; case 152 : // System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt RBRACE"); consumeMethodBody(); break ; case 153 : // System.out.println("NestedMethod ::="); consumeNestedMethod(); break ; case 154 : // System.out.println("StaticInitializer ::= StaticOnly Block"); consumeStaticInitializer(); break ; case 155 : // System.out.println("StaticOnly ::= static"); consumeStaticOnly(); break ; case 156 : // System.out.println("ConstructorDeclaration ::= ConstructorHeader ConstructorBody"); consumeConstructorDeclaration() ; break ; case 157 : // System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); consumeInvalidConstructorDeclaration() ; break ; case 158 : // System.out.println("ConstructorBody ::= NestedMethod LBRACE ConstructorBlockStatementsopt RBRACE"); consumeConstructorBody(); break ; case 161 : // System.out.println("ConstructorBlockStatementsopt ::= ExplicitConstructorInvocation BlockStatements"); consumeConstructorBlockStatements(); break ; case 162 : // System.out.println("ExplicitConstructorInvocation ::= this LPAREN ArgumentListopt RPAREN SEMICOLON"); consumeExplicitConstructorInvocation(0,ExplicitConstructorCall.This); break ; case 163 : // System.out.println("ExplicitConstructorInvocation ::= super LPAREN ArgumentListopt RPAREN SEMICOLON"); consumeExplicitConstructorInvocation(0,ExplicitConstructorCall.Super); break ; case 164 : // System.out.println("ExplicitConstructorInvocation ::= Primary DOT super LPAREN ArgumentListopt RPAREN"); consumeExplicitConstructorInvocation(1, ExplicitConstructorCall.Super); break ; case 165 : // System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN ArgumentListopt RPAREN..."); consumeExplicitConstructorInvocation(2, ExplicitConstructorCall.Super); break ; case 166 : // System.out.println("ExplicitConstructorInvocation ::= Primary DOT this LPAREN ArgumentListopt RPAREN..."); consumeExplicitConstructorInvocation(1, ExplicitConstructorCall.This); break ; case 167 : // System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN ArgumentListopt RPAREN..."); consumeExplicitConstructorInvocation(2, ExplicitConstructorCall.This); break ; case 168 : // System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); consumeInterfaceDeclaration(); break ; case 169 : // System.out.println("InterfaceHeader ::= InterfaceHeaderName InterfaceHeaderExtendsopt"); consumeInterfaceHeader(); break ; case 170 : // System.out.println("InterfaceHeaderName ::= Modifiersopt interface Identifier"); consumeInterfaceHeaderName(); break ; case 172 : // System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); consumeInterfaceHeaderExtends(); break ; case 175 : // System.out.println("InterfaceMemberDeclarations ::= InterfaceMemberDeclarations..."); consumeInterfaceMemberDeclarations(); break ; case 176 : // System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); consumeEmptyInterfaceMemberDeclaration(); break ; case 179 : // System.out.println("InterfaceMemberDeclaration ::= InvalidMethodDeclaration"); ignoreMethodBody(); break ; case 180 : // System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader ConstructorBody"); ignoreInvalidConstructorDeclaration(true); break ; case 181 : // System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader SEMICOLON"); ignoreInvalidConstructorDeclaration(false); break ; case 187 : // System.out.println("ArrayInitializer ::= LBRACE ,opt RBRACE"); consumeEmptyArrayInitializer(); break ; case 188 : // System.out.println("ArrayInitializer ::= LBRACE VariableInitializers RBRACE"); consumeArrayInitializer(); break ; case 189 : // System.out.println("ArrayInitializer ::= LBRACE VariableInitializers COMMA RBRACE"); consumeArrayInitializer(); break ; case 191 : // System.out.println("VariableInitializers ::= VariableInitializers COMMA VariableInitializer"); consumeVariableInitializers(); break ; case 192 : // System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); consumeBlock(); break ; case 193 : // System.out.println("OpenBlock ::="); consumeOpenBlock() ; break ; case 195 : // System.out.println("BlockStatements ::= BlockStatements BlockStatement"); consumeBlockStatements() ; break ; case 199 : // System.out.println("BlockStatement ::= InvalidInterfaceDeclaration"); ignoreInterfaceDeclaration(); break ; case 200 : // System.out.println("LocalVariableDeclarationStatement ::= LocalVariableDeclaration SEMICOLON"); consumeLocalVariableDeclarationStatement(); break ; case 201 : // System.out.println("LocalVariableDeclaration ::= Type PushModifiers VariableDeclarators"); consumeLocalVariableDeclaration(); break ; case 202 : // System.out.println("LocalVariableDeclaration ::= Modifiers Type PushModifiers VariableDeclarators"); consumeLocalVariableDeclaration(); break ; case 203 : // System.out.println("PushModifiers ::="); consumePushModifiers(); break ; case 227 : // System.out.println("EmptyStatement ::= SEMICOLON"); consumeEmptyStatement(); break ; case 228 : // System.out.println("LabeledStatement ::= Identifier COLON Statement"); consumeStatementLabel() ; break ; case 229 : // System.out.println("LabeledStatementNoShortIf ::= Identifier COLON StatementNoShortIf"); consumeStatementLabel() ; break ; case 230 : // System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); consumeExpressionStatement(); break ; case 238 : // System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN Statement"); consumeStatementIfNoElse(); break ; case 239 : // System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN StatementNoShortIf else..."); consumeStatementIfWithElse(); break ; case 240 : // System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression RPAREN StatementNoShortIf..."); consumeStatementIfWithElse(); break ; case 241 : // System.out.println("SwitchStatement ::= switch OpenBlock LPAREN Expression RPAREN SwitchBlock"); consumeStatementSwitch() ; break ; case 242 : // System.out.println("SwitchBlock ::= LBRACE RBRACE"); consumeEmptySwitchBlock() ; break ; case 245 : // System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements SwitchLabels RBRACE"); consumeSwitchBlock() ; break ; case 247 : // System.out.println("SwitchBlockStatements ::= SwitchBlockStatements SwitchBlockStatement"); consumeSwitchBlockStatements() ; break ; case 248 : // System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); consumeSwitchBlockStatement() ; break ; case 250 : // System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); consumeSwitchLabels() ; break ; case 251 : // System.out.println("SwitchLabel ::= case ConstantExpression COLON"); consumeCaseLabel(); break ; case 252 : // System.out.println("SwitchLabel ::= default COLON"); consumeDefaultLabel(); break ; case 253 : // System.out.println("WhileStatement ::= while LPAREN Expression RPAREN Statement"); consumeStatementWhile() ; break ; case 254 : // System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression RPAREN StatementNoShortIf"); consumeStatementWhile() ; break ; case 255 : // System.out.println("DoStatement ::= do Statement while LPAREN Expression RPAREN SEMICOLON"); consumeStatementDo() ; break ; case 256 : // System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON Expressionopt SEMICOLON..."); consumeStatementFor() ; break ; case 257 : // System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt SEMICOLON Expressionopt SEMICOLON"); consumeStatementFor() ; break ; case 258 : // System.out.println("ForInit ::= StatementExpressionList"); consumeForInit() ; break ; case 262 : // System.out.println("StatementExpressionList ::= StatementExpressionList COMMA StatementExpression"); consumeStatementExpressionList() ; break ; case 263 : // System.out.println("AssertStatement ::= assert Expression SEMICOLON"); consumeSimpleAssertStatement() ; break ; case 264 : // System.out.println("AssertStatement ::= assert Expression COLON Expression SEMICOLON"); consumeAssertStatement() ; break ; case 265 : // System.out.println("BreakStatement ::= break SEMICOLON"); consumeStatementBreak() ; break ; case 266 : // System.out.println("BreakStatement ::= break Identifier SEMICOLON"); consumeStatementBreakWithLabel() ; break ; case 267 : // System.out.println("ContinueStatement ::= continue SEMICOLON"); consumeStatementContinue() ; break ; case 268 : // System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); consumeStatementContinueWithLabel() ; break ; case 269 : // System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); consumeStatementReturn() ; break ; case 270 : // System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); consumeStatementThrow(); break ; case 271 : // System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN Expression RPAREN Block"); consumeStatementSynchronized(); break ; case 272 : // System.out.println("OnlySynchronized ::= synchronized"); consumeOnlySynchronized(); break ; case 273 : // System.out.println("TryStatement ::= try Block Catches"); consumeStatementTry(false); break ; case 274 : // System.out.println("TryStatement ::= try Block Catchesopt Finally"); consumeStatementTry(true); break ; case 276 : // System.out.println("Catches ::= Catches CatchClause"); consumeCatches(); break ; case 277 : // System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN Block"); consumeStatementCatch() ; break ; case 279 : // System.out.println("PushLPAREN ::= LPAREN"); consumeLeftParen(); break ; case 280 : // System.out.println("PushRPAREN ::= RPAREN"); consumeRightParen(); break ; case 285 : // System.out.println("PrimaryNoNewArray ::= this"); consumePrimaryNoNewArrayThis(); break ; case 286 : // System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression PushRPAREN"); consumePrimaryNoNewArray(); break ; case 289 : // System.out.println("PrimaryNoNewArray ::= Name DOT this"); consumePrimaryNoNewArrayNameThis(); break ; case 290 : // System.out.println("PrimaryNoNewArray ::= Name DOT super"); consumePrimaryNoNewArrayNameSuper(); break ; case 291 : // System.out.println("PrimaryNoNewArray ::= Name DOT class"); consumePrimaryNoNewArrayName(); break ; case 292 : // System.out.println("PrimaryNoNewArray ::= ArrayType DOT class"); consumePrimaryNoNewArrayArrayType(); break ; case 293 : // System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); consumePrimaryNoNewArrayPrimitiveType(); break ; case 296 : // System.out.println("AllocationHeader ::= new ClassType LPAREN ArgumentListopt RPAREN"); consumeAllocationHeader(); break ; case 297 : // System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN ArgumentListopt RPAREN..."); consumeClassInstanceCreationExpression(); break ; case 298 : // System.out.println("ClassInstanceCreationExpression ::= Primary DOT new SimpleName LPAREN..."); consumeClassInstanceCreationExpressionQualified() ; break ; case 299 : // System.out.println("ClassInstanceCreationExpression ::= ClassInstanceCreationExpressionName new..."); consumeClassInstanceCreationExpressionQualified() ; break ; case 300 : // System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); consumeClassInstanceCreationExpressionName() ; break ; case 301 : // System.out.println("ClassBodyopt ::="); consumeClassBodyopt(); break ; case 303 : // System.out.println("EnterAnonymousClassBody ::="); consumeEnterAnonymousClassBody(); break ; case 305 : // System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); consumeArgumentList(); break ; case 306 : // System.out.println("ArrayCreationHeader ::= new PrimitiveType DimWithOrWithOutExprs"); consumeArrayCreationHeader(); break ; case 307 : // System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType DimWithOrWithOutExprs"); consumeArrayCreationHeader(); break ; case 308 : // System.out.println("ArrayCreationWithoutArrayInitializer ::= new PrimitiveType DimWithOrWithOutExprs"); consumeArrayCreationExpressionWithoutInitializer(); break ; case 309 : // System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType DimWithOrWithOutExprs..."); consumeArrayCreationExpressionWithInitializer(); break ; case 310 : // System.out.println("ArrayCreationWithoutArrayInitializer ::= new ClassOrInterfaceType..."); consumeArrayCreationExpressionWithoutInitializer(); break ; case 311 : // System.out.println("ArrayCreationWithArrayInitializer ::= new ClassOrInterfaceType..."); consumeArrayCreationExpressionWithInitializer(); break ; case 313 : // System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs DimWithOrWithOutExpr"); consumeDimWithOrWithOutExprs(); break ; case 315 : // System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); consumeDimWithOrWithOutExpr(); break ; case 316 : // System.out.println("Dims ::= DimsLoop"); consumeDims(); break ; case 319 : // System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); consumeOneDimLoop(); break ; case 320 : // System.out.println("FieldAccess ::= Primary DOT Identifier"); consumeFieldAccess(false); break ; case 321 : // System.out.println("FieldAccess ::= super DOT Identifier"); consumeFieldAccess(true); break ; case 322 : // System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); consumeMethodInvocationName(); break ; case 323 : // System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN ArgumentListopt RPAREN"); consumeMethodInvocationPrimary(); break ; case 324 : // System.out.println("MethodInvocation ::= super DOT Identifier LPAREN ArgumentListopt RPAREN"); consumeMethodInvocationSuper(); break ; case 325 : // System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); consumeArrayAccess(true); break ; case 326 : // System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression RBRACKET"); consumeArrayAccess(false); break ; case 327 : // System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer LBRACKET Expression RBRACKET"); consumeArrayAccess(false); break ; case 329 : // System.out.println("PostfixExpression ::= Name"); consumePostfixExpression(); break ; case 332 : // System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); consumeUnaryExpression(OperatorIds.PLUS,true); break ; case 333 : // System.out.println("PostDecrementExpression ::= PostfixExpression MINUS_MINUS"); consumeUnaryExpression(OperatorIds.MINUS,true); break ; case 334 : // System.out.println("PushPosition ::="); consumePushPosition(); break ; case 337 : // System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); consumeUnaryExpression(OperatorIds.PLUS); break ; case 338 : // System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); consumeUnaryExpression(OperatorIds.MINUS); break ; case 340 : // System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition UnaryExpression"); consumeUnaryExpression(OperatorIds.PLUS,false); break ; case 341 : // System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition UnaryExpression"); consumeUnaryExpression(OperatorIds.MINUS,false); break ; case 343 : // System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition UnaryExpression"); consumeUnaryExpression(OperatorIds.TWIDDLE); break ; case 344 : // System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition UnaryExpression"); consumeUnaryExpression(OperatorIds.NOT); break ; case 346 : // System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt PushRPAREN InsideCastExpression"); consumeCastExpression(); break ; case 347 : // System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN InsideCastExpression..."); consumeCastExpression(); break ; case 348 : // System.out.println("CastExpression ::= PushLPAREN Expression PushRPAREN InsideCastExpressionLL1..."); consumeCastExpressionLL1(); break ; case 349 : // System.out.println("InsideCastExpression ::="); consumeInsideCastExpression(); break ; case 350 : // System.out.println("InsideCastExpressionLL1 ::="); consumeInsideCastExpressionLL1(); break ; case 352 : // System.out.println("MultiplicativeExpression ::= MultiplicativeExpression MULTIPLY UnaryExpression"); consumeBinaryExpression(OperatorIds.MULTIPLY); break ; case 353 : // System.out.println("MultiplicativeExpression ::= MultiplicativeExpression DIVIDE UnaryExpression"); consumeBinaryExpression(OperatorIds.DIVIDE); break ; case 354 : // System.out.println("MultiplicativeExpression ::= MultiplicativeExpression REMAINDER UnaryExpression"); consumeBinaryExpression(OperatorIds.REMAINDER); break ; case 356 : // System.out.println("AdditiveExpression ::= AdditiveExpression PLUS MultiplicativeExpression"); consumeBinaryExpression(OperatorIds.PLUS); break ; case 357 : // System.out.println("AdditiveExpression ::= AdditiveExpression MINUS MultiplicativeExpression"); consumeBinaryExpression(OperatorIds.MINUS); break ; case 359 : // System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT AdditiveExpression"); consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break ; case 360 : // System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT AdditiveExpression"); consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break ; case 361 : // System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT AdditiveExpression"); consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break ; case 363 : // System.out.println("RelationalExpression ::= RelationalExpression LESS ShiftExpression"); consumeBinaryExpression(OperatorIds.LESS); break ; case 364 : // System.out.println("RelationalExpression ::= RelationalExpression GREATER ShiftExpression"); consumeBinaryExpression(OperatorIds.GREATER); break ; case 365 : // System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL ShiftExpression"); consumeBinaryExpression(OperatorIds.LESS_EQUAL); break ; case 366 : // System.out.println("RelationalExpression ::= RelationalExpression GREATER_EQUAL ShiftExpression"); consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break ; case 367 : // System.out.println("RelationalExpression ::= RelationalExpression instanceof ReferenceType"); consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break ; case 369 : // System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL RelationalExpression"); consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break ; case 370 : // System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL RelationalExpression"); consumeEqualityExpression(OperatorIds.NOT_EQUAL); break ; case 372 : // System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); consumeBinaryExpression(OperatorIds.AND); break ; case 374 : // System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR AndExpression"); consumeBinaryExpression(OperatorIds.XOR); break ; case 376 : // System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR ExclusiveOrExpression"); consumeBinaryExpression(OperatorIds.OR); break ; case 378 : // System.out.println("ConditionalAndExpression ::= ConditionalAndExpression AND_AND InclusiveOrExpression"); consumeBinaryExpression(OperatorIds.AND_AND); break ; case 380 : // System.out.println("ConditionalOrExpression ::= ConditionalOrExpression OR_OR ConditionalAndExpression"); consumeBinaryExpression(OperatorIds.OR_OR); break ; case 382 : // System.out.println("ConditionalExpression ::= ConditionalOrExpression QUESTION Expression COLON..."); consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break ; case 385 : // System.out.println("Assignment ::= PostfixExpression AssignmentOperator AssignmentExpression"); consumeAssignment(); break ; case 387 : // System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); ignoreExpressionAssignment(); break ; case 388 : // System.out.println("AssignmentOperator ::= EQUAL"); consumeAssignmentOperator(EQUAL); break ; case 389 : // System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); consumeAssignmentOperator(MULTIPLY); break ; case 390 : // System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); consumeAssignmentOperator(DIVIDE); break ; case 391 : // System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); consumeAssignmentOperator(REMAINDER); break ; case 392 : // System.out.println("AssignmentOperator ::= PLUS_EQUAL"); consumeAssignmentOperator(PLUS); break ; case 393 : // System.out.println("AssignmentOperator ::= MINUS_EQUAL"); consumeAssignmentOperator(MINUS); break ; case 394 : // System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); consumeAssignmentOperator(LEFT_SHIFT); break ; case 395 : // System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); consumeAssignmentOperator(RIGHT_SHIFT); break ; case 396 : // System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break ; case 397 : // System.out.println("AssignmentOperator ::= AND_EQUAL"); consumeAssignmentOperator(AND); break ; case 398 : // System.out.println("AssignmentOperator ::= XOR_EQUAL"); consumeAssignmentOperator(XOR); break ; case 399 : // System.out.println("AssignmentOperator ::= OR_EQUAL"); consumeAssignmentOperator(OR); break ; case 406 : // System.out.println("Expressionopt ::="); consumeEmptyExpression(); break ; case 410 : // System.out.println("ImportDeclarationsopt ::="); consumeEmptyImportDeclarationsopt(); break ; case 411 : // System.out.println("ImportDeclarationsopt ::= ImportDeclarations"); consumeImportDeclarationsopt(); break ; case 412 : // System.out.println("TypeDeclarationsopt ::="); consumeEmptyTypeDeclarationsopt(); break ; case 413 : // System.out.println("TypeDeclarationsopt ::= TypeDeclarations"); consumeTypeDeclarationsopt(); break ; case 414 : // System.out.println("ClassBodyDeclarationsopt ::="); consumeEmptyClassBodyDeclarationsopt(); break ; case 415 : // System.out.println("ClassBodyDeclarationsopt ::= NestedType ClassBodyDeclarations"); consumeClassBodyDeclarationsopt(); break ; case 416 : // System.out.println("Modifiersopt ::="); consumeDefaultModifiers(); break ; case 417 : // System.out.println("Modifiersopt ::= Modifiers"); consumeModifiers(); break ; case 418 : // System.out.println("BlockStatementsopt ::="); consumeEmptyBlockStatementsopt(); break ; case 420 : // System.out.println("Dimsopt ::="); consumeEmptyDimsopt(); break ; case 422 : // System.out.println("ArgumentListopt ::="); consumeEmptyArgumentListopt(); break ; case 426 : // System.out.println("FormalParameterListopt ::="); consumeFormalParameterListopt(); break ; case 430 : // System.out.println("InterfaceMemberDeclarationsopt ::="); consumeEmptyInterfaceMemberDeclarationsopt(); break ; case 431 : // System.out.println("InterfaceMemberDeclarationsopt ::= NestedType InterfaceMemberDeclarations"); consumeInterfaceMemberDeclarationsopt(); break ; case 432 : // System.out.println("NestedType ::="); consumeNestedType(); break ; case 433 : // System.out.println("ForInitopt ::="); consumeEmptyForInitopt(); break ; case 435 : // System.out.println("ForUpdateopt ::="); consumeEmptyForUpdateopt(); break ; case 439 : // System.out.println("Catchesopt ::="); consumeEmptyCatchesopt(); break ; }}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/ca8ac59322f9a5546de88cf1c276f2947f3dabe2/Parser.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 7865, 2175, 12, 474, 1328, 13, 288, 225, 1620, 261, 1328, 262, 288, 565, 648, 12899, 294, 368, 2332, 18, 659, 18, 8222, 2932, 559, 493, 33, 14488, 559, 8863, 1082, 565, 7865, 9840, 559, 5621, 26924, 202, 8820, 274, 377, 648, 21193, 294, 368, 2332, 18, 659, 18, 8222, 2932, 2404, 559, 493, 33, 1659, 1162, 1358, 559, 8863, 1082, 565, 7865, 2404, 559, 5621, 565, 1082, 202, 8820, 274, 377, 648, 18106, 294, 368, 2332, 18, 659, 18, 8222, 2932, 12345, 493, 33, 1770, 15772, 4477, 461, 8863, 1082, 565, 7865, 12345, 5621, 26924, 202, 8820, 274, 377, 648, 15935, 294, 368, 2332, 18, 659, 18, 8222, 2932, 19184, 2802, 493, 33, 15439, 19184, 2802, 7508, 6094, 3838, 6164, 21408, 3838, 8863, 1082, 565, 7865, 19184, 2802, 5621, 26924, 202, 8820, 274, 377, 648, 22431, 294, 368, 2332, 18, 659, 18, 8222, 2932, 10237, 19184, 2802, 493, 1546, 1769, 1082, 565, 7865, 10237, 19184, 2802, 5621, 26924, 202, 8820, 274, 377, 648, 21017, 294, 368, 2332, 18, 659, 18, 8222, 2932, 14842, 1864, 493, 33, 1044, 511, 15111, 478, 1687, 1662, 534, 15111, 511, 26980, 8863, 1082, 565, 7865, 14842, 1864, 5621, 26924, 202, 8820, 274, 377, 648, 20963, 294, 368, 2332, 18, 659, 18, 8222, 2932, 5010, 21408, 493, 33, 6164, 21408, 6164, 6094, 8863, 1082, 565, 7865, 5010, 21408, 5621, 26924, 202, 8820, 274, 377, 648, 26465, 294, 368, 2332, 18, 659, 18, 8222, 2932, 559, 21408, 493, 33, 1412, 21408, 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, 4750, 918, 7865, 2175, 12, 474, 1328, 13, 288, 225, 1620, 261, 1328, 262, 288, 565, 648, 12899, 294, 368, 2332, 18, 659, 18, 8222, 2932, 559, 493, 33, 14488, 559, 8863, 1082, 565, 7865, 9840, 559, 5621, 26924, 202, 8820, 274, 377, 648, 21193, 294, 368, 2332, 18, 659, 18, 8222, 2932, 2404, 559, 493, 33, 1659, 1162, 1358, 559, 8863, 1082, 565, 7865, 2404, 559, 5621, 565, 1082, 202, 8820, 274, 377, 648, 18106, 294, 368, 2332, 18, 659, 18, 8222, 2932, 12345, 493, 33, 1770, 15772, 4477, 461, 8863, 1082, 565, 7865, 12345, 5621, 26924, 202, 8820, 274, 377, 648, 15935, 294, 368, 2332, 18, 659, 18, 8222, 2932, 19184, 2802, 493, 33, 15439, 19184, 2802, 2 ]
context.info( message );
context.verbose( message );
private void logExecDetails( final ExecMetaData metaData, final TaskContext context ) throws TaskException { if( context.isInfoEnabled() ) { final String cmdline = FileUtils.formatCommandLine( metaData.getCommand() ); final String message = REZ.getString( "execute.command.notice", cmdline ); context.info( message ); } if( context.isDebugEnabled() ) { final String message = REZ.getString( "execute.env-vars.notice", metaData.getEnvironment() ); context.debug( message ); } }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/70d6a6fb3c092c7ecd8f1901169e816ce0244042/Execute.java/clean/proposal/myrmidon/src/java/org/apache/myrmidon/framework/Execute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 613, 1905, 3790, 12, 727, 3889, 6998, 11651, 16, 4766, 727, 3837, 1042, 819, 262, 3639, 1216, 3837, 503, 565, 288, 3639, 309, 12, 819, 18, 291, 966, 1526, 1435, 262, 3639, 288, 5411, 727, 514, 22877, 273, 13779, 18, 2139, 21391, 12, 11651, 18, 588, 2189, 1435, 11272, 5411, 727, 514, 883, 273, 2438, 62, 18, 588, 780, 12, 315, 8837, 18, 3076, 18, 20392, 3113, 22877, 11272, 5411, 819, 18, 11369, 12, 883, 11272, 3639, 289, 3639, 309, 12, 819, 18, 291, 2829, 1526, 1435, 262, 3639, 288, 5411, 727, 514, 883, 273, 2438, 62, 18, 588, 780, 12, 315, 8837, 18, 3074, 17, 4699, 18, 20392, 3113, 11651, 18, 588, 5494, 1435, 11272, 5411, 819, 18, 4148, 12, 883, 11272, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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411, 727, 514, 22877, 273, 13779, 18, 2139, 21391, 12, 11651, 18, 588, 2189, 1435, 11272, 5411, 727, 514, 883, 273, 2438, 62, 18, 588, 780, 12, 315, 8837, 18, 3076, 18, 20392, 3113, 22877, 11272, 5411, 819, 18, 11369, 12, 883, 11272, 3639, 289, 3639, 309, 12, 819, 18, 291, 2829, 1526, 1435, 262, 3639, 288, 5411, 727, 514, 883, 273, 2438, 62, 18, 588, 780, 12, 315, 8837, 18, 3074, 17, 4699, 18, 20392, 3113, 11651, 18, 588, 5494, 1435, 11272, 2 ]
part.dispose();
ref0.dispose();
private void disposePart(IWorkbenchPartReference ref) { final IWorkbenchPart part = ref.getPart(false); if(part == null) return; Platform.run(new SafeRunnable() { public void run() { part.dispose(); } public void handleException(Throwable e) { //Exception has already being logged by Core. Do nothing. } });}
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/2513349bf76e774b17f5385216fb6cc6eeb0d6b5/WorkbenchPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 15825, 1988, 12, 45, 2421, 22144, 1988, 2404, 1278, 13, 288, 202, 6385, 467, 2421, 22144, 1988, 1087, 273, 1278, 18, 588, 1988, 12, 5743, 1769, 202, 430, 12, 2680, 422, 446, 13, 202, 202, 2463, 31, 202, 8201, 18, 2681, 12, 2704, 14060, 20013, 1435, 288, 202, 202, 482, 918, 1086, 1435, 288, 1082, 202, 2680, 18, 2251, 4150, 5621, 202, 202, 97, 202, 202, 482, 918, 20879, 12, 15155, 425, 13, 288, 1082, 202, 759, 503, 711, 1818, 3832, 7545, 635, 4586, 18, 2256, 5083, 18, 202, 202, 97, 202, 22938, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 15825, 1988, 12, 45, 2421, 22144, 1988, 2404, 1278, 13, 288, 202, 6385, 467, 2421, 22144, 1988, 1087, 273, 1278, 18, 588, 1988, 12, 5743, 1769, 202, 430, 12, 2680, 422, 446, 13, 202, 202, 2463, 31, 202, 8201, 18, 2681, 12, 2704, 14060, 20013, 1435, 288, 202, 202, 482, 918, 1086, 1435, 288, 1082, 202, 2680, 18, 2251, 4150, 5621, 202, 202, 97, 202, 202, 482, 918, 20879, 12, 15155, 425, 13, 288, 1082, 202, 759, 503, 711, 1818, 3832, 7545, 635, 4586, 18, 2256, 5083, 18, 202, 202, 97, 202, 22938, 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 ]
try { /* * First, the reference insertion handler */
public void runTest () { /* * lets make a Context and add the event cartridge */ VelocityContext inner = new VelocityContext(); /* * Now make an event cartridge, register all the * event handlers (at once) and attach it to the * Context */ EventCartridge ec = new EventCartridge(); ec.addEventHandler(this); ec.attachToContext( inner ); /* * now wrap the event cartridge - we want to make sure that * we can do this w/o harm */ VelocityContext context = new VelocityContext( inner ); context.put("name", "Velocity"); try { /* * First, the reference insertion handler */ String s = "$name"; StringWriter w = new StringWriter(); Velocity.evaluate( context, w, "mystring", s ); if ( !w.toString().equals( REFERENCE_VALUE )) { fail( "Reference insertion test 1"); } /* * using the same handler, we can deal with * null references as well */ s = "$floobie"; w = new StringWriter(); Velocity.evaluate( context, w, "mystring", s ); if ( !w.toString().equals( NO_REFERENCE_VALUE )) { fail( "Reference insertion test 2"); } /* * now lets test setting a null value - this test * should result in *no* log output. */ s = "#set($settest = $NotAReference)"; w = new StringWriter(); logString = null; Velocity.evaluate( context, w, "mystring", s ); if( logString != null) { fail( "NullSetEventHandler test 1"); } /* * now lets test setting a null value - this test * should result in log output. */ s = "#set($logthis = $NotAReference)"; w = new StringWriter(); logString = null; Velocity.evaluate( context, w, "mystring", s ); if( logString == null) { fail( "NullSetEventHandler test 1"); } /* * finally, we test a method exception event - we do this * by putting this class in the context, and calling * a method that does nothing but throw an exception. * we use a little switch to turn the event handling * on and off * * Note also how the reference insertion process * happens as well */ exceptionSwitch = true; context.put("this", this ); s = " $this.throwException()"; w = new StringWriter(); try { Velocity.evaluate( context, w, "mystring", s ); } catch( MethodInvocationException mee ) { fail("MethodExceptionEvent test 1"); } catch( Exception e ) { fail("MethodExceptionEvent test 1"); } /* * now, we turn the switch off, and we can see that the * exception will propgate all the way up here, and * wil be caught by the catch() block below */ exceptionSwitch = false; s = " $this.throwException()"; w = new StringWriter(); try { Velocity.evaluate( context, w, "mystring", s ); fail("MethodExceptionEvent test 2"); } catch( MethodInvocationException mee ) { /* * correct - should land here... */ } catch( Exception e ) { fail("MethodExceptionEvent test 2"); } } catch( ParseErrorException pee ) { fail("ParseErrorException" + pee); } catch( MethodInvocationException mee ) { fail("MethodInvocationException" + mee); } catch( Exception e ) { fail("Exception" + e); } }
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/59780514f566344db5c57333d6182e2f5f040af7/EventHandlingTestCase.java/buggy/src/java/org/apache/velocity/test/EventHandlingTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 4709, 1832, 565, 288, 3639, 1748, 1850, 380, 225, 14557, 1221, 279, 1772, 471, 527, 326, 871, 5926, 313, 350, 908, 540, 1195, 7734, 24561, 1042, 3443, 273, 394, 24561, 1042, 5621, 3639, 1748, 540, 380, 225, 4494, 1221, 392, 871, 5926, 313, 350, 908, 16, 1744, 777, 326, 1850, 380, 225, 871, 4919, 261, 270, 3647, 13, 471, 3306, 518, 358, 326, 540, 380, 225, 1772, 540, 1195, 3639, 2587, 16321, 313, 350, 908, 6557, 273, 394, 2587, 16321, 313, 350, 908, 5621, 3639, 6557, 18, 1289, 16402, 12, 2211, 1769, 3639, 6557, 18, 7331, 774, 1042, 12, 3443, 11272, 1850, 1748, 540, 380, 225, 2037, 2193, 326, 871, 5926, 313, 350, 908, 300, 732, 2545, 358, 1221, 3071, 716, 540, 380, 225, 732, 848, 741, 333, 341, 19, 83, 366, 4610, 540, 1195, 3639, 24561, 1042, 819, 273, 394, 24561, 1042, 12, 3443, 11272, 3639, 819, 18, 458, 2932, 529, 3113, 315, 27522, 8863, 3639, 775, 3639, 288, 5411, 1748, 2398, 380, 225, 5783, 16, 326, 2114, 12626, 1838, 2398, 1195, 5411, 514, 272, 273, 4662, 529, 14432, 13491, 17436, 341, 273, 394, 17436, 5621, 5411, 24561, 18, 21024, 12, 819, 16, 341, 16, 315, 4811, 1080, 3113, 272, 11272, 13491, 309, 261, 401, 91, 18, 10492, 7675, 14963, 12, 22898, 67, 4051, 8623, 5411, 288, 7734, 2321, 12, 315, 2404, 12626, 1842, 404, 8863, 5411, 289, 5411, 1748, 2398, 380, 225, 1450, 326, 1967, 1838, 16, 732, 848, 10490, 598, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 4709, 1832, 565, 288, 3639, 1748, 1850, 380, 225, 14557, 1221, 279, 1772, 471, 527, 326, 871, 5926, 313, 350, 908, 540, 1195, 7734, 24561, 1042, 3443, 273, 394, 24561, 1042, 5621, 3639, 1748, 540, 380, 225, 4494, 1221, 392, 871, 5926, 313, 350, 908, 16, 1744, 777, 326, 1850, 380, 225, 871, 4919, 261, 270, 3647, 13, 471, 3306, 518, 358, 326, 540, 380, 225, 1772, 540, 1195, 3639, 2587, 16321, 313, 350, 908, 6557, 273, 394, 2587, 16321, 313, 350, 908, 5621, 3639, 6557, 18, 1289, 16402, 12, 2211, 1769, 3639, 6557, 18, 7331, 774, 1042, 12, 3443, 11272, 1850, 1748, 540, 380, 225, 2037, 2193, 326, 871, 5926, 313, 350, 908, 300, 2 ]
return getConstant((NODE)rubyFrame.getCbase(), (RubyId)node.nd_vid(), self);
return getConstant((NODE)getRubyFrame().getCbase(), (RubyId)node.nd_vid(), self);
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyBoolean cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { if (node == null) { return getRuby().getNil(); } switch (node.nd_type()) { case NODE_BLOCK: while (node.nd_next() != null) { eval(self, node.nd_head()); node = node.nd_next(); } node = node.nd_head(); break; case NODE_POSTEXE: // rb_f_END(); node.nd_set_type(NODE_NIL); /* exec just once */ return getRuby().getNil(); /* begin .. end without clauses */ case NODE_BEGIN: node = node.nd_body(); break; /* nodes for speed-up(default match) */ case NODE_MATCH: //return rom.rb_reg_match2(node.nd_head().nd_lit()); return getRuby().getNil(); /* nodes for speed-up(literal match) */ case NODE_MATCH2: //return rom.rb_reg_match(eval(node.nd_recv()), eval(node.nd_value())); return getRuby().getNil(); /* nodes for speed-up(literal match) */ case NODE_MATCH3: //VALUE r = eval(node.nd_recv()); //VALUE l = eval(node.nd_value()); //if (r instanceof RubyString) { // return rom.rb_reg_match(l, r); //} else { // return rom.rb_funcall(r, match, 1, l); //} return getRuby().getNil(); /* node for speed-up(top-level loop for -n/-p) */ case NODE_OPT_N: while (true) { try { // while (!rb_gets().isNil() false) { // HACK +++ if (true) { // HACK --- try { eval(self, node.nd_body()); } catch (RedoException rExcptn) { } } break; } catch (NextException nExcptn) { } catch (BreakException bExcptn) { break; } } return getRuby().getNil(); case NODE_SELF: return self; case NODE_NIL: return getRuby().getNil(); case NODE_TRUE: return getRuby().getTrue(); case NODE_FALSE: return getRuby().getFalse(); case NODE_IF: // ruby_sourceline = node.nd_line(); cond = (RubyBoolean)eval(self, node.nd_cond()); if (cond.isTrue()) { node = node.nd_body(); } else { node = node.nd_else(); } break; case NODE_WHEN: while (node != null) { NODE tag; if (node.nd_type() != NODE_WHEN) { break; } tag = node.nd_head(); while (tag != null) {/* if (trace_func) { call_trace_func("line", tag->nd_file, nd_line(tag), self, ruby_frame->last_func, ruby_frame->last_class); }*/ // ruby_sourcefile = tag.nd_file; // ruby_sourceline = tag.nd_line(); if (tag.nd_head().nd_type() == NODE_WHEN) { RubyObject obj = eval(self, tag.nd_head().nd_head()); if (!(obj instanceof RubyArray)) { obj = RubyArray.m_newArray(getRuby(), obj); } for (int i = 0; i < ((RubyArray)obj).length(); i++) { if (((RubyBoolean)((RubyArray)obj).entry(i)).isTrue()) { node = node.nd_body(); break; } } tag = tag.nd_next(); continue; } if (((RubyBoolean)eval(self, tag.nd_head())).isTrue()) { node = node.nd_body(); break; } tag = tag.nd_next(); } node = node.nd_next(); } return getRuby().getNil(); case NODE_CASE: RubyObject obj = eval(self, node.nd_head()); node = node.nd_body(); while (node != null) { NODE tag; if (node.nd_type() != NODE_WHEN) { break; } tag = node.nd_head(); while (tag != null) {/* if (trace_func) { call_trace_func("line", tag->nd_file, nd_line(tag), self, ruby_frame->last_func, ruby_frame->last_class); } ruby_sourcefile = tag->nd_file; ruby_sourceline = nd_line(tag);*/ if (tag.nd_head().nd_type() == NODE_WHEN) { RubyObject obj2 = eval(self, tag.nd_head().nd_head()); if (!(obj2 instanceof RubyArray)) { obj2 = RubyArray.m_newArray(getRuby(), obj2); } for (int i = 0; i < ((RubyArray)obj).length(); i++) { RubyBoolean eqq = (RubyBoolean)((RubyArray)obj2).entry(i).funcall(getRuby().intern("==="), obj); if (eqq.isTrue()) { node = node.nd_body(); break; } } tag = tag.nd_next(); continue; } if (((RubyBoolean)eval(self, tag.nd_head()).funcall(getRuby().intern("==="), obj)).isTrue()) { node = node.nd_body(); break; } tag = tag.nd_next(); } node = node.nd_next(); } return getRuby().getNil(); case NODE_WHILE: while (eval(self, node.nd_cond()).isTrue()) { while (true) { try { eval(self, node.nd_body()); break; } catch (RedoException rExcptn) { } catch (NextException nExcptn) { break; } catch (BreakException bExcptn) { return getRuby().getNil(); } } } return getRuby().getNil(); case NODE_UNTIL: while (eval(self, node.nd_cond()).isFalse()) { while (true) { try { eval(self, node.nd_body()); break; } catch (RedoException rExcptn) { } catch (NextException nExcptn) { break; } catch (BreakException bExcptn) { return getRuby().getNil(); } } } return getRuby().getNil(); case NODE_BLOCK_PASS: //return block_pass(node); return null; case NODE_ITER: case NODE_FOR: rubyBlock.push(node.nd_var(), node.nd_body(), self); rubyIter.push(Iter.ITER_PRE); while (true) { try { if (node.nd_type() == NODE_ITER) { result = eval(self, node.nd_iter()); } else { // String file = // int line = rubyBlock.flags &= ~RubyBlock.BLOCK_D_SCOPE; RubyBlock tmpBlock = beginCallargs(); RubyObject recv = eval(self, node.nd_iter()); endCallArgs(tmpBlock); // = file; // = line; result = recv.getRubyClass().call(recv, ruby.intern("each"), null, 0); } break; } catch (RetryException rExcptn) { } catch (ReturnException rExcptn) { result = rExcptn.getReturnValue(); break; } catch (BreakException bExcptn) { result = ruby.getNil(); break; } } rubyIter.pop(); rubyBlock.pop(); return result; case NODE_BREAK: throw new BreakException(); case NODE_NEXT: throw new NextException(); case NODE_REDO: throw new RedoException(); case NODE_RETRY: throw new RetryException(); case NODE_RESTARGS: result = eval(self, node.nd_head()); if (!(result instanceof RubyArray)) { result = obj = RubyArray.m_newArray(getRuby(), result); } return result; case NODE_YIELD: if (node.nd_stts() != null) { result = eval(self, node.nd_stts()); if (node.nd_stts().nd_type() == NODE_RESTARGS && ((RubyArray)result).length() == 1) { result = ((RubyArray)result).entry(0); } } else { result = ruby.getNil(); } return yield0(result, null, null, false); case NODE_RESCUE:/* retry_entry: { volatile VALUE e_info = ruby_errinfo; PUSH_TAG(PROT_NONE); if ((state = EXEC_TAG()) == 0) { result = rb_eval(self, node->nd_head); } POP_TAG(); if (state == TAG_RAISE) { NODE * volatile resq = node->nd_resq; ruby_sourceline = nd_line(node); while (resq) { if (handle_rescue(self, resq)) { state = 0; PUSH_TAG(PROT_NONE); if ((state = EXEC_TAG()) == 0) { result = rb_eval(self, resq->nd_body); } POP_TAG(); if (state == TAG_RETRY) { state = 0; ruby_errinfo = Qnil; goto retry_entry; } if (state != TAG_RAISE) { ruby_errinfo = e_info; } break; } resq = resq->nd_head; /* next rescue */ /** } * } * else if (node->nd_else) { /* else clause given *//* if (!state) { /* no exception raised *//* result = rb_eval(self, node->nd_else); } } if (state) JUMP_TAG(state); } break;*/ case NODE_ENSURE:/* PUSH_TAG(PROT_NONE); if ((state = EXEC_TAG()) == 0) { result = eval(node.nd_head()); } POP_TAG(); if (node.nd_ensr()) { VALUE retval = prot_tag->retval; /* save retval *//* VALUE errinfo = ruby_errinfo; rb_eval(self, node->nd_ensr); return_value(retval); ruby_errinfo = errinfo; } if (state) JUMP_TAG(state); break;*/ case NODE_AND: cond = (RubyBoolean)eval(self, node.nd_1st()); if (cond.isFalse()) { return cond; } node = node.nd_2nd(); break; case NODE_OR: cond = (RubyBoolean)eval(self, node.nd_1st()); if (cond.isTrue()) { return cond; } node = node.nd_2nd(); break; case NODE_NOT: return RubyBoolean.m_newBoolean(getRuby(), eval(self, node.nd_1st()).isFalse()); case NODE_DOT2: case NODE_DOT3: result = RubyRange.m_newRange(getRuby(), eval(self, node.nd_beg()), eval(self, node.nd_end()), node.nd_type() == NODE_DOT3); if (node.nd_state() != 0) { return result; } if (node.nd_beg().nd_type() == NODE_LIT && (node.nd_beg().nd_lit() instanceof RubyFixnum) && node.nd_end().nd_type() == NODE_LIT && (node.nd_end().nd_lit() instanceof RubyFixnum)) { node.nd_set_type(NODE_LIT); node.nd_lit(result); } else { node.nd_state(1L); } return result; case NODE_FLIP2: /* like AWK */ /*if (ruby_scope->local_vars == 0) { rb_bug("unexpected local variable"); }*/ if (ruby.rubyScope.getLocalVars(node.nd_cnt()).isFalse()) { if (eval(self, node.nd_beg()).isTrue()) { ruby.rubyScope.setLocalVars(node.nd_cnt(), eval(self, node.nd_end()).isTrue() ? ruby.getFalse() : ruby.getTrue()); result = ruby.getTrue(); } else { result = ruby.getFalse(); } } else { if (eval(self, node.nd_end()).isTrue()) { ruby.rubyScope.setLocalVars(node.nd_cnt(), ruby.getFalse()); } result = ruby.getTrue(); } return result; case NODE_FLIP3: /* like SED */ /*if (ruby_scope->local_vars == 0) { rb_bug("unexpected local variable"); }*/ if (ruby.rubyScope.getLocalVars(node.nd_cnt()).isFalse()) { result = eval(self, node.nd_beg()).isTrue() ? ruby.getFalse() : ruby.getTrue(); ruby.rubyScope.setLocalVars(node.nd_cnt(), result); } else { if (eval(self, node.nd_end()).isTrue()) { ruby.rubyScope.setLocalVars(node.nd_cnt(), ruby.getFalse()); } result = ruby.getTrue(); } return result; case NODE_RETURN: if (node.nd_stts() != null) { result = eval(self, node.nd_stts()); } else { result = ruby.getNil(); } throw new ReturnException(result); case NODE_ARGSCAT: return ((RubyArray)eval(self, node.nd_head())).m_concat(eval(self, node.nd_body())); case NODE_ARGSPUSH: return ((RubyArray)eval(self, node.nd_head()).m_dup()).push(eval(self, node.nd_body())); case NODE_CALL: // TMP_PROTECT; RubyBlock tmpBlock = beginCallargs(); RubyObject recv = eval(self, node.nd_recv()); args = setupArgs(self, node.nd_args()); endCallArgs(tmpBlock); return recv.getRubyClass().call(recv, (RubyId)node.nd_mid(), args, 0); case NODE_FCALL: // TMP_PROTECT; tmpBlock = beginCallargs(); args = setupArgs(self, node.nd_args()); endCallArgs(tmpBlock); return self.getRubyClass().call(self, (RubyId)node.nd_mid(), args, 1); case NODE_VCALL: return self.getRubyClass().call(self, (RubyId)node.nd_mid(), null, 2); case NODE_SUPER: case NODE_ZSUPER: // TMP_PROTECT; if (rubyFrame.getLastClass() == null) { throw new RubyNameException("superclass method '" + rubyFrame.getLastFunc().toName() + "' disabled"); } if (node.nd_type() == NODE_ZSUPER) { List argsList = rubyFrame.getArgs(); args = (RubyObject[])argsList.toArray(new RubyObject[argsList.size()]); } else { tmpBlock = beginCallargs(); args = setupArgs(self, node.nd_args()); endCallArgs(tmpBlock); } rubyIter.push(rubyIter.getIter() != Iter.ITER_NOT ? Iter.ITER_PRE : Iter.ITER_NOT); result = rubyFrame.getLastClass().getSuperClass().call(rubyFrame.getSelf(), rubyFrame.getLastFunc(), args, 3); rubyIter.pop(); return result; case NODE_SCOPE: NODE saved_cref = null; Frame frame = rubyFrame; frame.setTmp(rubyFrame); rubyFrame = frame; ruby.rubyScope.push(); if (node.nd_rval() != null) { saved_cref = ruby_cref; ruby_cref = (NODE)node.nd_rval(); rubyFrame.setCbase(node.nd_rval()); } if (node.nd_tbl() != null) { List tmp = Collections.nCopies(node.nd_tbl()[0].intValue() + 1, ruby.getNil()); ShiftableList vars = new ShiftableList(new ArrayList(tmp)); vars.set(0, (VALUE)node); vars.shift(1); getRuby().rubyScope.setLocalVars(vars); getRuby().rubyScope.setLocalTbl(node.nd_tbl()); } else { getRuby().rubyScope.setLocalVars(null); getRuby().rubyScope.setLocalTbl(null); } result = eval(self, node.nd_next()); ruby.rubyScope.pop(); rubyFrame = frame.getTmp(); if (saved_cref != null) { ruby_cref = saved_cref; } return result; case NODE_OP_ASGN1: // TMP_PROTECT; recv = eval(self, node.nd_recv()); NODE rval = node.nd_args().nd_head(); args = setupArgs(self, node.nd_args().nd_next()); ArrayList argsList = new ArrayList(Arrays.asList(args)); argsList.remove(args.length - 1); RubyBoolean val = (RubyBoolean)recv.funcall(getRuby().intern("[]"), (RubyObject[])argsList.toArray(new RubyObject[argsList.size()])); switch (node.nd_mid().intValue()) { case 0: /* OR */ if (val.isTrue()) { return val; } val = (RubyBoolean)eval(self, rval); break; case 1: /* AND */ if (val.isFalse()) { return val; } val = (RubyBoolean)eval(self, rval); break; default: val = (RubyBoolean)val.funcall((RubyId)node.nd_mid(), eval(self, rval)); } args[args.length - 1] = val; return recv.funcall(getRuby().intern("[]="), args); case NODE_OP_ASGN2: ID id = node.nd_next().nd_vid(); recv = eval(self, node.nd_recv()); val = (RubyBoolean)recv.funcall((RubyId)id, (RubyObject[])null); switch (node.nd_next().nd_mid().intValue()) { case 0: /* OR */ if (val.isTrue()) { return val; } val = (RubyBoolean)eval(self, node.nd_value()); break; case 1: /* AND */ if (val.isFalse()) { return val; } val = (RubyBoolean)eval(self, node.nd_value()); break; default: val = (RubyBoolean)val.funcall((RubyId)node.nd_mid(), eval(self, node.nd_value())); } // HACK +++ val = (RubyBoolean)recv.funcall((RubyId)node.nd_next().nd_aid(), val); // HACK --- return val; case NODE_OP_ASGN_AND: cond = (RubyBoolean)eval(self, node.nd_head()); if (cond.isFalse()) { return cond; } node = node.nd_value(); break; case NODE_OP_ASGN_OR: cond = (RubyBoolean)eval(self, node.nd_head()); if ((node.nd_aid() != null && !self.isInstanceVarDefined((RubyId)node.nd_aid())) || cond.isFalse()) { node = node.nd_value(); break; } return cond; case NODE_MASGN: return massign(self, node, eval(self, node.nd_value()), false); case NODE_LASGN: // if (ruby.ruby_scope.local_vars == null) { // rb_bug("unexpected local variable assignment"); // } result = eval(self, node.nd_value()); getRuby().rubyScope.setLocalVars(node.nd_cnt(), result); return result; case NODE_DASGN: result = eval(self, node.nd_value()); RubyVarmap.assign(ruby, (RubyId)node.nd_vid(), result); return result; case NODE_DASGN_CURR: result = eval(self, node.nd_value()); RubyVarmap.assignCurrent(ruby, (RubyId)node.nd_vid(), result); return result; case NODE_GASGN: result = eval(self, node.nd_value()); ((RubyGlobalEntry)node.nd_entry()).set(result); return result; case NODE_IASGN: result = eval(self, node.nd_value()); self.setInstanceVar((RubyId)node.nd_vid(), result); return result; case NODE_CDECL: if (ruby_class == null) { throw new RubyTypeException("no class/module to define constant"); } result = eval(self, node.nd_value()); ruby_class.setConstant((RubyId)node.nd_vid(), result); return result; case NODE_CVDECL: if (ruby_cbase == null) { throw new RubyTypeException("no class/module to define class variable"); } result = eval(self, node.nd_value()); if (ruby_cbase.isSingleton()) { ruby_cbase.getInstanceVar("__attached__").getClassVarSingleton().declareClassVar((RubyId)node.nd_vid(), result); return result; } ruby_cbase.declareClassVar((RubyId)node.nd_vid(), result); return result; case NODE_CVASGN: result = eval(self, node.nd_value()); self.getClassVarSingleton().setClassVar((RubyId)node.nd_vid(), result); return result; case NODE_LVAR: //if (getRuby().ruby_scope.local_vars == null) { // rb_bug("unexpected local variable"); // } return (RubyObject)getRuby().rubyScope.getLocalVars(node.nd_cnt()); case NODE_DVAR: return getDynamicVars().getRef((RubyId)node.nd_vid()); case NODE_GVAR: return ((RubyGlobalEntry)node.nd_entry()).get(); case NODE_IVAR: return self.getInstanceVar((RubyId)node.nd_vid()); case NODE_CONST: return getConstant((NODE)rubyFrame.getCbase(), (RubyId)node.nd_vid(), self); case NODE_CVAR: /* normal method */ if (ruby_cbase == null) { return self.getRubyClass().getClassVar((RubyId)node.nd_vid()); } if (!ruby_cbase.isSingleton()) { return ruby_cbase.getClassVar((RubyId)node.nd_vid()); } return ruby_cbase.getInstanceVar("__attached__").getClassVarSingleton().getClassVar((RubyId)node.nd_vid()); case NODE_CVAR2: /* singleton method */ return self.getClassVarSingleton().getClassVar((RubyId)node.nd_vid()); case NODE_BLOCK_ARG: if (ruby.rubyScope.getLocalVars() == null) { throw new RuntimeException("BUG: unexpected block argument"); } if (isBlockGiven()) { result = getRuby().getNil(); // Create Proc object ruby.rubyScope.setLocalVars(node.nd_cnt(), result); return result; } else { return getRuby().getNil(); } case NODE_COLON2: value = eval(self, node.nd_head()); if (value instanceof RubyModule) { return ((RubyModule)value).getConstant((RubyId)node.nd_mid()); } else { return value.funcall((RubyId)node.nd_mid()); } case NODE_COLON3: return getRuby().getObjectClass().getConstant((RubyId)node.nd_mid()); case NODE_NTH_REF: // return rom.rb_reg_nth_match(node.nd_nth(), MATCH_DATA); return null; case NODE_BACK_REF: /*switch ((char)node.nd_nth()) { case '&': return rom.rb_reg_last_match(MATCH_DATA); case '`': return rom.rb_reg_match_pre(MATCH_DATA); case '\'': return rom.rb_reg_match_post(MATCH_DATA); case '+': return rom.rb_reg_match_last(MATCH_DATA); default: rom.rb_bug("unexpected back-ref"); }*/ case NODE_HASH: RubyHash hash = RubyHash.m_newHash(ruby); NODE list = node.nd_head(); while(list != null) { RubyObject key = eval(self, list.nd_head()); list = list.nd_next(); if (list == null) { // HACK +++ throw new RubyArgumentException("odd number list for Hash"); // HACK --- } value = eval(self, list.nd_head()); hash.m_aset(key, value); list = list.nd_next(); } return hash; case NODE_ZARRAY: /* zero length list */ return RubyArray.m_newArray(getRuby()); case NODE_ARRAY: ArrayList ary = new ArrayList(node.nd_alen()); for (; node != null ; node = node.nd_next()) { ary.add(eval(self, node.nd_head())); } return RubyArray.m_newArray(getRuby(), ary); case NODE_STR: return ((RubyObject)node.nd_lit()).m_to_s(); case NODE_DSTR: case NODE_DXSTR: case NODE_DREGX: case NODE_DREGX_ONCE:/* NODE list = node.nd_next(); RubyString str = RubyString.m_newString(getRuby(), (RubyObject)node.nd_lit()); RubyString str2; while (list != null) { if (list.nd_head() != null) { switch (list.nd_head().nd_type()) { case NODE_STR: str2 = (RubyString)list.nd_head().nd_lit(); break; case NODE_EVSTR: result = ruby_errinfo; ruby_errinfo = Qnil; ruby_sourceline = nd_line(node); ruby_in_eval++; list.nd_head(compile(list.nd_head().nd_lit(), ruby_sourcefile,ruby_sourceline)); ruby_eval_tree = 0; ruby_in_eval--; if (ruby_nerrs > 0) { compile_error("string expansion"); } if (!NIL_P(result)) ruby_errinfo = result; /* fall through *//* default: str2 = (RubyString)rom.rb_obj_as_string(eval(list.nd_head())); break; } str.append(str2); str.infectObject(str2); } list = list.nd_next(); } switch (node.nd_type()) { case NODE_DREGX: return rom.rb_reg_new(str.getString(), str.getString().length(), node.nd_cflag()); case NODE_DREGX_ONCE: /* regexp expand once *//* VALUE result = rom.rb_reg_new(str.getString(), str.getString().length(), node.nd_cflag()); node.nd_set_type(NODE_LIT); node.nd_lit(result); return result; case NODE_DXSTR: return rom.rb_funcall(this, '`', 1, str); default: return str; }*/ return null; case NODE_XSTR: return self.funcall(getRuby().intern("`"), (RubyObject)node.nd_lit()); case NODE_LIT: return (RubyObject)node.nd_lit(); case NODE_ATTRSET: if (rubyFrame.getArgs().size() != 1) { throw new RubyArgumentException("wrong # of arguments(" + rubyFrame.getArgs().size() + "for 1)"); } return self.setInstanceVar((RubyId)node.nd_vid(), (RubyObject)rubyFrame.getArgs().get(0)); case NODE_DEFN: if (node.nd_defn() != null) { int noex; if (ruby_class == null) { throw new RubyTypeException("no class to add method"); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // rom.rb_warn("redefining Object#initialize may cause infinite loop"); //} //if (node.nd_mid() == __id__ || node.nd_mid() == __send__) { // rom.rb_warn("redefining `%s' may cause serious problem", ((RubyId)node.nd_mid()).toName()); //} // ruby_class.setFrozen(true); NODE body = ruby_class.searchMethod((RubyId)node.nd_mid()); RubyObject origin = ruby_class.getMethodOrigin((RubyId)node.nd_mid()); if (body != null){ // if (ruby_verbose.isTrue() && ruby_class == origin && body.nd_cnt() == 0) { // rom.rb_warning("discarding old %s", ((RubyId)node.nd_mid()).toName()); // } // if (node.nd_noex() != 0) { /* toplevel */ /* should upgrade to rb_warn() if no super was called inside? */ // rom.rb_warning("overriding global function `%s'", ((RubyId)node.nd_mid()).toName()); // } } if (isScope(SCOPE_PRIVATE) || node.nd_mid().equals(ruby.intern("initialize"))) { noex = NOEX_PRIVATE; } else if (isScope(SCOPE_PROTECTED)) { noex = NOEX_PROTECTED; } else if (ruby_class == getRuby().getObjectClass()) { noex = node.nd_noex(); } else { noex = NOEX_PUBLIC; } if (body != null && origin == ruby_class && (body.nd_noex() & NOEX_UNDEF) != 0) { noex |= NOEX_UNDEF; } NODE defn = node.nd_defn().copyNodeScope(ruby_cref); ruby_class.addMethod((RubyId)node.nd_mid(), defn, noex); // rb_clear_cache_by_id(node.nd_mid()); if (scope_vmode == SCOPE_MODFUNC) { ruby_class.getSingletonClass().addMethod((RubyId)node.nd_mid(), defn, NOEX_PUBLIC); ruby_class.funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol()); } if (ruby_class.isSingleton()) { ruby_class.getInstanceVar("__attached__").funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol()); } else { ruby_class.funcall(getRuby().intern("method_added"), ((RubyId)node.nd_mid()).toSymbol()); } } return getRuby().getNil(); case NODE_DEFS: if (node.nd_defn() != null) { recv = eval(self, node.nd_recv()); if (getRuby().getSecurityLevel() >= 4 && !recv.isTaint()) { throw new RubySecurityException("Insecure; can't define singleton method"); } /*if (FIXNUM_P(recv) || SYMBOL_P(recv)) { rb_raise(rb_eTypeError, "can't define singleton method \"%s\" for %s", rb_id2name(node.nd_mid()), rb_class2name(CLASS_OF(recv))); }*/ // not needed in jruby if (recv.isFrozen()) { throw new RubyFrozenException("object"); } rubyClass = recv.getSingletonClass(); NODE body = (NODE)rubyClass.getMethods().get((RubyId)node.nd_mid()); if (body != null) { if (getRuby().getSecurityLevel() >= 4) { throw new RubySecurityException("redefining method prohibited"); } /*if (RTEST(ruby_verbose)) { rb_warning("redefine %s", rb_id2name(node.nd_mid())); }*/ } NODE defn = node.nd_defn().copyNodeScope(ruby_cref); defn.nd_rval(ruby_cref); rubyClass.addMethod((RubyId)node.nd_mid(), defn, NOEX_PUBLIC | (body != null ? body.nd_noex() & NOEX_UNDEF : 0)); // rb_clear_cache_by_id(node.nd_mid()); recv.funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol()); } return getRuby().getNil(); case NODE_UNDEF: if (ruby_class == null) { throw new RubyTypeException("no class to undef method"); } ruby_class.undef((RubyId)node.nd_mid()); return getRuby().getNil(); case NODE_ALIAS: if (ruby_class == null) { throw new RubyTypeException("no class to make alias"); } ruby_class.aliasMethod((RubyId)node.nd_new(), (RubyId)node.nd_old()); ruby_class.funcall(getRuby().intern("method_added"), ((RubyId)node.nd_mid()).toSymbol()); return getRuby().getNil(); case NODE_VALIAS: RubyGlobalEntry.getGlobalEntry((RubyId)node.nd_old()).alias((RubyId)node.nd_new()); return getRuby().getNil(); case NODE_CLASS: RubyModule superClass; if (ruby_class == null) { throw new RubyTypeException("no outer class/module"); } if (node.nd_super() != null) { superClass = getSuperClass(self, node.nd_super()); } else { superClass = null; } rubyClass = null; // if ((ruby_class == getRuby().getObjectClass()) && rb_autoload_defined(node.nd_cname())) { // rb_autoload_load(node.nd_cname()); // } if (ruby_class.isConstantDefined((RubyId)node.nd_cname())) { rubyClass = (RubyClass)ruby_class.getConstant((RubyId)node.nd_cname()); } if (rubyClass != null) { if (!rubyClass.isClass()) { throw new RubyTypeException(((RubyId)node.nd_cname()).toName() + " is not a class"); } if (superClass != null) { RubyModule tmp = rubyClass.getSuperClass(); if (tmp.isSingleton()) { tmp = tmp.getSuperClass(); } while (tmp.isIncluded()) { tmp = tmp.getSuperClass(); } if (tmp != superClass) { superClass = tmp; //goto override_class; if (superClass == null) { superClass = getRuby().getObjectClass(); } rubyClass = getRuby().defineClassId((RubyId)node.nd_cname(), (RubyClass)superClass); ruby_class.setConstant((RubyId)node.nd_cname(), rubyClass); rubyClass.setClassPath((RubyClass)ruby_class, ((RubyId)node.nd_cname()).toName()); // end goto } } if (getRuby().getSecurityLevel() >= 4) { throw new RubySecurityException("extending class prohibited"); } // rb_clear_cache(); } else { //override_class: if (superClass == null) { superClass = getRuby().getObjectClass(); } rubyClass = getRuby().defineClassId((RubyId)node.nd_cname(), (RubyClass)superClass); ruby_class.setConstant((RubyId)node.nd_cname(), rubyClass); rubyClass.setClassPath((RubyClass)ruby_class, ((RubyId)node.nd_cname()).toName()); } if (ruby_wrapper != null) { rubyClass.getSingletonClass().includeModule(ruby_wrapper); rubyClass.includeModule(ruby_wrapper); } return setupModule(rubyClass, node.nd_body()); case NODE_MODULE: if (ruby_class == null) { throw new RubyTypeException("no outer class/module"); } RubyModule module = null; if ((ruby_class == getRuby().getObjectClass()) && getRuby().isAutoloadDefined((RubyId)node.nd_cname())) { // getRuby().rb_autoload_load(node.nd_cname()); } if (ruby_class.isConstantDefined((RubyId)node.nd_cname())) { module = (RubyModule)ruby_class.getConstant((RubyId)node.nd_cname()); } if (module != null) { if (!(module instanceof RubyModule)) { throw new RubyTypeException(((RubyId)node.nd_cname()).toName() + " is not a module"); } if (getRuby().getSecurityLevel() >= 4) { throw new RubySecurityException("extending module prohibited"); } } else { module = getRuby().defineModuleId((RubyId)node.nd_cname()); ruby_class.setConstant((RubyId)node.nd_cname(), module); module.setClassPath(ruby_class, ((RubyId)node.nd_cname()).toName()); } if (ruby_wrapper != null) { module.getSingletonClass().includeModule(ruby_wrapper); module.includeModule(ruby_wrapper); } return setupModule(module, node.nd_body()); case NODE_SCLASS: rubyClass = (RubyClass)eval(self, node.nd_recv()); if (rubyClass.isSpecialConst()) { throw new RubyTypeException("no virtual class for " + rubyClass.getRubyClass().toName()); } if (getRuby().getSecurityLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException("Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } rubyClass = rubyClass.getSingletonClass(); if (ruby_wrapper != null) { rubyClass.getSingletonClass().includeModule(ruby_wrapper); rubyClass.includeModule(ruby_wrapper); } return setupModule(rubyClass, node.nd_body()); case NODE_DEFINED: // String buf; // String desc = is_defined(self, node.nd_head(), buf); // // if (desc) { // result = rb_str_new2(desc); // } else { // result = Qnil; // } case NODE_NEWLINE: // ruby_sourcefile = node.nd_file; // ruby_sourceline = node.nd_nth(); // if (trace_func) { // call_trace_func("line", ruby_sourcefile, ruby_sourceline, self, // ruby_frame.last_func(), // ruby_frame.last_class()); // } node = node.nd_next(); break; default: // rom.rb_bug("unknown node type %d", nd_type(node)); } } }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/f220dcff8a7e427e32a7f1f1bc78f38876b83620/RubyInterpreter.java/clean/org/jruby/interpreter/RubyInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 5302, 12, 54, 10340, 921, 365, 16, 11922, 290, 13, 288, 3639, 11922, 756, 273, 290, 31, 7734, 19817, 5507, 6941, 273, 446, 31, 3639, 19817, 921, 8526, 833, 273, 446, 31, 3639, 19817, 921, 460, 273, 446, 31, 3639, 19817, 921, 563, 273, 446, 31, 3639, 19817, 3120, 22155, 797, 273, 446, 31, 3639, 368, 509, 919, 31, 7734, 368, 19817, 8176, 4712, 24137, 273, 4170, 10340, 7675, 588, 8176, 4712, 5621, 7734, 1323, 261, 3767, 13, 288, 13491, 309, 261, 2159, 422, 446, 13, 288, 7734, 327, 4170, 10340, 7675, 588, 12616, 5621, 5411, 289, 13491, 1620, 261, 2159, 18, 4880, 67, 723, 10756, 288, 7734, 648, 11922, 67, 11403, 30, 10792, 1323, 261, 2159, 18, 4880, 67, 4285, 1435, 480, 446, 13, 288, 13491, 5302, 12, 2890, 16, 756, 18, 4880, 67, 1978, 10663, 13491, 756, 273, 756, 18, 4880, 67, 4285, 5621, 10792, 289, 10792, 756, 273, 756, 18, 4880, 67, 1978, 5621, 10792, 898, 31, 4766, 565, 648, 11922, 67, 3798, 2294, 41, 30, 10792, 368, 7138, 67, 74, 67, 4415, 5621, 10792, 756, 18, 4880, 67, 542, 67, 723, 12, 8744, 67, 50, 2627, 1769, 1748, 1196, 2537, 3647, 1195, 10792, 327, 4170, 10340, 7675, 588, 12616, 5621, 4766, 565, 1748, 2376, 6116, 679, 2887, 14093, 1195, 7734, 648, 11922, 67, 16061, 30, 10792, 756, 273, 756, 18, 4880, 67, 3432, 5621, 10792, 898, 31, 4766, 565, 1748, 2199, 364, 8632, 17, 416, 12, 1886, 845, 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, 19817, 921, 5302, 12, 54, 10340, 921, 365, 16, 11922, 290, 13, 288, 3639, 11922, 756, 273, 290, 31, 7734, 19817, 5507, 6941, 273, 446, 31, 3639, 19817, 921, 8526, 833, 273, 446, 31, 3639, 19817, 921, 460, 273, 446, 31, 3639, 19817, 921, 563, 273, 446, 31, 3639, 19817, 3120, 22155, 797, 273, 446, 31, 3639, 368, 509, 919, 31, 7734, 368, 19817, 8176, 4712, 24137, 273, 4170, 10340, 7675, 588, 8176, 4712, 5621, 7734, 1323, 261, 3767, 13, 288, 13491, 309, 261, 2159, 422, 446, 13, 288, 7734, 327, 4170, 10340, 7675, 588, 12616, 5621, 5411, 289, 13491, 1620, 261, 2159, 18, 4880, 67, 723, 10756, 288, 7734, 648, 11922, 67, 11403, 30, 10792, 1323, 2 ]
list = new ArrayList(nsArray.length);
list = new ArrayList(namespaces.size());
public Collection getAllNamespaces(Object ns) { if (ns == null || !(ns instanceof Namespace)) { return new ArrayList(); } Collection namespaces = ((Namespace) ns).getOwnedElement(); // the list of namespaces to return List list = Collections.EMPTY_LIST; // if there are no owned elements then return empty list if (namespaces == Collections.EMPTY_LIST || namespaces.size() == 0) { return Collections.EMPTY_LIST; } // work with an array instead of iterator. Object[] nsArray = namespaces.toArray(); for (int i = 0; i < nsArray.length; i++) { Object o = nsArray[i]; if (o instanceof Namespace) { // only build a namepace if needed, with if (list == Collections.EMPTY_LIST) { list = new ArrayList(nsArray.length); } list.add(o); Collection namespaces1 = getAllNamespaces(o); // only add all if there are some to add. if (namespaces1 != Collections.EMPTY_LIST && namespaces1.size() > 0) { list.addAll(namespaces1); } } } return list; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/763a03f38f2c72064440c3c169823c3b0ca4c2c7/ModelManagementHelperMDRImpl.java/buggy/src/model-mdr/src/org/argouml/model/mdr/ModelManagementHelperMDRImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2200, 5514, 13180, 12, 921, 3153, 13, 288, 3639, 309, 261, 2387, 422, 446, 747, 401, 12, 2387, 1276, 6005, 3719, 288, 5411, 327, 394, 2407, 5621, 3639, 289, 3639, 2200, 7728, 273, 14015, 3402, 13, 3153, 2934, 588, 5460, 329, 1046, 5621, 3639, 368, 326, 666, 434, 7728, 358, 327, 3639, 987, 666, 273, 5737, 18, 13625, 67, 7085, 31, 3639, 368, 309, 1915, 854, 1158, 16199, 2186, 1508, 327, 1008, 666, 3639, 309, 261, 16078, 422, 5737, 18, 13625, 67, 7085, 747, 7728, 18, 1467, 1435, 422, 374, 13, 288, 5411, 327, 5737, 18, 13625, 67, 7085, 31, 3639, 289, 3639, 368, 1440, 598, 392, 526, 3560, 434, 2775, 18, 3639, 1033, 8526, 3153, 1076, 273, 7728, 18, 31447, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3153, 1076, 18, 2469, 31, 277, 27245, 288, 5411, 1033, 320, 273, 3153, 1076, 63, 77, 15533, 5411, 309, 261, 83, 1276, 6005, 13, 288, 7734, 368, 1338, 1361, 279, 508, 909, 309, 3577, 16, 598, 7734, 309, 261, 1098, 422, 5737, 18, 13625, 67, 7085, 13, 288, 10792, 666, 273, 394, 2407, 12, 16078, 18, 1467, 10663, 7734, 289, 7734, 666, 18, 1289, 12, 83, 1769, 7734, 2200, 7728, 21, 273, 5514, 13180, 12, 83, 1769, 7734, 368, 1338, 527, 777, 309, 1915, 854, 2690, 358, 527, 18, 7734, 309, 261, 16078, 21, 480, 5737, 18, 13625, 67, 7085, 13491, 597, 7728, 21, 18, 1467, 1435, 405, 374, 13, 288, 10792, 666, 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, 2200, 5514, 13180, 12, 921, 3153, 13, 288, 3639, 309, 261, 2387, 422, 446, 747, 401, 12, 2387, 1276, 6005, 3719, 288, 5411, 327, 394, 2407, 5621, 3639, 289, 3639, 2200, 7728, 273, 14015, 3402, 13, 3153, 2934, 588, 5460, 329, 1046, 5621, 3639, 368, 326, 666, 434, 7728, 358, 327, 3639, 987, 666, 273, 5737, 18, 13625, 67, 7085, 31, 3639, 368, 309, 1915, 854, 1158, 16199, 2186, 1508, 327, 1008, 666, 3639, 309, 261, 16078, 422, 5737, 18, 13625, 67, 7085, 747, 7728, 18, 1467, 1435, 422, 374, 13, 288, 5411, 327, 5737, 18, 13625, 67, 7085, 31, 3639, 289, 3639, 368, 1440, 598, 392, 526, 3560, 434, 2775, 18, 3639, 1033, 8526, 3153, 1076, 2 ]
public RubyNumeric op_invert() {
public IRubyObject op_invert() {
public RubyNumeric op_invert() { return bigNorm(getRuntime(), getValue().not()); }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyBignum.java/buggy/src/org/jruby/RubyBignum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 1061, 67, 267, 1097, 1435, 288, 3639, 327, 5446, 14624, 12, 588, 5576, 9334, 2366, 7675, 902, 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, 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, 326, 981, 30, 377, 1071, 15908, 10340, 921, 1061, 67, 267, 1097, 1435, 288, 3639, 327, 5446, 14624, 12, 588, 5576, 9334, 2366, 7675, 902, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
MetaClass metaClass = type.newSingletonClass(parentModule);
MetaClass newMetaClass = type.newSingletonClass(parentModule);
public MetaClass makeMetaClass(RubyClass type, RubyModule parentModule) { MetaClass metaClass = type.newSingletonClass(parentModule); if (!isNil()) { setMetaClass(metaClass); } metaClass.attachToObject(this); return metaClass; }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyObject.java/clean/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6565, 797, 1221, 2781, 797, 12, 54, 10340, 797, 618, 16, 19817, 3120, 982, 3120, 13, 288, 3639, 6565, 797, 2191, 797, 273, 618, 18, 2704, 19571, 797, 12, 2938, 3120, 1769, 9506, 202, 430, 16051, 291, 12616, 10756, 288, 1082, 202, 542, 2781, 797, 12, 3901, 797, 1769, 202, 202, 97, 3639, 2191, 797, 18, 7331, 19121, 12, 2211, 1769, 3639, 327, 2191, 797, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6565, 797, 1221, 2781, 797, 12, 54, 10340, 797, 618, 16, 19817, 3120, 982, 3120, 13, 288, 3639, 6565, 797, 2191, 797, 273, 618, 18, 2704, 19571, 797, 12, 2938, 3120, 1769, 9506, 202, 430, 16051, 291, 12616, 10756, 288, 1082, 202, 542, 2781, 797, 12, 3901, 797, 1769, 202, 202, 97, 3639, 2191, 797, 18, 7331, 19121, 12, 2211, 1769, 3639, 327, 2191, 797, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
memento.putString( TAG_COMMAND_ID, imageBindingDefinition.getCommandId()); memento.putString( TAG_IMAGE_STYLE, imageBindingDefinition.getImageStyle()); memento.putString(TAG_IMAGE_URI, imageBindingDefinition.getImageUri()); memento.putString(TAG_LOCALE, imageBindingDefinition.getLocale()); memento.putString(TAG_PLATFORM, imageBindingDefinition.getPlatform()); memento.putString(TAG_PLUGIN_ID, imageBindingDefinition.getPluginId()); }
memento .putString(TAG_COMMAND_ID, imageBindingDefinition .getCommandId()); memento.putString(TAG_IMAGE_STYLE, imageBindingDefinition .getImageStyle()); memento.putString(TAG_IMAGE_URI, imageBindingDefinition.getImageUri()); memento.putString(TAG_LOCALE, imageBindingDefinition.getLocale()); memento.putString(TAG_PLATFORM, imageBindingDefinition.getPlatform()); memento.putString(TAG_PLUGIN_ID, imageBindingDefinition.getPluginId()); }
static void writeImageBindingDefinition( IMemento memento, ImageBindingDefinition imageBindingDefinition) { if (memento == null || imageBindingDefinition == null) throw new NullPointerException(); memento.putString( TAG_COMMAND_ID, imageBindingDefinition.getCommandId()); memento.putString( TAG_IMAGE_STYLE, imageBindingDefinition.getImageStyle()); memento.putString(TAG_IMAGE_URI, imageBindingDefinition.getImageUri()); memento.putString(TAG_LOCALE, imageBindingDefinition.getLocale()); memento.putString(TAG_PLATFORM, imageBindingDefinition.getPlatform()); memento.putString(TAG_PLUGIN_ID, imageBindingDefinition.getPluginId()); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/664efbbd6fd6dba5c4d118b10afe31ab34b6890a/Persistence.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/Persistence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 918, 1045, 2040, 5250, 1852, 12, 202, 202, 3445, 820, 83, 312, 820, 83, 16, 202, 202, 2040, 5250, 1852, 1316, 5250, 1852, 13, 288, 202, 202, 430, 261, 81, 820, 83, 422, 446, 747, 1316, 5250, 1852, 422, 446, 13, 1082, 202, 12849, 394, 10108, 5621, 202, 202, 81, 820, 83, 18, 458, 780, 12, 1082, 202, 7927, 67, 19104, 67, 734, 16, 1082, 202, 2730, 5250, 1852, 18, 588, 2189, 548, 10663, 202, 202, 81, 820, 83, 18, 458, 780, 12, 1082, 202, 7927, 67, 13603, 67, 15066, 16, 1082, 202, 2730, 5250, 1852, 18, 588, 2040, 2885, 10663, 202, 202, 81, 820, 83, 18, 458, 780, 12, 7927, 67, 13603, 67, 3098, 16, 1316, 5250, 1852, 18, 588, 2040, 3006, 10663, 202, 202, 81, 820, 83, 18, 458, 780, 12, 7927, 67, 25368, 16, 1316, 5250, 1852, 18, 588, 3916, 10663, 202, 202, 81, 820, 83, 18, 458, 780, 12, 7927, 67, 6253, 789, 4983, 16, 1316, 5250, 1852, 18, 588, 8201, 10663, 202, 202, 81, 820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, 316, 326, 981, 30, 225, 202, 3845, 918, 1045, 2040, 5250, 1852, 12, 202, 202, 3445, 820, 83, 312, 820, 83, 16, 202, 202, 2040, 5250, 1852, 1316, 5250, 1852, 13, 288, 202, 202, 430, 261, 81, 820, 83, 422, 446, 747, 1316, 5250, 1852, 422, 446, 13, 1082, 202, 12849, 394, 10108, 5621, 202, 202, 81, 820, 83, 18, 458, 780, 12, 1082, 202, 7927, 67, 19104, 67, 734, 16, 1082, 202, 2730, 5250, 1852, 18, 588, 2189, 548, 10663, 202, 202, 81, 820, 83, 18, 458, 780, 12, 1082, 202, 7927, 67, 13603, 67, 15066, 16, 1082, 202, 2730, 5250, 1852, 18, 588, 2040, 2885, 10663, 202, 202, 81, 820, 83, 18, 458, 780, 12, 7927, 67, 13603, 67, 3098, 16, 2 ]
VM.shutdown(VM.exitStatusMiscTrouble);
VM.shutdown(VM.EXIT_STATUS_MISC_TROUBLE);
public void activate() throws UninterruptiblePragma { if (active == true) { VM.sysWriteln("***VM_TraceWriter.activate() active == true! PID ", ((VM_TraceWriter)this).getPid(),"***"); VM.shutdown(VM.exitStatusMiscTrouble); } if(VM_HardwarePerformanceMonitors.verbose>=2)VM.sysWriteln("VM_TraceWriter.activate()"); active = true; VM_Thread org = tq.dequeue(); if (VM.VerifyAssertions) VM._assert(org != null); org.schedule(); }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/d6068c5ba70e6ee40bffe9c49b0e352cd82ebe7e/VM_TraceWriter.java/clean/rvm/src/vm/HPM/VM_TraceWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 10235, 1435, 1216, 1351, 31847, 1523, 2050, 9454, 282, 288, 565, 309, 261, 3535, 422, 638, 13, 288, 1377, 8251, 18, 9499, 4913, 292, 82, 2932, 14465, 7397, 67, 3448, 2289, 18, 10014, 1435, 2695, 422, 638, 5, 225, 14788, 3104, 1082, 565, 14015, 7397, 67, 3448, 2289, 13, 2211, 2934, 588, 12478, 9334, 6, 636, 7388, 1769, 1377, 8251, 18, 15132, 12, 7397, 18, 28682, 67, 8608, 67, 7492, 2312, 67, 56, 1457, 10622, 1769, 565, 289, 565, 309, 12, 7397, 67, 44, 14519, 25024, 11415, 13704, 18, 11369, 34, 33, 22, 13, 7397, 18, 9499, 4913, 292, 82, 2932, 7397, 67, 3448, 2289, 18, 10014, 1435, 8863, 565, 2695, 273, 638, 31, 565, 8251, 67, 3830, 2358, 273, 20061, 18, 323, 4000, 5621, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 3341, 480, 446, 1769, 565, 2358, 18, 10676, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 10235, 1435, 1216, 1351, 31847, 1523, 2050, 9454, 282, 288, 565, 309, 261, 3535, 422, 638, 13, 288, 1377, 8251, 18, 9499, 4913, 292, 82, 2932, 14465, 7397, 67, 3448, 2289, 18, 10014, 1435, 2695, 422, 638, 5, 225, 14788, 3104, 1082, 565, 14015, 7397, 67, 3448, 2289, 13, 2211, 2934, 588, 12478, 9334, 6, 636, 7388, 1769, 1377, 8251, 18, 15132, 12, 7397, 18, 28682, 67, 8608, 67, 7492, 2312, 67, 56, 1457, 10622, 1769, 565, 289, 565, 309, 12, 7397, 67, 44, 14519, 25024, 11415, 13704, 18, 11369, 34, 33, 22, 13, 7397, 18, 9499, 4913, 292, 82, 2932, 7397, 67, 3448, 2289, 18, 10014, 1435, 8863, 565, 2695, 273, 638, 31, 565, 8251, 2 ]
public void handleFiles(List files) { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.newDocument(); Element overviewRoot = Util.addChildElement(doc, "overview-frame", null); Iterator iter = files.iterator(); while (iter.hasNext()) { File file = (File) iter.next(); if (!file.exists() || !file.canRead()) { continue; } Document xmlDoc = handleFile(file); if (xmlDoc != null) { String shortname = Util.getElementValue( xmlDoc.getDocumentElement(), "body/taglib/shortname"); Util.addChildElement(overviewRoot, "shortname", shortname); File reportHtml = new File(destdir, shortname + "-report.html"); Source xml = new DOMSource(xmlDoc); Source xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibreport/taglib-report.xsl")); Result out = new StreamResult(reportHtml); TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(xsl); t.transform(xml, out); } } Source xml = new DOMSource(overviewRoot); Source xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibreport/index.xsl")); Result out = new StreamResult(new File(destdir, "index.html")); TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(xsl); t.transform(xml, out); xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibreport/overview-frame.xsl")); out = new StreamResult(new File(destdir, "overview-frame.html")); t = tf.newTransformer(xsl); t.transform(xml, out); Util.copyFile( "/resources/taglibreport/stylesheet.css", new File(destdir, "stylesheet.css")); Util.copyFile( "/resources/taglibreport/xbPositionableElement.js", new File(destdir, "xbPositionableElement.js")); } catch (Exception e) { e.printStackTrace(); } }
8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/6c6a574b8da6a8f7989e99ea78e4db5cb63abe6b/TaglibReport.java/buggy/tag-doc/src/java/org/apache/struts/taskdefs/TaglibReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 4110, 2697, 12, 682, 2354, 15329, 202, 202, 698, 95, 1082, 202, 2519, 20692, 1966, 74, 33, 2519, 20692, 18, 2704, 1442, 5621, 1082, 202, 2519, 1263, 1966, 33, 1966, 74, 18, 2704, 2519, 1263, 5621, 1082, 202, 2519, 2434, 33, 1966, 18, 2704, 2519, 5621, 1082, 202, 1046, 26081, 2375, 33, 9506, 202, 1304, 18, 1289, 1763, 1046, 12, 2434, 10837, 26081, 17, 3789, 3113, 2011, 1769, 1082, 202, 3198, 2165, 33, 2354, 18, 9838, 5621, 1082, 202, 17523, 12, 2165, 18, 5332, 2134, 10756, 95, 9506, 202, 812, 768, 28657, 812, 13, 2165, 18, 4285, 5621, 9506, 202, 430, 12, 5, 768, 18, 1808, 1435, 20081, 5, 768, 18, 4169, 1994, 10756, 95, 6862, 202, 17143, 31, 9506, 202, 97, 9506, 202, 2519, 2902, 1759, 33, 4110, 812, 12, 768, 1769, 9506, 202, 430, 12, 2902, 1759, 5, 33, 2011, 15329, 6862, 202, 780, 28650, 33, 25083, 202, 1304, 18, 21336, 620, 12, 6862, 1082, 202, 2902, 1759, 18, 588, 2519, 1046, 9334, 6862, 1082, 202, 6, 3432, 19, 2692, 2941, 19, 28650, 8863, 6862, 202, 1304, 18, 1289, 1763, 1046, 12, 26081, 2375, 10837, 28650, 3113, 28650, 1769, 6862, 202, 25579, 822, 655, 4353, 33, 25083, 202, 2704, 812, 12, 10488, 1214, 16, 28650, 9078, 17, 6006, 18, 2620, 8863, 6862, 202, 1830, 2902, 33, 2704, 8168, 1830, 12, 2902, 1759, 1769, 6862, 202, 1830, 30903, 33, 25083, 202, 2704, 1228, 1830, 12, 6862, 1082, 202, 2211, 18, 588, 797, 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, 4110, 2697, 12, 682, 2354, 15329, 202, 202, 698, 95, 1082, 202, 2519, 20692, 1966, 74, 33, 2519, 20692, 18, 2704, 1442, 5621, 1082, 202, 2519, 1263, 1966, 33, 1966, 74, 18, 2704, 2519, 1263, 5621, 1082, 202, 2519, 2434, 33, 1966, 18, 2704, 2519, 5621, 1082, 202, 1046, 26081, 2375, 33, 9506, 202, 1304, 18, 1289, 1763, 1046, 12, 2434, 10837, 26081, 17, 3789, 3113, 2011, 1769, 1082, 202, 3198, 2165, 33, 2354, 18, 9838, 5621, 1082, 202, 17523, 12, 2165, 18, 5332, 2134, 10756, 95, 9506, 202, 812, 768, 28657, 812, 13, 2165, 18, 4285, 5621, 9506, 202, 430, 12, 5, 768, 18, 1808, 1435, 20081, 5, 768, 18, 4169, 1994, 10756, 95, 2 ]
if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); }
astFactory.addASTChild(currentAST, returnAST);
public final void branchStatement() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST branchStatement_AST = null; switch ( LA(1)) { case LITERAL_return: { AST tmp181_AST = null; if (inputState.guessing==0) { tmp181_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp181_AST); } match(LITERAL_return); { switch ( LA(1)) { case IDENT: case LBRACK: case LPAREN: case LITERAL_super: case LCURLY: case LITERAL_this: case STRING_LITERAL: case PLUS: case MINUS: case INC: case DEC: case BNOT: case LNOT: case DOLLAR: case STRING_CTOR_START: case LITERAL_new: case LITERAL_true: case LITERAL_false: case LITERAL_null: case NUM_INT: case NUM_FLOAT: case NUM_LONG: case NUM_DOUBLE: case NUM_BIG_INT: case NUM_BIG_DECIMAL: { expression(); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } break; } case EOF: case RBRACK: case COMMA: case RPAREN: case RCURLY: case SEMI: case NLS: case LITERAL_default: case LITERAL_else: case LITERAL_case: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } if ( inputState.guessing==0 ) { branchStatement_AST = (AST)currentAST.root; } break; } case LITERAL_break: case LITERAL_continue: { { switch ( LA(1)) { case LITERAL_break: { AST tmp182_AST = null; if (inputState.guessing==0) { tmp182_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp182_AST); } match(LITERAL_break); break; } case LITERAL_continue: { AST tmp183_AST = null; if (inputState.guessing==0) { tmp183_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp183_AST); } match(LITERAL_continue); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } { if ((LA(1)==IDENT) && (LA(2)==COLON) && (_tokenSet_102.member(LA(3)))) { statementLabelPrefix(); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } } else if ((_tokenSet_102.member(LA(1))) && (_tokenSet_17.member(LA(2))) && (_tokenSet_5.member(LA(3)))) { } else { throw new NoViableAltException(LT(1), getFilename()); } } { switch ( LA(1)) { case IDENT: case LBRACK: case LPAREN: case LITERAL_super: case LCURLY: case LITERAL_this: case STRING_LITERAL: case PLUS: case MINUS: case INC: case DEC: case BNOT: case LNOT: case DOLLAR: case STRING_CTOR_START: case LITERAL_new: case LITERAL_true: case LITERAL_false: case LITERAL_null: case NUM_INT: case NUM_FLOAT: case NUM_LONG: case NUM_DOUBLE: case NUM_BIG_INT: case NUM_BIG_DECIMAL: { expression(); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } break; } case EOF: case RBRACK: case COMMA: case RPAREN: case RCURLY: case SEMI: case NLS: case LITERAL_default: case LITERAL_else: case LITERAL_case: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } if ( inputState.guessing==0 ) { branchStatement_AST = (AST)currentAST.root; } break; } case LITERAL_throw: { AST tmp184_AST = null; if (inputState.guessing==0) { tmp184_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp184_AST); } match(LITERAL_throw); expression(); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } if ( inputState.guessing==0 ) { branchStatement_AST = (AST)currentAST.root; } break; } case LITERAL_assert: { AST tmp185_AST = null; if (inputState.guessing==0) { tmp185_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp185_AST); } match(LITERAL_assert); expression(); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } { if ((LA(1)==COMMA) && (_tokenSet_18.member(LA(2))) && (_tokenSet_16.member(LA(3)))) { match(COMMA); expression(); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } } else if ((_tokenSet_103.member(LA(1))) && (_tokenSet_17.member(LA(2))) && (_tokenSet_5.member(LA(3)))) { } else { throw new NoViableAltException(LT(1), getFilename()); } } if ( inputState.guessing==0 ) { branchStatement_AST = (AST)currentAST.root; } break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = branchStatement_AST; }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/5c53aea8416ae7d318cf0157b4690ba71badb0f9/GroovyRecognizer.java/clean/src/main/org/codehaus/groovy/antlr/parser/GroovyRecognizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3803, 3406, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 3803, 3406, 67, 9053, 273, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 2463, 30, 202, 202, 95, 1082, 202, 9053, 1853, 2643, 21, 67, 9053, 273, 446, 31, 1082, 202, 430, 261, 2630, 1119, 18, 20885, 310, 631, 20, 13, 288, 9506, 202, 5645, 2643, 21, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 9506, 202, 689, 1733, 18, 6540, 9053, 2375, 12, 2972, 9053, 16, 1853, 2643, 21, 67, 9053, 1769, 1082, 202, 97, 1082, 202, 1916, 12, 23225, 67, 2463, 1769, 1082, 202, 95, 1082, 202, 9610, 261, 2928, 12, 21, 3719, 288, 1082, 202, 3593, 19768, 30, 1082, 202, 3593, 511, 7192, 3649, 30, 1082, 202, 3593, 511, 15111, 30, 1082, 202, 3593, 511, 18454, 67, 9565, 30, 1082, 202, 3593, 511, 26314, 30, 1082, 202, 3593, 511, 18454, 67, 2211, 30, 1082, 202, 3593, 9469, 67, 23225, 30, 1082, 202, 3593, 22443, 3378, 30, 1082, 202, 3593, 6989, 3378, 30, 1082, 202, 3593, 2120, 39, 30, 1082, 202, 3593, 2030, 39, 30, 1082, 202, 3593, 605, 4400, 30, 1082, 202, 3593, 511, 4400, 30, 1082, 202, 3593, 463, 30922, 985, 30, 1082, 202, 3593, 9469, 67, 22727, 67, 7570, 30, 1082, 202, 3593, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3803, 3406, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 3803, 3406, 67, 9053, 273, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 2463, 30, 202, 202, 95, 1082, 202, 9053, 1853, 2643, 21, 67, 9053, 273, 446, 31, 1082, 202, 430, 261, 2630, 1119, 18, 20885, 310, 631, 20, 13, 288, 9506, 202, 5645, 2643, 21, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 9506, 202, 689, 1733, 18, 6540, 9053, 2375, 12, 2972, 9053, 16, 1853, 2643, 21, 2 ]
NcbiGeneLoader loader = new NcbiGeneLoader(persisterHelper);
NcbiGeneLoader loader = new NcbiGeneLoader( persisterHelper );
public void testGeneLoader() throws Exception { GeneService geneService = ( GeneService ) getBean( "geneService" ); NcbiGeneLoader loader = new NcbiGeneLoader(persisterHelper); String geneInfoTestFile = "/gemma-core/src/test/resources/data/loader/genome/gene/gene_info.sample.gz"; String gene2AccTestFile = "/gemma-core/src/test/resources/data/loader/genome/gene/gene2accession.sample.gz"; // threaded load String basePath = ConfigUtils.getString( "gemma.home" ); loader.load( basePath + geneInfoTestFile, basePath + gene2AccTestFile ); // wait until the loader is done. while (!loader.isLoaderDone()) { Thread.sleep( 100 ); } // loader is done. // check if it loaded 100 elements to the database log.debug( "Loader done with number of elements: " + loader.getLoadedGeneCount() ); assertTrue(loader.getLoadedGeneCount() == 100); // grab one gene and check its information // (depends on information in gene_info and gene2accession file // gene_info Collection<Gene> geneCollection = geneService.findByOfficialName( "orf31" ); Iterator<Gene> geneIterator = geneCollection.iterator(); Gene g = geneIterator.next(); Collection<GeneProduct> products = g.getProducts(); Collection<String> expectedAccessions = new ArrayList<String>(); Collection<String> hasAccessions = new ArrayList<String>(); expectedAccessions.add( "AAF29803.1" ); expectedAccessions.add( "NP_862654.1" ); for ( GeneProduct product : products ) { Collection<DatabaseEntry> accessions = product.getAccessions(); for ( DatabaseEntry de : accessions ) { String accession = de.getAccession(); String accVersion = de.getAccessionVersion(); hasAccessions.add( accession + "." + accVersion ); log.debug( accession + "." + accVersion ); } } assertTrue(hasAccessions.containsAll( expectedAccessions )); Taxon t = g.getTaxon(); assertTrue(t.getNcbiId() == 139); assertTrue(g.getNcbiId().equalsIgnoreCase( "1343074" )); }
4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/71aadd109392fe18e3f729a558caa5042ec8f633/NCBIGeneIntegrationTest.java/clean/gemma-core/src/test/java/ubic/gemma/loader/genome/gene/ncbi/NCBIGeneIntegrationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 24442, 2886, 1435, 225, 1216, 1185, 288, 3639, 611, 4009, 1179, 7529, 1179, 273, 261, 611, 4009, 1179, 262, 16485, 12, 315, 11857, 1179, 6, 11272, 3639, 423, 7358, 77, 24442, 2886, 4088, 273, 394, 423, 7358, 77, 24442, 2886, 12, 23861, 2276, 11272, 7734, 514, 7529, 966, 4709, 812, 273, 2206, 23465, 2540, 17, 3644, 19, 4816, 19, 3813, 19, 4683, 19, 892, 19, 6714, 19, 23220, 19, 11857, 19, 11857, 67, 1376, 18, 6358, 18, 9764, 14432, 3639, 514, 7529, 22, 8973, 4709, 812, 273, 2206, 23465, 2540, 17, 3644, 19, 4816, 19, 3813, 19, 4683, 19, 892, 19, 6714, 19, 23220, 19, 11857, 19, 11857, 22, 3860, 285, 18, 6358, 18, 9764, 14432, 3639, 368, 286, 20528, 1262, 540, 514, 9104, 273, 1903, 1989, 18, 588, 780, 12, 315, 23465, 2540, 18, 8712, 6, 11272, 3639, 4088, 18, 945, 12, 9104, 397, 7529, 966, 4709, 812, 16, 9104, 7734, 397, 7529, 22, 8973, 4709, 812, 11272, 7734, 368, 2529, 3180, 326, 4088, 353, 2731, 18, 3639, 1323, 16051, 6714, 18, 291, 2886, 7387, 10756, 288, 5411, 4884, 18, 19607, 12, 2130, 11272, 3639, 289, 7734, 368, 4088, 353, 2731, 18, 3639, 368, 866, 309, 518, 4203, 2130, 2186, 358, 326, 2063, 3639, 613, 18, 4148, 12, 315, 2886, 2731, 598, 1300, 434, 2186, 30, 315, 397, 4088, 18, 588, 8835, 24442, 1380, 1435, 11272, 3639, 1815, 5510, 12, 6714, 18, 588, 8835, 24442, 1380, 1435, 422, 2130, 1769, 10402, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 24442, 2886, 1435, 225, 1216, 1185, 288, 3639, 611, 4009, 1179, 7529, 1179, 273, 261, 611, 4009, 1179, 262, 16485, 12, 315, 11857, 1179, 6, 11272, 3639, 423, 7358, 77, 24442, 2886, 4088, 273, 394, 423, 7358, 77, 24442, 2886, 12, 23861, 2276, 11272, 7734, 514, 7529, 966, 4709, 812, 273, 2206, 23465, 2540, 17, 3644, 19, 4816, 19, 3813, 19, 4683, 19, 892, 19, 6714, 19, 23220, 19, 11857, 19, 11857, 67, 1376, 18, 6358, 18, 9764, 14432, 3639, 514, 7529, 22, 8973, 4709, 812, 273, 2206, 23465, 2540, 17, 3644, 19, 4816, 19, 3813, 19, 4683, 19, 892, 19, 6714, 19, 23220, 19, 11857, 19, 11857, 22, 3860, 285, 18, 6358, 18, 9764, 2 ]
public byte getByte (int parameterIndex) throws SQLException { }
public byte getByte(int parameterIndex) throws SQLException { return 0; }
public byte getByte (int parameterIndex) throws SQLException { // XXX-Not Implemented }
46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/6a061da272f04e1463864065f87f1f3fd61d6162/CallableStatement.java/buggy/src/interfaces/jdbc/postgresql/CallableStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1160, 20999, 261, 474, 25412, 13, 1216, 6483, 202, 95, 202, 202, 759, 11329, 17, 1248, 18788, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1160, 20999, 261, 474, 25412, 13, 1216, 6483, 202, 95, 202, 202, 759, 11329, 17, 1248, 18788, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
PerspectiveDescriptor desc = (PerspectiveDescriptor) dlg.getPersp(); if (desc == null) {
PerspectiveDescriptor newDesc = (PerspectiveDescriptor) dlg.getPersp(); if (newDesc == null) {
public void saveNonSingleton() { // Get reg. PerspectiveRegistry reg = (PerspectiveRegistry) WorkbenchPlugin .getDefault().getPerspectiveRegistry(); // Get persp name. SavePerspectiveDialog dlg = new SavePerspectiveDialog(workbenchWindow .getShell(), reg); IPerspectiveDescriptor description = null; IWorkbenchPage page = workbenchWindow.getActivePage(); if (page != null) description = reg.findPerspectiveWithId(page.getPerspective() .getId()); dlg.setInitialSelection(description); if (dlg.open() != IDialogConstants.OK_ID) { return; } // Create descriptor. PerspectiveDescriptor desc = (PerspectiveDescriptor) dlg.getPersp(); if (desc == null) { String name = dlg.getPerspName(); desc = reg.createPerspective(name, (PerspectiveDescriptor) description); if (desc == null) { MessageDialog.openError(dlg.getShell(), WorkbenchMessages .getString("SavePerspective.errorTitle"), //$NON-NLS-1$ WorkbenchMessages .getString("SavePerspective.errorMessage")); //$NON-NLS-1$ return; } } // Save state. if (page != null) { page.savePerspectiveAs(desc); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/660c5f4b867684b9c7bc8efe0a15a9355dd423b7/SavePerspectiveAction.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/SavePerspectiveAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1923, 3989, 19571, 1435, 288, 3639, 368, 968, 960, 18, 3639, 453, 414, 16772, 4243, 960, 273, 261, 14781, 16772, 4243, 13, 4147, 22144, 3773, 7734, 263, 588, 1868, 7675, 588, 14781, 16772, 4243, 5621, 3639, 368, 968, 13508, 84, 508, 18, 3639, 7074, 14781, 16772, 6353, 25840, 273, 394, 7074, 14781, 16772, 6353, 12, 1252, 22144, 3829, 7734, 263, 588, 13220, 9334, 960, 1769, 3639, 2971, 414, 16772, 3187, 2477, 273, 446, 31, 3639, 467, 2421, 22144, 1964, 1363, 273, 1440, 22144, 3829, 18, 588, 3896, 1964, 5621, 3639, 309, 261, 2433, 480, 446, 13, 5411, 2477, 273, 960, 18, 4720, 14781, 16772, 1190, 548, 12, 2433, 18, 588, 14781, 16772, 1435, 10792, 263, 26321, 10663, 3639, 25840, 18, 542, 4435, 6233, 12, 3384, 1769, 3639, 309, 261, 5761, 75, 18, 3190, 1435, 480, 1599, 3529, 2918, 18, 3141, 67, 734, 13, 288, 5411, 327, 31, 3639, 289, 3639, 368, 1788, 4950, 18, 3639, 453, 414, 16772, 3187, 3044, 273, 261, 14781, 16772, 3187, 13, 25840, 18, 588, 14781, 84, 5621, 3639, 309, 261, 5569, 422, 446, 13, 288, 5411, 514, 508, 273, 25840, 18, 588, 14781, 84, 461, 5621, 5411, 3044, 273, 960, 18, 2640, 14781, 16772, 12, 529, 16, 10792, 261, 14781, 16772, 3187, 13, 2477, 1769, 5411, 309, 261, 5569, 422, 446, 13, 288, 7734, 2350, 6353, 18, 3190, 668, 12, 5761, 75, 18, 588, 13220, 9334, 4147, 22144, 5058, 13491, 263, 588, 780, 2932, 4755, 14781, 16772, 18, 1636, 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, 1923, 3989, 19571, 1435, 288, 3639, 368, 968, 960, 18, 3639, 453, 414, 16772, 4243, 960, 273, 261, 14781, 16772, 4243, 13, 4147, 22144, 3773, 7734, 263, 588, 1868, 7675, 588, 14781, 16772, 4243, 5621, 3639, 368, 968, 13508, 84, 508, 18, 3639, 7074, 14781, 16772, 6353, 25840, 273, 394, 7074, 14781, 16772, 6353, 12, 1252, 22144, 3829, 7734, 263, 588, 13220, 9334, 960, 1769, 3639, 2971, 414, 16772, 3187, 2477, 273, 446, 31, 3639, 467, 2421, 22144, 1964, 1363, 273, 1440, 22144, 3829, 18, 588, 3896, 1964, 5621, 3639, 309, 261, 2433, 480, 446, 13, 5411, 2477, 273, 960, 18, 4720, 14781, 16772, 1190, 548, 12, 2433, 18, 588, 14781, 16772, 1435, 10792, 263, 26321, 2 ]
String notation, Augmentations augs)
String baseSystemId, String notation, Augmentations augs)
public void unparsedEntityDecl(String name, String publicId, String systemId, String notation, Augmentations augs) throws XNIException { // internal subset string if (fInternalSubset != null && !fInDTDExternalSubset) { fInternalSubset.append("<!ENTITY "); fInternalSubset.append(name); fInternalSubset.append(' '); if (publicId != null) { fInternalSubset.append("PUBLIC '"); fInternalSubset.append(publicId); if (systemId != null) { fInternalSubset.append("' '"); fInternalSubset.append(systemId); } } else { fInternalSubset.append("SYSTEM '"); fInternalSubset.append(systemId); } fInternalSubset.append("' NDATA "); fInternalSubset.append(notation); fInternalSubset.append(">\n"); } // NOTE: We only know how to create these nodes for the Xerces // DOM implementation because DOM Level 2 does not specify // that functionality. -Ac // create full node if (fDocumentType != null) { NamedNodeMap entities = fDocumentType.getEntities(); EntityImpl entity = (EntityImpl)entities.getNamedItem(name); if (entity == null) { entity = (EntityImpl)fDocumentImpl.createEntity(name); entity.setPublicId(publicId); entity.setSystemId(systemId); entity.setNotationName(notation); entities.setNamedItem(entity); } } // create deferred node if (fDocumentTypeIndex != -1) { boolean found = false; int nodeIndex = fDeferredDocumentImpl.getLastChild(fDocumentTypeIndex, false); while (nodeIndex != -1) { short nodeType = fDeferredDocumentImpl.getNodeType(nodeIndex, false); if (nodeType == Node.ENTITY_NODE) { String nodeName = fDeferredDocumentImpl.getNodeName(nodeIndex, false); if (nodeName.equals(name)) { found = true; break; } } nodeIndex = fDeferredDocumentImpl.getRealPrevSibling(nodeIndex, false); } if (!found) { int entityIndex = fDeferredDocumentImpl.createDeferredEntity( name, publicId, systemId, notation); fDeferredDocumentImpl.appendChild(fDocumentTypeIndex, entityIndex); } } } // unparsedEntityDecl(String,String,String,String)
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/bda39ebfdde5204af457e868d6a2908461900e9f/AbstractDOMParser.java/clean/src/org/apache/xerces/parsers/AbstractDOMParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 27810, 1943, 3456, 12, 780, 508, 16, 4766, 565, 514, 1071, 548, 16, 514, 30083, 16, 4766, 565, 514, 1026, 3163, 548, 16, 514, 12155, 16, 432, 14870, 1012, 279, 9024, 13, 540, 1216, 1139, 50, 45, 503, 288, 3639, 368, 2713, 7931, 533, 3639, 309, 261, 74, 3061, 20315, 480, 446, 597, 401, 74, 382, 25728, 6841, 20315, 13, 288, 5411, 284, 3061, 20315, 18, 6923, 2932, 5586, 11101, 315, 1769, 5411, 284, 3061, 20315, 18, 6923, 12, 529, 1769, 5411, 284, 3061, 20315, 18, 6923, 2668, 28005, 5411, 309, 261, 482, 548, 480, 446, 13, 288, 7734, 284, 3061, 20315, 18, 6923, 2932, 14939, 2119, 1769, 7734, 284, 3061, 20315, 18, 6923, 12, 482, 548, 1769, 7734, 309, 261, 4299, 548, 480, 446, 13, 288, 10792, 284, 3061, 20315, 18, 6923, 29823, 2119, 1769, 10792, 284, 3061, 20315, 18, 6923, 12, 4299, 548, 1769, 7734, 289, 5411, 289, 5411, 469, 288, 7734, 284, 3061, 20315, 18, 6923, 2932, 14318, 2119, 1769, 7734, 284, 3061, 20315, 18, 6923, 12, 4299, 548, 1769, 5411, 289, 5411, 284, 3061, 20315, 18, 6923, 29823, 423, 4883, 315, 1769, 5411, 284, 3061, 20315, 18, 6923, 12, 1819, 1769, 5411, 284, 3061, 20315, 18, 6923, 2932, 5333, 82, 8863, 3639, 289, 3639, 368, 5219, 30, 1660, 1338, 5055, 3661, 358, 752, 4259, 2199, 364, 326, 1139, 264, 764, 3639, 368, 4202, 4703, 4471, 2724, 4703, 4557, 576, 1552, 486, 4800, 540, 368, 4202, 716, 14176, 18, 300, 9988, 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, 27810, 1943, 3456, 12, 780, 508, 16, 4766, 565, 514, 1071, 548, 16, 514, 30083, 16, 4766, 565, 514, 1026, 3163, 548, 16, 514, 12155, 16, 432, 14870, 1012, 279, 9024, 13, 540, 1216, 1139, 50, 45, 503, 288, 3639, 368, 2713, 7931, 533, 3639, 309, 261, 74, 3061, 20315, 480, 446, 597, 401, 74, 382, 25728, 6841, 20315, 13, 288, 5411, 284, 3061, 20315, 18, 6923, 2932, 5586, 11101, 315, 1769, 5411, 284, 3061, 20315, 18, 6923, 12, 529, 1769, 5411, 284, 3061, 20315, 18, 6923, 2668, 28005, 5411, 309, 261, 482, 548, 480, 446, 13, 288, 7734, 284, 3061, 20315, 18, 6923, 2932, 14939, 2119, 1769, 7734, 284, 3061, 20315, 18, 6923, 12, 482, 2 ]
statement.getQueryTimeout(), statement.getMaxRows(), true);
statement.getQueryTimeout(), statement.getMaxRows(), statement.getMaxFieldSize(), true);
private void cursorCreate(String sql, String procName, ParamInfo[] parameters) throws SQLException { // boolean isSelect = false; SQLWarning warning = null; // // Validate the SQL statement to ensure we have a select. // if (resultSetType != ResultSet.TYPE_FORWARD_ONLY || concurrency == ResultSet.CONCUR_UPDATABLE || cursorName != null) { // // We are going to need access to a SELECT statement for // this to work. Reparse the SQL now and check. // ArrayList params = new ArrayList(); String tmp[] = new SQLParser(sql, params, (ConnectionJDBC2)statement.getConnection()).parse(true); if (tmp[2].equals("select") && tmp[3] != null && tmp[3].length() > 0) { // OK We have a select with at least one table. tableName = tmp[3]; isSelect = true; } else { // No good we can't update and we can't declare a cursor cursorName = null; if (concurrency == ResultSet.CONCUR_UPDATABLE) { concurrency = ResultSet.CONCUR_READ_ONLY; warning = new SQLWarning( Messages.get("warning.cursordowngraded", "CONCUR_READ_ONLY"), "01000"); } if (resultSetType == ResultSet.TYPE_SCROLL_SENSITIVE) { resultSetType = ResultSet.TYPE_SCROLL_INSENSITIVE; SQLWarning warning2 = new SQLWarning( Messages.get("warning.cursordowngraded", "TYPE_SCROLL_INSENSITIVE"), "01000"); if (warning != null) { warning.setNextWarning(warning2); } else { warning = warning2; } } } } // // If a cursor name is specified we try and declare a conventional cursor // if (cursorName != null) { // // We need to substitute any parameters now as the prepended DECLARE CURSOR // will throw the parameter positions off. // if (parameters != null && parameters.length > 0) { sql = Support.substituteParameters(sql, parameters, statement.getTds().getTdsVersion()); } StringBuffer cursorSQL = new StringBuffer(sql.length() + cursorName.length()+ 128); cursorSQL.append("DECLARE ").append(cursorName).append(" CURSOR FOR ").append(sql); cursorTds.executeSQL(cursorSQL.toString(), procName, parameters, false, statement.getQueryTimeout(), statement.getMaxRows(), true); cursorTds.clearResponseQueue(); cursorSQL.setLength(0); cursorSQL.append("\r\nOPEN ").append(cursorName); if (fetchSize > 1 && isSybase) { cursorSQL.append("\r\nSET CURSOR ROWS ").append(fetchSize); cursorSQL.append(" FOR ").append(cursorName); } cursorSQL.append("\r\nFETCH ").append(cursorName); // // OK Declare cursor, open it and fetch first (fetchSize) rows. // cursorTds.executeSQL(cursorSQL.toString(), null, null, false, statement.getQueryTimeout(), statement.getMaxRows(), true); while (!cursorTds.getMoreResults() && !cursorTds.isEndOfResponse()); if (!cursorTds.isResultSet()) { throw new SQLException(Messages.get("error.statement.noresult"), "24000"); } columns = cursorTds.getColumns(); columnCount = getColumnCount(columns); } else { // // Open a memory cached scrollable or forward only possibly updateable cursor // if (isSelect && (concurrency == ResultSet.CONCUR_UPDATABLE || resultSetType != ResultSet.TYPE_FORWARD_ONLY)) { // Need to execute SELECT .. FOR BROWSE to get // the MetaData we require for updates etc // OK Should have an SQL select statement // append " FOR BROWSE" to obtain table names // NB. We can't use any jTDS temporary stored proc cursorTds.executeSQL(sql + " FOR BROWSE", null, parameters, false, statement.getQueryTimeout(), statement.getMaxRows(), true); while (!cursorTds.getMoreResults() && !cursorTds.isEndOfResponse()); if (!cursorTds.isResultSet()) { throw new SQLException(Messages.get("error.statement.noresult"), "24000"); } columns = cursorTds.getColumns(); columnCount = getColumnCount(columns); rowData = new ArrayList(INITIAL_ROW_COUNT); // // Load result set into buffer // while (super.next()) { rowData.add(copyRow(currentRow)); } rowsInResult = rowData.size(); initialRowCnt = rowsInResult; pos = POS_BEFORE_FIRST; // // If cursor is built over one table and the table has // key columns then the result set is updateable and / or // can be used as a scroll sensitive result set. // if (!isCursorUpdateable()) { // No so downgrade if (concurrency == ResultSet.CONCUR_UPDATABLE) { concurrency = ResultSet.CONCUR_READ_ONLY; statement.addWarning(new SQLWarning( Messages.get("warning.cursordowngraded", "CONCUR_READ_ONLY"), "01000")); } if (resultSetType == ResultSet.TYPE_SCROLL_SENSITIVE) { resultSetType = ResultSet.TYPE_SCROLL_INSENSITIVE; statement.addWarning(new SQLWarning( Messages.get("warning.cursordowngraded", "TYPE_SCROLL_INSENSITIVE"), "01000")); } } return; } // // Create a read only cursor using direct SQL // cursorTds.executeSQL(sql, procName, parameters, false, statement.getQueryTimeout(), statement.getMaxRows(), true); while (!cursorTds.getMoreResults() && !cursorTds.isEndOfResponse()); if (!cursorTds.isResultSet()) { throw new SQLException(Messages.get("error.statement.noresult"), "24000"); } columns = cursorTds.getColumns(); columnCount = getColumnCount(columns); rowData = new ArrayList(INITIAL_ROW_COUNT); // // Load result set into buffer // while (super.next()) { rowData.add(copyRow(currentRow)); } rowsInResult = rowData.size(); initialRowCnt = rowsInResult; pos = POS_BEFORE_FIRST; if (warning != null) { statement.addWarning(warning); } } }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/76d8968e7ce2feb24b67a175f377a6060baba31e/CachedResultSet.java/clean/src/main/net/sourceforge/jtds/jdbc/CachedResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3347, 1684, 12, 780, 1847, 16, 17311, 514, 5418, 461, 16, 17311, 3014, 966, 8526, 1472, 13, 5411, 1216, 6483, 288, 3639, 368, 3639, 1250, 353, 3391, 273, 629, 31, 3639, 3063, 6210, 3436, 273, 446, 31, 3639, 368, 3639, 368, 3554, 326, 3063, 3021, 358, 3387, 732, 1240, 279, 2027, 18, 3639, 368, 3639, 309, 261, 2088, 25181, 480, 10842, 18, 2399, 67, 7473, 21343, 67, 10857, 5411, 747, 17752, 422, 10842, 18, 2248, 7509, 67, 3079, 11102, 2782, 5411, 747, 3347, 461, 480, 446, 13, 288, 5411, 368, 5411, 368, 1660, 854, 8554, 358, 1608, 2006, 358, 279, 9111, 3021, 364, 5411, 368, 333, 358, 1440, 18, 868, 2670, 326, 3063, 2037, 471, 866, 18, 5411, 368, 5411, 2407, 859, 273, 394, 2407, 5621, 5411, 514, 1853, 8526, 273, 394, 3063, 2678, 12, 4669, 16, 859, 16, 27573, 261, 1952, 30499, 22, 13, 11516, 18, 588, 1952, 1435, 2934, 2670, 12, 3767, 1769, 5411, 309, 261, 5645, 63, 22, 8009, 14963, 2932, 4025, 7923, 597, 1853, 63, 23, 65, 480, 446, 597, 1853, 63, 23, 8009, 2469, 1435, 405, 374, 13, 288, 7734, 368, 7791, 1660, 1240, 279, 2027, 598, 622, 4520, 1245, 1014, 18, 7734, 4775, 273, 1853, 63, 23, 15533, 7734, 353, 3391, 273, 638, 31, 5411, 289, 469, 288, 7734, 368, 2631, 7494, 732, 848, 1404, 1089, 471, 732, 848, 1404, 14196, 279, 3347, 7734, 3347, 461, 273, 446, 31, 7734, 309, 261, 591, 7095, 422, 10842, 18, 2248, 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, 3347, 1684, 12, 780, 1847, 16, 17311, 514, 5418, 461, 16, 17311, 3014, 966, 8526, 1472, 13, 5411, 1216, 6483, 288, 3639, 368, 3639, 1250, 353, 3391, 273, 629, 31, 3639, 3063, 6210, 3436, 273, 446, 31, 3639, 368, 3639, 368, 3554, 326, 3063, 3021, 358, 3387, 732, 1240, 279, 2027, 18, 3639, 368, 3639, 309, 261, 2088, 25181, 480, 10842, 18, 2399, 67, 7473, 21343, 67, 10857, 5411, 747, 17752, 422, 10842, 18, 2248, 7509, 67, 3079, 11102, 2782, 5411, 747, 3347, 461, 480, 446, 13, 288, 5411, 368, 5411, 368, 1660, 854, 8554, 358, 1608, 2006, 358, 279, 9111, 3021, 364, 5411, 368, 333, 358, 1440, 18, 868, 2670, 326, 3063, 2037, 471, 866, 2 ]
Font wizardFont = parent.getFont();
public void createControl(Composite parent) { initializeDialogUnits(parent); Composite composite = new Composite(parent, SWT.NULL); composite.setLayout(new GridLayout()); composite.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL | GridData.HORIZONTAL_ALIGN_FILL)); composite.setFont(parent.getFont()); createTransferArea(composite); restoreWidgetValues(); // updateWidgetEnablements(); // can not finish initially, but don't want to start with an error // message either if (!validDestination()) setPageComplete(false); setPreferenceTransfers(); setControl(composite); giveFocusToDestination(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/b353c738722dfcaf60a18a8b3be623b8b66f8fe2/WizardPreferencesPage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/wizards/preferences/WizardPreferencesPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 918, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 752, 3367, 12, 9400, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 982, 13, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 288, 202, 202, 11160, 6353, 7537, 12, 2938, 1769, 202, 202, 9400, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 9635, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 273, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 394, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 14728, 12, 2938, 16, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 348, 8588, 18, 8560, 1769, 202, 202, 27676, 18, 542, 3744, 12, 2704, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 7145, 3744, 10663, 202, 202, 27676, 18, 542, 3744, 751, 12, 2704, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 7145, 751, 12, 6313, 751, 18, 21654, 10109, 67, 26439, 67, 29818, 9506, 202, 96, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 7145, 751, 18, 44, 20344, 67, 26439, 67, 29818, 10019, 202, 202, 27676, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 202, 202, 2640, 5912, 5484, 12, 27676, 1769, 202, 202, 13991, 4609, 1972, 5621, 202, 202, 759, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 1089, 4609, 8317, 1346, 5621, 202, 202, 759, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 848, 5711, 24204, 5711, 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, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 918, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 752, 3367, 12, 9400, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 982, 13, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 288, 202, 202, 11160, 6353, 7537, 12, 2938, 1769, 202, 202, 9400, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 9635, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 273, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 394, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 14728, 12, 2938, 16, 5711, 24204, 5711, 273, 982, 18, 588, 5711, 5621, 348, 8588, 18, 8560, 1769, 202, 202, 27676, 18, 2 ]
return;
public void activateLogging() throws NativeLibException { return; }
58440 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58440/98333eede78b9ac1131e72aef96a4d63b6ae031f/RegistryHandler.java/buggy/izpack-src/trunk/src/lib/com/izforge/izpack/util/os/RegistryHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10235, 7735, 1435, 1216, 16717, 5664, 503, 565, 288, 6647, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10235, 7735, 1435, 1216, 16717, 5664, 503, 565, 288, 6647, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fDocumentHandler.characters(fStringBuffer, fAugmentations);
fDocumentHandler.characters(fStringBuffer, null);
protected boolean scanCDATASection(boolean complete) throws IOException, XNIException { // call handler if (fDocumentHandler != null) { fDocumentHandler.startCDATA(fAugmentations); } while (true) { if (!fEntityScanner.scanData("]]", fString)) { if (fDocumentHandler != null && fString.length > 0) { fDocumentHandler.characters(fString, fAugmentations); } int brackets = 2; while (fEntityScanner.skipChar(']')) { brackets++; } if (fDocumentHandler != null && brackets > 2) { fStringBuffer.clear(); for (int i = 2; i < brackets; i++) { fStringBuffer.append(']'); } fDocumentHandler.characters(fStringBuffer, fAugmentations); } if (fEntityScanner.skipChar('>')) { break; } if (fDocumentHandler != null) { fStringBuffer.clear(); fStringBuffer.append("]]"); fDocumentHandler.characters(fStringBuffer, fAugmentations); } } else { if (fDocumentHandler != null) { fDocumentHandler.characters(fString, fAugmentations); } int c = fEntityScanner.peekChar(); if (c != -1 && XMLChar.isInvalid(c)) { if (XMLChar.isHighSurrogate(c)) { fStringBuffer.clear(); scanSurrogates(fStringBuffer); if (fDocumentHandler != null) { fDocumentHandler.characters(fStringBuffer, fAugmentations); } } else { reportFatalError("InvalidCharInCDSect", new Object[]{Integer.toString(c,16)}); fEntityScanner.scanChar(); } } } } fMarkupDepth--; // call handler if (fDocumentHandler != null) { fDocumentHandler.endCDATA(fAugmentations); } return true; } // scanCDATASection(boolean):boolean
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/0c89615b0bdfe565e769952ce9d81b62b7cd076a/XMLDocumentFragmentScannerImpl.java/clean/src/org/apache/xerces/impl/XMLDocumentFragmentScannerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 4135, 10160, 789, 3033, 794, 12, 6494, 3912, 13, 540, 1216, 1860, 16, 1139, 50, 45, 503, 288, 7734, 368, 745, 1838, 3639, 309, 261, 74, 2519, 1503, 480, 446, 13, 288, 5411, 284, 2519, 1503, 18, 1937, 18375, 12, 29534, 14870, 1012, 1769, 3639, 289, 3639, 1323, 261, 3767, 13, 288, 5411, 309, 16051, 74, 1943, 11338, 18, 9871, 751, 2932, 13563, 3113, 284, 780, 3719, 288, 7734, 309, 261, 74, 2519, 1503, 480, 446, 597, 284, 780, 18, 2469, 405, 374, 13, 288, 10792, 284, 2519, 1503, 18, 20558, 12, 74, 780, 16, 284, 37, 14870, 1012, 1769, 7734, 289, 7734, 509, 15597, 273, 576, 31, 7734, 1323, 261, 74, 1943, 11338, 18, 7457, 2156, 2668, 3864, 3719, 288, 10792, 15597, 9904, 31, 7734, 289, 7734, 309, 261, 74, 2519, 1503, 480, 446, 597, 15597, 405, 576, 13, 288, 10792, 284, 780, 1892, 18, 8507, 5621, 10792, 364, 261, 474, 277, 273, 576, 31, 277, 411, 15597, 31, 277, 27245, 288, 13491, 284, 780, 1892, 18, 6923, 2668, 3864, 1769, 10792, 289, 10792, 284, 2519, 1503, 18, 20558, 12, 74, 780, 1892, 16, 446, 1769, 7734, 289, 7734, 309, 261, 74, 1943, 11338, 18, 7457, 2156, 2668, 1870, 3719, 288, 10792, 898, 31, 7734, 289, 7734, 309, 261, 74, 2519, 1503, 480, 446, 13, 288, 10792, 284, 780, 1892, 18, 8507, 5621, 10792, 284, 780, 1892, 18, 6923, 2932, 65, 4279, 1769, 10792, 284, 2519, 1503, 18, 20558, 12, 74, 780, 1892, 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, 1250, 4135, 10160, 789, 3033, 794, 12, 6494, 3912, 13, 540, 1216, 1860, 16, 1139, 50, 45, 503, 288, 7734, 368, 745, 1838, 3639, 309, 261, 74, 2519, 1503, 480, 446, 13, 288, 5411, 284, 2519, 1503, 18, 1937, 18375, 12, 29534, 14870, 1012, 1769, 3639, 289, 3639, 1323, 261, 3767, 13, 288, 5411, 309, 16051, 74, 1943, 11338, 18, 9871, 751, 2932, 13563, 3113, 284, 780, 3719, 288, 7734, 309, 261, 74, 2519, 1503, 480, 446, 597, 284, 780, 18, 2469, 405, 374, 13, 288, 10792, 284, 2519, 1503, 18, 20558, 12, 74, 780, 16, 284, 37, 14870, 1012, 1769, 7734, 289, 7734, 509, 15597, 273, 576, 31, 7734, 1323, 261, 74, 1943, 11338, 18, 7457, 2 ]
if (ChainBuilderAgent.DEBUG) {
if (ChainBuilderAgent.DEBUG_TIMING) {
public void buildGUI() { Container content = getContentPane(); content.setLayout(new BorderLayout()); chainCanvas = new ChainPaletteCanvas(dataManager); chainCanvas.setContents(dataManager.getChains()); long start; if (ChainBuilderAgent.DEBUG) start = System.currentTimeMillis(); chainCanvas.layoutContents(); if (ChainBuilderAgent.DEBUG) { long end; end = System.currentTimeMillis()-start; System.err.println("time to layout chains is "+end); } chainCanvas.completeInitialization(); setSize(new Dimension(ModulePaletteWindow.SIDE,ModulePaletteWindow.SIDE)); content.add(chainCanvas); addComponentListener(new ComponentAdapter() { public void componentResized(ComponentEvent e) { if (chainCanvas != null) chainCanvas.scaleToResize(); } }); }
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/630a53d68f5d29c53d2485557b18599785befb83/ChainPaletteWindow.java/buggy/SRC/org/openmicroscopy/shoola/agents/chainbuilder/ui/ChainPaletteWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1361, 43, 5370, 1435, 288, 202, 202, 2170, 913, 273, 5154, 8485, 5621, 202, 202, 1745, 18, 542, 3744, 12, 2704, 30814, 10663, 9506, 202, 5639, 12971, 273, 394, 7824, 25863, 12971, 12, 892, 1318, 1769, 202, 202, 5639, 12971, 18, 542, 6323, 12, 892, 1318, 18, 588, 15945, 10663, 202, 202, 5748, 787, 31, 202, 202, 430, 261, 3893, 1263, 3630, 18, 9394, 13, 1082, 202, 1937, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 5639, 12971, 18, 6741, 6323, 5621, 9506, 202, 430, 261, 3893, 1263, 3630, 18, 9394, 13, 288, 1082, 202, 5748, 679, 31, 1082, 202, 409, 273, 2332, 18, 2972, 28512, 1435, 17, 1937, 31, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 957, 358, 3511, 13070, 353, 13773, 409, 1769, 202, 202, 97, 202, 202, 5639, 12971, 18, 6226, 17701, 5621, 6862, 202, 542, 1225, 12, 2704, 13037, 12, 3120, 25863, 3829, 18, 26498, 16, 3120, 25863, 3829, 18, 26498, 10019, 202, 202, 1745, 18, 1289, 12, 5639, 12971, 1769, 202, 202, 1289, 1841, 2223, 12, 2704,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 316, 326, 981, 30, 225, 202, 482, 918, 1361, 43, 5370, 1435, 288, 202, 202, 2170, 913, 273, 5154, 8485, 5621, 202, 202, 1745, 18, 542, 3744, 12, 2704, 30814, 10663, 9506, 202, 5639, 12971, 273, 394, 7824, 25863, 12971, 12, 892, 1318, 1769, 202, 202, 5639, 12971, 18, 542, 6323, 12, 892, 1318, 18, 588, 15945, 10663, 202, 202, 5748, 787, 31, 202, 202, 430, 261, 3893, 1263, 3630, 18, 9394, 13, 1082, 202, 1937, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 5639, 12971, 18, 6741, 6323, 5621, 9506, 202, 430, 261, 3893, 1263, 3630, 18, 9394, 13, 288, 1082, 202, 5748, 679, 31, 1082, 202, 409, 273, 2332, 18, 2972, 28512, 1435, 17, 1937, 31, 1082, 202, 3163, 18, 370, 2 ]
}
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\004': // ^D case '\032': // ^Z case -1: //end of script. return 0; // white spaces case ' ': case '\t': case '\f': case '\r': case '\013': // '\v' space_seen = true; continue retry; case '#': // it's a comment while ((c = nextc()) != '\n') { if (c == -1) { return 0; } } // fall through case '\n': switch (ph.getLexState()) { case LexState.EXPR_BEG: case LexState.EXPR_FNAME: case LexState.EXPR_DOT: continue retry; default: break; } ph.setCommandStart(true); ph.setLexState(LexState.EXPR_BEG); return '\n'; case '*': if ((c = nextc()) == '*') { ph.setLexState(LexState.EXPR_BEG); if (nextc() == '=') { yyVal = ph.newId(Token.tPOW); return Token.tOP_ASGN; } pushback(c); return Token.tPOW; } if (c == '=') { yyVal = ph.newId('*'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen && !ISSPACE(c)) { ph.rb_warning("`*' interpreted as argument prefix"); c = Token.tSTAR; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tSTAR; } else { c = '*'; } ph.setLexState(LexState.EXPR_BEG); return c; case '!': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tNEQ; } if (c == '~') { return Token.tNMATCH; } pushback(c); return '!'; case '=': if (lex_p == 1) { // skip embedded rd document if (lex_curline.startsWith("=begin") && (lex_pend == 6 || ISSPACE(lex_curline.charAt(6)))) { for (; ; ) { lex_p = lex_pend; c = nextc(); if (c == -1) { ph.rb_compile_error("embedded document meets end of file"); return 0; } if (c != '=') { continue; } if (lex_curline.substring(lex_p, lex_p + 3).equals("end") && (lex_p + 3 == lex_pend || ISSPACE(lex_curline.charAt(lex_p + 3)))) { break; } } lex_p = lex_pend; continue retry; } } ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { if ((c = nextc()) == '=') { return Token.tEQQ; } pushback(c); return Token.tEQ; } if (c == '~') { return Token.tMATCH; } else if (c == '>') { return Token.tASSOC; } pushback(c); return '='; case '<': c = nextc(); if (c == '<' && ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ENDARG && ph.getLexState() != LexState.EXPR_CLASS && (!IS_ARG() || space_seen)) { int c2 = nextc(); int indent = 0; if (c2 == '-') { indent = 1; c2 = nextc(); } if (!ISSPACE(c2) && ("\"'`".indexOf(c2) != -1 || is_identchar(c2))) { return here_document(c2, indent); } pushback(c2); } ph.setLexState(LexState.EXPR_BEG); if (c == '=') { if ((c = nextc()) == '>') { return Token.tCMP; } pushback(c); return Token.tLEQ; } if (c == '<') { if (nextc() == '=') { yyVal = ph.newId(Token.tLSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tLSHFT; } pushback(c); return '<'; case '>': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tGEQ; } if (c == '>') { if ((c = nextc()) == '=') { yyVal = ph.newId(Token.tRSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tRSHFT; } pushback(c); return '>'; case '"': return parse_string(c, c, c); case '`': if (ph.getLexState() == LexState.EXPR_FNAME) { return c; } if (ph.getLexState() == LexState.EXPR_DOT) { return c; } return parse_string(c, c, c); case '\'': return parse_qstring(c, 0); case '?': if (ph.getLexState() == LexState.EXPR_END || ph.getLexState() == LexState.EXPR_ENDARG) { ph.setLexState(LexState.EXPR_BEG); return '?'; } c = nextc(); if (c == -1) { /* FIX 1.6.5 */ ph.rb_compile_error("incomplete character syntax"); return 0; } if (IS_ARG() && ISSPACE(c)) { pushback(c); ph.setLexState(LexState.EXPR_BEG); return '?'; } if (c == '\\') { c = read_escape(); } c &= 0xff; yyVal = RubyFixnum.m_newFixnum(ruby, c); ph.setLexState(LexState.EXPR_END); return Token.tINTEGER; case '&': if ((c = nextc()) == '&') { ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = ph.newId(Token.tANDOP); return Token.tOP_ASGN; } pushback(c); return Token.tANDOP; } else if (c == '=') { yyVal = ph.newId('&'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen && !ISSPACE(c)) { ph.rb_warning("`&' interpeted as argument prefix"); c = Token.tAMPER; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tAMPER; } else { c = '&'; } ph.setLexState(LexState.EXPR_BEG); return c; case '|': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '|') { if ((c = nextc()) == '=') { yyVal = ph.newId(Token.tOROP); return Token.tOP_ASGN; } pushback(c); return Token.tOROP; } else if (c == '=') { yyVal = ph.newId('|'); return Token.tOP_ASGN; } pushback(c); return '|'; case '+': c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUPLUS; } pushback(c); return '+'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = ph.newId('+'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '+'; return start_num(c); } return Token.tUPLUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '+'; case '-': c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUMINUS; } pushback(c); return '-'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = ph.newId('-'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '-'; return start_num(c); } return Token.tUMINUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '-'; case '.': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '.') { if ((c = nextc()) == '.') { return Token.tDOT3; } pushback(c); return Token.tDOT2; } pushback(c); if (!Character.isDigit((char) c)) { ph.setLexState(LexState.EXPR_DOT); return '.'; } c = '.'; // fall through //start_num: case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': return start_num(c); case ']': case '}': ph.setLexState(LexState.EXPR_END); return c; case ')': if (cond_nest > 0) { cond_stack >>= 1; } ph.setLexState(LexState.EXPR_END); return c; case ':': c = nextc(); if (c == ':') { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen)) { ph.setLexState(LexState.EXPR_BEG); return Token.tCOLON3; } ph.setLexState(LexState.EXPR_DOT); return Token.tCOLON2; } pushback(c); if (ph.getLexState() == LexState.EXPR_END || ph.getLexState() == LexState.EXPR_ENDARG || ISSPACE(c)) { ph.setLexState(LexState.EXPR_BEG); return ':'; } ph.setLexState(LexState.EXPR_FNAME); return Token.tSYMBEG; case '/': if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { return parse_regx('/', '/'); } if ((c = nextc()) == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = ph.newId('/'); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen) { if (!ISSPACE(c)) { arg_ambiguous(); return parse_regx('/', '/'); } } ph.setLexState(LexState.EXPR_BEG); return '/'; case '^': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = ph.newId('^'); return Token.tOP_ASGN; } pushback(c); return '^'; case ',': case ';': // ph.setCommandStart(true); ph.setLexState(LexState.EXPR_BEG); return c; case '~': if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) != '@') { pushback(c); } } ph.setLexState(LexState.EXPR_BEG); return '~'; case '(': if (cond_nest > 0) { cond_stack = (cond_stack << 1 ) | 0; } // ph.setCommandStart(true); if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLPAREN; } else if (space_seen) { if (ph.getLexState() == LexState.EXPR_CMDARG) { c = Token.tLPAREN_ARG; } else if (ph.getLexState() == LexState.EXPR_ARG) { ph.rb_warning(tok() + " (...) interpreted as method call"); c = Token.tLPAREN_ARG; } } ph.setLexState(LexState.EXPR_BEG); return c; case '[': if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) == ']') { if ((c = nextc()) == '=') { return Token.tASET; } pushback(c); return Token.tAREF; } pushback(c); return '['; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLBRACK; } else if (IS_ARG() && space_seen) { c = Token.tLBRACK; } ph.setLexState(LexState.EXPR_BEG); return c; case '{': if (!IS_ARG()) { if (space_seen && ph.getLexState() == LexState.EXPR_ENDARG) { c = Token.tLBRACE_ARG; } if (ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ENDARG) { c = Token.tLBRACE; } } ph.setLexState(LexState.EXPR_BEG); return c; case '\\': c = nextc(); if (c == '\n') { space_seen = true; continue retry; // skip \\n } pushback(c); return '\\'; case '%': quotation : for (; ; ) { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { int term; int paren; c = nextc(); if (!Character.isLetterOrDigit((char) c)) { term = c; c = 'Q'; } else { term = nextc(); } if (c == -1 || term == -1) { ph.rb_compile_error("unterminated quoted string meets end of file"); return 0; } paren = term; if (term == '(') { term = ')'; } else if (term == '[') { term = ']'; } else if (term == '{') { term = '}'; } else if (term == '<') { term = '>'; } else { paren = 0; } switch (c) { case 'Q': return parse_string('"', term, paren); case 'q': return parse_qstring(term, paren); case 'w': return parse_quotedwords(term, paren); case 'x': return parse_string('`', term, paren); case 'r': return parse_regx(term, paren); default: yyerror("unknown type of %string"); return 0; } } if ((c = nextc()) == '=') { yyVal = ph.newId('%'); return Token.tOP_ASGN; } if (IS_ARG() && space_seen && !ISSPACE(c)) { pushback(c); continue quotation; } break quotation; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '%'; case '$': ph.setLexState(LexState.EXPR_END); newtok(); c = nextc(); switch (c) { case '_': // $_: last read line string c = nextc(); if (is_identchar(c)) { tokadd('$'); tokadd('_'); break; } pushback(c); c = '_'; // fall through case '~': // $~: match-data ph.local_cnt(c); // fall through case '*': // $*: argv case '$': // $$: pid case '?': // $?: last status case '!': // $!: error string case '@': // $@: error position case '/': // $/: input record separator case '\\':// $\: output record separator case ';': // $;: field separator case ',': // $,: output field separator case '.': // $.: last read line number case '=': // $=: ignorecase case ':': // $:: load path case '<': // $<: reading filename case '>': // $>: default output handle case '\"':// $": already loaded files tokadd('$'); tokadd(c); tokfix(); yyVal = ruby.intern(tok()); return Token.tGVAR; case '-': tokadd('$'); tokadd(c); c = nextc(); tokadd(c); tokfix(); yyVal = ruby.intern(tok()); /* * xxx shouldn't check if valid option variable */ return Token.tGVAR; case '&': // $&: last match case '`': // $`: string before last match case '\'':// $': string after last match case '+': // $+: string matches last paren. yyVal = nf.newBackRef(c); return Token.tBACK_REF; case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': tokadd('$'); while (Character.isDigit((char) c)) { tokadd(c); c = nextc(); } if (is_identchar(c)) { break; } pushback(c); tokfix(); yyVal = nf.newNthRef(Integer.parseInt(tok().substring(1))); return Token.tNTH_REF; default: if (!is_identchar(c)) { pushback(c); return '$'; } case '0': tokadd('$'); } break; case '@': c = nextc(); newtok(); tokadd('@'); if (c == '@') { tokadd('@'); c = nextc(); } if (Character.isDigit((char) c)) { ph.rb_compile_error("`@" + c + "' is not a valid instance variable name"); } if (!is_identchar(c)) { pushback(c); return '@'; } break; default: if (!is_identchar(c) || Character.isDigit((char) c)) { ph.rb_compile_error("Invalid char `\\" + c + "' in expression"); continue retry; } newtok(); break; } break retry; } while (is_identchar(c)) { tokadd(c); /* * if (ismbchar(c)) { * int i, len = mbclen(c)-1; * for (i = 0; i < len; i++) { * c = nextc(); * tokadd(c); * } * } */ c = nextc(); } if ((c == '!' || c == '?') && is_identchar(tok().charAt(0)) && !peek('=')) { tokadd(c); } else { pushback(c); } tokfix(); { int result = 0; switch (tok().charAt(0)) { case '$': ph.setLexState(LexState.EXPR_END); result = Token.tGVAR; break; case '@': ph.setLexState(LexState.EXPR_END); if (tok().charAt(1) == '@') { result = Token.tCVAR; } else { result = Token.tIVAR; } break; default: if (ph.getLexState() != LexState.EXPR_DOT) { // See if it is a reserved word. kw = rb_reserved_word(tok(), toklen()); if (kw != null) { // enum lex_state int state = ph.getLexState(); ph.setLexState(kw.state); if (state == LexState.EXPR_FNAME) { yyVal = ruby.intern(kw.name); } if (kw.id0 == Token.kDO) { if (COND_P()) { return Token.kDO_COND; } if (CMDARG_P() && state != LexState.EXPR_CMDARG) { return Token.kDO_BLOCK; } return Token.kDO; } if (state == LexState.EXPR_BEG) { return kw.id0; } else { if (kw.id0 != kw.id1) { ph.setLexState(LexState.EXPR_BEG); } return kw.id1; } } } if (toklast() == '!' || toklast() == '?') { result = Token.tFID; } else { if (ph.getLexState() == LexState.EXPR_FNAME) { if ((c = nextc()) == '=' && !peek('~') && !peek('>') && (!peek('=') || lex_p + 1 < lex_pend && lex_curline.charAt(lex_p + 1) == '>')) { result = Token.tIDENTIFIER; tokadd(c); } else { pushback(c); } } if (result == 0 && Character.isUpperCase(tok().charAt(0))) { result = Token.tCONSTANT; } else { result = Token.tIDENTIFIER; } } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_DOT || ph.getLexState() == LexState.EXPR_ARG || ph.getLexState() == LexState.EXPR_CMDARG) { if (cmd_state) { ph.setLexState(LexState.EXPR_CMDARG); } else { ph.setLexState(LexState.EXPR_ARG); } } else { ph.setLexState(LexState.EXPR_END); } } tokfix(); yyVal = /* last_id = */ ruby.intern(tok()); //XXX really overwrite last_id? return result; } }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/75e51682c6dfb1ff67ffb81cea2dfd23c3e3a9f4/DefaultRubyParser.java/clean/org/jruby/parser/DefaultRubyParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 677, 1362, 92, 1435, 288, 3639, 509, 276, 31, 3639, 1250, 3476, 67, 15156, 273, 629, 31, 3639, 1250, 1797, 67, 2019, 31, 3639, 5323, 2121, 5323, 31, 3639, 1797, 67, 2019, 273, 1844, 18, 291, 2189, 1685, 5621, 3639, 1844, 18, 542, 2189, 1685, 12, 5743, 1769, 3639, 3300, 294, 3639, 364, 261, 31, 274, 262, 288, 5411, 1620, 261, 71, 273, 1024, 71, 10756, 288, 7734, 648, 2337, 20, 4278, 368, 423, 1506, 7734, 648, 2337, 26565, 4278, 368, 3602, 40, 7734, 648, 2337, 20, 1578, 4278, 368, 3602, 62, 7734, 648, 300, 21, 30, 368, 409, 434, 2728, 18, 10792, 327, 374, 31, 7734, 368, 9578, 7292, 7734, 648, 296, 4290, 7734, 648, 2337, 88, 4278, 7734, 648, 2337, 74, 4278, 7734, 648, 2337, 86, 4278, 7734, 648, 2337, 1611, 23, 4278, 368, 2337, 90, 11, 10792, 3476, 67, 15156, 273, 638, 31, 10792, 1324, 3300, 31, 7734, 648, 2946, 4278, 368, 518, 1807, 279, 2879, 10792, 1323, 14015, 71, 273, 1024, 71, 10756, 480, 2337, 82, 6134, 288, 13491, 309, 261, 71, 422, 300, 21, 13, 288, 18701, 327, 374, 31, 4766, 17311, 368, 4159, 3059, 7734, 648, 2337, 82, 4278, 10792, 1620, 261, 844, 18, 588, 14756, 1119, 10756, 288, 13491, 648, 15123, 1119, 18, 2294, 8025, 67, 5948, 43, 30, 13491, 648, 15123, 1119, 18, 2294, 8025, 67, 42, 1985, 30, 13491, 648, 15123, 1119, 18, 2294, 8025, 67, 17591, 30, 18701, 1324, 3300, 31, 13491, 805, 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, 377, 3238, 509, 677, 1362, 92, 1435, 288, 3639, 509, 276, 31, 3639, 1250, 3476, 67, 15156, 273, 629, 31, 3639, 1250, 1797, 67, 2019, 31, 3639, 5323, 2121, 5323, 31, 3639, 1797, 67, 2019, 273, 1844, 18, 291, 2189, 1685, 5621, 3639, 1844, 18, 542, 2189, 1685, 12, 5743, 1769, 3639, 3300, 294, 3639, 364, 261, 31, 274, 262, 288, 5411, 1620, 261, 71, 273, 1024, 71, 10756, 288, 7734, 648, 2337, 20, 4278, 368, 423, 1506, 7734, 648, 2337, 26565, 4278, 368, 3602, 40, 7734, 648, 2337, 20, 1578, 4278, 368, 3602, 62, 7734, 648, 300, 21, 30, 368, 409, 434, 2728, 18, 10792, 327, 374, 31, 7734, 368, 9578, 7292, 7734, 648, 296, 4290, 7734, 648, 2 ]
return null;
} if (srefs == null || srefs.length == 0) { try { srefs = c_BundleContext.getServiceReferences( "org.osgi.service.cm.ManagedServiceFactory", "(" + Constants.SERVICE_PID + "=" + pid + ")"); } catch (Exception ex) { return null; }
public static Bundle findBundle(String pid) { final ServiceReference sr = c_BundleContext.getServiceReference(pid); if (sr == null) { //try to find managed factories with pid as filter ServiceReference[] srefs = null; try { srefs = c_BundleContext.getServiceReferences( "org.osgi.service.cm.ManagedServiceFactory", "("+ Constants.SERVICE_PID + "=" + pid + ")"); } catch (Exception ex) { return null; } if (srefs == null || srefs.length == 0) { return null; } else { return srefs[0].getBundle(); } } return sr.getBundle(); }//findBundle
23249 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23249/e668e8b1f331ef44e220b5c2af6a8835ae8393f5/Activator.java/buggy/src/java/net/coalevo/manager/impl/Activator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 8539, 1104, 3405, 12, 780, 4231, 13, 288, 565, 727, 26755, 9133, 273, 276, 67, 3405, 1042, 18, 588, 1179, 2404, 12, 6610, 1769, 565, 309, 261, 11254, 422, 446, 13, 288, 4202, 368, 698, 358, 1104, 7016, 17456, 598, 4231, 487, 1034, 1377, 26755, 8526, 272, 9316, 273, 446, 31, 1377, 775, 288, 3639, 272, 9316, 273, 276, 67, 3405, 1042, 18, 588, 1179, 8221, 12, 5411, 315, 3341, 18, 538, 10052, 18, 3278, 18, 7670, 18, 10055, 1179, 1733, 3113, 5411, 12452, 15, 5245, 18, 12426, 67, 16522, 397, 9671, 397, 4231, 397, 7310, 1769, 1377, 289, 1044, 261, 503, 431, 13, 288, 540, 289, 309, 261, 87, 9316, 422, 446, 747, 272, 9316, 18, 2469, 422, 374, 13, 288, 775, 288, 225, 272, 9316, 273, 276, 67, 3405, 1042, 18, 588, 1179, 8221, 12, 315, 3341, 18, 538, 10052, 18, 3278, 18, 7670, 18, 10055, 1179, 1733, 3113, 12452, 397, 5245, 18, 12426, 67, 16522, 397, 9671, 397, 4231, 397, 7310, 1769, 289, 1044, 261, 503, 431, 13, 288, 327, 446, 31, 289, 1377, 289, 1377, 309, 261, 87, 9316, 422, 446, 747, 272, 9316, 18, 2469, 422, 374, 13, 288, 540, 289, 309, 261, 87, 9316, 422, 446, 747, 272, 9316, 18, 2469, 422, 374, 13, 288, 775, 288, 225, 272, 9316, 273, 276, 67, 3405, 1042, 18, 588, 1179, 8221, 12, 315, 3341, 18, 538, 10052, 18, 3278, 18, 7670, 18, 10055, 1179, 1733, 3113, 12452, 397, 5245, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 8539, 1104, 3405, 12, 780, 4231, 13, 288, 565, 727, 26755, 9133, 273, 276, 67, 3405, 1042, 18, 588, 1179, 2404, 12, 6610, 1769, 565, 309, 261, 11254, 422, 446, 13, 288, 4202, 368, 698, 358, 1104, 7016, 17456, 598, 4231, 487, 1034, 1377, 26755, 8526, 272, 9316, 273, 446, 31, 1377, 775, 288, 3639, 272, 9316, 273, 276, 67, 3405, 1042, 18, 588, 1179, 8221, 12, 5411, 315, 3341, 18, 538, 10052, 18, 3278, 18, 7670, 18, 10055, 1179, 1733, 3113, 5411, 12452, 15, 5245, 18, 12426, 67, 16522, 397, 9671, 397, 4231, 397, 7310, 1769, 1377, 289, 1044, 261, 503, 431, 13, 288, 540, 289, 309, 261, 87, 9316, 422, 446, 747, 272, 9316, 2 ]
public void setUp() throws RuleSetNotFoundException { rule = findRule("controversial", "OnlyOneReturn"); }
public void setUp() { rule = findRule("controversial", "OnlyOneReturn"); }
public void setUp() throws RuleSetNotFoundException { rule = findRule("controversial", "OnlyOneReturn"); }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/4e45de9075eeb015245ff09f8f8c58cf0f98bbf3/OnlyOneReturnRuleTest.java/clean/pmd/regress/test/net/sourceforge/pmd/rules/design/OnlyOneReturnRuleTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 24292, 1435, 1216, 6781, 694, 3990, 288, 3639, 1720, 273, 1104, 2175, 2932, 1213, 303, 2496, 649, 3113, 315, 3386, 3335, 990, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2175, 2932, 1213, 303, 2496, 649, 3113, 315, 3386, 3335, 990, 8863, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.decl = decl;
protected EntityReferenceImpl(Location location, //EntityDeclaration decl, String name, String baseUri, String publicId, String systemId, String replacementText) { super(location); //this.decl = decl; this.name = name; this.baseUri = baseUri; this.publicId = publicId; this.systemId = systemId; this.replacementText = replacementText; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/89208158729137f73c8259a059fc5845c4da3e56/EntityReferenceImpl.java/buggy/core/src/classpath/gnu/gnu/xml/stream/EntityReferenceImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 4750, 2211, 18, 8840, 273, 3496, 31, 3887, 2404, 2828, 12, 2735, 2211, 18, 8840, 273, 3496, 31, 2117, 16, 2211, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 368, 1943, 6094, 2211, 18, 8840, 273, 3496, 31, 3496, 16, 2211, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 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, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 4750, 2211, 18, 8840, 273, 3496, 31, 3887, 2404, 2828, 12, 2735, 2211, 18, 8840, 273, 3496, 31, 2117, 16, 2211, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 273, 3496, 31, 333, 18, 8840, 2 ]
protected static String executeHelp(String mdxCmd) { StringBuffer buf = new StringBuffer(200); String[] tokens = mdxCmd.split("\\s+"); int cmd = UNKNOWN_CMD; if (tokens.length == 1) { buf.append("Commands:"); cmd = ALL_CMD; } else if (tokens.length == 2) { String cmdName = tokens[1]; if (cmdName.equals("help")) { cmd = HELP_CMD; } else if (cmdName.equals("set")) { cmd = SET_CMD; } else if (cmdName.equals("log")) { cmd = LOG_CMD; } else if (cmdName.equals("file")) { cmd = FILE_CMD; } else if (cmdName.equals("list")) { cmd = LIST_CMD; } else if (cmdName.equals("func")) { cmd = FUNC_CMD; } else if (cmdName.equals("param")) { cmd = PARAM_CMD; } else if (cmdName.equals("cube")) { cmd = CUBE_CMD; } else if (cmdName.equals("error")) { cmd = ERROR_CMD; } else if (cmdName.equals("exit")) { cmd = EXIT_CMD; } else { cmd = UNKNOWN_CMD; } } if (cmd == UNKNOWN_CMD) { buf.append("Unknown help command: "); buf.append(mdxCmd); buf.append('\n'); buf.append("Type \"help\" for list of commands"); } if ((cmd & HELP_CMD) != 0) { // help buf.append('\n'); appendIndent(buf, 1); buf.append("help"); buf.append('\n'); appendIndent(buf, 2); buf.append("Prints this text"); } if ((cmd & SET_CMD) != 0) { // set buf.append('\n'); appendSet(buf); } if ((cmd & LOG_CMD) != 0) { // set buf.append('\n'); appendLog(buf); } if ((cmd & FILE_CMD) != 0) { // file buf.append('\n'); appendFile(buf); } if ((cmd & LIST_CMD) != 0) { // list buf.append('\n'); appendList(buf); } if ((cmd & MDX_CMD) != 0) { buf.append('\n'); appendIndent(buf, 1); buf.append("<mdx query> <cr> ( '"); buf.append(EXECUTE_CHAR); buf.append("' | '"); buf.append(CANCEL_CHAR); buf.append("' ) <cr>"); buf.append('\n'); appendIndent(buf, 2); buf.append("Execute or cancel mdx query."); buf.append('\n'); appendIndent(buf, 2); buf.append("An mdx query may span one or more lines."); buf.append('\n'); appendIndent(buf, 2); buf.append("After the last line of the query has been entered,"); buf.append('\n'); appendIndent(buf, 3); buf.append("on the next line a single execute character, '"); buf.append(EXECUTE_CHAR); buf.append("', may be entered"); buf.append('\n'); appendIndent(buf, 3); buf.append("followed by a carriage return."); buf.append('\n'); appendIndent(buf, 3); buf.append("The lone '"); buf.append(EXECUTE_CHAR); buf.append("' informs the interpreter that the query has"); buf.append('\n'); appendIndent(buf, 3); buf.append("has been entered and is ready to execute."); buf.append('\n'); appendIndent(buf, 2); buf.append("At anytime during the entry of a query the cancel"); buf.append('\n'); appendIndent(buf, 3); buf.append("character, '"); buf.append(CANCEL_CHAR); buf.append("', may be entered alone on a line."); buf.append('\n'); appendIndent(buf, 3); buf.append("This removes all of the query text from the"); buf.append('\n'); appendIndent(buf, 3); buf.append("the command interpreter."); buf.append('\n'); appendIndent(buf, 2); buf.append("Queries can also be ended by using a semicolon ';'"); buf.append('\n'); appendIndent(buf, 3); buf.append("at the end of a line."); } if ((cmd & FUNC_CMD) != 0) { buf.append('\n'); appendFunc(buf); } if ((cmd & PARAM_CMD) != 0) { buf.append('\n'); appendParam(buf); } if ((cmd & CUBE_CMD) != 0) { buf.append('\n'); appendCube(buf); } if ((cmd & ERROR_CMD) != 0) { // list buf.append('\n'); appendError(buf); } if (cmd == ALL_CMD) { // reexecute buf.append('\n'); appendIndent(buf, 1); buf.append("= <cr>"); buf.append('\n'); appendIndent(buf, 2); buf.append("Re-Execute mdx query."); } if ((cmd & EXIT_CMD) != 0) { // exit buf.append('\n'); appendExit(buf); } return buf.toString(); }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/6bb94617d887d46c85747d7409fa32adc3ccb0c2/CmdRunner.java/clean/src/main/mondrian/tui/CmdRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 3845, 780, 8837, 6696, 12, 780, 1264, 92, 5931, 15329, 780, 1892, 4385, 33, 2704, 780, 1892, 12, 6976, 1769, 780, 8526, 7860, 33, 1264, 92, 5931, 18, 4939, 2932, 1695, 87, 15, 8863, 474, 4172, 33, 14737, 67, 19473, 31, 430, 12, 7860, 18, 2469, 631, 21, 15329, 4385, 18, 6923, 2932, 9127, 2773, 1769, 4172, 33, 4685, 67, 19473, 31, 97, 12107, 430, 12, 7860, 18, 2469, 631, 22, 15329, 780, 4172, 461, 33, 7860, 63, 21, 15533, 430, 12, 4172, 461, 18, 14963, 2932, 5201, 6, 3719, 95, 4172, 33, 27396, 67, 19473, 31, 97, 12107, 430, 12, 4172, 461, 18, 14963, 2932, 542, 6, 3719, 95, 4172, 33, 4043, 67, 19473, 31, 97, 12107, 430, 12, 4172, 461, 18, 14963, 2932, 1330, 6, 3719, 95, 4172, 33, 4842, 67, 19473, 31, 97, 12107, 430, 12, 4172, 461, 18, 14963, 2932, 768, 6, 3719, 95, 4172, 33, 3776, 67, 19473, 31, 97, 12107, 430, 12, 4172, 461, 18, 14963, 2932, 1098, 6, 3719, 95, 4172, 33, 7085, 67, 19473, 31, 97, 12107, 430, 12, 4172, 461, 18, 14963, 2932, 644, 6, 3719, 95, 4172, 33, 42, 21163, 67, 19473, 31, 97, 12107, 430, 12, 4172, 461, 18, 14963, 2932, 891, 6, 3719, 95, 4172, 33, 8388, 67, 19473, 31, 97, 12107, 430, 12, 4172, 461, 18, 14963, 2932, 21186, 6, 3719, 95, 4172, 33, 39, 3457, 41, 67, 19473, 31, 97, 12107, 430, 12, 4172, 461, 18, 14963, 2932, 1636, 6, 3719, 95, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 3845, 780, 8837, 6696, 12, 780, 1264, 92, 5931, 15329, 780, 1892, 4385, 33, 2704, 780, 1892, 12, 6976, 1769, 780, 8526, 7860, 33, 1264, 92, 5931, 18, 4939, 2932, 1695, 87, 15, 8863, 474, 4172, 33, 14737, 67, 19473, 31, 430, 12, 7860, 18, 2469, 631, 21, 15329, 4385, 18, 6923, 2932, 9127, 2773, 1769, 4172, 33, 4685, 67, 19473, 31, 97, 12107, 430, 12, 7860, 18, 2469, 631, 22, 15329, 780, 4172, 461, 33, 7860, 63, 21, 15533, 430, 12, 4172, 461, 18, 14963, 2932, 5201, 6, 3719, 95, 4172, 33, 27396, 67, 19473, 31, 97, 12107, 430, 12, 4172, 461, 18, 14963, 2932, 542, 6, 3719, 95, 4172, 33, 4043, 67, 19473, 31, 97, 12107, 2 ]
public void setFrom( String address ) { if( this.from != null ) { throw new BuildException( "Emails can only be from one address" );
public void setFrom(String address) { if (this.from != null) { throw new BuildException("Emails can only be from one address");
public void setFrom( String address ) { if( this.from != null ) { throw new BuildException( "Emails can only be from one address" ); } this.from = new EmailAddress( address ); }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/c6c232893c39257745a8f7a618bcdb5c59791cae/EmailTask.java/clean/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 22012, 12, 514, 1758, 262, 565, 288, 3639, 309, 12, 333, 18, 2080, 480, 446, 262, 3639, 288, 5411, 604, 394, 18463, 12, 315, 26614, 848, 1338, 506, 628, 1245, 1758, 6, 11272, 3639, 289, 3639, 333, 18, 2080, 273, 394, 8166, 1887, 12, 1758, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 22012, 12, 514, 1758, 262, 565, 288, 3639, 309, 12, 333, 18, 2080, 480, 446, 262, 3639, 288, 5411, 604, 394, 18463, 12, 315, 26614, 848, 1338, 506, 628, 1245, 1758, 6, 11272, 3639, 289, 3639, 333, 18, 2080, 273, 394, 8166, 1887, 12, 1758, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void setPlayerName(String playerName) { if(playerName == null) { m_playerLabel.setText("-"); JButton button = new JButton(m_takeAction); button.setMargin(BUTTON_INSETS); m_playerComponent = button; } else { m_playerLabel.setText(playerName); if(playerName.equals(m_messenger.getLocalNode().getName())) { JButton button = new JButton(m_dontTakeAction); button.setMargin(BUTTON_INSETS); m_playerComponent = button; } else { m_playerComponent = new JLabel(""); } } }
8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/6d4902f6fb4cc244abe3aaada952f389c483c4fe/ClientStartup.java/buggy/triplea/src/games/strategy/engine/framework/ui/ClientStartup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 444, 12148, 461, 12, 780, 7291, 461, 13, 202, 202, 95, 1082, 202, 430, 12, 14872, 461, 422, 446, 13, 1082, 202, 95, 9506, 202, 81, 67, 14872, 2224, 18, 542, 1528, 2932, 17, 8863, 9506, 202, 46, 3616, 3568, 273, 394, 28804, 12, 81, 67, 22188, 1803, 1769, 9506, 202, 5391, 18, 542, 9524, 12, 20068, 67, 706, 28092, 1769, 9506, 202, 81, 67, 14872, 1841, 273, 3568, 31, 6862, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 81, 67, 14872, 2224, 18, 542, 1528, 12, 14872, 461, 1769, 6862, 9506, 202, 430, 12, 14872, 461, 18, 14963, 12, 81, 67, 81, 18912, 18, 588, 2042, 907, 7675, 17994, 1435, 3719, 9506, 202, 95, 6862, 202, 46, 3616, 3568, 273, 394, 28804, 12, 81, 67, 72, 1580, 13391, 1803, 1769, 6862, 202, 5391, 18, 542, 9524, 12, 20068, 67, 706, 28092, 1769, 6862, 202, 81, 67, 14872, 1841, 273, 3568, 31, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 81, 67, 14872, 1841, 273, 394, 21403, 2932, 8863, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 444, 12148, 461, 12, 780, 7291, 461, 13, 202, 202, 95, 1082, 202, 430, 12, 14872, 461, 422, 446, 13, 1082, 202, 95, 9506, 202, 81, 67, 14872, 2224, 18, 542, 1528, 2932, 17, 8863, 9506, 202, 46, 3616, 3568, 273, 394, 28804, 12, 81, 67, 22188, 1803, 1769, 9506, 202, 5391, 18, 542, 9524, 12, 20068, 67, 706, 28092, 1769, 9506, 202, 81, 67, 14872, 1841, 273, 3568, 31, 6862, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 81, 67, 14872, 2224, 18, 542, 1528, 12, 14872, 461, 1769, 6862, 9506, 202, 430, 12, 14872, 461, 18, 14963, 12, 81, 67, 81, 18912, 18, 588, 2042, 907, 7675, 17994, 1435, 3719, 2 ]
return new Integer(object.trim());
return new Integer(value.trim());
public Object convertTo(Class paramType, String object) throws ConversionException { try { if (paramType == Boolean.TYPE || paramType == Boolean.class) { return new Boolean(object.trim()); } else if (paramType == Byte.TYPE || paramType == Byte.class) { if (object.length() == 0) { byte b = 0; return new Byte(b); } return new Byte(object.trim()); } else if (paramType == Short.TYPE || paramType == Short.class) { if (object.length() == 0) { short s = 0; return new Short(s); } return new Short(object.trim()); } else if (paramType == Character.TYPE || paramType == Character.class) { if (object.length() == 1) { return new Character(object.charAt(0)); } else { throw new ConversionException("Can't convert string to single char: '" + object + "'"); } } else if (paramType == Integer.TYPE || paramType == Integer.class) { if (object.length() == 0) { return new Integer(0); } return new Integer(object.trim()); } else if (paramType == Long.TYPE || paramType == Long.class) { if (object.length() == 0) { return new Long(0); } return new Long(object.trim()); } else if (paramType == Float.TYPE || paramType == Float.class) { if (object.length() == 0) { return new Float(0); } return new Float(object.trim()); } else if (paramType == Double.TYPE || paramType == Double.class) { if (object.length() == 0) { return new Double(0); } return new Double(object.trim()); } throw new ConversionException("Non-primitive paramType: "+paramType.getName()); } catch (NumberFormatException ex) { throw new ConversionException("Format error converting " + object + " to " + paramType.getName(), ex); } }
45384 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45384/7547063298291f41840aee0b03582a3f6bc04cd6/PrimitiveConverter.java/clean/java/uk/ltd/getahead/dwr/convert/PrimitiveConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 8137, 12, 797, 20781, 16, 514, 733, 13, 1216, 16401, 503, 565, 288, 3639, 775, 3639, 288, 5411, 309, 261, 891, 559, 422, 3411, 18, 2399, 747, 20781, 422, 3411, 18, 1106, 13, 5411, 288, 7734, 327, 394, 3411, 12, 1612, 18, 5290, 10663, 5411, 289, 5411, 469, 309, 261, 891, 559, 422, 3506, 18, 2399, 747, 20781, 422, 3506, 18, 1106, 13, 5411, 288, 7734, 309, 261, 1612, 18, 2469, 1435, 422, 374, 13, 7734, 288, 10792, 1160, 324, 273, 374, 31, 10792, 327, 394, 3506, 12, 70, 1769, 7734, 289, 7734, 327, 394, 3506, 12, 1612, 18, 5290, 10663, 5411, 289, 5411, 469, 309, 261, 891, 559, 422, 7925, 18, 2399, 747, 20781, 422, 7925, 18, 1106, 13, 5411, 288, 7734, 309, 261, 1612, 18, 2469, 1435, 422, 374, 13, 7734, 288, 10792, 3025, 272, 273, 374, 31, 10792, 327, 394, 7925, 12, 87, 1769, 7734, 289, 7734, 327, 394, 7925, 12, 1612, 18, 5290, 10663, 5411, 289, 5411, 469, 309, 261, 891, 559, 422, 6577, 18, 2399, 747, 20781, 422, 6577, 18, 1106, 13, 5411, 288, 7734, 309, 261, 1612, 18, 2469, 1435, 422, 404, 13, 7734, 288, 10792, 327, 394, 6577, 12, 1612, 18, 3001, 861, 12, 20, 10019, 7734, 289, 7734, 469, 7734, 288, 10792, 604, 394, 16401, 503, 2932, 2568, 1404, 1765, 533, 358, 2202, 1149, 30, 2119, 397, 733, 397, 5862, 1769, 7734, 289, 5411, 289, 5411, 469, 309, 261, 891, 559, 422, 2144, 18, 2399, 747, 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, 8137, 12, 797, 20781, 16, 514, 733, 13, 1216, 16401, 503, 565, 288, 3639, 775, 3639, 288, 5411, 309, 261, 891, 559, 422, 3411, 18, 2399, 747, 20781, 422, 3411, 18, 1106, 13, 5411, 288, 7734, 327, 394, 3411, 12, 1612, 18, 5290, 10663, 5411, 289, 5411, 469, 309, 261, 891, 559, 422, 3506, 18, 2399, 747, 20781, 422, 3506, 18, 1106, 13, 5411, 288, 7734, 309, 261, 1612, 18, 2469, 1435, 422, 374, 13, 7734, 288, 10792, 1160, 324, 273, 374, 31, 10792, 327, 394, 3506, 12, 70, 1769, 7734, 289, 7734, 327, 394, 3506, 12, 1612, 18, 5290, 10663, 5411, 289, 5411, 469, 309, 261, 891, 559, 422, 7925, 18, 2399, 747, 20781, 422, 2 ]
org.exist.xquery.parser.XQueryAST tmp409_AST = null; tmp409_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp409_AST);
org.exist.xquery.parser.XQueryAST tmp333_AST = null; tmp333_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp333_AST);
public final String reservedKeywords() throws RecognitionException, TokenStreamException { String name; returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST reservedKeywords_AST = null; name= null; switch ( LA(1)) { case LITERAL_element: { org.exist.xquery.parser.XQueryAST tmp376_AST = null; tmp376_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp376_AST); match(LITERAL_element); if ( inputState.guessing==0 ) { name = "element"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_to: { org.exist.xquery.parser.XQueryAST tmp377_AST = null; tmp377_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp377_AST); match(LITERAL_to); if ( inputState.guessing==0 ) { name = "to"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_div: { org.exist.xquery.parser.XQueryAST tmp378_AST = null; tmp378_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp378_AST); match(LITERAL_div); if ( inputState.guessing==0 ) { name= "div"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_mod: { org.exist.xquery.parser.XQueryAST tmp379_AST = null; tmp379_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp379_AST); match(LITERAL_mod); if ( inputState.guessing==0 ) { name= "mod"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_text: { org.exist.xquery.parser.XQueryAST tmp380_AST = null; tmp380_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp380_AST); match(LITERAL_text); if ( inputState.guessing==0 ) { name= "text"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_node: { org.exist.xquery.parser.XQueryAST tmp381_AST = null; tmp381_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp381_AST); match(LITERAL_node); if ( inputState.guessing==0 ) { name= "node"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_or: { org.exist.xquery.parser.XQueryAST tmp382_AST = null; tmp382_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp382_AST); match(LITERAL_or); if ( inputState.guessing==0 ) { name= "or"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_and: { org.exist.xquery.parser.XQueryAST tmp383_AST = null; tmp383_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp383_AST); match(LITERAL_and); if ( inputState.guessing==0 ) { name= "and"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_child: { org.exist.xquery.parser.XQueryAST tmp384_AST = null; tmp384_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp384_AST); match(LITERAL_child); if ( inputState.guessing==0 ) { name= "child"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_parent: { org.exist.xquery.parser.XQueryAST tmp385_AST = null; tmp385_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp385_AST); match(LITERAL_parent); if ( inputState.guessing==0 ) { name= "parent"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_self: { org.exist.xquery.parser.XQueryAST tmp386_AST = null; tmp386_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp386_AST); match(LITERAL_self); if ( inputState.guessing==0 ) { name= "self"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_attribute: { org.exist.xquery.parser.XQueryAST tmp387_AST = null; tmp387_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp387_AST); match(LITERAL_attribute); if ( inputState.guessing==0 ) { name= "attribute"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_comment: { org.exist.xquery.parser.XQueryAST tmp388_AST = null; tmp388_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp388_AST); match(LITERAL_comment); if ( inputState.guessing==0 ) { name= "comment"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_document: { org.exist.xquery.parser.XQueryAST tmp389_AST = null; tmp389_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp389_AST); match(LITERAL_document); if ( inputState.guessing==0 ) { name= "document"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 127: { org.exist.xquery.parser.XQueryAST tmp390_AST = null; tmp390_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp390_AST); match(127); if ( inputState.guessing==0 ) { name= "document-node"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_collection: { org.exist.xquery.parser.XQueryAST tmp391_AST = null; tmp391_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp391_AST); match(LITERAL_collection); if ( inputState.guessing==0 ) { name= "collection"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_ancestor: { org.exist.xquery.parser.XQueryAST tmp392_AST = null; tmp392_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp392_AST); match(LITERAL_ancestor); if ( inputState.guessing==0 ) { name= "ancestor"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_descendant: { org.exist.xquery.parser.XQueryAST tmp393_AST = null; tmp393_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp393_AST); match(LITERAL_descendant); if ( inputState.guessing==0 ) { name= "descendant"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 139: { org.exist.xquery.parser.XQueryAST tmp394_AST = null; tmp394_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp394_AST); match(139); if ( inputState.guessing==0 ) { name= "descendant-or-self"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 144: { org.exist.xquery.parser.XQueryAST tmp395_AST = null; tmp395_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp395_AST); match(144); if ( inputState.guessing==0 ) { name= "ancestor-or-self"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 145: { org.exist.xquery.parser.XQueryAST tmp396_AST = null; tmp396_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp396_AST); match(145); if ( inputState.guessing==0 ) { name= "preceding-sibling"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 140: { org.exist.xquery.parser.XQueryAST tmp397_AST = null; tmp397_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp397_AST); match(140); if ( inputState.guessing==0 ) { name= "following-sibling"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_following: { org.exist.xquery.parser.XQueryAST tmp398_AST = null; tmp398_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp398_AST); match(LITERAL_following); if ( inputState.guessing==0 ) { name = "following"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_preceding: { org.exist.xquery.parser.XQueryAST tmp399_AST = null; tmp399_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp399_AST); match(LITERAL_preceding); if ( inputState.guessing==0 ) { name = "preceding"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_item: { org.exist.xquery.parser.XQueryAST tmp400_AST = null; tmp400_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp400_AST); match(LITERAL_item); if ( inputState.guessing==0 ) { name= "item"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_empty: { org.exist.xquery.parser.XQueryAST tmp401_AST = null; tmp401_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp401_AST); match(LITERAL_empty); if ( inputState.guessing==0 ) { name= "empty"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case VERSION: { org.exist.xquery.parser.XQueryAST tmp402_AST = null; tmp402_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp402_AST); match(VERSION); if ( inputState.guessing==0 ) { name= "version"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case XQUERY: { org.exist.xquery.parser.XQueryAST tmp403_AST = null; tmp403_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp403_AST); match(XQUERY); if ( inputState.guessing==0 ) { name= "xquery"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_variable: { org.exist.xquery.parser.XQueryAST tmp404_AST = null; tmp404_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp404_AST); match(LITERAL_variable); if ( inputState.guessing==0 ) { name= "variable"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_namespace: { org.exist.xquery.parser.XQueryAST tmp405_AST = null; tmp405_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp405_AST); match(LITERAL_namespace); if ( inputState.guessing==0 ) { name= "namespace"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_if: { org.exist.xquery.parser.XQueryAST tmp406_AST = null; tmp406_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp406_AST); match(LITERAL_if); if ( inputState.guessing==0 ) { name= "if"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_then: { org.exist.xquery.parser.XQueryAST tmp407_AST = null; tmp407_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp407_AST); match(LITERAL_then); if ( inputState.guessing==0 ) { name= "then"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_else: { org.exist.xquery.parser.XQueryAST tmp408_AST = null; tmp408_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp408_AST); match(LITERAL_else); if ( inputState.guessing==0 ) { name= "else"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_for: { org.exist.xquery.parser.XQueryAST tmp409_AST = null; tmp409_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp409_AST); match(LITERAL_for); if ( inputState.guessing==0 ) { name= "for"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_let: { org.exist.xquery.parser.XQueryAST tmp410_AST = null; tmp410_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp410_AST); match(LITERAL_let); if ( inputState.guessing==0 ) { name= "let"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_default: { org.exist.xquery.parser.XQueryAST tmp411_AST = null; tmp411_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp411_AST); match(LITERAL_default); if ( inputState.guessing==0 ) { name= "default"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_function: { org.exist.xquery.parser.XQueryAST tmp412_AST = null; tmp412_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp412_AST); match(LITERAL_function); if ( inputState.guessing==0 ) { name= "function"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_as: { org.exist.xquery.parser.XQueryAST tmp413_AST = null; tmp413_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp413_AST); match(LITERAL_as); if ( inputState.guessing==0 ) { name = "as"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_union: { org.exist.xquery.parser.XQueryAST tmp414_AST = null; tmp414_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp414_AST); match(LITERAL_union); if ( inputState.guessing==0 ) { name = "union"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_intersect: { org.exist.xquery.parser.XQueryAST tmp415_AST = null; tmp415_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp415_AST); match(LITERAL_intersect); if ( inputState.guessing==0 ) { name = "intersect"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_except: { org.exist.xquery.parser.XQueryAST tmp416_AST = null; tmp416_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp416_AST); match(LITERAL_except); if ( inputState.guessing==0 ) { name = "except"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_order: { org.exist.xquery.parser.XQueryAST tmp417_AST = null; tmp417_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp417_AST); match(LITERAL_order); if ( inputState.guessing==0 ) { name = "order"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_by: { org.exist.xquery.parser.XQueryAST tmp418_AST = null; tmp418_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp418_AST); match(LITERAL_by); if ( inputState.guessing==0 ) { name = "by"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_some: { org.exist.xquery.parser.XQueryAST tmp419_AST = null; tmp419_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp419_AST); match(LITERAL_some); if ( inputState.guessing==0 ) { name = "some"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_every: { org.exist.xquery.parser.XQueryAST tmp420_AST = null; tmp420_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp420_AST); match(LITERAL_every); if ( inputState.guessing==0 ) { name = "every"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_is: { org.exist.xquery.parser.XQueryAST tmp421_AST = null; tmp421_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp421_AST); match(LITERAL_is); if ( inputState.guessing==0 ) { name = "is"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_isnot: { org.exist.xquery.parser.XQueryAST tmp422_AST = null; tmp422_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp422_AST); match(LITERAL_isnot); if ( inputState.guessing==0 ) { name = "isnot"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_module: { org.exist.xquery.parser.XQueryAST tmp423_AST = null; tmp423_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp423_AST); match(LITERAL_module); if ( inputState.guessing==0 ) { name = "module"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_import: { org.exist.xquery.parser.XQueryAST tmp424_AST = null; tmp424_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp424_AST); match(LITERAL_import); if ( inputState.guessing==0 ) { name = "import"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_at: { org.exist.xquery.parser.XQueryAST tmp425_AST = null; tmp425_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp425_AST); match(LITERAL_at); if ( inputState.guessing==0 ) { name = "at"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_cast: { org.exist.xquery.parser.XQueryAST tmp426_AST = null; tmp426_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp426_AST); match(LITERAL_cast); if ( inputState.guessing==0 ) { name = "cast"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_return: { org.exist.xquery.parser.XQueryAST tmp427_AST = null; tmp427_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp427_AST); match(LITERAL_return); if ( inputState.guessing==0 ) { name = "return"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_instance: { org.exist.xquery.parser.XQueryAST tmp428_AST = null; tmp428_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp428_AST); match(LITERAL_instance); if ( inputState.guessing==0 ) { name = "instance"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_of: { org.exist.xquery.parser.XQueryAST tmp429_AST = null; tmp429_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp429_AST); match(LITERAL_of); if ( inputState.guessing==0 ) { name = "of"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_declare: { org.exist.xquery.parser.XQueryAST tmp430_AST = null; tmp430_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp430_AST); match(LITERAL_declare); if ( inputState.guessing==0 ) { name = "declare"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_collation: { org.exist.xquery.parser.XQueryAST tmp431_AST = null; tmp431_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp431_AST); match(LITERAL_collation); if ( inputState.guessing==0 ) { name = "collation"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = reservedKeywords_AST; return name; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/06537933dfbae14c444eb15b44247b312b5f47d7/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 514, 225, 8735, 14149, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 202, 202, 780, 508, 31, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 8735, 14149, 67, 9053, 273, 446, 31, 202, 202, 529, 33, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 2956, 30, 202, 202, 95, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 6418, 26, 67, 9053, 273, 446, 31, 1082, 202, 5645, 6418, 26, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 689, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1853, 6418, 26, 67, 9053, 1769, 1082, 202, 1916, 12, 23225, 67, 2956, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 529, 273, 315, 2956, 14432, 1082, 202, 97, 1082, 202, 18898, 14149, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 2972, 9053, 18, 3085, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 511, 18454, 67, 869, 30, 202, 202, 95, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 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, 514, 225, 8735, 14149, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 202, 202, 780, 508, 31, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 8735, 14149, 67, 9053, 273, 446, 31, 202, 202, 529, 33, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 2956, 30, 202, 202, 95, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 6418, 26, 67, 9053, 273, 446, 31, 1082, 202, 5645, 6418, 26, 67, 9053, 273, 261, 3341, 18, 2 ]
weapon.name = "Light Particle Projection Cannon";
weapon.name = "Light PPC";
private static WeaponType createISLightPPC() { WeaponType weapon = new WeaponType(); weapon.techLevel = TechConstants.T_IS_LEVEL_2; weapon.name = "Light Particle Projection Cannon"; weapon.setInternalName(weapon.name); weapon.addLookupName("ISLightPPC"); weapon.addLookupName("ISLPPC"); weapon.heat = 5; weapon.damage = 5; weapon.ammoType = AmmoType.T_NA; weapon.minimumRange = 3; weapon.shortRange = 6; weapon.mediumRange = 12; weapon.longRange = 18; weapon.extremeRange = 24; weapon.waterShortRange = 4; weapon.waterMediumRange = 7; weapon.waterLongRange = 10; weapon.waterExtremeRange = 14; weapon.tonnage = 3.0f; weapon.criticals = 2; weapon.flags |= F_PPC | F_DIRECT_FIRE | F_ENERGY | F_SINGLE_TARGET; // Warning: this BV is unofficial. //FIXME weapon.bv = 88; weapon.setModes(new String[] {"Field Inhibitor ON", "Field Inhibitor OFF"}); weapon.cost = 0; return weapon; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/36a86fac127cf1abfa95e2192a37eec01f07d6e7/WeaponType.java/buggy/megamek/src/megamek/common/WeaponType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1660, 28629, 559, 752, 45, 4559, 750, 52, 3513, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 3639, 732, 28629, 18, 28012, 2355, 273, 399, 8987, 2918, 18, 56, 67, 5127, 67, 10398, 67, 22, 31, 3639, 732, 28629, 18, 529, 273, 315, 12128, 453, 3513, 14432, 3639, 732, 28629, 18, 542, 3061, 461, 12, 1814, 28629, 18, 529, 1769, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 45, 4559, 750, 52, 3513, 8863, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 45, 4559, 52, 3513, 8863, 3639, 732, 28629, 18, 580, 270, 273, 1381, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 1381, 31, 3639, 732, 28629, 18, 301, 8683, 559, 273, 3986, 8683, 559, 18, 56, 67, 11277, 31, 3639, 732, 28629, 18, 15903, 2655, 273, 890, 31, 3639, 732, 28629, 18, 6620, 2655, 273, 1666, 31, 3639, 732, 28629, 18, 19011, 2655, 273, 2593, 31, 3639, 732, 28629, 18, 5748, 2655, 273, 6549, 31, 3639, 732, 28629, 18, 408, 2764, 73, 2655, 273, 4248, 31, 3639, 732, 28629, 18, 91, 2045, 4897, 2655, 273, 1059, 31, 3639, 732, 28629, 18, 91, 2045, 25599, 2655, 273, 2371, 31, 3639, 732, 28629, 18, 91, 2045, 3708, 2655, 273, 1728, 31, 3639, 732, 28629, 18, 91, 2045, 2482, 2764, 73, 2655, 273, 5045, 31, 3639, 732, 28629, 18, 1917, 82, 410, 273, 890, 18, 20, 74, 31, 3639, 732, 28629, 18, 27826, 335, 1031, 273, 576, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1660, 28629, 559, 752, 45, 4559, 750, 52, 3513, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 3639, 732, 28629, 18, 28012, 2355, 273, 399, 8987, 2918, 18, 56, 67, 5127, 67, 10398, 67, 22, 31, 3639, 732, 28629, 18, 529, 273, 315, 12128, 453, 3513, 14432, 3639, 732, 28629, 18, 542, 3061, 461, 12, 1814, 28629, 18, 529, 1769, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 45, 4559, 750, 52, 3513, 8863, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 45, 4559, 52, 3513, 8863, 3639, 732, 28629, 18, 580, 270, 273, 1381, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 1381, 31, 3639, 732, 28629, 18, 2 ]
if (isWordArrayType() || isCodeArrayType()) { return getArrayElementType();
VM_TypeReference elem = getArrayElementType(); if (elem.isArrayType()) { return elem.getInnermostElementType();
public final VM_TypeReference getInnermostElementType() { if (isWordArrayType() || isCodeArrayType()) { return getArrayElementType(); } else { return findOrCreate(classloader, name.parseForInnermostArrayElementDescriptor()); } }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/9d6c9081e05cd51e4a00e6331b4995d639eb670e/VM_TypeReference.java/buggy/rvm/src/com/ibm/jikesrvm/classloader/VM_TypeReference.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 8251, 67, 7534, 7854, 82, 28055, 17481, 1435, 288, 565, 309, 261, 291, 3944, 27182, 1435, 747, 353, 1085, 27182, 10756, 288, 1377, 327, 12634, 17481, 5621, 565, 289, 469, 288, 1377, 327, 1104, 17717, 12,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 8251, 67, 7534, 7854, 82, 28055, 17481, 1435, 288, 565, 309, 261, 291, 3944, 27182, 1435, 747, 353, 1085, 27182, 10756, 288, 1377, 327, 12634, 17481, 5621, 565, 289, 469, 288, 1377, 327, 1104, 17717, 12, 1106, 6714, 16, 508, 18, 2670, 1290, 382, 82, 28055, 1076, 1046, 3187, 10663, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fireValueChanged(new TreeSelectionEvent(this, path, true, leadPath, path));
leadRow = getRow(path); leadIndex = selection.length - 1; fireValueChanged(new TreeSelectionEvent(this, path, true, oldLead, leadPath));
public void addSelectionPath(TreePath path) { if (! isPathSelected(path)) { if (isSelectionEmpty()) setSelectionPath(path); else { TreePath[] temp = new TreePath[selection.length + 1]; System.arraycopy(selection, 0, temp, 0, selection.length); temp[temp.length - 1] = path; selection = new TreePath[temp.length]; System.arraycopy(temp, 0, selection, 0, temp.length); } leadPath = path; fireValueChanged(new TreeSelectionEvent(this, path, true, leadPath, path)); } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/8e6a933c7311b8af73a149d26777089b7dc8bd68/DefaultTreeSelectionModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeSelectionModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 6233, 743, 12, 2471, 743, 589, 13, 225, 288, 565, 309, 16051, 353, 743, 7416, 12, 803, 3719, 202, 202, 95, 1082, 202, 430, 261, 291, 6233, 1921, 10756, 9506, 202, 542, 6233, 743, 12, 803, 1769, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 2471, 743, 8526, 1906, 273, 394, 4902, 743, 63, 10705, 18, 2469, 397, 404, 15533, 9506, 202, 3163, 18, 1126, 3530, 12, 10705, 16, 374, 16, 1906, 16, 374, 16, 4421, 18, 2469, 1769, 9506, 202, 5814, 63, 5814, 18, 2469, 300, 404, 65, 273, 589, 31, 9506, 202, 10705, 273, 394, 4902, 743, 63, 5814, 18, 2469, 15533, 9506, 202, 3163, 18, 1126, 3530, 12, 5814, 16, 374, 16, 4421, 16, 374, 16, 1906, 18, 2469, 1769, 1082, 202, 97, 1082, 202, 24429, 743, 273, 589, 31, 3639, 4452, 620, 5033, 12, 2704, 4902, 6233, 1133, 12, 2211, 16, 589, 16, 638, 16, 5871, 743, 16, 4766, 7734, 589, 10019, 202, 202, 97, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 6233, 743, 12, 2471, 743, 589, 13, 225, 288, 565, 309, 16051, 353, 743, 7416, 12, 803, 3719, 202, 202, 95, 1082, 202, 430, 261, 291, 6233, 1921, 10756, 9506, 202, 542, 6233, 743, 12, 803, 1769, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 2471, 743, 8526, 1906, 273, 394, 4902, 743, 63, 10705, 18, 2469, 397, 404, 15533, 9506, 202, 3163, 18, 1126, 3530, 12, 10705, 16, 374, 16, 1906, 16, 374, 16, 4421, 18, 2469, 1769, 9506, 202, 5814, 63, 5814, 18, 2469, 300, 404, 65, 273, 589, 31, 9506, 202, 10705, 273, 394, 4902, 743, 63, 5814, 18, 2469, 15533, 9506, 202, 3163, 18, 1126, 3530, 12, 5814, 16, 374, 2 ]
public ClientPut getParent() {
public ClientPutter getParent() {
public ClientPut getParent() { return parent; }
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/d32229c02576d531c915059f111c468591f30e84/SingleFileInserter.java/buggy/src/freenet/client/async/SingleFileInserter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2445, 6426, 5089, 1435, 288, 202, 202, 2463, 982, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2445, 6426, 5089, 1435, 288, 202, 202, 2463, 982, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return false;
else { return false; }
public boolean canSetProperty(Object object) { if (isSettable) { EditingDomain editingDomain = getEditingDomain(object); if (editingDomain != null) { Resource resource = object instanceof EObject ? ((EObject)object).eResource() : object instanceof Resource ? (Resource)object : null; return resource == null || !editingDomain.isReadOnly(resource); } } return false; }
11224 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11224/2b126b88585fe396ca80e71074ae20794669b716/ItemPropertyDescriptor.java/buggy/plugins/org.eclipse.emf.edit/src/org/eclipse/emf/edit/provider/ItemPropertyDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 848, 694, 1396, 12, 921, 733, 13, 225, 288, 565, 309, 261, 291, 694, 2121, 13, 565, 288, 1377, 15328, 310, 3748, 15755, 3748, 273, 21221, 310, 3748, 12, 1612, 1769, 1377, 309, 261, 4619, 310, 3748, 480, 446, 13, 1377, 288, 3639, 2591, 1058, 273, 733, 1276, 8091, 692, 1850, 14015, 8029, 13, 1612, 2934, 73, 1420, 1435, 294, 5411, 733, 1276, 2591, 692, 5411, 261, 1420, 13, 1612, 294, 5411, 446, 31, 1850, 327, 1058, 422, 446, 747, 401, 4619, 310, 3748, 18, 291, 12066, 12, 3146, 1769, 1377, 289, 565, 289, 565, 469, 288, 327, 629, 31, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 848, 694, 1396, 12, 921, 733, 13, 225, 288, 565, 309, 261, 291, 694, 2121, 13, 565, 288, 1377, 15328, 310, 3748, 15755, 3748, 273, 21221, 310, 3748, 12, 1612, 1769, 1377, 309, 261, 4619, 310, 3748, 480, 446, 13, 1377, 288, 3639, 2591, 1058, 273, 733, 1276, 8091, 692, 1850, 14015, 8029, 13, 1612, 2934, 73, 1420, 1435, 294, 5411, 733, 1276, 2591, 692, 5411, 261, 1420, 13, 1612, 294, 5411, 446, 31, 1850, 327, 1058, 422, 446, 747, 401, 4619, 310, 3748, 18, 291, 12066, 12, 3146, 1769, 1377, 289, 565, 289, 565, 469, 288, 327, 629, 31, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
description = Messages.getString("problemSeverity.description");
description = MarkerMessages.problemSeverity_description;
public FieldSeverity() { description = Messages.getString("problemSeverity.description"); //$NON-NLS-1$ }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/9fd38ff5015f18d343d054773283a2bca6122227/FieldSeverity.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldSeverity.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2286, 21630, 1435, 288, 3639, 2477, 273, 14742, 5058, 18, 18968, 21630, 67, 3384, 31, 4329, 3993, 17, 5106, 17, 21, 8, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2286, 21630, 1435, 288, 3639, 2477, 273, 14742, 5058, 18, 18968, 21630, 67, 3384, 31, 4329, 3993, 17, 5106, 17, 21, 8, 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 ]
private static double internalUTC(double t) {
private static double internalUTC(double t) {
private static double internalUTC(double t) { return t - LocalTZA - DaylightSavingTA(t - LocalTZA); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/ba8f69355a752cc7402f5b559a19be4d84c54e22/NativeDate.java/clean/js/rhino/src/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1645, 2713, 11471, 12, 9056, 268, 13, 288, 3639, 327, 268, 300, 3566, 21647, 37, 300, 13735, 5099, 24660, 9833, 12, 88, 300, 3566, 21647, 37, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1645, 2713, 11471, 12, 9056, 268, 13, 288, 3639, 327, 268, 300, 3566, 21647, 37, 300, 13735, 5099, 24660, 9833, 12, 88, 300, 3566, 21647, 37, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (stack != null && !stack.empty()) { request.setAttribute(StripesConstants.REQ_ATTR_ACTION_BEAN, stack.pop()); }
Object previous = (stack != null && !stack.empty()) ? stack.pop() : null; request.setAttribute(StripesConstants.REQ_ATTR_ACTION_BEAN, previous);
protected void restoreActionBean(HttpServletRequest request) { Stack stack = getActionBeanStack(request, false); if (stack != null && !stack.empty()) { request.setAttribute(StripesConstants.REQ_ATTR_ACTION_BEAN, stack.pop()); } }
9306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9306/ceddc8e8d002e140a60e075fe32c5abfad6680de/DispatcherServlet.java/buggy/stripes/src/net/sourceforge/stripes/controller/DispatcherServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5217, 1803, 3381, 12, 2940, 18572, 590, 13, 288, 3639, 7283, 2110, 273, 12473, 3381, 2624, 12, 2293, 16, 629, 1769, 3639, 309, 261, 3772, 480, 446, 597, 401, 3772, 18, 5531, 10756, 288, 5411, 590, 18, 542, 1499, 12, 16632, 281, 2918, 18, 20373, 67, 12043, 67, 12249, 67, 23703, 16, 2110, 18, 5120, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5217, 1803, 3381, 12, 2940, 18572, 590, 13, 288, 3639, 7283, 2110, 273, 12473, 3381, 2624, 12, 2293, 16, 629, 1769, 3639, 309, 261, 3772, 480, 446, 597, 401, 3772, 18, 5531, 10756, 288, 5411, 590, 18, 542, 1499, 12, 16632, 281, 2918, 18, 20373, 67, 12043, 67, 12249, 67, 23703, 16, 2110, 18, 5120, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (new File(outFile).exists()) {
if (fs.exists(outFile)) {
public void merge(String[] inFiles, String outFile) throws IOException { this.inFiles = inFiles; this.outFile = outFile; this.factor = inFiles.length; if (new File(outFile).exists()) { throw new IOException("already exists: " + outFile); } MergeFiles mergeFiles = new MergeFiles(); try { // make a merge pass mergeFiles.run(); // run it } finally { mergeFiles.close(); // close it } }
49248 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49248/ee01fef4b4fb82c7492a4a747793839a4d14cd39/SequenceFile.java/clean/src/java/org/apache/hadoop/io/SequenceFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2691, 12, 780, 8526, 316, 2697, 16, 514, 21651, 13, 1216, 1860, 288, 1377, 333, 18, 267, 2697, 273, 316, 2697, 31, 1377, 333, 18, 659, 812, 273, 21651, 31, 1377, 333, 18, 6812, 273, 316, 2697, 18, 2469, 31, 1377, 309, 261, 2556, 18, 1808, 12, 659, 812, 3719, 288, 3639, 604, 394, 1860, 2932, 17583, 1704, 30, 315, 397, 21651, 1769, 1377, 289, 1377, 8964, 2697, 2691, 2697, 273, 394, 8964, 2697, 5621, 1377, 775, 288, 4766, 4202, 368, 1221, 279, 2691, 1342, 3639, 2691, 2697, 18, 2681, 5621, 7682, 368, 1086, 518, 1377, 289, 3095, 288, 3639, 2691, 2697, 18, 4412, 5621, 15604, 368, 1746, 518, 1377, 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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812, 273, 316, 2697, 18, 2469, 31, 1377, 309, 261, 2556, 18, 1808, 12, 659, 812, 3719, 288, 3639, 604, 394, 1860, 2932, 17583, 1704, 30, 315, 397, 21651, 1769, 1377, 289, 1377, 8964, 2697, 2691, 2697, 273, 394, 8964, 2697, 5621, 1377, 775, 288, 4766, 4202, 368, 1221, 279, 2691, 1342, 3639, 2691, 2697, 18, 2681, 5621, 7682, 368, 1086, 518, 1377, 289, 3095, 288, 3639, 2691, 2697, 18, 4412, 5621, 15604, 368, 1746, 518, 1377, 289, 565, 289, 2, -100, -100, -100 ]
SymbolList gcta = DNATools.createDNA("gcta"); SymbolList gctt = DNATools.createDNA("gctt");
public void testTooShort() throws IllegalSymbolException, IllegalAlphabetException{ SymbolList zero = DNATools.createDNA(""); SymbolList one = DNATools.createDNA("a"); SymbolList five = DNATools.createDNA("aaaaa"); SymbolList agct3 = DNATools.createDNA("agctagctagct"); SymbolList agct = DNATools.createDNA("agct"); SymbolList aggt = DNATools.createDNA("aggt"); SymbolList gcta = DNATools.createDNA("gcta"); SymbolList gctt = DNATools.createDNA("gctt"); MaxMismatchPattern mmp = new MaxMismatchPattern(agct, 0); assertFalse("Zero length string has no matches", mmp.matcher(zero).find()); assertFalse("One length string has no matches", mmp.matcher(one).find()); assertTrue("Four length identical string has a match", mmp.matcher(agct).find()); assertFalse("Four length non-identical string has no match", mmp.matcher(aggt).find()); }
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/dc62a0a7cf481c21c3be647214959067a3b98f61/MaxMismatchPatternTest.java/clean/tests/org/biojava/bio/search/MaxMismatchPatternTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 10703, 4897, 1435, 225, 1216, 2141, 5335, 503, 16, 2141, 27316, 503, 95, 565, 8565, 682, 3634, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 8863, 565, 8565, 682, 1245, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 69, 8863, 565, 8565, 682, 23714, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 7598, 26676, 8863, 565, 8565, 682, 1737, 299, 23, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 346, 299, 346, 299, 346, 299, 8863, 565, 8565, 682, 1737, 299, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 346, 299, 8863, 565, 8565, 682, 1737, 4521, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 346, 4521, 8863, 565, 8565, 682, 314, 299, 69, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 75, 299, 69, 8863, 565, 8565, 682, 314, 299, 88, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 75, 299, 88, 8863, 565, 4238, 16901, 3234, 312, 1291, 273, 394, 4238, 16901, 3234, 12, 346, 299, 16, 374, 1769, 565, 1815, 8381, 2932, 7170, 769, 533, 711, 1158, 1885, 3113, 312, 1291, 18, 22761, 12, 7124, 2934, 4720, 10663, 565, 1815, 8381, 2932, 3335, 769, 533, 711, 1158, 1885, 3113, 312, 1291, 18, 22761, 12, 476, 2934, 4720, 10663, 565, 1815, 5510, 2932, 42, 477, 769, 12529, 533, 711, 279, 845, 3113, 312, 1291, 18, 22761, 12, 346, 299, 2934, 4720, 10663, 565, 1815, 8381, 2932, 42, 477, 769, 1661, 17, 6392, 1706, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 10703, 4897, 1435, 225, 1216, 2141, 5335, 503, 16, 2141, 27316, 503, 95, 565, 8565, 682, 3634, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 8863, 565, 8565, 682, 1245, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 69, 8863, 565, 8565, 682, 23714, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 7598, 26676, 8863, 565, 8565, 682, 1737, 299, 23, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 346, 299, 346, 299, 346, 299, 8863, 565, 8565, 682, 1737, 299, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 346, 299, 8863, 565, 8565, 682, 1737, 4521, 273, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 346, 4521, 8863, 565, 2 ]
{ if(getRow() <= getMaxRow()) { if(getRow() < getMaxRow()) { setRow(getRow()+1);
{ if(getRow() <= getMaxRow()) { if(getRow() < getMaxRow()) { setRow(getRow()+1); } setAtBegining(false); try { setAllVariable(); table.changeSelection(getRow(), 2, false, false); } catch(ArrayIndexOutOfBoundsException aioobe) { setRow(getRow() - 1); System.out.println("problem"); } if(getRow() == getMaxRow()) { setAtEnd(true); }
public void mOneRowPlus() //- { if(getRow() <= getMaxRow()) { if(getRow() < getMaxRow()) { setRow(getRow()+1); } setAtBegining(false); try { setAllVariable(); table.changeSelection(getRow(),2,false,false); // za predvijvane na selektiraniq red nazad } catch(ArrayIndexOutOfBoundsException aioobe) { setRow(getRow() - 1); System.out.println("problem"); } if(getRow() == getMaxRow()) { setAtEnd(true); } } }
12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/6b93b6232e6573892b4ffefd25f8b5629b857843/FrmNaseleniMesta.java/buggy/src/nom/FrmNaseleniMesta.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 918, 312, 3335, 1999, 13207, 1435, 368, 17, 288, 1377, 309, 12, 588, 1999, 1435, 1648, 7288, 1999, 10756, 1377, 288, 3639, 309, 12, 588, 1999, 1435, 411, 7288, 1999, 10756, 3639, 288, 1850, 444, 1999, 12, 588, 1999, 1435, 15, 21, 1769, 3639, 289, 3639, 444, 861, 8149, 310, 12, 5743, 1769, 3639, 775, 3639, 288, 5411, 30213, 3092, 5621, 7682, 1014, 18, 3427, 6233, 12, 588, 1999, 9334, 22, 16, 5743, 16, 5743, 1769, 368, 25001, 3479, 522, 78, 90, 8806, 9583, 357, 3839, 88, 481, 304, 18638, 1755, 290, 1561, 361, 3639, 289, 3639, 1044, 12, 1076, 30548, 23003, 947, 73, 13, 3639, 288, 5411, 444, 1999, 12, 588, 1999, 1435, 300, 404, 1769, 5411, 2332, 18, 659, 18, 8222, 2932, 18968, 8863, 3639, 289, 3639, 309, 12, 588, 1999, 1435, 422, 7288, 1999, 10756, 3639, 288, 7734, 444, 861, 1638, 12, 3767, 1769, 3639, 289, 1377, 289, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 30, 225, 1071, 918, 312, 3335, 1999, 13207, 1435, 368, 17, 288, 1377, 309, 12, 588, 1999, 1435, 1648, 7288, 1999, 10756, 1377, 288, 3639, 309, 12, 588, 1999, 1435, 411, 7288, 1999, 10756, 3639, 288, 1850, 444, 1999, 12, 588, 1999, 1435, 15, 21, 1769, 3639, 289, 3639, 444, 861, 8149, 310, 12, 5743, 1769, 3639, 775, 3639, 288, 5411, 30213, 3092, 5621, 7682, 1014, 18, 3427, 6233, 12, 588, 1999, 9334, 22, 16, 5743, 16, 5743, 1769, 368, 25001, 3479, 522, 78, 90, 8806, 9583, 357, 3839, 88, 481, 304, 18638, 1755, 290, 1561, 361, 3639, 289, 3639, 1044, 12, 1076, 30548, 23003, 947, 73, 13, 3639, 288, 5411, 444, 1999, 12, 588, 1999, 1435, 300, 404, 1769, 2 ]
if (isNullable(from)) { return true; }
boolean isNullable(QFrame frame, List equalities) { List cols = new ArrayList(); List ocols = new ArrayList(); QFrame fframe = null; QFrame oframe = null; for (Iterator it = equalities.iterator(); it.hasNext(); ) { Equality eq = (Equality) it.next(); QValue from; QValue other; if (frame.contains(eq.getLeft()) && !frame.contains(eq.getRight())) { from = eq.getLeft(); other = eq.getRight(); } else if (frame.contains(eq.getRight()) && !frame.contains(eq.getLeft())) { from = eq.getRight(); other = eq.getLeft(); } else { return true; } if (oframe == null) { fframe = from.getFrame(); oframe = other.getFrame(); } else if (!oframe.equals(other.getFrame()) || !fframe.equals(from.getFrame())) { return true; } cols.add(from.getColumn()); ocols.add(other.getColumn()); } if (oframe == null) { return true; } if (oframe.isOuter()) { return true; } if (oframe.getTable() == null || fframe.getTable() == null) { return true; } String table = fframe.getTable(); String otable = oframe.getTable(); if (table.equals(otable) && cols.equals(ocols) && isConstrained(table, cols)) { // XXX: technically we should make sure none of the columns // are nullable return false; } Table t = m_root.getTable(table); if (t == null) { return true; } Table ot = m_root.getTable(otable); if (ot == null) { return true; } ForeignKey from = ot.getForeignKey(columns(ot, ocols)); if (from == null) { return true; } if (isNullable(from)) { return true; } UniqueKey to = t.getUniqueKey(columns(t, cols)); if (to == null) { return true; } if (isNullable(to)) { return true; } if (isConnected(from, to)) { return false; } return true; }
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/f55722558ddefd539eac3380793d11de01f782d0/Generator.java/buggy/archive/qgen/src/com/redhat/persistence/oql/Generator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 31384, 12, 53, 3219, 2623, 16, 987, 3959, 1961, 13, 288, 3639, 987, 5347, 273, 394, 2407, 5621, 3639, 987, 320, 6842, 273, 394, 2407, 5621, 3639, 2238, 3219, 284, 3789, 273, 446, 31, 3639, 2238, 3219, 434, 1474, 273, 446, 31, 3639, 364, 261, 3198, 518, 273, 3959, 1961, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 5411, 9057, 560, 7555, 273, 261, 20273, 13, 518, 18, 4285, 5621, 5411, 2238, 620, 628, 31, 5411, 2238, 620, 1308, 31, 5411, 309, 261, 3789, 18, 12298, 12, 11253, 18, 588, 3910, 10756, 597, 7734, 401, 3789, 18, 12298, 12, 11253, 18, 588, 4726, 1435, 3719, 288, 7734, 628, 273, 7555, 18, 588, 3910, 5621, 7734, 1308, 273, 7555, 18, 588, 4726, 5621, 5411, 289, 469, 309, 261, 3789, 18, 12298, 12, 11253, 18, 588, 4726, 10756, 597, 15604, 401, 3789, 18, 12298, 12, 11253, 18, 588, 3910, 1435, 3719, 288, 7734, 628, 273, 7555, 18, 588, 4726, 5621, 7734, 1308, 273, 7555, 18, 588, 3910, 5621, 5411, 289, 469, 288, 7734, 327, 638, 31, 5411, 289, 5411, 309, 261, 792, 1474, 422, 446, 13, 288, 7734, 284, 3789, 273, 628, 18, 588, 3219, 5621, 7734, 434, 1474, 273, 1308, 18, 588, 3219, 5621, 5411, 289, 469, 309, 16051, 792, 1474, 18, 14963, 12, 3011, 18, 588, 3219, 10756, 747, 15604, 401, 1403, 1474, 18, 14963, 12, 2080, 18, 588, 3219, 1435, 3719, 288, 7734, 327, 638, 31, 5411, 289, 5411, 5347, 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, 1250, 31384, 12, 53, 3219, 2623, 16, 987, 3959, 1961, 13, 288, 3639, 987, 5347, 273, 394, 2407, 5621, 3639, 987, 320, 6842, 273, 394, 2407, 5621, 3639, 2238, 3219, 284, 3789, 273, 446, 31, 3639, 2238, 3219, 434, 1474, 273, 446, 31, 3639, 364, 261, 3198, 518, 273, 3959, 1961, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 5411, 9057, 560, 7555, 273, 261, 20273, 13, 518, 18, 4285, 5621, 5411, 2238, 620, 628, 31, 5411, 2238, 620, 1308, 31, 5411, 309, 261, 3789, 18, 12298, 12, 11253, 18, 588, 3910, 10756, 597, 7734, 401, 3789, 18, 12298, 12, 11253, 18, 588, 4726, 1435, 3719, 288, 7734, 628, 273, 7555, 18, 588, 3910, 5621, 7734, 2 ]
InputSource in; try { in = new InputSource(new FileInputStream(filename));
System.out.println("Loading classes, parsing "+filename+", and setting up serializer"); InputSource in = new InputSource(new FileInputStream(filename)); DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance(); Document doc = dfactory.newDocumentBuilder().parse(in); Transformer serializer = TransformerFactory.newInstance().newTransformer(); serializer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes"); System.out.println("Querying DOM using "+xpath); NodeIterator nl = XPathAPI.selectNodeIterator(doc, xpath); System.out.println("<output>"); Node n; while ((n = nl.nextNode())!= null) { serializer.transform(new DOMSource(n), new StreamResult(System.out)); System.out.println();
public void doMain(String[] args) { filename = args[0]; xpath = args[1]; if ((filename != null) && (filename.length() > 0) && (xpath != null) && (xpath.length() > 0)) { InputSource in; try { in = new InputSource(new FileInputStream(filename)); } catch (FileNotFoundException fnf) { System.err.println("FileInputStream of " + filename + " threw: " + fnf.toString()); fnf.printStackTrace(); return; } Document doc = null; try { DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = dfactory.newDocumentBuilder(); doc = docBuilder.parse(in); } catch (ParserConfigurationException pce) { pce.printStackTrace(); } catch(Exception e1) { System.err.println("Parsing " + filename + " threw: " + e1.toString()); e1.printStackTrace(); return; } NodeIterator nl = null; try { // Use the simple XPath API to select a nodeIterator. nl = XPathAPI.selectNodeIterator(doc, xpath); } catch (Exception e2) { System.err.println("selectNodeIterator threw: " + e2.toString() + " perhaps your xpath didn't select any nodes"); e2.printStackTrace(); return; } try { // Get a Serializer Serializer ser = SerializerFactory.getSerializer (OutputProperties.getDefaultMethodProperties("xml")); // Serialize to the screen. ser.setOutputStream(System.out); Node n = null; while ((n = nl.nextNode())!= null) { //System.out.println("Node is " + n.getNodeName()); ser.asDOMSerializer().serialize(n); } } catch (Exception e3) { e3.printStackTrace(); return; } } else { System.out.println("Bad input args: " + filename + ", " + xpath); } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/2e8b92984756cc9caa2001d99efdca20961589da/ApplyXPath.java/clean/samples/ApplyXPath/ApplyXPath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 741, 6376, 12, 780, 8526, 833, 13, 225, 288, 565, 1544, 273, 833, 63, 20, 15533, 565, 6748, 273, 833, 63, 21, 15533, 565, 309, 14015, 3459, 480, 446, 13, 597, 261, 3459, 18, 2469, 1435, 405, 374, 13, 3639, 597, 261, 18644, 480, 446, 13, 597, 261, 18644, 18, 2469, 1435, 405, 374, 3719, 565, 288, 1377, 23699, 316, 31, 1377, 775, 1377, 288, 3639, 316, 273, 394, 23699, 12, 2704, 11907, 12, 3459, 10019, 1377, 289, 1377, 1044, 261, 812, 3990, 2295, 74, 13, 1377, 288, 3639, 2332, 18, 370, 18, 8222, 2932, 812, 4348, 434, 315, 397, 1544, 397, 315, 21146, 30, 315, 397, 2295, 74, 18, 10492, 10663, 3639, 2295, 74, 18, 1188, 6332, 5621, 3639, 327, 31, 1377, 289, 1377, 4319, 997, 273, 446, 31, 1377, 775, 1377, 288, 21114, 565, 30236, 302, 6848, 273, 30236, 18, 2704, 1442, 5621, 202, 1377, 4319, 1263, 997, 1263, 273, 302, 6848, 18, 2704, 2519, 1263, 5621, 3639, 997, 273, 997, 1263, 18, 2670, 12, 267, 1769, 1377, 289, 202, 565, 1044, 261, 2678, 10737, 293, 311, 13, 1377, 288, 202, 1377, 293, 311, 18, 1188, 6332, 5621, 1377, 289, 1377, 1044, 12, 503, 425, 21, 13, 1377, 288, 3639, 2332, 18, 370, 18, 8222, 2932, 13963, 315, 397, 1544, 397, 315, 21146, 30, 315, 397, 425, 21, 18, 10492, 10663, 3639, 425, 21, 18, 1188, 6332, 5621, 3639, 327, 31, 1377, 289, 1377, 2029, 3198, 7741, 273, 446, 31, 1377, 775, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 741, 6376, 12, 780, 8526, 833, 13, 225, 288, 565, 1544, 273, 833, 63, 20, 15533, 565, 6748, 273, 833, 63, 21, 15533, 565, 309, 14015, 3459, 480, 446, 13, 597, 261, 3459, 18, 2469, 1435, 405, 374, 13, 3639, 597, 261, 18644, 480, 446, 13, 597, 261, 18644, 18, 2469, 1435, 405, 374, 3719, 565, 288, 1377, 23699, 316, 31, 1377, 775, 1377, 288, 3639, 316, 273, 394, 23699, 12, 2704, 11907, 12, 3459, 10019, 1377, 289, 1377, 1044, 261, 812, 3990, 2295, 74, 13, 1377, 288, 3639, 2332, 18, 370, 18, 8222, 2932, 812, 4348, 434, 315, 397, 1544, 397, 315, 21146, 30, 315, 397, 2295, 74, 18, 10492, 10663, 3639, 2295, 74, 18, 2 ]
event.setEventLog("event dao test log");
event.setEventLog("Y"); event.setEventDisplay("Y");
public void testSave() { OnmsEvent event = new OnmsEvent(); event.setDistPoller(getDistPollerDao().load("localhost")); event.setEventCreateTime(new Date()); event.setEventDescr("event dao test"); event.setEventHost("localhost"); event.setEventLog("event dao test log"); event.setEventLogGroup("event dao test log group"); event.setEventLogMsg("event dao test log msg"); event.setEventSeverity(new Integer(7)); event.setEventSource("EventDaoTest"); event.setEventTime(new Date()); event.setEventUei("uei://org/opennms/test/EventDaoTest"); getEventDao().save(event); getOutageDao(); //it works we're so smart! hehe event = getEventDao().load(event.getId()); assertEquals("ICMP", event.getService().getServiceType().getName()); }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/d516658447f4d38fe721624210961245a63e060b/EventDaoTest.java/buggy/opennms-model/src/test/java/org/opennms/netmgt/dao/EventDaoTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 4755, 1435, 288, 3639, 2755, 959, 1133, 871, 273, 394, 2755, 959, 1133, 5621, 3639, 871, 18, 542, 5133, 5850, 749, 12, 588, 5133, 5850, 749, 11412, 7675, 945, 2932, 13014, 7923, 1769, 3639, 871, 18, 542, 1133, 1684, 950, 12, 2704, 2167, 10663, 3639, 871, 18, 542, 1133, 16198, 2932, 2575, 15229, 1842, 8863, 3639, 871, 18, 542, 1133, 2594, 2932, 13014, 8863, 3639, 871, 18, 542, 1133, 1343, 2932, 61, 8863, 871, 18, 542, 1133, 4236, 2932, 61, 8863, 3639, 871, 18, 542, 1133, 1343, 1114, 2932, 2575, 15229, 1842, 613, 1041, 8863, 3639, 871, 18, 542, 1133, 1343, 3332, 2932, 2575, 15229, 1842, 613, 1234, 8863, 3639, 871, 18, 542, 1133, 21630, 12, 2704, 2144, 12, 27, 10019, 3639, 871, 18, 542, 26568, 2932, 1133, 11412, 4709, 8863, 3639, 871, 18, 542, 1133, 950, 12, 2704, 2167, 10663, 3639, 871, 18, 542, 1133, 57, 73, 77, 2932, 344, 77, 2207, 3341, 19, 3190, 82, 959, 19, 3813, 19, 1133, 11412, 4709, 8863, 3639, 9832, 11412, 7675, 5688, 12, 2575, 1769, 3639, 23141, 410, 11412, 5621, 3639, 368, 305, 6330, 732, 4565, 1427, 13706, 5, 3904, 580, 3639, 871, 273, 9832, 11412, 7675, 945, 12, 2575, 18, 26321, 10663, 3639, 1815, 8867, 2932, 2871, 4566, 3113, 871, 18, 588, 1179, 7675, 588, 1179, 559, 7675, 17994, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 4755, 1435, 288, 3639, 2755, 959, 1133, 871, 273, 394, 2755, 959, 1133, 5621, 3639, 871, 18, 542, 5133, 5850, 749, 12, 588, 5133, 5850, 749, 11412, 7675, 945, 2932, 13014, 7923, 1769, 3639, 871, 18, 542, 1133, 1684, 950, 12, 2704, 2167, 10663, 3639, 871, 18, 542, 1133, 16198, 2932, 2575, 15229, 1842, 8863, 3639, 871, 18, 542, 1133, 2594, 2932, 13014, 8863, 3639, 871, 18, 542, 1133, 1343, 2932, 61, 8863, 871, 18, 542, 1133, 4236, 2932, 61, 8863, 3639, 871, 18, 542, 1133, 1343, 1114, 2932, 2575, 15229, 1842, 613, 1041, 8863, 3639, 871, 18, 542, 1133, 1343, 3332, 2932, 2575, 15229, 1842, 613, 1234, 8863, 3639, 871, 18, 542, 1133, 21630, 2 ]
private boolean init(Display display) { // setup debug mode if required. if (WorkbenchPlugin.getDefault().isDebugging()) { WorkbenchPlugin.DEBUG = true; ModalContext.setDebugMode(true); } // create workbench window manager windowManager = new WindowManager(); IIntroRegistry introRegistry = WorkbenchPlugin.getDefault() .getIntroRegistry(); if (introRegistry.getIntroCount() > 0) { IProduct product = Platform.getProduct(); if (product != null) { introDescriptor = (IntroDescriptor) introRegistry .getIntroForProduct(product.getId()); } } // begin the initialization of the activity, command, and context // managers workbenchActivitySupport = new WorkbenchActivitySupport(); activityHelper = ActivityPersistanceHelper.getInstance(); /* * TODO This is the beginning of the new services support for commands * and such like. This needs to be further thought out. */ commandManager = new CommandManager(); final CommandService commandService = new CommandService(commandManager); services[IWorkbenchServices.COMMAND] = commandService; commandService.readRegistryAndPreferences(); ContextManager.DEBUG = Policy.DEBUG_CONTEXTS; contextManager = new ContextManager(); services[IWorkbenchServices.CONTEXT] = new ContextService( contextManager); BindingManager.DEBUG = Policy.DEBUG_KEY_BINDINGS; bindingManager = new BindingManager(contextManager); final IBindingService bindingService = new BindingService( bindingManager); services[IWorkbenchServices.BINDING] = bindingService; bindingService.readRegistryAndPreferences(commandService); /* * TODO Putting this here is a like a sword in my side. But alas, the * handler support from XML just isn't up to the task yet. */ final Command command = commandService.getCommand("org.eclipse.ui.views.showView"); //$NON-NLS-1$ command.setHandler(new ShowViewHandler()); /* * TODO This is the deprecated support. It would be nice to pull out all * of this except for the Workbench*Support constructors. */ workbenchContextSupport = new WorkbenchContextSupport(this, contextManager); workbenchCommandSupport = new WorkbenchCommandSupport(this, bindingManager, commandManager, contextManager, commandService); workbenchContextSupport.initialize(); // deferred key binding support initializeCommandResolver(); addWindowListener(windowListener); // end the initialization of the activity, command, and context // managers initializeImages(); initializeFonts(); initializeColors(); initializeApplicationColors(); // now that the workbench is sufficiently initialized, let the advisor // have a turn. advisor.internalBasicInitialize(getWorkbenchConfigurer()); // configure use of color icons in toolbars boolean useColorIcons = getPreferenceStore().getBoolean( IPreferenceConstants.COLOR_ICONS); ActionContributionItem.setUseColorIconsInToolbars(useColorIcons); // initialize workbench single-click vs double-click behavior initializeSingleClickOption(); // deadlock code boolean avoidDeadlock = true; String[] commandLineArgs = Platform.getCommandLineArgs(); for (int i = 0; i < commandLineArgs.length; i++) { if (commandLineArgs[i].equalsIgnoreCase("-allowDeadlock")) //$NON-NLS-1$ avoidDeadlock = false; } if (avoidDeadlock) { UILockListener uiLockListener = new UILockListener(display); Platform.getJobManager().setLockListener(uiLockListener); display .setSynchronizer(new UISynchronizer(display, uiLockListener)); } // attempt to restore a previous workbench state try { UIStats.start(UIStats.RESTORE_WORKBENCH, "Workbench"); //$NON-NLS-1$ advisor.preStartup(); if (!advisor.openWindows()) { return false; } } finally { UIStats.end(UIStats.RESTORE_WORKBENCH, this, "Workbench"); //$NON-NLS-1$ } forceOpenPerspective(); isStarting = false; return true; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/ea7ac410ca1679440e06e6471e53f91b8a04e627/Workbench.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1208, 12, 4236, 2562, 13, 288, 202, 202, 759, 3875, 1198, 1965, 309, 1931, 18, 202, 202, 430, 261, 2421, 22144, 3773, 18, 588, 1868, 7675, 291, 2829, 1998, 10756, 288, 1082, 202, 2421, 22144, 3773, 18, 9394, 273, 638, 31, 1082, 202, 20191, 1042, 18, 542, 2829, 2309, 12, 3767, 1769, 202, 202, 97, 202, 202, 759, 752, 1440, 22144, 2742, 3301, 202, 202, 5668, 1318, 273, 394, 6076, 1318, 5621, 202, 202, 45, 1702, 303, 4243, 13079, 4243, 273, 4147, 22144, 3773, 18, 588, 1868, 1435, 9506, 202, 18, 588, 1702, 303, 4243, 5621, 202, 202, 430, 261, 23342, 4243, 18, 588, 1702, 303, 1380, 1435, 405, 374, 13, 288, 1082, 202, 45, 4133, 3017, 273, 11810, 18, 588, 4133, 5621, 1082, 202, 430, 261, 5896, 480, 446, 13, 288, 9506, 202, 23342, 3187, 273, 261, 1702, 303, 3187, 13, 13079, 4243, 25083, 202, 18, 588, 1702, 303, 1290, 4133, 12, 5896, 18, 26321, 10663, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 2376, 326, 10313, 434, 326, 5728, 16, 1296, 16, 471, 819, 202, 202, 759, 21103, 202, 202, 1252, 22144, 6193, 6289, 273, 394, 4147, 22144, 6193, 6289, 5621, 202, 202, 9653, 2276, 273, 9621, 12771, 1359, 2276, 18, 588, 1442, 5621, 202, 202, 20308, 1082, 380, 2660, 1220, 353, 326, 8435, 434, 326, 394, 4028, 2865, 364, 4364, 1082, 380, 471, 4123, 3007, 18, 1220, 4260, 358, 506, 9271, 286, 83, 9540, 596, 18, 1082, 1195, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1208, 12, 4236, 2562, 13, 288, 202, 202, 759, 3875, 1198, 1965, 309, 1931, 18, 202, 202, 430, 261, 2421, 22144, 3773, 18, 588, 1868, 7675, 291, 2829, 1998, 10756, 288, 1082, 202, 2421, 22144, 3773, 18, 9394, 273, 638, 31, 1082, 202, 20191, 1042, 18, 542, 2829, 2309, 12, 3767, 1769, 202, 202, 97, 202, 202, 759, 752, 1440, 22144, 2742, 3301, 202, 202, 5668, 1318, 273, 394, 6076, 1318, 5621, 202, 202, 45, 1702, 303, 4243, 13079, 4243, 273, 4147, 22144, 3773, 18, 588, 1868, 1435, 9506, 202, 18, 588, 1702, 303, 4243, 5621, 202, 202, 430, 261, 23342, 4243, 18, 588, 1702, 303, 1380, 1435, 405, 374, 13, 288, 1082, 202, 45, 2 ]
public ResultsLogger(Date startDt)
private ResultsLogger()
public ResultsLogger(Date startDt) { this.resultDAO = new ChecksumResultDAO(); LOG.info(msg("run-start-time") + ": " + DATE_FORMAT.format(startDt)); }
49711 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49711/6c35684c85aea40f564514743cf353881f53e165/ResultsLogger.java/buggy/dspace/src/org/dspace/checker/ResultsLogger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 10351, 3328, 1435, 565, 288, 3639, 333, 18, 2088, 18485, 273, 394, 19760, 1253, 18485, 5621, 3639, 2018, 18, 1376, 12, 3576, 2932, 2681, 17, 1937, 17, 957, 7923, 397, 6398, 315, 397, 11457, 67, 7254, 18, 2139, 12, 1937, 19739, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 10351, 3328, 1435, 565, 288, 3639, 333, 18, 2088, 18485, 273, 394, 19760, 1253, 18485, 5621, 3639, 2018, 18, 1376, 12, 3576, 2932, 2681, 17, 1937, 17, 957, 7923, 397, 6398, 315, 397, 11457, 67, 7254, 18, 2139, 12, 1937, 19739, 10019, 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 ]
public static boolean isTrue(boolean expression, String message) { if (!expression) throw new AssertionFailedException("assertion failed; "+message); return expression;
public static boolean isTrue(boolean expression) { return isTrue(expression, "");
public static boolean isTrue(boolean expression, String message) { if (!expression) throw new AssertionFailedException("assertion failed; "+message); //$NON-NLS-1$ return expression;}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/2fcc7d0f6d73a0e1ec44b95addeba29a0b163a14/Assert.java/buggy/org.eclipse.jdt.core.tests.builder/src/org/eclipse/jdt/core/tests/builder/Assert.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 760, 1250, 21332, 12, 6494, 2652, 16, 514, 883, 13, 288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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 760, 1250, 21332, 12, 6494, 2652, 16, 514, 883, 13, 288, 202, 430, 16051, 8692, 13, 202, 202, 12849, 394, 9067, 12417, 2932, 29104, 2535, 31, 13773, 2150, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 2463, 2652, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
prefSize = preferredSize;
prefSize = new Dimension(preferredSize);
public Dimension getPreferredSize() { Dimension prefSize = null; if (preferredSize != null) prefSize = preferredSize; else if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) prefSize = s; } if (prefSize == null) prefSize = super.getPreferredSize(); // make sure that prefSize is not smaller than minSize if (minimumSize != null && prefSize != null && (minimumSize.width > prefSize.width || minimumSize.height > prefSize.height)) prefSize = new Dimension(Math.max(minimumSize.width, prefSize.width), Math.max(minimumSize.height, prefSize.height)); return prefSize; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a7c2bfad7a98617f9973c753d7b20b1d8612d7b9/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 12822, 4193, 1225, 1435, 225, 288, 565, 13037, 11307, 1225, 273, 446, 31, 565, 309, 261, 23616, 1225, 480, 446, 13, 1377, 11307, 1225, 273, 394, 13037, 12, 23616, 1225, 1769, 565, 469, 309, 261, 4881, 480, 446, 13, 1377, 288, 3639, 13037, 272, 273, 5915, 18, 588, 16028, 1225, 12, 2211, 1769, 3639, 309, 261, 87, 480, 446, 13, 1850, 11307, 1225, 273, 272, 31, 1377, 289, 565, 309, 261, 25724, 1225, 422, 446, 13, 1377, 11307, 1225, 273, 2240, 18, 588, 16028, 1225, 5621, 565, 368, 1221, 3071, 716, 11307, 1225, 353, 486, 10648, 2353, 29343, 565, 309, 261, 15903, 1225, 480, 446, 597, 11307, 1225, 480, 446, 3639, 597, 261, 15903, 1225, 18, 2819, 405, 11307, 1225, 18, 2819, 5411, 747, 5224, 1225, 18, 4210, 405, 11307, 1225, 18, 4210, 3719, 3639, 11307, 1225, 273, 394, 13037, 12, 10477, 18, 1896, 12, 15903, 1225, 18, 2819, 16, 11307, 1225, 18, 2819, 3631, 4766, 2361, 18, 1896, 12, 15903, 1225, 18, 4210, 16, 11307, 1225, 18, 4210, 10019, 565, 327, 11307, 1225, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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446, 13, 1377, 288, 3639, 13037, 272, 273, 5915, 18, 588, 16028, 1225, 12, 2211, 1769, 3639, 309, 261, 87, 480, 446, 13, 1850, 11307, 1225, 273, 272, 31, 1377, 289, 565, 309, 261, 25724, 1225, 422, 446, 13, 1377, 11307, 1225, 273, 2240, 18, 588, 16028, 1225, 5621, 565, 368, 1221, 3071, 716, 11307, 1225, 353, 486, 10648, 2353, 29343, 565, 309, 261, 15903, 1225, 480, 446, 597, 11307, 1225, 480, 446, 3639, 597, 261, 15903, 1225, 18, 2 ]
public Composite getSeriesAttributeSheet( Composite parent, Series series )
public Composite getSeriesAttributeSheet( Composite parent, Series series, IUIServiceProvider builder, Object oContext )
public Composite getSeriesAttributeSheet( Composite parent, Series series ) { return new BarSeriesAttributeComposite( parent, SWT.NONE, series ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ac26365eb54b9a10e69498a213cb6f605f15760b/BarSeriesUIProvider.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/series/BarSeriesUIProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14728, 336, 6485, 1499, 8229, 12, 14728, 982, 16, 9225, 4166, 262, 202, 95, 202, 202, 2463, 394, 16654, 6485, 1499, 9400, 12, 982, 16, 348, 8588, 18, 9826, 16, 4166, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14728, 336, 6485, 1499, 8229, 12, 14728, 982, 16, 9225, 4166, 262, 202, 95, 202, 202, 2463, 394, 16654, 6485, 1499, 9400, 12, 982, 16, 348, 8588, 18, 9826, 16, 4166, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
TaskUiUtil.openEditor(newTask, true);
public void run() { Task newTask = new Task(TasksUiPlugin.getTaskListManager().genUniqueTaskHandle(), DESCRIPTION_DEFAULT, true); Calendar reminderCalendar = GregorianCalendar.getInstance(); TasksUiPlugin.getTaskListManager().setScheduledToday(reminderCalendar); TasksUiPlugin.getTaskListManager().setReminder(newTask, reminderCalendar.getTime()); Object selectedObject = null; if (view != null) { selectedObject = ((IStructuredSelection) view.getViewer().getSelection()).getFirstElement(); } if (selectedObject instanceof TaskCategory) { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) selectedObject); } else if (selectedObject instanceof ITask) { ITask task = (ITask) selectedObject; if (task.getContainer() instanceof TaskCategory) { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) task.getContainer()); } else if (view.getDrilledIntoCategory() instanceof TaskCategory) { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) view.getDrilledIntoCategory()); } else { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, TasksUiPlugin.getTaskListManager().getTaskList().getRootCategory()); } } else if (view != null && view.getDrilledIntoCategory() instanceof TaskCategory) { TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) view.getDrilledIntoCategory()); } else { if (view != null && view.getDrilledIntoCategory() != null) { MessageDialog.openInformation(Display.getCurrent().getActiveShell(), TasksUiPlugin.TITLE_DIALOG, "The new task has been added to the root of the list, since tasks can not be added to a query."); } TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, TasksUiPlugin.getTaskListManager().getTaskList().getRootCategory()); } //TaskUiUtil.openEditor(newTask, true); if (view != null) { view.getViewer().refresh(); view.setInRenameAction(true); view.getViewer().editElement(newTask, 4); view.setInRenameAction(false); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/c6405ae121b75cce2f91e250fae83ffbc9f3c463/NewLocalTaskAction.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/NewLocalTaskAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 918, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 1086, 1435, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 288, 202, 202, 2174, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 394, 2174, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 273, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 394, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 3837, 12, 6685, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 4507, 6303, 2174, 3259, 9334, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 21736, 67, 5280, 16, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 638, 1769, 202, 202, 7335, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 849, 14055, 7335, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 273, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 28033, 18, 588, 1442, 5621, 202, 202, 6685, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 542, 10660, 56, 20136, 12, 2764, 14055, 7335, 1769, 202, 202, 6685, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 542, 1933, 14055, 12, 2704, 2174, 16, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 849, 14055, 7335, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 918, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 1086, 1435, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 288, 202, 202, 2174, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 394, 2174, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 273, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 394, 2174, 13943, 1304, 18, 3190, 6946, 12, 2704, 2174, 16, 638, 1769, 3837, 12, 6685, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 4507, 6303, 2174, 3259, 9334, 2174, 13943, 1304, 18, 3190, 2 ]
token = new Token(TOKEN_SEMI, position, position+1, line, linePosition, text);
token = new Token(TOKEN_SEMI, position, position+1, internalPositionOffset, line, linePosition, text);
public List parseTokens() { List tokens = new ArrayList(); position = -1; line = 0; lines.add(new Integer(0)); while(nextCharacter()) { Token token = null; if(C(0) == '\'') token = matchSingleQuoteString(); else if(C(0) == '\"') token = matchDoubleQuoteString(); else if(C(0) == '/' && C(1) == '/') token = matchSingleComment(); else if(C(0) == '/' && C(1) == '*') token = matchComplexComment(); else if(C(0) == '{') token = matchBlock(); else if(C(0) == ':') token = new Token(TOKEN_COLON, position, position+1, line, linePosition, text); else if(C(0) == ';') token = new Token(TOKEN_SEMI, position, position+1, line, linePosition, text); else if(isLetter()) token = matchID(); else if(C(0) == '(') token = new Token(TOKEN_LPAREN, position, position+1, line, linePosition, text); else if(C(0) == ')') token = new Token(TOKEN_RPAREN, position, position+1, line, linePosition, text); else if(!isWhitespace()) token = new Token(TOKEN_CHAR, position, position+1, line, linePosition, text); if(token != null) tokens.add(token); } return tokens; }
4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/7f8549f7ce7c14aa4186cb9c323bbc530f854560/Lexer.java/clean/src/org/antlr/works/parser/Lexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 1109, 5157, 1435, 288, 3639, 987, 2430, 273, 394, 2407, 5621, 3639, 1754, 273, 300, 21, 31, 3639, 980, 273, 374, 31, 3639, 2362, 18, 1289, 12, 2704, 2144, 12, 20, 10019, 3639, 1323, 12, 4285, 7069, 10756, 288, 5411, 3155, 1147, 273, 446, 31, 5411, 309, 12, 39, 12, 20, 13, 422, 14118, 6134, 7734, 1147, 273, 845, 5281, 10257, 780, 5621, 5411, 469, 309, 12, 39, 12, 20, 13, 422, 2337, 5187, 13, 7734, 1147, 273, 845, 5265, 10257, 780, 5621, 5411, 469, 309, 12, 39, 12, 20, 13, 422, 2023, 597, 385, 12, 21, 13, 422, 2023, 13, 7734, 1147, 273, 845, 5281, 4469, 5621, 5411, 469, 309, 12, 39, 12, 20, 13, 422, 2023, 597, 385, 12, 21, 13, 422, 5306, 13, 7734, 1147, 273, 845, 12795, 4469, 5621, 5411, 469, 309, 12, 39, 12, 20, 13, 422, 2292, 6134, 7734, 1147, 273, 845, 1768, 5621, 5411, 469, 309, 12, 39, 12, 20, 13, 422, 3921, 13, 7734, 1147, 273, 394, 3155, 12, 8412, 67, 4935, 673, 16, 1754, 16, 1754, 15, 21, 16, 980, 16, 980, 2555, 16, 977, 1769, 5411, 469, 309, 12, 39, 12, 20, 13, 422, 7554, 13, 7734, 1147, 273, 394, 3155, 12, 8412, 67, 1090, 7492, 16, 1754, 16, 1754, 15, 21, 16, 2713, 2555, 2335, 16, 980, 16, 980, 2555, 16, 977, 1769, 5411, 469, 309, 12, 291, 13938, 10756, 7734, 1147, 273, 845, 734, 5621, 5411, 469, 309, 12, 39, 12, 20, 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, 987, 1109, 5157, 1435, 288, 3639, 987, 2430, 273, 394, 2407, 5621, 3639, 1754, 273, 300, 21, 31, 3639, 980, 273, 374, 31, 3639, 2362, 18, 1289, 12, 2704, 2144, 12, 20, 10019, 3639, 1323, 12, 4285, 7069, 10756, 288, 5411, 3155, 1147, 273, 446, 31, 5411, 309, 12, 39, 12, 20, 13, 422, 14118, 6134, 7734, 1147, 273, 845, 5281, 10257, 780, 5621, 5411, 469, 309, 12, 39, 12, 20, 13, 422, 2337, 5187, 13, 7734, 1147, 273, 845, 5265, 10257, 780, 5621, 5411, 469, 309, 12, 39, 12, 20, 13, 422, 2023, 597, 385, 12, 21, 13, 422, 2023, 13, 7734, 1147, 273, 845, 5281, 4469, 5621, 5411, 469, 309, 12, 39, 12, 20, 13, 2 ]
fIncludeSymPathsList.expandElement(getSelectedGroup(), 1);
fIncludeSymPathsList.selectElements(new StructuredSelection(curr));
protected void addContributed() { CPElement[] includes = openContainerSelectionDialog(null); if (includes != null && includes.length > 0) { int nElementsChosen = includes.length; // remove duplicates CPElementGroup group = getSelectedGroup(); for (int i = 0; i < nElementsChosen; i++) { CPElement curr = includes[i]; if (!group.contains(curr)) { addPathToResourceGroups(curr, getSelectedGroup(), fIncludeSymPathsList.getElements()); fIncludeSymPathsList.refresh(); fIncludeSymPathsList.expandElement(getSelectedGroup(), 1); updateStatus(); } } } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/6f341e4ccb7d93ec563ced01847760ba22498b8a/CPathIncludeSymbolEntryPage.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/CPathIncludeSymbolEntryPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 527, 442, 11050, 1435, 288, 202, 202, 4258, 1046, 8526, 6104, 273, 1696, 2170, 6233, 6353, 12, 2011, 1769, 202, 202, 430, 261, 18499, 480, 446, 597, 6104, 18, 2469, 405, 374, 13, 288, 1082, 202, 474, 290, 3471, 782, 8918, 273, 6104, 18, 2469, 31, 1082, 202, 759, 1206, 11211, 1082, 202, 4258, 1046, 1114, 1041, 273, 16625, 1114, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 290, 3471, 782, 8918, 31, 277, 27245, 288, 9506, 202, 4258, 1046, 4306, 273, 6104, 63, 77, 15533, 9506, 202, 430, 16051, 1655, 18, 12298, 12, 17016, 3719, 288, 6862, 202, 1289, 743, 774, 1420, 3621, 12, 17016, 16, 16625, 1114, 9334, 284, 8752, 11901, 4466, 682, 18, 588, 3471, 10663, 6862, 202, 74, 8752, 11901, 4466, 682, 18, 9144, 5621, 6862, 202, 74, 8752, 11901, 4466, 682, 18, 12320, 1046, 12, 588, 7416, 1114, 9334, 404, 1769, 6862, 202, 2725, 1482, 5621, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 527, 442, 11050, 1435, 288, 202, 202, 4258, 1046, 8526, 6104, 273, 1696, 2170, 6233, 6353, 12, 2011, 1769, 202, 202, 430, 261, 18499, 480, 446, 597, 6104, 18, 2469, 405, 374, 13, 288, 1082, 202, 474, 290, 3471, 782, 8918, 273, 6104, 18, 2469, 31, 1082, 202, 759, 1206, 11211, 1082, 202, 4258, 1046, 1114, 1041, 273, 16625, 1114, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 290, 3471, 782, 8918, 31, 277, 27245, 288, 9506, 202, 4258, 1046, 4306, 273, 6104, 63, 77, 15533, 9506, 202, 430, 16051, 1655, 18, 12298, 12, 17016, 3719, 288, 6862, 202, 1289, 743, 774, 1420, 3621, 12, 17016, 16, 16625, 1114, 9334, 284, 2 ]
public GroupMember(boolean usePullMode,int size) { setStateSize(size*MEGABYTE); setUsePullMode(usePullMode);
public GroupMember(boolean pullMode,boolean dispMode,int size) { setStateSize(size*MEGABYTE); setUsePullMode(pullMode); setUseDispatcher(dispMode);
public GroupMember(boolean usePullMode,int size) { setStateSize(size*MEGABYTE); //1GB setUsePullMode(usePullMode); }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/4c13201c940a33777143fcefb225d03101c360fc/StreamingStateTransferTest.java/clean/tests/junit/org/jgroups/tests/StreamingStateTransferTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 3756, 4419, 12, 6494, 999, 9629, 2309, 16, 474, 963, 13, 288, 6862, 1082, 202, 542, 1119, 1225, 12, 1467, 14, 958, 43, 2090, 61, 1448, 1769, 368, 21, 5887, 1082, 202, 542, 3727, 9629, 2309, 12, 1202, 9629, 2309, 1769, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 3756, 4419, 12, 6494, 999, 9629, 2309, 16, 474, 963, 13, 288, 6862, 1082, 202, 542, 1119, 1225, 12, 1467, 14, 958, 43, 2090, 61, 1448, 1769, 368, 21, 5887, 1082, 202, 542, 3727, 9629, 2309, 12, 1202, 9629, 2309, 1769, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static void main(String[] args) {
public static void main(String[] args) throws IOException {
public static void main(String[] args) { int port = Integer.parseInt(args[0]); System.out.println("Port number: "+port); Logger.setupStdoutLogging(Logger.MINOR, ""); Yarrow yarrow = new Yarrow(); Node n = new Node(port, yarrow); n.start(new StaticSwapRequestInterval(2000)); new TextModeClientInterface(n); }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/27f407d086a1dbf43da0232680fb0f61503732d4/Node.java/buggy/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1860, 288, 3639, 509, 1756, 273, 2144, 18, 2670, 1702, 12, 1968, 63, 20, 19226, 3639, 2332, 18, 659, 18, 8222, 2932, 2617, 1300, 30, 13773, 655, 1769, 3639, 4242, 18, 8401, 27334, 7735, 12, 3328, 18, 6236, 916, 16, 1408, 1769, 3639, 1624, 7815, 677, 7815, 273, 394, 1624, 7815, 5621, 3639, 2029, 290, 273, 394, 2029, 12, 655, 16, 677, 7815, 1769, 3639, 290, 18, 1937, 12, 2704, 10901, 12521, 691, 4006, 12, 17172, 10019, 3639, 394, 3867, 2309, 1227, 1358, 12, 82, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1860, 288, 3639, 509, 1756, 273, 2144, 18, 2670, 1702, 12, 1968, 63, 20, 19226, 3639, 2332, 18, 659, 18, 8222, 2932, 2617, 1300, 30, 13773, 655, 1769, 3639, 4242, 18, 8401, 27334, 7735, 12, 3328, 18, 6236, 916, 16, 1408, 1769, 3639, 1624, 7815, 677, 7815, 273, 394, 1624, 7815, 5621, 3639, 2029, 290, 273, 394, 2029, 12, 655, 16, 677, 7815, 1769, 3639, 290, 18, 1937, 12, 2704, 10901, 12521, 691, 4006, 12, 17172, 10019, 3639, 394, 3867, 2309, 1227, 1358, 12, 82, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Constraint c = (Constraint)this.appliedConstraints.get( SIZE_CONSTRAINT ); if(size == null) { this.appliedConstraints.remove( SIZE_CONSTRAINT ); } else { if(c != null) { c.setParameter(size); } else { c = new SizeConstraint(); c.setOwningClass(this.owningClass); c.setPropertyName(this.propertyName); c.setParameter(size); this.appliedConstraints.put( SIZE_CONSTRAINT, c ); } } }
Constraint c = (Constraint)this.appliedConstraints.get( SIZE_CONSTRAINT ); if(size == null) { this.appliedConstraints.remove( SIZE_CONSTRAINT ); } else { if(c != null) { c.setParameter(size); } else { c = new SizeConstraint(); c.setOwningClass(this.owningClass); c.setPropertyName(this.propertyName); c.setParameter(size); this.appliedConstraints.put( SIZE_CONSTRAINT, c ); } } }
public void setSize(Range size) { Constraint c = (Constraint)this.appliedConstraints.get( SIZE_CONSTRAINT ); if(size == null) { this.appliedConstraints.remove( SIZE_CONSTRAINT ); } else { if(c != null) { c.setParameter(size); } else { c = new SizeConstraint(); c.setOwningClass(this.owningClass); c.setPropertyName(this.propertyName); c.setParameter(size); this.appliedConstraints.put( SIZE_CONSTRAINT, c ); } } }
53275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53275/975905c7e8c55e5fe91c94dc583c4269318ca341/ConstrainedProperty.java/clean/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19106, 12, 2655, 963, 13, 288, 202, 202, 5806, 276, 273, 261, 5806, 13, 2211, 18, 438, 3110, 4878, 18, 588, 12, 11963, 67, 15199, 11272, 202, 202, 430, 12, 1467, 422, 446, 13, 288, 1082, 202, 2211, 18, 438, 3110, 4878, 18, 4479, 12, 11963, 67, 15199, 11272, 6862, 202, 97, 202, 202, 12107, 288, 1082, 202, 430, 12, 71, 480, 446, 13, 288, 9506, 202, 71, 18, 542, 1662, 12, 1467, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 71, 273, 394, 6321, 5806, 5621, 9506, 202, 71, 18, 542, 3494, 2093, 797, 12, 2211, 18, 995, 310, 797, 1769, 9506, 202, 71, 18, 542, 13073, 12, 2211, 18, 4468, 461, 1769, 9506, 202, 71, 18, 542, 1662, 12, 1467, 1769, 6862, 6862, 202, 2211, 18, 438, 3110, 4878, 18, 458, 12, 11963, 67, 15199, 16, 276, 11272, 1082, 202, 97, 6862, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19106, 12, 2655, 963, 13, 288, 202, 202, 5806, 276, 273, 261, 5806, 13, 2211, 18, 438, 3110, 4878, 18, 588, 12, 11963, 67, 15199, 11272, 202, 202, 430, 12, 1467, 422, 446, 13, 288, 1082, 202, 2211, 18, 438, 3110, 4878, 18, 4479, 12, 11963, 67, 15199, 11272, 6862, 202, 97, 202, 202, 12107, 288, 1082, 202, 430, 12, 71, 480, 446, 13, 288, 9506, 202, 71, 18, 542, 1662, 12, 1467, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 71, 273, 394, 6321, 5806, 5621, 9506, 202, 71, 18, 542, 3494, 2093, 797, 12, 2211, 18, 995, 310, 797, 1769, 9506, 202, 71, 18, 542, 13073, 12, 2211, 18, 4468, 461, 2 ]
if (be.getName().startsWith("META-INF/"))
if (be.getName().startsWith(META_INF))
public BundleEntry getEntry(String path) { BundleEntry be = bundleFile.getEntry(path); if (be == null) { if (digests4entries != null && digests4entries.get(path) == null) return null; throw new RuntimeException("A file has been removed from the bundle: " + getBaseFile().toString() + " : " + path); //$NON-NLS-1$ //$NON-NLS-2$ } if (be.getName().startsWith("META-INF/")) //$NON-NLS-1$ return be; if (!isSigned()) // If there is no signatures, we just return the regular bundle entry return be; return new SignedBundleEntry(be); }
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/29707bf71c393f94fea8a97792cd26c6ce46572a/SignedBundleFile.java/clean/bundles/org.eclipse.osgi/jarverifier/org/eclipse/osgi/internal/verifier/SignedBundleFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8539, 1622, 15428, 12, 780, 589, 13, 288, 202, 202, 3405, 1622, 506, 273, 3440, 812, 18, 588, 1622, 12, 803, 1769, 202, 202, 430, 261, 2196, 422, 446, 13, 288, 1082, 202, 430, 261, 10171, 87, 24, 8219, 480, 446, 597, 5403, 87, 24, 8219, 18, 588, 12, 803, 13, 422, 446, 13, 9506, 202, 2463, 446, 31, 1082, 202, 12849, 394, 3235, 2932, 37, 585, 711, 2118, 3723, 628, 326, 3440, 30, 315, 397, 8297, 812, 7675, 10492, 1435, 397, 315, 294, 315, 397, 589, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 202, 97, 202, 202, 430, 261, 2196, 18, 17994, 7675, 17514, 1190, 12, 19294, 67, 19212, 3719, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 506, 31, 202, 202, 430, 16051, 291, 12294, 10756, 1082, 202, 759, 971, 1915, 353, 1158, 14862, 16, 732, 2537, 327, 326, 6736, 3440, 1241, 1082, 202, 2463, 506, 31, 202, 202, 2463, 394, 16724, 3405, 1622, 12, 2196, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8539, 1622, 15428, 12, 780, 589, 13, 288, 202, 202, 3405, 1622, 506, 273, 3440, 812, 18, 588, 1622, 12, 803, 1769, 202, 202, 430, 261, 2196, 422, 446, 13, 288, 1082, 202, 430, 261, 10171, 87, 24, 8219, 480, 446, 597, 5403, 87, 24, 8219, 18, 588, 12, 803, 13, 422, 446, 13, 9506, 202, 2463, 446, 31, 1082, 202, 12849, 394, 3235, 2932, 37, 585, 711, 2118, 3723, 628, 326, 3440, 30, 315, 397, 8297, 812, 7675, 10492, 1435, 397, 315, 294, 315, 397, 589, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 202, 97, 202, 202, 430, 261, 2196, 18, 17994, 7675, 17514, 1190, 12, 2 ]
0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 175, 0, 174, 177,
0, 180, 0, 182, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 177,
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, }; }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/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 ]
FileInputStream stream = null;
InputStream stream = null;
private byte[] loadClassBytes(String name) throws ClassNotFoundException { FileInputStream stream = null; try { String fileName = name.replaceAll("\\.", "/"); fileName += ".class"; File file = new File("build/classes/test", fileName); byte[] bytes = new byte[(int) file.length()]; stream = new FileInputStream(file); stream.read(bytes); return bytes; } catch (Exception e) { e.printStackTrace(); throw new ClassNotFoundException(e.getMessage(),e); } finally { if (stream != null) try { stream.close(); } catch (IOException e1) { e1.printStackTrace(); } } }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/5824da07523b18e569515e71bd0efab31291d7ec/TestHelper.java/clean/test/org/jruby/test/TestHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1160, 8526, 16038, 2160, 12, 780, 508, 13, 1216, 10403, 288, 5411, 5037, 1407, 273, 446, 31, 5411, 775, 288, 7734, 514, 3968, 273, 508, 18, 2079, 1595, 2932, 1695, 1199, 16, 4016, 1769, 7734, 3968, 1011, 3552, 1106, 14432, 7734, 1387, 585, 273, 394, 1387, 2932, 3510, 19, 4701, 19, 3813, 3113, 3968, 1769, 7734, 1160, 8526, 1731, 273, 394, 1160, 63, 12, 474, 13, 585, 18, 2469, 1435, 15533, 7734, 1407, 273, 394, 11907, 12, 768, 1769, 7734, 1407, 18, 896, 12, 3890, 1769, 7734, 327, 1731, 31, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 425, 18, 1188, 6332, 5621, 7734, 604, 394, 10403, 12, 73, 18, 24906, 9334, 73, 1769, 5411, 289, 3095, 288, 7734, 309, 261, 3256, 480, 446, 13, 10792, 775, 288, 13491, 1407, 18, 4412, 5621, 10792, 289, 1044, 261, 14106, 425, 21, 13, 288, 13491, 425, 21, 18, 1188, 6332, 5621, 10792, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1160, 8526, 16038, 2160, 12, 780, 508, 13, 1216, 10403, 288, 5411, 5037, 1407, 273, 446, 31, 5411, 775, 288, 7734, 514, 3968, 273, 508, 18, 2079, 1595, 2932, 1695, 1199, 16, 4016, 1769, 7734, 3968, 1011, 3552, 1106, 14432, 7734, 1387, 585, 273, 394, 1387, 2932, 3510, 19, 4701, 19, 3813, 3113, 3968, 1769, 7734, 1160, 8526, 1731, 273, 394, 1160, 63, 12, 474, 13, 585, 18, 2469, 1435, 15533, 7734, 1407, 273, 394, 11907, 12, 768, 1769, 7734, 1407, 18, 896, 12, 3890, 1769, 7734, 327, 1731, 31, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 425, 18, 1188, 6332, 5621, 7734, 604, 394, 10403, 12, 73, 18, 24906, 9334, 73, 1769, 5411, 289, 2 ]
UMOEndpointURI url = new MuleEndpointURI("jnp:
UMOEndpointURI url = new MuleEndpointURI( "jnp:
public void testQueryParams2() throws Exception { UMOEndpointURI url = new MuleEndpointURI("jnp://localhost:1099/BeeShirtsjnpServer?method=testMethod&endpointName=jnpProvider&blankParam="); assertEquals("jnp", url.getScheme()); assertEquals("jnp://localhost:1099", url.getAddress()); assertEquals("/BeeShirtsjnpServer", url.getPath()); assertNotNull(url.getEndpointName()); assertEquals("jnpProvider", url.getEndpointName()); assertEquals(1099, url.getPort()); assertEquals("localhost", url.getHost()); assertEquals("jnp://localhost:1099/BeeShirtsjnpServer?method=testMethod&endpointName=jnpProvider&blankParam=", url.toString()); assertEquals("method=testMethod&endpointName=jnpProvider&blankParam=", url.getQuery()); assertEquals(3, url.getParams().size()); assertEquals("testMethod", url.getParams().getProperty(MuleProperties.MULE_METHOD_PROPERTY)); assertEquals("", url.getParams().getProperty("blankParam")); }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/f22bcd2035487efd91d326568c482912217bbe55/JnpEndpointTestCase.java/buggy/transports/rmi/src/test/java/org/mule/providers/jnp/JnpEndpointTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 15148, 22, 1435, 1216, 1185, 565, 288, 3639, 587, 5980, 3293, 3098, 880, 273, 394, 490, 725, 3293, 3098, 2932, 78, 6782, 2207, 13014, 30, 2163, 2733, 19, 27997, 1555, 2714, 87, 78, 6782, 2081, 35, 2039, 33, 3813, 1305, 10, 8003, 461, 33, 78, 6782, 2249, 10, 12111, 786, 1546, 1769, 3639, 1815, 8867, 2932, 78, 6782, 3113, 880, 18, 588, 9321, 10663, 3639, 1815, 8867, 2932, 78, 6782, 2207, 13014, 30, 2163, 2733, 3113, 880, 18, 588, 1887, 10663, 3639, 1815, 8867, 2932, 19, 27997, 1555, 2714, 87, 78, 6782, 2081, 3113, 880, 18, 588, 743, 10663, 3639, 25395, 12, 718, 18, 588, 3293, 461, 10663, 3639, 1815, 8867, 2932, 78, 6782, 2249, 3113, 880, 18, 588, 3293, 461, 10663, 3639, 1815, 8867, 12, 2163, 2733, 16, 880, 18, 588, 2617, 10663, 3639, 1815, 8867, 2932, 13014, 3113, 880, 18, 588, 2594, 10663, 3639, 1815, 8867, 2932, 78, 6782, 2207, 13014, 30, 2163, 2733, 19, 27997, 1555, 2714, 87, 78, 6782, 2081, 35, 2039, 33, 3813, 1305, 10, 8003, 461, 33, 78, 6782, 2249, 10, 12111, 786, 1546, 16, 5397, 880, 18, 10492, 10663, 3639, 1815, 8867, 2932, 2039, 33, 3813, 1305, 10, 8003, 461, 33, 78, 6782, 2249, 10, 12111, 786, 1546, 16, 880, 18, 588, 1138, 10663, 3639, 1815, 8867, 12, 23, 16, 880, 18, 588, 1370, 7675, 1467, 10663, 3639, 1815, 8867, 2932, 3813, 1305, 3113, 880, 18, 588, 1370, 7675, 588, 1396, 12, 49, 725, 2297, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 15148, 22, 1435, 1216, 1185, 565, 288, 3639, 587, 5980, 3293, 3098, 880, 273, 394, 490, 725, 3293, 3098, 2932, 78, 6782, 2207, 13014, 30, 2163, 2733, 19, 27997, 1555, 2714, 87, 78, 6782, 2081, 35, 2039, 33, 3813, 1305, 10, 8003, 461, 33, 78, 6782, 2249, 10, 12111, 786, 1546, 1769, 3639, 1815, 8867, 2932, 78, 6782, 3113, 880, 18, 588, 9321, 10663, 3639, 1815, 8867, 2932, 78, 6782, 2207, 13014, 30, 2163, 2733, 3113, 880, 18, 588, 1887, 10663, 3639, 1815, 8867, 2932, 19, 27997, 1555, 2714, 87, 78, 6782, 2081, 3113, 880, 18, 588, 743, 10663, 3639, 25395, 12, 718, 18, 588, 3293, 461, 10663, 3639, 1815, 8867, 2932, 78, 6782, 2249, 2 ]
return (modes & RDWR) != 0 || (modes & WRONLY) != 0 || (modes & CREAT) != 0;
return isWritable();
public boolean isWriteable() { return (modes & RDWR) != 0 || (modes & WRONLY) != 0 || (modes & CREAT) != 0; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/54e6b8da799629e0b7db879c45149399878f5f84/IOModes.java/buggy/src/org/jruby/util/IOModes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 3067, 429, 1435, 288, 377, 202, 2463, 353, 12061, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
iter = timezones.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry)iter.next(); if (((TimeZone)entry.getValue()).getRawOffset() == rawOffset) ids[count++] = (String)entry.getKey();
iter = timezones().entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry) iter.next(); if (((TimeZone) entry.getValue()).getRawOffset() == rawOffset) ids[count++] = (String) entry.getKey();
public static String[] getAvailableIDs(int rawOffset) { int count = 0; Iterator iter = timezones.entrySet().iterator(); while (iter.hasNext()) { // Don't iterate the values, since we want to count // doubled values (aliases) Map.Entry entry = (Map.Entry)iter.next(); if (((TimeZone)entry.getValue()).getRawOffset() == rawOffset) count++; } String[] ids = new String[count]; count = 0; iter = timezones.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry)iter.next(); if (((TimeZone)entry.getValue()).getRawOffset() == rawOffset) ids[count++] = (String)entry.getKey(); } return ids; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/16fc961d6a1c0f937611cc07e3cd784246a0a769/TimeZone.java/buggy/core/src/classpath/java/java/util/TimeZone.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 8526, 15796, 5103, 12, 474, 1831, 2335, 13, 288, 202, 202, 474, 1056, 273, 374, 31, 202, 202, 3198, 1400, 273, 25954, 18, 4099, 694, 7675, 9838, 5621, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 288, 1082, 202, 759, 7615, 1404, 7401, 326, 924, 16, 3241, 732, 2545, 358, 1056, 1875, 202, 759, 1645, 72, 924, 261, 13831, 13, 1082, 202, 863, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 2165, 18, 4285, 5621, 1082, 202, 430, 261, 12443, 16760, 13, 4099, 18, 24805, 1435, 2934, 588, 4809, 2335, 1435, 422, 1831, 2335, 13, 9506, 202, 1883, 9904, 31, 202, 202, 97, 202, 202, 780, 8526, 3258, 273, 394, 514, 63, 1883, 15533, 202, 202, 1883, 273, 374, 31, 202, 202, 2165, 273, 25954, 18, 4099, 694, 7675, 9838, 5621, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 288, 1082, 202, 863, 18, 1622, 1241, 273, 261, 863, 18, 1622, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 8526, 15796, 5103, 12, 474, 1831, 2335, 13, 288, 202, 202, 474, 1056, 273, 374, 31, 202, 202, 3198, 1400, 273, 25954, 18, 4099, 694, 7675, 9838, 5621, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 288, 1082, 202, 759, 7615, 1404, 7401, 326, 924, 16, 3241, 732, 2545, 358, 1056, 1875, 202, 759, 1645, 72, 924, 261, 13831, 13, 1082, 202, 863, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 2165, 18, 4285, 5621, 1082, 202, 430, 261, 12443, 16760, 13, 4099, 18, 24805, 1435, 2934, 588, 4809, 2335, 1435, 422, 1831, 2335, 13, 9506, 202, 1883, 9904, 31, 202, 202, 97, 202, 202, 780, 8526, 3258, 273, 394, 514, 63, 2 ]
public void casualtyNotification(String step, DiceRoll dice, PlayerID player, Collection killed, Collection damaged, Map dependents)
public void casualtyNotification(GUID battleID, String step, DiceRoll dice, PlayerID player, Collection killed, Collection damaged, Map dependents)
public void casualtyNotification(String step, DiceRoll dice, PlayerID player, Collection killed, Collection damaged, Map dependents) { m_ui.getBattlePanel().casualtyNotification(step,dice, player, killed, damaged, dependents); }
8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/3145f57acb1e4d7dae265b6f1c6fb5ab17a2fe02/TripleaDisplay.java/buggy/triplea/src/games/strategy/triplea/ui/display/TripleaDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 8697, 1462, 4098, 4386, 12, 17525, 324, 4558, 298, 734, 16, 514, 2235, 16, 463, 1812, 24194, 302, 1812, 16, 19185, 734, 7291, 16, 2200, 24859, 16, 2200, 302, 301, 11349, 16, 1635, 2447, 4877, 13, 565, 288, 3639, 312, 67, 4881, 18, 588, 38, 4558, 298, 5537, 7675, 6349, 1462, 4098, 4386, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 8697, 1462, 4098, 4386, 12, 17525, 324, 4558, 298, 734, 16, 514, 2235, 16, 463, 1812, 24194, 302, 1812, 16, 19185, 734, 7291, 16, 2200, 24859, 16, 2200, 302, 301, 11349, 16, 1635, 2447, 4877, 13, 565, 288, 3639, 312, 67, 4881, 18, 588, 38, 4558, 298, 5537, 7675, 6349, 1462, 4098, 4386, 12, 4119, 16, 72, 1812, 16, 7291, 16, 24859, 16, 302, 301, 11349, 16, 2447, 4877, 1769, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
.get("degreeCurricularPlanID") + "&degreeModuleID=" + this.degreeModule.getIdInternal(), "setCurricularRule");
.get("degreeCurricularPlanID") + "&degreeModuleID=" + this.degreeModule.getIdInternal() + organizeBy, "setCurricularRule");
private void encodeCourseGroupOptions() throws IOException { writer.startElement("th", this); writer.writeAttribute("class", "aright", null); writer.writeAttribute("colspan", 3, null); if (!this.showRules) { encodeLink("createCurricularCourse.faces?degreeCurricularPlanID=" + this.facesContext.getExternalContext().getRequestParameterMap() .get("degreeCurricularPlanID") + "&courseGroupID=" + this.degreeModule.getIdInternal(), "create.curricular.course"); writer.append(" , "); encodeLink("associateCurricularCourse.faces?degreeCurricularPlanID=" + this.facesContext.getExternalContext().getRequestParameterMap() .get("degreeCurricularPlanID") + "&courseGroupID=" + this.degreeModule.getIdInternal(), "associate.curricular.course"); } else { encodeLink("../curricularRules/createCurricularRule.faces?degreeCurricularPlanID=" + this.facesContext.getExternalContext().getRequestParameterMap() .get("degreeCurricularPlanID") + "&degreeModuleID=" + this.degreeModule.getIdInternal(), "setCurricularRule"); } writer.endElement("th"); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/af4175c80021bbe7d6bff77a7dc46fab2dc3e798/UICourseGroup.java/clean/src/net/sourceforge/fenixedu/presentationTier/jsf/components/degreeStructure/UICourseGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2017, 39, 3117, 1114, 1320, 1435, 1216, 1860, 288, 3639, 2633, 18, 1937, 1046, 2932, 451, 3113, 333, 1769, 3639, 2633, 18, 2626, 1499, 2932, 1106, 3113, 315, 297, 750, 3113, 446, 1769, 3639, 2633, 18, 2626, 1499, 2932, 1293, 3969, 3113, 890, 16, 446, 1769, 3639, 309, 16051, 2211, 18, 4500, 4478, 13, 288, 5411, 2017, 2098, 2932, 2640, 2408, 1512, 2490, 39, 3117, 18, 4601, 35, 21361, 2408, 1512, 2490, 5365, 734, 1546, 397, 333, 18, 4601, 1042, 18, 588, 6841, 1042, 7675, 588, 691, 1662, 863, 1435, 10792, 263, 588, 2932, 21361, 2408, 1512, 2490, 5365, 734, 7923, 397, 7830, 5566, 30876, 1546, 397, 333, 18, 21361, 3120, 18, 26321, 3061, 9334, 315, 2640, 18, 1397, 1512, 2490, 18, 5566, 8863, 5411, 2633, 18, 6923, 2932, 269, 315, 1769, 5411, 2017, 2098, 2932, 11577, 2408, 1512, 2490, 39, 3117, 18, 4601, 35, 21361, 2408, 1512, 2490, 5365, 734, 1546, 397, 333, 18, 4601, 1042, 18, 588, 6841, 1042, 7675, 588, 691, 1662, 863, 1435, 10792, 263, 588, 2932, 21361, 2408, 1512, 2490, 5365, 734, 7923, 397, 7830, 5566, 30876, 1546, 397, 333, 18, 21361, 3120, 18, 26321, 3061, 9334, 315, 11577, 18, 1397, 1512, 2490, 18, 5566, 8863, 3639, 289, 469, 288, 5411, 2017, 2098, 2932, 6216, 1397, 1512, 2490, 4478, 19, 2640, 2408, 1512, 2490, 2175, 18, 4601, 35, 21361, 2408, 1512, 2490, 5365, 734, 1546, 397, 333, 18, 4601, 1042, 18, 588, 6841, 1042, 7675, 588, 691, 1662, 863, 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, 2017, 39, 3117, 1114, 1320, 1435, 1216, 1860, 288, 3639, 2633, 18, 1937, 1046, 2932, 451, 3113, 333, 1769, 3639, 2633, 18, 2626, 1499, 2932, 1106, 3113, 315, 297, 750, 3113, 446, 1769, 3639, 2633, 18, 2626, 1499, 2932, 1293, 3969, 3113, 890, 16, 446, 1769, 3639, 309, 16051, 2211, 18, 4500, 4478, 13, 288, 5411, 2017, 2098, 2932, 2640, 2408, 1512, 2490, 39, 3117, 18, 4601, 35, 21361, 2408, 1512, 2490, 5365, 734, 1546, 397, 333, 18, 4601, 1042, 18, 588, 6841, 1042, 7675, 588, 691, 1662, 863, 1435, 10792, 263, 588, 2932, 21361, 2408, 1512, 2490, 5365, 734, 7923, 397, 7830, 5566, 30876, 1546, 397, 333, 18, 21361, 3120, 18, 26321, 3061, 9334, 315, 2 ]
eNotify(new ENotificationImpl(this, Notification.UNSET, LayoutPackage.BLOCK__COLUMN, oldColumn, COLUMN_EDEFAULT, oldColumnESet));
eNotify(new ENotificationImpl(this, Notification.UNSET, LayoutPackage.BLOCK__COLUMN, oldColumn, COLUMN_EDEFAULT, oldColumnESet));
public void unsetColumn() { int oldColumn = column; boolean oldColumnESet = columnESet; column = COLUMN_EDEFAULT; columnESet = false; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.UNSET, LayoutPackage.BLOCK__COLUMN, oldColumn, COLUMN_EDEFAULT, oldColumnESet)); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/BlockImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/BlockImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2646, 1494, 1435, 565, 288, 3639, 509, 1592, 1494, 273, 1057, 31, 3639, 1250, 1592, 1494, 41, 694, 273, 1057, 41, 694, 31, 3639, 1057, 273, 13473, 67, 11236, 31, 3639, 1057, 41, 694, 273, 629, 31, 3639, 309, 261, 73, 21107, 10756, 5411, 22596, 12, 2704, 19953, 12, 2211, 16, 8050, 18, 2124, 4043, 16, 9995, 2261, 18, 11403, 972, 11009, 16, 1592, 1494, 16, 13473, 67, 11236, 16, 1592, 1494, 41, 694, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 1071, 918, 2646, 1494, 1435, 565, 288, 3639, 509, 1592, 1494, 273, 1057, 31, 3639, 1250, 1592, 1494, 41, 694, 273, 1057, 41, 694, 31, 3639, 1057, 273, 13473, 67, 11236, 31, 3639, 1057, 41, 694, 273, 629, 31, 3639, 309, 261, 73, 21107, 10756, 5411, 22596, 12, 2704, 19953, 12, 2211, 16, 8050, 18, 2124, 4043, 16, 9995, 2261, 18, 11403, 972, 11009, 16, 1592, 1494, 16, 13473, 67, 11236, 16, 1592, 1494, 41, 694, 10019, 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 ]