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
Object o = jdkFieldAcc.get(null);
/* Consistency check. */ if (jdkFieldAcc == null) fail("internal inconistency: jdkFieldAcc == null"); int modifs = jdkFieldAcc.getModifiers(); /* This crash, realistically, should never occur. */ if (! Modifier.isStatic(modifs)) fail("Consistency failure: About to try to access an instance field (via jdkFieldAcc) as if it were a static one! The culprit is the field " + jdkFieldAcc.toString()); Object o; try { o = jdkFieldAcc.get(null); } catch (NullPointerException npe) { fail("Got a NullPointerException while using reflection to retrieve the value of the field " + jdkFieldAcc.toString() + ": " + npe.toString()); o = null; }
public static void createBootImageObjects(Vector typeNames, String bootImageTypeNamesFile) throws IllegalAccessException, ClassNotFoundException { VM_Callbacks.notifyBootImage(typeNames.elements()); long startTime = 0; long stopTime = 0; // // Create types. // if (verbose >= 1) say("loading"); if (profile) startTime = System.currentTimeMillis(); for (Enumeration e = typeNames.elements(); e.hasMoreElements(); ) { // // get type name // String typeName = (String) e.nextElement(); if (verbose >= 4) say("typeName:", typeName); // // create corresponding rvm type // VM_Type type; try { VM_TypeReference tRef = VM_TypeReference.findOrCreate(typeName); type = tRef.resolve(); } catch (NoClassDefFoundError ncdf) { ncdf.printStackTrace(); fail(bootImageTypeNamesFile + " contains a class named \"" + typeName + "\", but we can't find a class with that name: " + ncdf); return; // NOTREACHED } catch (IllegalArgumentException ila) { /* We should've caught any illegal type names at the data validation * stage, when we read these in. If not, though, * VM_TypeReference.findOrCreate() will do its own sanity check. */ ila.printStackTrace(); fail(bootImageTypeNamesFile + " is supposed to contain type names. It contains \"" + typeName + "\", which does not parse as a legal type name: " + ila); return; // NOTREACHED } type.markAsBootImageClass(); // // convert type name from internal form to external form // ie: Ljava/lang/Object; --> java.lang.Object // [Ljava/lang/Object; --> [Ljava.lang.Object; // // NOTE: duplicate functionality. There is a method that does the same. // typeName = typeName.replace('/','.'); if (typeName.startsWith("L")) typeName = typeName.substring(1, typeName.length() - 1); // // record name/type pair for later lookup by getRvmType() // bootImageTypes.put(typeName, type); } if (profile) { stopTime = System.currentTimeMillis(); System.out.println("PROF: \tloading types "+(stopTime-startTime)+" ms"); } if (verbose >= 1) say(String.valueOf(bootImageTypes.size()), " types"); // // Lay out fields and method tables. // if (profile) startTime = System.currentTimeMillis(); if (verbose >= 1) say("resolving"); for (Enumeration e = bootImageTypes.elements(); e.hasMoreElements(); ) { VM_Type type = (VM_Type) e.nextElement(); if (verbose >= 2) say("resolving " + type); // The resolution is supposed to be cached already. type.resolve(); } if (profile) { stopTime = System.currentTimeMillis(); System.out.println("PROF: \tresolving types "+(stopTime-startTime)+" ms"); } // Set tocRegister early so opt compiler can access it to // perform fixed_jtoc optimization (compile static addresses into code). // In the boot image, the bootrecord comes first followed by a VM_Address array and then the TOC. // To do this, we must fully simulate the alignment logic in the allocation code! VM_BootRecord bootRecord = VM_BootRecord.the_boot_record; VM_Class rvmBRType = getRvmType(bootRecord.getClass()).asClass(); VM_Array intArrayType = VM_Array.getPrimitiveArrayType(10); VM_Address bp = bootImageAddress.add(rvmBRType.getInstanceSize()); int align = VM_ObjectModel.getAlignment(intArrayType); int offset = VM_ObjectModel.getOffsetForAlignment(intArrayType); int mod = bp.add(offset).toInt() & (align-1); int delta = (align - mod) & (align-1); bootRecord.tocRegister = bp.add(delta).add(intArrayType.getInstanceSize(0)); // // Compile methods and populate jtoc with literals, TIBs, and machine code. // if (profile) startTime = System.currentTimeMillis(); if (verbose >= 1) say("instantiating"); if (PARALLELIZE < 1) { int count = 0; for (Enumeration e = bootImageTypes.elements(); e.hasMoreElements(); ) { VM_Type type = (VM_Type) e.nextElement(); count++; if (verbose >= 1) say(count + " instantiating " + type); long start2 = System.currentTimeMillis(); type.instantiate(); long stop2 = System.currentTimeMillis(); if (profile && stop2 - start2 > classCompileThreshold) System.out.println("PROF:\t\t"+type+" took "+((stop2 - start2+500)/1000)+" seconds to instantiate"); } } else { if (verbose >= 1) say("parallelizing with " + PARALLELIZE + " threads"); BootImageWorker.startup(bootImageTypes.elements()); BootImageWorker [] workers = new BootImageWorker[PARALLELIZE]; for (int i=0; i<workers.length; i++) { workers[i].id = i; workers[i].start(); } try { for (int i=0; i<workers.length; i++) workers[i].join(); } catch (InterruptedException ie) { say("InterruptedException while instantiating"); } } if (profile) { stopTime = System.currentTimeMillis(); System.out.println("PROF: \tinstantiating types "+(stopTime-startTime)+" ms"); } // Do the portion of JNIEnvironment initialization that can be done // at bootimage writing time. VM_CodeArray[] functionTable = BuildJNIFunctionTable.buildTable(); VM_JNIEnvironment.initFunctionTable(functionTable); // // Collect the VM class Field to JDK class Field correspondence // This will be needed when building the images of each object instance // and for processing the static fields of the boot image classes // if (verbose >= 1) say("field info gathering"); if (profile) startTime = System.currentTimeMillis(); bootImageTypeFields = new HashMap(bootImageTypes.size()); // First retrieve the jdk Field table for each class of interest for (Enumeration e = bootImageTypes.elements(); e.hasMoreElements(); ) { VM_Type rvmType = (VM_Type) e.nextElement(); FieldInfo fieldInfo; if (!rvmType.isClassType()) continue; // arrays and primitives have no static or instance fields Class jdkType = getJdkType(rvmType); if (jdkType == null) continue; // won't need the field info Key key = new Key(jdkType); fieldInfo = (FieldInfo)bootImageTypeFields.get(key); if (fieldInfo != null) { fieldInfo.rvmType = rvmType; } else { if (verbose >= 1) say("making fieldinfo for " + rvmType); fieldInfo = new FieldInfo(); fieldInfo.jdkFields = jdkType.getDeclaredFields(); fieldInfo.jdkType = jdkType; fieldInfo.rvmType = rvmType; bootImageTypeFields.put(key, fieldInfo); // Now do all the superclasses if they don't already exist // Can't add them in next loop as Iterator's don't allow updates to collection for (Class cls = jdkType.getSuperclass(); cls != null; cls = cls.getSuperclass()) { key = new Key(cls); fieldInfo = (FieldInfo)bootImageTypeFields.get(key); if (fieldInfo != null) { break; } else { if (verbose >= 1) say("making fieldinfo for " + jdkType); fieldInfo = new FieldInfo(); fieldInfo.jdkFields = cls.getDeclaredFields(); fieldInfo.jdkType = cls; fieldInfo.rvmType = null; bootImageTypeFields.put(key, fieldInfo); } } } } // Now build the one-to-one instance and static field maps for (Iterator iter = bootImageTypeFields.values().iterator(); iter.hasNext();) { FieldInfo fieldInfo = (FieldInfo)iter.next(); VM_Type rvmType = fieldInfo.rvmType; if (rvmType == null) { if (verbose >= 1) say("bootImageTypeField entry has no rvmType:"+fieldInfo.jdkType); continue; } Class jdkType = fieldInfo.jdkType; if (verbose >= 1) say("building static and instance fieldinfo for " + rvmType); // First the static fields // VM_Field rvmFields[] = rvmType.getStaticFields(); fieldInfo.jdkStaticFields = new Field[rvmFields.length]; for (int j = 0; j < rvmFields.length; j++) { String rvmName = rvmFields[j].getName().toString(); for (int k = 0; k < fieldInfo.jdkFields.length; k++) { Field f = fieldInfo.jdkFields[k]; if (f.getName().equals(rvmName)) { fieldInfo.jdkStaticFields[j] = f; f.setAccessible(true); break; } } } // Now the instance fields // rvmFields = rvmType.getInstanceFields(); fieldInfo.jdkInstanceFields = new Field[rvmFields.length]; for (int j = 0; j<rvmFields.length; j++) { String rvmName = rvmFields[j].getName().toString(); // We look only in the JDK type that corresponds to the // VM_Type of the field's declaring class. // This is the only way to correctly handle private fields. jdkType = getJdkType(rvmFields[j].getDeclaringClass()); if (jdkType == null) continue; FieldInfo jdkFieldInfo = (FieldInfo)bootImageTypeFields.get(new Key(jdkType)); if (jdkFieldInfo == null) continue; Field[] jdkFields = jdkFieldInfo.jdkFields; for (int k = 0; k <jdkFields.length; k++) { Field f = jdkFields[k]; if (f.getName().equals(rvmName)) { fieldInfo.jdkInstanceFields[j] = f; f.setAccessible(true); break; } } } } if (profile) { stopTime = System.currentTimeMillis(); System.out.println("PROF: \tcreating type mapping "+(stopTime-startTime)+" ms"); } // // Create stack, thread, and processor context in which rvm will begin // execution. // int initProc = VM_Scheduler.PRIMORDIAL_PROCESSOR_ID; VM_Thread startupThread = new VM_Thread(new byte[STACK_SIZE_BOOT]); VM_Scheduler.processors[initProc].activeThread = startupThread; // sanity check for bootstrap loader int idx = startupThread.stack.length - 1; if (VM.LittleEndian) { startupThread.stack[idx--] = (byte)0xde; startupThread.stack[idx--] = (byte)0xad; startupThread.stack[idx--] = (byte)0xba; startupThread.stack[idx--] = (byte)0xbe; } else { startupThread.stack[idx--] = (byte)0xbe; startupThread.stack[idx--] = (byte)0xba; startupThread.stack[idx--] = (byte)0xad; startupThread.stack[idx--] = (byte)0xde; } // // Tell rvm where to find itself at execution time. // This may not be the same place it was at build time, ie. if image is // moved to another machine with different directory structure. // VM_ClassLoader.setVmRepositories(bootImageRepositoriesAtExecutionTime); // // Finally, populate jtoc with static field values. // This is equivalent to the VM_Class.initialize() phase that would have // executed each class's static constructors at run time. We simulate // this by copying statics created in the host rvm into the appropriate // slots of the jtoc. // if (verbose >= 1) say("populating jtoc with static fields"); if (profile) startTime = System.currentTimeMillis(); for (Enumeration e = bootImageTypes.elements(); e.hasMoreElements(); ) { VM_Type rvmType = (VM_Type) e.nextElement(); if (verbose >= 1) say(" jtoc for ", rvmType.toString()); if (!rvmType.isClassType()) continue; // arrays and primitives have no static fields Class jdkType = getJdkType(rvmType); if (jdkType == null && verbose >= 1) { say("host has no class \"" + rvmType + "\""); } VM_Field rvmFields[] = rvmType.getStaticFields(); for (int j = 0; j < rvmFields.length; ++j) { VM_Field rvmField = rvmFields[j]; VM_TypeReference rvmFieldType = rvmField.getType(); int rvmFieldSlot = (rvmField.getOffset() >>> 2); String rvmFieldName = rvmField.getName().toString(); Field jdkFieldAcc = null; if (jdkType != null) jdkFieldAcc = getJdkFieldAccessor(jdkType, j, STATIC_FIELD); if (jdkFieldAcc == null) { if (jdkType != null) { if (verbose >= 2) traceContext.push(rvmFieldType.toString(), jdkType.getName(), rvmFieldName); if (verbose >= 2) traceContext.traceFieldNotInHostJdk(); if (verbose >= 2) traceContext.pop(); } VM_Statics.setSlotContents(rvmFieldSlot, 0); if (!VM.runningTool) bootImage.countNulledReference(); continue; } if (verbose >= 2) say(" populating jtoc slot ", String.valueOf(rvmFieldSlot), " with ", rvmField.toString()); if (rvmFieldType.isPrimitiveType()) { // field is logical or numeric type if (rvmFieldType.isBooleanType()) { VM_Statics.setSlotContents(rvmFieldSlot, jdkFieldAcc.getBoolean(null) ? 1 : 0); } else if (rvmFieldType.isByteType()) { VM_Statics.setSlotContents(rvmFieldSlot, jdkFieldAcc.getByte(null)); } else if (rvmFieldType.isCharType()) { VM_Statics.setSlotContents(rvmFieldSlot, jdkFieldAcc.getChar(null)); } else if (rvmFieldType.isShortType()) { VM_Statics.setSlotContents(rvmFieldSlot, jdkFieldAcc.getShort(null)); } else if (rvmFieldType.isIntType()) { try { VM_Statics.setSlotContents(rvmFieldSlot, jdkFieldAcc.getInt(null)); } catch (IllegalArgumentException ex) { System.err.println( "type " + rvmType + ", field " + rvmField); throw ex; } } else if (rvmFieldType.isLongType()) { // note: Endian issues handled in setSlotContents. VM_Statics.setSlotContents(rvmFieldSlot, jdkFieldAcc.getLong(null)); } else if (rvmFieldType.isFloatType()) { float f = jdkFieldAcc.getFloat(null); VM_Statics.setSlotContents(rvmFieldSlot, Float.floatToIntBits(f)); } else if (rvmFieldType.isDoubleType()) { double d = jdkFieldAcc.getDouble(null); // note: Endian issues handled in setSlotContents. VM_Statics.setSlotContents(rvmFieldSlot, Double.doubleToLongBits(d)); } else if (rvmFieldType.equals(VM_TypeReference.Address) || rvmFieldType.equals(VM_TypeReference.Word) || rvmFieldType.equals(VM_TypeReference.Extent) || rvmFieldType.equals(VM_TypeReference.Offset)){ Object o = jdkFieldAcc.get(null); String msg = " static field " + rvmField.toString(); boolean warn = rvmFieldType.equals(VM_TypeReference.Address); //-#if RVM_FOR_32_ADDR VM_Statics.setSlotContents(rvmFieldSlot, getWordValue(o, msg, warn).toInt()); //-#endif //-#if RVM_FOR_64_ADDR VM_Statics.setSlotContents(rvmFieldSlot, getWordValue(o, msg, warn).toLong()); //-#endif } else { fail("unexpected primitive field type: " + rvmFieldType); } } else { // field is reference type Object o = jdkFieldAcc.get(null); if (verbose >= 3) say(" setting with ", String.valueOf(VM_Magic.objectAsAddress(o).toInt())); VM_Statics.setSlotContents(rvmFieldSlot, o); } } } if (profile) { stopTime = System.currentTimeMillis(); System.out.println("PROF: \tinitializing jtoc "+(stopTime-startTime)+" ms"); } }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/66d09e021b8b01b440bc6f720f9799cfc911bbdb/BootImageWriter.java/buggy/rvm/src/tools/bootImageWriter/BootImageWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 752, 15817, 2040, 4710, 12, 5018, 618, 1557, 16, 4766, 5411, 514, 4835, 2040, 559, 1557, 812, 13, 377, 1216, 11900, 16, 10403, 288, 1850, 8251, 67, 10617, 18, 12336, 15817, 2040, 12, 723, 1557, 18, 6274, 10663, 1377, 1525, 8657, 273, 374, 31, 1377, 1525, 2132, 950, 273, 374, 31, 5411, 368, 1377, 368, 1788, 1953, 18, 1377, 368, 1377, 309, 261, 11369, 1545, 404, 13, 12532, 2932, 15174, 8863, 1377, 309, 261, 5040, 13, 8657, 273, 2332, 18, 2972, 28512, 5621, 5411, 364, 261, 21847, 425, 273, 618, 1557, 18, 6274, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 288, 3639, 368, 3639, 368, 336, 618, 508, 3639, 368, 3639, 514, 8173, 273, 261, 780, 13, 425, 18, 4285, 1046, 5621, 3639, 309, 261, 11369, 1545, 1059, 13, 1850, 12532, 2932, 723, 461, 2773, 16, 8173, 1769, 7734, 368, 3639, 368, 752, 4656, 436, 3489, 618, 3639, 368, 3639, 8251, 67, 559, 618, 31, 7734, 775, 288, 1850, 8251, 67, 7534, 268, 1957, 273, 8251, 67, 7534, 18, 4720, 17717, 12, 723, 461, 1769, 1850, 618, 273, 268, 1957, 18, 10828, 5621, 3639, 289, 1044, 261, 2279, 797, 3262, 2043, 668, 8194, 2180, 13, 288, 1850, 8194, 2180, 18, 1188, 6332, 5621, 1850, 2321, 12, 7137, 2040, 559, 1557, 812, 9079, 397, 315, 1914, 279, 667, 4141, 11843, 7734, 397, 8173, 397, 1548, 3113, 1496, 732, 848, 1404, 1104, 279, 667, 598, 716, 508, 30, 315, 9079, 397, 8194, 2180, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 752, 15817, 2040, 4710, 12, 5018, 618, 1557, 16, 4766, 5411, 514, 4835, 2040, 559, 1557, 812, 13, 377, 1216, 11900, 16, 10403, 288, 1850, 8251, 67, 10617, 18, 12336, 15817, 2040, 12, 723, 1557, 18, 6274, 10663, 1377, 1525, 8657, 273, 374, 31, 1377, 1525, 2132, 950, 273, 374, 31, 5411, 368, 1377, 368, 1788, 1953, 18, 1377, 368, 1377, 309, 261, 11369, 1545, 404, 13, 12532, 2932, 15174, 8863, 1377, 309, 261, 5040, 13, 8657, 273, 2332, 18, 2972, 28512, 5621, 5411, 364, 261, 21847, 425, 273, 618, 1557, 18, 6274, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 288, 3639, 368, 3639, 368, 336, 618, 508, 3639, 368, 3639, 514, 8173, 273, 2 ]
logger.debug("getting the parameter "+name);
System.out.println("getting the parameter");
public Object getParameter(String name) { //ChannelProxy channelProxy = new ChannelProxy(); //ChannelId[] channelIds = getChannelIds(); //channelProxy.retrieve_grouping(channelIds, channelIds[0]); ///************************************************ if (parameterCache.containsKey(name)) { return parameterCache.get(name); } // end of if (parameterCache.containsKey(name)) NodeList nList = evalNodeList(config, "parameter[name/text()="+ dquote+name+dquote+"]"); if (nList != null && nList.getLength() != 0) { logger.debug("getting the parameter "+name); Node n = nList.item(0); if (n instanceof Element) { return XMLParameter.getParameter((Element)n); //System.out.println("THe tag name is "+((Element)n).getTagName()); // parameterCache.put(name, n); // return (Element)n; } } else { logger.debug("THE NODE LIST IS NULL for parameter "+name); } // not a parameter, try parameterRef nList = evalNodeList(config, "parameterRef[text()="+dquote+name+dquote+"]"); if (nList != null && nList.getLength() != 0) { Node n = nList.item(0); if (n instanceof Element) { SimpleXLink sl = new SimpleXLink(docBuilder, (Element)n); try { Element e = sl.retrieve(); parameterCache.put(name, e); return e; } catch (Exception e) { logger.error("can't get paramterRef for "+name, e); } // end of try-catch } } logger.warn("can't find paramter for "+name); //can't find that name??? return null; }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/469bff7031871539a68babac308f6eb2d0d7c019/XMLDataSet.java/clean/src/edu/sc/seis/fissuresUtil/xml/XMLDataSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 5575, 12, 780, 508, 13, 288, 202, 759, 2909, 3886, 1904, 3886, 273, 394, 5307, 3886, 5621, 202, 759, 2909, 548, 8526, 1904, 2673, 273, 16454, 2673, 5621, 225, 202, 759, 4327, 3886, 18, 17466, 67, 25592, 12, 4327, 2673, 16, 1904, 2673, 63, 20, 19226, 202, 28111, 5021, 2751, 202, 3639, 309, 261, 6775, 1649, 18, 12298, 653, 12, 529, 3719, 288, 5411, 327, 1569, 1649, 18, 588, 12, 529, 1769, 3639, 289, 368, 679, 434, 309, 261, 6775, 1649, 18, 12298, 653, 12, 529, 3719, 202, 3639, 16781, 290, 682, 273, 5302, 19914, 12, 1425, 16, 4766, 4202, 315, 6775, 63, 529, 19, 955, 1435, 1546, 15, 4766, 1377, 302, 6889, 15, 529, 15, 72, 6889, 9078, 4279, 1769, 3639, 309, 261, 82, 682, 480, 446, 597, 290, 682, 18, 588, 1782, 1435, 480, 374, 13, 288, 202, 565, 2332, 18, 659, 18, 8222, 2932, 588, 1787, 326, 1569, 8863, 5411, 2029, 290, 273, 290, 682, 18, 1726, 12, 20, 1769, 2398, 309, 261, 82, 1276, 3010, 13, 288, 202, 202, 2463, 3167, 1662, 18, 588, 1662, 12443, 1046, 13, 82, 1769, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 2455, 73, 1047, 508, 353, 13773, 12443, 1046, 13, 82, 2934, 588, 8520, 10663, 202, 202, 759, 1569, 1649, 18, 458, 12, 529, 16, 290, 1769, 202, 202, 759, 7734, 327, 261, 1046, 13, 82, 31, 5411, 289, 3639, 289, 469, 288, 202, 565, 1194, 18, 4148, 2932, 24644, 11922, 15130, 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, 5575, 12, 780, 508, 13, 288, 202, 759, 2909, 3886, 1904, 3886, 273, 394, 5307, 3886, 5621, 202, 759, 2909, 548, 8526, 1904, 2673, 273, 16454, 2673, 5621, 225, 202, 759, 4327, 3886, 18, 17466, 67, 25592, 12, 4327, 2673, 16, 1904, 2673, 63, 20, 19226, 202, 28111, 5021, 2751, 202, 3639, 309, 261, 6775, 1649, 18, 12298, 653, 12, 529, 3719, 288, 5411, 327, 1569, 1649, 18, 588, 12, 529, 1769, 3639, 289, 368, 679, 434, 309, 261, 6775, 1649, 18, 12298, 653, 12, 529, 3719, 202, 3639, 16781, 290, 682, 273, 5302, 19914, 12, 1425, 16, 4766, 4202, 315, 6775, 63, 529, 19, 955, 1435, 1546, 15, 4766, 1377, 302, 6889, 15, 529, 15, 2 ]
public void writeContent (HttpServletRequest req, HttpServletResponse res, java.io.PrintWriter out) { try { // instantiate user layout manager and check to see if the profile mapping has been established if (p_browserMapper != null) { p_browserMapper.prepare(req); } if (uLayoutManager==null || uLayoutManager.isUserAgentUnmapped()) { uLayoutManager = new UserLayoutManager(req, this.getPerson()); } else { // p_browserMapper is no longer needed p_browserMapper = null; } if (uLayoutManager.isUserAgentUnmapped()) { // unmapped browser if (p_browserMapper== null) { p_browserMapper = new org.jasig.portal.channels.CSelectSystemProfile(); p_browserMapper.initialize(new Hashtable(), "CSelectSystemProfile", true, true, false, 10000, getPerson()); } try { p_browserMapper.render(req, res); } catch (Exception e) { // something went wrong trying to show CSelectSystemProfileChannel Logger.log(Logger.ERROR,"UserInstance::writeContent() : unable caught an exception while trying to display CSelectSystemProfileChannel! Exception:"+e); } // don't go any further! return; } // if we got to this point, we can proceed with the rendering if (channelManager == null) { channelManager = new ChannelManager(uLayoutManager); p_rendering_lock=new Object(); } renderState (req, res, out, this.channelManager, uLayoutManager,p_rendering_lock); } catch (Exception e) { StringWriter sw=new StringWriter(); e.printStackTrace(new PrintWriter(sw)); sw.flush(); Logger.log(Logger.ERROR,"UserInstance::writeContent() : an unknown exception occurred : "+sw.toString()); } }
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/f0febd387be9673ffaf974329eeadab894c5d23d/UserInstance.java/clean/source/org/jasig/portal/UserInstance.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 1350, 261, 2940, 18572, 1111, 16, 12446, 400, 16, 2252, 18, 1594, 18, 5108, 2289, 596, 13, 288, 3639, 775, 288, 5411, 368, 10275, 729, 3511, 3301, 471, 866, 358, 2621, 309, 326, 3042, 2874, 711, 2118, 19703, 5411, 309, 261, 84, 67, 11213, 4597, 480, 446, 13, 288, 7734, 293, 67, 11213, 4597, 18, 9366, 12, 3658, 1769, 5411, 289, 5411, 309, 261, 89, 3744, 1318, 631, 2011, 747, 582, 3744, 1318, 18, 291, 12276, 984, 13654, 10756, 288, 7734, 582, 3744, 1318, 273, 394, 2177, 3744, 1318, 12, 3658, 16, 333, 18, 588, 8346, 10663, 5411, 289, 469, 288, 7734, 368, 293, 67, 11213, 4597, 353, 1158, 7144, 3577, 7734, 293, 67, 11213, 4597, 273, 446, 31, 2398, 289, 5397, 309, 261, 89, 3744, 1318, 18, 291, 12276, 984, 13654, 10756, 288, 7734, 368, 640, 13654, 4748, 7734, 309, 261, 84, 67, 11213, 4597, 631, 446, 13, 288, 10792, 293, 67, 11213, 4597, 273, 394, 2358, 18, 78, 345, 360, 18, 24386, 18, 9114, 18, 39, 3391, 3163, 4029, 5621, 10792, 293, 67, 11213, 4597, 18, 11160, 12, 2704, 18559, 9334, 315, 39, 3391, 3163, 4029, 3113, 638, 16, 638, 16, 629, 16, 12619, 16, 29936, 10663, 7734, 289, 7734, 775, 288, 10792, 293, 67, 11213, 4597, 18, 5902, 12, 3658, 16, 400, 1769, 7734, 289, 1044, 261, 503, 425, 13, 288, 10792, 368, 5943, 16343, 7194, 8374, 358, 2405, 385, 3391, 3163, 4029, 2909, 5397, 4242, 18, 1330, 12, 3328, 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, 1045, 1350, 261, 2940, 18572, 1111, 16, 12446, 400, 16, 2252, 18, 1594, 18, 5108, 2289, 596, 13, 288, 3639, 775, 288, 5411, 368, 10275, 729, 3511, 3301, 471, 866, 358, 2621, 309, 326, 3042, 2874, 711, 2118, 19703, 5411, 309, 261, 84, 67, 11213, 4597, 480, 446, 13, 288, 7734, 293, 67, 11213, 4597, 18, 9366, 12, 3658, 1769, 5411, 289, 5411, 309, 261, 89, 3744, 1318, 631, 2011, 747, 582, 3744, 1318, 18, 291, 12276, 984, 13654, 10756, 288, 7734, 582, 3744, 1318, 273, 394, 2177, 3744, 1318, 12, 3658, 16, 333, 18, 588, 8346, 10663, 5411, 289, 469, 288, 7734, 368, 293, 67, 11213, 4597, 353, 1158, 7144, 3577, 7734, 293, 67, 11213, 2 ]
} catch (Exception e) { return;
public static void saveBuildInfo(IProject project) { // Create document Document doc = new DocumentImpl(); Element rootElement = doc.createElement(ROOT_ELEM_NAME); doc.appendChild(rootElement); // Save the build info ManagedBuildInfo buildInfo = (ManagedBuildInfo) getBuildInfo(project); if (buildInfo != null) buildInfo.serialize(doc, rootElement); // Save the document ByteArrayOutputStream s = new ByteArrayOutputStream(); OutputFormat format = new OutputFormat(); format.setIndenting(true); format.setLineSeparator(System.getProperty("line.separator")); //$NON-NLS-1$ String xml = null; try { Serializer serializer = SerializerFactory.getSerializerFactory(Method.XML).makeSerializer(new OutputStreamWriter(s, "UTF8"), format); //$NON-NLS-1$ serializer.asDOMSerializer().serialize(doc); xml = s.toString("UTF8"); //$NON-NLS-1$ IFile rscFile = project.getFile(FILE_NAME); InputStream inputStream = new ByteArrayInputStream(xml.getBytes()); // update the resource content if (rscFile.exists()) { rscFile.setContents(inputStream, IResource.FORCE, null); } else { rscFile.create(inputStream, IResource.FORCE, null); } } catch (Exception e) { return; } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/1661bb802280c66eb06adca1ff4d5b1bdbabccc2/ManagedBuildManager.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1923, 3116, 966, 12, 45, 4109, 1984, 13, 288, 202, 202, 759, 1788, 1668, 202, 202, 2519, 997, 273, 394, 4319, 2828, 5621, 202, 202, 1046, 27575, 273, 997, 18, 2640, 1046, 12, 9185, 67, 41, 26817, 67, 1985, 1769, 202, 202, 2434, 18, 6923, 1763, 12, 3085, 1046, 1769, 202, 202, 759, 7074, 326, 1361, 1123, 202, 202, 10055, 3116, 966, 1361, 966, 273, 261, 10055, 3116, 966, 13, 21122, 966, 12, 4406, 1769, 202, 202, 430, 261, 3510, 966, 480, 446, 13, 1082, 202, 3510, 966, 18, 6288, 12, 2434, 16, 27575, 1769, 9506, 202, 759, 7074, 326, 1668, 202, 202, 8826, 4632, 272, 273, 394, 11559, 5621, 202, 202, 1447, 1630, 740, 273, 394, 3633, 1630, 5621, 202, 202, 2139, 18, 542, 7790, 310, 12, 3767, 1769, 202, 202, 2139, 18, 542, 1670, 6581, 12, 3163, 18, 588, 1396, 2932, 1369, 18, 11287, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 780, 2025, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 6306, 6340, 9506, 202, 33, 15348, 1733, 18, 588, 6306, 1733, 12, 1305, 18, 4201, 2934, 6540, 6306, 12, 2704, 24248, 12, 87, 16, 315, 5159, 28, 6, 3631, 740, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 15663, 18, 345, 8168, 6306, 7675, 6288, 12, 2434, 1769, 1082, 202, 2902, 273, 272, 18, 10492, 2932, 5159, 28, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 45, 812, 29723, 812, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1923, 3116, 966, 12, 45, 4109, 1984, 13, 288, 202, 202, 759, 1788, 1668, 202, 202, 2519, 997, 273, 394, 4319, 2828, 5621, 202, 202, 1046, 27575, 273, 997, 18, 2640, 1046, 12, 9185, 67, 41, 26817, 67, 1985, 1769, 202, 202, 2434, 18, 6923, 1763, 12, 3085, 1046, 1769, 202, 202, 759, 7074, 326, 1361, 1123, 202, 202, 10055, 3116, 966, 1361, 966, 273, 261, 10055, 3116, 966, 13, 21122, 966, 12, 4406, 1769, 202, 202, 430, 261, 3510, 966, 480, 446, 13, 1082, 202, 3510, 966, 18, 6288, 12, 2434, 16, 27575, 1769, 9506, 202, 759, 7074, 326, 1668, 202, 202, 8826, 4632, 272, 273, 394, 11559, 5621, 202, 202, 1447, 1630, 2 ]
System.out.println("==>endDTD()");
System.out.println ("==>endDTD()");
public void endDTD(Augmentations augs) throws XNIException { if (DEBUG_EVENTS) { System.out.println("==>endDTD()"); } fInDTD = false; if (!fBaseURIStack.isEmpty()) { fBaseURIStack.pop(); } String internalSubset = fInternalSubset != null && fInternalSubset.length() > 0 ? fInternalSubset.toString() : null; if (fDeferNodeExpansion) { if (internalSubset != null) { fDeferredDocumentImpl.setInternalSubset(fDocumentTypeIndex, internalSubset); } } else if (fDocumentImpl != null) { if (internalSubset != null) { ((DocumentTypeImpl)fDocumentType).setInternalSubset(internalSubset); } } } // endDTD()
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/9d1dbf89c75cf6f564facc2b605dd9f2cf2dac4d/AbstractDOMParser.java/clean/src/org/apache/xerces/parsers/AbstractDOMParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 25728, 12, 37, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 309, 261, 9394, 67, 29221, 13, 288, 5411, 2332, 18, 659, 18, 8222, 7566, 631, 34, 409, 25728, 1435, 8863, 3639, 289, 3639, 284, 382, 25728, 273, 629, 31, 3639, 309, 16051, 74, 2171, 3098, 2624, 18, 291, 1921, 10756, 288, 5411, 284, 2171, 3098, 2624, 18, 5120, 5621, 3639, 289, 3639, 514, 2713, 20315, 273, 284, 3061, 20315, 480, 446, 597, 284, 3061, 20315, 18, 2469, 1435, 405, 374, 17311, 692, 284, 3061, 20315, 18, 10492, 1435, 294, 446, 31, 3639, 309, 261, 74, 758, 586, 907, 2966, 12162, 13, 288, 5411, 309, 261, 7236, 20315, 480, 446, 13, 288, 7734, 284, 16886, 2519, 2828, 18, 542, 3061, 20315, 12, 74, 2519, 559, 1016, 16, 2713, 20315, 1769, 5411, 289, 3639, 289, 3639, 469, 309, 261, 74, 2519, 2828, 480, 446, 13, 288, 5411, 309, 261, 7236, 20315, 480, 446, 13, 288, 7734, 14015, 2519, 30639, 13, 74, 2519, 559, 2934, 542, 3061, 20315, 12, 7236, 20315, 1769, 5411, 289, 3639, 289, 565, 289, 368, 679, 25728, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 679, 25728, 12, 37, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 309, 261, 9394, 67, 29221, 13, 288, 5411, 2332, 18, 659, 18, 8222, 7566, 631, 34, 409, 25728, 1435, 8863, 3639, 289, 3639, 284, 382, 25728, 273, 629, 31, 3639, 309, 16051, 74, 2171, 3098, 2624, 18, 291, 1921, 10756, 288, 5411, 284, 2171, 3098, 2624, 18, 5120, 5621, 3639, 289, 3639, 514, 2713, 20315, 273, 284, 3061, 20315, 480, 446, 597, 284, 3061, 20315, 18, 2469, 1435, 405, 374, 17311, 692, 284, 3061, 20315, 18, 10492, 1435, 294, 446, 31, 3639, 309, 261, 74, 758, 586, 907, 2966, 12162, 13, 288, 5411, 309, 261, 7236, 20315, 480, 446, 13, 2 ]
public void paintFixed(Context c, BlockBox block) { int xoff = 0; int yoff = 0; xoff = c.canvas.getWidth(); yoff = c.canvas.getHeight(); if (block.right_set) { xoff = xoff - block.width; } if (block.bottom_set) { //joshy: this should really be block.height instead of bnds.y // need to fix the setting of block.height //joshy: need to do horizontal calcs too, inc scrolling //joshy: need to make the body paint the whole canvas. // start at the bottom of the viewport yoff = c.viewport.getHeight(); // account for the width of the box yoff = yoff - block.height; // - bnds.y // account for the current y offset of the box yoff = yoff - c.getExtents().y; //orig.y; // account for the scrolling of the viewport yoff = yoff - c.canvas.getLocation().y; } c.translate(xoff, yoff); paintNormal(c,block); c.translate(-xoff, -yoff); }
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/07ab625b03cad242caa27ac48e830592130b24a1/BoxLayout.java/clean/src/java/org/joshy/html/BoxLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 84, 1598, 7505, 12, 1042, 71, 16, 1768, 3514, 2629, 15329, 474, 92, 3674, 33, 20, 31, 474, 93, 3674, 33, 20, 31, 92, 3674, 33, 71, 18, 15424, 18, 588, 2384, 5621, 93, 3674, 33, 71, 18, 15424, 18, 588, 2686, 5621, 430, 12, 2629, 18, 4083, 67, 542, 15329, 92, 3674, 33, 92, 3674, 17, 2629, 18, 2819, 31, 97, 430, 12, 2629, 18, 9176, 67, 542, 15329, 759, 78, 17636, 93, 30, 2211, 13139, 266, 1230, 2196, 2629, 18, 4210, 8591, 684, 792, 13392, 2377, 18, 93, 759, 14891, 88, 792, 697, 7915, 278, 1787, 792, 2629, 18, 4210, 759, 78, 17636, 93, 30, 14891, 9012, 18396, 12448, 334, 5161, 16, 9523, 1017, 15742, 759, 78, 17636, 93, 30, 14891, 3599, 581, 546, 24008, 369, 879, 1598, 451, 359, 27167, 15424, 18, 759, 1937, 270, 5787, 9176, 792, 5787, 28852, 93, 3674, 33, 71, 18, 28852, 18, 588, 2686, 5621, 759, 4631, 1884, 451, 14434, 792, 5787, 1075, 1698, 3674, 33, 93, 3674, 17, 2629, 18, 4210, 31, 759, 17, 13392, 2377, 18, 93, 759, 4631, 1884, 451, 557, 3761, 93, 3348, 792, 5787, 1075, 1698, 3674, 33, 93, 3674, 17, 71, 18, 588, 2482, 4877, 7675, 93, 31, 759, 4949, 18, 93, 31, 759, 4631, 1884, 451, 742, 15742, 792, 5787, 28852, 93, 3674, 33, 93, 3674, 17, 71, 18, 15424, 18, 588, 2735, 7675, 93, 31, 97, 71, 18, 13929, 12, 92, 3674, 16, 93, 3674, 1769, 84, 1598, 5506, 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, 1071, 6459, 84, 1598, 7505, 12, 1042, 71, 16, 1768, 3514, 2629, 15329, 474, 92, 3674, 33, 20, 31, 474, 93, 3674, 33, 20, 31, 92, 3674, 33, 71, 18, 15424, 18, 588, 2384, 5621, 93, 3674, 33, 71, 18, 15424, 18, 588, 2686, 5621, 430, 12, 2629, 18, 4083, 67, 542, 15329, 92, 3674, 33, 92, 3674, 17, 2629, 18, 2819, 31, 97, 430, 12, 2629, 18, 9176, 67, 542, 15329, 759, 78, 17636, 93, 30, 2211, 13139, 266, 1230, 2196, 2629, 18, 4210, 8591, 684, 792, 13392, 2377, 18, 93, 759, 14891, 88, 792, 697, 7915, 278, 1787, 792, 2629, 18, 4210, 759, 78, 17636, 93, 30, 14891, 9012, 18396, 12448, 334, 5161, 16, 9523, 1017, 15742, 2 ]
case CDATA_SECTION_NODE: { newnode = (NodeImpl)createCDATASection(source.getNodeValue()); break;
case CDATA_SECTION_NODE: { newnode = createCDATASection(source.getNodeValue()); break;
public Node importNode(Node source, boolean deep) throws DOMException { NodeImpl newnode=null; // Sigh. This doesn't work; too many nodes have private data that // would have to be manually tweaked. May be able to add local // shortcuts to each nodetype. Consider ????? // if(source instanceof NodeImpl && // !(source instanceof DocumentImpl)) // { // // Can't clone DocumentImpl since it invokes us... // newnode=(NodeImpl)source.cloneNode(false); // newnode.ownerDocument=this; //} //else int type = source.getNodeType(); switch (type) { case ELEMENT_NODE: { Element newelement = createElement(source.getNodeName()); NamedNodeMap srcattr = source.getAttributes(); if (srcattr != null) { for(int i = 0; i < srcattr.getLength(); i++) { newelement.setAttributeNode( (AttrImpl)importNode(srcattr.item(i), true)); } } newnode = (NodeImpl)newelement; break; } case ATTRIBUTE_NODE: { newnode = (NodeImpl)createAttribute(source.getNodeName()); // Kids carry value break; } case TEXT_NODE: { newnode = (NodeImpl)createTextNode(source.getNodeValue()); break; } case CDATA_SECTION_NODE: { newnode = (NodeImpl)createCDATASection(source.getNodeValue()); break; } case ENTITY_REFERENCE_NODE: { newnode = (NodeImpl)createEntityReference(source.getNodeName()); deep = false; // ????? Right Thing? // Value implied by doctype, so we should not copy it // -- instead, refer to local doctype, if any. break; } case ENTITY_NODE: { Entity srcentity = (Entity)source; EntityImpl newentity = (EntityImpl)createEntity(source.getNodeName()); newentity.setPublicId(srcentity.getPublicId()); newentity.setSystemId(srcentity.getSystemId()); newentity.setNotationName(srcentity.getNotationName()); // Kids carry additional value newnode = newentity; break; } case PROCESSING_INSTRUCTION_NODE: { newnode = (ProcessingInstructionImpl)createProcessingInstruction(source.getNodeName(), source.getNodeValue()); break; } case COMMENT_NODE: { newnode = (NodeImpl)createComment(source.getNodeValue()); break; } case DOCUMENT_TYPE_NODE: { DocumentTypeImpl doctype = (DocumentTypeImpl)source; DocumentTypeImpl newdoctype = (DocumentTypeImpl)createDocumentType( doctype.getNodeName(), doctype.getPublicId(), doctype.getSystemId() ); // Values are on NamedNodeMaps NamedNodeMap smap = ((DocumentType)source).getEntities(); NamedNodeMap tmap = newdoctype.getEntities(); if(smap != null) { for(int i = 0; i < smap.getLength(); i++) { tmap.setNamedItem((EntityImpl)importNode(smap.item(i), true)); } } smap = ((DocumentType)source).getNotations(); tmap = newdoctype.getNotations(); if (smap != null) { for(int i = 0; i < smap.getLength(); i++) { tmap.setNamedItem((NotationImpl)importNode(smap.item(i), true)); } } // NOTE: At this time, the DOM definition of DocumentType // doesn't cover Elements and their Attributes. domimpl's // extentions in that area will not be preserved, even if // copying from domimpl to domimpl. We could special-case // that here. Arguably we should. Consider. ????? newnode = newdoctype; break; } case DOCUMENT_FRAGMENT_NODE: { newnode = (NodeImpl)createDocumentFragment(); // No name, kids carry value break; } case NOTATION_NODE: { Notation srcnotation = (Notation)source; NotationImpl newnotation = (NotationImpl)createNotation(source.getNodeName()); newnotation.setPublicId(srcnotation.getPublicId()); newnotation.setSystemId(srcnotation.getSystemId()); // Kids carry additional value newnode = newnotation; // No name, no value break; } case DOCUMENT_NODE : // Document can't be child of Document default: { // Unknown node type throw new DOMExceptionImpl(DOMException.HIERARCHY_REQUEST_ERR, "DOM006 Hierarchy request error"); } } // If deep, replicate and attach the kids. if (deep) { for (Node srckid = source.getFirstChild(); srckid != null; srckid = srckid.getNextSibling()) { newnode.appendChild(importNode(srckid, true)); } } return newnode; } // importNode(Node,boolean):Node
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/fd788f496dd24d0d34e5ecb1936da8999ed6c269/DocumentImpl.java/clean/src/org/apache/xerces/dom/DocumentImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 1930, 907, 12, 907, 1084, 16, 1250, 4608, 13, 3639, 1216, 4703, 503, 288, 377, 202, 907, 2828, 29267, 33, 2011, 31, 377, 202, 759, 348, 2031, 18, 1220, 3302, 1404, 1440, 31, 4885, 4906, 2199, 1240, 3238, 501, 716, 377, 202, 759, 4102, 1240, 358, 506, 10036, 10810, 9477, 18, 16734, 506, 7752, 358, 527, 1191, 377, 202, 759, 25641, 358, 1517, 14003, 5872, 18, 23047, 5317, 14646, 35, 377, 202, 759, 309, 12, 3168, 1276, 2029, 2828, 597, 377, 202, 759, 202, 5, 12, 3168, 1276, 4319, 2828, 3719, 377, 202, 759, 288, 377, 202, 759, 225, 368, 4480, 1404, 3236, 4319, 2828, 3241, 518, 18058, 584, 2777, 377, 202, 759, 202, 2704, 2159, 28657, 907, 2828, 13, 3168, 18, 14056, 907, 12, 5743, 1769, 377, 202, 759, 202, 2704, 2159, 18, 8443, 2519, 33, 2211, 31, 377, 202, 759, 97, 377, 202, 759, 12107, 3639, 509, 618, 273, 1084, 18, 588, 15101, 5621, 377, 202, 9610, 261, 723, 13, 288, 377, 1082, 5411, 648, 13424, 67, 8744, 30, 288, 377, 1082, 202, 1046, 394, 2956, 273, 6310, 12, 3168, 18, 588, 18948, 10663, 377, 1082, 202, 7604, 907, 863, 1705, 1747, 273, 1084, 18, 588, 2498, 5621, 377, 1082, 202, 430, 261, 4816, 1747, 480, 446, 13, 288, 377, 9506, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 1705, 1747, 18, 588, 1782, 5621, 277, 27245, 288, 377, 6862, 202, 2704, 2956, 18, 542, 1499, 907, 12, 377, 25083, 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, 2029, 1930, 907, 12, 907, 1084, 16, 1250, 4608, 13, 3639, 1216, 4703, 503, 288, 377, 202, 907, 2828, 29267, 33, 2011, 31, 377, 202, 759, 348, 2031, 18, 1220, 3302, 1404, 1440, 31, 4885, 4906, 2199, 1240, 3238, 501, 716, 377, 202, 759, 4102, 1240, 358, 506, 10036, 10810, 9477, 18, 16734, 506, 7752, 358, 527, 1191, 377, 202, 759, 25641, 358, 1517, 14003, 5872, 18, 23047, 5317, 14646, 35, 377, 202, 759, 309, 12, 3168, 1276, 2029, 2828, 597, 377, 202, 759, 202, 5, 12, 3168, 1276, 4319, 2828, 3719, 377, 202, 759, 288, 377, 202, 759, 225, 368, 4480, 1404, 3236, 4319, 2828, 3241, 518, 18058, 584, 2777, 377, 202, 759, 202, 2704, 2159, 2 ]
public org.quickfix.field.DeliveryType getDeliveryType() throws FieldNotFound { org.quickfix.field.DeliveryType value = new org.quickfix.field.DeliveryType();
public quickfix.field.DeliveryType getDeliveryType() throws FieldNotFound { quickfix.field.DeliveryType value = new quickfix.field.DeliveryType();
public org.quickfix.field.DeliveryType getDeliveryType() throws FieldNotFound { org.quickfix.field.DeliveryType value = new org.quickfix.field.DeliveryType(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderStatusRequest.java/clean/src/java/src/quickfix/fix44/OrderStatusRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8909, 559, 31518, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8909, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8909, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8909, 559, 31518, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8909, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8909, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
out.println( "<?xml version=\"1.0\" encoding=\""
out.print( "<?xml version=\"1.0\" encoding=\""
private void init( String signature ) { writeUTFSignature( signature ); out.println( "<?xml version=\"1.0\" encoding=\"" //$NON-NLS-1$ + OUTPUT_ENCODING + "\"?>" ); //$NON-NLS-1$ }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/d22a06594445ba842195c89463335719924a0245/XMLWriter.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/XMLWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1208, 12, 514, 3372, 262, 202, 95, 202, 202, 2626, 5159, 5374, 12, 3372, 11272, 202, 202, 659, 18, 1188, 12, 20410, 2902, 1177, 5189, 21, 18, 20, 2412, 2688, 13186, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 15, 11550, 67, 14672, 397, 7023, 35, 2984, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 225, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 1152, 918, 1208, 12, 514, 3372, 262, 202, 95, 202, 202, 2626, 5159, 5374, 12, 3372, 11272, 202, 202, 659, 18, 1188, 12, 20410, 2902, 1177, 5189, 21, 18, 20, 2412, 2688, 13186, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 15, 11550, 67, 14672, 397, 7023, 35, 2984, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 225, 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 ]
protected final boolean process ( ) { assert _locale.entered(); if (_cur == null) return false; if (_version != _locale.version()) throw new ConcurrentModificationException( "Document changed during save" ); switch ( _cur.kind() ) { case ROOT : { processRoot(); break; } case ELEM : { processElement(); break; } case - ELEM : { processFinish (); break; } case TEXT : { emitText ( _cur ); break; } case COMMENT : { emitComment ( _cur ); _cur.toEnd(); break; } case PROCINST : { emitProcinst ( _cur ); _cur.toEnd(); break; } case - ROOT : { _cur.release(); _cur = null; return false; } default : throw new RuntimeException( "Unexpected kind" ); } _cur.next(); return true; }
3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/c2050878358a3543cf38c8b9bf0a37703cce78e1/Saver.java/clean/src/store/org/apache/xmlbeans/impl/store/Saver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 1250, 1207, 261, 262, 565, 288, 3639, 1815, 389, 6339, 18, 2328, 329, 5621, 3639, 309, 261, 67, 1397, 422, 446, 13, 5411, 327, 629, 31, 7734, 309, 261, 67, 1589, 480, 389, 6339, 18, 1589, 10756, 5411, 604, 394, 15242, 13467, 503, 12, 315, 2519, 3550, 4982, 1923, 6, 11272, 7734, 1620, 261, 389, 1397, 18, 9224, 1435, 262, 3639, 288, 5411, 648, 282, 11011, 377, 294, 288, 1207, 2375, 5621, 13491, 898, 31, 289, 5411, 648, 282, 512, 26817, 377, 294, 288, 1207, 1046, 5621, 5397, 898, 31, 289, 5411, 648, 300, 512, 26817, 377, 294, 288, 1207, 11641, 261, 1769, 5397, 898, 31, 289, 5411, 648, 282, 9204, 377, 294, 288, 3626, 1528, 1377, 261, 389, 1397, 11272, 9079, 898, 31, 289, 18701, 648, 282, 19400, 225, 294, 288, 3626, 4469, 282, 261, 389, 1397, 11272, 389, 1397, 18, 869, 1638, 5621, 898, 31, 289, 5411, 648, 282, 4629, 39, 19784, 294, 288, 3626, 15417, 8591, 225, 261, 389, 1397, 11272, 389, 1397, 18, 869, 1638, 5621, 898, 31, 289, 4766, 1850, 648, 300, 11011, 294, 5411, 288, 7734, 389, 1397, 18, 9340, 5621, 7734, 389, 1397, 273, 446, 31, 27573, 327, 629, 31, 5411, 289, 18701, 805, 294, 604, 394, 3235, 12, 315, 7762, 3846, 6, 11272, 3639, 289, 3639, 389, 1397, 18, 4285, 5621, 7734, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 1250, 1207, 261, 262, 565, 288, 3639, 1815, 389, 6339, 18, 2328, 329, 5621, 3639, 309, 261, 67, 1397, 422, 446, 13, 5411, 327, 629, 31, 7734, 309, 261, 67, 1589, 480, 389, 6339, 18, 1589, 10756, 5411, 604, 394, 15242, 13467, 503, 12, 315, 2519, 3550, 4982, 1923, 6, 11272, 7734, 1620, 261, 389, 1397, 18, 9224, 1435, 262, 3639, 288, 5411, 648, 282, 11011, 377, 294, 288, 1207, 2375, 5621, 13491, 898, 31, 289, 5411, 648, 282, 512, 26817, 377, 294, 288, 1207, 1046, 5621, 5397, 898, 31, 289, 5411, 648, 300, 512, 26817, 377, 294, 288, 1207, 11641, 261, 1769, 5397, 898, 31, 289, 5411, 648, 282, 9204, 377, 294, 288, 3626, 1528, 2 ]
String sbVal = (String)sbItem.getConstant(); Object sVal = (Object)i.getConstant();
Object sbVal = sbItem.getConstant(); Object sVal = i.getConstant();
private void processMethodCall(DismantleBytecode dbc, int seen) { String clsName = dbc.getClassConstantOperand(); String methodName = dbc.getNameConstantOperand(); String signature = dbc.getSigConstantOperand(); String appenderValue = null; Item sbItem = null; //TODO: stack merging for trinaries kills the constant.. would be nice to maintain. if ("java/lang/StringBuffer".equals(clsName) || "java/lang/StringBuilder".equals(clsName)) { if ("<init>".equals(methodName)) { if ("(Ljava/lang/String;)V".equals(signature)) { Item i = getStackItem(0); appenderValue = (String)i.getConstant(); } else if ("()V".equals(signature)) { appenderValue = ""; } } else if ("toString".equals(methodName)) { Item i = getStackItem(0); appenderValue = (String)i.getConstant(); } else if ("append".equals(methodName)) { sbItem = getStackItem(1); Item i = getStackItem(0); String sbVal = (String)sbItem.getConstant(); Object sVal = (Object)i.getConstant(); if ((sbVal != null) && (sVal != null)) { appenderValue = sbVal + sVal.toString(); } else if (sbItem.registerNumber >= 0) { OpcodeStack.Item item = getLVValue(sbItem.registerNumber); if (item != null) item.constValue = null; } } } pushByInvoke(dbc, seen != INVOKESTATIC); if (appenderValue != null) { Item i = this.getStackItem(0); i.constValue = appenderValue; if (sbItem != null) { i.registerNumber = sbItem.registerNumber; i.field = sbItem.field; i.userValue = sbItem.userValue; if (sbItem.registerNumber >= 0) setLVValue(sbItem.registerNumber, i ); } return; } if (clsName.equals("java/util/Random") && methodName.equals("nextInt") && signature.equals("()I")) { Item i = pop(); i.setSpecialKind(Item.RANDOM_INT); push(i); } else if (methodName.equals("hashCode") && signature.equals("()I")) { Item i = pop(); i.setSpecialKind(Item.HASHCODE_INT); push(i); } }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/11c43e7812b9d0ebd068ce322701b9ab9da6ae86/OpcodeStack.java/clean/findbugs/src/java/edu/umd/cs/findbugs/OpcodeStack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 202, 1152, 918, 1207, 12592, 12, 1669, 81, 970, 298, 858, 16651, 9881, 16, 509, 5881, 13, 288, 3196, 202, 780, 2028, 461, 273, 9881, 18, 588, 797, 6902, 10265, 5621, 3196, 202, 780, 4918, 273, 9881, 18, 17994, 6902, 10265, 5621, 3196, 202, 780, 3372, 273, 9881, 18, 588, 8267, 6902, 10265, 5621, 3196, 202, 780, 17405, 620, 273, 446, 31, 3196, 202, 1180, 2393, 1180, 273, 446, 31, 1875, 3196, 202, 759, 6241, 30, 2110, 17256, 364, 433, 267, 5646, 8673, 87, 326, 5381, 838, 4102, 506, 13752, 358, 17505, 18, 3196, 202, 430, 7566, 6290, 19, 4936, 19, 780, 1892, 9654, 14963, 12, 6429, 461, 13, 3196, 202, 20081, 225, 315, 6290, 19, 4936, 19, 21253, 9654, 14963, 12, 6429, 461, 3719, 288, 1875, 202, 430, 7566, 32, 2738, 2984, 18, 14963, 12, 2039, 461, 3719, 288, 4697, 202, 430, 7566, 12, 21159, 19, 4936, 19, 780, 30943, 58, 9654, 14963, 12, 8195, 3719, 288, 4405, 202, 1180, 277, 273, 18457, 1180, 12, 20, 1769, 4405, 202, 6923, 264, 620, 273, 261, 780, 13, 77, 18, 588, 6902, 5621, 4697, 202, 97, 469, 309, 7566, 1435, 58, 9654, 14963, 12, 8195, 3719, 288, 4405, 202, 6923, 264, 620, 273, 1408, 31, 4697, 202, 97, 1875, 202, 97, 469, 309, 7566, 10492, 9654, 14963, 12, 2039, 461, 3719, 288, 4697, 202, 1180, 277, 273, 18457, 1180, 12, 20, 1769, 4697, 202, 6923, 264, 620, 273, 261, 780, 13, 77, 18, 588, 6902, 5621, 1875, 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, 202, 1152, 918, 1207, 12592, 12, 1669, 81, 970, 298, 858, 16651, 9881, 16, 509, 5881, 13, 288, 3196, 202, 780, 2028, 461, 273, 9881, 18, 588, 797, 6902, 10265, 5621, 3196, 202, 780, 4918, 273, 9881, 18, 17994, 6902, 10265, 5621, 3196, 202, 780, 3372, 273, 9881, 18, 588, 8267, 6902, 10265, 5621, 3196, 202, 780, 17405, 620, 273, 446, 31, 3196, 202, 1180, 2393, 1180, 273, 446, 31, 1875, 3196, 202, 759, 6241, 30, 2110, 17256, 364, 433, 267, 5646, 8673, 87, 326, 5381, 838, 4102, 506, 13752, 358, 17505, 18, 3196, 202, 430, 7566, 6290, 19, 4936, 19, 780, 1892, 9654, 14963, 12, 6429, 461, 13, 3196, 202, 20081, 225, 315, 6290, 19, 4936, 19, 2 ]
if (clazz == null)
if (clazz == null)
public Test getTest(String suiteClassName) { if (suiteClassName.length() <= 0) { clearStatus(); return null; } Class testClass= null; try { testClass= loadSuiteClass(suiteClassName); } catch (ClassNotFoundException e) { String clazz= e.getMessage(); if (clazz == null) clazz= suiteClassName; runFailed("Class not found \""+clazz+"\""); return null; } catch(Exception e) { runFailed("Error: "+e.toString()); return null; } Method suiteMethod= null; try { suiteMethod= testClass.getMethod(SUITE_METHODNAME, new Class[0]); } catch(Exception e) { // try to extract a test suite automatically clearStatus(); return new TestSuite(testClass); } Test test= null; try { test= (Test)suiteMethod.invoke(null, new Class[0]); // static method if (test == null) return test; } catch (InvocationTargetException e) { runFailed("Failed to invoke suite():" + e.getTargetException().toString()); return null; } catch (IllegalAccessException e) { runFailed("Failed to invoke suite():" + e.toString()); return null; } clearStatus(); return test; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/4b4449dde49cdcaed9ae00d1ac057ecfeb8d8c23/BaseTestRunner.java/buggy/org.eclipse.jdt.core.tests.model/workspace/Converter/junit/runner/BaseTestRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7766, 29384, 12, 780, 11371, 3834, 13, 288, 202, 202, 430, 261, 30676, 3834, 18, 2469, 1435, 1648, 374, 13, 288, 1082, 202, 8507, 1482, 5621, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 797, 1842, 797, 33, 446, 31, 202, 202, 698, 288, 1082, 202, 3813, 797, 33, 1262, 13587, 797, 12, 30676, 3834, 1769, 202, 202, 97, 1044, 261, 797, 3990, 425, 13, 288, 1082, 202, 780, 4003, 33, 425, 18, 24906, 5621, 1082, 202, 430, 261, 830, 3638, 422, 446, 13, 4697, 202, 830, 3638, 33, 11371, 3834, 31, 1082, 202, 2681, 2925, 2932, 797, 486, 1392, 11843, 15, 830, 3638, 9078, 8530, 1769, 1082, 202, 2463, 446, 31, 202, 202, 97, 1044, 12, 503, 425, 13, 288, 1082, 202, 2681, 2925, 2932, 668, 30, 13773, 73, 18, 10492, 10663, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 1305, 11371, 1305, 33, 446, 31, 202, 202, 698, 288, 1082, 202, 30676, 1305, 33, 1842, 797, 18, 588, 1305, 12, 6639, 5398, 67, 5327, 1985, 16, 394, 1659, 63, 20, 19226, 202, 225, 202, 97, 1044, 12, 503, 425, 13, 288, 202, 3196, 202, 759, 775, 358, 2608, 279, 1842, 11371, 6635, 1082, 202, 8507, 1482, 5621, 25083, 202, 2463, 394, 7766, 13587, 12, 3813, 797, 1769, 202, 202, 97, 202, 202, 4709, 1842, 33, 446, 31, 202, 202, 698, 288, 1082, 202, 3813, 33, 261, 4709, 13, 30676, 1305, 18, 14407, 12, 2011, 16, 394, 1659, 63, 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, 7766, 29384, 12, 780, 11371, 3834, 13, 288, 202, 202, 430, 261, 30676, 3834, 18, 2469, 1435, 1648, 374, 13, 288, 1082, 202, 8507, 1482, 5621, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 797, 1842, 797, 33, 446, 31, 202, 202, 698, 288, 1082, 202, 3813, 797, 33, 1262, 13587, 797, 12, 30676, 3834, 1769, 202, 202, 97, 1044, 261, 797, 3990, 425, 13, 288, 1082, 202, 780, 4003, 33, 425, 18, 24906, 5621, 1082, 202, 430, 261, 830, 3638, 422, 446, 13, 4697, 202, 830, 3638, 33, 11371, 3834, 31, 1082, 202, 2681, 2925, 2932, 797, 486, 1392, 11843, 15, 830, 3638, 9078, 8530, 1769, 1082, 202, 2463, 446, 31, 202, 202, 2 ]
intergenicEnd = chr.getLength().intValue();
public Object next() { if (!hasNext()) { throw new NoSuchElementException(); } int nextIntergenicStart = bs.nextClearBit(prevEndPos + 1); int intergenicEnd; int nextSetBit = bs.nextSetBit(nextIntergenicStart); if (nextSetBit == -1 || bs.nextClearBit(nextSetBit) > chr.getLength().intValue()) { intergenicEnd = chr.getLength().intValue(); prevEndPos = -1; } else { intergenicEnd = nextSetBit - 1; prevEndPos = intergenicEnd; } IntergenicRegion intergenicRegion = (IntergenicRegion) DynamicUtil.createObject(Collections.singleton(IntergenicRegion.class)); Location location = (Location) DynamicUtil.createObject(Collections.singleton(Location.class)); Synonym synonym = (Synonym) DynamicUtil.createObject(Collections.singleton(Synonym.class)); location.setStart(new Integer(nextIntergenicStart)); location.setEnd(new Integer(intergenicEnd)); location.setStrand(new Integer(1)); location.setPhase(new Integer(0)); location.setStartIsPartial(Boolean.FALSE); location.setEndIsPartial(Boolean.FALSE); location.setSubject(intergenicRegion); location.setObject(chr); location.addEvidence(dataSet); intergenicRegion.setChromosomeLocation(location); intergenicRegion.setChromosome(chr); intergenicRegion.setOrganism(chr.getOrganism()); intergenicRegion.addSynonyms(synonym); intergenicRegion.addEvidence(dataSet); synonym.addEvidence(dataSet); synonym.setSource(dataSource); synonym.setSubject(intergenicRegion); synonym.setType("identifier"); int length = location.getEnd().intValue() - location.getStart().intValue() + 1; intergenicRegion.setLength(new Integer(length)); String identifier = "integenic_region_chr" + chr.getIdentifier() + "_" + location.getStart() + ".." + location.getEnd(); intergenicRegion.setIdentifier(identifier); synonym.setValue(intergenicRegion.getIdentifier()); return intergenicRegion; }
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/5c6d89a3a874e1bac723208c06714d745e08f6b0/IntergenicRegionUtil.java/clean/flymine/model/genomic/src/java/org/flymine/postprocess/IntergenicRegionUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 1024, 1435, 288, 7734, 309, 16051, 5332, 2134, 10756, 288, 10792, 604, 394, 23104, 5621, 7734, 289, 27573, 509, 1024, 2465, 4507, 335, 1685, 273, 7081, 18, 4285, 9094, 5775, 12, 10001, 1638, 1616, 397, 404, 1769, 7734, 509, 1554, 4507, 335, 1638, 31, 7734, 509, 1024, 694, 5775, 273, 7081, 18, 4285, 694, 5775, 12, 4285, 2465, 4507, 335, 1685, 1769, 7734, 309, 261, 4285, 694, 5775, 422, 300, 21, 5397, 747, 7081, 18, 4285, 9094, 5775, 12, 4285, 694, 5775, 13, 405, 4513, 18, 588, 1782, 7675, 474, 620, 10756, 288, 4766, 4202, 2807, 1638, 1616, 273, 300, 21, 31, 7734, 289, 469, 288, 10792, 1554, 4507, 335, 1638, 273, 1024, 694, 5775, 300, 404, 31, 10792, 2807, 1638, 1616, 273, 1554, 4507, 335, 1638, 31, 7734, 289, 27573, 5294, 4507, 335, 5165, 1554, 4507, 335, 5165, 273, 261, 2465, 4507, 335, 5165, 13, 5397, 12208, 1304, 18, 2640, 921, 12, 15150, 18, 24487, 12, 2465, 4507, 335, 5165, 18, 1106, 10019, 7734, 7050, 2117, 273, 5397, 261, 2735, 13, 12208, 1304, 18, 2640, 921, 12, 15150, 18, 24487, 12, 2735, 18, 1106, 10019, 7734, 16091, 6435, 26308, 273, 5397, 261, 10503, 6435, 13, 12208, 1304, 18, 2640, 921, 12, 15150, 18, 24487, 12, 10503, 6435, 18, 1106, 10019, 7734, 2117, 18, 542, 1685, 12, 2704, 2144, 12, 4285, 2465, 4507, 335, 1685, 10019, 7734, 2117, 18, 542, 1638, 12, 2704, 2144, 12, 2761, 4507, 335, 1638, 10019, 7734, 2117, 18, 542, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 1024, 1435, 288, 7734, 309, 16051, 5332, 2134, 10756, 288, 10792, 604, 394, 23104, 5621, 7734, 289, 27573, 509, 1024, 2465, 4507, 335, 1685, 273, 7081, 18, 4285, 9094, 5775, 12, 10001, 1638, 1616, 397, 404, 1769, 7734, 509, 1554, 4507, 335, 1638, 31, 7734, 509, 1024, 694, 5775, 273, 7081, 18, 4285, 694, 5775, 12, 4285, 2465, 4507, 335, 1685, 1769, 7734, 309, 261, 4285, 694, 5775, 422, 300, 21, 5397, 747, 7081, 18, 4285, 9094, 5775, 12, 4285, 694, 5775, 13, 405, 4513, 18, 588, 1782, 7675, 474, 620, 10756, 288, 4766, 4202, 2807, 1638, 1616, 273, 300, 21, 31, 7734, 289, 469, 288, 10792, 1554, 4507, 335, 1638, 273, 1024, 694, 5775, 300, 2 ]
init(owner, name, description, readersGroup, writersGroup);
setOjbConcreteClass(this.getClass().getName()); setRootDomainObject(RootDomainObject.getInstance());
public ExecutionCourseForum(Person owner, String name, String description, Group readersGroup, Group writersGroup) { super(); init(owner, name, description, readersGroup, writersGroup); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/7148367fa5a213e3f8ff5b75cd5b71ffc60dce42/ExecutionCourseForum.java/clean/src/net/sourceforge/fenixedu/domain/messaging/ExecutionCourseForum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8687, 39, 3117, 1290, 379, 12, 8346, 3410, 16, 514, 508, 16, 514, 2477, 16, 3756, 16527, 1114, 16, 5411, 3756, 18656, 1114, 13, 288, 3639, 2240, 5621, 3639, 444, 51, 10649, 25845, 797, 12, 2211, 18, 588, 797, 7675, 17994, 10663, 31706, 3748, 921, 12, 2375, 3748, 921, 18, 588, 1442, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8687, 39, 3117, 1290, 379, 12, 8346, 3410, 16, 514, 508, 16, 514, 2477, 16, 3756, 16527, 1114, 16, 5411, 3756, 18656, 1114, 13, 288, 3639, 2240, 5621, 3639, 444, 51, 10649, 25845, 797, 12, 2211, 18, 588, 797, 7675, 17994, 10663, 31706, 3748, 921, 12, 2375, 3748, 921, 18, 588, 1442, 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 ]
safeUpdateItem.widget = widget; safeUpdateItem.object = element; safeUpdateItem.fullMap = true; Platform.run(safeUpdateItem);
try { safeUpdateItem.widget = widget; safeUpdateItem.object = element; safeUpdateItem.fullMap = true; Platform.run(safeUpdateItem); } finally { safeUpdateItem.widget = null; safeUpdateItem.object = null; }
protected final void updateItem(Widget widget, Object element) { safeUpdateItem.widget = widget; safeUpdateItem.object = element; safeUpdateItem.fullMap = true; Platform.run(safeUpdateItem);}
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/261d540aafcebd3bdea1f5c96684f1a5cd997308/StructuredViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StructuredViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 727, 918, 1089, 1180, 12, 4609, 3604, 16, 1033, 930, 13, 288, 202, 4626, 1891, 1180, 18, 6587, 273, 3604, 31, 202, 4626, 1891, 1180, 18, 1612, 273, 930, 31, 202, 4626, 1891, 1180, 18, 2854, 863, 273, 638, 31, 202, 8201, 18, 2681, 12, 4626, 1891, 1180, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4750, 727, 918, 1089, 1180, 12, 4609, 3604, 16, 1033, 930, 13, 288, 202, 4626, 1891, 1180, 18, 6587, 273, 3604, 31, 202, 4626, 1891, 1180, 18, 1612, 273, 930, 31, 202, 4626, 1891, 1180, 18, 2854, 863, 273, 638, 31, 202, 8201, 18, 2681, 12, 4626, 1891, 1180, 1769, 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 ]
if ( prefix.length()==0 && uriStr.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA)
if ( prefix.length()==0 && uriStr.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA)
private String resolvePrefixToURI (String prefix) throws Exception { String uriStr = fStringPool.toString(fNamespacesScope.getNamespaceForPrefix(fStringPool.addSymbol(prefix))); if (uriStr == null) { // REVISIT: Localize reportGenericSchemaError("prefix : [" + prefix +"] can not be resolved to a URI"); return ""; } //REVISIT, !!!! a hack: needs to be updated later, cause now we only use localpart to key build-in datatype. if ( prefix.length()==0 && uriStr.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA) && fTargetNSURIString.length() == 0) { uriStr = ""; } return uriStr; }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/87731f2b2070ba79da173a5e6be82410b096d7c5/TraverseSchema.java/buggy/src/org/apache/xerces/validators/schema/TraverseSchema.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 2245, 2244, 774, 3098, 261, 780, 1633, 13, 1216, 1185, 225, 288, 3639, 514, 2003, 1585, 273, 284, 780, 2864, 18, 10492, 12, 74, 13180, 3876, 18, 588, 3402, 1290, 2244, 12, 74, 780, 2864, 18, 1289, 5335, 12, 3239, 3719, 1769, 3639, 309, 261, 1650, 1585, 422, 446, 13, 288, 5411, 368, 2438, 26780, 1285, 30, 3566, 554, 5411, 2605, 7014, 3078, 668, 2932, 3239, 294, 8247, 397, 1633, 397, 11929, 848, 486, 506, 4640, 358, 279, 3699, 8863, 5411, 327, 1408, 31, 3639, 289, 3639, 368, 862, 26780, 1285, 16, 401, 25885, 279, 11769, 30, 4260, 358, 506, 3526, 5137, 16, 4620, 2037, 732, 1338, 999, 1191, 2680, 358, 498, 1361, 17, 267, 11172, 18, 3639, 309, 261, 1633, 18, 2469, 1435, 631, 20, 597, 2003, 1585, 18, 14963, 12, 3078, 14821, 18, 3098, 67, 55, 10390, 6799, 14006, 11355, 13, 2868, 597, 284, 2326, 3156, 3098, 780, 18, 2469, 1435, 422, 374, 13, 288, 5411, 2003, 1585, 273, 1408, 31, 3639, 289, 3639, 327, 2003, 1585, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 514, 2245, 2244, 774, 3098, 261, 780, 1633, 13, 1216, 1185, 225, 288, 3639, 514, 2003, 1585, 273, 284, 780, 2864, 18, 10492, 12, 74, 13180, 3876, 18, 588, 3402, 1290, 2244, 12, 74, 780, 2864, 18, 1289, 5335, 12, 3239, 3719, 1769, 3639, 309, 261, 1650, 1585, 422, 446, 13, 288, 5411, 368, 2438, 26780, 1285, 30, 3566, 554, 5411, 2605, 7014, 3078, 668, 2932, 3239, 294, 8247, 397, 1633, 397, 11929, 848, 486, 506, 4640, 358, 279, 3699, 8863, 5411, 327, 1408, 31, 3639, 289, 3639, 368, 862, 26780, 1285, 16, 401, 25885, 279, 11769, 30, 4260, 358, 506, 3526, 5137, 16, 4620, 2037, 732, 1338, 999, 1191, 2680, 358, 498, 1361, 17, 267, 11172, 2 ]
elements.add(0,
elements.add(elements.size(),
private List stmtsForConstructor(FEContext ctx, Expression name, Type type, Expression init, boolean arrayConstructor) { List result = new java.util.ArrayList(); // If the type doesn't involve a constructor, there are no // generated statements. String field_name = null; if (name instanceof ExprVar) field_name = ((ExprVar) name).getName(); if (!needsConstructor(type, init)) return result; // No; generate the constructor. if (!libraryFormat || (arrayConstructor || !(type instanceof TypeArray))) { // Instead of constructing here, as in new int[][], // it should just assign the variable to reference // a global copy initialized to zero. if (libraryFormat && !special_global && type instanceof TypeArray && field_name != null && activeStreamName != null && immutableDetector.isImmutable(activeStreamName, field_name)) { String tempVar = varGen.nextVar(); Expression varExp = new ExprVar(ctx, tempVar); List elements = new ArrayList(); Type base = type; while (base instanceof TypeArray) { elements.add(0, ((TypeArray) base).getLength() ); base = ((TypeArray) base).getBase(); } result.add( new StmtVarDecl( ctx, new TypeArray(new TypePrimitive(TypePrimitive.TYPE_INT), new ExprConstInt(elements.size())), tempVar, new ExprArrayInit(ctx, elements)) ); result.add( new StmtAssign( ctx, name, new ExprTypeCast( ctx, type, new ExprFunCall( ctx, "ArrayMemoizer.initArray", new ExprJavaConstructor( ctx, new TypeArray(((TypeArray) type).getComponent(), new ExprConstInt(0)) ), varExp ) ) ) ); } else { result.add(new StmtAssign(ctx, name, new ExprJavaConstructor(ctx, type))); } } // Now, if this is a structure type, we might need to // recursively generate constructors for the structure // members. if (type instanceof TypeStruct) { TypeStruct ts = (TypeStruct)type; for (int i = 0; i < ts.getNumFields(); i++) { String fname = ts.getField(i); Type ftype = ts.getType(fname); if (needsConstructor(ftype)) { // Construct the new left-hand side: Expression lhs = new ExprField(ctx, name, fname); // Get child constructors and add them: result.addAll(stmtsForConstructor(ctx, lhs, ftype, null, true)); } } } // Or, if this is an array of structures, we might need to // recursively generate constructors. if (libraryFormat && (type instanceof TypeArray)) { TypeArray ta = (TypeArray) type; Type base = ta.getBase(); if (needsConstructor(base)) { // The length might be non-constant. This means that // we need to do this by looping through the array. String tempVar = varGen.nextVar(); Expression varExp = new ExprVar(ctx, tempVar); Statement decl = new StmtVarDecl(ctx, new TypePrimitive(TypePrimitive.TYPE_INT), tempVar, new ExprConstInt(ctx, 0)); Expression cond = new ExprBinary(ctx, ExprBinary.BINOP_LT, varExp, ta.getLength()); Statement incr = new StmtExpr(ctx, new ExprUnary(ctx, ExprUnary.UNOP_POSTINC, varExp)); Expression lhs = new ExprArray(ctx, name, varExp); Statement body = new StmtBlock(ctx, stmtsForConstructor(ctx, lhs, base, null, false)); Statement loop = new StmtFor(ctx, decl, cond, incr, body); result.add(loop); } } return result; }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/2216d7784d19a9def23d6b06edbfacfcbed3a939/InsertInitConstructors.java/clean/streams/src/streamit/frontend/tojava/InsertInitConstructors.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 15452, 1290, 6293, 12, 8090, 1042, 1103, 16, 5371, 508, 16, 19694, 1412, 618, 16, 5371, 1208, 16, 4766, 1377, 1250, 526, 6293, 13, 565, 288, 3639, 987, 563, 273, 394, 2252, 18, 1367, 18, 19558, 5621, 3639, 368, 971, 326, 618, 3302, 1404, 2198, 5390, 279, 3885, 16, 1915, 854, 1158, 3639, 368, 4374, 6317, 18, 7734, 514, 652, 67, 529, 273, 446, 31, 3639, 309, 261, 529, 1276, 8074, 1537, 13, 5411, 652, 67, 529, 273, 14015, 4742, 1537, 13, 508, 2934, 17994, 5621, 3639, 309, 16051, 20600, 6293, 12, 723, 16, 1208, 3719, 5411, 327, 563, 31, 3639, 368, 2631, 31, 2103, 326, 3885, 18, 3639, 309, 16051, 12083, 1630, 747, 261, 1126, 6293, 747, 401, 12, 723, 1276, 1412, 1076, 20349, 2398, 288, 7734, 368, 17561, 434, 27389, 2674, 16, 487, 316, 394, 509, 63, 6362, 6487, 7734, 368, 518, 1410, 2537, 2683, 326, 2190, 358, 2114, 7734, 368, 279, 2552, 1610, 6454, 358, 3634, 18, 7734, 309, 261, 12083, 1630, 597, 5397, 401, 9371, 67, 6347, 597, 5397, 618, 1276, 1412, 1076, 597, 5397, 652, 67, 529, 480, 446, 597, 8227, 2695, 28400, 480, 446, 597, 5397, 11732, 12594, 18, 291, 16014, 12, 3535, 28400, 16, 652, 67, 529, 3719, 10792, 288, 13491, 514, 1906, 1537, 273, 569, 7642, 18, 4285, 1537, 5621, 13491, 5371, 569, 2966, 273, 394, 8074, 1537, 12, 5900, 16, 1906, 1537, 1769, 13491, 987, 2186, 273, 394, 2407, 5621, 13491, 1412, 1026, 273, 618, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 15452, 1290, 6293, 12, 8090, 1042, 1103, 16, 5371, 508, 16, 19694, 1412, 618, 16, 5371, 1208, 16, 4766, 1377, 1250, 526, 6293, 13, 565, 288, 3639, 987, 563, 273, 394, 2252, 18, 1367, 18, 19558, 5621, 3639, 368, 971, 326, 618, 3302, 1404, 2198, 5390, 279, 3885, 16, 1915, 854, 1158, 3639, 368, 4374, 6317, 18, 7734, 514, 652, 67, 529, 273, 446, 31, 3639, 309, 261, 529, 1276, 8074, 1537, 13, 5411, 652, 67, 529, 273, 14015, 4742, 1537, 13, 508, 2934, 17994, 5621, 3639, 309, 16051, 20600, 6293, 12, 723, 16, 1208, 3719, 5411, 327, 563, 31, 3639, 368, 2631, 31, 2103, 326, 3885, 18, 3639, 309, 16051, 12083, 1630, 747, 261, 1126, 2 ]
protected static Boolean proxyEquals(Object aProxy, Object aOther) {
protected static Boolean proxyEquals(Object aProxy, Object aOther) {
protected static Boolean proxyEquals(Object aProxy, Object aOther) { return (aProxy == aOther ? Boolean.TRUE : Boolean.FALSE); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/c385b2e9fc8073db7044d932ee6cd2f136fea61a/XPCOMJavaProxy.java/buggy/extensions/java/xpcom/XPCOMJavaProxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 760, 3411, 2889, 8867, 12, 921, 279, 3886, 16, 1033, 279, 8290, 13, 225, 288, 565, 327, 261, 69, 3886, 422, 279, 8290, 692, 3411, 18, 18724, 294, 3411, 18, 21053, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 760, 3411, 2889, 8867, 12, 921, 279, 3886, 16, 1033, 279, 8290, 13, 225, 288, 565, 327, 261, 69, 3886, 422, 279, 8290, 692, 3411, 18, 18724, 294, 3411, 18, 21053, 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 ]
System.out.println(msg); return;
throw new BuildException(msg);
protected Main(String[] args) throws BuildException { String searchForThis = null; PrintStream logTo = null; // cycle through given args for (int i = 0; i < args.length; i++) { String arg = args[i]; if (arg.equals("-help")) { printUsage(); return; } else if (arg.equals("-version")) { printVersion(); return; } else if (arg.equals("-diagnostics")){ Diagnostics.doReport(System.out); return; } else if (arg.equals("-quiet") || arg.equals("-q")) { msgOutputLevel = Project.MSG_WARN; } else if (arg.equals("-verbose") || arg.equals("-v")) { printVersion(); msgOutputLevel = Project.MSG_VERBOSE; } else if (arg.equals("-debug")) { printVersion(); msgOutputLevel = Project.MSG_DEBUG; } else if (arg.equals("-logfile") || arg.equals("-l")) { try { File logFile = new File(args[i + 1]); i++; logTo = new PrintStream(new FileOutputStream(logFile)); isLogFileUsed = true; } catch (IOException ioe) { String msg = "Cannot write on the specified log file. " + "Make sure the path exists and you have write " + "permissions."; System.out.println(msg); return; } catch (ArrayIndexOutOfBoundsException aioobe) { String msg = "You must specify a log file when " + "using the -log argument"; System.out.println(msg); return; } } else if (arg.equals("-buildfile") || arg.equals("-file") || arg.equals("-f")) { try { buildFile = new File(args[i + 1]); i++; } catch (ArrayIndexOutOfBoundsException aioobe) { String msg = "You must specify a buildfile when " + "using the -buildfile argument"; System.out.println(msg); return; } } else if (arg.equals("-listener")) { try { listeners.addElement(args[i + 1]); i++; } catch (ArrayIndexOutOfBoundsException aioobe) { String msg = "You must specify a classname when " + "using the -listener argument"; System.out.println(msg); return; } } else if (arg.startsWith("-D")) { /* Interestingly enough, we get to here when a user * uses -Dname=value. However, in some cases, the JDK * goes ahead and parses this out to args * {"-Dname", "value"} * so instead of parsing on "=", we just make the "-D" * characters go away and skip one argument forward. * * I don't know how to predict when the JDK is going * to help or not, so we simply look for the equals sign. */ String name = arg.substring(2, arg.length()); String value = null; int posEq = name.indexOf("="); if (posEq > 0) { value = name.substring(posEq + 1); name = name.substring(0, posEq); } else if (i < args.length - 1) { value = args[++i]; } definedProps.put(name, value); } else if (arg.equals("-logger")) { if (loggerClassname != null) { System.out.println("Only one logger class may " + " be specified."); return; } try { loggerClassname = args[++i]; } catch (ArrayIndexOutOfBoundsException aioobe) { System.out.println("You must specify a classname when " + "using the -logger argument"); return; } } else if (arg.equals("-inputhandler")) { if (inputHandlerClassname != null) { System.out.println("Only one input handler class may " + "be specified."); return; } try { inputHandlerClassname = args[++i]; } catch (ArrayIndexOutOfBoundsException aioobe) { System.out.println("You must specify a classname when " + "using the -inputhandler argument"); return; } } else if (arg.equals("-emacs")) { emacsMode = true; } else if (arg.equals("-projecthelp")) { // set the flag to display the targets and quit projectHelp = true; } else if (arg.equals("-find")) { // eat up next arg if present, default to build.xml if (i < args.length - 1) { searchForThis = args[++i]; } else { searchForThis = DEFAULT_BUILD_FILENAME; } } else if (arg.startsWith("-propertyfile")) { try { propertyFiles.addElement(args[i + 1]); i++; } catch (ArrayIndexOutOfBoundsException aioobe) { String msg = "You must specify a property filename when " + "using the -propertyfile argument"; System.out.println(msg); return; } } else if (arg.startsWith("-")) { // we don't have any more args to recognize! String msg = "Unknown argument: " + arg; System.out.println(msg); printUsage(); return; } else { // if it's no other arg, it may be the target targets.addElement(arg); } } // if buildFile was not specified on the command line, if (buildFile == null) { // but -find then search for it if (searchForThis != null) { buildFile = findBuildFile(System.getProperty("user.dir"), searchForThis); } else { buildFile = new File(DEFAULT_BUILD_FILENAME); } } // make sure buildfile exists if (!buildFile.exists()) { System.out.println("Buildfile: " + buildFile + " does not exist!"); throw new BuildException("Build failed"); } // make sure it's not a directory (this falls into the ultra // paranoid lets check everything catagory if (buildFile.isDirectory()) { System.out.println("What? Buildfile: " + buildFile + " is a dir!"); throw new BuildException("Build failed"); } // Load the property files specified by -propertyfile for (int propertyFileIndex = 0; propertyFileIndex < propertyFiles.size(); propertyFileIndex++) { String filename = (String) propertyFiles.elementAt(propertyFileIndex); Properties props = new Properties(); FileInputStream fis = null; try { fis = new FileInputStream(filename); props.load(fis); } catch (IOException e) { System.out.println("Could not load property file " + filename + ": " + e.getMessage()); } finally { if (fis != null) { try { fis.close(); } catch (IOException e){ } } } // ensure that -D properties take precedence Enumeration propertyNames = props.propertyNames(); while (propertyNames.hasMoreElements()) { String name = (String) propertyNames.nextElement(); if (definedProps.getProperty(name) == null) { definedProps.put(name, props.getProperty(name)); } } } if (msgOutputLevel >= Project.MSG_INFO) { System.out.println("Buildfile: " + buildFile); } if (logTo != null) { out = err = logTo; System.setOut(out); System.setErr(out); } readyToRun = true; }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/14787c7ad2f504364300c2646cfd5c9ac1b3676a/Main.java/clean/src/main/org/apache/tools/ant/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 12740, 12, 780, 8526, 833, 13, 1216, 18463, 288, 3639, 514, 1623, 1290, 2503, 273, 446, 31, 3639, 21677, 613, 774, 273, 446, 31, 3639, 368, 8589, 3059, 864, 833, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 514, 1501, 273, 833, 63, 77, 15533, 5411, 309, 261, 3175, 18, 14963, 2932, 17, 5201, 6, 3719, 288, 7734, 1172, 5357, 5621, 7734, 327, 31, 5411, 289, 469, 309, 261, 3175, 18, 14963, 2932, 17, 1589, 6, 3719, 288, 7734, 1172, 1444, 5621, 7734, 327, 31, 5411, 289, 469, 309, 261, 3175, 18, 14963, 2932, 17, 12264, 13936, 6, 3719, 95, 7734, 29470, 18, 2896, 4820, 12, 3163, 18, 659, 1769, 7734, 327, 31, 5411, 289, 469, 309, 261, 3175, 18, 14963, 2932, 17, 20380, 7923, 747, 1501, 18, 14963, 2932, 17, 85, 6, 3719, 288, 7734, 1234, 1447, 2355, 273, 5420, 18, 11210, 67, 27999, 31, 5411, 289, 469, 309, 261, 3175, 18, 14963, 2932, 17, 11369, 7923, 747, 1501, 18, 14963, 2932, 17, 90, 6, 3719, 288, 7734, 1172, 1444, 5621, 7734, 1234, 1447, 2355, 273, 5420, 18, 11210, 67, 21900, 31, 5411, 289, 469, 309, 261, 3175, 18, 14963, 2932, 17, 4148, 6, 3719, 288, 7734, 1172, 1444, 5621, 7734, 1234, 1447, 2355, 273, 5420, 18, 11210, 67, 9394, 31, 5411, 289, 469, 309, 261, 3175, 18, 14963, 2932, 17, 28806, 7923, 747, 1501, 18, 14963, 2932, 17, 80, 6, 3719, 288, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 12740, 12, 780, 8526, 833, 13, 1216, 18463, 288, 3639, 514, 1623, 1290, 2503, 273, 446, 31, 3639, 21677, 613, 774, 273, 446, 31, 3639, 368, 8589, 3059, 864, 833, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 514, 1501, 273, 833, 63, 77, 15533, 5411, 309, 261, 3175, 18, 14963, 2932, 17, 5201, 6, 3719, 288, 7734, 1172, 5357, 5621, 7734, 327, 31, 5411, 289, 469, 309, 261, 3175, 18, 14963, 2932, 17, 1589, 6, 3719, 288, 7734, 1172, 1444, 5621, 7734, 327, 31, 5411, 289, 469, 309, 261, 3175, 18, 14963, 2932, 17, 12264, 13936, 6, 3719, 95, 7734, 29470, 18, 2896, 4820, 12, 3163, 2 ]
public Collection values() { checkForUpdates(); return super.values(); }
46029 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46029/43b1b5edd8dc5989dbcb09f586341b8b5203d797/Prototype.java/buggy/src/helma/framework/core/Prototype.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2532, 2372, 1435, 95, 1893, 1290, 5121, 5621, 2463, 9565, 18, 2372, 5621, 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, 1071, 2532, 2372, 1435, 95, 1893, 1290, 5121, 5621, 2463, 9565, 18, 2372, 5621, 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 ]
if (lockObj == null) { throw new IOException("Given target not held as lock"); } if (sharedLockData == null && nonsharedLockData == null) { throw new IOException("Given target not held as lock"); }
FileLock lockObj; FileInputStream sharedLockData; FileOutputStream nonsharedLockData; synchronized (this) { lockObj = (FileLock) lockObjSet.remove(f); sharedLockData = (FileInputStream) sharedLockDataSet.remove(f); nonsharedLockData = (FileOutputStream) nonsharedLockDataSet.remove(f); } if (lockObj == null) { throw new IOException("Given target not held as lock"); } if (sharedLockData == null && nonsharedLockData == null) { throw new IOException("Given target not held as lock"); }
public synchronized void release(Path p) throws IOException { File f = pathToFile(p); FileLock lockObj = (FileLock) lockObjSet.get(f); FileInputStream sharedLockData = (FileInputStream) sharedLockDataSet.get(f); FileOutputStream nonsharedLockData = (FileOutputStream) nonsharedLockDataSet.get(f); if (lockObj == null) { throw new IOException("Given target not held as lock"); } if (sharedLockData == null && nonsharedLockData == null) { throw new IOException("Given target not held as lock"); } lockObj.release(); lockObjSet.remove(f); if (sharedLockData != null) { sharedLockData.close(); sharedLockDataSet.remove(f); } else { nonsharedLockData.close(); nonsharedLockDataSet.remove(f); } }
49248 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49248/d0a25f9381dfc8184f87c4f2941a963a78e3c0cc/LocalFileSystem.java/clean/src/java/org/apache/hadoop/fs/LocalFileSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 3992, 12, 743, 293, 13, 1216, 1860, 288, 3639, 1387, 284, 273, 12221, 812, 12, 84, 1769, 3639, 1387, 2531, 2176, 2675, 273, 261, 812, 2531, 13, 2176, 2675, 694, 18, 588, 12, 74, 1769, 3639, 11907, 5116, 2531, 751, 273, 261, 812, 4348, 13, 5116, 2531, 13676, 18, 588, 12, 74, 1769, 3639, 12942, 1661, 11574, 2531, 751, 273, 261, 812, 4632, 13, 1661, 11574, 2531, 13676, 18, 588, 12, 74, 1769, 3639, 309, 261, 739, 2675, 422, 446, 13, 288, 5411, 604, 394, 1860, 2932, 6083, 1018, 486, 15770, 487, 2176, 8863, 3639, 289, 3639, 309, 261, 11574, 2531, 751, 422, 446, 597, 1661, 11574, 2531, 751, 422, 446, 13, 288, 5411, 604, 394, 1860, 2932, 6083, 1018, 486, 15770, 487, 2176, 8863, 3639, 289, 3639, 2176, 2675, 18, 9340, 5621, 3639, 2176, 2675, 694, 18, 4479, 12, 74, 1769, 3639, 309, 261, 11574, 2531, 751, 480, 446, 13, 288, 5411, 5116, 2531, 751, 18, 4412, 5621, 5411, 5116, 2531, 13676, 18, 4479, 12, 74, 1769, 3639, 289, 469, 288, 5411, 1661, 11574, 2531, 751, 18, 4412, 5621, 5411, 1661, 11574, 2531, 13676, 18, 4479, 12, 74, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 3992, 12, 743, 293, 13, 1216, 1860, 288, 3639, 1387, 284, 273, 12221, 812, 12, 84, 1769, 3639, 1387, 2531, 2176, 2675, 273, 261, 812, 2531, 13, 2176, 2675, 694, 18, 588, 12, 74, 1769, 3639, 11907, 5116, 2531, 751, 273, 261, 812, 4348, 13, 5116, 2531, 13676, 18, 588, 12, 74, 1769, 3639, 12942, 1661, 11574, 2531, 751, 273, 261, 812, 4632, 13, 1661, 11574, 2531, 13676, 18, 588, 12, 74, 1769, 3639, 309, 261, 739, 2675, 422, 446, 13, 288, 5411, 604, 394, 1860, 2932, 6083, 1018, 486, 15770, 487, 2176, 8863, 3639, 289, 3639, 309, 261, 11574, 2531, 751, 422, 446, 597, 1661, 11574, 2531, 751, 422, 446, 13, 288, 5411, 604, 2 ]
protected void actOnResult(int exitValue, boolean wasKilled) { if(exitValue == -1) { executeHaltTarget(exitValue); throw new BuildException("an error occured when running TestNG tests"); } if((exitValue & TestNG.HAS_NO_TEST) == TestNG.HAS_NO_TEST) { if(m_haltOnFailure) { executeHaltTarget(exitValue); throw new BuildException("No tests were run"); } else { if(null != m_failurePropertyName) { getProject().setNewProperty(m_failurePropertyName, "true"); } log("TestNG haven't found any tests to be run", Project.MSG_DEBUG); } } boolean failed = ((exitValue & TestNG.HAS_FAILURE) == TestNG.HAS_FAILURE) || wasKilled; if(failed) { final String msg = wasKilled ? "The tests timed out and were killed." : "The tests failed."; if(m_haltOnFailure) { executeHaltTarget(exitValue); throw new BuildException(msg); } else { if(null != m_failurePropertyName) { getProject().setNewProperty(m_failurePropertyName, "true"); } log(msg, Project.MSG_DEBUG); } } if((exitValue & TestNG.HAS_SKIPPED) == TestNG.HAS_SKIPPED) { if(m_haltOnSkipped) { executeHaltTarget(exitValue); throw new BuildException("There are TestNG SKIPPED tests"); } else { if(null != m_skippedPropertyName) { getProject().setNewProperty(m_skippedPropertyName, "true"); } log("There are TestNG SKIPPED tests", Project.MSG_DEBUG); } } if((exitValue & TestNG.HAS_FSP) == TestNG.HAS_FSP) { if(m_haltOnFSP) { executeHaltTarget(exitValue); throw new BuildException("There are TestNG FAILED WITHIN SUCCESS PERCENTAGE tests"); } else { if(null != m_fspPropertyName) { getProject().setNewProperty(m_fspPropertyName, "true"); } log("There are TestNG FAILED WITHIN SUCCESS PERCENTAGE tests", Project.MSG_DEBUG); } } }
50994 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50994/75c0741cfb0fc75ef79c70ec78da0a1cd8144089/TestNGAntTask.java/buggy/src/main/org/testng/TestNGAntTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1328, 1398, 1253, 12, 474, 2427, 620, 16, 1250, 1703, 47, 13148, 13, 288, 565, 309, 12, 8593, 620, 422, 300, 21, 13, 288, 1377, 1836, 27034, 2326, 12, 8593, 620, 1769, 1377, 604, 394, 18463, 2932, 304, 555, 16206, 1347, 3549, 7766, 4960, 7434, 8863, 565, 289, 3639, 309, 12443, 8593, 620, 473, 7766, 4960, 18, 27765, 67, 3417, 67, 16961, 13, 422, 7766, 4960, 18, 27765, 67, 3417, 67, 16961, 13, 288, 1377, 309, 12, 81, 67, 76, 2390, 1398, 5247, 13, 288, 3639, 1836, 27034, 2326, 12, 8593, 620, 1769, 3639, 604, 394, 18463, 2932, 2279, 7434, 4591, 1086, 8863, 1377, 289, 1377, 469, 288, 3639, 309, 12, 2011, 480, 312, 67, 12251, 13073, 13, 288, 1850, 11080, 7675, 542, 1908, 1396, 12, 81, 67, 12251, 13073, 16, 315, 3767, 8863, 3639, 289, 7734, 613, 2932, 4709, 4960, 15032, 1404, 1392, 1281, 7434, 358, 506, 1086, 3113, 5420, 18, 11210, 67, 9394, 1769, 1377, 289, 565, 289, 3639, 1250, 2535, 273, 14015, 8593, 620, 473, 7766, 4960, 18, 27765, 67, 17623, 13, 422, 7766, 4960, 18, 27765, 67, 17623, 13, 747, 1703, 47, 13148, 31, 565, 309, 12, 7307, 13, 288, 1377, 727, 514, 1234, 273, 1703, 47, 13148, 692, 315, 1986, 7434, 7491, 596, 471, 4591, 24859, 1199, 294, 315, 1986, 7434, 2535, 1199, 31, 1377, 309, 12, 81, 67, 76, 2390, 1398, 5247, 13, 288, 3639, 1836, 27034, 2326, 12, 8593, 620, 1769, 3639, 604, 394, 18463, 12, 3576, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1328, 1398, 1253, 12, 474, 2427, 620, 16, 1250, 1703, 47, 13148, 13, 288, 565, 309, 12, 8593, 620, 422, 300, 21, 13, 288, 1377, 1836, 27034, 2326, 12, 8593, 620, 1769, 1377, 604, 394, 18463, 2932, 304, 555, 16206, 1347, 3549, 7766, 4960, 7434, 8863, 565, 289, 3639, 309, 12443, 8593, 620, 473, 7766, 4960, 18, 27765, 67, 3417, 67, 16961, 13, 422, 7766, 4960, 18, 27765, 67, 3417, 67, 16961, 13, 288, 1377, 309, 12, 81, 67, 76, 2390, 1398, 5247, 13, 288, 3639, 1836, 27034, 2326, 12, 8593, 620, 1769, 3639, 604, 394, 18463, 2932, 2279, 7434, 4591, 1086, 8863, 1377, 289, 1377, 469, 288, 3639, 309, 12, 2011, 480, 312, 67, 12251, 2 ]
String s = coerce(other); if (s == null) return null; return string.equals(s) ? Py.Zero : Py.One;
return str___ne__(other);
public PyObject __ne__(PyObject other) { String s = coerce(other); if (s == null) return null; return string.equals(s) ? Py.Zero : Py.One; }
6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/bd5dfaea1f2ba1044526872f414af37b54cbb902/PyString.java/buggy/org/python/core/PyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4707, 921, 1001, 4644, 972, 12, 9413, 921, 1308, 13, 288, 3639, 514, 272, 273, 12270, 12, 3011, 1769, 3639, 309, 261, 87, 422, 446, 13, 5411, 327, 446, 31, 3639, 327, 533, 18, 14963, 12, 87, 13, 692, 4707, 18, 7170, 294, 4707, 18, 3335, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4707, 921, 1001, 4644, 972, 12, 9413, 921, 1308, 13, 288, 3639, 514, 272, 273, 12270, 12, 3011, 1769, 3639, 309, 261, 87, 422, 446, 13, 5411, 327, 446, 31, 3639, 327, 533, 18, 14963, 12, 87, 13, 692, 4707, 18, 7170, 294, 4707, 18, 3335, 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 ]
REProgState state; state = gData.stateStack[gData.stateStackTop]; state.continuation_pc = currentContinuation_pc; state.continuation_op = currentContinuation_op; ++gData.stateStackTop;
pushProgState(gData, 0, 0, null, currentContinuation_pc, currentContinuation_op);
executeREBytecode(REGlobalData gData, char[] chars, int end) { int pc = 0; byte program[] = gData.regexp.program; int op = program[pc++]; int currentContinuation_op; int currentContinuation_pc; boolean result = false; currentContinuation_pc = 0; currentContinuation_op = REOP_END;if (debug) {System.out.println("Input = \"" + new String(chars) + "\", start at " + gData.cp);} for (;;) {if (debug) {System.out.println("Testing at " + gData.cp + ", op = " + op);} switch (op) { case REOP_EMPTY: result = true; break; case REOP_BOL: if (gData.cp != 0) { if (gData.multiline || ((gData.regexp.flags & JSREG_MULTILINE) != 0)) { if (!isLineTerm(chars[gData.cp - 1])) { result = false; break; } } else { result = false; break; } } result = true; break; case REOP_EOL: if (gData.cp != end) { if (gData.multiline || ((gData.regexp.flags & JSREG_MULTILINE) != 0)) { if (!isLineTerm(chars[gData.cp])) { result = false; break; } } else { result = false; break; } } result = true; break; case REOP_WBDRY: result = ((gData.cp == 0 || !isWord(chars[gData.cp - 1])) ^ !((gData.cp < end) && isWord(chars[gData.cp]))); break; case REOP_WNONBDRY: result = ((gData.cp == 0 || !isWord(chars[gData.cp - 1])) ^ ((gData.cp < end) && isWord(chars[gData.cp]))); break; case REOP_DOT: result = (gData.cp != end && !isLineTerm(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_DIGIT: result = (gData.cp != end && isDigit(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONDIGIT: result = (gData.cp != end && !isDigit(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_SPACE: result = (gData.cp != end && isREWhiteSpace(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONSPACE: result = (gData.cp != end && !isREWhiteSpace(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_ALNUM: result = (gData.cp != end && isWord(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONALNUM: result = (gData.cp != end && !isWord(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_FLAT: { int offset = GET_ARG(program, pc); pc += ARG_LEN; int length = GET_ARG(program, pc); pc += ARG_LEN; result = flatNMatcher(gData, offset, length, chars, end); } break; case REOP_FLATi: { int offset = GET_ARG(program, pc); pc += ARG_LEN; int length = GET_ARG(program, pc); pc += ARG_LEN; result = flatNIMatcher(gData, offset, length, chars, end); } break; case REOP_FLAT1: { char matchCh = (char)(program[pc++] & 0xFF); result = (gData.cp != end && chars[gData.cp] == matchCh); if (result) { gData.cp++; } } break; case REOP_FLAT1i: { char matchCh = (char)(program[pc++] & 0xFF); result = (gData.cp != end && upcase(chars[gData.cp]) == upcase(matchCh)); if (result) { gData.cp++; } } break; case REOP_UCFLAT1: { char matchCh = (char)GET_ARG(program, pc); pc += ARG_LEN; result = (gData.cp != end && chars[gData.cp] == matchCh); if (result) { gData.cp++; } } break; case REOP_UCFLAT1i: { char matchCh = (char)GET_ARG(program, pc); pc += ARG_LEN; result = (gData.cp != end && upcase(chars[gData.cp]) == upcase(matchCh)); if (result) { gData.cp++; } } break; case REOP_ALT: { int nextpc; byte nextop; REProgState state; state = gData.stateStack[gData.stateStackTop]; state.continuation_pc = currentContinuation_pc; state.continuation_op = currentContinuation_op; ++gData.stateStackTop; nextpc = pc + GET_OFFSET(program, pc); nextop = program[nextpc++]; pushBackTrackState(gData, nextop, nextpc); pc += ARG_LEN; op = program[pc++]; } continue; case REOP_JUMP: { int offset; REProgState state; --gData.stateStackTop; state = gData.stateStack[gData.stateStackTop]; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; offset = GET_OFFSET(program, pc); pc += offset; op = program[pc++]; } continue; case REOP_LPAREN: { int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; gData.set_parens(parenIndex, gData.cp, 0); op = program[pc++]; } continue; case REOP_RPAREN: { int cap_index; int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; cap_index = gData.parens_index(parenIndex); gData.set_parens(parenIndex, cap_index, gData.cp - cap_index); if (parenIndex > gData.lastParen) gData.lastParen = parenIndex; op = program[pc++]; } continue; case REOP_BACKREF: { int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; result = backrefMatcher(gData, parenIndex, chars, end); } break; case REOP_CLASS: { int index = GET_ARG(program, pc); pc += ARG_LEN; if (gData.cp != end) { if (classMatcher(gData, gData.regexp.classList[index], chars[gData.cp])) { gData.cp++; result = true; break; } } result = false; } break; case REOP_ASSERT: case REOP_ASSERT_NOT: { byte testOp; REProgState state; if (op == REOP_ASSERT) { testOp = REOP_ASSERTTEST; } else { testOp = REOP_ASSERTNOTTEST; } state = gData.stateStack[gData.stateStackTop]; state.continuation_pc = currentContinuation_pc; state.continuation_op = currentContinuation_op; state.savedBackTrackLast = gData.backTrackLast; state.index = gData.cp; ++gData.stateStackTop; pushBackTrackState(gData, testOp, pc + GET_OFFSET(program, pc)); pc += ARG_LEN; op = program[pc++]; } continue; case REOP_ASSERTTEST: case REOP_ASSERTNOTTEST: { REProgState state; --gData.stateStackTop; state = gData.stateStack[gData.stateStackTop]; gData.cp = state.index; gData.backTrackLast = state.savedBackTrackLast; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; if (result) { if (op == REOP_ASSERTTEST) { result = true; } else { result = false; } } else { if (op == REOP_ASSERTTEST) { // Do nothing } else { result = true; } } } break; case REOP_STAR: case REOP_PLUS: case REOP_OPT: case REOP_QUANT: case REOP_MINIMALSTAR: case REOP_MINIMALPLUS: case REOP_MINIMALOPT: case REOP_MINIMALQUANT: { REProgState state; int min, max; boolean greedy = false; switch (op) { case REOP_STAR: greedy = true; // fallthrough case REOP_MINIMALSTAR: min = 0; max = -1; break; case REOP_PLUS: greedy = true; // fallthrough case REOP_MINIMALPLUS: min = 1; max = -1; break; case REOP_OPT: greedy = true; // fallthrough case REOP_MINIMALOPT: min = 0; max = 1; break; case REOP_QUANT: greedy = true; // fallthrough case REOP_MINIMALQUANT: min = GET_ARG(program, pc); pc += ARG_LEN; max = GET_ARG(program, pc); pc += ARG_LEN; break; default: throw Kit.codeBug(); } state = gData.stateStack[gData.stateStackTop]; state.min = min; state.max = max; state.index = gData.cp; state.continuation_pc = currentContinuation_pc; state.continuation_op = currentContinuation_op; ++gData.stateStackTop; if (greedy) { currentContinuation_op = REOP_REPEAT; currentContinuation_pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc); /* Step over <parencount>, <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { if (min != 0) { currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; /* <parencount> <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { pushBackTrackState(gData, REOP_MINIMALREPEAT, pc); --gData.stateStackTop; pc += 2 * ARG_LEN; // <parencount> & <parenindex> pc = pc + GET_OFFSET(program, pc); op = program[pc++]; } } } continue; case REOP_ENDCHILD: pc = currentContinuation_pc; op = currentContinuation_op; continue; case REOP_REPEAT: { REProgState state; --gData.stateStackTop; state = gData.stateStack[gData.stateStackTop]; if (!result) { // // There's been a failure, see if we have enough // children. // if (state.min == 0) result = true; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; /* <parencount> & <parenindex> */ pc = pc + GET_OFFSET(program, pc); break; } else { if (state.min == 0 && gData.cp == state.index) { // matched an empty string, that'll get us nowhere result = false; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); break; } if (state.min != 0) state.min--; if (state.max != -1) state.max--; if (state.max == 0) { result = true; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); break; } state.index = gData.cp; ++gData.stateStackTop; currentContinuation_op = REOP_REPEAT; currentContinuation_pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc); int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; op = program[pc++]; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } } } continue; case REOP_MINIMALREPEAT: { REProgState state; --gData.stateStackTop; state = gData.stateStack[gData.stateStackTop]; if (!result) { // // Non-greedy failure - try to consume another child. // if (state.max == -1 || state.max > 0) { state.index = gData.cp; currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } ++gData.stateStackTop; op = program[pc++]; continue; } else { // Don't need to adjust pc since we're going to pop. currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; break; } } else { if (state.min == 0 && gData.cp == state.index) { // Matched an empty string, that'll get us nowhere. result = false; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; break; } if (state.min != 0) state.min--; if (state.max != -1) state.max--; if (state.min != 0) { currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } state.index = gData.cp; ++gData.stateStackTop; op = program[pc++]; } else { currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; state.index = gData.cp; ++gData.stateStackTop; pushBackTrackState(gData, REOP_MINIMALREPEAT, pc); --gData.stateStackTop; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); op = program[pc++]; } continue; } } case REOP_END: return true; default: throw Kit.codeBug(); } /* * If the match failed and there's a backtrack option, take it. * Otherwise this is a complete and utter failure. */ if (!result) { REBackTrackData backTrackData = gData.backTrackLast; if (backTrackData != null) { gData.backTrackLast = backTrackData.previous; gData.lastParen = backTrackData.lastParen; // XXX: If backTrackData will no longer be used, then // there is no need to clone backTrackData.parens if (backTrackData.parens != null) { gData.parens = (long[])backTrackData.parens.clone(); } gData.cp = backTrackData.cp; for (int k = 0; k < backTrackData.precedingStateTop; k++) gData.stateStack[k] = backTrackData.precedingState[k]; gData.stateStackTop = backTrackData.precedingStateTop + 1; gData.stateStack[gData.stateStackTop - 1] = backTrackData.currentState; currentContinuation_op = gData.stateStack[gData.stateStackTop - 1].continuation_op; currentContinuation_pc = gData.stateStack[gData.stateStackTop - 1].continuation_pc; pc = backTrackData.continuation_pc; op = backTrackData.continuation_op; continue; } else return false; } /* * Continue with the expression. If this the end of the child, use * the current continuation. */ op = program[pc++]; if (op == REOP_ENDCHILD) { pc = currentContinuation_pc; op = currentContinuation_op; } } }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/bfc17d4124cf8110e97525c9b240855202f5ac65/NativeRegExp.java/clean/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1836, 862, 858, 16651, 12, 862, 5160, 751, 314, 751, 16, 1149, 8526, 5230, 16, 509, 679, 13, 565, 288, 3639, 509, 6125, 273, 374, 31, 3639, 1160, 5402, 8526, 273, 314, 751, 18, 17745, 18, 12890, 31, 3639, 509, 1061, 273, 5402, 63, 2436, 9904, 15533, 3639, 509, 783, 660, 23946, 67, 556, 31, 3639, 509, 783, 660, 23946, 67, 2436, 31, 3639, 1250, 563, 273, 629, 31, 3639, 783, 660, 23946, 67, 2436, 273, 374, 31, 3639, 783, 660, 23946, 67, 556, 273, 2438, 3665, 67, 4415, 31, 430, 261, 4148, 13, 288, 3163, 18, 659, 18, 8222, 2932, 1210, 273, 11843, 397, 394, 514, 12, 7549, 13, 397, 1548, 3113, 787, 622, 315, 397, 314, 751, 18, 4057, 1769, 97, 3639, 364, 261, 25708, 13, 288, 430, 261, 4148, 13, 288, 3163, 18, 659, 18, 8222, 2932, 22218, 622, 315, 397, 314, 751, 18, 4057, 397, 3104, 1061, 273, 315, 397, 1061, 1769, 97, 5411, 1620, 261, 556, 13, 288, 5411, 648, 2438, 3665, 67, 13625, 30, 7734, 563, 273, 638, 31, 7734, 898, 31, 5411, 648, 2438, 3665, 67, 38, 1741, 30, 7734, 309, 261, 75, 751, 18, 4057, 480, 374, 13, 288, 10792, 309, 261, 75, 751, 18, 5421, 12554, 747, 18701, 14015, 75, 751, 18, 17745, 18, 7133, 473, 6756, 5937, 67, 12845, 30690, 13, 480, 374, 3719, 288, 13491, 309, 16051, 291, 1670, 4065, 12, 7549, 63, 75, 751, 18, 4057, 300, 404, 22643, 288, 18701, 563, 273, 629, 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, 1836, 862, 858, 16651, 12, 862, 5160, 751, 314, 751, 16, 1149, 8526, 5230, 16, 509, 679, 13, 565, 288, 3639, 509, 6125, 273, 374, 31, 3639, 1160, 5402, 8526, 273, 314, 751, 18, 17745, 18, 12890, 31, 3639, 509, 1061, 273, 5402, 63, 2436, 9904, 15533, 3639, 509, 783, 660, 23946, 67, 556, 31, 3639, 509, 783, 660, 23946, 67, 2436, 31, 3639, 1250, 563, 273, 629, 31, 3639, 783, 660, 23946, 67, 2436, 273, 374, 31, 3639, 783, 660, 23946, 67, 556, 273, 2438, 3665, 67, 4415, 31, 430, 261, 4148, 13, 288, 3163, 18, 659, 18, 8222, 2932, 1210, 273, 11843, 397, 394, 514, 12, 7549, 13, 397, 1548, 3113, 787, 622, 315, 397, 314, 2 ]
classFile.fullyQualifiedForm(this.name), "jsK_" + i, "Ljava/lang/" + itsConstantList.itsList[i].itsWrapperType + ";"); }
classFile.fullyQualifiedForm(this.name), constantName, constantType); }
private void emitConstantDudeInitializers() { if (itsConstantList.itsTop == 0) return; classFile.startMethod("<clinit>", "()V", (short)(ClassFileWriter.ACC_STATIC + ClassFileWriter.ACC_FINAL)); for (int i = 0; i < itsConstantList.itsTop; i++) { addByteCode(ByteCode.NEW, "java/lang/" + itsConstantList.itsList[i].itsWrapperType); addByteCode(ByteCode.DUP); if (itsConstantList.itsList[i].itsIsInteger) push(itsConstantList.itsList[i].itsLValue); else push(itsConstantList.itsList[i].itsDValue); addSpecialInvoke("java/lang/" + itsConstantList.itsList[i].itsWrapperType, "<init>", "(" + itsConstantList.itsList[i].itsSignature + ")", "V"); classFile.addField("jsK_" + i, "Ljava/lang/" + itsConstantList.itsList[i].itsWrapperType + ";", ClassFileWriter.ACC_STATIC); classFile.add(ByteCode.PUTSTATIC, classFile.fullyQualifiedForm(this.name), "jsK_" + i, "Ljava/lang/" + itsConstantList.itsList[i].itsWrapperType + ";"); } addByteCode(ByteCode.RETURN); classFile.stopMethod((short)0, null); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/8bb4a031bf2458fe168832974b20133e459d2b98/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3626, 6902, 40, 1317, 4435, 8426, 1435, 288, 3639, 309, 261, 1282, 6902, 682, 18, 1282, 3401, 422, 374, 13, 5411, 327, 31, 3639, 29728, 18, 1937, 1305, 2932, 32, 830, 2738, 2984, 16, 25605, 58, 3113, 5411, 261, 6620, 21433, 797, 812, 2289, 18, 31414, 67, 22741, 397, 30614, 2289, 18, 31414, 67, 7263, 1013, 10019, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2097, 6902, 682, 18, 1282, 3401, 31, 277, 27245, 288, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 12917, 16, 1171, 9079, 315, 6290, 19, 4936, 4898, 1171, 9079, 397, 2097, 6902, 682, 18, 1282, 682, 63, 77, 8009, 1282, 3611, 559, 1769, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 30387, 1769, 5411, 309, 261, 1282, 6902, 682, 18, 1282, 682, 63, 77, 8009, 1282, 2520, 4522, 13, 7734, 1817, 12, 1282, 6902, 682, 18, 1282, 682, 63, 77, 8009, 1282, 48, 620, 1769, 5411, 469, 7734, 1817, 12, 1282, 6902, 682, 18, 1282, 682, 63, 77, 8009, 1282, 40, 620, 1769, 5411, 527, 12193, 10969, 2932, 6290, 19, 4936, 4898, 18701, 397, 2097, 6902, 682, 18, 1282, 682, 63, 77, 8009, 1282, 3611, 559, 16, 18701, 3532, 2738, 2984, 16, 18701, 12452, 397, 27573, 2097, 6902, 682, 18, 1282, 682, 63, 77, 8009, 1282, 5374, 18701, 397, 7310, 16, 18701, 315, 58, 8863, 5411, 29728, 18, 1289, 974, 2932, 2924, 47, 9548, 397, 277, 16, 15604, 315, 21159, 19, 4936, 4898, 15604, 397, 2097, 6902, 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, 3626, 6902, 40, 1317, 4435, 8426, 1435, 288, 3639, 309, 261, 1282, 6902, 682, 18, 1282, 3401, 422, 374, 13, 5411, 327, 31, 3639, 29728, 18, 1937, 1305, 2932, 32, 830, 2738, 2984, 16, 25605, 58, 3113, 5411, 261, 6620, 21433, 797, 812, 2289, 18, 31414, 67, 22741, 397, 30614, 2289, 18, 31414, 67, 7263, 1013, 10019, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2097, 6902, 682, 18, 1282, 3401, 31, 277, 27245, 288, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 12917, 16, 1171, 9079, 315, 6290, 19, 4936, 4898, 1171, 9079, 397, 2097, 6902, 682, 18, 1282, 682, 63, 77, 8009, 1282, 3611, 559, 1769, 5411, 527, 3216, 1085, 12, 3216, 2 ]
public int hashCode()
public int hashCode()
public int hashCode() { if (id == null) return 0; else return id.intValue(); }
5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/3d57ae5a342bc10d6c418636c07193a0289ffd6b/BidPK.java/clean/EJB_EntityBean_id_BMP/edu/rice/rubis/beans/BidPK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 13374, 1435, 282, 288, 565, 309, 261, 350, 422, 446, 13, 1377, 327, 374, 31, 565, 469, 1377, 327, 612, 18, 474, 620, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 13374, 1435, 282, 288, 565, 309, 261, 350, 422, 446, 13, 1377, 327, 374, 31, 565, 469, 1377, 327, 612, 18, 474, 620, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Button b = createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); b.setFocus(); }
Label l = new Label(parent, SWT.NONE); l.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); GridLayout layout = (GridLayout) parent.getLayout(); layout.numColumns++; layout.makeColumnsEqualWidth = false; Button b = createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); b.setFocus(); }
protected void createButtonsForButtonBar(Composite parent) { parent.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); createButton(parent, FEATURES_ID, WorkbenchMessages.getString("AboutDialog.featureInfo"), false); //$NON-NLS-1$ createButton(parent, PLUGINS_ID, WorkbenchMessages.getString("AboutDialog.pluginInfo"), false); //$NON-NLS-1$ createButton(parent, INFO_ID, WorkbenchMessages.getString("AboutDialog.systemInfo"), false); //$NON-NLS-1$ Label l = new Label(parent, SWT.NONE); l.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); GridLayout layout = (GridLayout)parent.getLayout(); layout.numColumns++; layout.makeColumnsEqualWidth = false; Button b = createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); b.setFocus();}
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/f77cc9aed5752d58e54872ce2891482f244b1b4b/AboutDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/AboutDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 752, 14388, 1290, 3616, 5190, 12, 9400, 982, 13, 288, 202, 2938, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 202, 2640, 3616, 12, 2938, 16, 25201, 55, 67, 734, 16, 4147, 22144, 5058, 18, 588, 780, 2932, 24813, 6353, 18, 7238, 966, 6, 3631, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 2640, 3616, 12, 2938, 16, 22704, 55, 67, 734, 16, 4147, 22144, 5058, 18, 588, 780, 2932, 24813, 6353, 18, 4094, 966, 6, 3631, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 2640, 3616, 12, 2938, 16, 9286, 67, 734, 16, 4147, 22144, 5058, 18, 588, 780, 2932, 24813, 6353, 18, 4299, 966, 6, 3631, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 2224, 328, 273, 394, 5287, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 80, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 6313, 3744, 3511, 273, 261, 6313, 3744, 13, 2938, 18, 588, 3744, 5621, 202, 6741, 18, 2107, 3380, 9904, 31, 202, 6741, 18, 6540, 3380, 5812, 2384, 273, 629, 31, 202, 3616, 324, 273, 752, 3616, 12, 2938, 16, 1599, 3529, 2918, 18, 3141, 67, 734, 16, 1599, 3529, 2918, 18, 3141, 67, 13545, 16, 638, 1769, 202, 70, 18, 542, 9233, 5621, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 752, 14388, 1290, 3616, 5190, 12, 9400, 982, 13, 288, 202, 2938, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 202, 2640, 3616, 12, 2938, 16, 25201, 55, 67, 734, 16, 4147, 22144, 5058, 18, 588, 780, 2932, 24813, 6353, 18, 7238, 966, 6, 3631, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 2640, 3616, 12, 2938, 16, 22704, 55, 67, 734, 16, 4147, 22144, 5058, 18, 588, 780, 2932, 24813, 6353, 18, 4094, 966, 6, 3631, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 2640, 3616, 12, 2938, 16, 9286, 67, 734, 16, 4147, 22144, 5058, 18, 588, 780, 2932, 24813, 6353, 2 ]
setModified();
setModified(true);
public void importLibrary(String jarPath) { // make sure the user didn't hide the sketch folder ensureExistence(); String list[] = Compiler.packageListFromClassPath(jarPath); // import statements into the main sketch file (code[0]) // if the current code is a .java file, insert into current if (current.flavor == PDE) { setCurrent(0); } // could also scan the text in the file to see if each import // statement is already in there, but if the user has the import // commented out, then this will be a problem. StringBuffer buffer = new StringBuffer(); for (int i = 0; i < list.length; i++) { buffer.append("import "); buffer.append(list[i]); buffer.append(".*;\n"); } buffer.append('\n'); buffer.append(editor.getText()); editor.setText(buffer.toString(), 0, 0); // scroll to start setModified(); }
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/ae29be0db221b146b96528da02dd34941d80358b/Sketch.java/clean/app/Sketch.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1930, 9313, 12, 780, 7334, 743, 13, 288, 565, 368, 1221, 3071, 326, 729, 10242, 1404, 6853, 326, 18534, 3009, 565, 3387, 4786, 802, 5621, 565, 514, 666, 8526, 273, 12972, 18, 5610, 682, 1265, 22158, 12, 11930, 743, 1769, 565, 368, 1930, 6317, 1368, 326, 2774, 18534, 585, 261, 710, 63, 20, 5717, 565, 368, 309, 326, 783, 981, 353, 279, 263, 6290, 585, 16, 2243, 1368, 783, 565, 309, 261, 2972, 18, 2242, 9444, 422, 453, 1639, 13, 288, 1377, 12589, 12, 20, 1769, 565, 289, 565, 368, 3377, 2546, 4135, 326, 977, 316, 326, 585, 358, 2621, 309, 1517, 1930, 565, 368, 3021, 353, 1818, 316, 1915, 16, 1496, 309, 326, 729, 711, 326, 1930, 565, 368, 31813, 596, 16, 1508, 333, 903, 506, 279, 6199, 18, 565, 6674, 1613, 273, 394, 6674, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 666, 18, 2469, 31, 277, 27245, 288, 1377, 1613, 18, 6923, 2932, 5666, 315, 1769, 1377, 1613, 18, 6923, 12, 1098, 63, 77, 19226, 1377, 1613, 18, 6923, 2932, 4509, 9747, 82, 8863, 565, 289, 565, 1613, 18, 6923, 2668, 64, 82, 8284, 565, 1613, 18, 6923, 12, 9177, 18, 588, 1528, 10663, 565, 4858, 18, 542, 1528, 12, 4106, 18, 10492, 9334, 374, 16, 374, 1769, 225, 368, 5532, 358, 787, 565, 27277, 12, 3767, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1930, 9313, 12, 780, 7334, 743, 13, 288, 565, 368, 1221, 3071, 326, 729, 10242, 1404, 6853, 326, 18534, 3009, 565, 3387, 4786, 802, 5621, 565, 514, 666, 8526, 273, 12972, 18, 5610, 682, 1265, 22158, 12, 11930, 743, 1769, 565, 368, 1930, 6317, 1368, 326, 2774, 18534, 585, 261, 710, 63, 20, 5717, 565, 368, 309, 326, 783, 981, 353, 279, 263, 6290, 585, 16, 2243, 1368, 783, 565, 309, 261, 2972, 18, 2242, 9444, 422, 453, 1639, 13, 288, 1377, 12589, 12, 20, 1769, 565, 289, 565, 368, 3377, 2546, 4135, 326, 977, 316, 326, 585, 358, 2621, 309, 1517, 1930, 565, 368, 3021, 353, 1818, 316, 1915, 16, 1496, 309, 326, 729, 711, 2 ]
acceleratorInit(aWorkbench);
public void init(IWorkbench aWorkbench) { workbench = aWorkbench;// acceleratorInit(aWorkbench); IPreferenceStore store = WorkbenchPlugin.getDefault().getPreferenceStore(); openOnSingleClick = store.getBoolean(IPreferenceConstants.OPEN_ON_SINGLE_CLICK); //$NON-NLS-1$ selectOnHover = store.getBoolean(IPreferenceConstants.SELECT_ON_HOVER); //$NON-NLS-1$ openAfterDelay = store.getBoolean(IPreferenceConstants.OPEN_AFTER_DELAY); //$NON-NLS-1$ }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/0ef15779722377b6bbdf52df87370c208bef98e6/WorkbenchPreferencePage.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/dialogs/WorkbenchPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 918, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 1208, 12, 45, 2421, 22144, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 279, 2421, 22144, 13, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 288, 202, 202, 1252, 22144, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 273, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 279, 2421, 22144, 31, 759, 202, 202, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 202, 202, 45, 9624, 2257, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 1707, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 273, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 4147, 22144, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 5621, 202, 202, 3190, 1398, 5281, 6563, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 273, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 1707, 18, 588, 5507, 12, 45, 9624, 2918, 18, 11437, 67, 673, 67, 20184, 67, 7697, 3507, 1769, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4025, 1398, 21184, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 273, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 1707, 18, 588, 5507, 12, 45, 9624, 2918, 18, 4803, 67, 673, 67, 7995, 2204, 1769, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3190, 4436, 6763, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 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, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 918, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 1208, 12, 45, 2421, 22144, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 279, 2421, 22144, 13, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 288, 202, 202, 1252, 22144, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 273, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 279, 2421, 22144, 31, 759, 202, 202, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 202, 202, 45, 9624, 2257, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 1707, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 273, 30737, 7385, 2570, 12, 69, 2421, 22144, 1769, 4147, 22144, 3773, 18, 588, 1868, 2 ]
throw new BAD_PARAM("Invalid " + NS_PORT + "property, unable to parse '" + props.getProperty(NS_PORT) + "'" );
BAD_PARAM bad = new BAD_PARAM("Invalid " + NS_PORT + "property, unable to parse '" + props.getProperty(NS_PORT) + "'" ); bad.initCause(ex); throw bad;
protected void set_parameters(Applet app, Properties props) { useProperties(props); String[][] para = app.getParameterInfo(); if (para != null) { for (int i = 0; i < para.length; i++) { if (para [ i ] [ 0 ].equals(LISTEN_ON)) Port = Integer.parseInt(para [ i ] [ 1 ]); if (para [ i ] [ 0 ].equals(REFERENCE)) { StringTokenizer st = new StringTokenizer(para [ i ] [ 1 ], "="); initial_references.put(st.nextToken(), string_to_object(st.nextToken()) ); } if (para [ i ] [ 0 ].equals(NS_HOST)) ns_host = para [ i ] [ 1 ]; if (para [ i ] [ 0 ].equals(START_READING_MESSAGE)) TOUT_START_READING_MESSAGE = Integer.parseInt(para [ i ] [ 1 ]); if (para [ i ] [ 0 ].equals(WHILE_READING)) TOUT_WHILE_READING = Integer.parseInt(para [ i ] [ 1 ]); if (para [ i ] [ 0 ].equals(AFTER_RECEIVING)) TOUT_AFTER_RECEIVING = Integer.parseInt(para [ i ] [ 1 ]); try { if (para [ i ] [ 0 ].equals(NS_PORT)) ns_port = Integer.parseInt(para [ i ] [ 1 ]); } catch (NumberFormatException ex) { throw new BAD_PARAM("Invalid " + NS_PORT + "property, unable to parse '" + props.getProperty(NS_PORT) + "'" ); } } } }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/530b07ccb0c4fb1bf75b0623599a435d741fe9e8/Functional_ORB.java/buggy/libraries/javalib/gnu/CORBA/Functional_ORB.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 444, 67, 3977, 12, 23696, 595, 16, 6183, 3458, 13, 225, 288, 565, 999, 2297, 12, 9693, 1769, 565, 514, 63, 6362, 65, 12602, 273, 595, 18, 588, 1662, 966, 5621, 565, 309, 261, 25072, 480, 446, 13, 1377, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 12602, 18, 2469, 31, 277, 27245, 1850, 288, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 7085, 1157, 67, 673, 3719, 2868, 6008, 273, 2144, 18, 2670, 1702, 12, 25072, 306, 277, 308, 306, 404, 308, 1769, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 14617, 3719, 2868, 288, 7734, 16370, 384, 273, 394, 16370, 12, 25072, 306, 277, 308, 306, 404, 308, 16, 9671, 1769, 7734, 2172, 67, 14353, 18, 458, 12, 334, 18, 4285, 1345, 9334, 4766, 4202, 533, 67, 869, 67, 1612, 12, 334, 18, 4285, 1345, 10756, 4766, 1377, 11272, 2868, 289, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 3156, 67, 8908, 3719, 2868, 3153, 67, 2564, 273, 12602, 306, 277, 308, 306, 404, 308, 31, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 7570, 67, 6949, 1360, 67, 8723, 3719, 2868, 399, 5069, 67, 7570, 67, 6949, 1360, 67, 8723, 273, 2144, 18, 2670, 1702, 12, 25072, 306, 277, 308, 306, 404, 308, 1769, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 12557, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 444, 67, 3977, 12, 23696, 595, 16, 6183, 3458, 13, 225, 288, 565, 999, 2297, 12, 9693, 1769, 565, 514, 63, 6362, 65, 12602, 273, 595, 18, 588, 1662, 966, 5621, 565, 309, 261, 25072, 480, 446, 13, 1377, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 12602, 18, 2469, 31, 277, 27245, 1850, 288, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 7085, 1157, 67, 673, 3719, 2868, 6008, 273, 2144, 18, 2670, 1702, 12, 25072, 306, 277, 308, 306, 404, 308, 1769, 5411, 309, 261, 25072, 306, 277, 308, 306, 374, 308, 18, 14963, 12, 14617, 3719, 2868, 288, 7734, 16370, 384, 273, 394, 16370, 12, 2 ]
nSamples += unit.getAudioFrameSize(i);
if (i<0 || i>=pitchmarksInUnit) throw new IllegalArgumentException("Have "+pitchmarksInUnit+" frames, requested number "+i); int translatedI = unit.getUnitStartShift()+i; if (translatedI<0) { nSamples += prevDatagrams[prevUnit.getDuration()+translatedI].getNumResiduals(); } else { nSamples += datagrams[translatedI].getNumResiduals(); }
public AudioInputStream getAudio(List units){ logger.debug("Getting audio for "+units.size()+" units"); List audioStreams = new ArrayList(units.size()); FrameSet sts = database.getAudioFrames(); // Information for LPC resynthesis: FrameSetInfo frameSetInfo = sts.getFrameSetInfo(); if (frameSetInfo == null) { throw new IllegalStateException("UnitConcatenator: FrameSetInfo does not exist"); } int lpcOrder = frameSetInfo.getNumberOfChannels(); FloatList globalLPCHistory = FloatList.createList(lpcOrder + 1); double lpcRangeFactor = (double) frameSetInfo.getCoeffRange() / 65535.0; float lpcMinimum = frameSetInfo.getCoeffMin(); // First loop through all units: collect information and build up preparatory structures for (Iterator it = units.iterator();it.hasNext();) { SelectedUnit unit = (SelectedUnit) it.next(); UnitLPCData lpcData = new UnitLPCData(); unit.setConcatenationData(lpcData); int pitchmarksInUnit = unit.getNumberOfFrames(); assert pitchmarksInUnit > 0; int nSamples = 0; // First of all: Set target pitchmarks, // either by copying from units (data-driven) // or by computing from target (model-driven) int[] pitchmarks; if (unit.getTarget().isSilence()) { int targetLength = unit.targetDurationInSamples(); int unitLength = unit.unitDurationInSamples(); int avgPeriodLength = unitLength / pitchmarksInUnit; // there will be rounding errors here int nTargetPitchmarks = Math.round((float)targetLength / avgPeriodLength); // round to the nearest integer pitchmarks = new int[nTargetPitchmarks]; lpcData.setPitchmarks(pitchmarks); for (int i=0; i<nTargetPitchmarks-1; i++) { nSamples += avgPeriodLength; pitchmarks[i] = nSamples; } // last pitchmark compensates for rounding errors nSamples += targetLength - (nTargetPitchmarks-1)*avgPeriodLength; pitchmarks[nTargetPitchmarks-1] = nSamples; assert pitchmarks[nTargetPitchmarks-1] == unit.targetDurationInSamples(); } else { pitchmarks = new int[pitchmarksInUnit]; lpcData.setPitchmarks(pitchmarks); for (int i = 0; i < pitchmarks.length; i++) { nSamples += unit.getAudioFrameSize(i); pitchmarks[i] = nSamples; } // the following can be assumed only if there is no start or end shift: // assert pitchmarks[pitchmarks.length-1] == unit.unitDurationInSamples(); } int nPitchmarks = pitchmarks.length; short[][] frames = new short[nPitchmarks][]; lpcData.setFrameCoefficients(frames); byte[] residuals = new byte[nSamples]; lpcData.setResiduals(residuals); int unitSize = unit.unitDurationInSamples(); float m = (float)unitSize/(float)(nSamples); // if m==1, copy unit as it is; if != 1, skip or duplicate frames int targetResidualPosition = 0; float uIndex = 0; // counter of imaginary sample position in the unit // for each pitchmark, get frame coefficients and residual for (int i=0; i < nPitchmarks && pitchmarks[i] <= nSamples; i++) { Frame nextFrame = unit.getNearestAudioFrame(uIndex); frames[i] = nextFrame.getCoefficients(); // Get residual by copying, adapting residual length if necessary byte[] residual = nextFrame.getResidualData(); int targetResidualSize = lpcData.getPeriodLength(i); if (residual.length < targetResidualSize) { int targetResidualStart = (targetResidualSize - residual.length) / 2; System.arraycopy(residual, 0, residuals, targetResidualPosition + targetResidualStart, residual.length); } else { int sourcePosition = (residual.length - targetResidualSize) / 2; System.arraycopy(residual, sourcePosition, residuals, targetResidualPosition, targetResidualSize); } targetResidualPosition += targetResidualSize; assert targetResidualPosition == pitchmarks[i]; uIndex += ((float) targetResidualSize * m); } assert targetResidualPosition == nSamples; } // Second loop through all units: Generate audio for (Iterator it = units.iterator();it.hasNext();) { // TODO: verify if this should be inserted into the above loop SelectedUnit unit = (SelectedUnit) it.next(); UnitLPCData lpcData = (UnitLPCData) unit.getConcatenationData(); int nPitchmarks = lpcData.getPitchmarks().length; int nSamples = lpcData.getResiduals().length; byte[] residuals = lpcData.getResiduals(); FloatList outBuffer = globalLPCHistory; byte[] samples = new byte[2*nSamples]; float[] lpcCoefficients = new float[lpcOrder]; int s = 0; // For each frame: for (int r = 0, i = 0; i < nPitchmarks; i++) { // unpack the LPC coefficients short[] frame = lpcData.getFrameCoefficients(i); for (int k = 0; k < lpcOrder; k++) { lpcCoefficients[k] = (float) ((frame[k] + 32768.0) * lpcRangeFactor) + lpcMinimum; } int nSamplesInFrame = lpcData.getPeriodLength(i); // For each sample: for (int j = 0; j < nSamplesInFrame; j++, r++) { FloatList backBuffer = outBuffer.prev; float ob = residualToFloatMap[residuals[r] + 128]; for (int k=0; k<lpcOrder; k++) { ob += lpcCoefficients[k] * backBuffer.value; backBuffer = backBuffer.prev; } int sample = (int) ob; samples[s++] = (byte) hibyte(sample); samples[s++] = (byte) lobyte(sample); outBuffer.value = ob; outBuffer = outBuffer.next; } } ByteArrayInputStream bais = new ByteArrayInputStream(samples); int samplesize = audioformat.getSampleSizeInBits(); if (samplesize == AudioSystem.NOT_SPECIFIED) samplesize = 16; // usually 16 bit data long lengthInSamples = samples.length / (samplesize/8); AudioInputStream ais = new AudioInputStream(bais, audioformat, lengthInSamples); unit.setAudio(ais); audioStreams.add(ais); } return new SequenceAudioInputStream(audioformat, audioStreams); }
48071 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48071/7873d2d8762d997ab7ec8918af0ef1b743f5925d/ClusterUnitConcatenator.java/clean/java/de/dfki/lt/mary/unitselection/clunits/ClusterUnitConcatenator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15045, 4348, 4506, 4484, 12, 682, 4971, 15329, 3639, 1194, 18, 4148, 2932, 19213, 7447, 364, 13773, 7705, 18, 1467, 1435, 9078, 4971, 8863, 3639, 987, 7447, 10301, 273, 394, 2407, 12, 7705, 18, 1467, 10663, 3639, 8058, 694, 27099, 273, 2063, 18, 588, 12719, 15162, 5621, 3639, 368, 15353, 364, 511, 3513, 400, 878, 20432, 30, 3639, 8058, 694, 966, 2623, 694, 966, 273, 27099, 18, 588, 3219, 694, 966, 5621, 3639, 309, 261, 3789, 694, 966, 422, 446, 13, 288, 5411, 604, 394, 5477, 2932, 2802, 21432, 639, 30, 8058, 694, 966, 1552, 486, 1005, 8863, 3639, 289, 3639, 509, 328, 2436, 2448, 273, 2623, 694, 966, 18, 588, 9226, 10585, 5621, 3639, 5450, 682, 2552, 14461, 1792, 2877, 273, 5450, 682, 18, 2640, 682, 12, 80, 2436, 2448, 397, 404, 1769, 3639, 1645, 328, 2436, 2655, 6837, 273, 261, 9056, 13, 2623, 694, 966, 18, 588, 4249, 17098, 2655, 1435, 342, 10147, 18, 20, 31, 3639, 1431, 328, 2436, 13042, 273, 2623, 694, 966, 18, 588, 4249, 17098, 2930, 5621, 7734, 368, 5783, 2798, 3059, 777, 4971, 30, 3274, 1779, 471, 1361, 731, 675, 1065, 8452, 12597, 377, 202, 1884, 261, 3198, 518, 273, 4971, 18, 9838, 5621, 305, 18, 5332, 2134, 5621, 13, 288, 377, 202, 565, 4352, 828, 2802, 2836, 273, 261, 7416, 2802, 13, 518, 18, 4285, 5621, 5411, 8380, 48, 3513, 751, 328, 2436, 751, 273, 394, 8380, 48, 3513, 751, 5621, 5411, 2836, 18, 542, 21432, 367, 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, 15045, 4348, 4506, 4484, 12, 682, 4971, 15329, 3639, 1194, 18, 4148, 2932, 19213, 7447, 364, 13773, 7705, 18, 1467, 1435, 9078, 4971, 8863, 3639, 987, 7447, 10301, 273, 394, 2407, 12, 7705, 18, 1467, 10663, 3639, 8058, 694, 27099, 273, 2063, 18, 588, 12719, 15162, 5621, 3639, 368, 15353, 364, 511, 3513, 400, 878, 20432, 30, 3639, 8058, 694, 966, 2623, 694, 966, 273, 27099, 18, 588, 3219, 694, 966, 5621, 3639, 309, 261, 3789, 694, 966, 422, 446, 13, 288, 5411, 604, 394, 5477, 2932, 2802, 21432, 639, 30, 8058, 694, 966, 1552, 486, 1005, 8863, 3639, 289, 3639, 509, 328, 2436, 2448, 273, 2623, 694, 966, 18, 588, 9226, 10585, 5621, 3639, 5450, 682, 2 ]
if (names != null && names[0].length() > 0) return names[0]; Context cx = Context.getCurrentContext(); if (cx != null && cx.getLanguageVersion() == Context.VERSION_1_2) {
if (names == null)
public String jsGet_name() { if (names != null && names[0].length() > 0) return names[0]; Context cx = Context.getCurrentContext(); if (cx != null && cx.getLanguageVersion() == Context.VERSION_1_2) { return ""; } return "anonymous"; }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/a13e81f0cb05fa14c3aa64e85a6abd2a1d523bde/NativeFunction.java/buggy/src/org/mozilla/javascript/NativeFunction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 3828, 967, 67, 529, 1435, 288, 3639, 309, 261, 1973, 480, 446, 597, 1257, 63, 20, 8009, 2469, 1435, 405, 374, 13, 5411, 327, 1257, 63, 20, 15533, 7734, 1772, 9494, 273, 1772, 18, 588, 3935, 1042, 5621, 3639, 309, 261, 71, 92, 480, 446, 597, 9494, 18, 588, 3779, 1444, 1435, 422, 1772, 18, 5757, 67, 21, 67, 22, 13, 288, 5411, 327, 1408, 31, 3639, 289, 3639, 327, 315, 19070, 14432, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 3828, 967, 67, 529, 1435, 288, 3639, 309, 261, 1973, 480, 446, 597, 1257, 63, 20, 8009, 2469, 1435, 405, 374, 13, 5411, 327, 1257, 63, 20, 15533, 7734, 1772, 9494, 273, 1772, 18, 588, 3935, 1042, 5621, 3639, 309, 261, 71, 92, 480, 446, 597, 9494, 18, 588, 3779, 1444, 1435, 422, 1772, 18, 5757, 67, 21, 67, 22, 13, 288, 5411, 327, 1408, 31, 3639, 289, 3639, 327, 315, 19070, 14432, 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 ]
_t = __t284;
_t = __t289;
public final void createautomationobjectstate(AST _t) throws RecognitionException { AST createautomationobjectstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t284 = _t; AST tmp874_AST_in = (AST)_t; match(_t,CREATE); _t = _t.getFirstChild(); AST tmp875_AST_in = (AST)_t; match(_t,QSTRING); _t = _t.getNextSibling(); fld(_t,CQ.UPDATING); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CONNECT: { AST __t286 = _t; AST tmp876_AST_in = (AST)_t; match(_t,CONNECT); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TO: { AST __t288 = _t; AST tmp877_AST_in = (AST)_t; match(_t,TO); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t288; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t286; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case NOERROR_KW: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOERROR_KW: { AST tmp878_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t284; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 752, 5854, 11978, 1612, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 752, 5854, 11978, 1612, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 22, 5193, 273, 389, 88, 31, 202, 202, 9053, 1853, 28, 5608, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 9344, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 28, 5877, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 53, 5804, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 19794, 24899, 88, 16, 39, 53, 18, 3079, 11102, 1360, 1769, 202, 202, 67, 88, 273, 389, 1349, 2471, 31, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 21593, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 22, 5292, 273, 389, 88, 31, 1082, 202, 9053, 1853, 28, 6669, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 11032, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 95, 1082, 202, 430, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 752, 5854, 11978, 1612, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 752, 5854, 11978, 1612, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 22, 5193, 273, 389, 88, 31, 202, 202, 9053, 1853, 28, 5608, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 9344, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 28, 5877, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 53, 2 ]
public NutchConf getConf() { return this.nutchConf;
public Configuration getConf() { return this.conf;
public NutchConf getConf() { return this.nutchConf; }
1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/25437bc825d50715dcc9a289a1b4c8fbbc6aced1/CCIndexingFilter.java/buggy/src/plugin/creativecommons/src/java/org/creativecommons/nutch/CCIndexingFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 423, 322, 343, 3976, 28836, 1435, 288, 565, 327, 333, 18, 82, 322, 343, 3976, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 423, 322, 343, 3976, 28836, 1435, 288, 565, 327, 333, 18, 82, 322, 343, 3976, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
long lastEd = uskManager.lookup(origUSK);
void onSuccess(USKAttempt att, boolean dontUpdate, ClientSSKBlock block) { LinkedList l = null; synchronized(this) { runningAttempts.remove(att); long curLatest = att.number; long lastEd = uskManager.lookup(origUSK); if(!dontUpdate) uskManager.update(origUSK, curLatest); if(completed || cancelled) return; if(curLatest >= lastEd) { try { this.lastRequestData = block.decode(ctx.bucketFactory, 1025 /* it's an SSK */, true); this.lastCompressionCodec = block.getCompressionCodec(); this.lastWasMetadata = block.isMetadata(); } catch (KeyDecodeException e) { lastRequestData = null; } catch (IOException e) { lastRequestData = null; } } curLatest = Math.max(lastEd, curLatest); Logger.minor(this, "Latest: "+curLatest); long addTo = curLatest + minFailures; long addFrom = Math.max(lastAddedEdition + 1, curLatest + 1); if(addTo >= addFrom) { l = new LinkedList(); for(long i=addFrom;i<=addTo;i++) { Logger.minor(this, "Adding checker for edition "+i); l.add(add(i)); } } cancelBefore(curLatest); if(l == null) return; // If we schedule them here, we don't get icky recursion problems. else if(!cancelled) { for(Iterator i=l.iterator();i.hasNext();) { // We may be called recursively through onSuccess(). // So don't start obsolete requests. USKAttempt a = (USKAttempt) i.next(); lastEd = uskManager.lookup(origUSK); if(lastEd <= a.number && !a.cancelled) a.schedule(); } } } }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/03e3c37737640c23e25aacfa0ab1bf8a0d4b535f/USKFetcher.java/buggy/src/freenet/client/async/USKFetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 20613, 12, 3378, 47, 7744, 2403, 16, 1250, 14046, 1891, 16, 2445, 1260, 47, 1768, 1203, 13, 288, 202, 202, 13174, 682, 328, 273, 446, 31, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 8704, 10113, 18, 4479, 12, 4558, 1769, 1082, 202, 5748, 662, 18650, 273, 2403, 18, 2696, 31, 1082, 202, 5748, 1142, 2671, 273, 584, 79, 1318, 18, 8664, 12, 4949, 3378, 47, 1769, 1082, 202, 430, 12, 5, 72, 1580, 1891, 13, 9506, 202, 407, 79, 1318, 18, 2725, 12, 4949, 3378, 47, 16, 662, 18650, 1769, 1082, 202, 430, 12, 13615, 747, 13927, 13, 327, 31, 1082, 202, 430, 12, 1397, 18650, 1545, 1142, 2671, 13, 288, 9506, 202, 698, 288, 6862, 202, 2211, 18, 2722, 17031, 273, 1203, 18, 3922, 12, 5900, 18, 7242, 1733, 16, 1728, 2947, 1748, 518, 1807, 392, 348, 11129, 1195, 16, 638, 1769, 6862, 202, 2211, 18, 2722, 15270, 11008, 273, 1203, 18, 588, 15270, 11008, 5621, 6862, 202, 2211, 18, 2722, 14992, 2277, 273, 1203, 18, 291, 2277, 5621, 9506, 202, 97, 1044, 261, 653, 6615, 503, 425, 13, 288, 6862, 202, 2722, 17031, 273, 446, 31, 9506, 202, 97, 1044, 261, 14106, 425, 13, 288, 6862, 202, 2722, 17031, 273, 446, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 1397, 18650, 273, 2361, 18, 1896, 12, 2722, 2671, 16, 662, 18650, 1769, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 18650, 30, 13773, 1397, 18650, 1769, 1082, 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, 6459, 20613, 12, 3378, 47, 7744, 2403, 16, 1250, 14046, 1891, 16, 2445, 1260, 47, 1768, 1203, 13, 288, 202, 202, 13174, 682, 328, 273, 446, 31, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 8704, 10113, 18, 4479, 12, 4558, 1769, 1082, 202, 5748, 662, 18650, 273, 2403, 18, 2696, 31, 1082, 202, 5748, 1142, 2671, 273, 584, 79, 1318, 18, 8664, 12, 4949, 3378, 47, 1769, 1082, 202, 430, 12, 5, 72, 1580, 1891, 13, 9506, 202, 407, 79, 1318, 18, 2725, 12, 4949, 3378, 47, 16, 662, 18650, 1769, 1082, 202, 430, 12, 13615, 747, 13927, 13, 327, 31, 1082, 202, 430, 12, 1397, 18650, 1545, 1142, 2671, 13, 288, 9506, 202, 698, 2 ]
public static Message createFNPPong(int seqNo) {
public static final Message createFNPPong(int seqNo) {
public static Message createFNPPong(int seqNo) { Message msg = new Message(FNPPong); msg.set(PING_SEQNO, seqNo); return msg; }
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/d69dceaa72feee5ece14b8de951841aa9b614188/DMT.java/clean/src/freenet/io/comm/DMT.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 727, 2350, 752, 19793, 6584, 932, 12, 474, 3833, 2279, 13, 288, 3639, 2350, 1234, 273, 394, 2350, 12, 19793, 6584, 932, 1769, 3639, 1234, 18, 542, 12, 20002, 67, 28114, 3417, 16, 3833, 2279, 1769, 3639, 327, 1234, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 727, 2350, 752, 19793, 6584, 932, 12, 474, 3833, 2279, 13, 288, 3639, 2350, 1234, 273, 394, 2350, 12, 19793, 6584, 932, 1769, 3639, 1234, 18, 542, 12, 20002, 67, 28114, 3417, 16, 3833, 2279, 1769, 3639, 327, 1234, 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 ]
addByteCode(ByteCode.IFNE, falseTarget); addByteCode(ByteCode.POP);
cfw.add(ByteCode.IFNE, falseTarget); cfw.add(ByteCode.POP);
private void generateCodeFromNode(Node node, Node parent) { // System.out.println("gen code for " + node.toString()); int type = node.getType(); Node child = node.getFirstChild(); switch (type) { case Token.LOOP: case Token.WITH: case Token.LABEL: visitStatement(node); while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } break; case Token.CASE: case Token.DEFAULT: // XXX shouldn't these be StatementNodes? case Token.SCRIPT: case Token.BLOCK: case Token.EMPTY: case Token.NOP: // no-ops. visitStatement(node); while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } break; case Token.FUNCTION: if (inFunction || parent.getType() != Token.SCRIPT) { int fnIndex = node.getExistingIntProp(Node.FUNCTION_PROP); OptFunctionNode fn; fn = (OptFunctionNode)scriptOrFn.getFunctionNode(fnIndex); int t = fn.getFunctionType(); if (t != FunctionNode.FUNCTION_STATEMENT) { visitFunction(fn, t); } } break; case Token.NAME: visitName(node); break; case Token.NEW: case Token.CALL: visitCall(node, type, child); break; case Token.NUMBER: case Token.STRING: visitLiteral(node); break; case Token.THIS: aload(thisObjLocal); break; case Token.THISFN: classFile.add(ByteCode.ALOAD_0); break; case Token.NULL: addByteCode(ByteCode.ACONST_NULL); break; case Token.TRUE: classFile.add(ByteCode.GETSTATIC, "java/lang/Boolean", "TRUE", "Ljava/lang/Boolean;"); break; case Token.FALSE: classFile.add(ByteCode.GETSTATIC, "java/lang/Boolean", "FALSE", "Ljava/lang/Boolean;"); break; case Token.UNDEFINED: pushUndefined(); break; case Token.REGEXP: visitObject(node); break; case Token.TRY: visitTryCatchFinally(node, child); break; case Token.THROW: visitThrow(node, child); break; case Token.RETURN: visitReturn(node, child); break; case Token.SWITCH: visitSwitch(node, child); break; case Token.COMMA: { Node next = child.getNext(); while (next != null) { generateCodeFromNode(child, node); addByteCode(ByteCode.POP); child = next; next = next.getNext(); } generateCodeFromNode(child, node); break; } case Token.NEWSCOPE: addScriptRuntimeInvoke("newScope", "()Lorg/mozilla/javascript/Scriptable;"); break; case Token.ENTERWITH: visitEnterWith(node, child); break; case Token.LEAVEWITH: visitLeaveWith(node, child); break; case Token.ENUMINIT: visitEnumInit(node, child); break; case Token.ENUMNEXT: visitEnumNext(node, child); break; case Token.ENUMDONE: visitEnumDone(node, child); break; case Token.POP: visitStatement(node); if (child.getType() == Token.SETVAR) { /* special case this so as to avoid unnecessary load's & pop's */ visitSetVar(child, child.getFirstChild(), false); } else { while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } if (node.getIntProp(Node.ISNUMBER_PROP, -1) != -1) addByteCode(ByteCode.POP2); else addByteCode(ByteCode.POP); } break; case Token.POPV: visitStatement(node); while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } astore(scriptResultLocal); break; case Token.TARGET: visitTarget(node); break; case Token.JSR: case Token.GOTO: case Token.IFEQ: case Token.IFNE: visitGOTO(node, type, child); break; case Token.NOT: { int trueTarget = acquireLabel(); int falseTarget = acquireLabel(); int beyond = acquireLabel(); generateIfJump(child, node, trueTarget, falseTarget); markLabel(trueTarget); classFile.add(ByteCode.GETSTATIC, "java/lang/Boolean", "FALSE", "Ljava/lang/Boolean;"); addByteCode(ByteCode.GOTO, beyond); markLabel(falseTarget); classFile.add(ByteCode.GETSTATIC, "java/lang/Boolean", "TRUE", "Ljava/lang/Boolean;"); markLabel(beyond); classFile.adjustStackTop(-1); break; } case Token.BITNOT: addByteCode(ByteCode.NEW, "java/lang/Double"); addByteCode(ByteCode.DUP); generateCodeFromNode(child, node); addScriptRuntimeInvoke("toInt32", "(Ljava/lang/Object;)I"); push(-1); // implement ~a as (a ^ -1) addByteCode(ByteCode.IXOR); addByteCode(ByteCode.I2D); addDoubleConstructor(); break; case Token.VOID: generateCodeFromNode(child, node); addByteCode(ByteCode.POP); pushUndefined(); break; case Token.TYPEOF: generateCodeFromNode(child, node); addScriptRuntimeInvoke("typeof", "(Ljava/lang/Object;" +")Ljava/lang/String;"); break; case Token.TYPEOFNAME: visitTypeofname(node); break; case Token.INC: visitIncDec(node, true); break; case Token.DEC: visitIncDec(node, false); break; case Token.OR: case Token.AND: { generateCodeFromNode(child, node); addByteCode(ByteCode.DUP); addScriptRuntimeInvoke("toBoolean", "(Ljava/lang/Object;)Z"); int falseTarget = acquireLabel(); if (type == Token.AND) addByteCode(ByteCode.IFEQ, falseTarget); else addByteCode(ByteCode.IFNE, falseTarget); addByteCode(ByteCode.POP); generateCodeFromNode(child.getNext(), node); markLabel(falseTarget); } break; case Token.ADD: { generateCodeFromNode(child, node); generateCodeFromNode(child.getNext(), node); switch (node.getIntProp(Node.ISNUMBER_PROP, -1)) { case Node.BOTH: addByteCode(ByteCode.DADD); break; case Node.LEFT: addOptRuntimeInvoke("add", "(DLjava/lang/Object;)Ljava/lang/Object;"); break; case Node.RIGHT: addOptRuntimeInvoke("add", "(Ljava/lang/Object;D)Ljava/lang/Object;"); break; default: addScriptRuntimeInvoke("add", "(Ljava/lang/Object;" +"Ljava/lang/Object;" +")Ljava/lang/Object;"); } } break; case Token.MUL: visitArithmetic(node, ByteCode.DMUL, child, parent); break; case Token.SUB: visitArithmetic(node, ByteCode.DSUB, child, parent); break; case Token.DIV: case Token.MOD: visitArithmetic(node, type == Token.DIV ? ByteCode.DDIV : ByteCode.DREM, child, parent); break; case Token.BITOR: case Token.BITXOR: case Token.BITAND: case Token.LSH: case Token.RSH: case Token.URSH: visitBitOp(node, type, child); break; case Token.POS: case Token.NEG: addByteCode(ByteCode.NEW, "java/lang/Double"); addByteCode(ByteCode.DUP); generateCodeFromNode(child, node); addScriptRuntimeInvoke("toNumber", "(Ljava/lang/Object;)D"); if (type == Token.NEG) { addByteCode(ByteCode.DNEG); } addDoubleConstructor(); break; case Optimizer.TO_DOUBLE: // cnvt to double (not Double) generateCodeFromNode(child, node); addScriptRuntimeInvoke("toNumber", "(Ljava/lang/Object;)D"); break; case Optimizer.TO_OBJECT: { // convert from double int prop = -1; if (child.getType() == Token.NUMBER) { prop = child.getIntProp(Node.ISNUMBER_PROP, -1); } if (prop != -1) { child.removeProp(Node.ISNUMBER_PROP); generateCodeFromNode(child, node); child.putIntProp(Node.ISNUMBER_PROP, prop); } else { addByteCode(ByteCode.NEW, "java/lang/Double"); addByteCode(ByteCode.DUP); generateCodeFromNode(child, node); addDoubleConstructor(); } break; } case Token.IN: case Token.INSTANCEOF: case Token.LE: case Token.LT: case Token.GE: case Token.GT: // need a result Object visitRelOp(node, child); break; case Token.EQ: case Token.NE: case Token.SHEQ: case Token.SHNE: visitEqOp(node, child); break; case Token.GETPROP: visitGetProp(node, child); break; case Token.GETELEM: while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } aload(variableObjectLocal); if (node.getIntProp(Node.ISNUMBER_PROP, -1) != -1) { addOptRuntimeInvoke( "getElem", "(Ljava/lang/Object;D" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"); } else { addScriptRuntimeInvoke( "getElem", "(Ljava/lang/Object;" +"Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"); } break; case Token.GETVAR: { OptLocalVariable lVar = (OptLocalVariable)(node.getProp(Node.VARIABLE_PROP)); visitGetVar(lVar, node.getIntProp(Node.ISNUMBER_PROP, -1) != -1, node.getString()); } break; case Token.SETVAR: visitSetVar(node, child, true); break; case Token.SETNAME: visitSetName(node, child); break; case Token.SETPROP: visitSetProp(node, child); break; case Token.SETELEM: while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } aload(variableObjectLocal); if (node.getIntProp(Node.ISNUMBER_PROP, -1) != -1) { addOptRuntimeInvoke( "setElem", "(Ljava/lang/Object;" +"D" +"Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"); } else { addScriptRuntimeInvoke( "setElem", "(Ljava/lang/Object;" +"Ljava/lang/Object;" +"Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"); } break; case Token.DELPROP: aload(contextLocal); aload(variableObjectLocal); while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } addScriptRuntimeInvoke("delete", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Ljava/lang/Object;" +"Ljava/lang/Object;" +")Ljava/lang/Object;"); break; case Token.BINDNAME: case Token.GETBASE: visitBind(node, type, child); break; case Token.GETTHIS: generateCodeFromNode(child, node); addScriptRuntimeInvoke("getThis", "(Lorg/mozilla/javascript/Scriptable;" +")Lorg/mozilla/javascript/Scriptable;"); break; case Token.PARENT: generateCodeFromNode(child, node); addScriptRuntimeInvoke("getParent", "(Ljava/lang/Object;" +")Lorg/mozilla/javascript/Scriptable;"); break; case Token.NEWTEMP: visitNewTemp(node, child); break; case Token.USETEMP: visitUseTemp(node, child); break; case Token.NEWLOCAL: visitNewLocal(node, child); break; case Token.USELOCAL: visitUseLocal(node, child); break; default: throw new RuntimeException("Unexpected node type "+type); } }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/64dc04549cad044865eae2e65e775ddc0f292717/Codegen.java/buggy/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 1085, 28570, 12, 907, 756, 16, 2029, 982, 13, 565, 288, 3639, 368, 2332, 18, 659, 18, 8222, 2932, 4507, 981, 364, 315, 397, 756, 18, 10492, 10663, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 1620, 261, 723, 13, 288, 2868, 648, 3155, 18, 28677, 30, 2868, 648, 3155, 18, 9147, 30, 2868, 648, 3155, 18, 13545, 30, 7734, 3757, 3406, 12, 2159, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 2103, 1085, 28570, 12, 3624, 16, 756, 1769, 10792, 1151, 273, 1151, 18, 588, 2134, 5621, 7734, 289, 7734, 898, 31, 2868, 648, 3155, 18, 13415, 30, 2868, 648, 3155, 18, 5280, 30, 7734, 368, 11329, 12044, 1404, 4259, 506, 8056, 3205, 35, 2868, 648, 3155, 18, 10885, 30, 2868, 648, 3155, 18, 11403, 30, 2868, 648, 3155, 18, 13625, 30, 2868, 648, 3155, 18, 3417, 52, 30, 7734, 368, 1158, 17, 4473, 18, 7734, 3757, 3406, 12, 2159, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 2103, 1085, 28570, 12, 3624, 16, 756, 1769, 10792, 1151, 273, 1151, 18, 588, 2134, 5621, 7734, 289, 7734, 898, 31, 2868, 648, 3155, 18, 7788, 30, 7734, 309, 261, 267, 2083, 747, 982, 18, 588, 559, 1435, 480, 3155, 18, 10885, 13, 288, 10792, 509, 2295, 1016, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 12056, 2083, 907, 2295, 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, 918, 2103, 1085, 28570, 12, 907, 756, 16, 2029, 982, 13, 565, 288, 3639, 368, 2332, 18, 659, 18, 8222, 2932, 4507, 981, 364, 315, 397, 756, 18, 10492, 10663, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 1620, 261, 723, 13, 288, 2868, 648, 3155, 18, 28677, 30, 2868, 648, 3155, 18, 9147, 30, 2868, 648, 3155, 18, 13545, 30, 7734, 3757, 3406, 12, 2159, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 2103, 1085, 28570, 12, 3624, 16, 756, 1769, 10792, 1151, 273, 1151, 18, 588, 2134, 5621, 7734, 289, 7734, 898, 31, 2868, 648, 3155, 18, 13415, 30, 2868, 648, 2 ]
if (jj_scan_token(PROTECTED)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
if (jj_3R_130()) return true;
final private boolean jj_3R_102() { if (jj_scan_token(PROTECTED)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/d42ce7980bc2030e88ae13be5cf1b864eee291da/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 20481, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 3373, 26729, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 20481, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 3373, 26729, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
av = new AttVal( list, null, null, null, delim.value, attribute, value ); av.dict = AttributeTable.getDefaultAttributeTable().findAttribute(av);
av = new AttVal(list, null, null, null, delim.value, attribute, value); av.dict = AttributeTable.getDefaultAttributeTable().findAttribute(av);
public AttVal parseAttrs(MutableBoolean isempty) { AttVal av, list; String attribute, value; MutableInteger delim = new MutableInteger(); MutableObject asp = new MutableObject(); MutableObject php = new MutableObject(); list = null; for (; !endOfInput();) { attribute = parseAttribute(isempty, asp, php); if (attribute == null) { /* check if attributes are created by ASP markup */ if (asp.getObject() != null) { av = new AttVal(list, null, (Node)asp.getObject(), null, '\0', null, null ); list = av; continue; } /* check if attributes are created by PHP markup */ if (php.getObject() != null) { av = new AttVal(list, null, null, (Node)php.getObject(), '\0', null, null ); list = av; continue; } break; } value = parseValue(attribute, false, isempty, delim); if (attribute != null && isValidAttrName(attribute)) { av = new AttVal( list, null, null, null, delim.value, attribute, value ); av.dict = AttributeTable.getDefaultAttributeTable().findAttribute(av); list = av; } else { av = new AttVal( null, null, null, null, 0, attribute, value ); Report.attrError(this, this.token, value, Report.BAD_ATTRIBUTE_VALUE); } } return list; }
3308 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3308/996a78dda16e68e3ae71e3f24fde1a98bd1c0178/Lexer.java/clean/src/main/org/w3c/tidy/Lexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6020, 3053, 1109, 8262, 12, 19536, 5507, 277, 12000, 825, 13, 565, 288, 3639, 6020, 3053, 1712, 16, 666, 31, 3639, 514, 1566, 16, 460, 31, 3639, 10960, 4522, 10508, 273, 394, 10960, 4522, 5621, 3639, 10960, 921, 30869, 273, 394, 10960, 921, 5621, 3639, 10960, 921, 3863, 273, 394, 10960, 921, 5621, 3639, 666, 273, 446, 31, 3639, 364, 261, 31, 401, 409, 951, 1210, 5621, 13, 3639, 288, 5411, 1566, 273, 1109, 1499, 12, 291, 5531, 16, 30869, 16, 3863, 1769, 5411, 309, 261, 4589, 422, 446, 13, 5411, 288, 7734, 1748, 866, 309, 1677, 854, 2522, 635, 432, 3118, 9813, 1195, 7734, 309, 261, 28264, 18, 588, 921, 1435, 480, 446, 13, 7734, 288, 10792, 1712, 273, 394, 6020, 3053, 12, 1098, 16, 446, 16, 261, 907, 13, 28264, 18, 588, 921, 9334, 446, 16, 4766, 565, 2337, 20, 2187, 446, 16, 446, 11272, 10792, 666, 273, 1712, 31, 10792, 1324, 31, 7734, 289, 7734, 1748, 866, 309, 1677, 854, 2522, 635, 2899, 9813, 1195, 7734, 309, 261, 2684, 18, 588, 921, 1435, 480, 446, 13, 7734, 288, 10792, 1712, 273, 394, 6020, 3053, 12, 1098, 16, 446, 16, 446, 16, 261, 907, 13, 2684, 18, 588, 921, 9334, 4766, 565, 2337, 20, 2187, 446, 16, 446, 11272, 10792, 666, 273, 1712, 31, 10792, 1324, 31, 7734, 289, 7734, 898, 31, 5411, 289, 5411, 460, 273, 1109, 620, 12, 4589, 16, 629, 16, 277, 12000, 825, 16, 10508, 1769, 5411, 309, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6020, 3053, 1109, 8262, 12, 19536, 5507, 277, 12000, 825, 13, 565, 288, 3639, 6020, 3053, 1712, 16, 666, 31, 3639, 514, 1566, 16, 460, 31, 3639, 10960, 4522, 10508, 273, 394, 10960, 4522, 5621, 3639, 10960, 921, 30869, 273, 394, 10960, 921, 5621, 3639, 10960, 921, 3863, 273, 394, 10960, 921, 5621, 3639, 666, 273, 446, 31, 3639, 364, 261, 31, 401, 409, 951, 1210, 5621, 13, 3639, 288, 5411, 1566, 273, 1109, 1499, 12, 291, 5531, 16, 30869, 16, 3863, 1769, 5411, 309, 261, 4589, 422, 446, 13, 5411, 288, 7734, 1748, 866, 309, 1677, 854, 2522, 635, 432, 3118, 9813, 1195, 7734, 309, 261, 28264, 18, 588, 921, 1435, 480, 446, 13, 7734, 288, 2 ]
protected BaseExpression[] getExpressionsOfDefaultQuery() {
protected BaseExpression[] getExpressionsOfDefaultQuery( ) {
protected BaseExpression[] getExpressionsOfDefaultQuery() { return expressions; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/a6517270d3ab712ad61d0d7ce18b0f674f02bcdb/APITestCase.java/buggy/testsuites/org.eclipse.birt.tests.data/src/testutil/APITestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 3360, 2300, 8526, 336, 8927, 951, 1868, 1138, 1435, 288, 1082, 202, 2463, 8041, 31, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 3360, 2300, 8526, 336, 8927, 951, 1868, 1138, 1435, 288, 1082, 202, 2463, 8041, 31, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
oos.writeObject(buildNewAccessEvent());
ae.prepareForDeferredProcessing(); oos.writeObject(ae);
public void test1() throws Exception { // first run for just in time compiler int resetCounter = 0; int pauseCounter = 0; for (int i = 0; i < loopNumber; i++) { try { oos.writeObject(buildNewAccessEvent()); oos.flush(); if (++resetCounter >= resetFrequency) { oos.reset(); resetCounter = 0; } if (++pauseCounter >= pauseFrequency) { Thread.sleep(pauseLengthInMillis); pauseCounter = 0; } } catch (IOException ex) { fail(ex.getMessage()); } } // second run Long t1; Long t2; Long total = 0L; resetCounter = 0; pauseCounter = 0; // System.out.println("Beginning mesured run"); for (int i = 0; i < loopNumber; i++) { try { t1 = System.nanoTime(); oos.writeObject(buildNewAccessEvent()); oos.flush(); t2 = System.nanoTime(); total += (t2 - t1); if (++resetCounter >= resetFrequency) { oos.reset(); resetCounter = 0; } if (++pauseCounter >= pauseFrequency) { Thread.sleep(pauseLengthInMillis); pauseCounter = 0; } } catch (IOException ex) { fail(ex.getMessage()); } } total /= 1000; System.out.println("Loop done : average time = " + total / loopNumber + " microsecs after " + loopNumber + " writes."); }
45777 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45777/7ce80c3ab84617aa2eae6effa8c36f2a66e688df/SerializationPerfTest.java/buggy/logback-access/src/test/java/ch/qos/logback/access/net/SerializationPerfTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 21, 1435, 1216, 1185, 288, 565, 368, 1122, 1086, 364, 2537, 316, 813, 5274, 565, 509, 2715, 4789, 273, 374, 31, 565, 509, 11722, 4789, 273, 374, 31, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2798, 1854, 31, 277, 27245, 288, 1377, 775, 288, 540, 14221, 18, 9366, 1290, 16886, 7798, 5621, 24956, 18, 2626, 921, 12, 8906, 1769, 3639, 24956, 18, 11330, 5621, 3639, 309, 261, 9904, 6208, 4789, 1545, 2715, 13865, 13, 288, 1850, 24956, 18, 6208, 5621, 1850, 2715, 4789, 273, 374, 31, 3639, 289, 3639, 309, 261, 9904, 19476, 4789, 1545, 11722, 13865, 13, 288, 1850, 4884, 18, 19607, 12, 19476, 1782, 16620, 1769, 1850, 11722, 4789, 273, 374, 31, 3639, 289, 1377, 289, 1044, 261, 14106, 431, 13, 288, 3639, 2321, 12, 338, 18, 24906, 10663, 1377, 289, 565, 289, 3639, 368, 2205, 1086, 565, 3407, 268, 21, 31, 565, 3407, 268, 22, 31, 565, 3407, 2078, 273, 374, 48, 31, 565, 2715, 4789, 273, 374, 31, 565, 11722, 4789, 273, 374, 31, 565, 368, 2332, 18, 659, 18, 8222, 2932, 8149, 2093, 15216, 2862, 1086, 8863, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2798, 1854, 31, 277, 27245, 288, 1377, 775, 288, 3639, 268, 21, 273, 2332, 18, 13569, 83, 950, 5621, 540, 14221, 18, 9366, 1290, 16886, 7798, 5621, 24956, 18, 2626, 921, 12, 8906, 1769, 3639, 24956, 18, 11330, 5621, 3639, 268, 22, 273, 2332, 18, 13569, 83, 950, 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, 21, 1435, 1216, 1185, 288, 565, 368, 1122, 1086, 364, 2537, 316, 813, 5274, 565, 509, 2715, 4789, 273, 374, 31, 565, 509, 11722, 4789, 273, 374, 31, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2798, 1854, 31, 277, 27245, 288, 1377, 775, 288, 540, 14221, 18, 9366, 1290, 16886, 7798, 5621, 24956, 18, 2626, 921, 12, 8906, 1769, 3639, 24956, 18, 11330, 5621, 3639, 309, 261, 9904, 6208, 4789, 1545, 2715, 13865, 13, 288, 1850, 24956, 18, 6208, 5621, 1850, 2715, 4789, 273, 374, 31, 3639, 289, 3639, 309, 261, 9904, 19476, 4789, 1545, 11722, 13865, 13, 288, 1850, 4884, 18, 19607, 12, 19476, 1782, 16620, 1769, 1850, 11722, 4789, 273, 2 ]
hide();
setVisible(false);
public void actionPerformed(ActionEvent e) { selectedIndex = -1; done = true; synchronized(monitor) { monitor.notify(); } hide(); dispose(); }
6783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6783/0f6b7600e0b236cd5d42750ebd1421dcf76ca1ae/ScreenResSelector.java/buggy/src/demos/util/ScreenResSelector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6647, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 5411, 29244, 273, 300, 21, 31, 5411, 2731, 273, 638, 31, 5411, 3852, 12, 10259, 13, 288, 2868, 6438, 18, 12336, 5621, 5411, 289, 5411, 16697, 12, 5743, 1769, 5411, 15825, 5621, 1850, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6647, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 5411, 29244, 273, 300, 21, 31, 5411, 2731, 273, 638, 31, 5411, 3852, 12, 10259, 13, 288, 2868, 6438, 18, 12336, 5621, 5411, 289, 5411, 16697, 12, 5743, 1769, 5411, 15825, 5621, 1850, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else if (!Character.isLetter(c)) matched &= c >= '0' && c <= '9' && paren != -1; else if (i >= MAX_PREFIX_LENGTH || paren != -1) matched = false; }
else if (!Character.isLetter(c)) matched &= c >= '0' && c <= '9' && paren != -1; else if (i >= MAX_PREFIX_LENGTH || paren != -1) matched = false; }
private static String trimPrefixes(String subject) { while (true) { int length = subject.length(); // first, strip off any "(fwd)" at the end while (subject.endsWith(FWD_TRAILER)) { subject = subject.substring(0, length - FWD_TRAILER.length()).trim(); length = subject.length(); } if (length == 0) return subject; // find the first ':' in the subject boolean braced = subject.charAt(0) == '['; int colon = subject.indexOf(':'); if (colon <= (braced ? 1 : 0)) return subject; // figure out if it's either a known calendar response prefix or a 1-3 letter prefix String prefix = subject.substring(braced ? 1 : 0, colon + 1); boolean matched = true; if (CALENDAR_PREFIXES.contains(prefix)) matched = true; else { // make sure to catch "re(2):" and "fwd[5]:" as well... int paren = -1; for (int i = 0; matched && i < prefix.length() - 1; i++) { char c = prefix.charAt(i); if ((c == '(' || c == '[') && i > 0 && paren == -1) paren = i; else if ((c == ')' || c == ']') && paren != -1) matched &= i > paren + 1 && i == prefix.length() - 2; else if (!Character.isLetter(c)) matched &= c >= '0' && c <= '9' && paren != -1; else if (i >= MAX_PREFIX_LENGTH || paren != -1) matched = false; } } if (!matched) return subject; if (braced && subject.endsWith("]")) subject = subject.substring(colon + 1, length - 1).trim(); else subject = subject.substring(colon + 1).trim(); } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/4710c69ca3069efb5e7330dcad5f982a6ea62403/ParsedMessage.java/clean/ZimbraServer/src/java/com/zimbra/cs/mime/ParsedMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 514, 2209, 11700, 12, 780, 3221, 13, 288, 202, 202, 17523, 261, 3767, 13, 288, 1082, 202, 474, 769, 273, 3221, 18, 2469, 5621, 5411, 368, 1122, 16, 2569, 3397, 1281, 7751, 27131, 2225, 622, 326, 679, 5411, 1323, 261, 7857, 18, 5839, 1190, 12, 42, 16006, 67, 20060, 2627, 654, 3719, 288, 7734, 3221, 273, 3221, 18, 28023, 12, 20, 16, 769, 300, 478, 16006, 67, 20060, 2627, 654, 18, 2469, 1435, 2934, 5290, 5621, 7734, 769, 273, 3221, 18, 2469, 5621, 5411, 289, 5411, 309, 261, 2469, 422, 374, 13, 7734, 327, 3221, 31, 5411, 368, 1104, 326, 1122, 3921, 316, 326, 3221, 377, 202, 202, 6494, 16430, 3263, 273, 3221, 18, 3001, 861, 12, 20, 13, 422, 8375, 31, 5411, 509, 13336, 273, 3221, 18, 31806, 2668, 2497, 1769, 5411, 309, 261, 22667, 1648, 261, 15397, 3263, 692, 404, 294, 374, 3719, 7734, 327, 3221, 31, 5411, 368, 7837, 596, 309, 518, 1807, 3344, 279, 4846, 5686, 766, 1633, 578, 279, 404, 17, 23, 9471, 1633, 5411, 514, 1633, 273, 3221, 18, 28023, 12, 15397, 3263, 692, 404, 294, 374, 16, 13336, 397, 404, 1769, 5411, 1250, 4847, 273, 638, 31, 5411, 309, 261, 12983, 29154, 67, 6307, 3991, 18, 12298, 12, 3239, 3719, 7734, 4847, 273, 638, 31, 5411, 469, 288, 7734, 368, 1221, 3071, 358, 1044, 315, 266, 12, 22, 13, 2773, 471, 315, 27131, 63, 25, 65, 2773, 487, 5492, 2777, 7734, 509, 22146, 273, 300, 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, 225, 202, 1152, 760, 514, 2209, 11700, 12, 780, 3221, 13, 288, 202, 202, 17523, 261, 3767, 13, 288, 1082, 202, 474, 769, 273, 3221, 18, 2469, 5621, 5411, 368, 1122, 16, 2569, 3397, 1281, 7751, 27131, 2225, 622, 326, 679, 5411, 1323, 261, 7857, 18, 5839, 1190, 12, 42, 16006, 67, 20060, 2627, 654, 3719, 288, 7734, 3221, 273, 3221, 18, 28023, 12, 20, 16, 769, 300, 478, 16006, 67, 20060, 2627, 654, 18, 2469, 1435, 2934, 5290, 5621, 7734, 769, 273, 3221, 18, 2469, 5621, 5411, 289, 5411, 309, 261, 2469, 422, 374, 13, 7734, 327, 3221, 31, 5411, 368, 1104, 326, 1122, 3921, 316, 326, 3221, 377, 202, 202, 6494, 16430, 3263, 273, 3221, 18, 3001, 2 ]
if (top() && attribute.shouldPersist(m_params)) attribute.storeAttribute(this);
pushShouldPersist(attribute); storeAttribute(attribute);
public void visitAttribute(Attribute attribute) { if (top() && attribute.shouldPersist(m_params)) attribute.storeAttribute(this); }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/d8ef2b6db460eb42f56ed68e998cfd1f3ae0f7b8/BasePersister.java/buggy/src/services/org/opennms/netmgt/collectd/BasePersister.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 1499, 12, 1499, 1566, 13, 288, 3639, 309, 261, 3669, 1435, 597, 1566, 18, 13139, 12771, 12, 81, 67, 2010, 3719, 5411, 1566, 18, 2233, 1499, 12, 2211, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 1499, 12, 1499, 1566, 13, 288, 3639, 309, 261, 3669, 1435, 597, 1566, 18, 13139, 12771, 12, 81, 67, 2010, 3719, 5411, 1566, 18, 2233, 1499, 12, 2211, 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 ]
stdTarget = i;
if (maps[realIdx].hasFailedOnMachine(taskTracker)) { if (failedTarget < 0) { failedTarget = realIdx; } } else { stdTarget = realIdx;
public Task obtainNewMapTask(String taskTracker, TaskTrackerStatus tts) { if (! tasksInited) { LOG.info("Cannot create task split for " + profile.getJobId()); return null; } Task t = null; int cacheTarget = -1; int stdTarget = -1; int specTarget = -1; // // We end up creating two tasks for the same bucket, because // we call obtainNewMapTask() really fast, twice in a row. // There's not enough time for the "recentTasks" // // // Compute avg progress through the map tasks // double avgProgress = status.mapProgress() / maps.length; // // See if there is a split over a block that is stored on // the TaskTracker checking in. That means the block // doesn't have to be transmitted from another node. // for (int i = 0; i < maps.length; i++) { if (maps[i].hasTaskWithCacheHit(taskTracker, tts)) { if (cacheTarget < 0) { cacheTarget = i; break; } } } // // If there's no cached target, see if there's // a std. task to run. // if (cacheTarget < 0) { for (int i = 0; i < maps.length; i++) { if (maps[i].hasTask()) { if (stdTarget < 0) { stdTarget = i; break; } } } } // // If no cached-target and no std target, see if // there's a speculative task to run. // if (cacheTarget < 0 && stdTarget < 0) { for (int i = 0; i < maps.length; i++) { if (maps[i].hasSpeculativeTask(avgProgress)) { if (specTarget < 0) { specTarget = i; break; } } } } // // Run whatever we found // if (cacheTarget >= 0) { t = maps[cacheTarget].getTaskToRun(taskTracker, tts, avgProgress); } else if (stdTarget >= 0) { t = maps[stdTarget].getTaskToRun(taskTracker, tts, avgProgress); } else if (specTarget >= 0) { t = maps[specTarget].getTaskToRun(taskTracker, tts, avgProgress); } return t; }
48130 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48130/4ee62812940075bac6919b94b6fb0d20137bd78c/JobInProgress.java/buggy/src/java/org/apache/hadoop/mapred/JobInProgress.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3837, 7161, 1908, 863, 2174, 12, 780, 1562, 8135, 16, 3837, 8135, 1482, 268, 3428, 13, 288, 3639, 309, 16051, 4592, 2570, 329, 13, 288, 5411, 2018, 18, 1376, 2932, 4515, 752, 1562, 1416, 364, 315, 397, 3042, 18, 588, 23378, 10663, 5411, 327, 446, 31, 3639, 289, 3639, 3837, 268, 273, 446, 31, 3639, 509, 1247, 2326, 273, 300, 21, 31, 3639, 509, 2044, 2326, 273, 300, 21, 31, 3639, 509, 857, 2326, 273, 300, 21, 31, 3639, 368, 3639, 368, 1660, 679, 731, 4979, 2795, 4592, 364, 326, 1967, 2783, 16, 2724, 3639, 368, 732, 745, 7161, 1908, 863, 2174, 1435, 8654, 4797, 16, 13605, 316, 279, 1027, 18, 3639, 368, 6149, 1807, 486, 7304, 813, 364, 326, 315, 20872, 6685, 6, 3639, 368, 3639, 368, 3639, 368, 8155, 11152, 4007, 3059, 326, 852, 4592, 3639, 368, 3639, 1645, 11152, 5491, 273, 1267, 18, 1458, 5491, 1435, 342, 7565, 18, 2469, 31, 3639, 368, 3639, 368, 2164, 309, 1915, 353, 279, 1416, 1879, 279, 1203, 716, 353, 4041, 603, 3639, 368, 326, 3837, 8135, 6728, 316, 18, 225, 12466, 4696, 326, 1203, 3639, 368, 3302, 1404, 1240, 358, 506, 906, 7948, 628, 4042, 756, 18, 3639, 368, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 7565, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 10711, 63, 77, 8009, 5332, 2174, 1190, 1649, 13616, 12, 4146, 8135, 16, 268, 3428, 3719, 288, 7734, 309, 261, 2493, 2326, 411, 374, 13, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3837, 7161, 1908, 863, 2174, 12, 780, 1562, 8135, 16, 3837, 8135, 1482, 268, 3428, 13, 288, 3639, 309, 16051, 4592, 2570, 329, 13, 288, 5411, 2018, 18, 1376, 2932, 4515, 752, 1562, 1416, 364, 315, 397, 3042, 18, 588, 23378, 10663, 5411, 327, 446, 31, 3639, 289, 3639, 3837, 268, 273, 446, 31, 3639, 509, 1247, 2326, 273, 300, 21, 31, 3639, 509, 2044, 2326, 273, 300, 21, 31, 3639, 509, 857, 2326, 273, 300, 21, 31, 3639, 368, 3639, 368, 1660, 679, 731, 4979, 2795, 4592, 364, 326, 1967, 2783, 16, 2724, 3639, 368, 732, 745, 7161, 1908, 863, 2174, 1435, 8654, 4797, 16, 13605, 316, 279, 1027, 18, 3639, 368, 6149, 1807, 486, 7304, 2 ]
if (sign != val.sign) return sign > val.sign ? 1 : -1; if (sign == 0) return 0; return sign * intComp(val); }
if (sign != val.sign) return sign > val.sign ? 1 : -1; if (sign == 0) return 0; return sign * intComp(val); }
public int compareTo(XDecimal val) { if (sign != val.sign) return sign > val.sign ? 1 : -1; if (sign == 0) return 0; return sign * intComp(val); }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/ca2aeab59f3fc18d766b3141f9dc8b74b78f92ce/DecimalDV.java/clean/src/org/apache/xerces/impl/dv/xs/DecimalDV.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 9292, 12, 60, 5749, 1244, 13, 288, 3639, 309, 261, 2977, 480, 1244, 18, 2977, 13, 5411, 327, 1573, 405, 1244, 18, 2977, 692, 404, 294, 300, 21, 31, 3639, 309, 261, 2977, 422, 374, 13, 5411, 327, 374, 31, 3639, 327, 1573, 380, 509, 2945, 12, 1125, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 9292, 12, 60, 5749, 1244, 13, 288, 3639, 309, 261, 2977, 480, 1244, 18, 2977, 13, 5411, 327, 1573, 405, 1244, 18, 2977, 692, 404, 294, 300, 21, 31, 3639, 309, 261, 2977, 422, 374, 13, 5411, 327, 374, 31, 3639, 327, 1573, 380, 509, 2945, 12, 1125, 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 ]
ruleMemo = new HashMap[135+1];
ruleMemo = new HashMap[138+1];
public DRLParser(TokenStream input) { super(input); ruleMemo = new HashMap[135+1]; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/f28aebf2f687a31e4e9c59db745d1344bea3d924/DRLParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 27094, 2678, 12, 1345, 1228, 810, 13, 288, 5411, 2240, 12, 2630, 1769, 5411, 1720, 21230, 273, 394, 4317, 63, 26645, 15, 21, 15533, 540, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 27094, 2678, 12, 1345, 1228, 810, 13, 288, 5411, 2240, 12, 2630, 1769, 5411, 1720, 21230, 273, 394, 4317, 63, 26645, 15, 21, 15533, 540, 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 ]
if (node.getNumberChildren() > 1)
if (node != null && node.getNumberChildren() > 1)
private static int getMoveNumberInVariation(Node node) { int moveNumber = 0; while (node != null) { if (node.getMove() != null) ++moveNumber; node = node.getFather(); if (node.getNumberChildren() > 1) break; } return moveNumber; }
48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/c1f8241fa750ca0f14481b1c05d980426ccc7ede/Writer.java/clean/src/sgf/Writer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 2108, 841, 1854, 382, 23771, 12, 907, 756, 13, 565, 288, 3639, 509, 3635, 1854, 273, 374, 31, 3639, 1323, 261, 2159, 480, 446, 13, 3639, 288, 5411, 309, 261, 2159, 18, 588, 7607, 1435, 480, 446, 13, 7734, 965, 8501, 1854, 31, 5411, 756, 273, 756, 18, 588, 42, 4806, 5621, 5411, 309, 261, 2159, 480, 446, 597, 756, 18, 588, 1854, 4212, 1435, 405, 404, 13, 7734, 898, 31, 3639, 289, 3639, 327, 3635, 1854, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 2108, 841, 1854, 382, 23771, 12, 907, 756, 13, 565, 288, 3639, 509, 3635, 1854, 273, 374, 31, 3639, 1323, 261, 2159, 480, 446, 13, 3639, 288, 5411, 309, 261, 2159, 18, 588, 7607, 1435, 480, 446, 13, 7734, 965, 8501, 1854, 31, 5411, 756, 273, 756, 18, 588, 42, 4806, 5621, 5411, 309, 261, 2159, 480, 446, 597, 756, 18, 588, 1854, 4212, 1435, 405, 404, 13, 7734, 898, 31, 3639, 289, 3639, 327, 3635, 1854, 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 ]
public void setupSpecialPages(Locale locale, WikiUser user, VirtualWiki virtualWiki) throws Exception {
public static void setupSpecialPages(Locale locale, WikiUser user, VirtualWiki virtualWiki) throws Exception {
public void setupSpecialPages(Locale locale, WikiUser user, VirtualWiki virtualWiki) throws Exception { Connection conn = null; try { conn = this.getConnection(); // create the default topics setupSpecialPage(locale, virtualWiki.getName(), WikiBase.SPECIAL_PAGE_STARTING_POINTS, user, false, conn); setupSpecialPage(locale, virtualWiki.getName(), WikiBase.SPECIAL_PAGE_LEFT_MENU, user, true, conn); setupSpecialPage(locale, virtualWiki.getName(), WikiBase.SPECIAL_PAGE_BOTTOM_AREA, user, true, conn); setupSpecialPage(locale, virtualWiki.getName(), WikiBase.SPECIAL_PAGE_STYLESHEET, user, true, conn); } catch (Exception e) { DatabaseConnection.handleErrors(conn); throw e; } finally { this.releaseParams(conn); } }
50517 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50517/513a238e3f29ddefa148a3c1e845ad0af9dd6c29/DatabaseHandler.java/buggy/src/java/org/jamwiki/db/DatabaseHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3875, 12193, 5716, 12, 3916, 2573, 16, 28268, 1299, 729, 16, 7269, 25438, 5024, 25438, 13, 1216, 1185, 288, 202, 202, 1952, 1487, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 4646, 273, 333, 18, 588, 1952, 5621, 1082, 202, 759, 752, 326, 805, 11204, 1082, 202, 8401, 12193, 1964, 12, 6339, 16, 5024, 25438, 18, 17994, 9334, 28268, 2171, 18, 13847, 6365, 67, 11219, 67, 7570, 1360, 67, 8941, 55, 16, 729, 16, 629, 16, 1487, 1769, 1082, 202, 8401, 12193, 1964, 12, 6339, 16, 5024, 25438, 18, 17994, 9334, 28268, 2171, 18, 13847, 6365, 67, 11219, 67, 10066, 67, 29227, 16, 729, 16, 638, 16, 1487, 1769, 1082, 202, 8401, 12193, 1964, 12, 6339, 16, 5024, 25438, 18, 17994, 9334, 28268, 2171, 18, 13847, 6365, 67, 11219, 67, 28891, 67, 20933, 16, 729, 16, 638, 16, 1487, 1769, 1082, 202, 8401, 12193, 1964, 12, 6339, 16, 5024, 25438, 18, 17994, 9334, 28268, 2171, 18, 13847, 6365, 67, 11219, 67, 15066, 2664, 41, 1584, 16, 729, 16, 638, 16, 1487, 1769, 202, 202, 97, 1044, 261, 503, 425, 13, 288, 1082, 202, 4254, 1952, 18, 4110, 4229, 12, 4646, 1769, 1082, 202, 12849, 425, 31, 202, 202, 97, 3095, 288, 1082, 202, 2211, 18, 9340, 1370, 12, 4646, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3875, 12193, 5716, 12, 3916, 2573, 16, 28268, 1299, 729, 16, 7269, 25438, 5024, 25438, 13, 1216, 1185, 288, 202, 202, 1952, 1487, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 4646, 273, 333, 18, 588, 1952, 5621, 1082, 202, 759, 752, 326, 805, 11204, 1082, 202, 8401, 12193, 1964, 12, 6339, 16, 5024, 25438, 18, 17994, 9334, 28268, 2171, 18, 13847, 6365, 67, 11219, 67, 7570, 1360, 67, 8941, 55, 16, 729, 16, 629, 16, 1487, 1769, 1082, 202, 8401, 12193, 1964, 12, 6339, 16, 5024, 25438, 18, 17994, 9334, 28268, 2171, 18, 13847, 6365, 67, 11219, 67, 10066, 67, 29227, 16, 729, 16, 638, 16, 1487, 1769, 1082, 202, 8401, 12193, 1964, 2 ]
private LogicStatement parse_body(ParseNode pn) { if (!precheck(pn, "body")) { return null; } if (pn.getChild("and") != null) { /* body AND body */ LogicStatement left, right; left = parse_body(pn.getChild("and").getChild("left").getChild("body")); right = parse_body(pn.getChild("and").getChild("right").getChild("body")); if ((left == null) || (right == null)) { return null; } // what do we want to call the and/or/not body classes? return new LogicStatement(LogicStatement.AND, left, right); } else if (pn.getChild("or") != null) { /* body OR body */ LogicStatement left, right; left = parse_body(pn.getChild("or").getChild("left").getChild("body")); right = parse_body(pn.getChild("or").getChild("right").getChild("body")); if ((left == null) || (right == null)) { return null; } return new LogicStatement(LogicStatement.OR, left, right); } else if (pn.getChild("not") != null) { /* NOT body */ LogicStatement left = parse_body(pn.getChild("not").getChild("body")); if (left == null) { return null; } return new LogicStatement(LogicStatement.NOT, left); } else if (pn.getChild("predicate") != null) { return parse_predicate(pn.getChild("predicate")); } else { throw new IRException(); } }
2866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2866/28201febc522c0f0e089c33b984043b82c5b9036/SemanticChecker.java/clean/RepairCompiler/MCC/IR/SemanticChecker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 20556, 3406, 2670, 67, 3432, 12, 3201, 907, 7449, 15329, 430, 12, 5, 1484, 1893, 12, 7449, 10837, 3432, 6, 3719, 95, 2463, 2011, 31, 97, 430, 12, 7449, 18, 588, 1763, 2932, 464, 7923, 5, 33, 2011, 15329, 20308, 3432, 4307, 3432, 5549, 20556, 3406, 4482, 16, 4083, 31, 4482, 33, 2670, 67, 3432, 12, 7449, 18, 588, 1763, 2932, 464, 20387, 588, 1763, 2932, 4482, 20387, 588, 1763, 2932, 3432, 7923, 1769, 4083, 33, 2670, 67, 3432, 12, 7449, 18, 588, 1763, 2932, 464, 20387, 588, 1763, 2932, 4083, 20387, 588, 1763, 2932, 3432, 7923, 1769, 430, 12443, 4482, 631, 2011, 14047, 96, 12, 4083, 631, 2011, 3719, 95, 2463, 2011, 31, 97, 759, 23770, 72, 543, 359, 304, 748, 504, 454, 5787, 464, 19, 280, 19, 902, 3432, 4701, 35, 2463, 2704, 20556, 3406, 12, 20556, 3406, 18, 4307, 16, 4482, 16, 4083, 1769, 97, 12107, 430, 12, 7449, 18, 588, 1763, 2932, 280, 7923, 5, 33, 2011, 15329, 20308, 3432, 916, 3432, 5549, 20556, 3406, 4482, 16, 4083, 31, 4482, 33, 2670, 67, 3432, 12, 7449, 18, 588, 1763, 2932, 280, 20387, 588, 1763, 2932, 4482, 20387, 588, 1763, 2932, 3432, 7923, 1769, 4083, 33, 2670, 67, 3432, 12, 7449, 18, 588, 1763, 2932, 280, 20387, 588, 1763, 2932, 4083, 20387, 588, 1763, 2932, 3432, 7923, 1769, 430, 12443, 4482, 631, 2011, 14047, 96, 12, 4083, 631, 2011, 3719, 95, 2463, 2011, 31, 97, 2463, 2704, 20556, 3406, 12, 20556, 3406, 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, 3238, 20556, 3406, 2670, 67, 3432, 12, 3201, 907, 7449, 15329, 430, 12, 5, 1484, 1893, 12, 7449, 10837, 3432, 6, 3719, 95, 2463, 2011, 31, 97, 430, 12, 7449, 18, 588, 1763, 2932, 464, 7923, 5, 33, 2011, 15329, 20308, 3432, 4307, 3432, 5549, 20556, 3406, 4482, 16, 4083, 31, 4482, 33, 2670, 67, 3432, 12, 7449, 18, 588, 1763, 2932, 464, 20387, 588, 1763, 2932, 4482, 20387, 588, 1763, 2932, 3432, 7923, 1769, 4083, 33, 2670, 67, 3432, 12, 7449, 18, 588, 1763, 2932, 464, 20387, 588, 1763, 2932, 4083, 20387, 588, 1763, 2932, 3432, 7923, 1769, 430, 12443, 4482, 631, 2011, 14047, 96, 12, 4083, 631, 2011, 3719, 95, 2463, 2011, 31, 97, 759, 23770, 72, 2 ]
if (source.charAt(0) == TokenStream.FUNCTION && length > 1 && (source.charAt(1) == TokenStream.NAME || source.charAt(1) == TokenStream.LP)) {
int token = source.charAt(i); ++i; if (token == TokenStream.FUNCTION) {
private static void decompile_r(NativeFunction f, int indent, boolean toplevel, boolean justbody, StringBuffer result) { String source = f.source; if (source == null) { if (!justbody) { result.append("function "); result.append(f.getFunctionName()); result.append("() {\n\t"); } result.append("[native code]\n"); if (!justbody) { result.append("}\n"); } return; } int length = source.length(); // Spew tokens in source, for debugging. // as TYPE number char if (printSource) { System.err.println("length:" + length); for (int i = 0; i < length; ++i) { // Note that tokenToName will fail unless Context.printTrees // is true. String tokenname = TokenStream.tokenToName(source.charAt(i)); if (tokenname == null) tokenname = "---"; String pad = tokenname.length() > 7 ? "\t" : "\t\t"; System.err.println (tokenname + pad + (int)source.charAt(i) + "\t'" + ScriptRuntime.escapeString (source.substring(i, i+1)) + "'"); } System.err.println(); } int i = 0; if (length > 0) { /* special-case FUNCTION as the first token; if it is, * (and it's not followed by a NAME or LP) then we're * decompiling a function (and not the toplevel script.) * FUNCTION appearing elsewhere is an escape that means we'll * need to call toString of the given function (object). * If not at the top level, don't add an initial indent; * let the caller do it, so functions as expressions look * reasonable. */ if (toplevel) { // add an initial newline to exactly match js. if (!justbody) result.append('\n'); for (int j = 0; j < indent; j++) result.append(' '); } if (source.charAt(0) == TokenStream.FUNCTION // make sure it's not a script that begins with a // reference to a function definition. && length > 1 && (source.charAt(1) == TokenStream.NAME || source.charAt(1) == TokenStream.LP)) { if (!justbody) { result.append("function "); /* version != 1.2 Function constructor behavior - if * there's no function name in the source info, and * the names[0] entry is the empty string, then it must * have been created by the Function constructor; * print 'anonymous' as the function name if the * version (under which the function was compiled) is * less than 1.2... or if it's greater than 1.2, because * we need to be closer to ECMA. (ToSource, please?) */ if (nextIs(source, length, i, TokenStream.LP) && f.version != Context.VERSION_1_2 && f.functionName != null && f.functionName.equals("anonymous")) result.append("anonymous"); ++i; } else { /* Skip past the entire function header to the next EOL. * Depends on how NAMEs are encoded. */ while (i < length && (source.charAt(i) != TokenStream.EOL // the length char of a NAME sequence // can look like an EOL. || (i > 0 && source.charAt(i-1) == TokenStream.NAME))) { ++i; } // Skip past the EOL, too. ++i; } } } while (i < length) { int stop; switch(source.charAt(i)) { case TokenStream.NAME: case TokenStream.REGEXP: // re-wrapped in '/'s in parser... /* NAMEs are encoded as NAME, (char) length, string... * Note that lookahead for detecting labels depends on * this encoding; change there if this changes. * Also change function-header skipping code above, * used when decompling under decompileFunctionBody. */ ++i; stop = i + (int)source.charAt(i); result.append(source.substring(i + 1, stop + 1)); i = stop; break; case TokenStream.NUMBER: ++i; long lbits = 0; switch(source.charAt(i)) { case 'S': ++i; result.append((int)source.charAt(i)); break; case 'J': lbits |= (long)source.charAt(++i) << 48; lbits |= (long)source.charAt(++i) << 32; lbits |= (long)source.charAt(++i) << 16; lbits |= (long)source.charAt(++i); result.append(lbits); break; case 'D': lbits |= (long)source.charAt(++i) << 48; lbits |= (long)source.charAt(++i) << 32; lbits |= (long)source.charAt(++i) << 16; lbits |= (long)source.charAt(++i); double dval = Double.longBitsToDouble(lbits); result.append(ScriptRuntime.numberToString(dval, 10)); break; } break; case TokenStream.STRING: ++i; stop = i + (int)source.charAt(i); result.append('"'); result.append(ScriptRuntime.escapeString (source.substring(i + 1, stop + 1))); result.append('"'); i = stop; break; case TokenStream.PRIMARY: ++i; switch(source.charAt(i)) { case TokenStream.TRUE: result.append("true"); break; case TokenStream.FALSE: result.append("false"); break; case TokenStream.NULL: result.append("null"); break; case TokenStream.THIS: result.append("this"); break; case TokenStream.TYPEOF: result.append("typeof"); break; case TokenStream.VOID: result.append("void"); break; case TokenStream.UNDEFINED: result.append("undefined"); break; } break; case TokenStream.FUNCTION: { /* decompile a FUNCTION token as an escape; call * toString on the nth enclosed nested function, * where n is given by the byte that follows. */ ++i; int functionNumber = source.charAt(i); if (f.nestedFunctions == null || functionNumber > f.nestedFunctions.length) { String message; if (f.functionName != null && f.functionName.length() > 0) { message = Context.getMessage2 ("msg.no.function.ref.found.in", new Integer(functionNumber), f.functionName); } else { message = Context.getMessage1 ("msg.no.function.ref.found", new Integer(functionNumber)); } throw Context.reportRuntimeError(message); } decompile_r(f.nestedFunctions[functionNumber], indent, false, false, result); break; } case TokenStream.COMMA: result.append(", "); break; case TokenStream.LC: if (nextIs(source, length, i, TokenStream.EOL)) indent += OFFSET; result.append('{'); break; case TokenStream.RC: /* don't print the closing RC if it closes the * toplevel function and we're called from * decompileFunctionBody. */ if (justbody && toplevel && i + 1 == length) break; if (nextIs(source, length, i, TokenStream.EOL)) indent -= OFFSET; if (nextIs(source, length, i, TokenStream.WHILE) || nextIs(source, length, i, TokenStream.ELSE)) { indent -= OFFSET; result.append("} "); } else result.append('}'); break; case TokenStream.LP: result.append('('); break; case TokenStream.RP: if (nextIs(source, length, i, TokenStream.LC)) result.append(") "); else result.append(')'); break; case TokenStream.LB: result.append('['); break; case TokenStream.RB: result.append(']'); break; case TokenStream.EOL: result.append('\n'); /* add indent if any tokens remain, * less setback if next token is * a label, case or default. */ if (i + 1 < length) { int less = 0; if (nextIs(source, length, i, TokenStream.CASE) || nextIs(source, length, i, TokenStream.DEFAULT)) less = SETBACK; else if (nextIs(source, length, i, TokenStream.RC)) less = OFFSET; /* elaborate check against label... skip past a * following inlined NAME and look for a COLON. * Depends on how NAME is encoded. */ else if (nextIs(source, length, i, TokenStream.NAME)) { int skip = source.charAt(i + 2); if (source.charAt(i + skip + 3) == TokenStream.COLON) less = OFFSET; } for (; less < indent; less++) result.append(' '); } break; case TokenStream.DOT: result.append('.'); break; case TokenStream.NEW: result.append("new "); break; case TokenStream.DELPROP: result.append("delete "); break; case TokenStream.IF: result.append("if "); break; case TokenStream.ELSE: result.append("else "); break; case TokenStream.FOR: result.append("for "); break; case TokenStream.IN: result.append(" in "); break; case TokenStream.WITH: result.append("with "); break; case TokenStream.WHILE: result.append("while "); break; case TokenStream.DO: result.append("do "); break; case TokenStream.TRY: result.append("try "); break; case TokenStream.CATCH: result.append("catch "); break; case TokenStream.FINALLY: result.append("finally "); break; case TokenStream.THROW: result.append("throw "); break; case TokenStream.SWITCH: result.append("switch "); break; case TokenStream.BREAK: if (nextIs(source, length, i, TokenStream.NAME)) result.append("break "); else result.append("break"); break; case TokenStream.CONTINUE: if (nextIs(source, length, i, TokenStream.NAME)) result.append("continue "); else result.append("continue"); break; case TokenStream.CASE: result.append("case "); break; case TokenStream.DEFAULT: result.append("default"); break; case TokenStream.RETURN: if (nextIs(source, length, i, TokenStream.SEMI)) result.append("return"); else result.append("return "); break; case TokenStream.VAR: result.append("var "); break; case TokenStream.SEMI: if (nextIs(source, length, i, TokenStream.EOL)) // statement termination result.append(';'); else // separators in FOR result.append("; "); break; case TokenStream.ASSIGN: ++i; switch(source.charAt(i)) { case TokenStream.NOP: result.append(" = "); break; case TokenStream.ADD: result.append(" += "); break; case TokenStream.SUB: result.append(" -= "); break; case TokenStream.MUL: result.append(" *= "); break; case TokenStream.DIV: result.append(" /= "); break; case TokenStream.MOD: result.append(" %= "); break; case TokenStream.BITOR: result.append(" |= "); break; case TokenStream.BITXOR: result.append(" ^= "); break; case TokenStream.BITAND: result.append(" &= "); break; case TokenStream.LSH: result.append(" <<= "); break; case TokenStream.RSH: result.append(" >>= "); break; case TokenStream.URSH: result.append(" >>>= "); break; } break; case TokenStream.HOOK: result.append(" ? "); break; case TokenStream.OBJLIT: // pun OBJLIT to mean colon in objlit property initialization. // this needs to be distinct from COLON in the general case // to distinguish from the colon in a ternary... which needs // different spacing. result.append(':'); break; case TokenStream.COLON: if (nextIs(source, length, i, TokenStream.EOL)) // it's the end of a label result.append(':'); else // it's the middle part of a ternary result.append(" : "); break; case TokenStream.OR: result.append(" || "); break; case TokenStream.AND: result.append(" && "); break; case TokenStream.BITOR: result.append(" | "); break; case TokenStream.BITXOR: result.append(" ^ "); break; case TokenStream.BITAND: result.append(" & "); break; case TokenStream.EQOP: ++i; switch(source.charAt(i)) { case TokenStream.SHEQ: /* * Emulate the C engine; if we're under version * 1.2, then the == operator behaves like the === * operator (and the source is generated by * decompiling a === opcode), so print the === * operator as ==. */ result.append(f.version == Context.VERSION_1_2 ? " == " : " === "); break; case TokenStream.SHNE: result.append(f.version == Context.VERSION_1_2 ? " != " : " !== "); break; case TokenStream.EQ: result.append(" == "); break; case TokenStream.NE: result.append(" != "); break; } break; case TokenStream.RELOP: ++i; switch(source.charAt(i)) { case TokenStream.LE: result.append(" <= "); break; case TokenStream.LT: result.append(" < "); break; case TokenStream.GE: result.append(" >= "); break; case TokenStream.GT: result.append(" > "); break; case TokenStream.INSTANCEOF: result.append(" instanceof "); break; } break; case TokenStream.SHOP: ++i; switch(source.charAt(i)) { case TokenStream.LSH: result.append(" << "); break; case TokenStream.RSH: result.append(" >> "); break; case TokenStream.URSH: result.append(" >>> "); break; } break; case TokenStream.UNARYOP: ++i; switch(source.charAt(i)) { case TokenStream.TYPEOF: result.append("typeof "); break; case TokenStream.VOID: result.append("void "); break; case TokenStream.NOT: result.append('!'); break; case TokenStream.BITNOT: result.append('~'); break; case TokenStream.ADD: result.append('+'); break; case TokenStream.SUB: result.append('-'); break; } break; case TokenStream.INC: result.append("++"); break; case TokenStream.DEC: result.append("--"); break; case TokenStream.ADD: result.append(" + "); break; case TokenStream.SUB: result.append(" - "); break; case TokenStream.MUL: result.append(" * "); break; case TokenStream.DIV: result.append(" / "); break; case TokenStream.MOD: result.append(" % "); break; default: // If we don't know how to decompile it, raise an exception. throw new RuntimeException(); } ++i; } // add that trailing newline if it's an outermost function. if (toplevel && !justbody) result.append('\n'); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/99c0da59df8a477345ea61355f46260118b3760e/NativeFunction.java/clean/js/rhino/src/org/mozilla/javascript/NativeFunction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 443, 11100, 67, 86, 12, 9220, 2083, 284, 16, 509, 3504, 16, 4766, 565, 1250, 28999, 16, 1250, 2537, 3432, 16, 4766, 565, 6674, 563, 13, 565, 288, 3639, 514, 1084, 273, 284, 18, 3168, 31, 3639, 309, 261, 3168, 422, 446, 13, 288, 5411, 309, 16051, 3732, 3432, 13, 288, 7734, 563, 18, 6923, 2932, 915, 315, 1769, 7734, 563, 18, 6923, 12, 74, 18, 588, 25258, 10663, 7734, 563, 18, 6923, 2932, 1435, 18890, 82, 64, 88, 8863, 5411, 289, 5411, 563, 18, 6923, 2932, 63, 13635, 981, 13944, 82, 8863, 5411, 309, 16051, 3732, 3432, 13, 288, 7734, 563, 18, 6923, 2932, 6280, 82, 8863, 5411, 289, 5411, 327, 31, 3639, 289, 3639, 509, 769, 273, 1084, 18, 2469, 5621, 3639, 368, 348, 347, 91, 2430, 316, 1084, 16, 364, 10450, 18, 3639, 368, 487, 3463, 1300, 1149, 3639, 309, 261, 1188, 1830, 13, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 2469, 2773, 397, 769, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 769, 31, 965, 77, 13, 288, 7734, 368, 3609, 716, 1147, 774, 461, 903, 2321, 3308, 1772, 18, 1188, 26590, 7734, 368, 353, 638, 18, 7734, 514, 1147, 529, 273, 3155, 1228, 18, 2316, 774, 461, 12, 3168, 18, 3001, 861, 12, 77, 10019, 7734, 309, 261, 2316, 529, 422, 446, 13, 10792, 1147, 529, 273, 5238, 10951, 31, 7734, 514, 4627, 273, 1147, 529, 18, 2469, 1435, 405, 2371, 10792, 692, 1548, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 443, 11100, 67, 86, 12, 9220, 2083, 284, 16, 509, 3504, 16, 4766, 565, 1250, 28999, 16, 1250, 2537, 3432, 16, 4766, 565, 6674, 563, 13, 565, 288, 3639, 514, 1084, 273, 284, 18, 3168, 31, 3639, 309, 261, 3168, 422, 446, 13, 288, 5411, 309, 16051, 3732, 3432, 13, 288, 7734, 563, 18, 6923, 2932, 915, 315, 1769, 7734, 563, 18, 6923, 12, 74, 18, 588, 25258, 10663, 7734, 563, 18, 6923, 2932, 1435, 18890, 82, 64, 88, 8863, 5411, 289, 5411, 563, 18, 6923, 2932, 63, 13635, 981, 13944, 82, 8863, 5411, 309, 16051, 3732, 3432, 13, 288, 7734, 563, 18, 6923, 2932, 6280, 82, 8863, 5411, 289, 5411, 327, 31, 3639, 289, 2 ]
public Set entrySet();
Set entrySet();
public Set entrySet();
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/b37b39a8e8ee762cc74efa7e8d06368d13147150/Map.java/clean/libraries/javalib/java/util/Map.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1000, 6296, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1000, 6296, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if( dialog.open() == InputDialog.OK ) { VView.GetInstance().ExecSynchronized(new IVSynchronizedAction() { @Override public void Run() throws RuntimeException { selectedSetting.SetValue(dialog.getValue()); } });
if( selection != null ) { selectedEntity.Add(new Part(selection));
public void run() { final Setting selectedSetting = getSelectedSetting(); if( selectedSetting == null ) return; final InputDialog dialog = new InputDialog(myParent.getShell(), "Change value of " + selectedSetting.GetName(), "Value", selectedSetting.GetValue(), new IInputValidator() { public String isValid(String x) { return null; } }); if( dialog.open() == InputDialog.OK ) { VView.GetInstance().ExecSynchronized(new IVSynchronizedAction() { @Override public void Run() throws RuntimeException { selectedSetting.SetValue(dialog.getValue()); } }); } viewer.refresh(); }
3290 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3290/920a25ca0f7471bb4a0e4a6d86a94fb8367ab626/SceneView.java/buggy/velox/Editor/EclipsePlugin/src/de/velox/editor/views/SceneView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 6385, 13274, 3170, 5568, 273, 16625, 5568, 5621, 6862, 9506, 202, 430, 12, 3170, 5568, 422, 446, 262, 6862, 202, 2463, 31, 6862, 9506, 202, 6385, 2741, 6353, 6176, 273, 394, 2741, 6353, 12, 4811, 3054, 18, 588, 13220, 9334, 25083, 202, 6, 3043, 460, 434, 315, 397, 3170, 5568, 18, 967, 461, 9334, 9944, 202, 6, 620, 3113, 9944, 202, 8109, 5568, 18, 967, 620, 9334, 25083, 202, 2704, 467, 1210, 5126, 1435, 288, 6862, 202, 482, 514, 4908, 12, 780, 619, 13, 288, 327, 446, 31, 289, 9506, 202, 22938, 6862, 9506, 202, 430, 12, 6176, 18, 3190, 1435, 422, 2741, 6353, 18, 3141, 262, 288, 6862, 202, 58, 1767, 18, 967, 1442, 7675, 1905, 55, 15666, 12, 2704, 467, 14640, 15666, 1803, 1435, 288, 25083, 202, 36, 6618, 25083, 202, 482, 918, 1939, 1435, 1216, 3235, 288, 6862, 1082, 202, 8109, 5568, 18, 694, 620, 12, 12730, 18, 24805, 10663, 25083, 202, 97, 6862, 202, 22938, 6862, 6862, 202, 97, 6862, 9506, 202, 25256, 18, 9144, 5621, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 6385, 13274, 3170, 5568, 273, 16625, 5568, 5621, 6862, 9506, 202, 430, 12, 3170, 5568, 422, 446, 262, 6862, 202, 2463, 31, 6862, 9506, 202, 6385, 2741, 6353, 6176, 273, 394, 2741, 6353, 12, 4811, 3054, 18, 588, 13220, 9334, 25083, 202, 6, 3043, 460, 434, 315, 397, 3170, 5568, 18, 967, 461, 9334, 9944, 202, 6, 620, 3113, 9944, 202, 8109, 5568, 18, 967, 620, 9334, 25083, 202, 2704, 467, 1210, 5126, 1435, 288, 6862, 202, 482, 514, 4908, 12, 780, 619, 13, 288, 327, 446, 31, 289, 9506, 202, 22938, 6862, 9506, 202, 430, 12, 6176, 18, 3190, 1435, 422, 2741, 6353, 18, 3141, 262, 288, 6862, 202, 2 ]
LoadQuartzServlet.PARAMETER_DOCUMENT_URL,
ServletJob.PARAMETER_DOCUMENT_URL,
public Map createParameters() throws ProcessingException { Map map = new HashMap(); try { TaskWrapper wrapper = new CocoonTaskWrapper(objectModel, parameters); logger.debug("Adding task wrapper parameters"); Parameters wrapperParameters = wrapper.getParameters(); Properties wrapperMap = Parameters.toProperties(wrapperParameters); map.putAll(wrapperMap); NamespaceMap schedulerParameters = new NamespaceMap(LoadQuartzServlet.PREFIX); PageEnvelope envelope = PageEnvelopeFactory.getInstance().getPageEnvelope(objectModel); schedulerParameters.put( LoadQuartzServlet.PARAMETER_DOCUMENT_URL, envelope.getDocument().getCompleteURL()); schedulerParameters.put( LoadQuartzServlet.PARAMETER_PUBLICATION_ID, envelope.getPublication().getId()); map.putAll(schedulerParameters.getPrefixedMap()); } catch (Exception e) { throw new ProcessingException(e); } return map; }
45951 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45951/c8330432e8015005cafb9bea3a94c3cf0e6080d9/SchedulerHelper.java/buggy/src/java/org/apache/lenya/cms/cocoon/scheduler/SchedulerHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1635, 752, 2402, 1435, 1216, 19652, 503, 288, 3639, 1635, 852, 273, 394, 4317, 5621, 3639, 775, 288, 5411, 3837, 3611, 4053, 273, 394, 385, 29571, 265, 2174, 3611, 12, 1612, 1488, 16, 1472, 1769, 5411, 1194, 18, 4148, 2932, 13962, 1562, 4053, 1472, 8863, 5411, 7012, 4053, 2402, 273, 4053, 18, 588, 2402, 5621, 5411, 6183, 4053, 863, 273, 7012, 18, 869, 2297, 12, 8376, 2402, 1769, 5411, 852, 18, 458, 1595, 12, 8376, 863, 1769, 5411, 6005, 863, 8129, 2402, 273, 394, 6005, 863, 12, 2563, 12099, 94, 4745, 18, 6307, 1769, 5411, 3460, 10862, 9045, 273, 3460, 10862, 1733, 18, 588, 1442, 7675, 588, 1964, 10862, 12, 1612, 1488, 1769, 5411, 8129, 2402, 18, 458, 12, 7734, 7971, 2278, 18, 9819, 67, 18450, 67, 1785, 16, 7734, 9045, 18, 588, 2519, 7675, 588, 6322, 1785, 10663, 5411, 8129, 2402, 18, 458, 12, 7734, 4444, 12099, 94, 4745, 18, 9819, 67, 14939, 2689, 67, 734, 16, 7734, 9045, 18, 588, 4782, 367, 7675, 26321, 10663, 5411, 852, 18, 458, 1595, 12, 19972, 2402, 18, 588, 2244, 329, 863, 10663, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 604, 394, 19652, 503, 12, 73, 1769, 3639, 289, 3639, 327, 852, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1635, 752, 2402, 1435, 1216, 19652, 503, 288, 3639, 1635, 852, 273, 394, 4317, 5621, 3639, 775, 288, 5411, 3837, 3611, 4053, 273, 394, 385, 29571, 265, 2174, 3611, 12, 1612, 1488, 16, 1472, 1769, 5411, 1194, 18, 4148, 2932, 13962, 1562, 4053, 1472, 8863, 5411, 7012, 4053, 2402, 273, 4053, 18, 588, 2402, 5621, 5411, 6183, 4053, 863, 273, 7012, 18, 869, 2297, 12, 8376, 2402, 1769, 5411, 852, 18, 458, 1595, 12, 8376, 863, 1769, 5411, 6005, 863, 8129, 2402, 273, 394, 6005, 863, 12, 2563, 12099, 94, 4745, 18, 6307, 1769, 5411, 3460, 10862, 9045, 273, 3460, 10862, 1733, 18, 588, 1442, 7675, 588, 1964, 10862, 12, 1612, 1488, 1769, 5411, 8129, 2402, 18, 2 ]
if ((bufpos + 1) >= len) System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); else { System.arraycopy(buffer, bufsize - (len - bufpos - 1), ret, 0, len - bufpos - 1); System.arraycopy(buffer, 0, ret, len - bufpos - 1, bufpos + 1); }
if ((bufpos + 1) >= len) System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); else { System.arraycopy(buffer, bufsize - (len - bufpos - 1), ret, 0, len - bufpos - 1); System.arraycopy(buffer, 0, ret, len - bufpos - 1, bufpos + 1); }
static public char[] GetSuffix(int len) { char[] ret = new char[len]; if ((bufpos + 1) >= len) System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); else { System.arraycopy(buffer, bufsize - (len - bufpos - 1), ret, 0, len - bufpos - 1); System.arraycopy(buffer, 0, ret, len - bufpos - 1, bufpos + 1); } return ret; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/23e69d576250f417c265d779703b8da08a67aaed/SimpleCharStream.java/clean/pmd/src/net/sourceforge/pmd/cpd/cppast/SimpleCharStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1071, 1149, 8526, 968, 5791, 12, 474, 562, 13, 288, 3639, 1149, 8526, 325, 273, 394, 1149, 63, 1897, 15533, 3639, 309, 14015, 4385, 917, 397, 404, 13, 1545, 562, 13, 5411, 2332, 18, 1126, 3530, 12, 4106, 16, 1681, 917, 300, 562, 397, 404, 16, 325, 16, 374, 16, 562, 1769, 3639, 469, 288, 5411, 2332, 18, 1126, 3530, 12, 4106, 16, 1681, 1467, 300, 261, 1897, 300, 1681, 917, 300, 404, 3631, 325, 16, 374, 16, 10792, 562, 300, 1681, 917, 300, 404, 1769, 5411, 2332, 18, 1126, 3530, 12, 4106, 16, 374, 16, 325, 16, 562, 300, 1681, 917, 300, 404, 16, 1681, 917, 397, 404, 1769, 3639, 289, 3639, 327, 325, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1071, 1149, 8526, 968, 5791, 12, 474, 562, 13, 288, 3639, 1149, 8526, 325, 273, 394, 1149, 63, 1897, 15533, 3639, 309, 14015, 4385, 917, 397, 404, 13, 1545, 562, 13, 5411, 2332, 18, 1126, 3530, 12, 4106, 16, 1681, 917, 300, 562, 397, 404, 16, 325, 16, 374, 16, 562, 1769, 3639, 469, 288, 5411, 2332, 18, 1126, 3530, 12, 4106, 16, 1681, 1467, 300, 261, 1897, 300, 1681, 917, 300, 404, 3631, 325, 16, 374, 16, 10792, 562, 300, 1681, 917, 300, 404, 1769, 5411, 2332, 18, 1126, 3530, 12, 4106, 16, 374, 16, 325, 16, 562, 300, 1681, 917, 300, 404, 16, 1681, 917, 397, 404, 1769, 3639, 289, 3639, 327, 325, 31, 565, 2 ]
}
}
private void findBinomialLimits() { /** * will kick out 66 as the limit for long */ boolean foundLimit = false; int test = 10; while (!foundLimit) { try { double x = MathUtils.binomialCoefficient(test, test / 2); } catch (ArithmeticException ex) { foundLimit = true; System.out.println ("largest n for binomialCoefficient = " + (test - 1) ); } test++; } /** * will kick out 1029 as the limit for double */ foundLimit = false; test = 10; while (!foundLimit) { double x = MathUtils.binomialCoefficientDouble(test, test / 2); if (Double.isInfinite(x)) { foundLimit = true; System.out.println ("largest n for binomialCoefficientD = " + (test - 1) ); } test++; } }
9305 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9305/aa3e2e9ef49349a9ea3c6af37874345f35b52192/MathUtilsTest.java/buggy/src/test/org/apache/commons/math/MathUtilsTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1104, 9913, 11496, 12768, 1435, 288, 3639, 1783, 540, 380, 903, 23228, 596, 22342, 487, 326, 1800, 364, 1525, 540, 1195, 3639, 1250, 1392, 3039, 273, 629, 31, 3639, 509, 1842, 273, 1728, 31, 3639, 1323, 16051, 7015, 3039, 13, 288, 5411, 775, 288, 7734, 1645, 619, 273, 2361, 1989, 18, 4757, 11496, 4249, 25403, 12, 3813, 16, 1842, 342, 576, 1769, 5411, 289, 1044, 261, 686, 16368, 503, 431, 13, 288, 7734, 1392, 3039, 273, 638, 31, 7734, 2332, 18, 659, 18, 8222, 10792, 7566, 80, 11475, 290, 364, 4158, 11496, 4249, 25403, 273, 315, 397, 261, 3813, 300, 404, 13, 11272, 5411, 289, 5411, 1842, 9904, 31, 3639, 289, 10792, 1783, 3639, 380, 903, 23228, 596, 1728, 5540, 487, 326, 1800, 364, 1645, 3639, 1195, 3639, 1392, 3039, 273, 629, 31, 3639, 1842, 273, 1728, 31, 3639, 1323, 16051, 7015, 3039, 13, 288, 5411, 1645, 619, 273, 2361, 1989, 18, 4757, 11496, 4249, 25403, 5265, 12, 3813, 16, 1842, 342, 576, 1769, 5411, 309, 261, 5265, 18, 291, 382, 9551, 12, 92, 3719, 288, 7734, 1392, 3039, 273, 638, 31, 7734, 2332, 18, 659, 18, 8222, 10792, 7566, 80, 11475, 290, 364, 4158, 11496, 4249, 25403, 40, 273, 315, 397, 261, 3813, 300, 404, 13, 11272, 5411, 289, 5411, 1842, 9904, 31, 3639, 289, 377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1104, 9913, 11496, 12768, 1435, 288, 3639, 1783, 540, 380, 903, 23228, 596, 22342, 487, 326, 1800, 364, 1525, 540, 1195, 3639, 1250, 1392, 3039, 273, 629, 31, 3639, 509, 1842, 273, 1728, 31, 3639, 1323, 16051, 7015, 3039, 13, 288, 5411, 775, 288, 7734, 1645, 619, 273, 2361, 1989, 18, 4757, 11496, 4249, 25403, 12, 3813, 16, 1842, 342, 576, 1769, 5411, 289, 1044, 261, 686, 16368, 503, 431, 13, 288, 7734, 1392, 3039, 273, 638, 31, 7734, 2332, 18, 659, 18, 8222, 10792, 7566, 80, 11475, 290, 364, 4158, 11496, 4249, 25403, 273, 315, 397, 261, 3813, 300, 404, 13, 11272, 5411, 289, 5411, 1842, 9904, 31, 3639, 289, 10792, 1783, 3639, 380, 903, 2 ]
getPageDescriptor().buildInitialLayout( this );
getPageDescriptor().buildInitialLayout(this);
protected JComponent createControl() { control = new ScrollingDesktopPane(); scrollPane = new JScrollPane( control ); getPageDescriptor().buildInitialLayout( this ); return scrollPane; }
55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/e9c7e850255019684a2c419797cf55240fc4a209/DesktopApplicationPage.java/buggy/sandbox/src/main/java/org/springframework/richclient/application/mdi/DesktopApplicationPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 29058, 752, 3367, 1435, 288, 3639, 3325, 273, 394, 2850, 15742, 27583, 8485, 5621, 3639, 5532, 8485, 273, 394, 804, 26360, 12, 3325, 11272, 3639, 8957, 3187, 7675, 3510, 4435, 3744, 12, 2211, 1769, 3639, 327, 5532, 8485, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 29058, 752, 3367, 1435, 288, 3639, 3325, 273, 394, 2850, 15742, 27583, 8485, 5621, 3639, 5532, 8485, 273, 394, 804, 26360, 12, 3325, 11272, 3639, 8957, 3187, 7675, 3510, 4435, 3744, 12, 2211, 1769, 3639, 327, 5532, 8485, 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 ]
addMeasureButton.setIcon(new ImageIcon(resources.getString("addMeasure")));
addMeasureButton.setIcon(new ImageIcon(myClassLoader.getResource(resources.getString("addMeasure"))));
private void initComponents() { jSplitPane1 = new JSplitPane(); jPanel1 = new JPanel(); jScrollPane2 = new JScrollPane(); propertyTable = new JTable(); targetLabel = new javax.swing.JLabel(); jPanel2 = new JPanel(); jScrollPane1 = new JScrollPane(); tree = new JTree(); jToolBar1 = new JToolBar(); addCubeButton = new JButton(); addDimensionButton = new JButton(); addMeasureButton = new JButton(); addLevelButton = new JButton(); addPropertyButton = new JButton(); cutButton = new JButton(); copyButton = new JButton(); pasteButton = new JButton(); setLayout(new BorderLayout()); jSplitPane1.setDividerLocation(200); jPanel1.setLayout(new BorderLayout()); propertyTable.setModel(new DefaultTableModel(new Object[][] { }, new String[] { "Property", "Value" }) { Class[] types = new Class[] { java.lang.String.class, java.lang.Object.class }; boolean[] canEdit = new boolean[] { false, true }; public Class getColumnClass(int columnIndex) { return types[columnIndex]; } public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit[columnIndex]; } }); jScrollPane2.setViewportView(propertyTable); jPanel1.add(jScrollPane2, java.awt.BorderLayout.CENTER); targetLabel.setFont(new Font("Dialog", 1, 14)); targetLabel.setForeground((Color) UIManager.getDefaults().get("CheckBoxMenuItem.acceleratorForeground")); targetLabel.setHorizontalAlignment(SwingConstants.CENTER); targetLabel.setText("Schema"); targetLabel.setBorder(new EtchedBorder()); jPanel1.add(targetLabel, java.awt.BorderLayout.NORTH); jSplitPane1.setRightComponent(jPanel1); jPanel2.setLayout(new java.awt.BorderLayout()); jScrollPane1.setViewportView(tree); jPanel2.add(jScrollPane1, java.awt.BorderLayout.CENTER); jSplitPane1.setLeftComponent(jPanel2); //======================================================== // actions //======================================================== addCube = new AbstractAction("Add cube") { public void actionPerformed(ActionEvent e) { addCube(e); } }; addDimension = new AbstractAction("Add Dimension") { public void actionPerformed(ActionEvent e) { addDimension(e); } }; addMeasure = new AbstractAction("Add Measure") { public void actionPerformed(ActionEvent e) { addMeasure(e); } }; addLevel = new AbstractAction("Add Level") { public void actionPerformed(ActionEvent e) { addLevel(e); } }; addProperty = new AbstractAction("Add Property") { public void actionPerformed(ActionEvent e) { addProperty(e); } }; ResourceBundle resources = ResourceBundle.getBundle("mondrian.gui.resources.gui"); //======================================================== // toolbar buttons //======================================================== addCubeButton.setIcon(new ImageIcon(resources.getString("addCube"))); addCubeButton.setToolTipText("Add Cube"); addCubeButton.addActionListener(addCube); addDimensionButton.setIcon(new ImageIcon(resources.getString("addDimension"))); addDimensionButton.setToolTipText("Add Dimension"); addDimensionButton.addActionListener(addDimension); addMeasureButton.setIcon(new ImageIcon(resources.getString("addMeasure"))); addMeasureButton.setToolTipText("Add Measure"); addMeasureButton.addActionListener(addMeasure); addLevelButton.setIcon(new ImageIcon(resources.getString("addLevel"))); addLevelButton.setToolTipText("Add Level"); addLevelButton.addActionListener(addLevel); addPropertyButton.setIcon(new ImageIcon(resources.getString("addProperty"))); addPropertyButton.setToolTipText("Add Property"); addPropertyButton.addActionListener(addProperty); cutButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/toolbarButtonGraphics/general/Cut24.gif"))); cutButton.setToolTipText("Cut"); copyButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/toolbarButtonGraphics/general/Copy24.gif"))); copyButton.setToolTipText("Copy"); pasteButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/toolbarButtonGraphics/general/Paste24.gif"))); pasteButton.setToolTipText("Paste"); jToolBar1.add(addCubeButton); jToolBar1.add(addDimensionButton); jToolBar1.add(addMeasureButton); jToolBar1.add(addLevelButton); jToolBar1.add(addPropertyButton); jToolBar1.add(cutButton); jToolBar1.add(copyButton); jToolBar1.add(pasteButton); //======================================================== // popup menu //======================================================== jPopupMenu = new JPopupMenu(); //======================================================== // tree mouse listener //======================================================== tree.addMouseListener(new PopupTrigger()); //======================================================== // jpanel //======================================================== this.add(jSplitPane1, java.awt.BorderLayout.CENTER); this.add(jToolBar1, java.awt.BorderLayout.NORTH); updater = new JTreeUpdater(tree); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/d4a93c3315c8aa9b9d64e1c03577610a1dbca61d/SchemaExplorer.java/clean/src/main/mondrian/gui/SchemaExplorer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1208, 7171, 1435, 288, 202, 202, 78, 5521, 8485, 21, 273, 394, 804, 5521, 8485, 5621, 202, 202, 78, 5537, 21, 273, 394, 24048, 5621, 202, 202, 78, 26360, 22, 273, 394, 804, 26360, 5621, 202, 202, 4468, 1388, 273, 394, 804, 1388, 5621, 202, 202, 3299, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 202, 202, 78, 5537, 22, 273, 394, 24048, 5621, 202, 202, 78, 26360, 21, 273, 394, 804, 26360, 5621, 202, 202, 3413, 273, 394, 804, 2471, 5621, 202, 202, 78, 6364, 5190, 21, 273, 394, 804, 6364, 5190, 5621, 202, 202, 1289, 39, 4895, 3616, 273, 394, 28804, 5621, 202, 202, 1289, 8611, 3616, 273, 394, 28804, 5621, 202, 202, 1289, 7197, 3616, 273, 394, 28804, 5621, 202, 202, 1289, 2355, 3616, 273, 394, 28804, 5621, 202, 202, 1289, 1396, 3616, 273, 394, 28804, 5621, 202, 202, 5150, 3616, 273, 394, 28804, 5621, 202, 202, 3530, 3616, 273, 394, 28804, 5621, 202, 202, 29795, 3616, 273, 394, 28804, 5621, 202, 202, 542, 3744, 12, 2704, 30814, 10663, 202, 202, 78, 5521, 8485, 21, 18, 542, 25558, 2735, 12, 6976, 1769, 202, 202, 78, 5537, 21, 18, 542, 3744, 12, 2704, 30814, 10663, 202, 202, 4468, 1388, 18, 542, 1488, 12, 2704, 2989, 1388, 1488, 12, 2704, 1033, 63, 6362, 65, 288, 202, 202, 5779, 394, 514, 8526, 288, 315, 1396, 3113, 315, 620, 6, 289, 13, 288, 1082, 202, 797, 8526, 1953, 273, 9506, 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, 918, 1208, 7171, 1435, 288, 202, 202, 78, 5521, 8485, 21, 273, 394, 804, 5521, 8485, 5621, 202, 202, 78, 5537, 21, 273, 394, 24048, 5621, 202, 202, 78, 26360, 22, 273, 394, 804, 26360, 5621, 202, 202, 4468, 1388, 273, 394, 804, 1388, 5621, 202, 202, 3299, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 202, 202, 78, 5537, 22, 273, 394, 24048, 5621, 202, 202, 78, 26360, 21, 273, 394, 804, 26360, 5621, 202, 202, 3413, 273, 394, 804, 2471, 5621, 202, 202, 78, 6364, 5190, 21, 273, 394, 804, 6364, 5190, 5621, 202, 202, 1289, 39, 4895, 3616, 273, 394, 28804, 5621, 202, 202, 1289, 8611, 3616, 273, 394, 28804, 2 ]
} else if ((tokenVal.equals("a") || tokenVal.equals("A")) && ((tokenItem.getNext() == null) || !(tokenVal.equals(itemName)) || !(((String) tokenItem.findFeature("punc")).equals("")))) { /* if A is a sub part of a token, then its ey not ah */ wordRelation.addWord("_a");
if (tokenFeatures.isPresent("phones")) { wordRelation.addWord(tokenItem, tokenVal);
private void tokenToWords(String tokenVal) { FeatureSet tokenFeatures = tokenItem.getFeatures(); String itemName = tokenFeatures.getString("name"); int tokenLength = tokenVal.length(); if (tokenFeatures.isPresent("phones")) { wordRelation.addWord(tokenVal); } else if ((tokenVal.equals("a") || tokenVal.equals("A")) && ((tokenItem.getNext() == null) || !(tokenVal.equals(itemName)) || !(((String) tokenItem.findFeature("punc")).equals("")))) { /* if A is a sub part of a token, then its ey not ah */ wordRelation.addWord("_a"); } else if (matches(alphabetPattern, tokenVal)) { if (matches(romanNumbersPattern, tokenVal)) { /* XVIII */ romanToWords(tokenVal); } else if (matches(illionPattern, tokenVal) && matches(usMoneyPattern, (String) tokenItem.findFeature("p.name"))) { /* $ X -illion */ wordRelation.addWord(tokenVal); wordRelation.addWord("dollars"); } else if (matches(drStPattern, tokenVal)) { /* St Andrew's St, Dr King Dr */ drStToWords(tokenVal); } else if (tokenVal.equals("Mr")) { tokenItem.getFeatures().setString("punc", ""); wordRelation.addWord("mister"); } else if (tokenVal.equals("Mrs")) { tokenItem.getFeatures().setString("punc", ""); wordRelation.addWord("missus"); } else if (tokenLength == 1 && isUppercaseLetter(tokenVal.charAt(0)) && ((String)tokenItem.findFeature("n.whitespace")).equals(" ") && isUppercaseLetter (((String) tokenItem.findFeature("n.name")).charAt(0))) { tokenFeatures.setString("punc", ""); String aaa = tokenVal.toLowerCase(); if (aaa.equals("a")) { wordRelation.addWord("_a"); } else { wordRelation.addWord(aaa); } } else if (isStateName(tokenVal)) { /* The name of a US state isStateName() has already added the full name of the state, so we're all set. */ } else if (tokenLength > 1 && !isPronounceable(tokenVal)) { /* Need common exception list */ /* unpronouncable list of alphas */ NumberExpander.expandLetters (tokenVal, wordRelation); } else { /* just a word */ wordRelation.addWord(tokenVal.toLowerCase()); } } else if (matches(dottedAbbrevPattern, tokenVal)) { /* U.S.A. */ // remove all dots String aaa = Utilities.deleteChar(tokenVal, '.'); NumberExpander.expandLetters(aaa, wordRelation); } else if (matches(commaIntPattern, tokenVal)) { /* 99,999,999 */ String aaa = Utilities.deleteChar(tokenVal, ','); NumberExpander.expandReal(aaa, wordRelation); } else if (matches(sevenPhoneNumberPattern, tokenVal)) { /* 234-3434 telephone numbers */ int dashIndex = tokenVal.indexOf('-'); String aaa = tokenVal.substring(0, dashIndex); String bbb = tokenVal.substring(dashIndex+1); NumberExpander.expandDigits(aaa, wordRelation); wordRelation.addBreak(); NumberExpander.expandDigits(bbb, wordRelation); } else if (matchesPartPhoneNumber(tokenVal)) { /* part of a telephone number */ String punctuation = (String) tokenItem.findFeature("punc"); if (punctuation.equals("")) { tokenItem.getFeatures().setString("punc", ","); } NumberExpander.expandDigits(tokenVal, wordRelation); wordRelation.addBreak(); } else if (matches(numberTimePattern, tokenVal)) { /* 12:35 */ int colonIndex = tokenVal.indexOf(':'); String aaa = tokenVal.substring(0, colonIndex); String bbb = tokenVal.substring(colonIndex+1); NumberExpander.expandNumber(aaa, wordRelation); if (!(bbb.equals("00"))) { NumberExpander.expandID(bbb, wordRelation); } } else if (matches(digits2DashPattern, tokenVal)) { /* 999-999-999 */ digitsDashToWords(tokenVal); } else if (matches(digitsPattern, tokenVal)) { digitsToWords(tokenVal); } else if (tokenLength == 1 && isUppercaseLetter(tokenVal.charAt(0)) && ((String)tokenItem.findFeature("n.whitespace")).equals (" ") && isUppercaseLetter (((String) tokenItem.findFeature("n.name")).charAt(0))) { tokenFeatures.setString("punc", ""); String aaa = tokenVal.toLowerCase(); if (aaa.equals("a")) { wordRelation.addWord("_a"); } else { wordRelation.addWord(aaa); } } else if (matches(doublePattern, tokenVal)) { NumberExpander.expandReal(tokenVal, wordRelation); } else if (matches(ordinalPattern, tokenVal)) { /* explicit ordinals */ String aaa = tokenVal.substring(0, tokenLength - 2); NumberExpander.expandOrdinal(aaa, wordRelation); } else if (matches(usMoneyPattern, tokenVal)) { /* US money */ usMoneyToWords(tokenVal); } else if (tokenLength > 0 && tokenVal.charAt(tokenLength - 1) == '%') { /* Y% */ tokenToWords(tokenVal.substring(0, tokenLength - 1)); wordRelation.addWord("per"); wordRelation.addWord("cent"); } else if (matches(numessPattern, tokenVal)) { /* 60s and 7s and 9s */ tokenToWords(tokenVal.substring(0, tokenLength - 1)); wordRelation.addWord("'s"); } else if (tokenVal.indexOf('\'') != -1) { postropheToWords(tokenVal); } else if (matches(digitsSlashDigitsPattern, tokenVal) && tokenVal.equals(itemName)) { digitsSlashDigitsToWords(tokenVal); } else if (tokenVal.indexOf('-') != -1) { dashToWords(tokenVal); } else if (tokenLength > 1 && !matches(alphabetPattern, tokenVal)) { notJustAlphasToWords(tokenVal); } else { /* just a word */ wordRelation.addWord(tokenVal.toLowerCase()); } }
18648 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/18648/6a55df45b5e749262e5610405145a505d38c6c9e/TokenToWords.java/buggy/java/de/dfki/lt/mary/modules/en/TokenToWords.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1147, 774, 7363, 12, 780, 1147, 3053, 13, 288, 3639, 202, 4595, 694, 1147, 8696, 273, 1147, 1180, 18, 588, 8696, 5621, 202, 780, 23488, 273, 1147, 8696, 18, 588, 780, 2932, 529, 8863, 202, 474, 1147, 1782, 273, 1147, 3053, 18, 2469, 5621, 202, 430, 261, 2316, 8696, 18, 291, 6351, 2932, 844, 5322, 6, 3719, 288, 202, 565, 2076, 3963, 18, 1289, 3944, 12, 2316, 3053, 1769, 202, 97, 469, 309, 14015, 2316, 3053, 18, 14963, 2932, 69, 7923, 747, 1147, 3053, 18, 14963, 2932, 37, 6, 3719, 597, 7734, 14015, 2316, 1180, 18, 588, 2134, 1435, 422, 446, 13, 747, 1171, 401, 12, 2316, 3053, 18, 14963, 12, 1726, 461, 3719, 747, 1171, 401, 12443, 12, 780, 13, 1147, 1180, 18, 4720, 4595, 2932, 84, 551, 7923, 2934, 14963, 2932, 6, 3719, 3719, 288, 202, 565, 1748, 309, 432, 353, 279, 720, 1087, 434, 279, 1147, 16, 1508, 2097, 12739, 486, 279, 76, 1195, 202, 565, 2076, 3963, 18, 1289, 3944, 2932, 67, 69, 8863, 202, 97, 469, 309, 261, 8436, 12, 287, 8907, 3234, 16, 1147, 3053, 3719, 288, 202, 565, 202, 565, 309, 261, 8436, 12, 520, 304, 10072, 3234, 16, 1147, 3053, 3719, 288, 9506, 202, 20308, 1139, 4136, 6954, 1195, 202, 202, 520, 304, 774, 7363, 12, 2316, 3053, 1769, 9506, 565, 289, 469, 309, 261, 8436, 12, 737, 285, 3234, 16, 1147, 3053, 13, 597, 1082, 4202, 1885, 12, 407, 23091, 3234, 16, 4697, 4202, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1147, 774, 7363, 12, 780, 1147, 3053, 13, 288, 3639, 202, 4595, 694, 1147, 8696, 273, 1147, 1180, 18, 588, 8696, 5621, 202, 780, 23488, 273, 1147, 8696, 18, 588, 780, 2932, 529, 8863, 202, 474, 1147, 1782, 273, 1147, 3053, 18, 2469, 5621, 202, 430, 261, 2316, 8696, 18, 291, 6351, 2932, 844, 5322, 6, 3719, 288, 202, 565, 2076, 3963, 18, 1289, 3944, 12, 2316, 3053, 1769, 202, 97, 469, 309, 14015, 2316, 3053, 18, 14963, 2932, 69, 7923, 747, 1147, 3053, 18, 14963, 2932, 37, 6, 3719, 597, 7734, 14015, 2316, 1180, 18, 588, 2134, 1435, 422, 446, 13, 747, 1171, 401, 12, 2316, 3053, 18, 14963, 12, 1726, 461, 3719, 747, 1171, 2 ]
int i, n = Integer.parseInt(args[0]);
public static void main(String args[]) { //@START int i, n = Integer.parseInt(args[0]); int x[] = new int[n]; int y[] = new int[n]; for (i = 0; i < n;) { x[i] = i; ++i; x[i] = i; ++i; x[i] = i; ++i; x[i] = i; ++i; x[i] = i; ++i; x[i] = i; ++i; x[i] = i; ++i; x[i] = i; ++i; x[i] = i; ++i; x[i] = i; ++i; } for (i = n-1; i >= 0;) { y[i] = x[i]; --i; y[i] = x[i]; --i; y[i] = x[i]; --i; y[i] = x[i]; --i; y[i] = x[i]; --i; y[i] = x[i]; --i; y[i] = x[i]; --i; y[i] = x[i]; --i; y[i] = x[i]; --i; y[i] = x[i]; --i; } System.out.println(y[n-1]); //@END }
48167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48167/e5bbfb923dd26b1f0852e4d364e54bb8fca49315/ary2.java/clean/tests/shootout/java-start/ary2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 202, 759, 36, 7570, 202, 474, 277, 16, 290, 273, 2144, 18, 2670, 1702, 12, 1968, 63, 20, 19226, 202, 474, 619, 8526, 273, 394, 509, 63, 82, 15533, 202, 474, 677, 8526, 273, 394, 509, 63, 82, 15533, 202, 1884, 261, 77, 273, 374, 31, 277, 411, 290, 30943, 288, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 97, 202, 1884, 261, 77, 273, 290, 17, 21, 31, 277, 1545, 374, 30943, 288, 202, 565, 677, 63, 77, 65, 273, 619, 63, 77, 15533, 1493, 77, 31, 202, 565, 677, 63, 77, 65, 273, 619, 63, 77, 15533, 1493, 77, 31, 202, 565, 677, 63, 77, 65, 273, 619, 63, 77, 15533, 1493, 77, 31, 202, 565, 677, 63, 77, 65, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 202, 759, 36, 7570, 202, 474, 277, 16, 290, 273, 2144, 18, 2670, 1702, 12, 1968, 63, 20, 19226, 202, 474, 619, 8526, 273, 394, 509, 63, 82, 15533, 202, 474, 677, 8526, 273, 394, 509, 63, 82, 15533, 202, 1884, 261, 77, 273, 374, 31, 277, 411, 290, 30943, 288, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 565, 619, 63, 77, 65, 273, 277, 31, 965, 77, 31, 202, 565, 619, 63, 77, 65, 273, 277, 31, 2 ]
alwaysAddresses.add(always);
alwaysList.add(always); alwaysAddresses = (Always[]) alwaysList.toArray(new Always[0]);
public Object createAlways() { Always always = new Always(); alwaysAddresses.add(always); return always; }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/29ae39b9ec7a4c1db60c2956b2ad8d1ba3677ae7/EmailPublisher.java/buggy/main/src/net/sourceforge/cruisecontrol/publishers/EmailPublisher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 752, 18806, 1435, 288, 3639, 14178, 3712, 273, 394, 14178, 5621, 3639, 3712, 682, 18, 1289, 12, 17737, 1769, 225, 3712, 7148, 273, 261, 18806, 63, 5717, 3712, 682, 18, 31447, 12, 2704, 14178, 63, 20, 19226, 540, 327, 3712, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 752, 18806, 1435, 288, 3639, 14178, 3712, 273, 394, 14178, 5621, 3639, 3712, 682, 18, 1289, 12, 17737, 1769, 225, 3712, 7148, 273, 261, 18806, 63, 5717, 3712, 682, 18, 31447, 12, 2704, 14178, 63, 20, 19226, 540, 327, 3712, 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 ]
/* Too much data to dump - truncate at 4M. */ dump = new char[4 * 1024 * 1024];
/* Too much data to dump - truncate. */ dump = new char[MAX_DUMP];
String dataHexDump(String lineDelimiter) { if (image == null) return ""; boolean truncated = false; char[] dump = null; try { dump = new char[imageData.height * (6 + 3 * imageData.bytesPerLine + lineDelimiter.length())]; } catch (OutOfMemoryError e) { /* Too much data to dump - truncate at 4M. */ dump = new char[4 * 1024 * 1024]; truncated = true; } int index = 0; try { for (int i = 0; i < imageData.data.length; i++) { if (i % imageData.bytesPerLine == 0) { int line = i / imageData.bytesPerLine; dump[index++] = Character.forDigit(line / 1000 % 10, 10); dump[index++] = Character.forDigit(line / 100 % 10, 10); dump[index++] = Character.forDigit(line / 10 % 10, 10); dump[index++] = Character.forDigit(line % 10, 10); dump[index++] = ':'; dump[index++] = ' '; } byte b = imageData.data[i]; dump[index++] = Character.forDigit((b & 0xF0) >> 4, 16); dump[index++] = Character.forDigit(b & 0x0F, 16); dump[index++] = ' '; if ((i + 1) % imageData.bytesPerLine == 0) { dump[index++] = lineDelimiter.charAt(0); if (lineDelimiter.length() > 1) dump[index++] = lineDelimiter.charAt(1); } } } catch (IndexOutOfBoundsException e) {} String result = ""; try { result = new String(dump); } catch (OutOfMemoryError e) { /* Too much data to display in the text widget - truncate at 4M. */ result = new String(dump, 0, 4 * 1024 * 1024); truncated = true; } if (truncated) result += "\n ...data dump truncated at 4M..."; return result; }
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/8ee6a2737471949aa2c79eae075d6eeff898cb7a/ImageAnalyzer.java/buggy/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/imageanalyzer/ImageAnalyzer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 780, 501, 7037, 10628, 12, 780, 980, 12007, 13, 288, 202, 202, 430, 261, 2730, 422, 446, 13, 327, 1408, 31, 202, 202, 6494, 15282, 273, 629, 31, 202, 202, 3001, 8526, 4657, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 8481, 273, 394, 1149, 63, 2730, 751, 18, 4210, 380, 261, 26, 397, 890, 380, 26229, 18, 3890, 2173, 1670, 397, 980, 12007, 18, 2469, 10756, 15533, 202, 202, 97, 1044, 261, 11224, 6031, 668, 425, 13, 288, 1082, 202, 20308, 15869, 9816, 501, 358, 4657, 300, 10310, 622, 1059, 49, 18, 1195, 1082, 202, 8481, 273, 394, 1149, 63, 24, 380, 6250, 380, 6250, 15533, 1082, 202, 23558, 690, 273, 638, 31, 202, 202, 97, 202, 202, 474, 770, 273, 374, 31, 202, 202, 698, 288, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 26229, 18, 892, 18, 2469, 31, 277, 27245, 288, 9506, 202, 430, 261, 77, 738, 26229, 18, 3890, 2173, 1670, 422, 374, 13, 288, 6862, 202, 474, 980, 273, 277, 342, 26229, 18, 3890, 2173, 1670, 31, 6862, 202, 8481, 63, 1615, 9904, 65, 273, 6577, 18, 1884, 10907, 12, 1369, 342, 4336, 738, 1728, 16, 1728, 1769, 6862, 202, 8481, 63, 1615, 9904, 65, 273, 6577, 18, 1884, 10907, 12, 1369, 342, 2130, 738, 1728, 16, 1728, 1769, 6862, 202, 8481, 63, 1615, 9904, 65, 273, 6577, 18, 1884, 10907, 12, 1369, 342, 1728, 738, 1728, 16, 1728, 1769, 6862, 202, 8481, 63, 1615, 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, 780, 501, 7037, 10628, 12, 780, 980, 12007, 13, 288, 202, 202, 430, 261, 2730, 422, 446, 13, 327, 1408, 31, 202, 202, 6494, 15282, 273, 629, 31, 202, 202, 3001, 8526, 4657, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 8481, 273, 394, 1149, 63, 2730, 751, 18, 4210, 380, 261, 26, 397, 890, 380, 26229, 18, 3890, 2173, 1670, 397, 980, 12007, 18, 2469, 10756, 15533, 202, 202, 97, 1044, 261, 11224, 6031, 668, 425, 13, 288, 1082, 202, 20308, 15869, 9816, 501, 358, 4657, 300, 10310, 622, 1059, 49, 18, 1195, 1082, 202, 8481, 273, 394, 1149, 63, 24, 380, 6250, 380, 6250, 15533, 1082, 202, 23558, 690, 273, 638, 31, 202, 202, 2 ]
protected Type parseMetaMethod() { locals = new Scope(); try { nextToken(); Symbol[] smbls = null; //System.out.println("parse meta method " + token); if ("[".equals(token)) { Vector syms = new Vector(); do { nextToken(); if ("]".equals(token)) break; assert token.startsWith("?"); Symbol s = getTVar(token, owner); if (s == Symbol.NONE) return defaultType; nextToken(); //System.out.println("new var " + s + ", " + token); if (token.equals("<")) { nextToken(); s.setInfo(parseType(), parser.phaseId); } syms.add(s); } while (token.equals(",")); assert "]".equals(token); nextToken(); smbls = (Symbol[])syms.toArray(new Symbol[syms.size()]); } if ("(".equals(token)) { int i = 0; Vector params = new Vector(); do { nextToken(); if (")".equals(token)) break; int flags = Modifiers.PARAM; if ("def".equals(token)) { nextToken(); flags |= Modifiers.DEF; } params.add(new TermSymbol( Position.NOPOS, Name.fromString("x" + (i++)), owner, flags).setInfo(parseType(), parser.phaseId)); //System.out.println(" + " + token); } while (token.equals(",")); assert ")".equals(token); nextToken(); //System.out.println("+++ method " + token); Type restpe = parseType(); assert ";".equals(token); if (smbls == null) return Type.MethodType( (Symbol[])params.toArray(new Symbol[params.size()]), restpe); else return Type.PolyType( smbls, Type.MethodType( (Symbol[])params.toArray(new Symbol[params.size()]), restpe)); } else { Type res = parseType(); assert ";".equals(token); if (smbls == null) return Type.PolyType(Symbol.EMPTY_ARRAY, res); else return Type.PolyType(smbls, res); } } catch (NoSuchElementException e) { return defaultType; } finally { locals = null; } }
5590 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5590/7838f436eeeece1608d0d1252d9be3652118273a/AttributeParser.java/clean/sources/scalac/symtab/classfile/AttributeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 559, 2670, 2781, 1305, 1435, 95, 17977, 33, 2704, 3876, 5621, 698, 95, 4285, 1345, 5621, 5335, 8526, 87, 1627, 3251, 33, 2011, 31, 759, 3163, 18, 659, 18, 8222, 2932, 2670, 10578, 301, 572, 6, 15, 2316, 1769, 430, 2932, 9614, 18, 14963, 12, 2316, 3719, 95, 5018, 9009, 959, 33, 2704, 5018, 5621, 2896, 95, 4285, 1345, 5621, 430, 2932, 4279, 18, 14963, 12, 2316, 3719, 8820, 31, 428, 264, 748, 969, 18, 17514, 1190, 2932, 7225, 1769, 14821, 33, 588, 56, 1537, 12, 2316, 16, 8443, 1769, 430, 12, 87, 631, 5335, 18, 9826, 13, 2463, 1886, 559, 31, 4285, 1345, 5621, 759, 3163, 18, 659, 18, 8222, 2932, 2704, 1401, 6, 15, 87, 15, 15937, 15, 2316, 1769, 430, 12, 2316, 18, 14963, 2932, 32, 6, 3719, 95, 4285, 1345, 5621, 87, 18, 542, 966, 12, 2670, 559, 9334, 4288, 18, 13961, 548, 1769, 97, 9009, 959, 18, 1289, 12, 87, 1769, 97, 17523, 12, 2316, 18, 14963, 2932, 16, 7923, 1769, 11231, 6, 4279, 18, 14963, 12, 2316, 1769, 4285, 1345, 5621, 87, 1627, 3251, 28657, 5335, 63, 5717, 9009, 959, 18, 31447, 12, 2704, 5335, 63, 9009, 959, 18, 1467, 1435, 19226, 97, 430, 2932, 2932, 18, 14963, 12, 2316, 3719, 95, 474, 77, 33, 20, 31, 5018, 2010, 33, 2704, 5018, 5621, 2896, 95, 4285, 1345, 5621, 430, 2932, 2225, 18, 14963, 12, 2316, 3719, 8820, 31, 1082, 202, 474, 7133, 33, 11948, 18, 8388, 31, 1082, 202, 430, 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, 559, 2670, 2781, 1305, 1435, 95, 17977, 33, 2704, 3876, 5621, 698, 95, 4285, 1345, 5621, 5335, 8526, 87, 1627, 3251, 33, 2011, 31, 759, 3163, 18, 659, 18, 8222, 2932, 2670, 10578, 301, 572, 6, 15, 2316, 1769, 430, 2932, 9614, 18, 14963, 12, 2316, 3719, 95, 5018, 9009, 959, 33, 2704, 5018, 5621, 2896, 95, 4285, 1345, 5621, 430, 2932, 4279, 18, 14963, 12, 2316, 3719, 8820, 31, 428, 264, 748, 969, 18, 17514, 1190, 2932, 7225, 1769, 14821, 33, 588, 56, 1537, 12, 2316, 16, 8443, 1769, 430, 12, 87, 631, 5335, 18, 9826, 13, 2463, 1886, 559, 31, 4285, 1345, 5621, 759, 3163, 18, 659, 18, 8222, 2932, 2704, 1401, 6, 15, 87, 15, 2 ]
public ActionForward showCandidacyValidateData(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws FenixServiceException, FenixFilterException{ DynaActionForm form = (DynaActionForm) actionForm; Integer candidacyNumber = (Integer) form.get("candidacyNumber"); Candidacy candidacy = Candidacy.readByCandidacyNumber(candidacyNumber); if(candidacy == null){ addActionMessage(request, "error.no.candidacy", candidacyNumber.toString()); return prepareValidateCandidacyData(mapping, actionForm, request, response); } if(!candidacy.getActiveCandidacySituation().canCandidacyDataBeValidated()){ addActionMessage(request, "error.candidacy.data.not.filled", null); return prepareValidateCandidacyData(mapping, actionForm, request, response); } request.setAttribute("candidacy", candidacy); return mapping.findForward("showCandidacyValidateData"); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/5c3dc2c3719b5088c690a493b9a51c7dbe70de86/DFACandidacyDispatchAction.java/buggy/src/net/sourceforge/fenixedu/presentationTier/Action/administrativeOffice/candidacy/DFACandidacyDispatchAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1803, 8514, 4500, 39, 3339, 3505, 4270, 751, 12, 1803, 3233, 6770, 16, 1803, 1204, 1128, 1204, 16, 2940, 18572, 2293, 16, 2940, 4745, 607, 500, 550, 281, 575, 13, 15069, 42, 275, 697, 15133, 16, 42, 275, 697, 1586, 503, 95, 10419, 69, 1803, 1204, 687, 28657, 10419, 69, 1803, 1204, 13, 1128, 1204, 31, 4522, 71, 3339, 3505, 1854, 28657, 4522, 13, 687, 18, 588, 2932, 71, 3339, 3505, 1854, 8863, 39, 3339, 3505, 71, 3339, 3505, 33, 39, 3339, 3505, 18, 896, 858, 39, 3339, 3505, 1854, 12, 71, 3339, 3505, 1854, 1769, 430, 12, 71, 3339, 3505, 631, 2011, 15329, 1289, 1803, 1079, 12, 2293, 10837, 1636, 18, 2135, 18, 71, 3339, 3505, 3113, 71, 3339, 3505, 1854, 18, 10492, 10663, 2463, 9366, 4270, 39, 3339, 3505, 751, 12, 6770, 16, 1128, 1204, 16, 2293, 16, 2740, 1769, 97, 430, 12, 5, 71, 3339, 3505, 18, 588, 3896, 39, 3339, 3505, 55, 305, 11407, 7675, 4169, 39, 3339, 3505, 751, 1919, 24258, 10756, 95, 1289, 1803, 1079, 12, 2293, 10837, 1636, 18, 71, 3339, 3505, 18, 892, 18, 902, 18, 13968, 3113, 2011, 1769, 2463, 9366, 4270, 39, 3339, 3505, 751, 12, 6770, 16, 1128, 1204, 16, 2293, 16, 2740, 1769, 97, 2293, 18, 542, 1499, 2932, 71, 3339, 3505, 3113, 71, 3339, 3505, 1769, 2463, 6770, 18, 4720, 8514, 2932, 4500, 39, 3339, 3505, 4270, 751, 8863, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1803, 8514, 4500, 39, 3339, 3505, 4270, 751, 12, 1803, 3233, 6770, 16, 1803, 1204, 1128, 1204, 16, 2940, 18572, 2293, 16, 2940, 4745, 607, 500, 550, 281, 575, 13, 15069, 42, 275, 697, 15133, 16, 42, 275, 697, 1586, 503, 95, 10419, 69, 1803, 1204, 687, 28657, 10419, 69, 1803, 1204, 13, 1128, 1204, 31, 4522, 71, 3339, 3505, 1854, 28657, 4522, 13, 687, 18, 588, 2932, 71, 3339, 3505, 1854, 8863, 39, 3339, 3505, 71, 3339, 3505, 33, 39, 3339, 3505, 18, 896, 858, 39, 3339, 3505, 1854, 12, 71, 3339, 3505, 1854, 1769, 430, 12, 71, 3339, 3505, 631, 2011, 15329, 1289, 1803, 1079, 12, 2293, 10837, 1636, 18, 2135, 18, 71, 3339, 3505, 3113, 2 ]
m_instances = new IndividualInstances(instances, m_parts);
m_instances = new IndividualInstances(new Instances(instances), m_parts);
public void buildAssociations(Instances instances) throws Exception { Frame valuesFrame = null; /* Frame to display the current values. */ /* Initialization of the search. */ if (m_parts == null) { m_instances = instances; } else { m_instances = new IndividualInstances(instances, m_parts); } m_results = new SimpleLinkedList(); m_hypotheses = 0; m_explored = 0; m_status = NORMAL; if (m_classIndex == -1) m_instances.setClassIndex(m_instances.numAttributes()-1); else if (m_classIndex < m_instances.numAttributes() && m_classIndex >= 0) m_instances.setClassIndex(m_classIndex); else throw new Exception("Invalid class index."); // can associator handle the data? getCapabilities().testWithFail(m_instances); /* Initialization of the window for current values. */ if (m_printValues == WINDOW) { m_valuesText = new TextField(37); m_valuesText.setEditable(false); m_valuesText.setFont(new Font("Monospaced", Font.PLAIN, 12)); Label valuesLabel = new Label("Best and worst current values:"); Button stop = new Button("Stop search"); stop.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { /* Signal the interruption to the search. */ m_status = STOP; } }); valuesFrame = new Frame("Tertius status"); valuesFrame.setResizable(false); valuesFrame.add(m_valuesText, BorderLayout.CENTER); valuesFrame.add(stop, BorderLayout.SOUTH); valuesFrame.add(valuesLabel, BorderLayout.NORTH); valuesFrame.pack(); valuesFrame.setVisible(true); } else if (m_printValues == OUT) { System.out.println("Best and worst current values:"); } Date start = new Date(); /* Build the predicates and launch the search. */ m_predicates = buildPredicates(); beginSearch(); Date end = new Date(); if (m_printValues == WINDOW) { valuesFrame.dispose(); } m_time = new Date(end.getTime() - start.getTime()); }
48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/54e8d7f074f0ea9739d56dd24a83cb56a71472c6/Tertius.java/buggy/weka/associations/Tertius.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1361, 15143, 12, 5361, 3884, 13, 1216, 1185, 288, 565, 8058, 924, 3219, 273, 446, 31, 1748, 8058, 358, 2562, 326, 783, 924, 18, 1195, 565, 1748, 26586, 434, 326, 1623, 18, 1195, 565, 309, 261, 81, 67, 6019, 422, 446, 13, 288, 1377, 312, 67, 10162, 273, 3884, 31, 565, 289, 469, 288, 1377, 312, 67, 10162, 273, 394, 24147, 5361, 12, 2704, 18357, 12, 10162, 3631, 312, 67, 6019, 1769, 565, 289, 3639, 312, 67, 4717, 273, 394, 4477, 13174, 682, 5621, 565, 312, 67, 76, 879, 10370, 281, 281, 273, 374, 31, 565, 312, 67, 2749, 383, 1118, 273, 374, 31, 565, 312, 67, 2327, 273, 16362, 31, 565, 309, 261, 81, 67, 1106, 1016, 422, 300, 21, 13, 1377, 312, 67, 10162, 18, 542, 797, 1016, 12, 81, 67, 10162, 18, 2107, 2498, 1435, 17, 21, 1769, 540, 469, 309, 261, 81, 67, 1106, 1016, 411, 312, 67, 10162, 18, 2107, 2498, 1435, 597, 312, 67, 1106, 1016, 1545, 374, 13, 1377, 312, 67, 10162, 18, 542, 797, 1016, 12, 81, 67, 1106, 1016, 1769, 565, 469, 1377, 604, 394, 1185, 2932, 1941, 667, 770, 1199, 1769, 3639, 368, 848, 2576, 639, 1640, 326, 501, 35, 565, 29092, 5756, 7675, 3813, 1190, 3754, 12, 81, 67, 10162, 1769, 3639, 1748, 26586, 434, 326, 2742, 364, 783, 924, 18, 1195, 565, 309, 261, 81, 67, 1188, 1972, 422, 24482, 7306, 13, 288, 1377, 312, 67, 2372, 1528, 273, 394, 26866, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1361, 15143, 12, 5361, 3884, 13, 1216, 1185, 288, 565, 8058, 924, 3219, 273, 446, 31, 1748, 8058, 358, 2562, 326, 783, 924, 18, 1195, 565, 1748, 26586, 434, 326, 1623, 18, 1195, 565, 309, 261, 81, 67, 6019, 422, 446, 13, 288, 1377, 312, 67, 10162, 273, 3884, 31, 565, 289, 469, 288, 1377, 312, 67, 10162, 273, 394, 24147, 5361, 12, 2704, 18357, 12, 10162, 3631, 312, 67, 6019, 1769, 565, 289, 3639, 312, 67, 4717, 273, 394, 4477, 13174, 682, 5621, 565, 312, 67, 76, 879, 10370, 281, 281, 273, 374, 31, 565, 312, 67, 2749, 383, 1118, 273, 374, 31, 565, 312, 67, 2327, 273, 16362, 31, 565, 309, 261, 81, 67, 2 ]
if(index > currentVisibleIndex) currentVisibleIndex = index;
virtualElements[index] = DISPLAYED_TOKEN;
public void handleEvent(Event event) { TableItem item = (TableItem) event.item; int index = table.indexOf(item); Object element = findVirtualElement(index); if(element == null) throw new NullPointerException(); associate(element,item); updateItem(item,element); if(index > currentVisibleIndex) currentVisibleIndex = index; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e209ba9846065fd325acc3d99d0fba59ebc1ca65/TableViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 1640, 1133, 12, 1133, 871, 13, 288, 6862, 202, 1388, 1180, 761, 273, 261, 1388, 1180, 13, 871, 18, 1726, 31, 6862, 202, 474, 770, 273, 1014, 18, 31806, 12, 1726, 1769, 6862, 25083, 202, 921, 930, 273, 1104, 6466, 1046, 12, 1615, 1769, 6862, 202, 430, 12, 2956, 422, 446, 13, 25083, 202, 12849, 394, 10108, 5621, 6862, 202, 11577, 12, 2956, 16, 1726, 1769, 6862, 202, 2725, 1180, 12, 1726, 16, 2956, 1769, 6862, 202, 430, 12, 1615, 405, 783, 6207, 1016, 13, 25083, 202, 2972, 6207, 1016, 273, 770, 31, 9506, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 1640, 1133, 12, 1133, 871, 13, 288, 6862, 202, 1388, 1180, 761, 273, 261, 1388, 1180, 13, 871, 18, 1726, 31, 6862, 202, 474, 770, 273, 1014, 18, 31806, 12, 1726, 1769, 6862, 25083, 202, 921, 930, 273, 1104, 6466, 1046, 12, 1615, 1769, 6862, 202, 430, 12, 2956, 422, 446, 13, 25083, 202, 12849, 394, 10108, 5621, 6862, 202, 11577, 12, 2956, 16, 1726, 1769, 6862, 202, 2725, 1180, 12, 1726, 16, 2956, 1769, 6862, 202, 430, 12, 1615, 405, 783, 6207, 1016, 13, 25083, 202, 2972, 6207, 1016, 273, 770, 31, 9506, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
log.error(ex);
System.err.println(ex);
void sendGossip() { int tmp[]=new int[1]; tmp[0]=0; Command comm; ObjectOutputStream os; Vector dests=(Vector)members.clone(); try { selectColor(); // set a new randomly chosen color dests.removeElement(local_addr); dests=Util.pickSubset(dests, subset); if(dests == null || dests.size() == 0) { // only apply new color locally // System.out.println("-- local"); colorPanel(red, green, blue); return; } colorPanel(red, green, blue); comm=new Command(Command.GOSSIP, red, green, blue); comm.not_seen=(Vector)members.clone(); comm.not_seen.removeElement(local_addr); out.reset(); os=new ObjectOutputStream(out); os.writeObject(comm); os.flush(); for(int i=0; i < dests.size(); i++) { channel.send(new Message((Address)dests.elementAt(i), null, out.toByteArray())); } } catch(Exception ex) { log.error(ex); } }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/13de68466e3cf7fde6ee0bde0cee09a33e837e89/Gossip.java/clean/src/org/jgroups/demos/Gossip.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1366, 43, 15616, 1435, 288, 3639, 509, 1853, 8526, 33, 2704, 509, 63, 21, 15533, 3639, 1853, 63, 20, 65, 33, 20, 31, 3639, 3498, 1543, 31, 3639, 23438, 1140, 31, 3639, 5589, 1570, 87, 28657, 5018, 13, 7640, 18, 14056, 5621, 3639, 775, 288, 5411, 2027, 2957, 5621, 225, 368, 444, 279, 394, 20153, 10447, 2036, 5411, 1570, 87, 18, 4479, 1046, 12, 3729, 67, 4793, 1769, 5411, 1570, 87, 33, 1304, 18, 11503, 20315, 12, 10488, 87, 16, 7931, 1769, 5411, 309, 12, 10488, 87, 422, 446, 747, 1570, 87, 18, 1467, 1435, 422, 374, 13, 288, 225, 368, 1338, 2230, 394, 2036, 13760, 7734, 368, 2332, 18, 659, 18, 8222, 2932, 413, 1191, 8863, 7734, 2036, 5537, 12, 1118, 16, 10004, 16, 8024, 1769, 7734, 327, 31, 5411, 289, 5411, 2036, 5537, 12, 1118, 16, 10004, 16, 8024, 1769, 5411, 1543, 33, 2704, 3498, 12, 2189, 18, 16387, 1260, 2579, 16, 1755, 16, 10004, 16, 8024, 1769, 5411, 1543, 18, 902, 67, 15156, 28657, 5018, 13, 7640, 18, 14056, 5621, 5411, 1543, 18, 902, 67, 15156, 18, 4479, 1046, 12, 3729, 67, 4793, 1769, 5411, 596, 18, 6208, 5621, 5411, 1140, 33, 2704, 23438, 12, 659, 1769, 5411, 1140, 18, 2626, 921, 12, 5702, 1769, 5411, 1140, 18, 11330, 5621, 5411, 364, 12, 474, 277, 33, 20, 31, 277, 411, 1570, 87, 18, 1467, 5621, 277, 27245, 288, 7734, 1904, 18, 4661, 12, 2704, 2350, 12443, 1887, 13, 10488, 87, 18, 2956, 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, 918, 1366, 43, 15616, 1435, 288, 3639, 509, 1853, 8526, 33, 2704, 509, 63, 21, 15533, 3639, 1853, 63, 20, 65, 33, 20, 31, 3639, 3498, 1543, 31, 3639, 23438, 1140, 31, 3639, 5589, 1570, 87, 28657, 5018, 13, 7640, 18, 14056, 5621, 3639, 775, 288, 5411, 2027, 2957, 5621, 225, 368, 444, 279, 394, 20153, 10447, 2036, 5411, 1570, 87, 18, 4479, 1046, 12, 3729, 67, 4793, 1769, 5411, 1570, 87, 33, 1304, 18, 11503, 20315, 12, 10488, 87, 16, 7931, 1769, 5411, 309, 12, 10488, 87, 422, 446, 747, 1570, 87, 18, 1467, 1435, 422, 374, 13, 288, 225, 368, 1338, 2230, 394, 2036, 13760, 7734, 368, 2332, 18, 659, 18, 8222, 2932, 413, 1191, 8863, 2 ]
suite.addTestSuite(org.xins.tests.common.util.collections.SingleEntryMapTests.class);
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(org.xins.tests.common.collections.BasicPropertyReaderTests.class); suite.addTestSuite(org.xins.tests.common.ExceptionUtilsTests.class); suite.addTestSuite(org.xins.tests.common.util.collections.SingleEntryMapTests.class); suite.addTestSuite(org.xins.tests.common.util.net.IPAddressUtilsTests.class); suite.addTestSuite(org.xins.tests.common.util.net.URLEncodingTests.class); suite.addTestSuite(org.xins.tests.common.util.service.DescriptorBuilderTests.class); suite.addTestSuite(org.xins.tests.common.util.text.HexConverterTests.class); suite.addTestSuite(org.xins.tests.common.util.text.PatternParserTests.class); suite.addTestSuite(org.xins.tests.common.util.text.ReplacerTests.class); suite.addTestSuite(org.xins.tests.common.util.text.SimplePatternParserTests.class); suite.addTestSuite(org.xins.tests.common.types.standard.PropertiesTests.class); suite.addTestSuite(org.xins.tests.common.text.FastStringBufferTest.class); suite.addTestSuite(org.xins.tests.server.IPFilterTests.class); suite.addTestSuite(org.xins.tests.server.AccessRuleTests.class); suite.addTestSuite(org.xins.tests.server.AccessRuleListTests.class); suite.addTestSuite(org.xins.tests.client.CallIOExceptionTests.class); return suite; }
45757 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45757/bb95e5e001f7ebf3407634b325a82242af9bfb3e/AllTests.java/clean/src/tests/org/xins/tests/AllTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 760, 7766, 11371, 1435, 288, 1377, 7766, 13587, 11371, 273, 394, 7766, 13587, 5621, 1377, 11371, 18, 1289, 4709, 13587, 12, 3341, 18, 92, 2679, 18, 16341, 18, 6054, 18, 19246, 18, 8252, 1396, 2514, 14650, 18, 1106, 1769, 1377, 11371, 18, 1289, 4709, 13587, 12, 3341, 18, 92, 2679, 18, 16341, 18, 6054, 18, 503, 1989, 14650, 18, 1106, 1769, 6647, 11371, 18, 1289, 4709, 13587, 12, 3341, 18, 92, 2679, 18, 16341, 18, 6054, 18, 1367, 18, 2758, 18, 22507, 1989, 14650, 18, 1106, 1769, 1377, 11371, 18, 1289, 4709, 13587, 12, 3341, 18, 92, 2679, 18, 16341, 18, 6054, 18, 1367, 18, 2758, 18, 1785, 4705, 14650, 18, 1106, 1769, 1377, 11371, 18, 1289, 4709, 13587, 12, 3341, 18, 92, 2679, 18, 16341, 18, 6054, 18, 1367, 18, 3278, 18, 3187, 1263, 14650, 18, 1106, 1769, 1377, 11371, 18, 1289, 4709, 13587, 12, 3341, 18, 92, 2679, 18, 16341, 18, 6054, 18, 1367, 18, 955, 18, 7037, 5072, 14650, 18, 1106, 1769, 1377, 11371, 18, 1289, 4709, 13587, 12, 3341, 18, 92, 2679, 18, 16341, 18, 6054, 18, 1367, 18, 955, 18, 3234, 2678, 14650, 18, 1106, 1769, 1377, 11371, 18, 1289, 4709, 13587, 12, 3341, 18, 92, 2679, 18, 16341, 18, 6054, 18, 1367, 18, 955, 18, 30060, 14650, 18, 1106, 1769, 1377, 11371, 18, 1289, 4709, 13587, 12, 3341, 18, 92, 2679, 18, 16341, 18, 6054, 18, 1367, 18, 955, 18, 5784, 3234, 2678, 14650, 18, 1106, 1769, 1377, 11371, 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, 1071, 760, 7766, 11371, 1435, 288, 1377, 7766, 13587, 11371, 273, 394, 7766, 13587, 5621, 1377, 11371, 18, 1289, 4709, 13587, 12, 3341, 18, 92, 2679, 18, 16341, 18, 6054, 18, 19246, 18, 8252, 1396, 2514, 14650, 18, 1106, 1769, 1377, 11371, 18, 1289, 4709, 13587, 12, 3341, 18, 92, 2679, 18, 16341, 18, 6054, 18, 503, 1989, 14650, 18, 1106, 1769, 6647, 11371, 18, 1289, 4709, 13587, 12, 3341, 18, 92, 2679, 18, 16341, 18, 6054, 18, 1367, 18, 2758, 18, 22507, 1989, 14650, 18, 1106, 1769, 1377, 11371, 18, 1289, 4709, 13587, 12, 3341, 18, 92, 2679, 18, 16341, 18, 6054, 18, 1367, 18, 2758, 18, 1785, 4705, 14650, 18, 1106, 1769, 1377, 11371, 18, 1289, 2 ]
IExtension extension = extensions[i]; if (!disabledPlugins.contains(extension.getNamespace())) { monitor.subTask(extension.getNamespace()); Platform.run(new EarlyStartupRunnable(extension)); } monitor.worked(1); } monitor.done(); return Status.OK_STATUS; }
}});
protected IStatus run(IProgressMonitor monitor) { HashSet disabledPlugins = new HashSet(Arrays.asList(getDisabledEarlyActivatedPlugins())); monitor.beginTask(WorkbenchMessages.Workbench_startingPlugins, extensions.length); for (int i = 0; i < extensions.length; ++i) { if (monitor.isCanceled() || !isRunning()) { return Status.CANCEL_STATUS; } IExtension extension = extensions[i]; // if the plugin is not in the set of disabled plugins, then // execute the code to start it if (!disabledPlugins.contains(extension.getNamespace())) { monitor.subTask(extension.getNamespace()); Platform.run(new EarlyStartupRunnable(extension)); } monitor.worked(1); } monitor.done(); return Status.OK_STATUS; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/75ec763366f8b2daceae7a8cb2180d4d251f0611/Workbench.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1117, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 1875, 3639, 6847, 5673, 9461, 273, 394, 6847, 12, 12726, 18, 345, 682, 12, 588, 8853, 41, 20279, 28724, 9461, 1435, 10019, 9506, 202, 10259, 18, 10086, 2174, 12, 2421, 22144, 5058, 18, 2421, 22144, 67, 18526, 9461, 16, 4418, 18, 2469, 1769, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4418, 18, 2469, 31, 965, 77, 13, 288, 6862, 202, 430, 261, 10259, 18, 291, 23163, 1435, 747, 401, 291, 7051, 10756, 288, 25083, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 6862, 202, 97, 6862, 202, 45, 3625, 2710, 273, 4418, 63, 77, 15533, 6862, 202, 759, 309, 326, 1909, 353, 486, 316, 326, 444, 434, 5673, 4799, 16, 1508, 6862, 202, 759, 1836, 326, 981, 358, 787, 518, 6862, 202, 430, 16051, 9278, 9461, 18, 12298, 12, 6447, 18, 588, 3402, 1435, 3719, 288, 25083, 202, 10259, 18, 1717, 2174, 12, 6447, 18, 588, 3402, 10663, 25083, 202, 8201, 18, 2681, 12, 2704, 512, 20279, 22178, 20013, 12, 6447, 10019, 6862, 202, 97, 6862, 202, 10259, 18, 1252, 329, 12, 21, 1769, 9506, 202, 97, 9506, 202, 10259, 18, 8734, 5621, 9506, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1117, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 1875, 3639, 6847, 5673, 9461, 273, 394, 6847, 12, 12726, 18, 345, 682, 12, 588, 8853, 41, 20279, 28724, 9461, 1435, 10019, 9506, 202, 10259, 18, 10086, 2174, 12, 2421, 22144, 5058, 18, 2421, 22144, 67, 18526, 9461, 16, 4418, 18, 2469, 1769, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4418, 18, 2469, 31, 965, 77, 13, 288, 6862, 202, 430, 261, 10259, 18, 291, 23163, 1435, 747, 401, 291, 7051, 10756, 288, 25083, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 6862, 202, 97, 6862, 202, 45, 3625, 2710, 273, 4418, 63, 77, 15533, 6862, 202, 759, 309, 326, 1909, 353, 2 ]
if (index == text.length() - 1) index--;
boolean addLeadingWordWidth(String text, int[] width) { // Changes to this algorithm should be verified with LookAheadTest BreakIterator lineBreaker = BreakIterator.getLineInstance(); lineBreaker.setText(text); if (Character.isWhitespace(text.charAt(0))) return true; int index = FlowUtilities.findPreviousNonWS(text, lineBreaker.next()); boolean result = index < text.length() - 1; // An optimization to prevent unnecessary invocation of String.substring and // getStringExtents() if (index == 0) return result; text = text.substring(0, index); if (bidiInfo == null) width[0] += FlowUtilities.getStringExtents(text, getFont()).width - 1; else { org.eclipse.swt.graphics.TextLayout textLayout = FlowUtilities.getTextLayout(); textLayout.setFont(getFont()); textLayout.setText(text); width[0] += textLayout.getBounds().width; } return result;}
11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/e83061e2be9963b0b1e27f093171d1bf3059893c/TextFlow.java/clean/org.eclipse.draw2d/src/org/eclipse/draw2d/text/TextFlow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1250, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 527, 19112, 3944, 2384, 12, 780, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 977, 16, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 509, 8526, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 1835, 13, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 288, 202, 759, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 17776, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 358, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 333, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 4886, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 1410, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 506, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 13808, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 598, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 10176, 24250, 4709, 202, 7634, 3198, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 980, 22660, 430, 261, 1615, 422, 977, 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, 1250, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 527, 19112, 3944, 2384, 12, 780, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 977, 16, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 509, 8526, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 1835, 13, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 288, 202, 759, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 17776, 430, 261, 1615, 422, 977, 18, 2469, 1435, 300, 404, 13, 770, 413, 31, 358, 430, 261, 1615, 2 ]
created[i] = new EndPointCreated( RemoteMethodCall.classesToString(endPoint.getClasses()), name, endPoint.isSingleThreaded()); i++;
Map nodesWithImplementors = new HashMap(m_remoteNodesWithImplementors); nodesWithImplementors.put(m_messenger.getLocalNode(), localNodesWithImplementors); init = new UnifiedInitMessage(created, nodesWithImplementors);
public void messageReceived(Serializable msg, INode from) { if(msg instanceof UnifiedInitRequest) { List localNodesWithImplementors = new ArrayList(); EndPointCreated[] created = new EndPointCreated[m_localEndPoints.keySet().size()]; Iterator names = m_localEndPoints.keySet().iterator(); int i = 0; while(names.hasNext()) { String name = (String) names.next(); EndPoint endPoint = (EndPoint) m_localEndPoints.get(name); if(endPoint.hasImplementors()) { localNodesWithImplementors.add(endPoint.getName()); } created[i] = new EndPointCreated( RemoteMethodCall.classesToString(endPoint.getClasses()), name, endPoint.isSingleThreaded()); i++; } Map nodesWithImplementors = new HashMap(m_remoteNodesWithImplementors); nodesWithImplementors.put(m_messenger.getLocalNode(),localNodesWithImplementors ); UnifiedInitMessage init = new UnifiedInitMessage(created, nodesWithImplementors); m_messenger.send(init, from); } }
8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/ca34366b9a3865cf25362f630569c84db100c969/UnifiedMessenger.java/clean/src/games/strategy/engine/message/UnifiedMessenger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 883, 8872, 12, 21682, 1234, 16, 21176, 628, 13, 3639, 288, 4766, 565, 309, 12, 3576, 1276, 1351, 939, 2570, 691, 13, 5411, 288, 7734, 987, 1191, 3205, 1190, 5726, 1383, 273, 394, 2407, 5621, 7734, 4403, 2148, 6119, 8526, 2522, 273, 394, 4403, 2148, 6119, 63, 81, 67, 3729, 1638, 5636, 18, 856, 694, 7675, 1467, 1435, 15533, 7734, 4498, 1257, 273, 312, 67, 3729, 1638, 5636, 18, 856, 694, 7675, 9838, 5621, 7734, 509, 277, 273, 374, 31, 7734, 1323, 12, 1973, 18, 5332, 2134, 10756, 7734, 288, 10792, 514, 508, 273, 261, 780, 13, 1257, 18, 4285, 5621, 10792, 4403, 2148, 19849, 273, 261, 27185, 13, 312, 67, 3729, 1638, 5636, 18, 588, 12, 529, 1769, 4766, 3639, 309, 12, 409, 2148, 18, 5332, 5726, 1383, 10756, 10792, 288, 13491, 1191, 3205, 1190, 5726, 1383, 18, 1289, 12, 409, 2148, 18, 17994, 10663, 10792, 289, 4766, 3639, 2522, 63, 77, 65, 273, 394, 4403, 2148, 6119, 12, 4766, 4202, 6304, 12592, 18, 4701, 5808, 12, 409, 2148, 18, 588, 4818, 1435, 3631, 4766, 3639, 508, 16, 4766, 4202, 19849, 18, 291, 5281, 1315, 20528, 10663, 10792, 277, 9904, 31, 7734, 289, 27573, 1635, 2199, 1190, 5726, 1383, 273, 394, 4317, 12, 81, 67, 7222, 3205, 1190, 5726, 1383, 1769, 7734, 2199, 1190, 5726, 1383, 18, 458, 12, 81, 67, 81, 18912, 18, 588, 2042, 907, 9334, 3729, 3205, 1190, 5726, 1383, 11272, 27573, 1351, 939, 2570, 1079, 1208, 273, 394, 1351, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 883, 8872, 12, 21682, 1234, 16, 21176, 628, 13, 3639, 288, 4766, 565, 309, 12, 3576, 1276, 1351, 939, 2570, 691, 13, 5411, 288, 7734, 987, 1191, 3205, 1190, 5726, 1383, 273, 394, 2407, 5621, 7734, 4403, 2148, 6119, 8526, 2522, 273, 394, 4403, 2148, 6119, 63, 81, 67, 3729, 1638, 5636, 18, 856, 694, 7675, 1467, 1435, 15533, 7734, 4498, 1257, 273, 312, 67, 3729, 1638, 5636, 18, 856, 694, 7675, 9838, 5621, 7734, 509, 277, 273, 374, 31, 7734, 1323, 12, 1973, 18, 5332, 2134, 10756, 7734, 288, 10792, 514, 508, 273, 261, 780, 13, 1257, 18, 4285, 5621, 10792, 4403, 2148, 19849, 273, 261, 27185, 13, 312, 67, 3729, 1638, 5636, 18, 588, 2 ]
public ChiSquaredDistributionImpl(double degreesOfFreedom){
public ChiSquaredDistributionImpl(double degreesOfFreedom) {
public ChiSquaredDistributionImpl(double degreesOfFreedom){ super(); setGamma(DistributionFactory.newInstance().createGammaDistribution( degreesOfFreedom / 2.0, 2.0)); }
9305 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9305/16c19dcec036ef933bcc6a46ef9b4bea3267546f/ChiSquaredDistributionImpl.java/buggy/src/java/org/apache/commons/math/distribution/ChiSquaredDistributionImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1680, 77, 20888, 9003, 2828, 12, 9056, 10904, 951, 42, 15656, 362, 13, 288, 3639, 2240, 5621, 3639, 26770, 7102, 12, 9003, 1733, 18, 2704, 1442, 7675, 2640, 31300, 9003, 12, 5411, 10904, 951, 42, 15656, 362, 342, 576, 18, 20, 16, 576, 18, 20, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1680, 77, 20888, 9003, 2828, 12, 9056, 10904, 951, 42, 15656, 362, 13, 288, 3639, 2240, 5621, 3639, 26770, 7102, 12, 9003, 1733, 18, 2704, 1442, 7675, 2640, 31300, 9003, 12, 5411, 10904, 951, 42, 15656, 362, 342, 576, 18, 20, 16, 576, 18, 20, 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 ]
final Enumeration props = properties.keys();
final Enumeration props = (properties != null) ? properties.keys() : (new Hashtable()).keys();
void loadPredefinedProperties(final Hashtable properties, final Map<String, String> externalProps) { final Enumeration props = properties.keys(); @NonNls final StringBuilder builder = StringBuilderSpinAllocator.alloc(); builder.append("<project name=\"fake\">"); try { while (props.hasMoreElements()) { final String name = (String)props.nextElement(); final String value = (String)properties.get(name); builder.append("<property name=\""); builder.append(name); builder.append("\" value=\""); builder.append(value); builder.append("\"/>"); } final Map<String, String> envMap = System.getenv(); for (final String name : envMap.keySet()) { final String value = envMap.get(name); builder.append("<property name=\""); builder.append(name); builder.append("\" value=\""); builder.append(value); builder.append("\"/>"); } if (externalProps != null) { for (final String name : externalProps.keySet()) { final String value = externalProps.get(name); builder.append("<property name=\""); builder.append(name); builder.append("\" value=\""); builder.append(value); builder.append("\"/>"); } } String basedir = getBaseDir(); if (basedir == null) { basedir = "."; } builder.append("<property name=\"basedir\" value=\""); builder.append(basedir); builder.append("\"/>"); final VirtualFile file = getContainingFile().getVirtualFile(); if (file != null) { builder.append("<property name=\"ant.file\" value=\""); builder.append(file.getPath()); builder.append("\"/>"); } // TODO: remove this fake: builder.append("<property name=\"ant.home\" value=\"\">"); builder.append("<property name=\"ant.version\" value=\"1.6"); builder.append("\"/>"); builder.append("<property name=\"ant.project.name\" value=\""); final String name = getName(); builder.append((name == null) ? "" : name); builder.append("\"/>"); builder.append("<property name=\"ant.java.version\" value=\""); builder.append(SystemInfo.JAVA_VERSION); builder.append("\"/>"); builder.append("</project>"); final PsiElementFactory elementFactory = getManager().getElementFactory(); final XmlFile fakeFile = (XmlFile)elementFactory.createFileFromText("dummy.xml", builder.toString()); final XmlDocument document = fakeFile.getDocument(); if (document == null) return; final XmlTag rootTag = document.getRootTag(); if (rootTag == null) return; AntTypeDefinition propertyDef = getAntFile().getBaseTypeDefinition(Property.class.getName()); AntProject fakeProject = new AntProjectImpl(null, rootTag, myDefinition); for (XmlTag tag : rootTag.getSubTags()) { final AntPropertyImpl property = new AntPropertyImpl(fakeProject, tag, propertyDef) { public PsiFile getContainingFile() { return getSourceElement().getContainingFile(); } }; myPredefinedProps.add(property); } } finally { StringBuilderSpinAllocator.dispose(builder); } setPredefinedProperties(); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/099a338ee935d942c8353e19753c15c09fc8ce84/AntProjectImpl.java/clean/plugins/ant/src/com/intellij/lang/ant/psi/impl/AntProjectImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 1262, 1386, 2178, 2297, 12, 6385, 18559, 1790, 16, 727, 1635, 32, 780, 16, 514, 34, 3903, 5047, 13, 288, 565, 727, 13864, 3458, 273, 261, 4738, 480, 446, 13, 692, 1790, 18, 2452, 1435, 294, 261, 2704, 18559, 1435, 2934, 2452, 5621, 565, 632, 3989, 50, 3251, 727, 3225, 2089, 273, 3225, 3389, 267, 21156, 18, 9853, 5621, 565, 2089, 18, 6923, 2932, 32, 4406, 508, 5189, 28395, 21121, 1769, 565, 775, 288, 1377, 1323, 261, 9693, 18, 5332, 7417, 3471, 10756, 288, 3639, 727, 514, 508, 273, 261, 780, 13, 9693, 18, 4285, 1046, 5621, 3639, 727, 514, 460, 273, 261, 780, 13, 4738, 18, 588, 12, 529, 1769, 3639, 2089, 18, 6923, 2932, 32, 4468, 508, 5189, 8863, 3639, 2089, 18, 6923, 12, 529, 1769, 3639, 2089, 18, 6923, 2932, 2412, 460, 5189, 8863, 3639, 2089, 18, 6923, 12, 1132, 1769, 3639, 2089, 18, 6923, 2932, 2412, 26293, 1769, 1377, 289, 1377, 727, 1635, 32, 780, 16, 514, 34, 1550, 863, 273, 2332, 18, 588, 3074, 5621, 1377, 364, 261, 6385, 514, 508, 294, 1550, 863, 18, 856, 694, 10756, 288, 3639, 727, 514, 460, 273, 1550, 863, 18, 588, 12, 529, 1769, 3639, 2089, 18, 6923, 2932, 32, 4468, 508, 5189, 8863, 3639, 2089, 18, 6923, 12, 529, 1769, 3639, 2089, 18, 6923, 2932, 2412, 460, 5189, 8863, 3639, 2089, 18, 6923, 12, 1132, 1769, 3639, 2089, 18, 6923, 2932, 2412, 26293, 1769, 1377, 289, 1377, 309, 261, 9375, 5047, 480, 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, 1386, 2178, 2297, 12, 6385, 18559, 1790, 16, 727, 1635, 32, 780, 16, 514, 34, 3903, 5047, 13, 288, 565, 727, 13864, 3458, 273, 261, 4738, 480, 446, 13, 692, 1790, 18, 2452, 1435, 294, 261, 2704, 18559, 1435, 2934, 2452, 5621, 565, 632, 3989, 50, 3251, 727, 3225, 2089, 273, 3225, 3389, 267, 21156, 18, 9853, 5621, 565, 2089, 18, 6923, 2932, 32, 4406, 508, 5189, 28395, 21121, 1769, 565, 775, 288, 1377, 1323, 261, 9693, 18, 5332, 7417, 3471, 10756, 288, 3639, 727, 514, 508, 273, 261, 780, 13, 9693, 18, 4285, 1046, 5621, 3639, 727, 514, 460, 273, 261, 780, 13, 4738, 18, 588, 12, 529, 1769, 3639, 2089, 18, 6923, 2932, 32, 2 ]
synchronized (distributorLock) {
synchronized (transactionLock) {
public void invokeABAChangeLPs(Set communities) { assert Thread.holdsLock(distributorLock); assert !Thread.holdsLock(transactionLock); synchronized (distributorLock) { try { blackboard.startTransaction(); blackboard.invokeABAChangeLPs(communities); } finally { blackboard.stopTransaction(); } } }
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/1362042bf63030d9f37510f4ed3bba38bac9da0f/Distributor.java/clean/core/src/org/cougaar/core/blackboard/Distributor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4356, 2090, 37, 3043, 14461, 87, 12, 694, 8391, 1961, 13, 288, 565, 1815, 225, 4884, 18, 21056, 87, 2531, 12, 2251, 19293, 2531, 1769, 565, 1815, 401, 3830, 18, 21056, 87, 2531, 12, 7958, 2531, 1769, 565, 3852, 261, 7958, 2531, 13, 288, 1377, 775, 288, 3639, 7721, 3752, 18, 1937, 3342, 5621, 3639, 7721, 3752, 18, 14407, 2090, 37, 3043, 14461, 87, 12, 5702, 318, 1961, 1769, 1377, 289, 3095, 288, 3639, 7721, 3752, 18, 5681, 3342, 5621, 1377, 289, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4356, 2090, 37, 3043, 14461, 87, 12, 694, 8391, 1961, 13, 288, 565, 1815, 225, 4884, 18, 21056, 87, 2531, 12, 2251, 19293, 2531, 1769, 565, 1815, 401, 3830, 18, 21056, 87, 2531, 12, 7958, 2531, 1769, 565, 3852, 261, 7958, 2531, 13, 288, 1377, 775, 288, 3639, 7721, 3752, 18, 1937, 3342, 5621, 3639, 7721, 3752, 18, 14407, 2090, 37, 3043, 14461, 87, 12, 5702, 318, 1961, 1769, 1377, 289, 3095, 288, 3639, 7721, 3752, 18, 5681, 3342, 5621, 1377, 289, 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 ]
throws SAXException, IOException, ParserConfigurationException {
throws SAXException, IOException, ParserConfigurationException {
public void testDataModel() throws SAXException, IOException, ParserConfigurationException { DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); String fileName = System.getProperty("test.model.uml13"); if (fileName == null) return; File file = new File(fileName); if (!file.exists()) return; Document doc = builder.parse(new File(System.getProperty("test.model.uml13"))); NodeList list = doc.getElementsByTagName("Model:Class"); assertEquals(refs.size(), list.getLength()); for (int i = 0; i < list.getLength(); i++) { processClassNode ("", list.item(i)); } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/5f6191c876d7ba33373fe98de4e3c7d94a09c303/OptionalTestAgainstUmlModel.java/clean/tests/org/argouml/model/uml/OptionalTestAgainstUmlModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 26349, 1435, 565, 1216, 14366, 16, 6647, 1860, 16, 202, 282, 6783, 10737, 288, 202, 2519, 1263, 2089, 273, 30236, 18, 2704, 1442, 7675, 2704, 2519, 1263, 5621, 565, 514, 3968, 273, 2332, 18, 588, 1396, 2932, 3813, 18, 2284, 18, 22192, 3437, 8863, 565, 309, 261, 17812, 422, 446, 13, 327, 31, 565, 1387, 585, 273, 394, 1387, 12, 17812, 1769, 565, 309, 16051, 768, 18, 1808, 10756, 327, 31, 202, 2519, 997, 273, 2089, 18, 2670, 12, 2704, 1387, 12, 3163, 18, 588, 1396, 2932, 3813, 18, 2284, 18, 22192, 3437, 6, 3719, 1769, 202, 19914, 666, 273, 997, 18, 588, 3471, 10401, 2932, 1488, 30, 797, 8863, 202, 11231, 8867, 12, 9316, 18, 1467, 9334, 666, 18, 588, 1782, 10663, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 666, 18, 588, 1782, 5621, 277, 27245, 288, 202, 565, 1207, 797, 907, 7566, 3113, 666, 18, 1726, 12, 77, 10019, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 26349, 1435, 565, 1216, 14366, 16, 6647, 1860, 16, 202, 282, 6783, 10737, 288, 202, 2519, 1263, 2089, 273, 30236, 18, 2704, 1442, 7675, 2704, 2519, 1263, 5621, 565, 514, 3968, 273, 2332, 18, 588, 1396, 2932, 3813, 18, 2284, 18, 22192, 3437, 8863, 565, 309, 261, 17812, 422, 446, 13, 327, 31, 565, 1387, 585, 273, 394, 1387, 12, 17812, 1769, 565, 309, 16051, 768, 18, 1808, 10756, 327, 31, 202, 2519, 997, 273, 2089, 18, 2670, 12, 2704, 1387, 12, 3163, 18, 588, 1396, 2932, 3813, 18, 2284, 18, 22192, 3437, 6, 3719, 1769, 202, 19914, 666, 273, 997, 18, 588, 3471, 10401, 2932, 1488, 30, 797, 8863, 202, 11231, 8867, 12, 9316, 2 ]
new_ranges.add(new Integer(ranges[j]));
new_ranges.add (new Integer (ranges[j]));
protected void mergeAttributes(HashMap[] attributes, int[] ranges) { Vector new_ranges = new Vector(); Vector new_attributes = new Vector(); int i = 0, j = 0; while (i < this.ranges.length && j < ranges.length) { if (this.attributes[i] != null) { new_attributes.add(this.attributes[i]); if (attributes[j] != null) this.attributes[i].putAll(attributes[j]); } else { new_attributes.add(attributes[j]); } if (this.ranges[i] == ranges[j]) { new_ranges.add(new Integer(ranges[j])); i++; j++; } else if (this.ranges[i] < ranges[j]) { new_ranges.add(new Integer(this.ranges[i])); i++; } else { new_ranges.add(new Integer(ranges[j])); j++; } } if (i != this.ranges.length) { for (;i<this.ranges.length;i++) { new_attributes.add(this.attributes[i]); new_ranges.add(new Integer(this.ranges[i])); } } if (j != ranges.length) { for (;j<ranges.length;j++) { new_attributes.add(attributes[j]); new_ranges.add(new Integer(ranges[j])); } } this.attributes = new HashMap[new_attributes.size()]; this.ranges = new int[new_ranges.size()]; System.arraycopy(new_attributes.toArray(), 0, this.attributes, 0, this.attributes.length); for (i=0;i<new_ranges.size();i++) { this.ranges[i] = ((Integer)new_ranges.elementAt(i)).intValue(); } }
56365 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56365/905252cb2827a39c9de9ec6f60a2dd0fb655254d/FormatCharacterIterator.java/buggy/libjava/java/text/FormatCharacterIterator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 2691, 2498, 12, 8658, 8526, 1677, 16, 509, 8526, 7322, 13, 225, 288, 565, 5589, 394, 67, 14530, 273, 394, 5589, 5621, 565, 5589, 394, 67, 4350, 273, 394, 5589, 5621, 565, 509, 277, 273, 374, 16, 525, 273, 374, 31, 565, 1323, 261, 77, 411, 333, 18, 14530, 18, 2469, 597, 525, 411, 7322, 18, 2469, 13, 1377, 288, 202, 430, 261, 2211, 18, 4350, 63, 77, 65, 480, 446, 13, 202, 225, 288, 202, 565, 394, 67, 4350, 18, 1289, 12, 2211, 18, 4350, 63, 77, 19226, 202, 565, 309, 261, 4350, 63, 78, 65, 480, 446, 13, 202, 1377, 333, 18, 4350, 63, 77, 8009, 458, 1595, 12, 4350, 63, 78, 19226, 202, 225, 289, 202, 12107, 202, 225, 288, 202, 565, 394, 67, 4350, 18, 1289, 12, 4350, 63, 78, 19226, 202, 225, 289, 202, 430, 261, 2211, 18, 14530, 63, 77, 65, 422, 7322, 63, 78, 5717, 202, 225, 288, 202, 565, 394, 67, 14530, 18, 1289, 12, 2704, 2144, 12, 14530, 63, 78, 5717, 1769, 202, 565, 277, 9904, 31, 202, 565, 525, 9904, 31, 202, 225, 289, 202, 12107, 309, 261, 2211, 18, 14530, 63, 77, 65, 411, 7322, 63, 78, 5717, 202, 225, 288, 202, 565, 394, 67, 14530, 18, 1289, 12, 2704, 2144, 12, 2211, 18, 14530, 63, 77, 5717, 1769, 202, 565, 277, 9904, 31, 202, 225, 289, 202, 12107, 202, 225, 288, 202, 565, 394, 67, 14530, 18, 1289, 12, 2704, 2144, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 2691, 2498, 12, 8658, 8526, 1677, 16, 509, 8526, 7322, 13, 225, 288, 565, 5589, 394, 67, 14530, 273, 394, 5589, 5621, 565, 5589, 394, 67, 4350, 273, 394, 5589, 5621, 565, 509, 277, 273, 374, 16, 525, 273, 374, 31, 565, 1323, 261, 77, 411, 333, 18, 14530, 18, 2469, 597, 525, 411, 7322, 18, 2469, 13, 1377, 288, 202, 430, 261, 2211, 18, 4350, 63, 77, 65, 480, 446, 13, 202, 225, 288, 202, 565, 394, 67, 4350, 18, 1289, 12, 2211, 18, 4350, 63, 77, 19226, 202, 565, 309, 261, 4350, 63, 78, 65, 480, 446, 13, 202, 1377, 333, 18, 4350, 63, 77, 8009, 458, 1595, 12, 4350, 63, 78, 19226, 202, 2 ]
opLabel.setText("");
opLabel.setText(" ");
public void stopUnpack() { parent.releaseGUI(); parent.lockPrevButton(); installButton.setIcon(parent.icons.getImageIcon("empty")); installButton.setEnabled(false); progressBar.setString(parent.langpack.getString("InstallPanel.finished")); progressBar.setEnabled(false); opLabel.setText(""); opLabel.setEnabled(false); idata.installSuccess = true; idata.canClose = true; validated = true; if (idata.panels.indexOf(this) != (idata.panels.size() - 1)) parent.unlockNextButton(); }
58440 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58440/6d9b15f649e5234a8b818afb3194b32c4bdd47a3/InstallPanel.java/clean/izpack-src/trunk/src/lib/com/izforge/izpack/panels/InstallPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2132, 23649, 1435, 565, 288, 3639, 982, 18, 9340, 43, 5370, 5621, 3639, 982, 18, 739, 9958, 3616, 5621, 3639, 3799, 3616, 18, 542, 5554, 12, 2938, 18, 14516, 18, 588, 2040, 5554, 2932, 5531, 7923, 1769, 3639, 3799, 3616, 18, 542, 1526, 12, 5743, 1769, 3639, 29101, 18, 542, 780, 12, 2938, 18, 4936, 2920, 18, 588, 780, 2932, 6410, 5537, 18, 13527, 7923, 1769, 3639, 29101, 18, 542, 1526, 12, 5743, 1769, 3639, 1061, 2224, 18, 542, 1528, 2932, 315, 1769, 3639, 1061, 2224, 18, 542, 1526, 12, 5743, 1769, 3639, 612, 396, 18, 5425, 4510, 273, 638, 31, 3639, 612, 396, 18, 4169, 4605, 273, 638, 31, 3639, 10266, 273, 638, 31, 3639, 309, 261, 350, 396, 18, 7355, 10558, 18, 31806, 12, 2211, 13, 480, 261, 350, 396, 18, 7355, 10558, 18, 1467, 1435, 300, 404, 3719, 5411, 982, 18, 26226, 2134, 3616, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2132, 23649, 1435, 565, 288, 3639, 982, 18, 9340, 43, 5370, 5621, 3639, 982, 18, 739, 9958, 3616, 5621, 3639, 3799, 3616, 18, 542, 5554, 12, 2938, 18, 14516, 18, 588, 2040, 5554, 2932, 5531, 7923, 1769, 3639, 3799, 3616, 18, 542, 1526, 12, 5743, 1769, 3639, 29101, 18, 542, 780, 12, 2938, 18, 4936, 2920, 18, 588, 780, 2932, 6410, 5537, 18, 13527, 7923, 1769, 3639, 29101, 18, 542, 1526, 12, 5743, 1769, 3639, 1061, 2224, 18, 542, 1528, 2932, 315, 1769, 3639, 1061, 2224, 18, 542, 1526, 12, 5743, 1769, 3639, 612, 396, 18, 5425, 4510, 273, 638, 31, 3639, 612, 396, 18, 4169, 4605, 273, 638, 31, 3639, 10266, 273, 638, 31, 3639, 2 ]
this.validPeers.add( BoundVariableDescr.class );
this.validPeers.add( VariableDescr.class );
LiteralHandler(final XmlPackageReader xmlPackageReader) { this.xmlPackageReader = xmlPackageReader; if ( (this.validParents == null) && (this.validPeers == null) ) { this.validParents = new HashSet(); this.validParents.add( ColumnDescr.class ); this.validPeers = new HashSet(); this.validPeers.add( null ); this.validPeers.add( LiteralDescr.class ); this.validPeers.add( PredicateDescr.class ); this.validPeers.add( ReturnValueDescr.class ); this.validPeers.add( FieldBindingDescr.class ); this.validPeers.add( BoundVariableDescr.class ); this.allowNesting = false; } }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/66a59ebfb9077b4628cfb4aa31cf2f6a38c41bcf/LiteralHandler.java/buggy/drools-compiler/src/main/java/org/drools/xml/LiteralHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 14392, 1503, 12, 6385, 5714, 2261, 2514, 2025, 2261, 2514, 13, 288, 3639, 333, 18, 2902, 2261, 2514, 273, 2025, 2261, 2514, 31, 3639, 309, 261, 261, 2211, 18, 877, 13733, 422, 446, 13, 597, 261, 2211, 18, 877, 14858, 422, 446, 13, 262, 288, 5411, 333, 18, 877, 13733, 273, 394, 6847, 5621, 5411, 333, 18, 877, 13733, 18, 1289, 12, 4753, 16198, 18, 1106, 11272, 5411, 333, 18, 877, 14858, 273, 394, 6847, 5621, 5411, 333, 18, 877, 14858, 18, 1289, 12, 446, 11272, 5411, 333, 18, 877, 14858, 18, 1289, 12, 14392, 16198, 18, 1106, 11272, 5411, 333, 18, 877, 14858, 18, 1289, 12, 10202, 16198, 18, 1106, 11272, 5411, 333, 18, 877, 14858, 18, 1289, 12, 2000, 620, 16198, 18, 1106, 11272, 5411, 333, 18, 877, 14858, 18, 1289, 12, 2286, 5250, 16198, 18, 1106, 11272, 5411, 333, 18, 877, 14858, 18, 1289, 12, 7110, 16198, 18, 1106, 11272, 5411, 333, 18, 5965, 50, 10100, 273, 629, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 14392, 1503, 12, 6385, 5714, 2261, 2514, 2025, 2261, 2514, 13, 288, 3639, 333, 18, 2902, 2261, 2514, 273, 2025, 2261, 2514, 31, 3639, 309, 261, 261, 2211, 18, 877, 13733, 422, 446, 13, 597, 261, 2211, 18, 877, 14858, 422, 446, 13, 262, 288, 5411, 333, 18, 877, 13733, 273, 394, 6847, 5621, 5411, 333, 18, 877, 13733, 18, 1289, 12, 4753, 16198, 18, 1106, 11272, 5411, 333, 18, 877, 14858, 273, 394, 6847, 5621, 5411, 333, 18, 877, 14858, 18, 1289, 12, 446, 11272, 5411, 333, 18, 877, 14858, 18, 1289, 12, 14392, 16198, 18, 1106, 11272, 5411, 333, 18, 877, 14858, 18, 1289, 12, 10202, 16198, 18, 1106, 11272, 5411, 333, 18, 877, 14858, 18, 2 ]
Properties p = new Properties();
Properties props = new Properties();
private Properties loadProperties() throws Exception { Properties p = new Properties(); FileInputStream fis = new FileInputStream(m_scenFile); p.load(fis); fis.close(); return p; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/bc3963980d1d06f917e1945181c23d0cae39d09e/ScenarioLoader.java/buggy/megamek/src/megamek/server/ScenarioLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 6183, 1262, 2297, 1435, 3639, 1216, 1185, 565, 288, 3639, 6183, 3458, 273, 394, 6183, 5621, 3639, 11907, 15324, 273, 394, 11907, 12, 81, 67, 1017, 275, 812, 1769, 3639, 293, 18, 945, 12, 74, 291, 1769, 3639, 15324, 18, 4412, 5621, 3639, 327, 293, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 6183, 1262, 2297, 1435, 3639, 1216, 1185, 565, 288, 3639, 6183, 3458, 273, 394, 6183, 5621, 3639, 11907, 15324, 273, 394, 11907, 12, 81, 67, 1017, 275, 812, 1769, 3639, 293, 18, 945, 12, 74, 291, 1769, 3639, 15324, 18, 4412, 5621, 3639, 327, 293, 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 ]
super ("UserTransaction", userTransaction); Context iContext = new InitialContext(); Context compContext = (Context)iContext.lookup("java:comp"); bind(compContext);
super (USER_TRANSACTION, userTransaction);
public Transaction (UserTransaction userTransaction) throws NamingException { super ("UserTransaction", userTransaction); Context iContext = new InitialContext(); Context compContext = (Context)iContext.lookup("java:comp"); //bind into the jndi a UserTransaction at java:comp/UserTransaction bind(compContext); }
13242 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13242/11b80b66c7bb4248815268fb1ff430a16ba75a7c/Transaction.java/buggy/trunk/modules/plus/src/main/java/org/mortbay/jetty/plus/naming/Transaction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5947, 261, 1299, 3342, 729, 3342, 13, 565, 1216, 26890, 565, 288, 3639, 2240, 7566, 1299, 3342, 3113, 729, 3342, 1769, 3639, 1772, 277, 1042, 273, 394, 10188, 1042, 5621, 3639, 1772, 1161, 1042, 273, 261, 1042, 13, 77, 1042, 18, 8664, 2932, 6290, 30, 2919, 8863, 7734, 368, 4376, 1368, 326, 525, 16564, 279, 2177, 3342, 622, 2252, 30, 2919, 19, 1299, 3342, 3639, 1993, 12, 2919, 1042, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5947, 261, 1299, 3342, 729, 3342, 13, 565, 1216, 26890, 565, 288, 3639, 2240, 7566, 1299, 3342, 3113, 729, 3342, 1769, 3639, 1772, 277, 1042, 273, 394, 10188, 1042, 5621, 3639, 1772, 1161, 1042, 273, 261, 1042, 13, 77, 1042, 18, 8664, 2932, 6290, 30, 2919, 8863, 7734, 368, 4376, 1368, 326, 525, 16564, 279, 2177, 3342, 622, 2252, 30, 2919, 19, 1299, 3342, 3639, 1993, 12, 2919, 1042, 1769, 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 ]
result.addResourceToUpdate(resource);
if (isResourceInTimeWindow(resource)) { result.addResourceToUpdate(resource); }
public CmsSearchIndexUpdateData getUpdateData(CmsSearchIndexSource source, List publishedResources) { // create a new update collection from this indexer and the given index source CmsSearchIndexUpdateData result = new CmsSearchIndexUpdateData(source, this); Iterator i = publishedResources.iterator(); while (i.hasNext()) { // check all published resources if they match this indexer / source CmsPublishedResource resource = (CmsPublishedResource)i.next(); // VFS resources will always have a structure id if (!resource.getStructureId().isNullUUID()) { // use utility method from CmsProject to check if published resource is "inside" this index source if (CmsProject.isInsideProject(source.getResourcesNames(), resource.getRootPath())) { // the resource is "inside" this index source if (resource.isNew()) { // new resource just needs to be updated result.addResourceToUpdate(resource); } else if (resource.isDeleted()) { // deleted resource just needs to be removed result.addResourceToDelete(resource); } else if (resource.isChanged()) { // changed resource must be removed first, and then updated result.addResourceToDelete(resource); result.addResourceToUpdate(resource); } } } } return result; }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/8b9facd883743a62ecbe31eff744f24bd411ab42/CmsVfsIndexer.java/buggy/src/org/opencms/search/CmsVfsIndexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26905, 1016, 1891, 751, 23866, 751, 12, 4747, 2979, 1016, 1830, 1084, 16, 987, 9487, 3805, 13, 288, 3639, 368, 752, 279, 394, 1089, 1849, 628, 333, 12635, 471, 326, 864, 770, 1084, 3639, 26905, 1016, 1891, 751, 563, 273, 394, 26905, 1016, 1891, 751, 12, 3168, 16, 333, 1769, 3639, 4498, 277, 273, 9487, 3805, 18, 9838, 5621, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 368, 866, 777, 9487, 2703, 309, 2898, 845, 333, 12635, 342, 1084, 5411, 2149, 16451, 1420, 1058, 273, 261, 4747, 16451, 1420, 13, 77, 18, 4285, 5621, 5411, 368, 23567, 2703, 903, 3712, 1240, 279, 3695, 612, 5411, 309, 16051, 3146, 18, 588, 6999, 548, 7675, 291, 2041, 5562, 10756, 288, 7734, 368, 999, 12788, 707, 628, 2149, 4109, 358, 866, 309, 9487, 1058, 353, 315, 28091, 6, 333, 770, 1084, 7734, 309, 261, 4747, 4109, 18, 291, 18619, 4109, 12, 3168, 18, 588, 3805, 1557, 9334, 1058, 18, 588, 21302, 1435, 3719, 288, 10792, 368, 326, 1058, 353, 315, 28091, 6, 333, 770, 1084, 10792, 309, 261, 3146, 18, 291, 1908, 10756, 288, 13491, 368, 394, 1058, 2537, 4260, 358, 506, 3526, 13491, 309, 261, 291, 1420, 382, 950, 3829, 12, 3146, 3719, 288, 225, 563, 18, 1289, 1420, 21267, 12, 3146, 1769, 289, 10792, 289, 469, 309, 261, 3146, 18, 291, 7977, 10756, 288, 13491, 368, 4282, 1058, 2537, 4260, 358, 506, 3723, 13491, 563, 18, 1289, 1420, 14976, 12, 3146, 1769, 10792, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26905, 1016, 1891, 751, 23866, 751, 12, 4747, 2979, 1016, 1830, 1084, 16, 987, 9487, 3805, 13, 288, 3639, 368, 752, 279, 394, 1089, 1849, 628, 333, 12635, 471, 326, 864, 770, 1084, 3639, 26905, 1016, 1891, 751, 563, 273, 394, 26905, 1016, 1891, 751, 12, 3168, 16, 333, 1769, 3639, 4498, 277, 273, 9487, 3805, 18, 9838, 5621, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 368, 866, 777, 9487, 2703, 309, 2898, 845, 333, 12635, 342, 1084, 5411, 2149, 16451, 1420, 1058, 273, 261, 4747, 16451, 1420, 13, 77, 18, 4285, 5621, 5411, 368, 23567, 2703, 903, 3712, 1240, 279, 3695, 612, 5411, 309, 16051, 3146, 18, 588, 6999, 548, 7675, 291, 2041, 2 ]
StringUtils.printException(t);
StringUtil.printException(t);
public static void main(String[] args) { int exitStatus = 0; Process process = null; SerialPort port = null; InputStream in = null; OutputStream out = null; try { String options[] = { "baud:", "color:", "config:", "device:", "flow:", "help", "list", "simple", "size:", "verbose", "wait", "version" }; Options opt = Options.parse(args, options); if (opt.isSet("help")) { String helpText = "Usage: java -jar gmptogtp.jar [options]\n" + "\n" + "-baud speed of serial device (default 2400)\n" + "-color color (black|white)\n" + "-config config file\n" + "-device serial device file\n" + "-flow flow control (none|rtscts(default)|xonxoff)\n" + "-help display this help and exit\n" + "-list list serial devices and exit\n" + "-simple use simple version of the protocol\n" + "-size board size\n" + "-verbose print logging messages\n" + "-version print version and exit\n" + "-wait wait for first newgame command\n"; System.out.print(helpText); return; } if (opt.isSet("version")) { System.out.println("GmpToGtp " + Version.get()); return; } if (opt.isSet("list")) { listDevices(); return; } String color = opt.getString("color", ""); if (! color.equals("") && ! color.equalsIgnoreCase("black") && ! color.equalsIgnoreCase("white")) throw new Exception("invalid color"); String device = opt.getString("device", ""); int size = opt.getInteger("size", GoPoint.DEFAULT_SIZE); if (size < 1 || size > 22) throw new Exception("invalid size"); int baud = opt.getInteger("baud", 2400); if (baud <= 0) throw new Exception("invalid baud value"); boolean verbose = opt.isSet("verbose"); boolean simple = opt.isSet("simple"); boolean wait = opt.isSet("wait"); String program = null; ArrayList arguments = opt.getArguments(); if (arguments.size() == 1) program = (String)arguments.get(0); else if (arguments.size() > 1) { System.err.println("Only one program argument allowed"); System.exit(-1); } else if (device.equals("")) { System.err.println("Missing program argument"); System.exit(-1); } String title = "Go Modem "; String flow = opt.getString("flow", "rtscts"); if (device.equals("")) { Runtime runtime = Runtime.getRuntime(); process = runtime.exec(StringUtils.splitArguments(program)); Thread stdErrThread = new ProcessUtils.StdErrThread(process); stdErrThread.start(); title = title + program; in = process.getInputStream(); out = process.getOutputStream(); } else { port = openPort(device, baud, flow); title = title + device; in = port.getInputStream(); out = port.getOutputStream(); } int colorIndex = 0; if (! color.equals("")) { if (color.equalsIgnoreCase("black")) colorIndex = 1; else if (color.equalsIgnoreCase("white")) colorIndex = 2; } GmpToGtp gmpToGtp = new GmpToGtp(title, in, out, verbose, size, colorIndex, wait, simple); gmpToGtp.mainLoop(System.in, System.out); } catch (Throwable t) { StringUtils.printException(t); exitStatus = -1; } finally { try { if (in != null) in.close(); if (out != null) out.close(); } catch (IOException e) { StringUtils.printException(e); } if (process != null) { process.destroy(); try { process.waitFor(); } catch (InterruptedException e) { System.err.println("Interrupted"); } } if (port != null) port.close(); } System.exit(exitStatus); }
48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/1f50ffb219183ddaf94720a4aba453e11f412425/Main.java/clean/src/net/sf/gogui/gmptogtp/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 565, 288, 3639, 509, 2427, 1482, 273, 374, 31, 3639, 4389, 1207, 273, 446, 31, 3639, 7366, 2617, 1756, 273, 446, 31, 3639, 5037, 316, 273, 446, 31, 3639, 8962, 596, 273, 446, 31, 3639, 775, 3639, 288, 5411, 514, 702, 8526, 273, 288, 7734, 315, 12124, 1100, 2773, 16, 7734, 315, 3266, 2773, 16, 7734, 315, 1425, 2773, 16, 7734, 315, 5964, 2773, 16, 7734, 315, 2426, 2773, 16, 7734, 315, 5201, 3113, 7734, 315, 1098, 3113, 7734, 315, 9647, 3113, 7734, 315, 1467, 2773, 16, 7734, 315, 11369, 3113, 7734, 315, 7048, 3113, 7734, 315, 1589, 6, 5411, 289, 31, 5411, 5087, 2153, 273, 5087, 18, 2670, 12, 1968, 16, 702, 1769, 5411, 309, 261, 3838, 18, 291, 694, 2932, 5201, 6, 3719, 5411, 288, 7734, 514, 2809, 1528, 273, 10792, 315, 5357, 30, 2252, 300, 11930, 14125, 337, 717, 6834, 18, 11930, 306, 2116, 13944, 82, 6, 397, 10792, 1548, 82, 6, 397, 10792, 3701, 12124, 1100, 565, 8632, 434, 2734, 2346, 261, 1886, 4248, 713, 5153, 82, 6, 397, 10792, 3701, 3266, 282, 2036, 261, 11223, 96, 14739, 5153, 82, 6, 397, 10792, 3701, 1425, 225, 642, 585, 64, 82, 6, 397, 10792, 3701, 5964, 225, 2734, 2346, 585, 64, 82, 6, 397, 10792, 3701, 2426, 565, 4693, 3325, 261, 6102, 96, 86, 3428, 299, 87, 12, 1886, 14047, 92, 265, 92, 3674, 5153, 82, 6, 397, 10792, 3701, 5201, 565, 2562, 333, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 565, 288, 3639, 509, 2427, 1482, 273, 374, 31, 3639, 4389, 1207, 273, 446, 31, 3639, 7366, 2617, 1756, 273, 446, 31, 3639, 5037, 316, 273, 446, 31, 3639, 8962, 596, 273, 446, 31, 3639, 775, 3639, 288, 5411, 514, 702, 8526, 273, 288, 7734, 315, 12124, 1100, 2773, 16, 7734, 315, 3266, 2773, 16, 7734, 315, 1425, 2773, 16, 7734, 315, 5964, 2773, 16, 7734, 315, 2426, 2773, 16, 7734, 315, 5201, 3113, 7734, 315, 1098, 3113, 7734, 315, 9647, 3113, 7734, 315, 1467, 2773, 16, 7734, 315, 11369, 3113, 7734, 315, 7048, 3113, 7734, 315, 1589, 6, 5411, 289, 31, 5411, 5087, 2153, 273, 5087, 18, 2670, 2 ]
public LocalFSFileOutputStream(File f) throws IOException { this.fos = new FileOutputStream(f);
public LocalFSFileOutputStream(Path f) throws IOException { this.fos = new FileOutputStream(pathToFile(f));
public LocalFSFileOutputStream(File f) throws IOException { this.fos = new FileOutputStream(f); }
53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/ee01fef4b4fb82c7492a4a747793839a4d14cd39/LocalFileSystem.java/buggy/src/java/org/apache/hadoop/fs/LocalFileSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 3566, 4931, 812, 4632, 12, 812, 284, 13, 1216, 1860, 288, 3639, 333, 18, 5075, 273, 394, 12942, 12, 74, 1769, 1377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 3566, 4931, 812, 4632, 12, 812, 284, 13, 1216, 1860, 288, 3639, 333, 18, 5075, 273, 394, 12942, 12, 74, 1769, 1377, 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 ]
locusTokens.nextToken(); saveSeqAnno2(GenbankFormat.LOCUS_TAG, locusTokens.nextToken()); saveSeqAnno2(GenbankFormat.SIZE_TAG, locusTokens.nextToken()); locusTokens.nextToken(); String strandString = locusTokens.nextToken(); StringTokenizer strandTokens = new StringTokenizer(strandString, "-"); if(strandTokens.countTokens() > 1) { saveSeqAnno2(GenbankFormat.STRAND_NUMBER_TAG, strandTokens.nextToken()); } saveSeqAnno2(GenbankFormat.TYPE_TAG, strandTokens.nextToken()); saveSeqAnno2(GenbankFormat.CIRCULAR_TAG, locusTokens.nextToken()); saveSeqAnno2(GenbankFormat.DIVISION_TAG, locusTokens.nextToken()); saveSeqAnno2(GenbankFormat.DATE_TAG, locusTokens.nextToken());
private void parseLocusLinePost127(String theLine) throws ParseException { if (theLine.length() < 79) { throw new ParseException("LOCUS line too short [" + theLine + "]"); } StringTokenizer locusTokens = new StringTokenizer(theLine); if(locusTokens.countTokens() != 8) { throw new ParseException("LOCUS line incorrectly tokenized [" + theLine + "]"); } // LOCUS tag; not stored locusTokens.nextToken(); // Locus name saveSeqAnno2(GenbankFormat.LOCUS_TAG, locusTokens.nextToken()); // Sequence length saveSeqAnno2(GenbankFormat.SIZE_TAG, locusTokens.nextToken()); // "bp"; not stored locusTokens.nextToken(); // Strand information // Both the strand and type are in the same token. The strand // information is an optional part, so this is a bit hairy String strandString = locusTokens.nextToken(); StringTokenizer strandTokens = new StringTokenizer(strandString, "-"); if(strandTokens.countTokens() > 1) { saveSeqAnno2(GenbankFormat.STRAND_NUMBER_TAG, strandTokens.nextToken()); } saveSeqAnno2(GenbankFormat.TYPE_TAG, strandTokens.nextToken()); // Circularity saveSeqAnno2(GenbankFormat.CIRCULAR_TAG, locusTokens.nextToken()); // Division code saveSeqAnno2(GenbankFormat.DIVISION_TAG, locusTokens.nextToken()); // Date in dd-MMM-yyyy format saveSeqAnno2(GenbankFormat.DATE_TAG, locusTokens.nextToken()); }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/61b3a9a0f878db0e3ffd8a884fe3b31433ee5d61/GenbankFormat.java/buggy/src/org/biojava/bio/seq/io/GenbankFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1109, 1333, 407, 1670, 3349, 14260, 12, 780, 326, 1670, 13, 377, 202, 15069, 10616, 565, 288, 202, 202, 430, 261, 5787, 1670, 18, 2469, 1435, 411, 26517, 13, 202, 202, 95, 1082, 202, 12849, 394, 10616, 2932, 29450, 3378, 980, 4885, 3025, 8247, 397, 326, 1670, 397, 9870, 1769, 202, 202, 97, 202, 202, 780, 10524, 22896, 5157, 273, 394, 16370, 12, 5787, 1670, 1769, 202, 202, 430, 12, 1829, 407, 5157, 18, 1883, 5157, 1435, 480, 1725, 13, 202, 202, 95, 1082, 202, 12849, 394, 10616, 2932, 29450, 3378, 980, 25621, 26073, 8247, 397, 326, 1670, 397, 9870, 1769, 202, 202, 97, 202, 202, 759, 1806, 39, 3378, 1047, 31, 486, 4041, 202, 202, 1829, 407, 5157, 18, 4285, 1345, 5621, 202, 202, 759, 2851, 407, 508, 202, 202, 5688, 6926, 22610, 22, 12, 7642, 10546, 1630, 18, 29450, 3378, 67, 7927, 16, 22896, 5157, 18, 4285, 1345, 10663, 202, 202, 759, 8370, 769, 202, 202, 5688, 6926, 22610, 22, 12, 7642, 10546, 1630, 18, 4574, 67, 7927, 16, 22896, 5157, 18, 4285, 1345, 10663, 202, 202, 759, 315, 17152, 14432, 486, 4041, 202, 202, 1829, 407, 5157, 18, 4285, 1345, 5621, 202, 202, 759, 3978, 464, 1779, 202, 202, 759, 19118, 326, 16706, 471, 618, 854, 316, 326, 1967, 1147, 18, 225, 1021, 16706, 202, 202, 759, 1779, 353, 392, 3129, 1087, 16, 1427, 333, 353, 279, 2831, 366, 1826, 93, 202, 202, 780, 16706, 780, 273, 22896, 5157, 18, 4285, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1109, 1333, 407, 1670, 3349, 14260, 12, 780, 326, 1670, 13, 377, 202, 15069, 10616, 565, 288, 202, 202, 430, 261, 5787, 1670, 18, 2469, 1435, 411, 26517, 13, 202, 202, 95, 1082, 202, 12849, 394, 10616, 2932, 29450, 3378, 980, 4885, 3025, 8247, 397, 326, 1670, 397, 9870, 1769, 202, 202, 97, 202, 202, 780, 10524, 22896, 5157, 273, 394, 16370, 12, 5787, 1670, 1769, 202, 202, 430, 12, 1829, 407, 5157, 18, 1883, 5157, 1435, 480, 1725, 13, 202, 202, 95, 1082, 202, 12849, 394, 10616, 2932, 29450, 3378, 980, 25621, 26073, 8247, 397, 326, 1670, 397, 9870, 1769, 202, 202, 97, 202, 202, 759, 1806, 39, 3378, 1047, 31, 486, 4041, 202, 202, 2 ]
if (rootLocation.equals(Platform.getLocation())) newDescription.setLocation(null); else newDescription.setLocation(rootLocation);
if (rootLocation.equals(Platform.getLocation())) { newDescription.setLocation(null); } else { newDescription.setLocation(rootLocation); }
private IProjectDescription createProjectDescription(IProject project, String projectName, IPath rootLocation) throws CoreException { //Get a copy of the current description and modify it IProjectDescription newDescription = project.getDescription(); newDescription.setName(projectName); //If the location is the default then set the location to null if (rootLocation.equals(Platform.getLocation())) newDescription.setLocation(null); else newDescription.setLocation(rootLocation); return newDescription; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/CopyProjectOperation.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyProjectOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 467, 4109, 3291, 752, 4109, 3291, 12, 45, 4109, 1984, 16, 5411, 514, 17234, 16, 467, 743, 1365, 2735, 13, 1216, 30015, 288, 3639, 368, 967, 279, 1610, 434, 326, 783, 2477, 471, 5612, 518, 3639, 467, 4109, 3291, 394, 3291, 273, 1984, 18, 588, 3291, 5621, 3639, 394, 3291, 18, 542, 461, 12, 4406, 461, 1769, 3639, 368, 2047, 326, 2117, 353, 326, 805, 1508, 444, 326, 2117, 358, 446, 3639, 309, 261, 3085, 2735, 18, 14963, 12, 8201, 18, 588, 2735, 1435, 3719, 5411, 394, 3291, 18, 542, 2735, 12, 2011, 1769, 3639, 469, 5411, 394, 3291, 18, 542, 2735, 12, 3085, 2735, 1769, 3639, 327, 394, 3291, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 467, 4109, 3291, 752, 4109, 3291, 12, 45, 4109, 1984, 16, 5411, 514, 17234, 16, 467, 743, 1365, 2735, 13, 1216, 30015, 288, 3639, 368, 967, 279, 1610, 434, 326, 783, 2477, 471, 5612, 518, 3639, 467, 4109, 3291, 394, 3291, 273, 1984, 18, 588, 3291, 5621, 3639, 394, 3291, 18, 542, 461, 12, 4406, 461, 1769, 3639, 368, 2047, 326, 2117, 353, 326, 805, 1508, 444, 326, 2117, 358, 446, 3639, 309, 261, 3085, 2735, 18, 14963, 12, 8201, 18, 588, 2735, 1435, 3719, 5411, 394, 3291, 18, 542, 2735, 12, 2011, 1769, 3639, 469, 5411, 394, 3291, 18, 542, 2735, 12, 3085, 2735, 1769, 3639, 327, 394, 3291, 31, 565, 289, 2, -100, -100, -100, -100 ]
public void loadScript( RubyString scriptName, RubyString source, boolean wrap) {
public void loadScript(RubyString scriptName, RubyString source, boolean wrap) {
public void loadScript( RubyString scriptName, RubyString source, boolean wrap) { RubyObject self = ruby.getRubyTopSelf(); CRefNode savedCRef = ruby.getCRef(); // TMP_PROTECT; if (wrap && ruby.getSecurityLevel() >= 4) { // Check_Type(fname, T_STRING); } else { // Check_SafeStr(fname); } // volatile ID last_func; // ruby_errinfo = Qnil; /* ensure */ RubyVarmap.push(ruby); ruby.pushClass(); RubyModule wrapper = ruby.getWrapper(); ruby.setCRef(ruby.getTopCRef()); if (!wrap) { ruby.secure(4); /* should alter global state */ ruby.setRubyClass(ruby.getClasses().getObjectClass()); ruby.setWrapper(null); } else { /* load in anonymous module as toplevel */ ruby.setWrapper(RubyModule.m_newModule(ruby)); ruby.setRubyClass(ruby.getWrapper()); self = ruby.getRubyTopSelf().m_clone(); self.extendObject(ruby.getRubyClass()); ruby.getCRef().push(ruby.getWrapper()); } ruby.getRubyFrame().push(); ruby.getRubyFrame().setLastFunc(null); ruby.getRubyFrame().setLastClass(null); ruby.getRubyFrame().setSelf(self); ruby.getRubyFrame().setCbase(new CRefNode(ruby.getRubyClass(), null)); ruby.getRubyScope().push(); /* default visibility is private at loading toplevel */ ruby.setActMethodScope(Constants.SCOPE_PRIVATE); RubyId last_func = ruby.getRubyFrame().getLastFunc(); try { // RubyId last_func = ruby.getRubyFrame().getLastFunc(); // DEFER_INTS; ruby.setInEval(ruby.getInEval() + 1); ruby.getRubyParser().compileString(scriptName.getValue(), source, 0); // --- ruby.setInEval(ruby.getInEval() - 1); self.evalNode(ruby.getParserHelper().getEvalTree()); } catch (Exception excptn) { excptn.printStackTrace(getErrorStream()); } finally { ruby.getRubyFrame().setLastFunc(last_func); /*if (ruby.getRubyScope().getFlags() == SCOPE_ALLOCA && ruby.getRubyClass() == ruby.getClasses().getObjectClass()) { if (ruby_scope->local_tbl) free(ruby_scope->local_tbl); }*/ ruby.setCRef(savedCRef); ruby.getRubyScope().pop(); ruby.getRubyFrame().pop(); ruby.popClass(); RubyVarmap.pop(ruby); ruby.setWrapper(wrapper); } /*if (ruby_nerrs > 0) { ruby_nerrs = 0; rb_exc_raise(ruby_errinfo); }*/ }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/ec719ef82be7ea6956b3d139a2ce2d236eed4568/RubyRuntime.java/clean/org/jruby/runtime/RubyRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 3651, 12, 3639, 19817, 780, 31008, 16, 3639, 19817, 780, 1084, 16, 3639, 1250, 2193, 13, 288, 3639, 19817, 921, 365, 273, 22155, 18, 588, 54, 10340, 3401, 10084, 5621, 3639, 385, 1957, 907, 5198, 39, 1957, 273, 22155, 18, 588, 39, 1957, 5621, 3639, 368, 399, 4566, 67, 3373, 1448, 1268, 31, 3639, 309, 261, 4113, 597, 22155, 18, 588, 4368, 2355, 1435, 1545, 1059, 13, 288, 5411, 368, 2073, 67, 559, 12, 12749, 16, 399, 67, 5804, 1769, 3639, 289, 469, 288, 5411, 368, 2073, 67, 9890, 1585, 12, 12749, 1769, 3639, 289, 3639, 368, 31548, 1599, 1142, 67, 644, 31, 3639, 368, 22155, 67, 370, 1376, 273, 2238, 20154, 31, 1748, 3387, 1195, 3639, 19817, 1537, 1458, 18, 6206, 12, 27768, 1769, 3639, 22155, 18, 6206, 797, 5621, 3639, 19817, 3120, 4053, 273, 22155, 18, 588, 3611, 5621, 3639, 22155, 18, 542, 39, 1957, 12, 27768, 18, 588, 3401, 39, 1957, 10663, 3639, 309, 16051, 4113, 13, 288, 5411, 22155, 18, 8869, 12, 24, 1769, 1748, 1410, 10182, 2552, 919, 1195, 5411, 22155, 18, 542, 54, 10340, 797, 12, 27768, 18, 588, 4818, 7675, 588, 921, 797, 10663, 5411, 22155, 18, 542, 3611, 12, 2011, 1769, 3639, 289, 469, 288, 5411, 1748, 1262, 316, 13236, 1605, 487, 28999, 1195, 5411, 22155, 18, 542, 3611, 12, 54, 10340, 3120, 18, 81, 67, 2704, 3120, 12, 27768, 10019, 5411, 22155, 18, 542, 54, 10340, 797, 12, 27768, 18, 588, 3611, 10663, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 3651, 12, 3639, 19817, 780, 31008, 16, 3639, 19817, 780, 1084, 16, 3639, 1250, 2193, 13, 288, 3639, 19817, 921, 365, 273, 22155, 18, 588, 54, 10340, 3401, 10084, 5621, 3639, 385, 1957, 907, 5198, 39, 1957, 273, 22155, 18, 588, 39, 1957, 5621, 3639, 368, 399, 4566, 67, 3373, 1448, 1268, 31, 3639, 309, 261, 4113, 597, 22155, 18, 588, 4368, 2355, 1435, 1545, 1059, 13, 288, 5411, 368, 2073, 67, 559, 12, 12749, 16, 399, 67, 5804, 1769, 3639, 289, 469, 288, 5411, 368, 2073, 67, 9890, 1585, 12, 12749, 1769, 3639, 289, 3639, 368, 31548, 1599, 1142, 67, 644, 31, 3639, 368, 22155, 67, 370, 1376, 273, 2238, 20154, 31, 1748, 3387, 2 ]
}
}
void setDefaultZT(int t, int z, int sizeT, int sizeZ) { ToolBarManager tbm = toolBar.getManager(); tbm.onTChange(t); tbm.onZChange(z); int maxZ = sizeZ-1; int maxT = sizeT-1; tbm.setMaxT(maxT); tbm.setMaxZ(maxZ); toolBar.getZLabel().setText("/"+maxZ); toolBar.getTLabel().setText("/"+maxT); resetSliders(maxT, t, maxZ, z); boolean bT = false, bZ = false; if (maxT != 0) bT = true; if (maxZ != 0) bZ = true; toolBar.getTField().setEditable(bT); toolBar.getZField().setEditable(bZ); toolBar.getViewer3D().setEnabled(bZ); viewer3DItem.setEnabled(bZ); if (bZ && bT) movieItem.setEnabled(true); }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/a81a5a58f8e54d006d057455465766c8d3d72998/ViewerUIF.java/clean/SRC/org/openmicroscopy/shoola/agents/viewer/ViewerUIF.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 9277, 62, 56, 12, 474, 268, 16, 509, 998, 16, 509, 963, 56, 16, 509, 963, 62, 13, 202, 95, 202, 202, 6364, 5190, 1318, 8739, 81, 273, 5226, 5190, 18, 588, 1318, 5621, 202, 202, 18587, 81, 18, 265, 56, 3043, 12, 88, 1769, 202, 202, 18587, 81, 18, 265, 62, 3043, 12, 94, 1769, 202, 202, 474, 943, 62, 273, 963, 62, 17, 21, 31, 202, 202, 474, 943, 56, 273, 963, 56, 17, 21, 31, 202, 202, 18587, 81, 18, 542, 2747, 56, 12, 1896, 56, 1769, 202, 202, 18587, 81, 18, 542, 2747, 62, 12, 1896, 62, 1769, 202, 202, 6738, 5190, 18, 588, 62, 2224, 7675, 542, 1528, 2932, 4898, 15, 1896, 62, 1769, 202, 202, 6738, 5190, 18, 588, 56, 2224, 7675, 542, 1528, 2932, 4898, 15, 1896, 56, 1769, 202, 202, 6208, 3738, 24290, 12, 1896, 56, 16, 268, 16, 943, 62, 16, 998, 1769, 9506, 202, 6494, 324, 56, 273, 629, 16, 324, 62, 273, 629, 31, 202, 202, 430, 261, 1896, 56, 480, 374, 13, 324, 56, 273, 638, 31, 202, 202, 430, 261, 1896, 62, 480, 374, 13, 324, 62, 273, 638, 31, 9506, 202, 6738, 5190, 18, 588, 56, 974, 7675, 542, 15470, 12, 70, 56, 1769, 202, 202, 6738, 5190, 18, 588, 62, 974, 7675, 542, 15470, 12, 70, 62, 1769, 202, 202, 6738, 5190, 18, 588, 18415, 23, 40, 7675, 542, 1526, 12, 70, 62, 1769, 202, 202, 25256, 23, 40, 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, 6459, 9277, 62, 56, 12, 474, 268, 16, 509, 998, 16, 509, 963, 56, 16, 509, 963, 62, 13, 202, 95, 202, 202, 6364, 5190, 1318, 8739, 81, 273, 5226, 5190, 18, 588, 1318, 5621, 202, 202, 18587, 81, 18, 265, 56, 3043, 12, 88, 1769, 202, 202, 18587, 81, 18, 265, 62, 3043, 12, 94, 1769, 202, 202, 474, 943, 62, 273, 963, 62, 17, 21, 31, 202, 202, 474, 943, 56, 273, 963, 56, 17, 21, 31, 202, 202, 18587, 81, 18, 542, 2747, 56, 12, 1896, 56, 1769, 202, 202, 18587, 81, 18, 542, 2747, 62, 12, 1896, 62, 1769, 202, 202, 6738, 5190, 18, 588, 62, 2224, 7675, 542, 1528, 2932, 4898, 15, 2 ]
cfw.addInvoke(ByteCode.INVOKEVIRTUAL, generatedClassName, "initScript", "(Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Context;" +")V");
cfw.addInvoke(ByteCode.INVOKEVIRTUAL, cfw.getClassName(), "initScript", SCRIPT_INIT_SIGNATURE);
private void generateExecute(Context cx) { cfw.startMethod("exec", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;", (short)(ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_FINAL)); final byte ALOAD_CONTEXT = ByteCode.ALOAD_1; final byte ALOAD_SCOPE = ByteCode.ALOAD_2; // to begin a script, call the initScript method cfw.add(ByteCode.ALOAD_0); // load 'this' cfw.add(ALOAD_SCOPE); cfw.add(ALOAD_CONTEXT); cfw.addInvoke(ByteCode.INVOKEVIRTUAL, generatedClassName, "initScript", "(Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Context;" +")V"); cfw.add(ByteCode.ALOAD_0); // load 'this' cfw.add(ALOAD_CONTEXT); cfw.add(ALOAD_SCOPE); cfw.add(ByteCode.DUP); cfw.add(ByteCode.ACONST_NULL); cfw.addInvoke(ByteCode.INVOKEVIRTUAL, generatedClassName, "call", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Scriptable;" +"[Ljava/lang/Object;" +")Ljava/lang/Object;"); cfw.add(ByteCode.ARETURN); // 3 = this + context + scope cfw.stopMethod((short)3, null); }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/7de4ae25f0fd144cbc3ddabc47e7a327a747af5a/Codegen.java/buggy/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 5289, 12, 1042, 9494, 13, 565, 288, 3639, 6080, 91, 18, 1937, 1305, 2932, 4177, 3113, 17311, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 4868, 17311, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 17311, 397, 7923, 21159, 19, 4936, 19, 921, 31, 3113, 17311, 261, 6620, 21433, 797, 812, 2289, 18, 31414, 67, 14939, 4766, 1377, 571, 30614, 2289, 18, 31414, 67, 7263, 1013, 10019, 3639, 727, 1160, 432, 7783, 67, 13181, 273, 3506, 1085, 18, 1013, 51, 1880, 67, 21, 31, 3639, 727, 1160, 432, 7783, 67, 19444, 273, 3506, 1085, 18, 1013, 51, 1880, 67, 22, 31, 3639, 368, 358, 2376, 279, 2728, 16, 745, 326, 1208, 3651, 707, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 368, 1262, 296, 2211, 11, 3639, 6080, 91, 18, 1289, 12, 1013, 51, 1880, 67, 19444, 1769, 3639, 6080, 91, 18, 1289, 12, 1013, 51, 1880, 67, 13181, 1769, 3639, 6080, 91, 18, 1289, 10969, 12, 3216, 1085, 18, 706, 17691, 41, 26854, 16, 8227, 4374, 3834, 16, 8227, 315, 2738, 3651, 3113, 8227, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 8227, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 4868, 8227, 397, 7923, 58, 8863, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 368, 1262, 296, 2211, 11, 3639, 6080, 91, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 5289, 12, 1042, 9494, 13, 565, 288, 3639, 6080, 91, 18, 1937, 1305, 2932, 4177, 3113, 17311, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 4868, 17311, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 17311, 397, 7923, 21159, 19, 4936, 19, 921, 31, 3113, 17311, 261, 6620, 21433, 797, 812, 2289, 18, 31414, 67, 14939, 4766, 1377, 571, 30614, 2289, 18, 31414, 67, 7263, 1013, 10019, 3639, 727, 1160, 432, 7783, 67, 13181, 273, 3506, 1085, 18, 1013, 51, 1880, 67, 21, 31, 3639, 727, 1160, 432, 7783, 67, 19444, 273, 3506, 1085, 18, 1013, 51, 1880, 67, 22, 31, 3639, 368, 358, 2376, 279, 2728, 16, 2 ]
refs.add(new AntPropertyReference(this, result, propName,
refs.add(new AntPropertyReference(this, element, propName,
private void getAttributeReferences(final AntElement element, final XmlAttribute attr, final List<PsiReference> refs) { if (element == null) return; final String value = attr.getValue(); final int offsetInPosition = attr.getValueElement().getTextRange().getStartOffset() - element.getTextRange().getStartOffset() + 1; int startIndex; int endIndex = -1; while ((startIndex = value.indexOf("${", endIndex + 1)) > endIndex) { endIndex = value.indexOf('}', startIndex); if (endIndex < 0) break; startIndex += 2; if (endIndex > startIndex) { final String propName = value.substring(startIndex, endIndex - startIndex); AntElement temp = element; AntProperty result = null; while (temp != null && (result = temp.getProperty(propName)) == null) { temp = temp.getAntParent(); } if (result != null) { refs.add(new AntPropertyReference(this, result, propName, new TextRange(offsetInPosition + startIndex, offsetInPosition + endIndex), attr)); } } } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/8f621ad387becfe33317a27613c7e45f3128b94b/AntPropertyValueReferenceProvider.java/clean/plugins/ant/src/com/intellij/lang/ant/psi/impl/reference/providers/AntPropertyValueReferenceProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 4061, 8221, 12, 6385, 18830, 1046, 930, 16, 727, 5714, 1499, 1604, 16, 727, 987, 32, 52, 7722, 2404, 34, 9047, 13, 288, 565, 309, 261, 2956, 422, 446, 13, 327, 31, 565, 727, 514, 460, 273, 1604, 18, 24805, 5621, 565, 727, 509, 1384, 382, 2555, 273, 1604, 18, 24805, 1046, 7675, 588, 1528, 2655, 7675, 588, 1685, 2335, 1435, 300, 930, 18, 588, 1528, 2655, 7675, 588, 1685, 2335, 1435, 397, 404, 31, 565, 509, 10588, 31, 565, 509, 13818, 273, 300, 21, 31, 565, 1323, 14015, 1937, 1016, 273, 460, 18, 31806, 2932, 18498, 3113, 13818, 397, 404, 3719, 405, 13818, 13, 288, 1377, 13818, 273, 460, 18, 31806, 2668, 24259, 10588, 1769, 1377, 309, 261, 409, 1016, 411, 374, 13, 898, 31, 1377, 10588, 1011, 576, 31, 1377, 309, 261, 409, 1016, 405, 10588, 13, 288, 3639, 727, 514, 9994, 273, 460, 18, 28023, 12, 1937, 1016, 16, 13818, 300, 10588, 1769, 3639, 18830, 1046, 1906, 273, 930, 31, 3639, 18830, 1396, 563, 273, 446, 31, 3639, 1323, 261, 5814, 480, 446, 597, 261, 2088, 273, 1906, 18, 588, 1396, 12, 5986, 461, 3719, 422, 446, 13, 288, 1850, 1906, 273, 1906, 18, 588, 14925, 3054, 5621, 3639, 289, 3639, 309, 261, 2088, 480, 446, 13, 288, 1850, 9047, 18, 1289, 12, 2704, 18830, 1396, 2404, 12, 2211, 16, 930, 16, 9994, 16, 4766, 5411, 394, 3867, 2655, 12, 3348, 382, 2555, 397, 10588, 16, 1384, 382, 2555, 397, 13818, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 4061, 8221, 12, 6385, 18830, 1046, 930, 16, 727, 5714, 1499, 1604, 16, 727, 987, 32, 52, 7722, 2404, 34, 9047, 13, 288, 565, 309, 261, 2956, 422, 446, 13, 327, 31, 565, 727, 514, 460, 273, 1604, 18, 24805, 5621, 565, 727, 509, 1384, 382, 2555, 273, 1604, 18, 24805, 1046, 7675, 588, 1528, 2655, 7675, 588, 1685, 2335, 1435, 300, 930, 18, 588, 1528, 2655, 7675, 588, 1685, 2335, 1435, 397, 404, 31, 565, 509, 10588, 31, 565, 509, 13818, 273, 300, 21, 31, 565, 1323, 14015, 1937, 1016, 273, 460, 18, 31806, 2932, 18498, 3113, 13818, 397, 404, 3719, 405, 13818, 13, 288, 1377, 13818, 273, 460, 18, 31806, 2668, 24259, 10588, 1769, 2 ]
case 133:
public final void parenthesizedExpr() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST parenthesizedExpr_AST = null; org.exist.xquery.parser.XQueryAST e_AST = null; match(LPAREN); { switch ( LA(1)) { case LPAREN: case NCNAME: case LITERAL_module: case LITERAL_namespace: case STRING_LITERAL: case XQUERY: case VERSION: case LITERAL_default: case LITERAL_function: case LITERAL_variable: case LITERAL_element: case DOLLAR: case LITERAL_import: case LITERAL_at: case LITERAL_as: case LITERAL_empty: case STAR: case PLUS: case LITERAL_item: case LITERAL_for: case LITERAL_let: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_order: case LITERAL_by: case LITERAL_then: case LITERAL_else: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LT: case LITERAL_is: case LITERAL_isnot: case MINUS: case LITERAL_div: case LITERAL_mod: case LITERAL_union: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 123: case 124: case LITERAL_parent: case LITERAL_ancestor: case 127: case 128: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case LITERAL_comment: case 133: case 134: case XML_PI: case LITERAL_document: case LITERAL_collection: { expr(); e_AST = (org.exist.xquery.parser.XQueryAST)returnAST; astFactory.addASTChild(currentAST, returnAST); break; } case RPAREN: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } match(RPAREN); if ( inputState.guessing==0 ) { parenthesizedExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; parenthesizedExpr_AST= (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(PARENTHESIZED,"Parenthesized")).add(e_AST)); currentAST.root = parenthesizedExpr_AST; currentAST.child = parenthesizedExpr_AST!=null &&parenthesizedExpr_AST.getFirstChild()!=null ? parenthesizedExpr_AST.getFirstChild() : parenthesizedExpr_AST; currentAST.advanceChildToEnd(); } parenthesizedExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = parenthesizedExpr_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/b97968ea5c7509390e358e4f2e731907b80df01b/XQueryParser.java/clean/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 15231, 1235, 4742, 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, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 15231, 1235, 4742, 67, 9053, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 425, 67, 9053, 273, 446, 31, 9506, 202, 1916, 12, 48, 15111, 1769, 202, 202, 95, 202, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 15111, 30, 202, 202, 3593, 423, 39, 1985, 30, 202, 202, 3593, 511, 18454, 67, 2978, 30, 202, 202, 3593, 511, 18454, 67, 4937, 30, 202, 202, 3593, 9469, 67, 23225, 30, 202, 202, 3593, 1139, 10753, 30, 202, 202, 3593, 8456, 30, 202, 202, 3593, 511, 18454, 67, 1886, 30, 202, 202, 3593, 511, 18454, 67, 915, 30, 202, 202, 3593, 511, 18454, 67, 6105, 30, 202, 202, 3593, 511, 18454, 67, 2956, 30, 202, 202, 3593, 463, 30922, 985, 30, 202, 202, 3593, 511, 18454, 67, 5666, 30, 202, 202, 3593, 511, 18454, 67, 270, 30, 202, 202, 3593, 511, 18454, 67, 345, 30, 202, 202, 3593, 511, 18454, 67, 5531, 30, 202, 202, 3593, 21807, 30, 202, 202, 3593, 22443, 3378, 30, 202, 202, 3593, 511, 18454, 67, 1726, 30, 202, 202, 3593, 511, 18454, 67, 1884, 30, 202, 202, 3593, 511, 18454, 67, 1810, 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, 15231, 1235, 4742, 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, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 15231, 1235, 4742, 67, 9053, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 425, 67, 9053, 273, 446, 31, 9506, 202, 1916, 12, 48, 15111, 1769, 202, 202, 95, 202, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 15111, 30, 202, 202, 3593, 423, 39, 1985, 30, 202, 202, 3593, 511, 18454, 67, 2978, 30, 202, 202, 3593, 2 ]
LOG.info("[Spring] Scaffolding disabled for controller ["+simpleControllers[i].getFullName()+"], no equivalent domain class named ["+simpleControllers[i].getName()+"]");
LOG.debug("[RuntimeConfiguration] Scaffolding disabled for controller ["+simpleControllers[i].getFullName()+"], no equivalent domain class named ["+simpleControllers[i].getName()+"]");
private void populateScaffoldingReferences(RuntimeSpringConfiguration springConfig) { // go through all the controllers GrailsControllerClass[] simpleControllers = application.getControllers(); for (int i = 0; i < simpleControllers.length; i++) { // retrieve appropriate domain class Class scaffoldedClass = simpleControllers[i].getScaffoldedClass(); GrailsDomainClass domainClass; if(scaffoldedClass == null) { domainClass = application.getGrailsDomainClass(simpleControllers[i].getName()); if(domainClass != null) { scaffoldedClass = domainClass.getClazz(); } } if(scaffoldedClass == null) { LOG.info("[Spring] Scaffolding disabled for controller ["+simpleControllers[i].getFullName()+"], no equivalent domain class named ["+simpleControllers[i].getName()+"]"); } else { BeanConfiguration scaffolder = springConfig.addSingletonBean(simpleControllers[i].getFullName() + "Scaffolder",DefaultGrailsScaffolder.class); // create scaffold domain Collection constructorArguments = new ManagedList(); constructorArguments.add(scaffoldedClass.getName()); constructorArguments.add(new RuntimeBeanReference(SESSION_FACTORY_BEAN)); springConfig .addSingletonBean( scaffoldedClass.getName() + "ScaffoldDomain", GrailsScaffoldDomain.class, constructorArguments ); // create and configure request handler BeanConfiguration requestHandler = springConfig .createSingletonBean(DefaultScaffoldRequestHandler.class) .addProperty("scaffoldDomain", new RuntimeBeanReference(scaffoldedClass.getName() + "ScaffoldDomain")); // create response factory constructorArguments = new ArrayList(); constructorArguments.add(new RuntimeBeanReference(GrailsApplication.APPLICATION_ID,true)); // configure default response handler BeanConfiguration defaultResponseHandler = springConfig .createSingletonBean(ViewDelegatingScaffoldResponseHandler.class); // configure a simple view delegating resolver BeanConfiguration defaultViewResolver = springConfig .createSingletonBean(DefaultGrailsScaffoldViewResolver.class,constructorArguments); defaultResponseHandler.addProperty("scaffoldViewResolver", defaultViewResolver.getBeanDefinition()); // create constructor arguments response handler factory constructorArguments = new ArrayList(); constructorArguments.add(new RuntimeBeanReference(GrailsApplication.APPLICATION_ID,true)); constructorArguments.add(defaultResponseHandler.getBeanDefinition()); BeanConfiguration responseHandlerFactory = springConfig.createSingletonBean( DefaultGrailsResponseHandlerFactory.class,constructorArguments ); scaffolder.addProperty( "scaffoldResponseHandlerFactory", responseHandlerFactory.getBeanDefinition() ); scaffolder.addProperty("scaffoldRequestHandler", requestHandler.getBeanDefinition()); } } }
55385 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55385/c70680781f92c301d7b9fc3bace8056922e74b46/GrailsRuntimeConfigurator.java/buggy/src/commons/org/codehaus/groovy/grails/commons/spring/GrailsRuntimeConfigurator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 6490, 1541, 14847, 310, 8221, 12, 5576, 55, 11638, 1750, 25974, 809, 13, 288, 202, 202, 759, 1960, 3059, 777, 326, 12403, 202, 202, 14571, 14573, 2933, 797, 8526, 4143, 13745, 273, 2521, 18, 588, 13745, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4143, 13745, 18, 2469, 31, 277, 27245, 288, 5411, 368, 4614, 5505, 2461, 667, 5411, 1659, 888, 7329, 355, 785, 797, 273, 4143, 13745, 63, 77, 8009, 588, 1541, 7329, 355, 785, 797, 5621, 5411, 10812, 14573, 3748, 797, 2461, 797, 31, 5411, 309, 12, 1017, 7329, 355, 785, 797, 422, 446, 13, 288, 7734, 2461, 797, 273, 2521, 18, 588, 14571, 14573, 3748, 797, 12, 9647, 13745, 63, 77, 8009, 17994, 10663, 7734, 309, 12, 4308, 797, 480, 446, 13, 288, 10792, 888, 7329, 355, 785, 797, 273, 2461, 797, 18, 588, 14616, 5621, 7734, 289, 5411, 289, 5411, 309, 12, 1017, 7329, 355, 785, 797, 422, 446, 13, 288, 7734, 2018, 18, 4148, 2932, 63, 5576, 1750, 65, 2850, 14847, 310, 5673, 364, 2596, 8247, 15, 9647, 13745, 63, 77, 8009, 588, 19223, 1435, 9078, 6487, 1158, 7680, 2461, 667, 4141, 8247, 15, 9647, 13745, 63, 77, 8009, 17994, 1435, 9078, 4279, 1769, 5411, 289, 5411, 469, 288, 7734, 7704, 1750, 888, 7329, 1498, 273, 5375, 202, 87, 11638, 809, 18, 1289, 19571, 3381, 12, 9647, 13745, 63, 77, 8009, 588, 19223, 1435, 397, 315, 1541, 7329, 1498, 3113, 1868, 14571, 14573, 1541, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 6490, 1541, 14847, 310, 8221, 12, 5576, 55, 11638, 1750, 25974, 809, 13, 288, 202, 202, 759, 1960, 3059, 777, 326, 12403, 202, 202, 14571, 14573, 2933, 797, 8526, 4143, 13745, 273, 2521, 18, 588, 13745, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4143, 13745, 18, 2469, 31, 277, 27245, 288, 5411, 368, 4614, 5505, 2461, 667, 5411, 1659, 888, 7329, 355, 785, 797, 273, 4143, 13745, 63, 77, 8009, 588, 1541, 7329, 355, 785, 797, 5621, 5411, 10812, 14573, 3748, 797, 2461, 797, 31, 5411, 309, 12, 1017, 7329, 355, 785, 797, 422, 446, 13, 288, 7734, 2461, 797, 273, 2521, 18, 588, 14571, 14573, 3748, 797, 12, 9647, 2 ]
roundReport.append("\n" + entity.getDisplayName() + " is underwater with damaged life support. Mechwarrior takes 1 damage.\n");
roundReport.append("\n" ).append( entity.getDisplayName() ).append( " is underwater with damaged life support. Mechwarrior takes 1 damage.\n");
private void checkForSuffocation() { for (Enumeration i = game.getEntities(); i.hasMoreElements();) { final Entity entity = (Entity)i.nextElement(); if ( null == entity.getPosition() ) { continue; } final Hex curHex = game.board.getHex(entity.getPosition()); if ((curHex.levelOf(Terrain.WATER) > 1 || (curHex.levelOf(Terrain.WATER) == 1 && entity.isProne())) && entity.getHitCriticals(CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_LIFE_SUPPORT, Mech.LOC_HEAD) > 0) { roundReport.append("\n" + entity.getDisplayName() + " is underwater with damaged life support. Mechwarrior takes 1 damage.\n"); damageCrew(entity, 1); } } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/5d0e30fa3cd546d131099baade0769a0a19c983e/Server.java/clean/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 13855, 55, 3809, 4431, 1435, 288, 3639, 364, 261, 21847, 277, 273, 7920, 18, 588, 8108, 5621, 277, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 727, 3887, 1522, 273, 261, 1943, 13, 77, 18, 4285, 1046, 5621, 5411, 309, 261, 446, 422, 1522, 18, 588, 2555, 1435, 262, 288, 7734, 1324, 31, 5411, 289, 5411, 727, 15734, 662, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 1096, 18, 588, 2555, 10663, 5411, 309, 14015, 1397, 7037, 18, 2815, 951, 12, 56, 264, 7596, 18, 59, 13641, 13, 405, 404, 5411, 747, 261, 1397, 7037, 18, 2815, 951, 12, 56, 264, 7596, 18, 59, 13641, 13, 422, 404, 597, 1522, 18, 291, 2050, 476, 1435, 3719, 5411, 597, 1522, 18, 588, 13616, 39, 583, 335, 1031, 12, 30286, 8764, 18, 2399, 67, 14318, 16, 7499, 343, 18, 14318, 67, 2053, 8090, 67, 13272, 6354, 16, 7499, 343, 18, 29450, 67, 12458, 13, 405, 374, 13, 288, 7734, 3643, 4820, 18, 6923, 31458, 82, 6, 262, 18, 6923, 12, 1522, 18, 588, 20524, 1435, 262, 18, 6923, 12, 315, 353, 3613, 91, 2045, 598, 302, 301, 11349, 17140, 2865, 18, 225, 7499, 343, 905, 2432, 5530, 404, 302, 301, 410, 8403, 82, 8863, 7734, 302, 301, 410, 1996, 91, 12, 1096, 16, 404, 1769, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 13855, 55, 3809, 4431, 1435, 288, 3639, 364, 261, 21847, 277, 273, 7920, 18, 588, 8108, 5621, 277, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 727, 3887, 1522, 273, 261, 1943, 13, 77, 18, 4285, 1046, 5621, 5411, 309, 261, 446, 422, 1522, 18, 588, 2555, 1435, 262, 288, 7734, 1324, 31, 5411, 289, 5411, 727, 15734, 662, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 1096, 18, 588, 2555, 10663, 5411, 309, 14015, 1397, 7037, 18, 2815, 951, 12, 56, 264, 7596, 18, 59, 13641, 13, 405, 404, 5411, 747, 261, 1397, 7037, 18, 2815, 951, 12, 56, 264, 7596, 18, 59, 13641, 13, 422, 404, 597, 1522, 18, 291, 2050, 476, 1435, 2 ]
runQueryCheckResult("WITH" + nl + " MEMBER [Time].[1st Half Sales] AS 'Aggregate({Time.[1997].[Q1], Time.[1997].[Q2]})'" + nl + " MEMBER [Time].[2nd Half Sales] AS 'Aggregate({Time.[1997].[Q3], Time.[1997].[Q4]})'" + nl + " MEMBER [Time].[Difference] AS 'Time.[2nd Half Sales] - Time.[1st Half Sales]'" + nl + "SELECT" + nl + " { [Store].[Store State].Members} ON COLUMNS," + nl + " { Time.[1st Half Sales], Time.[2nd Half Sales], Time.[Difference]} ON ROWS" + nl + "FROM Sales" + nl + "WHERE [Measures].[Store Sales]", "Axis #0:" + nl + "{[Measures].[Store Sales]}" + nl + "Axis #1:" + nl + "{[Store].[All Stores].[Canada].[BC]}" + nl + "{[Store].[All Stores].[Mexico].[DF]}" + nl + "{[Store].[All Stores].[Mexico].[Guerrero]}" + nl + "{[Store].[All Stores].[Mexico].[Jalisco]}" + nl + "{[Store].[All Stores].[Mexico].[Veracruz]}" + nl + "{[Store].[All Stores].[Mexico].[Yucatan]}" + nl + "{[Store].[All Stores].[Mexico].[Zacatecas]}" + nl + "{[Store].[All Stores].[USA].[CA]}" + nl + "{[Store].[All Stores].[USA].[OR]}" + nl + "{[Store].[All Stores].[USA].[WA]}" + nl + "Axis #2:" + nl + "{[Time].[1st Half Sales]}" + nl + "{[Time].[2nd Half Sales]}" + nl + "{[Time].[Difference]}" + nl + "Row #0: (null)" + nl + "Row #0: (null)" + nl + "Row #0: (null)" + nl + "Row #0: (null)" + nl + "Row #0: (null)" + nl + "Row #0: (null)" + nl + "Row #0: (null)" + nl + "Row #0: 74,571.95" + nl + "Row #0: 71,943.17" + nl + "Row #0: 125,779.50" + nl + "Row #1: (null)" + nl + "Row #1: (null)" + nl + "Row #1: (null)" + nl + "Row #1: (null)" + nl + "Row #1: (null)" + nl + "Row #1: (null)" + nl + "Row #1: (null)" + nl + "Row #1: 84,595.89" + nl + "Row #1: 70,333.90" + nl + "Row #1: 138,013.72" + nl + "Row #2: (null)" + nl + "Row #2: (null)" + nl + "Row #2: (null)" + nl + "Row #2: (null)" + nl + "Row #2: (null)" + nl + "Row #2: (null)" + nl + "Row #2: (null)" + nl + "Row #2: 10,023.94" + nl + "Row #2: -1,609.27" + nl + "Row #2: 12,234.22" + nl);
assertQueryReturns( wrap(new String[] { "WITH", " MEMBER [Time].[1st Half Sales] AS 'Aggregate({Time.[1997].[Q1], Time.[1997].[Q2]})'", " MEMBER [Time].[2nd Half Sales] AS 'Aggregate({Time.[1997].[Q3], Time.[1997].[Q4]})'", " MEMBER [Time].[Difference] AS 'Time.[2nd Half Sales] - Time.[1st Half Sales]'", "SELECT", " { [Store].[Store State].Members} ON COLUMNS,", " { Time.[1st Half Sales], Time.[2nd Half Sales], Time.[Difference]} ON ROWS", "FROM Sales", "WHERE [Measures].[Store Sales]"}), wrap(new String[] { "Axis #0:", "{[Measures].[Store Sales]}", "Axis #1:", "{[Store].[All Stores].[Canada].[BC]}", "{[Store].[All Stores].[Mexico].[DF]}", "{[Store].[All Stores].[Mexico].[Guerrero]}", "{[Store].[All Stores].[Mexico].[Jalisco]}", "{[Store].[All Stores].[Mexico].[Veracruz]}", "{[Store].[All Stores].[Mexico].[Yucatan]}", "{[Store].[All Stores].[Mexico].[Zacatecas]}", "{[Store].[All Stores].[USA].[CA]}", "{[Store].[All Stores].[USA].[OR]}", "{[Store].[All Stores].[USA].[WA]}", "Axis #2:", "{[Time].[1st Half Sales]}", "{[Time].[2nd Half Sales]}", "{[Time].[Difference]}", "Row #0: (null)", "Row #0: (null)", "Row #0: (null)", "Row #0: (null)", "Row #0: (null)", "Row #0: (null)", "Row #0: (null)", "Row #0: 74,571.95", "Row #0: 71,943.17", "Row #0: 125,779.50", "Row #1: (null)", "Row #1: (null)", "Row #1: (null)", "Row #1: (null)", "Row #1: (null)", "Row #1: (null)", "Row #1: (null)", "Row #1: 84,595.89", "Row #1: 70,333.90", "Row #1: 138,013.72", "Row #2: (null)", "Row #2: (null)", "Row #2: (null)", "Row #2: (null)", "Row #2: (null)", "Row #2: (null)", "Row #2: (null)", "Row #2: 10,023.94", "Row #2: -1,609.27", "Row #2: 12,234.22" + nl}));
public void testAggregate2() { runQueryCheckResult("WITH" + nl + " MEMBER [Time].[1st Half Sales] AS 'Aggregate({Time.[1997].[Q1], Time.[1997].[Q2]})'" + nl + " MEMBER [Time].[2nd Half Sales] AS 'Aggregate({Time.[1997].[Q3], Time.[1997].[Q4]})'" + nl + " MEMBER [Time].[Difference] AS 'Time.[2nd Half Sales] - Time.[1st Half Sales]'" + nl + "SELECT" + nl + " { [Store].[Store State].Members} ON COLUMNS," + nl + " { Time.[1st Half Sales], Time.[2nd Half Sales], Time.[Difference]} ON ROWS" + nl + "FROM Sales" + nl + "WHERE [Measures].[Store Sales]", "Axis #0:" + nl + "{[Measures].[Store Sales]}" + nl + "Axis #1:" + nl + "{[Store].[All Stores].[Canada].[BC]}" + nl + "{[Store].[All Stores].[Mexico].[DF]}" + nl + "{[Store].[All Stores].[Mexico].[Guerrero]}" + nl + "{[Store].[All Stores].[Mexico].[Jalisco]}" + nl + "{[Store].[All Stores].[Mexico].[Veracruz]}" + nl + "{[Store].[All Stores].[Mexico].[Yucatan]}" + nl + "{[Store].[All Stores].[Mexico].[Zacatecas]}" + nl + "{[Store].[All Stores].[USA].[CA]}" + nl + "{[Store].[All Stores].[USA].[OR]}" + nl + "{[Store].[All Stores].[USA].[WA]}" + nl + "Axis #2:" + nl + "{[Time].[1st Half Sales]}" + nl + "{[Time].[2nd Half Sales]}" + nl + "{[Time].[Difference]}" + nl + "Row #0: (null)" + nl + "Row #0: (null)" + nl + "Row #0: (null)" + nl + "Row #0: (null)" + nl + "Row #0: (null)" + nl + "Row #0: (null)" + nl + "Row #0: (null)" + nl + "Row #0: 74,571.95" + nl + "Row #0: 71,943.17" + nl + "Row #0: 125,779.50" + nl + "Row #1: (null)" + nl + "Row #1: (null)" + nl + "Row #1: (null)" + nl + "Row #1: (null)" + nl + "Row #1: (null)" + nl + "Row #1: (null)" + nl + "Row #1: (null)" + nl + "Row #1: 84,595.89" + nl + "Row #1: 70,333.90" + nl + "Row #1: 138,013.72" + nl + "Row #2: (null)" + nl + "Row #2: (null)" + nl + "Row #2: (null)" + nl + "Row #2: (null)" + nl + "Row #2: (null)" + nl + "Row #2: (null)" + nl + "Row #2: (null)" + nl + "Row #2: 10,023.94" + nl + "Row #2: -1,609.27" + nl + "Row #2: 12,234.22" + nl); }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/3041f930b5fc4bf6aa3339845b828801c1d8b366/FunctionTest.java/clean/testsrc/main/mondrian/olap/fun/FunctionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 11490, 22, 1435, 288, 3639, 1086, 1138, 1564, 1253, 2932, 9147, 6, 397, 7741, 397, 7734, 315, 225, 18990, 6271, 306, 950, 8009, 63, 21, 334, 670, 6186, 25996, 65, 5355, 296, 11490, 12590, 950, 18, 63, 19818, 27, 8009, 63, 53, 21, 6487, 2647, 18, 63, 19818, 27, 8009, 63, 53, 22, 65, 17644, 6, 397, 7741, 397, 7734, 315, 225, 18990, 6271, 306, 950, 8009, 63, 22, 4880, 670, 6186, 25996, 65, 5355, 296, 11490, 12590, 950, 18, 63, 19818, 27, 8009, 63, 53, 23, 6487, 2647, 18, 63, 19818, 27, 8009, 63, 53, 24, 65, 17644, 6, 397, 7741, 397, 7734, 315, 225, 18990, 6271, 306, 950, 8009, 63, 16220, 65, 5355, 296, 950, 18, 63, 22, 4880, 670, 6186, 25996, 65, 300, 2647, 18, 63, 21, 334, 670, 6186, 25996, 3864, 6, 397, 7741, 397, 7734, 315, 4803, 6, 397, 7741, 397, 7734, 315, 282, 288, 306, 2257, 8009, 63, 2257, 3287, 8009, 6918, 97, 6229, 5597, 19639, 10837, 397, 7741, 397, 7734, 315, 282, 288, 2647, 18, 63, 21, 334, 670, 6186, 25996, 6487, 2647, 18, 63, 22, 4880, 670, 6186, 25996, 6487, 2647, 18, 63, 16220, 18322, 6229, 6525, 2651, 6, 397, 7741, 397, 7734, 315, 11249, 25996, 6, 397, 7741, 397, 7734, 315, 12299, 306, 23177, 1823, 8009, 63, 2257, 25996, 65, 3113, 7734, 315, 6558, 468, 20, 2773, 397, 7741, 397, 7734, 4144, 63, 23177, 1823, 8009, 63, 2257, 25996, 20817, 397, 7741, 397, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 11490, 22, 1435, 288, 3639, 1086, 1138, 1564, 1253, 2932, 9147, 6, 397, 7741, 397, 7734, 315, 225, 18990, 6271, 306, 950, 8009, 63, 21, 334, 670, 6186, 25996, 65, 5355, 296, 11490, 12590, 950, 18, 63, 19818, 27, 8009, 63, 53, 21, 6487, 2647, 18, 63, 19818, 27, 8009, 63, 53, 22, 65, 17644, 6, 397, 7741, 397, 7734, 315, 225, 18990, 6271, 306, 950, 8009, 63, 22, 4880, 670, 6186, 25996, 65, 5355, 296, 11490, 12590, 950, 18, 63, 19818, 27, 8009, 63, 53, 23, 6487, 2647, 18, 63, 19818, 27, 8009, 63, 53, 24, 65, 17644, 6, 397, 7741, 397, 7734, 315, 225, 18990, 6271, 306, 950, 8009, 63, 16220, 65, 5355, 2 ]
match(input,82,FOLLOW_82_in_parameterModifier1160);
match(input,82,FOLLOW_82_in_parameterModifier1160);
public void parameterModifier() throws RecognitionException { try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:313:17: ( ( 'final' )? ) // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:313:17: ( 'final' )? { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:313:17: ( 'final' )? int alt34=2; int LA34_0 = input.LA(1); if ( LA34_0==82 ) { alt34=1; } else if ( LA34_0==IDENT||(LA34_0>=68 && LA34_0<=76) ) { alt34=2; } else { NoViableAltException nvae = new NoViableAltException("313:17: ( \'final\' )?", 34, 0, input); throw nvae; } switch (alt34) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:313:18: 'final' { match(input,82,FOLLOW_82_in_parameterModifier1160); } break; } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/024138fd0e08f5f4cd91a30959fe962d30fec435/JavaParser.java/clean/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1569, 9829, 1435, 1216, 9539, 288, 6647, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 23, 3437, 30, 4033, 30, 261, 261, 296, 6385, 11, 7851, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 23, 3437, 30, 4033, 30, 261, 296, 6385, 11, 7851, 5411, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 23, 3437, 30, 4033, 30, 261, 296, 6385, 11, 7851, 5411, 509, 3770, 5026, 33, 22, 31, 5411, 509, 2928, 5026, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 5411, 309, 261, 2928, 5026, 67, 20, 631, 11149, 262, 288, 7734, 3770, 5026, 33, 21, 31, 5411, 289, 5411, 469, 309, 261, 2928, 5026, 67, 20, 631, 13355, 20081, 12, 2534, 5026, 67, 20, 34, 33, 9470, 597, 2928, 5026, 67, 20, 32, 33, 6669, 13, 262, 288, 7734, 3770, 5026, 33, 22, 31, 5411, 289, 5411, 469, 288, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1569, 9829, 1435, 1216, 9539, 288, 6647, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 23, 3437, 30, 4033, 30, 261, 261, 296, 6385, 11, 7851, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 23, 3437, 30, 4033, 30, 261, 296, 6385, 11, 7851, 5411, 288, 5411, 368, 342, 2 ]
out.println("<table>");
out.println("<table width=\"100%\" bgcolor=\"#BBBBBB\">"); out.println("<tr><td>"); out.println("<table bgcolor=\"#BBBBBB\">");
public MessageParser(BufferedReader in, PrintWriter out, String file) throws IOException, MessageParseException { file = file.substring(0, file.length() - 5); MessageHeaderParser mhp = new MessageHeaderParser(); mhp.parse(in); out.println("<html>"); out.println("<body>"); out.println("<table>"); if (mhp.getHeaderField("Date") != null) { DateParser dp = new DateParser(); dp.setTargetFormat(YAMM.getString("longdate")); String date = null; try { date = dp.parse(mhp.getHeaderField("Date")); } catch (ParseException pe) { date = ""; } out.println("<tr><td>" + YAMM.getString("mail.date") + "</td><td>" + date + "</td></tr>"); } if (mhp.getHeaderField("From") != null) { String from = makeClickable(mhp.getHeaderField("From")); out.println("<tr><td>" + YAMM.getString("mail.from") + "</td><td>" + from + "</td></tr>"); } if (mhp.getHeaderField("To") != null) { String to = makeClickable(mhp.getHeaderField("To")); out.println("<tr><td>" + YAMM.getString("mail.to") + "</td><td>" + to + "</td></tr>"); } if (mhp.getHeaderField("cc") != null) { String cc = makeClickable(mhp.getHeaderField("cc")); out.println("<tr><td>cc:</td><td>" + cc + "</td></tr>"); } if (mhp.getHeaderField("Reply-To") != null) { String replyto = makeClickable( mhp.getHeaderField("Reply-To")); out.println("<tr><td>" + YAMM.getString("mail.reply_to") + "</td><td>" + replyto + "</td></tr>"); } if (mhp.getHeaderField("Subject") != null) { out.println("<tr><td>" + YAMM.getString("mail.subject") + "</td><td>" + Mailbox.unMime(mhp.getHeaderField("Subject")) + "</td></tr>"); } out.println("</table>"); out.println("<br><pre>"); String boundary = null; String temp = mhp.getHeaderField("Content-Type"); String contentType = ""; if (temp != null) { contentType = temp.toLowerCase(); if (contentType.indexOf("boundary=") != -1) { boundary = temp.substring(contentType.indexOf("boundary=") + 9, temp.length()); if (boundary.startsWith("\"")) { boundary = boundary.substring(1, boundary.length() - 1); } if (boundary.indexOf("\"") != -1) { boundary = boundary.substring(0, boundary.indexOf("\"")); } } } if (mhp.getHeaderField("MIME-Version") != null) { // expect a little mime message if (boundary != null) { for (;;) { if (in.readLine().equals("--" + boundary)) { new Attachment().parse(in, null); break; } } } } MessageBodyParser mbp = new MessageBodyParser(true); bigLoop: for (;;) { int test = mbp.parse(in, out, boundary); if (test == MessageBodyParser.ATTACHMENT && contentType.indexOf("multipart/alternative") == -1) { Attachment a = new Attachment(); PrintWriter atOut = null; try { atOut = new PrintWriter( new BufferedOutputStream( new FileOutputStream(file + ".attach." + attachments) ) ); for (;;) { // Attachment found test = a.parse(in, atOut); if (test == Attachment.MESSAGE && contentType.indexOf("multipart/alternative") == -1) { break; } else if (test == Attachment.ATTACHMENT) { attachments++; atOut.close(); atOut = new PrintWriter( new BufferedOutputStream( new FileOutputStream( file + ".attach." + attachments ) ) ); continue; } else /* if (test == Attachment.END) */{ break bigLoop; } } } finally { if (atOut != null) { atOut.close(); } } } else if (test == MessageBodyParser.END) { // end reached break; } else if (test == MessageBodyParser.ATTACHMENT) { break; } } out.println("</pre></body>"); out.println("</html>"); }
3248 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3248/92d3d7e8755da6b1356bc22c2c897d2fa0dbfe38/MessageParser.java/clean/mail/MessageParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2350, 2678, 12, 17947, 2514, 316, 16, 14071, 596, 16, 514, 585, 13, 202, 202, 15069, 1860, 16, 2350, 13047, 202, 95, 202, 202, 768, 273, 585, 18, 28023, 12, 20, 16, 585, 18, 2469, 1435, 300, 1381, 1769, 202, 202, 24319, 2678, 312, 15373, 273, 394, 2350, 1864, 2678, 5621, 202, 202, 81, 15373, 18, 2670, 12, 267, 1769, 202, 202, 659, 18, 8222, 2932, 32, 2620, 2984, 1769, 202, 202, 659, 18, 8222, 2932, 32, 3432, 2984, 1769, 202, 202, 659, 18, 8222, 2932, 32, 2121, 2984, 1769, 202, 202, 430, 261, 81, 15373, 18, 588, 1864, 974, 2932, 1626, 7923, 480, 446, 13, 288, 1082, 202, 1626, 2678, 9986, 273, 394, 2167, 2678, 5621, 1082, 202, 9295, 18, 542, 2326, 1630, 12, 61, 2192, 49, 18, 588, 780, 2932, 5748, 712, 7923, 1769, 1082, 202, 780, 1509, 273, 446, 31, 1082, 202, 698, 288, 9506, 202, 712, 273, 9986, 18, 2670, 12, 81, 15373, 18, 588, 1864, 974, 2932, 1626, 7923, 1769, 1082, 202, 97, 1044, 261, 13047, 2804, 13, 288, 9506, 202, 712, 273, 1408, 31, 1082, 202, 97, 1082, 202, 659, 18, 8222, 2932, 32, 313, 4438, 4465, 2984, 397, 1624, 2192, 49, 18, 588, 780, 2932, 4408, 18, 712, 7923, 397, 9506, 202, 6, 1757, 4465, 4438, 4465, 2984, 397, 1509, 397, 6823, 4465, 4695, 313, 2984, 1769, 202, 202, 97, 202, 202, 430, 261, 81, 15373, 18, 588, 1864, 974, 2932, 1265, 7923, 480, 446, 13, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2350, 2678, 12, 17947, 2514, 316, 16, 14071, 596, 16, 514, 585, 13, 202, 202, 15069, 1860, 16, 2350, 13047, 202, 95, 202, 202, 768, 273, 585, 18, 28023, 12, 20, 16, 585, 18, 2469, 1435, 300, 1381, 1769, 202, 202, 24319, 2678, 312, 15373, 273, 394, 2350, 1864, 2678, 5621, 202, 202, 81, 15373, 18, 2670, 12, 267, 1769, 202, 202, 659, 18, 8222, 2932, 32, 2620, 2984, 1769, 202, 202, 659, 18, 8222, 2932, 32, 3432, 2984, 1769, 202, 202, 659, 18, 8222, 2932, 32, 2121, 2984, 1769, 202, 202, 430, 261, 81, 15373, 18, 588, 1864, 974, 2932, 1626, 7923, 480, 446, 13, 288, 1082, 202, 1626, 2678, 9986, 273, 394, 2167, 2678, 2 ]
if (!store.fetchInfo().exists()) store = null;
if (!store.fetchInfo().exists()) { store = null; }
private void handleLinkTargetBrowseButtonPressed() { IFileStore store = null; String selection = null; if (linkTarget.length() > 0) { store = IDEResourceInfoUtils.getFileStore(linkTarget); if (!store.fetchInfo().exists()) store = null; } if (type == IResource.FILE) { FileDialog dialog = new FileDialog(linkTargetField.getShell()); if (store != null) { if (store.fetchInfo().isDirectory()) dialog.setFilterPath(linkTarget); else dialog.setFileName(linkTarget); } selection = dialog.open(); } else { DirectoryDialog dialog = new DirectoryDialog(linkTargetField .getShell()); if (store != null) { IFileStore path = store; if (!store.fetchInfo().isDirectory()) path = store.getParent(); if (path != null) dialog.setFilterPath(store.toString()); } dialog .setMessage(IDEWorkbenchMessages.CreateLinkedResourceGroup_targetSelectionLabel); selection = dialog.open(); } if (selection != null) linkTargetField.setText(selection); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/CreateLinkedResourceGroup.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/CreateLinkedResourceGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1640, 2098, 2326, 27304, 3616, 24624, 1435, 288, 3639, 467, 812, 2257, 1707, 273, 446, 31, 3639, 514, 4421, 273, 446, 31, 3639, 309, 261, 1232, 2326, 18, 2469, 1435, 405, 374, 13, 288, 2398, 1707, 273, 1599, 41, 1420, 966, 1989, 18, 29925, 2257, 12, 1232, 2326, 1769, 5411, 309, 16051, 2233, 18, 5754, 966, 7675, 1808, 10756, 7734, 1707, 273, 446, 31, 3639, 289, 3639, 309, 261, 723, 422, 467, 1420, 18, 3776, 13, 288, 5411, 1387, 6353, 6176, 273, 394, 1387, 6353, 12, 1232, 2326, 974, 18, 588, 13220, 10663, 5411, 309, 261, 2233, 480, 446, 13, 288, 7734, 309, 261, 2233, 18, 5754, 966, 7675, 291, 2853, 10756, 1171, 202, 12730, 18, 542, 1586, 743, 12, 1232, 2326, 1769, 7734, 469, 10792, 6176, 18, 542, 4771, 12, 1232, 2326, 1769, 5411, 289, 5411, 4421, 273, 6176, 18, 3190, 5621, 3639, 289, 469, 288, 5411, 8930, 6353, 6176, 273, 394, 8930, 6353, 12, 1232, 2326, 974, 10792, 263, 588, 13220, 10663, 5411, 309, 261, 2233, 480, 446, 13, 288, 7734, 467, 812, 2257, 589, 273, 1707, 31, 7734, 309, 16051, 2233, 18, 5754, 966, 7675, 291, 2853, 10756, 10792, 589, 273, 1707, 18, 588, 3054, 5621, 7734, 309, 261, 803, 480, 446, 13, 10792, 6176, 18, 542, 1586, 743, 12, 2233, 18, 10492, 10663, 5411, 289, 5411, 6176, 10792, 263, 542, 1079, 12, 10385, 2421, 22144, 5058, 18, 1684, 13174, 18860, 67, 3299, 6233, 2224, 1769, 5411, 4421, 273, 6176, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1640, 2098, 2326, 27304, 3616, 24624, 1435, 288, 3639, 467, 812, 2257, 1707, 273, 446, 31, 3639, 514, 4421, 273, 446, 31, 3639, 309, 261, 1232, 2326, 18, 2469, 1435, 405, 374, 13, 288, 2398, 1707, 273, 1599, 41, 1420, 966, 1989, 18, 29925, 2257, 12, 1232, 2326, 1769, 5411, 309, 16051, 2233, 18, 5754, 966, 7675, 1808, 10756, 7734, 1707, 273, 446, 31, 3639, 289, 3639, 309, 261, 723, 422, 467, 1420, 18, 3776, 13, 288, 5411, 1387, 6353, 6176, 273, 394, 1387, 6353, 12, 1232, 2326, 974, 18, 588, 13220, 10663, 5411, 309, 261, 2233, 480, 446, 13, 288, 7734, 309, 261, 2233, 18, 5754, 966, 7675, 291, 2853, 10756, 1171, 202, 12730, 18, 2 ]
void handleStartElement(QName element, XMLAttributes attributes) { // whether to do validatoin // REVISIT: consider DynamicValidation if (fElementDepth == -1) { fDoValidation = fValidation; } // if we are in the content of "skip", then just skip this element if (fSkipValidationDepth >= 0) { fElementDepth++; return; } // if it's not the root element, we push the current states in the stacks if (fElementDepth != -1) { ensureStackCapacity(); fChildCountStack[fElementDepth] = fChildCount+1; fChildCount = 0; fElemDeclStack[fElementDepth] = fCurrentElemDecl; fTypeStack[fElementDepth] = fCurrentType; fCMStack[fElementDepth] = fCurrentCM; fBufferStack[fElementDepth] = fBuffer; } // get xsi:schemaLocation and xsi:noNamespaceSchemaLocation attributes, // parser them to get the grammars // REVISIT: we'll defer this operation until there is a reference to // a component from that namespace String sLocation = attributes.getValue(URI_XSI, XSI_SCHEMALOCACTION); String nsLocation = attributes.getValue(URI_XSI, XSI_NONAMESPACESCHEMALOCACTION); if (sLocation != null) { StringTokenizer t = new StringTokenizer(sLocation, " \n\t\r"); String namespace, location; while (t.hasMoreTokens()) { namespace = t.nextToken (); if (!t.hasMoreTokens()) { // REVISIT: report error for wrong number of uris break; } location = t.nextToken(); if (fGrammarResolver.getGrammar(namespace) == null) fSchemaHandler.parseSchema(namespace, location); } } if (nsLocation != null) { if (fGrammarResolver.getGrammar(fSchemaHandler.EMPTY_STRING) == null) fSchemaHandler.parseSchema(fSchemaHandler.EMPTY_STRING, nsLocation); } // get the element decl for this element fCurrentElemDecl = null; XSWildcardDecl wildcard = null; // if there is a content model, then get the decl from that if (fCurrentCM != null) { Object decl = fCurrentCM.oneTransition(element, fCurrCMState); // it could be an element decl or a wildcard decl // REVISIT: is there a more effecient way than 'instanceof' if (decl instanceof XSElementDecl) { fCurrentElemDecl = (XSElementDecl)decl; } else if (decl instanceof XSWildcardDecl) { wildcard = (XSWildcardDecl)decl; } else if (fCurrCMState[0] == XSCMValidator.FIRST_ERROR && fDoValidation) { // REVISIT: report error: invalid content XSComplexTypeDecl ctype = (XSComplexTypeDecl)fCurrentType; reportGenericSchemaError("invlid content starting with element '"+element.rawname+"', the content must match ("+ctype.fParticle.toString()+")"); fCurrCMState[0] = XSCMValidator.SUBSEQUENT_ERROR; } } // save the current content model state in the stack if (fElementDepth != -1) fCMStateStack[fElementDepth] = fCurrCMState; // increase the element depth after we've saved all states for the // parent element fElementDepth++; // if the wildcard is skip, then return if (wildcard != null && wildcard.fProcessContents == XSWildcardDecl.WILDCARD_SKIP) { fSkipValidationDepth = fElementDepth; return; } // try again to get the element decl if (fCurrentElemDecl == null) { // REVISIT: null or "" SchemaGrammar sGrammar = fGrammarResolver.getGrammar(element.uri == null ? "" : element.uri); if (sGrammar != null) fCurrentElemDecl = sGrammar.getGlobalElementDecl(element.localpart); } // get the type for the current element fCurrentType = null; if (fCurrentElemDecl != null) { // Check whether this element is abstract. If so, an error if (fCurrentElemDecl.isAbstract()) { reportGenericSchemaError("A member of abstract element " + element.rawname + "'s substitution group must be specified"); } // then get the type fCurrentType = fCurrentElemDecl.fType; } // get type from xsi:type String xsiType = attributes.getValue(URI_XSI, XSI_TYPE); if (xsiType != null) { getAndCheckXsiType(element, xsiType); } else if (fCurrentType != null) { // if no xsi:type is specified, check whether the type of // the element is abstract if ((fCurrentType.getXSType() & XSTypeDecl.COMPLEX_TYPE) != 0) { XSComplexTypeDecl ctype = (XSComplexTypeDecl)fCurrentType; if (ctype.isAbstractType()) { reportGenericSchemaError("Element " + element.rawname + " is declared with a type that is abstract. Use xsi:type to specify a non-abstract type"); } } } // if the element decl is not found if (fCurrentType == null && fDoValidation) { // if this is the root element, or wildcard = strict, report error if (fElementDepth == 0) { // REVISIT: report error, because it's root element reportGenericSchemaError("can't find decl for root element '"+element.rawname+"'"); } else if (wildcard != null && wildcard.fProcessContents == XSWildcardDecl.WILDCARD_STRICT) { // REVISIT: report error, because wilcard = strict reportGenericSchemaError("can't find decl for strict wildcard '"+element.rawname+"'"); } // no element decl found, have to skip this element fSkipValidationDepth = fElementDepth; return; } // then try to get the content model fCurrentCM = null; if (fCurrentType != null) { if ((fCurrentType.getXSType() & XSTypeDecl.COMPLEX_TYPE) != 0) { fCurrentCM = ((XSComplexTypeDecl)fCurrentType).getContentModel(); } } // and get the initial content model state fCurrCMState = null; if (fCurrentCM != null) fCurrCMState = fCurrentCM.startContentModel(); // and the buffer to hold the value of the element fBuffer = new StringBuffer(); // get information about xsi:nil String xsiNil = attributes.getValue(URI_XSI, XSI_NIL); if (xsiNil != null) getXsiNil(element, xsiNil); // now validate everything related with the attributes // first, get the attribute group XSAttributeGroupDecl attrGrp = null; if ((fCurrentType.getXSType() & XSTypeDecl.COMPLEX_TYPE) != 0) { XSComplexTypeDecl ctype = (XSComplexTypeDecl)fCurrentType; attrGrp = ctype.fAttrGrp; } processAttributes(element, attributes, attrGrp); } // handleStartElement(QName,XMLAttributes,boolean)
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/860cb3b9c2ad281211d6d52beb871b2439720fa5/SchemaValidator.java/buggy/src/org/apache/xerces/impl/v2/SchemaValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 4110, 1685, 1046, 12, 13688, 2956, 16, 4201, 2498, 4350, 15329, 759, 3350, 546, 1051, 7370, 877, 270, 885, 759, 862, 26780, 1285, 30, 8559, 3585, 9791, 4354, 430, 12, 74, 1046, 6148, 631, 17, 21, 15329, 74, 3244, 4354, 33, 74, 4354, 31, 97, 759, 430, 1814, 834, 267, 451, 31313, 319, 792, 6, 7457, 3113, 15991, 3732, 7771, 77, 2397, 291, 2956, 430, 12, 74, 6368, 4354, 6148, 34, 33, 20, 15329, 74, 1046, 6148, 9904, 31, 2463, 31, 97, 759, 430, 305, 1807, 902, 1136, 1632, 2956, 16, 91, 881, 1218, 451, 557, 3761, 7992, 267, 29201, 22098, 430, 12, 74, 1046, 6148, 5, 29711, 21, 15329, 15735, 2624, 7437, 5621, 74, 1763, 1380, 2624, 63, 74, 1046, 6148, 65, 33, 74, 1763, 1380, 15, 21, 31, 74, 1763, 1380, 33, 20, 31, 74, 7498, 3456, 2624, 63, 74, 1046, 6148, 65, 33, 74, 3935, 7498, 3456, 31, 74, 559, 2624, 63, 74, 1046, 6148, 65, 33, 74, 3935, 559, 31, 74, 9611, 2624, 63, 74, 1046, 6148, 65, 33, 74, 3935, 9611, 31, 74, 1892, 2624, 63, 74, 1046, 6148, 65, 33, 74, 1892, 31, 97, 759, 588, 29262, 30, 4821, 2735, 464, 29262, 30, 2135, 3402, 3078, 2735, 4350, 16, 759, 4288, 451, 351, 869, 588, 451, 1332, 5627, 87, 759, 862, 26780, 1285, 30, 1814, 5614, 18974, 2211, 7624, 12198, 18664, 291, 834, 586, 1331, 11453, 759, 69, 4652, 2080, 19056, 4937, 7957, 2735, 33, 4350, 18, 24805, 12, 3098, 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, 918, 4110, 1685, 1046, 12, 13688, 2956, 16, 4201, 2498, 4350, 15329, 759, 3350, 546, 1051, 7370, 877, 270, 885, 759, 862, 26780, 1285, 30, 8559, 3585, 9791, 4354, 430, 12, 74, 1046, 6148, 631, 17, 21, 15329, 74, 3244, 4354, 33, 74, 4354, 31, 97, 759, 430, 1814, 834, 267, 451, 31313, 319, 792, 6, 7457, 3113, 15991, 3732, 7771, 77, 2397, 291, 2956, 430, 12, 74, 6368, 4354, 6148, 34, 33, 20, 15329, 74, 1046, 6148, 9904, 31, 2463, 31, 97, 759, 430, 305, 1807, 902, 1136, 1632, 2956, 16, 91, 881, 1218, 451, 557, 3761, 7992, 267, 29201, 22098, 430, 12, 74, 1046, 6148, 5, 29711, 21, 15329, 15735, 2624, 7437, 5621, 74, 1763, 1380, 2624, 2 ]
int bytes, int allocator) throws InlinePragma { switch (allocator) { case Plan.ALLOC_LOS: Plan.loSpace.initializeHeader(ref); return; case Plan.ALLOC_IMMORTAL: Plan.immortalSpace.postAlloc(ref); return; default: if (Assert.VERIFY_ASSERTIONS) Assert.fail("No such allocator"); } }
int bytes, int allocator) throws InlinePragma { switch (allocator) { case Plan.ALLOC_LOS: Plan.loSpace.initializeHeader(ref); return; case Plan.ALLOC_IMMORTAL: Plan.immortalSpace.postAlloc(ref); return; default: if (Assert.VERIFY_ASSERTIONS) Assert.fail("No such allocator"); } }
public void postAlloc(ObjectReference ref, ObjectReference typeRef, int bytes, int allocator) throws InlinePragma { switch (allocator) { case Plan.ALLOC_LOS: Plan.loSpace.initializeHeader(ref); return; case Plan.ALLOC_IMMORTAL: Plan.immortalSpace.postAlloc(ref); return; default: if (Assert.VERIFY_ASSERTIONS) Assert.fail("No such allocator"); } }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/57a34fa3e6e607d84b46e06082997a4771a25a85/MutatorContext.java/buggy/MMTk/src/org/mmtk/plan/MutatorContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1603, 8763, 12, 22101, 1278, 16, 31321, 618, 1957, 16, 1082, 202, 474, 1731, 16, 509, 26673, 13, 1216, 16355, 2050, 9454, 288, 202, 202, 9610, 261, 9853, 639, 13, 288, 202, 202, 3593, 1377, 12540, 18, 1013, 29450, 67, 1502, 55, 30, 12540, 18, 383, 3819, 18, 11160, 1864, 12, 1734, 1769, 327, 31, 202, 202, 3593, 12540, 18, 1013, 29450, 67, 3445, 49, 3871, 1013, 30, 12540, 18, 381, 81, 499, 287, 3819, 18, 2767, 8763, 12, 1734, 1769, 225, 327, 31, 202, 202, 1886, 30, 1082, 202, 430, 261, 8213, 18, 23756, 67, 8423, 11539, 1146, 55, 13, 5452, 18, 6870, 2932, 2279, 4123, 26673, 8863, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1603, 8763, 12, 22101, 1278, 16, 31321, 618, 1957, 16, 1082, 202, 474, 1731, 16, 509, 26673, 13, 1216, 16355, 2050, 9454, 288, 202, 202, 9610, 261, 9853, 639, 13, 288, 202, 202, 3593, 1377, 12540, 18, 1013, 29450, 67, 1502, 55, 30, 12540, 18, 383, 3819, 18, 11160, 1864, 12, 1734, 1769, 327, 31, 202, 202, 3593, 12540, 18, 1013, 29450, 67, 3445, 49, 3871, 1013, 30, 12540, 18, 381, 81, 499, 287, 3819, 18, 2767, 8763, 12, 1734, 1769, 225, 327, 31, 202, 202, 1886, 30, 1082, 202, 430, 261, 8213, 18, 23756, 67, 8423, 11539, 1146, 55, 13, 5452, 18, 6870, 2932, 2279, 4123, 26673, 8863, 202, 202, 97, 202, 97, 2, -100 ]
String[] srcDirs = null; String[] srcFiles = null;
String[] srcDirs = new String[0]; String[] srcFiles = new String[0];
private static void compile(final String srcDirList, final String srcFileList, final String srcFileIncludes, final String classPath, String destDir, final String annotationPropetiesFile) { if (srcDirList == null && srcFileList == null && srcFileIncludes == null) { throw new IllegalArgumentException("one of src or srcfiles or srcincludes must be not null"); } if ((srcDirList != null && srcFileList != null) || (srcDirList != null && srcFileIncludes != null) || (srcFileList != null && srcFileIncludes != null)) { // FIXME: refactor throw new IllegalArgumentException("maximum one of src, srcfiles or srcincludes must be not null"); } if (classPath == null) { throw new IllegalArgumentException("class path can not be null"); } if (destDir == null) { destDir = classPath; } String[] srcDirs = null; String[] srcFiles = null; if (srcDirList != null) { srcDirs = split(srcDirList, File.pathSeparator); } else if (srcFileList != null) { srcFiles = split(srcFileList, FILE_SEPARATOR); } else { srcFiles = loadSourceList(srcFileIncludes); } boolean isDir = (srcDirs != null); compile(s_verbose, srcDirs, srcFiles, split(classPath, File.pathSeparator), destDir, annotationPropetiesFile); }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/a5b42f6b1dca45b7c4c7e0042533d20a0ecfe409/AnnotationC.java/buggy/aspectwerkz3/src/main/org/codehaus/aspectwerkz/annotation/AnnotationC.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 4074, 12, 6385, 514, 30585, 682, 16, 27573, 727, 514, 24672, 682, 16, 27573, 727, 514, 24672, 16815, 16, 27573, 727, 514, 22503, 16, 27573, 514, 26231, 16, 27573, 727, 514, 3204, 4658, 278, 606, 812, 13, 288, 3639, 309, 261, 4816, 1621, 682, 422, 446, 597, 24672, 682, 422, 446, 597, 24672, 16815, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 476, 434, 1705, 578, 1705, 2354, 578, 1705, 18499, 1297, 506, 486, 446, 8863, 3639, 289, 3639, 309, 14015, 4816, 1621, 682, 480, 446, 597, 24672, 682, 480, 446, 13, 747, 261, 4816, 1621, 682, 480, 446, 597, 24672, 16815, 480, 446, 13, 5411, 747, 261, 4816, 26098, 480, 446, 597, 24672, 16815, 480, 446, 3719, 288, 368, 9852, 30, 26627, 5411, 604, 394, 2754, 2932, 15724, 1245, 434, 1705, 16, 1705, 2354, 578, 1705, 18499, 1297, 506, 486, 446, 8863, 3639, 289, 3639, 309, 261, 1106, 743, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 1106, 589, 848, 486, 506, 446, 8863, 3639, 289, 3639, 309, 261, 10488, 1621, 422, 446, 13, 288, 5411, 26231, 273, 22503, 31, 3639, 289, 3639, 514, 8526, 1705, 9872, 273, 446, 31, 3639, 514, 8526, 1705, 2697, 273, 446, 31, 3639, 309, 261, 4816, 1621, 682, 480, 446, 13, 288, 5411, 1705, 9872, 273, 1416, 12, 4816, 1621, 682, 16, 1387, 18, 803, 6581, 1769, 3639, 289, 469, 309, 261, 4816, 26098, 480, 446, 13, 288, 5411, 1705, 2697, 273, 1416, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 4074, 12, 6385, 514, 30585, 682, 16, 27573, 727, 514, 24672, 682, 16, 27573, 727, 514, 24672, 16815, 16, 27573, 727, 514, 22503, 16, 27573, 514, 26231, 16, 27573, 727, 514, 3204, 4658, 278, 606, 812, 13, 288, 3639, 309, 261, 4816, 1621, 682, 422, 446, 597, 24672, 682, 422, 446, 597, 24672, 16815, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 476, 434, 1705, 578, 1705, 2354, 578, 1705, 18499, 1297, 506, 486, 446, 8863, 3639, 289, 3639, 309, 14015, 4816, 1621, 682, 480, 446, 597, 24672, 682, 480, 446, 13, 747, 261, 4816, 1621, 682, 480, 446, 597, 24672, 16815, 480, 446, 13, 5411, 747, 261, 4816, 26098, 480, 446, 597, 24672, 2 ]
addJarButtonActionPerformed(evt); }
addJarButtonActionPerformed(evt); }
public void actionPerformed(java.awt.event.ActionEvent evt) { addJarButtonActionPerformed(evt); }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 7734, 527, 10813, 3616, 19449, 12, 73, 11734, 1769, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 7734, 527, 10813, 3616, 19449, 12, 73, 11734, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]