rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
System.err.println(getCluster().getMessageAddress() + " LoadAllocator:checkOverruns() the capacity's ScheduleContentPG has no schedule");
System.err.println(getMessageAddress() + " LoadAllocator:checkOverruns() the capacity's ScheduleContentPG has no schedule");
private void checkOverruns(LACapacity mycapacity) { // System.out.println(getCluster().getMessageAddress() + " LoadAllocator in checkOverruns"); Capacity capacity = mycapacity.getCapacity(); if (capacity == null) { // This should never happen System.err.println(getCluster().getMessageAddress() + " LoadAllocator:checkOverruns() no capacity object!"); return; } RoleSchedule rs = capacity.getRoleSchedule(); // System.out.println(getCluster().getMessageAddress() + " LoadAllocator:checkOverruns() Capacity.RoleSchedule:" + rs); if (rs == null) { // This should never happen System.err.println(getCluster().getMessageAddress() + " LoadAllocator:checkOverruns() the capacity has no role schedule"); return; } long currentDate = oplanStartTime; boolean publishChanges = false; boolean publishNew = false; Schedule capacitySchedule = capacity.getScheduledContentPG().getSchedule(); if (capacitySchedule == null) { // This should never happen System.err.println(getCluster().getMessageAddress() + " LoadAllocator:checkOverruns() the capacity's ScheduleContentPG has no schedule"); return; } // Check for overruns on each day while(currentDate < oplanEndTime) { double qtyAsked = 0; double overrun = 0; double qtyAvailable = 0; // Find the elements that have allocations for current day // Assume that oplan started at midnight. Collection allocatedSet = rs.getOverlappingRoleSchedule(currentDate, currentDate + ScheduleUtilities.millisperday); if (allocatedSet.size() > 0) { //Find out how much we have allocated qtyAsked = rs.addAspectValues(allocatedSet, AspectType.QUANTITY); Collection capacitySet = capacitySchedule.getOverlappingScheduleElements( currentDate, currentDate + ScheduleUtilities.millisperday); // Find out how much capacity we actually have qtyAvailable = ScheduleUtilities.sumElements(capacitySet); // Have we allocated more than we have? overrun = qtyAsked - qtyAvailable; // System.out.println(getCluster().getMessageAddress() // + " LoadAllocator:checkOverruns() overrun=" + overrun // + " qtyAsked=" + qtyAsked // + " qtyAvaiable=" + qtyAvailable); } else { // System.out.println(getCluster().getMessageAddress() // + " LoadAllocator:checkOverruns() No schedule for " // + currentDate); } // more capacity allocated than available? if (overrun > 0){ // create a new SupportRequest task there isn't one already if (mycapacity.getSupportRequest() == null) { publishNew = true; Task supportRequest = createSupportRequest(capacity, overrun, currentDate, oplanEndTime); mycapacity.setSupportRequest(supportRequest); // add new qty schedule element to capcity // this is the object that represents the optimistic assumption that the // SupportRequest task is successful NewQuantityScheduleElement cse = new QuantityScheduleElementImpl(); cse.setQuantity(overrun); cse.setStartTime(currentDate); // current date? cse.setEndTime(oplanEndTime); ((NewSchedule)capacitySchedule).addScheduleElement(cse); mycapacity.setQSE((QuantityScheduleElement)cse); // Add the QSE to the annotation on the task ((MyAnnotation)supportRequest.getAnnotation()).setQSE((QuantityScheduleElement)cse); } else { // reset the start date and quantity preferences of the SupportRequest task publishChanges = true; QuantityScheduleElement qse = mycapacity.getQSE(); if (qse == null) { // Don't know why this would happen, but... System.err.println(getCluster().getMessageAddress() + " LoadAllocator QSE missing"); NewQuantityScheduleElement cse = new QuantityScheduleElementImpl(); cse.setQuantity(0d); cse.setStartTime(currentDate); cse.setEndTime(oplanEndTime); ((NewSchedule)capacitySchedule).addScheduleElement(cse); mycapacity.setQSE((QuantityScheduleElement)cse); // Add the QSE to the annotation on the task ((MyAnnotation)mycapacity.getSupportRequest().getAnnotation()).setQSE((QuantityScheduleElement)cse); } // this is null double new_qty = qse.getQuantity() +overrun; long newDate = qse.getStartDate().getTime(); if (newDate > currentDate) { ((NewQuantityScheduleElement)qse).setStartTime(currentDate); newDate = currentDate; } modifySupportRequest(mycapacity.getSupportRequest(), capacity, new_qty, newDate); // new quantity should always be more than old ((NewQuantityScheduleElement)qse).setQuantity(new_qty); } } currentDate += ScheduleUtilities.millisperday; } if (publishNew || publishChanges) { // send SupportRequest task to SupportForceProvider publishSupportRequestAllocation(mycapacity); } if (publishNew) { // System.out.println(getCluster().getMessageAddress() + " LoadAllocator publishing changed capacity and new SupportRequest"); publishChange(capacity); publishAdd(mycapacity.getSupportRequest()); publishNew = false; } else if (publishChanges) { // System.out.println(getCluster().getMessageAddress() + " LoadAllocator publishing changed capacity and SupportRequest"); publishChange(capacity); publishChange(mycapacity.getSupportRequest()); publishChanges = false; } }
7171 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7171/6c245e9a4b46cd0066408cc5ff7f4f953b95f742/LoadAllocatorPlugin.java/buggy/glm/src/org/cougaar/mlm/plugin/sample/LoadAllocatorPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 866, 22042, 27595, 12, 48, 2226, 438, 3683, 3399, 16017, 13, 288, 565, 368, 282, 202, 3163, 18, 659, 18, 8222, 12, 588, 3629, 7675, 24906, 1887, 1435, 397, 315, 4444, 21156, 316, 866, 22042, 27595, 8863, 565, 27294, 7519, 273, 3399, 16017, 18, 588, 7437, 5621, 565, 309, 261, 16017, 422, 446, 13, 288, 1377, 368, 1220, 1410, 5903, 5865, 1377, 2332, 18, 370, 18, 8222, 12, 588, 3629, 7675, 24906, 1887, 1435, 397, 315, 4444, 21156, 30, 1893, 22042, 27595, 1435, 1158, 7519, 733, 4442, 1769, 1377, 327, 31, 565, 289, 565, 6204, 6061, 3597, 273, 7519, 18, 588, 2996, 6061, 5621, 565, 368, 202, 3163, 18, 659, 18, 8222, 12, 588, 3629, 7675, 24906, 1887, 1435, 397, 315, 4444, 21156, 30, 1893, 22042, 27595, 1435, 27294, 18, 2996, 6061, 2773, 397, 3597, 1769, 565, 309, 261, 5453, 422, 446, 13, 288, 1377, 368, 1220, 1410, 5903, 5865, 1377, 2332, 18, 370, 18, 8222, 12, 588, 3629, 7675, 24906, 1887, 1435, 397, 315, 4444, 21156, 30, 1893, 22042, 27595, 1435, 326, 7519, 711, 1158, 2478, 4788, 8863, 1377, 327, 31, 565, 289, 565, 1525, 783, 1626, 273, 320, 7088, 13649, 31, 565, 1250, 3808, 7173, 273, 629, 31, 565, 1250, 3808, 1908, 273, 629, 31, 565, 10674, 7519, 6061, 273, 7519, 18, 588, 10660, 1350, 18679, 7675, 588, 6061, 5621, 565, 309, 261, 16017, 6061, 422, 446, 13, 288, 1377, 368, 1220, 1410, 5903, 5865, 1377, 2332, 18, 370, 18, 8222, 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, 3238, 918, 866, 22042, 27595, 12, 48, 2226, 438, 3683, 3399, 16017, 13, 288, 565, 368, 282, 202, 3163, 18, 659, 18, 8222, 12, 588, 3629, 7675, 24906, 1887, 1435, 397, 315, 4444, 21156, 316, 866, 22042, 27595, 8863, 565, 27294, 7519, 273, 3399, 16017, 18, 588, 7437, 5621, 565, 309, 261, 16017, 422, 446, 13, 288, 1377, 368, 1220, 1410, 5903, 5865, 1377, 2332, 18, 370, 18, 8222, 12, 588, 3629, 7675, 24906, 1887, 1435, 397, 315, 4444, 21156, 30, 1893, 22042, 27595, 1435, 1158, 7519, 733, 4442, 1769, 1377, 327, 31, 565, 289, 565, 6204, 6061, 3597, 273, 7519, 18, 588, 2996, 6061, 5621, 565, 368, 202, 3163, 18, 659, 18, 8222, 12, 588, 3629, 7675, 2 ]
return mparam[0].toString(); }
return mparam[0].toString(); }
protected static String createObjectID(Object obj) { if (obj instanceof MBase) return null; /* // Want to use the "built in" UID of the MXxx instances // d00mst 2002-10-08 if (obj instanceof MModelElement) { MTaggedValue mtv = ExtensionMechanismsFactory.getFactory().createTaggedValue();; String id = generateID(); mtv.setTag("org.argouml.uid"); mtv.setValue(id); mtv.setModelElement((MModelElement)obj); //cat.debug("Added UID " + id + " to an object"); return id; } */ Class params[] = new Class[1]; Object mparam[]; params[0] = _myclass; try { Method m = obj.getClass().getMethod("setItemUID", params); mparam = new Object[1]; mparam[0] = new ItemUID(); m.invoke(obj, mparam); } catch (NoSuchMethodException nsme) { return null; } catch (SecurityException se) { return null; } catch (InvocationTargetException tie) { cat.error("setItemUID for " + obj.getClass() + " threw", tie); return null; } catch (IllegalAccessException iace) { return null; } catch (IllegalArgumentException iare) { cat.error("setItemUID for " + obj.getClass() + " takes strange parameter", iare); return null; } catch (ExceptionInInitializerError eiie) { return null; } return mparam[0].toString(); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ItemUID.java/clean/src_new/org/argouml/cognitive/ItemUID.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 760, 514, 17109, 734, 12, 921, 1081, 13, 202, 95, 202, 202, 430, 261, 2603, 1276, 490, 2171, 13, 1082, 202, 2463, 446, 31, 202, 202, 20308, 202, 202, 759, 678, 970, 358, 999, 326, 315, 12406, 316, 6, 10034, 434, 326, 26929, 5279, 3884, 202, 202, 759, 302, 713, 27523, 4044, 22, 17, 2163, 17, 6840, 202, 202, 430, 261, 2603, 1276, 490, 1488, 1046, 13, 202, 202, 95, 1082, 202, 49, 18674, 620, 5874, 90, 273, 10021, 4667, 28757, 1733, 18, 588, 1733, 7675, 2640, 18674, 620, 5621, 31, 1082, 202, 780, 612, 273, 2103, 734, 5621, 1082, 202, 1010, 90, 18, 542, 1805, 2932, 3341, 18, 26999, 22192, 18, 1911, 8863, 1082, 202, 1010, 90, 18, 542, 620, 12, 350, 1769, 1082, 202, 1010, 90, 18, 542, 1488, 1046, 12443, 49, 1488, 1046, 13, 2603, 1769, 1082, 202, 759, 2574, 18, 4148, 2932, 8602, 10034, 315, 397, 612, 397, 315, 358, 392, 733, 8863, 1082, 202, 2463, 612, 31, 202, 202, 97, 202, 202, 5549, 202, 202, 797, 859, 8526, 273, 394, 1659, 63, 21, 15533, 202, 202, 921, 312, 891, 8526, 31, 202, 202, 2010, 63, 20, 65, 273, 389, 4811, 1106, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 1305, 312, 273, 1081, 18, 588, 797, 7675, 588, 1305, 2932, 542, 1180, 3060, 3113, 859, 1769, 1082, 202, 81, 891, 273, 394, 1033, 63, 21, 15533, 1082, 202, 81, 891, 63, 20, 65, 273, 394, 4342, 3060, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 760, 514, 17109, 734, 12, 921, 1081, 13, 202, 95, 202, 202, 430, 261, 2603, 1276, 490, 2171, 13, 1082, 202, 2463, 446, 31, 202, 202, 20308, 202, 202, 759, 678, 970, 358, 999, 326, 315, 12406, 316, 6, 10034, 434, 326, 26929, 5279, 3884, 202, 202, 759, 302, 713, 27523, 4044, 22, 17, 2163, 17, 6840, 202, 202, 430, 261, 2603, 1276, 490, 1488, 1046, 13, 202, 202, 95, 1082, 202, 49, 18674, 620, 5874, 90, 273, 10021, 4667, 28757, 1733, 18, 588, 1733, 7675, 2640, 18674, 620, 5621, 31, 1082, 202, 780, 612, 273, 2103, 734, 5621, 1082, 202, 1010, 90, 18, 542, 1805, 2932, 3341, 18, 26999, 22192, 18, 1911, 8863, 1082, 202, 2 ]
public String getOutputPath() { try { IProject currProject = AspectJUIPlugin.getDefault() .getCurrentProject(); IJavaProject jProject = JavaCore.create(currProject); IPath workspaceRelativeOutputPath = jProject.getOutputLocation(); if (workspaceRelativeOutputPath.segmentCount() == 1) { // project // root return jProject.getResource().getLocation().toOSString(); } else { IFolder out = ResourcesPlugin.getWorkspace().getRoot() .getFolder(workspaceRelativeOutputPath); return out.getLocation().toOSString(); } // Bug 37033 - get the path right, stupid! // // Bug21998: Use the project location rather than the workspace // location. // String workspaceLoc = // currProject.getLocation().removeLastSegments(1).toOSString(); // // IJavaProject jProject = JavaCore.create(currProject); // String relativePath = jProject.getOutputLocation().toOSString(); // return workspaceLoc + relativePath; // find the resource that corresponds with this path (if its a // linked folder this will enable us to dereference it). // IResource r = // currProject.findMember(workspaceRelativeOutputPath.removeFirstSegments(1)); // String ret = ""; // if ( r != null ) ret = r.getLocation().toOSString(); // AJDTEventTrace.generalEvent("Output path =" + ret); // // System.err.println(">>>> ret: " + ret + ", r: " + r); // // return ret; } catch (CoreException ce) { Ajde.getDefault().getErrorHandler().handleError( AspectJUIPlugin.getResourceString("noOutputDir"), ce); } return null; }
13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/550817c76071be000f8667dc97da8c7e46297577/ProjectProperties.java/buggy/org.eclipse.ajdt.ui/src/org/eclipse/ajdt/internal/ui/ajde/ProjectProperties.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 11062, 743, 1435, 288, 202, 202, 698, 288, 1082, 202, 45, 4109, 4306, 4109, 273, 2970, 1181, 46, 5370, 3773, 18, 588, 1868, 1435, 6862, 202, 18, 588, 3935, 4109, 5621, 1082, 202, 45, 5852, 4109, 525, 4109, 273, 5110, 4670, 18, 2640, 12, 17016, 4109, 1769, 1082, 202, 45, 743, 6003, 8574, 1447, 743, 273, 525, 4109, 18, 588, 1447, 2735, 5621, 1082, 202, 430, 261, 14915, 8574, 1447, 743, 18, 9273, 1380, 1435, 422, 404, 13, 288, 368, 1984, 9506, 202, 759, 1365, 9506, 202, 2463, 525, 4109, 18, 588, 1420, 7675, 588, 2735, 7675, 869, 4618, 780, 5621, 1082, 202, 97, 469, 288, 9506, 202, 45, 3899, 596, 273, 8128, 3773, 18, 588, 8241, 7675, 588, 2375, 1435, 25083, 202, 18, 588, 3899, 12, 14915, 8574, 1447, 743, 1769, 9506, 202, 2463, 596, 18, 588, 2735, 7675, 869, 4618, 780, 5621, 1082, 202, 97, 1082, 202, 759, 1850, 16907, 890, 7301, 3707, 300, 336, 326, 589, 2145, 16, 384, 416, 350, 5, 1082, 202, 759, 1082, 202, 759, 16907, 5340, 2733, 28, 30, 2672, 326, 1984, 2117, 9178, 2353, 326, 6003, 1082, 202, 759, 2117, 18, 1082, 202, 759, 1082, 202, 780, 6003, 1333, 273, 1082, 202, 759, 4306, 4109, 18, 588, 2735, 7675, 4479, 3024, 7946, 12, 21, 2934, 869, 4618, 780, 5621, 1082, 202, 759, 1082, 202, 759, 1082, 202, 45, 5852, 4109, 525, 4109, 273, 5110, 4670, 18, 2640, 12, 17016, 4109, 1769, 1082, 202, 759, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 11062, 743, 1435, 288, 202, 202, 698, 288, 1082, 202, 45, 4109, 4306, 4109, 273, 2970, 1181, 46, 5370, 3773, 18, 588, 1868, 1435, 6862, 202, 18, 588, 3935, 4109, 5621, 1082, 202, 45, 5852, 4109, 525, 4109, 273, 5110, 4670, 18, 2640, 12, 17016, 4109, 1769, 1082, 202, 45, 743, 6003, 8574, 1447, 743, 273, 525, 4109, 18, 588, 1447, 2735, 5621, 1082, 202, 430, 261, 14915, 8574, 1447, 743, 18, 9273, 1380, 1435, 422, 404, 13, 288, 368, 1984, 9506, 202, 759, 1365, 9506, 202, 2463, 525, 4109, 18, 588, 1420, 7675, 588, 2735, 7675, 869, 4618, 780, 5621, 1082, 202, 97, 469, 288, 9506, 202, 45, 3899, 596, 273, 8128, 3773, 18, 2 ]
public void setDigest(String digest) { this.digest = digest;
public void setDigest(String connectionID, String password) { this.digest = StringUtils.hash(connectionID + password);
public void setDigest(String digest) { this.digest = digest; }
1538 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1538/0a62a9059b63b3dea33602cd39d801ca781d5a9e/Authentication.java/buggy/source/org/jivesoftware/smack/packet/Authentication.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 9568, 12, 780, 5403, 13, 288, 3639, 333, 18, 10171, 273, 5403, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 9568, 12, 780, 5403, 13, 288, 3639, 333, 18, 10171, 273, 5403, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public FloatDatatypeValidator () throws InvalidDatatypeFacetException{ this( null, null, false );
public FloatDatatypeValidator () { this( null, null, false, null );
public FloatDatatypeValidator () throws InvalidDatatypeFacetException{ this( null, null, false ); // Native, No Facets defined, Restriction }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/4b01142cc37cb03a4b40a1d07569328af4773755/FloatDatatypeValidator.java/buggy/src/org/apache/xerces/impl/v2/datatypes/FloatDatatypeValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5450, 20228, 5126, 1832, 1216, 1962, 20228, 11137, 503, 95, 3639, 333, 12, 446, 16, 446, 16, 629, 11272, 368, 16717, 16, 2631, 12618, 2413, 2553, 16, 1124, 6192, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5450, 20228, 5126, 1832, 1216, 1962, 20228, 11137, 503, 95, 3639, 333, 12, 446, 16, 446, 16, 629, 11272, 368, 16717, 16, 2631, 12618, 2413, 2553, 16, 1124, 6192, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void endObjectStyleMacroExpansion(int offset);
public void endObjectStyleMacroExpansion(IMacroDefinition macro, int offset);
public void endObjectStyleMacroExpansion(int offset);
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/dc228062598a33014201f6e29123346c86b43118/IScannerPreprocessorLog.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/IScannerPreprocessorLog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 921, 2885, 17392, 2966, 12162, 12, 474, 1384, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 921, 2885, 17392, 2966, 12162, 12, 474, 1384, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case BUTTON_LEFT: if (planes.getChar(pos) == 'F') { pos++; } else aidFlag = false; if (planes.getChar(pos + 1) != '=' && planes.getChar(pos + 1) != '.' && planes.getChar(pos + 1) != '/') { aid.append(planes.getChar(pos)); aid.append(planes.getChar(pos + 1)); } else { log.debug(" Hotspot clicked!!! we will send character " + planes.getChar(pos)); aid.append(planes.getChar(pos));
} else { if (screenFields.getCurrentField() != null) { int xPos = screenFields.getCurrentField().startPos(); for (int x = 0; x < aid.length(); x++) { planes.setChar(xPos + x, aid.charAt(x)); } screenFields.setCurrentFieldMDT(); sessionVT.sendAidKey(tnvt.AID_ENTER);
public boolean moveCursor(MouseEvent e, int pos) { if (!oia.isKeyBoardLocked()) { if (pos < 0) return false; // because getRowColFromPoint returns offset of 1,1 we need to // translate to offset 0,0 // pos -= (numCols + 1); int g = planes.getWhichGUI(pos); // lets check for hot spots if (g >= BUTTON_LEFT && g <= BUTTON_LAST) { StringBuffer aid = new StringBuffer(); boolean aidFlag = true; switch (g) { case BUTTON_RIGHT: case BUTTON_MIDDLE: while (planes.getWhichGUI(--pos) != BUTTON_LEFT) { } case BUTTON_LEFT: if (planes.getChar(pos) == 'F') { pos++; } else aidFlag = false; if (planes.getChar(pos + 1) != '=' && planes.getChar(pos + 1) != '.' && planes.getChar(pos + 1) != '/') { // System.out.println(" Hotspot clicked!!! we will send // characters " + // screen[pos].getChar() + // screen[pos+1].getChar()); aid.append(planes.getChar(pos)); aid.append(planes.getChar(pos + 1)); } else { log.debug(" Hotspot clicked!!! we will send character " + planes.getChar(pos)); aid.append(planes.getChar(pos)); } break; } if (aidFlag) { switch (g) { case BUTTON_LEFT_UP: case BUTTON_MIDDLE_UP: case BUTTON_RIGHT_UP: case BUTTON_ONE_UP: case BUTTON_SB_UP: case BUTTON_SB_GUIDE: sessionVT.sendAidKey(tnvt.AID_ROLL_UP); break; case BUTTON_LEFT_DN: case BUTTON_MIDDLE_DN: case BUTTON_RIGHT_DN: case BUTTON_ONE_DN: case BUTTON_SB_DN: case BUTTON_SB_THUMB: sessionVT.sendAidKey(tnvt.AID_ROLL_DOWN); break; case BUTTON_LEFT_EB: case BUTTON_MIDDLE_EB: case BUTTON_RIGHT_EB: StringBuffer eb = new StringBuffer(); while (planes.getWhichGUI(pos--) != BUTTON_LEFT_EB) ; while (planes.getWhichGUI(pos++) != BUTTON_RIGHT_EB) { eb.append(planes.getChar(pos)); } org.tn5250j.tools.system.OperatingSystem.displayURL(eb .toString()); // take out the log statement when we are sure it is // working log.info("Send to external Browser: " + eb.toString()); break; default: int aidKey = Integer.parseInt(aid.toString()); if (aidKey >= 1 && aidKey <= 12) sessionVT.sendAidKey(0x30 + aidKey); if (aidKey >= 13 && aidKey <= 24) sessionVT.sendAidKey(0xB0 + (aidKey - 12)); } } else { if (screenFields.getCurrentField() != null) { int xPos = screenFields.getCurrentField().startPos(); for (int x = 0; x < aid.length(); x++) { // System.out.println(sr + "," + (sc + x) + " " + // aid.charAt(x)); planes.setChar(xPos + x, aid.charAt(x)); } // System.out.println(aid); screenFields.setCurrentFieldMDT(); sessionVT.sendAidKey(tnvt.AID_ENTER); } } // return back to the calling routine that the cursor was not moved // but something else here was done like aid keys or the such return false; } else { // this is a note to not execute this code here when we // implement // the remain after edit function option. // if (gui.rubberband.isAreaSelected()) { // gui.rubberband.reset(); // gui.repaint(); // } else { goto_XY(pos); isInField(lastPos); // return back to the calling object that the cursor was indeed // moved with in the screen object return true; // } } } return false; }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/446c691d87b77c1be3b434626845a4988e42aea7/Screen5250.java/clean/tn5250j/src/org/tn5250j/framework/tn5250/Screen5250.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3635, 6688, 12, 9186, 1133, 425, 16, 509, 949, 13, 288, 202, 202, 430, 16051, 83, 1155, 18, 291, 653, 22233, 8966, 10756, 288, 1082, 202, 430, 261, 917, 411, 374, 13, 9506, 202, 2463, 629, 31, 1082, 202, 759, 2724, 11835, 914, 1265, 2148, 1135, 1384, 434, 404, 16, 21, 732, 1608, 358, 1082, 202, 759, 565, 4204, 358, 1384, 374, 16, 20, 1082, 202, 759, 540, 949, 3947, 261, 2107, 8011, 397, 404, 1769, 1082, 202, 474, 314, 273, 31634, 18, 588, 2888, 1354, 43, 5370, 12, 917, 1769, 1082, 202, 759, 14557, 866, 364, 12811, 1694, 6968, 1082, 202, 430, 261, 75, 1545, 29947, 67, 10066, 597, 314, 1648, 29947, 67, 14378, 13, 288, 9506, 202, 780, 1892, 20702, 273, 394, 6674, 5621, 9506, 202, 6494, 20702, 4678, 273, 638, 31, 9506, 202, 9610, 261, 75, 13, 288, 9506, 202, 3593, 29947, 67, 11847, 30, 9506, 202, 3593, 29947, 67, 49, 25578, 30, 6862, 202, 17523, 261, 7088, 281, 18, 588, 2888, 1354, 43, 5370, 12, 413, 917, 13, 480, 29947, 67, 10066, 13, 288, 6862, 202, 97, 9506, 202, 3593, 29947, 67, 10066, 30, 6862, 202, 430, 261, 7088, 281, 18, 588, 2156, 12, 917, 13, 422, 296, 42, 6134, 288, 25083, 202, 917, 9904, 31, 6862, 202, 97, 469, 25083, 202, 20736, 4678, 273, 629, 31, 6862, 202, 430, 261, 7088, 281, 18, 588, 2156, 12, 917, 397, 404, 13, 480, 5214, 6862, 202, 10, 10, 31634, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3635, 6688, 12, 9186, 1133, 425, 16, 509, 949, 13, 288, 202, 202, 430, 16051, 83, 1155, 18, 291, 653, 22233, 8966, 10756, 288, 1082, 202, 430, 261, 917, 411, 374, 13, 9506, 202, 2463, 629, 31, 1082, 202, 759, 2724, 11835, 914, 1265, 2148, 1135, 1384, 434, 404, 16, 21, 732, 1608, 358, 1082, 202, 759, 565, 4204, 358, 1384, 374, 16, 20, 1082, 202, 759, 540, 949, 3947, 261, 2107, 8011, 397, 404, 1769, 1082, 202, 474, 314, 273, 31634, 18, 588, 2888, 1354, 43, 5370, 12, 917, 1769, 1082, 202, 759, 14557, 866, 364, 12811, 1694, 6968, 1082, 202, 430, 261, 75, 1545, 29947, 67, 10066, 597, 314, 1648, 29947, 67, 14378, 2 ]
return this.sid;
return sid;
public short getSid() { return this.sid; }
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/e1e58e515f38ac357130b8e14d9fd377be1ea1a6/SeriesChartGroupIndexRecord.java/buggy/src/java/org/apache/poi/hssf/record/SeriesChartGroupIndexRecord.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3025, 1322, 350, 1435, 565, 288, 3639, 327, 7348, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3025, 1322, 350, 1435, 565, 288, 3639, 327, 7348, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
VM_Address getNextReturnAddressAddress() {
VM_Address getNextReturnAddressAddress() { VM_Address ref_address; if ( !jniSavedReturnAddr.isZero() ) { ref_address = jniSavedReturnAddr; jniSavedReturnAddr = VM_Address.zero(); return ref_address; }
VM_Address getNextReturnAddressAddress() { //- implements VM_GCMapIterator VM_Address ref_address; if ( !jniSavedReturnAddr.isZero() ) { ref_address = jniSavedReturnAddr; jniSavedReturnAddr = VM_Address.zero(); return ref_address; } return VM_Address.zero(); }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/adc94596e6496781a4e0763b29a52be3daab1a7a/VM_JNIGCMapIterator.java/clean/rvm/src/vm/arch/powerPC/jni/VM_JNIGCMapIterator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 8251, 67, 1887, 6927, 990, 1887, 1887, 1435, 288, 8251, 67, 1887, 225, 1278, 67, 2867, 31, 309, 261, 401, 78, 15834, 16776, 990, 3178, 18, 291, 7170, 1435, 262, 288, 1278, 67, 2867, 273, 525, 15834, 16776, 990, 3178, 31, 525, 15834, 16776, 990, 3178, 273, 8251, 67, 1887, 18, 7124, 5621, 327, 1278, 67, 2867, 31, 289, 368, 17, 4792, 8251, 67, 15396, 863, 3198, 4202, 8251, 67, 1887, 225, 1278, 67, 2867, 31, 4202, 309, 261, 401, 78, 15834, 16776, 990, 3178, 18, 291, 7170, 1435, 262, 288, 1850, 1278, 67, 2867, 273, 525, 15834, 16776, 990, 3178, 31, 1850, 525, 15834, 16776, 990, 3178, 273, 8251, 67, 1887, 18, 7124, 5621, 1850, 327, 1278, 67, 2867, 31, 1377, 289, 1377, 327, 8251, 67, 1887, 18, 7124, 5621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 8251, 67, 1887, 6927, 990, 1887, 1887, 1435, 288, 8251, 67, 1887, 225, 1278, 67, 2867, 31, 309, 261, 401, 78, 15834, 16776, 990, 3178, 18, 291, 7170, 1435, 262, 288, 1278, 67, 2867, 273, 525, 15834, 16776, 990, 3178, 31, 525, 15834, 16776, 990, 3178, 273, 8251, 67, 1887, 18, 7124, 5621, 327, 1278, 67, 2867, 31, 289, 368, 17, 4792, 8251, 67, 15396, 863, 3198, 4202, 8251, 67, 1887, 225, 1278, 67, 2867, 31, 4202, 309, 261, 401, 78, 15834, 16776, 990, 3178, 18, 291, 7170, 1435, 262, 288, 1850, 1278, 67, 2867, 273, 525, 15834, 16776, 990, 3178, 31, 1850, 525, 15834, 16776, 990, 3178, 273, 8251, 67, 1887, 18, 7124, 5621, 1850, 327, 1278, 2 ]
if ((capRequest[2] & 0x02) == 0x02) {
if ((capRequest[2] & 0x80) == 0x80) { capMask |= SYB_UNICODE; } if ((capRequest[3] & 0x02) == 0x02) {
private void tdsCapabilityToken() throws IOException, ProtocolException { in.readShort(); // Packet length if (in.read() != 1) { throw new ProtocolException("TDS_CAPABILITY: expected request string"); } int capLen = in.read(); if (capLen != 10 && capLen != 0) { throw new ProtocolException("TDS_CAPABILITY: byte count not 10"); } byte capRequest[] = new byte[10]; if (capLen == 0) { Logger.println("TDS_CAPABILITY: Invalid request length"); } else { in.read(capRequest); } if (in.read() != 2) { throw new ProtocolException("TDS_CAPABILITY: expected response string"); } capLen = in.read(); if (capLen != 10 && capLen != 0) { throw new ProtocolException("TDS_CAPABILITY: byte count not 10"); } byte capResponse[] = new byte[10]; if (capLen == 0) { Logger.println("TDS_CAPABILITY: Invalid response length"); } else { in.read(capResponse); } // // jTDS sends 01 0A 03 84 0E EF 65 7F FF FF FF D6 // Sybase 11.92 01 0A 00 00 00 23 61 41 CF FF FF C6 // Sybase 12.52 01 0A 03 84 0A E3 61 41 FF FF FF C6 // // JTDS sends 02 0A 00 02 00 07 9E 06 48 00 00 00 // Sybase 11.92 02 0A 00 00 00 00 00 06 00 00 00 00 // Sybase 12.52 02 0A 00 00 00 00 00 06 00 00 00 00 // // // Now set the correct attributes for this connection. // See the CT_LIB documentation for details on the bit // positions. // int capMask = 0; if ((capRequest[6] & 0x30) == 0x30) { capMask |= SYB_LONGDATA; } if ((capRequest[0] & 0x03) == 0x03) { capMask |= SYB_DATETIME; } if ((capRequest[2] & 0x02) == 0x02) { capMask |= SYB_EXTCOLINFO; } if ((capRequest[3] & 0x04) == 0x04) { capMask |= SYB_BITNULL; } if ((capRequest[1] & 0x80) == 0x80) { capMask |= SYB_UNICODE; } connection.setSybaseInfo(capMask); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/804982908e9416d23d3d49a7913b33c2def3ee35/TdsCore.java/clean/src/main/net/sourceforge/jtds/jdbc/TdsCore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 268, 2377, 17035, 1345, 1435, 1216, 1860, 16, 4547, 503, 288, 3639, 316, 18, 896, 4897, 5621, 368, 11114, 769, 3639, 309, 261, 267, 18, 896, 1435, 480, 404, 13, 288, 5411, 604, 394, 4547, 503, 2932, 56, 3948, 67, 17296, 22879, 30, 2665, 590, 533, 8863, 3639, 289, 3639, 509, 3523, 2891, 273, 316, 18, 896, 5621, 3639, 309, 261, 5909, 2891, 480, 1728, 597, 3523, 2891, 480, 374, 13, 288, 5411, 604, 394, 4547, 503, 2932, 56, 3948, 67, 17296, 22879, 30, 1160, 1056, 486, 1728, 8863, 3639, 289, 3639, 1160, 3523, 691, 8526, 273, 394, 1160, 63, 2163, 15533, 3639, 309, 261, 5909, 2891, 422, 374, 13, 288, 5411, 4242, 18, 8222, 2932, 56, 3948, 67, 17296, 22879, 30, 1962, 590, 769, 8863, 3639, 289, 469, 288, 5411, 316, 18, 896, 12, 5909, 691, 1769, 3639, 289, 3639, 309, 261, 267, 18, 896, 1435, 480, 576, 13, 288, 5411, 604, 394, 4547, 503, 2932, 56, 3948, 67, 17296, 22879, 30, 2665, 766, 533, 8863, 3639, 289, 3639, 3523, 2891, 273, 316, 18, 896, 5621, 3639, 309, 261, 5909, 2891, 480, 1728, 597, 3523, 2891, 480, 374, 13, 288, 5411, 604, 394, 4547, 503, 2932, 56, 3948, 67, 17296, 22879, 30, 1160, 1056, 486, 1728, 8863, 3639, 289, 3639, 1160, 3523, 1064, 8526, 273, 394, 1160, 63, 2163, 15533, 3639, 309, 261, 5909, 2891, 422, 374, 13, 288, 5411, 4242, 18, 8222, 2932, 56, 3948, 67, 17296, 22879, 30, 1962, 766, 769, 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, 268, 2377, 17035, 1345, 1435, 1216, 1860, 16, 4547, 503, 288, 3639, 316, 18, 896, 4897, 5621, 368, 11114, 769, 3639, 309, 261, 267, 18, 896, 1435, 480, 404, 13, 288, 5411, 604, 394, 4547, 503, 2932, 56, 3948, 67, 17296, 22879, 30, 2665, 590, 533, 8863, 3639, 289, 3639, 509, 3523, 2891, 273, 316, 18, 896, 5621, 3639, 309, 261, 5909, 2891, 480, 1728, 597, 3523, 2891, 480, 374, 13, 288, 5411, 604, 394, 4547, 503, 2932, 56, 3948, 67, 17296, 22879, 30, 1160, 1056, 486, 1728, 8863, 3639, 289, 3639, 1160, 3523, 691, 8526, 273, 394, 1160, 63, 2163, 15533, 3639, 309, 261, 5909, 2891, 422, 374, 13, 288, 5411, 4242, 18, 8222, 2932, 2 ]
deep = false;
public Node importNode(Node source, boolean deep) throws DOMException { Node 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; if (source.getLocalName() == null) { newelement = createElement(source.getNodeName()); } else { newelement = createElementNS(source.getNamespaceURI(), source.getNodeName()); } NamedNodeMap srcattr = source.getAttributes(); if (srcattr != null) { for(int i = 0; i < srcattr.getLength(); i++) { Attr attr = (Attr) importNode(srcattr.item(i), true); newelement.setAttributeNode(attr); } } newnode = newelement; break; } case ATTRIBUTE_NODE: { if (source.getLocalName() == null) { newnode = createAttribute(source.getNodeName()); } else { newnode = createAttributeNS(source.getNamespaceURI(), source.getNodeName()); } // Kids carry value break; } case TEXT_NODE: { newnode = createTextNode(source.getNodeValue()); break; } case CDATA_SECTION_NODE: { newnode = createCDATASection(source.getNodeValue()); break; } case ENTITY_REFERENCE_NODE: { newnode = createEntityReference(source.getNodeName()); deep = false; // Value implied by doctype, so we must 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 = createProcessingInstruction(source.getNodeName(), source.getNodeValue()); break; } case COMMENT_NODE: { newnode = createComment(source.getNodeValue()); break; } case DOCUMENT_TYPE_NODE: { DocumentType srcdoctype = (DocumentType)source; DocumentTypeImpl newdoctype = (DocumentTypeImpl) createDocumentType(srcdoctype.getNodeName(), srcdoctype.getPublicId(), srcdoctype.getSystemId()); // Values are on NamedNodeMaps NamedNodeMap smap = srcdoctype.getEntities(); NamedNodeMap tmap = newdoctype.getEntities(); if(smap != null) { for(int i = 0; i < smap.getLength(); i++) { tmap.setNamedItem(importNode(smap.item(i), true)); } } smap = srcdoctype.getNotations(); tmap = newdoctype.getNotations(); if (smap != null) { for(int i = 0; i < smap.getLength(); i++) { tmap.setNamedItem(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 = 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
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/6a8035157807dee36c23edeaf25be9ba699c3119/DocumentImpl.java/buggy/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, 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, 202, 202, 1046, 394, 2956, 31, 202, 202, 430, 261, 3168, 18, 588, 29583, 1435, 422, 446, 13, 288, 1082, 565, 394, 2956, 273, 6310, 12, 3168, 18, 588, 18948, 10663, 202, 202, 97, 469, 288, 1082, 565, 394, 2956, 273, 26266, 12, 3168, 18, 588, 3402, 3098, 9334, 6862, 1082, 1084, 18, 588, 18948, 10663, 202, 202, 97, 202, 202, 7604, 907, 863, 1705, 1747, 273, 1084, 18, 588, 2498, 5621, 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, 377, 1071, 2029, 1930, 907, 12, 907, 1084, 16, 1250, 4608, 13, 3639, 1216, 4703, 503, 288, 377, 202, 907, 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, 2 ]
notationModelParam.getContents().add(diagram); modelResource.getContents().add(model); ResourceUtil.save(modelResource); diagram.setName(newDiagramFile.getName());
diagramResource.getContents().add(diagram); diagram.setName(diagramFile.getName());
public Object run() { EObject model = EObjectUtil.create(TaiPanPackage.eINSTANCE.getAquatory()); Diagram diagram = ViewService.createDiagram(model, kindParam, new PreferencesHint(TaiPanDiagramEditorPlugin.EDITOR_ID)); if (diagram != null) { notationModelParam.getContents().add(diagram); modelResource.getContents().add(model); ResourceUtil.save(modelResource); diagram.setName(newDiagramFile.getName()); diagram.setElement(model); ResourceUtil.save(notationModelParam); } return null; }
7409 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7409/79c7b0fc69c2bf26895f5be319f9bd8a536a6311/TaiPanDiagramEditorUtil.java/clean/examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/part/TaiPanDiagramEditorUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 1033, 1086, 1435, 288, 6862, 202, 8029, 938, 273, 8091, 1304, 18, 2640, 12, 56, 10658, 4069, 2261, 18, 73, 13341, 18, 588, 37, 372, 8452, 10663, 6862, 202, 14058, 1940, 19750, 273, 4441, 1179, 18, 2640, 14058, 1940, 12, 2284, 16, 3846, 786, 16, 394, 28310, 7002, 12, 56, 10658, 4069, 14058, 1940, 6946, 3773, 18, 13208, 67, 734, 10019, 6862, 202, 430, 261, 12264, 1940, 480, 446, 13, 288, 25083, 202, 1819, 1488, 786, 18, 588, 6323, 7675, 1289, 12, 12264, 1940, 1769, 25083, 202, 2284, 1420, 18, 588, 6323, 7675, 1289, 12, 2284, 1769, 25083, 202, 1420, 1304, 18, 5688, 12, 2284, 1420, 1769, 25083, 202, 12264, 1940, 18, 542, 461, 12, 2704, 14058, 1940, 812, 18, 17994, 10663, 25083, 202, 12264, 1940, 18, 542, 1046, 12, 2284, 1769, 25083, 202, 1420, 1304, 18, 5688, 12, 1819, 1488, 786, 1769, 6862, 202, 97, 6862, 202, 2463, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 1033, 1086, 1435, 288, 6862, 202, 8029, 938, 273, 8091, 1304, 18, 2640, 12, 56, 10658, 4069, 2261, 18, 73, 13341, 18, 588, 37, 372, 8452, 10663, 6862, 202, 14058, 1940, 19750, 273, 4441, 1179, 18, 2640, 14058, 1940, 12, 2284, 16, 3846, 786, 16, 394, 28310, 7002, 12, 56, 10658, 4069, 14058, 1940, 6946, 3773, 18, 13208, 67, 734, 10019, 6862, 202, 430, 261, 12264, 1940, 480, 446, 13, 288, 25083, 202, 1819, 1488, 786, 18, 588, 6323, 7675, 1289, 12, 12264, 1940, 1769, 25083, 202, 2284, 1420, 18, 588, 6323, 7675, 1289, 12, 2284, 1769, 25083, 202, 1420, 1304, 18, 5688, 12, 2284, 1420, 1769, 25083, 202, 12264, 1940, 18, 542, 461, 12, 2704, 2 ]
textArea.updateScrollBars();
textArea.updateScrollBar();
void init() { if(initialized) { if(buffer.isLoaded()) { resetAnchors(); textArea.updateScrollBars(); textArea.recalculateLastPhysicalLine(); } } else { initialized = true; folds = new RangeMap(); if(buffer.isLoaded()) bufferChangeHandler.foldHandlerChanged(buffer); else folds.reset(buffer.getLineCount()); notifyScreenLineChanges(); } } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/ac659a2cb4ef2bf0ee0df41b216e2eab89ac410c/DisplayManager.java/buggy/org/gjt/sp/jedit/textarea/DisplayManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1208, 1435, 202, 95, 202, 202, 430, 12, 13227, 13, 202, 202, 95, 1082, 202, 430, 12, 4106, 18, 291, 8835, 10756, 1082, 202, 95, 9506, 202, 6208, 979, 15482, 5621, 9506, 202, 955, 5484, 18, 2725, 6806, 5190, 87, 5621, 9506, 202, 955, 5484, 18, 266, 11162, 3024, 18136, 1670, 5621, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 13227, 273, 638, 31, 1082, 202, 16007, 87, 273, 394, 8086, 863, 5621, 1082, 202, 430, 12, 4106, 18, 291, 8835, 10756, 9506, 202, 4106, 3043, 1503, 18, 16007, 1503, 5033, 12, 4106, 1769, 1082, 202, 12107, 9506, 202, 16007, 87, 18, 6208, 12, 4106, 18, 588, 1670, 1380, 10663, 1082, 202, 12336, 7956, 1670, 7173, 5621, 202, 202, 97, 202, 97, 368, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1208, 1435, 202, 95, 202, 202, 430, 12, 13227, 13, 202, 202, 95, 1082, 202, 430, 12, 4106, 18, 291, 8835, 10756, 1082, 202, 95, 9506, 202, 6208, 979, 15482, 5621, 9506, 202, 955, 5484, 18, 2725, 6806, 5190, 87, 5621, 9506, 202, 955, 5484, 18, 266, 11162, 3024, 18136, 1670, 5621, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 13227, 273, 638, 31, 1082, 202, 16007, 87, 273, 394, 8086, 863, 5621, 1082, 202, 430, 12, 4106, 18, 291, 8835, 10756, 9506, 202, 4106, 3043, 1503, 18, 16007, 1503, 5033, 12, 4106, 1769, 1082, 202, 12107, 9506, 202, 16007, 87, 18, 6208, 12, 4106, 18, 588, 1670, 1380, 10663, 2 ]
public ActionForward prepareEditProgram(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws FenixActionException, FenixFilterException { Integer objectCode = getObjectCode(request); String curricularCourseCodeString = request.getParameter("curricularCourseCode"); Integer curricularCourseCode = new Integer(curricularCourseCodeString); request.setAttribute("curricularCourseCode", curricularCourseCode); ISiteComponent programComponent = new InfoCurriculum(); try { readSiteView(request, programComponent, null, curricularCourseCode, null); } catch (FenixActionException e1) { throw e1; } HttpSession session = request.getSession(false); IUserView userView = (IUserView) session.getAttribute(SessionConstants.U_VIEW); //Filter if the cteacher is responsibles for the execution course Object args[] = { userView.getUtilizador(), objectCode, curricularCourseCode }; Boolean isResponsible = null; try { isResponsible = (Boolean) ServiceManagerServiceFactory.executeService(null, "TeacherResponsibleByExecutionCourse", args); } catch (FenixServiceException e) { e.printStackTrace(); throw new FenixActionException(e); } if (isResponsible.booleanValue() == false) { ActionErrors errors = new ActionErrors(); errors.add("notAuthorized", new ActionError("error.exception.notAuthorized2")); saveErrors(request, errors); return mapping.findForward("notAuthorized"); } TeacherAdministrationSiteView siteView = (TeacherAdministrationSiteView) request .getAttribute("siteView"); if (siteView.getComponent() != null) { DynaActionForm programForm = (DynaActionForm) form; programForm.set("program", ((InfoCurriculum) siteView.getComponent()).getProgram()); programForm.set("programEn", ((InfoCurriculum) siteView.getComponent()).getProgramEn()); } return mapping.findForward("editProgram"); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/51b6ac2293210675b11702dcd353d11f8f6541bc/TeacherAdministrationViewerDispatchAction.java/clean/src/net/sourceforge/fenixedu/presentationTier/Action/teacher/TeacherAdministrationViewerDispatchAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 8514, 2911, 4666, 9459, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 5411, 9984, 590, 16, 12446, 766, 13, 1216, 478, 275, 697, 1803, 503, 16, 478, 275, 697, 1586, 503, 288, 3639, 2144, 733, 1085, 273, 6455, 1085, 12, 2293, 1769, 7734, 514, 662, 1512, 2490, 39, 3117, 1085, 780, 273, 590, 18, 588, 1662, 2932, 1397, 1512, 2490, 39, 3117, 1085, 8863, 3639, 2144, 662, 1512, 2490, 39, 3117, 1085, 273, 394, 2144, 12, 1397, 1512, 2490, 39, 3117, 1085, 780, 1769, 3639, 590, 18, 542, 1499, 2932, 1397, 1512, 2490, 39, 3117, 1085, 3113, 662, 1512, 2490, 39, 3117, 1085, 1769, 7734, 4437, 1137, 1841, 5402, 1841, 273, 394, 3807, 2408, 1512, 332, 379, 5621, 7734, 775, 288, 5411, 855, 4956, 1767, 12, 2293, 16, 5402, 1841, 16, 446, 16, 662, 1512, 2490, 39, 3117, 1085, 16, 446, 1769, 10792, 289, 1044, 261, 42, 275, 697, 1803, 503, 425, 21, 13, 288, 5411, 604, 425, 21, 31, 3639, 289, 7734, 26166, 1339, 273, 590, 18, 588, 2157, 12, 5743, 1769, 3639, 467, 1299, 1767, 729, 1767, 273, 261, 45, 1299, 1767, 13, 1339, 18, 588, 1499, 12, 2157, 2918, 18, 57, 67, 12145, 1769, 7734, 368, 1586, 309, 326, 276, 736, 27779, 353, 7899, 6044, 1040, 364, 326, 4588, 4362, 3639, 1033, 833, 8526, 273, 288, 729, 1767, 18, 588, 1304, 452, 23671, 9334, 733, 1085, 16, 662, 1512, 2490, 39, 3117, 1085, 289, 31, 3639, 3411, 353, 607, 500, 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, 4382, 8514, 2911, 4666, 9459, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 5411, 9984, 590, 16, 12446, 766, 13, 1216, 478, 275, 697, 1803, 503, 16, 478, 275, 697, 1586, 503, 288, 3639, 2144, 733, 1085, 273, 6455, 1085, 12, 2293, 1769, 7734, 514, 662, 1512, 2490, 39, 3117, 1085, 780, 273, 590, 18, 588, 1662, 2932, 1397, 1512, 2490, 39, 3117, 1085, 8863, 3639, 2144, 662, 1512, 2490, 39, 3117, 1085, 273, 394, 2144, 12, 1397, 1512, 2490, 39, 3117, 1085, 780, 1769, 3639, 590, 18, 542, 1499, 2932, 1397, 1512, 2490, 39, 3117, 1085, 3113, 662, 1512, 2490, 39, 3117, 1085, 1769, 7734, 4437, 1137, 1841, 5402, 1841, 273, 394, 3807, 2408, 1512, 2 ]
long secs = ((RubyFixnum) args[0]).getValue();
long secs = RubyNumeric.num2long(args[0]);
public static RubyTime s_at(Ruby ruby, RubyObject rubyClass, RubyObject[] args) { long secs = ((RubyFixnum) args[0]).getValue(); RubyTime time = new RubyTime(ruby, (RubyClass) rubyClass.getRubyClass()); GregorianCalendar cal = new GregorianCalendar(); cal.setTime(new Date(secs)); time.setJavaCalendar(cal); return time; }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyTime.java/buggy/org/jruby/RubyTime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 950, 272, 67, 270, 12, 54, 10340, 22155, 16, 19817, 921, 22155, 797, 16, 19817, 921, 8526, 833, 13, 288, 3639, 1525, 18043, 273, 19817, 9902, 18, 2107, 22, 5748, 12, 1968, 63, 20, 19226, 3639, 19817, 950, 813, 273, 394, 19817, 950, 12, 27768, 16, 261, 54, 10340, 797, 13, 22155, 797, 18, 588, 54, 10340, 797, 10663, 3639, 28033, 1443, 273, 394, 28033, 5621, 3639, 1443, 18, 542, 950, 12, 2704, 2167, 12, 21317, 10019, 3639, 813, 18, 542, 5852, 7335, 12, 771, 1769, 3639, 327, 813, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 950, 272, 67, 270, 12, 54, 10340, 22155, 16, 19817, 921, 22155, 797, 16, 19817, 921, 8526, 833, 13, 288, 3639, 1525, 18043, 273, 19817, 9902, 18, 2107, 22, 5748, 12, 1968, 63, 20, 19226, 3639, 19817, 950, 813, 273, 394, 19817, 950, 12, 27768, 16, 261, 54, 10340, 797, 13, 22155, 797, 18, 588, 54, 10340, 797, 10663, 3639, 28033, 1443, 273, 394, 28033, 5621, 3639, 1443, 18, 542, 950, 12, 2704, 2167, 12, 21317, 10019, 3639, 813, 18, 542, 5852, 7335, 12, 771, 1769, 3639, 327, 813, 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 ]
return java.sql.ResultSet.FETCH_FORWARD;
return fetchdirection;
public int getFetchDirection() throws SQLException { //PostgreSQL normally sends rows first->last return java.sql.ResultSet.FETCH_FORWARD; }
49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/4042b568fe12b04f3bba81862470f359fddbc2dc/AbstractJdbc2ResultSet.java/buggy/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 2812, 1593, 8212, 1435, 1216, 6483, 202, 95, 202, 202, 759, 3349, 23896, 15849, 9573, 2595, 1122, 2122, 2722, 202, 202, 2463, 2252, 18, 4669, 18, 13198, 18, 20231, 67, 7473, 21343, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 2812, 1593, 8212, 1435, 1216, 6483, 202, 95, 202, 202, 759, 3349, 23896, 15849, 9573, 2595, 1122, 2122, 2722, 202, 202, 2463, 2252, 18, 4669, 18, 13198, 18, 20231, 67, 7473, 21343, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(item.requestSender == null) return false; if(item == null) {
if(item.requestSender == null) {
public boolean handleSwapReply(Message m) { long uid = m.getLong(DMT.UID); Long luid = new Long(uid); RecentlyForwardedItem item = (RecentlyForwardedItem) recentlyForwardedIDs.get(luid); if(item == null) { Logger.error(this, "Unrecognized SwapReply: ID "+uid); return false; } if(item.requestSender == null) return false; if(item == null) { Logger.minor(this, "SwapReply from "+m.getSource()+" on chain originated locally "+uid); return false; } if(item.routedTo == null) { Logger.error(this, "Got SwapReply on "+uid+" but routedTo is null!"); return false; } if(m.getSource() != item.routedTo) { Logger.error(this, "Unmatched swapreply "+uid+" from wrong source: From "+m.getSource()+ " should be "+item.routedTo+" to "+item.requestSender); return true; } item.lastMessageTime = System.currentTimeMillis(); // Returning to source - use incomingID m.set(DMT.UID, item.incomingID); Logger.minor(this, "Forwarding SwapReply "+uid+" from "+m.getSource()+" to "+item.requestSender); try { item.requestSender.sendAsync(m, null); } catch (NotConnectedException e) { Logger.minor(this, "Lost connection forwarding SwapReply "+uid+" to "+item.requestSender); } return true; }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/d69dceaa72feee5ece14b8de951841aa9b614188/LocationManager.java/clean/src/freenet/node/LocationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1640, 12521, 7817, 12, 1079, 312, 13, 288, 3639, 1525, 4555, 273, 312, 18, 588, 3708, 12, 40, 6152, 18, 3060, 1769, 3639, 3407, 328, 1911, 273, 394, 3407, 12, 1911, 1769, 3639, 868, 2998, 715, 22915, 1180, 761, 273, 261, 17076, 715, 22915, 1180, 13, 19907, 22915, 5103, 18, 588, 12, 80, 1911, 1769, 3639, 309, 12, 1726, 422, 446, 13, 288, 5411, 4242, 18, 1636, 12, 2211, 16, 315, 19648, 12738, 7817, 30, 1599, 13773, 1911, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 309, 12, 1726, 18, 2293, 12021, 422, 446, 13, 327, 629, 31, 3639, 309, 12, 1726, 422, 446, 13, 288, 5411, 4242, 18, 17364, 12, 2211, 16, 315, 12521, 7817, 628, 13773, 81, 18, 588, 1830, 1435, 9078, 603, 2687, 4026, 690, 13760, 13773, 1911, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 309, 12, 1726, 18, 303, 4817, 774, 422, 446, 13, 288, 5411, 4242, 18, 1636, 12, 2211, 16, 315, 15617, 12738, 7817, 603, 13773, 1911, 9078, 1496, 3237, 329, 774, 353, 446, 4442, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 309, 12, 81, 18, 588, 1830, 1435, 480, 761, 18, 303, 4817, 774, 13, 288, 5411, 4242, 18, 1636, 12, 2211, 16, 315, 984, 11073, 7720, 10629, 13773, 1911, 9078, 628, 7194, 1084, 30, 6338, 13773, 81, 18, 588, 1830, 1435, 15, 10792, 315, 1410, 506, 13773, 1726, 18, 303, 4817, 774, 9078, 358, 13773, 1726, 18, 2293, 12021, 1769, 5411, 327, 638, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1640, 12521, 7817, 12, 1079, 312, 13, 288, 3639, 1525, 4555, 273, 312, 18, 588, 3708, 12, 40, 6152, 18, 3060, 1769, 3639, 3407, 328, 1911, 273, 394, 3407, 12, 1911, 1769, 3639, 868, 2998, 715, 22915, 1180, 761, 273, 261, 17076, 715, 22915, 1180, 13, 19907, 22915, 5103, 18, 588, 12, 80, 1911, 1769, 3639, 309, 12, 1726, 422, 446, 13, 288, 5411, 4242, 18, 1636, 12, 2211, 16, 315, 19648, 12738, 7817, 30, 1599, 13773, 1911, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 309, 12, 1726, 18, 2293, 12021, 422, 446, 13, 327, 629, 31, 3639, 309, 12, 1726, 422, 446, 13, 288, 5411, 4242, 18, 17364, 12, 2211, 16, 315, 12521, 7817, 2 ]
this.taint = taint; }
this.taint = taint; }
public void setTaint(boolean taint) { this.taint = taint; }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/addcb75d5d86d9b1fd628d84d22b74cfc41f078e/RubyObject.java/buggy/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 29048, 12, 6494, 22664, 13, 288, 3639, 333, 18, 88, 1598, 273, 22664, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 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, 377, 1071, 918, 444, 29048, 12, 6494, 22664, 13, 288, 3639, 333, 18, 88, 1598, 273, 22664, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void createViewModeToolbar(Composite parent) { EditorModeManager manager = (EditorModeManager)getAdapter(EditorModeManager.class); ProductCustomizationProvider productCustomizationProvider = (ProductCustomizationProvider)getAdapter(ProductCustomizationProvider.class); EditorMode [] modeList = manager.getModes(); int modeListLength = modeList.length; boolean showToolBar = modeListLength > 1; if (showToolBar) { toolbar = new Composite(parent, SWT.FLAT | SWT.DRAW_TRANSPARENT); toolbar.setBackground(ColorConstants.white); toolbar.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { Rectangle clientArea = toolbar.getClientArea(); e.gc.setForeground(ColorConstants.lightGray); e.gc.drawRectangle(clientArea.x, clientArea.y, clientArea.width - 1, clientArea.height - 1); } }); GridLayout gridLayout = new GridLayout(3, false); toolbar.setLayout(gridLayout); Label label = new Label(toolbar, SWT.FLAT | SWT.HORIZONTAL); label.setBackground(ColorConstants.white); label.setText(Messages._UI_LABEL_VIEW); label.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_CENTER)); modeCombo = new FlatCCombo(toolbar, SWT.FLAT); modeCombo.setEditable(false); modeCombo.setText(getEditModeName(manager.getCurrentMode(), productCustomizationProvider)); GC gc = new GC(modeCombo); int textWidth = 0; maxLength = 0; // populate combo with modes editorModeAndCustomizedNames = new EditorModeAndCustomizedName[modeListLength]; for (int i = 0; i < modeListLength; i++) { EditorModeAndCustomizedName entry = new EditorModeAndCustomizedName(); editorModeAndCustomizedNames[i] = entry; entry.name = getEditModeName(modeList[i], productCustomizationProvider); entry.mode = modeList[i]; } Arrays.sort(editorModeAndCustomizedNames, new Comparator() { public int compare(Object arg0, Object arg1) { EditorModeAndCustomizedName a = (EditorModeAndCustomizedName)arg0; EditorModeAndCustomizedName b = (EditorModeAndCustomizedName)arg1; return Collator.getInstance().compare(a.name, b.name); } }); for (int i = 0; i < editorModeAndCustomizedNames.length; i++ ) { EditorModeAndCustomizedName entry = editorModeAndCustomizedNames[i]; modeCombo.add(entry.name); maxLength = Math.max (gc.stringExtent(entry.name).x, maxLength); int approxWidthOfStrings = Math.max (gc.stringExtent(entry.name).x, textWidth); if (approxWidthOfStrings > maxLength) maxLength = approxWidthOfStrings; } maxLength += gc.stringExtent(Messages._UI_LABEL_VIEW).x; gc.dispose(); modeComboListener = new ModeComboListener(); modeCombo.addSelectionListener(modeComboListener); modeCombo.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_END)); modeCombo.setBackground(toolbar.getBackground()); ImageHyperlink hyperlink = new ImageHyperlink(toolbar, SWT.FLAT); hyperlink.setBackground(ColorConstants.white); // https://bugs.eclipse.org/bugs/show_bug.cgi?id=154457 Image image = XSDEditorPlugin.getDefault().getImage("icons/dtool/help_contents.gif"); hyperlink.setImage(image);// hyperlink.setImage(WorkbenchImages.getImageRegistry().get(IWorkbenchGraphicConstants.IMG_ETOOL_HELP_CONTENTS)); hyperlink.setToolTipText(Messages._UI_HOVER_VIEW_MODE_DESCRIPTION); hyperlink.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_CENTER)); hyperlink.setData(WorkbenchHelpSystem.HELP_KEY, IHelpContextIds.CLEANUP_XML_HELPID); hyperlink.addMouseListener(new MouseAdapter() { public void mouseDown(MouseEvent e) { // This may take a while, so use the busy indicator BusyIndicator.showWhile(null, new Runnable() { public void run() { PlatformUI.getWorkbench().getHelpSystem().displayDynamicHelp(); } }); } }); } }
13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/5fa302a0766b8e2515e8563b0af05436eeeaed9d/CommonMultiPageEditor.java/clean/bundles/org.eclipse.wst.xsd.ui/src-adt/org/eclipse/wst/xsd/ui/internal/adt/editor/CommonMultiPageEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 6459, 2640, 1767, 2309, 17907, 12, 799, 1724, 881, 817, 15329, 6946, 2309, 49, 940, 1035, 1063, 28657, 6946, 2309, 1318, 13, 588, 4216, 12, 6946, 2309, 1318, 18, 1106, 1769, 4133, 3802, 1588, 2249, 5896, 3802, 1588, 2249, 28657, 4133, 3802, 1588, 2249, 13, 588, 4216, 12, 4133, 3802, 1588, 2249, 18, 1106, 1769, 6946, 2309, 8526, 3188, 682, 33, 4181, 18, 588, 18868, 5621, 474, 3188, 682, 1782, 33, 3188, 682, 18, 2469, 31, 1075, 29510, 13606, 6364, 5190, 33, 3188, 682, 1782, 34, 21, 31, 430, 12, 4500, 6364, 5190, 15329, 18849, 33, 2704, 9400, 12, 2938, 16, 55, 8588, 18, 42, 12190, 96, 55, 8588, 18, 40, 10821, 67, 8989, 3118, 37, 7480, 1769, 18849, 18, 542, 8199, 12, 2957, 2918, 18, 14739, 1769, 18849, 18, 1289, 12699, 2223, 12, 2704, 12699, 2223, 1435, 95, 482, 6459, 84, 1598, 3367, 12, 12699, 1133, 73, 15329, 19463, 2625, 5484, 33, 18849, 18, 588, 1227, 5484, 5621, 73, 18, 13241, 18, 542, 23206, 12, 2957, 2918, 18, 5099, 23521, 1769, 73, 18, 13241, 18, 9446, 19463, 12, 2625, 5484, 18, 92, 16, 2625, 5484, 18, 93, 16, 2625, 5484, 18, 2819, 17, 21, 16, 2625, 5484, 18, 4210, 17, 21, 1769, 9090, 1769, 6313, 3744, 5222, 3744, 33, 2704, 6313, 3744, 12, 23, 16, 5743, 1769, 18849, 18, 542, 3744, 12, 5222, 3744, 1769, 2224, 1925, 33, 2704, 2224, 12, 18849, 16, 55, 8588, 18, 42, 12190, 96, 55, 8588, 18, 44, 20344, 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, 4750, 6459, 2640, 1767, 2309, 17907, 12, 799, 1724, 881, 817, 15329, 6946, 2309, 49, 940, 1035, 1063, 28657, 6946, 2309, 1318, 13, 588, 4216, 12, 6946, 2309, 1318, 18, 1106, 1769, 4133, 3802, 1588, 2249, 5896, 3802, 1588, 2249, 28657, 4133, 3802, 1588, 2249, 13, 588, 4216, 12, 4133, 3802, 1588, 2249, 18, 1106, 1769, 6946, 2309, 8526, 3188, 682, 33, 4181, 18, 588, 18868, 5621, 474, 3188, 682, 1782, 33, 3188, 682, 18, 2469, 31, 1075, 29510, 13606, 6364, 5190, 33, 3188, 682, 1782, 34, 21, 31, 430, 12, 4500, 6364, 5190, 15329, 18849, 33, 2704, 9400, 12, 2938, 16, 55, 8588, 18, 42, 12190, 96, 55, 8588, 18, 40, 10821, 67, 8989, 3118, 37, 7480, 1769, 2 ]
assertEquals(response, results.get(i).toString());
assertEquals(response, new String((byte[])results.get(i)));
protected void sendWithResponse(String endpoint, String message, String response, int noOfMessages) throws UMOException { MuleClient client = new MuleClient(); List results = new ArrayList(); for (int i = 0; i < noOfMessages; i++) { results.add(client.send(endpoint, message, null).getPayload()); } assertEquals(noOfMessages, results.size()); for (int i = 0; i < noOfMessages; i++) { assertEquals(response, results.get(i).toString()); } }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/589f59b15144184ea22999b384d5ea92ddec8bb9/TwoEndpointsSinglePortTestCase.java/buggy/tests/integration/src/test/java/org/mule/test/integration/providers/http/TwoEndpointsSinglePortTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1366, 1190, 1064, 12, 780, 2494, 16, 514, 883, 16, 514, 766, 16, 509, 1158, 951, 5058, 13, 1216, 587, 5980, 503, 288, 3639, 490, 725, 1227, 1004, 273, 394, 490, 725, 1227, 5621, 3639, 987, 1686, 273, 394, 2407, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1158, 951, 5058, 31, 277, 27245, 288, 5411, 1686, 18, 1289, 12, 2625, 18, 4661, 12, 8003, 16, 883, 16, 446, 2934, 588, 6110, 10663, 3639, 289, 3639, 1815, 8867, 12, 2135, 951, 5058, 16, 1686, 18, 1467, 10663, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1158, 951, 5058, 31, 277, 27245, 288, 5411, 1815, 8867, 12, 2740, 16, 394, 514, 12443, 7229, 63, 5717, 4717, 18, 588, 12, 77, 3719, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1366, 1190, 1064, 12, 780, 2494, 16, 514, 883, 16, 514, 766, 16, 509, 1158, 951, 5058, 13, 1216, 587, 5980, 503, 288, 3639, 490, 725, 1227, 1004, 273, 394, 490, 725, 1227, 5621, 3639, 987, 1686, 273, 394, 2407, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1158, 951, 5058, 31, 277, 27245, 288, 5411, 1686, 18, 1289, 12, 2625, 18, 4661, 12, 8003, 16, 883, 16, 446, 2934, 588, 6110, 10663, 3639, 289, 3639, 1815, 8867, 12, 2135, 951, 5058, 16, 1686, 18, 1467, 10663, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1158, 951, 5058, 31, 277, 27245, 288, 5411, 1815, 8867, 12, 2740, 16, 394, 514, 12443, 2 ]
public PluginValidationOperation(IPluginModelBase[] models) { fState = new MinimalState(TargetPlatform.getTargetEnvironment()); fModels = models;
public PluginValidationOperation(ILaunchConfiguration configuration) { fState = new MinimalState(getTargetEnvironment()); initialize(configuration);
public PluginValidationOperation(IPluginModelBase[] models) { fState = new MinimalState(TargetPlatform.getTargetEnvironment()); fModels = models; }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/c98d65e6f536c44c14f9ef7160d9bc7d01b50ded/PluginValidationOperation.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/PluginValidationOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6258, 4354, 2988, 12, 45, 3773, 1488, 2171, 8526, 3679, 13, 288, 202, 202, 74, 1119, 273, 394, 5444, 2840, 1119, 12, 2326, 8201, 18, 588, 2326, 5494, 10663, 202, 202, 74, 8430, 273, 3679, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6258, 4354, 2988, 12, 45, 3773, 1488, 2171, 8526, 3679, 13, 288, 202, 202, 74, 1119, 273, 394, 5444, 2840, 1119, 12, 2326, 8201, 18, 588, 2326, 5494, 10663, 202, 202, 74, 8430, 273, 3679, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
prefix = t.image.substring(0, i / 2 );
escPrefix = t.image.substring(0, i / 2 );
private String getRoot() { Token t = getFirstToken(); // System.out.println("First token for " + ((Object) this ) + " : " + t ); /* * we have a special case where something like * $(\\)*!, where the user want's to see something * like $!blargh in the output, but the ! prevents it from showing. * I think that at this point, this isn't a reference. */ /* so, see if we have "\\!" */ int slashbang = t.image.indexOf("\\!"); if ( slashbang != -1 ) { /* * lets do all the work here. I would argue that if this occurrs, it's * not a reference at all, so preceeding \ characters in front of the $ * are just schmoo. So we just do the escape processing trick (even | odd) * and move on. This kind of breaks the rule pattern of $ and # but '!' really * tosses a wrench into things. */ /* * count the escapes : even # -> not escaped, odd -> escaped */ int i = 0; int len = t.image.length(); i = t.image.indexOf("$"); if (i == -1) { /* yikes! */ rsvc.error("ASTReference.getRoot() : internal error : no $ found for slashbang."); computableReference = false; nullString = t.image; return nullString; } while( i < len && t.image.charAt(i) != '\\') i++; /* ok, i is the first \ char */ int start = i; int count = 0; while( i < len && t.image.charAt(i++) == '\\' ) count++; /* * now construct the output string. We really don't care about leading * slashes as this is not a reference. It's quasi-schmoo */ nullString = t.image.substring(0,start); // prefix up to the first nullString += t.image.substring(start, start + count-1 ); // get the slashes nullString += t.image.substring(start+count); // and the rest, including the /* * this isn't a valid reference, so lets short circuit the value and set calcs */ computableReference = false; return nullString; } /* * we need to see if this reference is escaped. if so * we will clean off the leading \'s and let the * regular behavior determine if we should output this * as \$foo or $foo later on in render(). Lazyness.. */ escaped = false; if ( t.image.startsWith("\\")) { /* * count the escapes : even # -> not escaped, odd -> escaped */ int i = 0; int len = t.image.length(); while( i < len && t.image.charAt(i) == '\\' ) i++; if ( (i % 2) != 0 ) escaped = true; // System.out.println("Escaped? : " + i + " : " + escaped + " : " + ( (Object) this) ); if (i > 0) prefix = t.image.substring(0, i / 2 ); t.image = t.image.substring(i); } /* * get the literal in case this reference isn't backed by the context at runtime */ nullString = literal(); if (t.image.startsWith("$!")) { referenceType = QUIET_REFERENCE; /* * only if we aren't escaped do we want to null the output */ if (!escaped) nullString = ""; if (t.image.startsWith("$!{")) { /* * ex : $!{provider.Title} */ return t.next.image; } else { /* * ex : $!provider.Title */ return t.image.substring(2); } } else if (t.image.equals("${")) { /* * ex : ${provider.Title} */ referenceType = FORMAL_REFERENCE; return t.next.image; } else { /* * the magic <MORE> can prepend '#' and '$' * on the front of a reference - so lets clean it * and save that info as the prefix */ String img = t.image; int loc = 0; for( loc = 0; loc < img.length(); loc++) { char c = img.charAt(loc); if ( c != '#' && c != '$') { break; } } /* * if we have extra stuff, loc > 0 * ex. '#$foo' so attach that to * the prefix. */ if( loc > 0) { prefix = prefix + img.substring(0, loc-1); } referenceType = NORMAL_REFERENCE; return img.substring(loc); } }
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/456e9f523ee98b14d81e8d53d0e83fa7622b1f48/ASTReference.java/buggy/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 7656, 1435, 565, 288, 3639, 3155, 268, 273, 7521, 1345, 5621, 3639, 368, 3639, 2332, 18, 659, 18, 8222, 2932, 3759, 1147, 364, 315, 397, 14015, 921, 13, 333, 262, 397, 315, 294, 315, 397, 268, 11272, 3639, 1748, 540, 380, 225, 732, 1240, 279, 4582, 648, 1625, 5943, 3007, 1850, 380, 225, 271, 24480, 17653, 5, 16, 1625, 326, 729, 2545, 1807, 358, 2621, 5943, 540, 380, 225, 3007, 271, 5, 3083, 3175, 76, 316, 326, 876, 16, 1496, 326, 401, 17793, 518, 628, 17253, 18, 540, 380, 225, 467, 15507, 716, 622, 333, 1634, 16, 333, 5177, 1404, 279, 2114, 18, 540, 1195, 3639, 1748, 1427, 16, 2621, 309, 732, 1240, 8422, 4442, 1195, 3639, 509, 9026, 70, 539, 273, 268, 18, 2730, 18, 31806, 2932, 1695, 4442, 1769, 3639, 309, 261, 9026, 70, 539, 480, 300, 21, 262, 3639, 288, 5411, 1748, 2398, 380, 225, 14557, 741, 777, 326, 1440, 2674, 18, 225, 467, 4102, 1501, 344, 716, 309, 333, 3334, 5453, 16, 518, 1807, 2868, 380, 225, 486, 279, 2114, 622, 777, 16, 1427, 675, 5288, 310, 521, 3949, 316, 6641, 434, 326, 271, 2398, 380, 225, 854, 2537, 18551, 81, 5161, 18, 225, 6155, 732, 2537, 741, 326, 4114, 4929, 28837, 261, 16728, 571, 14800, 13, 2398, 380, 225, 471, 3635, 603, 18, 225, 1220, 3846, 434, 16217, 326, 1720, 1936, 434, 271, 471, 468, 1496, 15502, 8654, 2398, 380, 225, 358, 1049, 281, 279, 341, 26728, 1368, 9198, 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, 514, 7656, 1435, 565, 288, 3639, 3155, 268, 273, 7521, 1345, 5621, 3639, 368, 3639, 2332, 18, 659, 18, 8222, 2932, 3759, 1147, 364, 315, 397, 14015, 921, 13, 333, 262, 397, 315, 294, 315, 397, 268, 11272, 3639, 1748, 540, 380, 225, 732, 1240, 279, 4582, 648, 1625, 5943, 3007, 1850, 380, 225, 271, 24480, 17653, 5, 16, 1625, 326, 729, 2545, 1807, 358, 2621, 5943, 540, 380, 225, 3007, 271, 5, 3083, 3175, 76, 316, 326, 876, 16, 1496, 326, 401, 17793, 518, 628, 17253, 18, 540, 380, 225, 467, 15507, 716, 622, 333, 1634, 16, 333, 5177, 1404, 279, 2114, 18, 540, 1195, 3639, 1748, 1427, 16, 2621, 309, 732, 1240, 8422, 4442, 1195, 2 ]
return "NBLCS";
return "NBLCS";
public static String type2String(int t) { switch (t) { case N_UNDF : return "UNDF"; case N_GSYM : return "GSYM"; case N_FNAME : return "FNAME"; case N_FUN : return "FUN"; case N_STSYM : return "STSYM"; case N_LCSYM : return "LCSYM"; case N_MAIN : return "MAIN"; case N_ROSYM : return "ROSYM"; case N_PC : return "PC"; case N_NSYMS : return "SSYMS"; case N_NOMAP : return "NOMAP"; case N_OBJ : return "OBJ"; case N_OPT : return "OPT"; case N_RSYM : return "RSYM"; case N_M2C : return "M2C"; case N_SLINE : return "SLINE"; case N_DSLINE : return "DSLINE"; case N_BSLINE : return "BSLINE"; case N_DEFD : return "DEFD"; case N_FLINE : return "FLINE"; case N_EHDECL : return "EHDECL"; case N_CATCH : return "CATCH"; case N_SSYM : return "SSYM"; case N_ENDM : return "ENDM"; case N_SO : return "SO"; case N_LSYM : return "LSYM"; case N_BINCL : return "BINCL"; case N_SOL : return "SOL"; case N_PSYM : return "PSYM"; case N_EINCL : return "EINCL"; case N_ENTRY : return "ENTRY"; case N_LBRAC : return "LBRAC"; case N_EXCL : return "EXCL"; case N_SCOPE: return "SCOPE"; case N_RBRAC : return "RBRAC"; case N_BCOMM : return "COMM"; case N_ECOMM : return "ECOMM"; case N_ECOML : return "ECOML"; case N_WITH : return "WITH"; case N_NBTEXT : return "NBTEXT"; case N_NBDATA : return "NBDATA"; case N_NBBSS : return "NBBSS"; case N_NBSTS : return "NBSTS"; case N_NBLCS : return "NBLCS"; } return "" + t; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/95f42aeb9e7f38db093795981bd7c7300a3eeeb6/StabConstant.java/buggy/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/debug/stabs/StabConstant.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 618, 22, 780, 12, 474, 268, 13, 288, 202, 202, 9610, 261, 88, 13, 288, 9506, 202, 3593, 423, 67, 2124, 4577, 294, 6862, 202, 2463, 315, 2124, 4577, 14432, 9506, 202, 3593, 423, 67, 43, 7474, 49, 294, 6862, 202, 2463, 315, 43, 7474, 49, 14432, 9506, 202, 3593, 423, 67, 42, 1985, 294, 6862, 202, 2463, 315, 42, 1985, 14432, 9506, 202, 3593, 423, 67, 42, 2124, 294, 6862, 202, 2463, 315, 42, 2124, 14432, 9506, 202, 3593, 423, 67, 882, 7474, 49, 294, 6862, 202, 2463, 315, 882, 7474, 49, 14432, 9506, 202, 3593, 423, 67, 48, 4596, 61, 49, 294, 6862, 202, 2463, 315, 48, 4596, 61, 49, 14432, 9506, 202, 3593, 423, 67, 19803, 294, 6862, 202, 2463, 315, 19803, 14432, 9506, 202, 3593, 423, 67, 1457, 7474, 49, 294, 6862, 202, 2463, 315, 1457, 7474, 49, 14432, 9506, 202, 3593, 423, 67, 3513, 294, 6862, 202, 2463, 315, 3513, 14432, 9506, 202, 3593, 423, 67, 3156, 61, 3537, 294, 6862, 202, 2463, 315, 1260, 61, 3537, 14432, 9506, 202, 3593, 423, 67, 50, 1872, 2203, 294, 6862, 202, 2463, 315, 50, 1872, 2203, 14432, 9506, 202, 3593, 423, 67, 24547, 294, 6862, 202, 2463, 315, 24547, 14432, 9506, 202, 3593, 423, 67, 15620, 294, 6862, 202, 2463, 315, 15620, 14432, 9506, 202, 3593, 423, 67, 54, 7474, 49, 294, 6862, 202, 2463, 315, 54, 7474, 49, 14432, 9506, 202, 3593, 423, 67, 49, 22, 39, 294, 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, 514, 618, 22, 780, 12, 474, 268, 13, 288, 202, 202, 9610, 261, 88, 13, 288, 9506, 202, 3593, 423, 67, 2124, 4577, 294, 6862, 202, 2463, 315, 2124, 4577, 14432, 9506, 202, 3593, 423, 67, 43, 7474, 49, 294, 6862, 202, 2463, 315, 43, 7474, 49, 14432, 9506, 202, 3593, 423, 67, 42, 1985, 294, 6862, 202, 2463, 315, 42, 1985, 14432, 9506, 202, 3593, 423, 67, 42, 2124, 294, 6862, 202, 2463, 315, 42, 2124, 14432, 9506, 202, 3593, 423, 67, 882, 7474, 49, 294, 6862, 202, 2463, 315, 882, 7474, 49, 14432, 9506, 202, 3593, 423, 67, 48, 4596, 61, 49, 294, 6862, 202, 2463, 315, 48, 4596, 61, 49, 14432, 9506, 2 ]
m_editable = false; m_wasEditable = false;
m_cms = null; m_controller = null; m_editable = false; m_directEditPermissions = null;
public void release() { super.release(); m_file = null; m_filter = null; m_createLink = null; m_filterContentList = null; m_param = null; m_editable = false; m_wasEditable = false; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/247b9f9f8ac6897a562e2ae06f80157d6d8a3ece/CmsJspTagContentLoad.java/clean/src/org/opencms/jsp/CmsJspTagContentLoad.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3992, 1435, 288, 7734, 2240, 18, 9340, 5621, 7734, 312, 67, 768, 273, 446, 31, 3639, 312, 67, 2188, 273, 446, 31, 3639, 312, 67, 2640, 2098, 273, 446, 31, 3639, 312, 67, 2188, 1350, 682, 273, 446, 31, 3639, 312, 67, 891, 273, 446, 31, 3639, 312, 67, 19653, 273, 629, 31, 3639, 312, 67, 17416, 15470, 273, 629, 31, 565, 289, 377, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3992, 1435, 288, 7734, 2240, 18, 9340, 5621, 7734, 312, 67, 768, 273, 446, 31, 3639, 312, 67, 2188, 273, 446, 31, 3639, 312, 67, 2640, 2098, 273, 446, 31, 3639, 312, 67, 2188, 1350, 682, 273, 446, 31, 3639, 312, 67, 891, 273, 446, 31, 3639, 312, 67, 19653, 273, 629, 31, 3639, 312, 67, 17416, 15470, 273, 629, 31, 565, 289, 377, 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 ]
public org.quickfix.field.UnderlyingPx getUnderlyingPx() throws FieldNotFound { org.quickfix.field.UnderlyingPx value = new org.quickfix.field.UnderlyingPx();
public quickfix.field.UnderlyingPx getUnderlyingPx() throws FieldNotFound { quickfix.field.UnderlyingPx value = new quickfix.field.UnderlyingPx();
public org.quickfix.field.UnderlyingPx getUnderlyingPx() throws FieldNotFound { org.quickfix.field.UnderlyingPx value = new org.quickfix.field.UnderlyingPx(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/MultilegOrderCancelReplaceRequest.java/clean/src/java/src/quickfix/fix44/MultilegOrderCancelReplaceRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 21776, 10833, 765, 6291, 21776, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 21776, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 21776, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 21776, 10833, 765, 6291, 21776, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 21776, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 21776, 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 ]
msgs = ((InternalEObject)label).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ComponentPackage.MARKER_LINE__LABEL, null, msgs);
msgs = ((InternalEObject) label).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ComponentPackage.MARKER_LINE__LABEL, null, msgs);
public void setLabel(Label newLabel) { if (newLabel != label) { NotificationChain msgs = null; if (label != null) msgs = ((InternalEObject)label).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ComponentPackage.MARKER_LINE__LABEL, null, msgs); if (newLabel != null) msgs = ((InternalEObject)newLabel).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ComponentPackage.MARKER_LINE__LABEL, null, msgs); msgs = basicSetLabel(newLabel, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, ComponentPackage.MARKER_LINE__LABEL, newLabel, newLabel)); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/MarkerLineImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/MarkerLineImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 16558, 12, 2224, 394, 2224, 13, 565, 288, 3639, 309, 261, 2704, 2224, 480, 1433, 13, 3639, 288, 5411, 27050, 8733, 273, 446, 31, 5411, 309, 261, 1925, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 1433, 2934, 73, 16376, 3288, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 5435, 2261, 18, 25989, 67, 5997, 972, 13545, 16, 446, 16, 8733, 1769, 5411, 309, 261, 2704, 2224, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 2704, 2224, 2934, 73, 16376, 986, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 5435, 2261, 18, 25989, 67, 5997, 972, 13545, 16, 446, 16, 8733, 1769, 5411, 8733, 273, 5337, 694, 2224, 12, 2704, 2224, 16, 8733, 1769, 5411, 309, 261, 27439, 480, 446, 13, 8733, 18, 10739, 5621, 3639, 289, 3639, 469, 309, 261, 73, 21107, 10756, 5411, 22596, 12, 2704, 19953, 12, 2211, 16, 8050, 18, 4043, 16, 5435, 2261, 18, 25989, 67, 5997, 972, 13545, 16, 394, 2224, 16, 394, 2224, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 16558, 12, 2224, 394, 2224, 13, 565, 288, 3639, 309, 261, 2704, 2224, 480, 1433, 13, 3639, 288, 5411, 27050, 8733, 273, 446, 31, 5411, 309, 261, 1925, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 1433, 2934, 73, 16376, 3288, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 5435, 2261, 18, 25989, 67, 5997, 972, 13545, 16, 446, 16, 8733, 1769, 5411, 309, 261, 2704, 2224, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 2704, 2224, 2934, 73, 16376, 986, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 5435, 2261, 18, 25989, 67, 5997, 972, 13545, 16, 446, 16, 8733, 1769, 5411, 8733, 273, 5337, 2 ]
TcpEventProxy proxy = new TcpEventProxy();
EventProxy proxy = Util.createEventProxy();
public void importProvisioningGroup(String groupName) { // first we update the import timestamp ModelImport group = getProvisioningGroup(groupName); group.setLastImport(new Date()); saveProvisioningGroup(groupName, group); // then we send an event to the importer TcpEventProxy proxy = new TcpEventProxy(); String url = m_provisioningDao.getUrlForGroup(groupName); Assert.notNull(url, "Could not find url for group "+groupName+". Does it exists?"); EventBuilder bldr = new EventBuilder(EventConstants.RELOAD_IMPORT_UEI, "Web"); bldr.addParam(EventConstants.PARM_URL, url); try { proxy.send(bldr.getEvent()); } catch (EventProxyException e) { throw new DataAccessResourceFailureException("Unable to send event to import group "+groupName, e); } }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/3aa836afb5ae166551d2bad463a796516ea79d7b/DefaultManualProvisioningService.java/buggy/opennms-webapp/src/main/java/org/opennms/web/svclayer/support/DefaultManualProvisioningService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1930, 17485, 1114, 12, 780, 11619, 13, 288, 3639, 368, 1122, 732, 1089, 326, 1930, 2858, 3639, 3164, 5010, 1041, 273, 3570, 2820, 310, 1114, 12, 1655, 461, 1769, 3639, 1041, 18, 542, 3024, 5010, 12, 2704, 2167, 10663, 3639, 1923, 17485, 1114, 12, 1655, 461, 16, 1041, 1769, 13491, 368, 1508, 732, 1366, 392, 871, 358, 326, 15198, 3639, 2587, 3886, 2889, 273, 3564, 18, 2640, 1133, 3886, 5621, 7734, 514, 880, 273, 312, 67, 17051, 310, 11412, 18, 588, 1489, 1290, 1114, 12, 1655, 461, 1769, 3639, 5452, 18, 902, 2041, 12, 718, 16, 315, 4445, 486, 1104, 880, 364, 1041, 13773, 1655, 461, 9078, 18, 225, 9637, 518, 1704, 7225, 1769, 7734, 2587, 1263, 17446, 273, 394, 2587, 1263, 12, 1133, 2918, 18, 862, 7783, 67, 20445, 67, 1821, 45, 16, 315, 4079, 8863, 3639, 17446, 18, 1289, 786, 12, 1133, 2918, 18, 2778, 49, 67, 1785, 16, 880, 1769, 7734, 775, 288, 5411, 2889, 18, 4661, 12, 70, 14796, 18, 588, 1133, 10663, 3639, 289, 1044, 261, 1133, 3886, 503, 425, 13, 288, 5411, 604, 394, 1910, 1862, 1420, 14389, 2932, 3370, 358, 1366, 871, 358, 1930, 1041, 13773, 1655, 461, 16, 425, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1930, 17485, 1114, 12, 780, 11619, 13, 288, 3639, 368, 1122, 732, 1089, 326, 1930, 2858, 3639, 3164, 5010, 1041, 273, 3570, 2820, 310, 1114, 12, 1655, 461, 1769, 3639, 1041, 18, 542, 3024, 5010, 12, 2704, 2167, 10663, 3639, 1923, 17485, 1114, 12, 1655, 461, 16, 1041, 1769, 13491, 368, 1508, 732, 1366, 392, 871, 358, 326, 15198, 3639, 2587, 3886, 2889, 273, 3564, 18, 2640, 1133, 3886, 5621, 7734, 514, 880, 273, 312, 67, 17051, 310, 11412, 18, 588, 1489, 1290, 1114, 12, 1655, 461, 1769, 3639, 5452, 18, 902, 2041, 12, 718, 16, 315, 4445, 486, 1104, 880, 364, 1041, 13773, 1655, 461, 9078, 18, 225, 9637, 518, 1704, 7225, 1769, 7734, 2587, 2 ]
try { if (conn != null) { conn.close(); } } catch (SQLException sqle) { }
closeJdbcResultSet(rs); closeJdbcStatement(stmt); closeJdbcConnection(conn);
protected void loadSettings() throws MessagingException { Connection conn = null; PreparedStatement stmt = null; ResultSet rs = null; try { //Load members conn = datasource.getConnection(); stmt = conn.prepareStatement(membersQuery); stmt.setString(1, listservID); rs = stmt.executeQuery(); Collection tmpMembers = new Vector(); while (rs.next()) { String address = rs.getString(1); try { MailAddress mailAddress = new MailAddress(address); tmpMembers.add(mailAddress); } catch (ParseException pe) { //don't stop... just log and continue log("error parsing address '" + address + "' in listserv '" + listservID + "'"); } } members = tmpMembers; rs.close(); stmt.close(); stmt = conn.prepareStatement(listservQuery); stmt.setString(1, listservID); rs = stmt.executeQuery(); if (!rs.next()) { throw new MailetException("Could not find listserv record for '" + listservID + "'"); } membersOnly = rs.getBoolean("members_only"); attachmentsAllowed = rs.getBoolean("attachments_allowed"); replyToList = rs.getBoolean("reply_to_list"); subjectPrefix = rs.getString("subject_prefix"); String address = rs.getString("list_address"); if (address == null) { listservAddress = null; } else { try { listservAddress = new MailAddress(address); } catch (ParseException pe) { //log and ignore log("invalid listserv address '" + listservAddress + "' for listserv '" + listservID + "'"); listservAddress = null; } } rs.close(); stmt.close(); } catch (SQLException sqle) { throw new MailetException("Problem loading settings", sqle); } finally { try { if (conn != null) { conn.close(); } } catch (SQLException sqle) { //ignore } } }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/4d09342e0a1bdb6d97c3641c67b6f55b359b2cb7/JDBCListserv.java/buggy/src/java/org/apache/james/transport/mailets/JDBCListserv.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1262, 2628, 1435, 1216, 23794, 503, 288, 3639, 4050, 1487, 273, 446, 31, 3639, 16913, 3480, 273, 446, 31, 3639, 10842, 3597, 273, 446, 31, 3639, 775, 288, 5411, 368, 2563, 4833, 5411, 1487, 273, 9181, 18, 588, 1952, 5621, 5411, 3480, 273, 1487, 18, 9366, 3406, 12, 7640, 1138, 1769, 5411, 3480, 18, 542, 780, 12, 21, 16, 666, 23039, 734, 1769, 5411, 3597, 273, 3480, 18, 8837, 1138, 5621, 5411, 2200, 1853, 6918, 273, 394, 5589, 5621, 5411, 1323, 261, 5453, 18, 4285, 10756, 288, 7734, 514, 1758, 273, 3597, 18, 588, 780, 12, 21, 1769, 7734, 775, 288, 10792, 11542, 1887, 4791, 1887, 273, 394, 11542, 1887, 12, 2867, 1769, 10792, 1853, 6918, 18, 1289, 12, 4408, 1887, 1769, 7734, 289, 1044, 261, 13047, 2804, 13, 288, 10792, 368, 19752, 1404, 2132, 2777, 2537, 613, 471, 1324, 10792, 613, 2932, 1636, 5811, 1758, 2119, 397, 1758, 397, 2491, 316, 666, 23039, 2119, 397, 666, 23039, 734, 397, 5862, 1769, 7734, 289, 5411, 289, 5411, 4833, 273, 1853, 6918, 31, 5411, 3597, 18, 4412, 5621, 5411, 3480, 18, 4412, 5621, 5411, 3480, 273, 1487, 18, 9366, 3406, 12, 1098, 23039, 1138, 1769, 5411, 3480, 18, 542, 780, 12, 21, 16, 666, 23039, 734, 1769, 5411, 3597, 273, 3480, 18, 8837, 1138, 5621, 5411, 309, 16051, 5453, 18, 4285, 10756, 288, 7734, 604, 394, 11542, 278, 503, 2932, 4445, 486, 1104, 666, 23039, 1409, 364, 2119, 397, 666, 23039, 734, 397, 5862, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1262, 2628, 1435, 1216, 23794, 503, 288, 3639, 4050, 1487, 273, 446, 31, 3639, 16913, 3480, 273, 446, 31, 3639, 10842, 3597, 273, 446, 31, 3639, 775, 288, 5411, 368, 2563, 4833, 5411, 1487, 273, 9181, 18, 588, 1952, 5621, 5411, 3480, 273, 1487, 18, 9366, 3406, 12, 7640, 1138, 1769, 5411, 3480, 18, 542, 780, 12, 21, 16, 666, 23039, 734, 1769, 5411, 3597, 273, 3480, 18, 8837, 1138, 5621, 5411, 2200, 1853, 6918, 273, 394, 5589, 5621, 5411, 1323, 261, 5453, 18, 4285, 10756, 288, 7734, 514, 1758, 273, 3597, 18, 588, 780, 12, 21, 1769, 7734, 775, 288, 10792, 11542, 1887, 4791, 1887, 273, 394, 11542, 1887, 12, 2867, 1769, 10792, 1853, 6918, 2 ]
"cleartool update -force -log /dev/nul somefile", cbs.buildUpdateCommand().toString());
"cleartool update -force -log /dev/null somefile", cbs.buildUpdateCommand().toString());
public void testBuildUpdateCommand() { MockClearCaseBootstrapper cbs = new MockClearCaseBootstrapper("Linux"); cbs.setFile("somefile"); assertEquals("Update command was not created correctly.", "cleartool update -force -log /dev/nul somefile", cbs.buildUpdateCommand().toString()); cbs.setOsName("Windows NT"); assertEquals("Update command was not created correctly.", "cleartool update -force -log NUL somefile", cbs.buildUpdateCommand().toString()); cbs.setViewpath("someviewpath"); assertEquals("Update command was not created correctly.", "cleartool update -force -log NUL someviewpath/somefile", cbs.buildUpdateCommand().toString()); }
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/e7b6046d5af7e4211a54f16b75421dcb2a7af4c2/ClearCaseBootstrapperTest.java/clean/main/test/net/sourceforge/cruisecontrol/bootstrappers/ClearCaseBootstrapperTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3116, 1891, 2189, 1435, 288, 3639, 7867, 9094, 2449, 10445, 457, 276, 2038, 273, 394, 7867, 9094, 2449, 10445, 457, 2932, 19475, 8863, 3639, 276, 2038, 18, 542, 812, 2932, 19068, 768, 8863, 3639, 1815, 8867, 2932, 1891, 1296, 1703, 486, 2522, 8783, 1199, 16, 7734, 315, 2131, 485, 1371, 1089, 300, 5734, 300, 1330, 342, 5206, 19, 2011, 2690, 768, 3113, 276, 2038, 18, 3510, 1891, 2189, 7675, 10492, 10663, 3639, 276, 2038, 18, 542, 15112, 461, 2932, 10399, 20064, 8863, 3639, 1815, 8867, 2932, 1891, 1296, 1703, 486, 2522, 8783, 1199, 16, 7734, 315, 2131, 485, 1371, 1089, 300, 5734, 300, 1330, 423, 1506, 2690, 768, 3113, 276, 2038, 18, 3510, 1891, 2189, 7675, 10492, 10663, 3639, 276, 2038, 18, 542, 1767, 803, 2932, 19068, 1945, 803, 8863, 3639, 1815, 8867, 2932, 1891, 1296, 1703, 486, 2522, 8783, 1199, 16, 7734, 315, 2131, 485, 1371, 1089, 300, 5734, 300, 1330, 423, 1506, 2690, 1945, 803, 19, 19068, 768, 3113, 276, 2038, 18, 3510, 1891, 2189, 7675, 10492, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3116, 1891, 2189, 1435, 288, 3639, 7867, 9094, 2449, 10445, 457, 276, 2038, 273, 394, 7867, 9094, 2449, 10445, 457, 2932, 19475, 8863, 3639, 276, 2038, 18, 542, 812, 2932, 19068, 768, 8863, 3639, 1815, 8867, 2932, 1891, 1296, 1703, 486, 2522, 8783, 1199, 16, 7734, 315, 2131, 485, 1371, 1089, 300, 5734, 300, 1330, 342, 5206, 19, 2011, 2690, 768, 3113, 276, 2038, 18, 3510, 1891, 2189, 7675, 10492, 10663, 3639, 276, 2038, 18, 542, 15112, 461, 2932, 10399, 20064, 8863, 3639, 1815, 8867, 2932, 1891, 1296, 1703, 486, 2522, 8783, 1199, 16, 7734, 315, 2131, 485, 1371, 1089, 300, 5734, 300, 1330, 423, 1506, 2690, 768, 3113, 276, 2038, 18, 3510, 1891, 2189, 2 ]
if (commonDescriptors == null)
if (commonDescriptors == null) {
public String[] getEnabledCommonWizardDescriptorIds(Object anElement, String aType) { Set commonDescriptors = (Set) commonWizardDescriptors.get(aType); if (commonDescriptors == null) return NO_DESCRIPTORS; /* Find other Common Wizard providers which enable for this object */ List descriptorIds = new ArrayList(); for (Iterator commonWizardDescriptorsItr = commonDescriptors.iterator(); commonWizardDescriptorsItr .hasNext();) { CommonWizardDescriptor descriptor = (CommonWizardDescriptor) commonWizardDescriptorsItr .next(); if (descriptor.getWizardId() != null && descriptor.isEnabledFor(anElement)) descriptorIds.add(descriptor.getWizardId()); } String[] wizardIds = new String[descriptorIds.size()]; return (String[]) descriptorIds.toArray(wizardIds); // Collections.unmodifiableList(descriptors); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/CommonWizardDescriptorManager.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/wizards/CommonWizardDescriptorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 8526, 336, 1526, 6517, 27130, 3187, 2673, 12, 921, 392, 1046, 16, 1082, 202, 780, 279, 559, 13, 288, 202, 202, 694, 2975, 12705, 273, 261, 694, 13, 2975, 27130, 12705, 18, 588, 12, 69, 559, 1769, 202, 202, 430, 261, 6054, 12705, 422, 446, 13, 1082, 202, 2463, 3741, 67, 1639, 10885, 14006, 31, 202, 202, 20308, 4163, 1308, 5658, 678, 13412, 9165, 1492, 4237, 364, 333, 733, 1195, 202, 202, 682, 4950, 2673, 273, 394, 2407, 5621, 202, 202, 1884, 261, 3198, 2975, 27130, 12705, 28984, 273, 2975, 12705, 18, 9838, 5621, 2975, 27130, 12705, 28984, 9506, 202, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 6517, 27130, 3187, 4950, 273, 261, 6517, 27130, 3187, 13, 2975, 27130, 12705, 28984, 6862, 202, 18, 4285, 5621, 1082, 202, 430, 261, 12628, 18, 588, 27130, 548, 1435, 480, 446, 597, 4950, 18, 291, 1526, 1290, 12, 304, 1046, 3719, 9506, 202, 12628, 2673, 18, 1289, 12, 12628, 18, 588, 27130, 548, 10663, 202, 202, 97, 202, 202, 780, 8526, 24204, 2673, 273, 394, 514, 63, 12628, 2673, 18, 1467, 1435, 15533, 202, 202, 2463, 261, 780, 63, 5717, 4950, 2673, 18, 31447, 12, 31837, 2673, 1769, 368, 5737, 18, 318, 13388, 682, 12, 72, 8379, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 514, 8526, 336, 1526, 6517, 27130, 3187, 2673, 12, 921, 392, 1046, 16, 1082, 202, 780, 279, 559, 13, 288, 202, 202, 694, 2975, 12705, 273, 261, 694, 13, 2975, 27130, 12705, 18, 588, 12, 69, 559, 1769, 202, 202, 430, 261, 6054, 12705, 422, 446, 13, 1082, 202, 2463, 3741, 67, 1639, 10885, 14006, 31, 202, 202, 20308, 4163, 1308, 5658, 678, 13412, 9165, 1492, 4237, 364, 333, 733, 1195, 202, 202, 682, 4950, 2673, 273, 394, 2407, 5621, 202, 202, 1884, 261, 3198, 2975, 27130, 12705, 28984, 273, 2975, 12705, 18, 9838, 5621, 2975, 27130, 12705, 28984, 9506, 202, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 6517, 27130, 3187, 4950, 273, 261, 6517, 2 ]
if (handler != null) handler.run(); }
if (handler != null) handler.run(); }
public void run() { if (handler != null) handler.run();}
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/f428849d449c77189175f136641ea354294165e0/RetargetAction.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/RetargetAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1086, 1435, 288, 202, 430, 261, 4176, 480, 446, 13, 202, 202, 4176, 18, 2681, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1086, 1435, 288, 202, 430, 261, 4176, 480, 446, 13, 202, 202, 4176, 18, 2681, 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 ]
result = eval("p $h.to_s"); assertEquals("\"foobar\"", result); result = eval("p $h.to_a"); assertEquals("[[\"foo\", \"bar\"]]", result); result = eval("p $h.to_hash"); assertEquals("{\"foo\"=>\"bar\"}", result);
result = eval("p $h.to_s"); assertEquals("\"foobar\"", result); result = eval("p $h.to_a"); assertEquals("[[\"foo\", \"bar\"]]", result); result = eval("p $h.to_hash"); assertEquals("{\"foo\"=>\"bar\"}", result);
public void testConversions() { result = eval("p $h.to_s"); assertEquals("\"foobar\"", result); result = eval("p $h.to_a"); assertEquals("[[\"foo\", \"bar\"]]", result); result = eval("p $h.to_hash"); assertEquals("{\"foo\"=>\"bar\"}", result); }
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/2f13ba47385b7584839c7f6f6f1abfee251cbe53/TestRubyHash.java/buggy/org/jruby/test/TestRubyHash.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 29287, 1435, 288, 202, 2088, 273, 5302, 2932, 84, 271, 76, 18, 869, 67, 87, 8863, 202, 11231, 8867, 2932, 2412, 617, 947, 297, 2412, 3113, 563, 1769, 202, 2088, 273, 5302, 2932, 84, 271, 76, 18, 869, 67, 69, 8863, 202, 11231, 8867, 2932, 31128, 2412, 11351, 22564, 1239, 3215, 2412, 13563, 3113, 563, 1769, 202, 2088, 273, 5302, 2932, 84, 271, 76, 18, 869, 67, 2816, 8863, 202, 11231, 8867, 2932, 95, 2412, 11351, 2412, 9207, 2412, 3215, 2412, 1532, 16, 563, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 29287, 1435, 288, 202, 2088, 273, 5302, 2932, 84, 271, 76, 18, 869, 67, 87, 8863, 202, 11231, 8867, 2932, 2412, 617, 947, 297, 2412, 3113, 563, 1769, 202, 2088, 273, 5302, 2932, 84, 271, 76, 18, 869, 67, 69, 8863, 202, 11231, 8867, 2932, 31128, 2412, 11351, 22564, 1239, 3215, 2412, 13563, 3113, 563, 1769, 202, 2088, 273, 5302, 2932, 84, 271, 76, 18, 869, 67, 2816, 8863, 202, 11231, 8867, 2932, 95, 2412, 11351, 2412, 9207, 2412, 3215, 2412, 1532, 16, 563, 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 ]
org.omg.CORBA.portable.Delegate replyHandlerDelegate =
org.omg.CORBA.portable.Delegate replyHandlerDelegate =
private void performExceptionCallback (ExceptionHolderImpl holder) { // TODO: Call interceptors. org.omg.CORBA.portable.Delegate replyHandlerDelegate = ( ( org.omg.CORBA.portable.ObjectImpl ) replyHandler ) ._get_delegate(); ServantObject so = replyHandlerDelegate.servant_preinvoke( replyHandler, operation, InvokeHandler.class ); try { org.omg.CORBA_2_3.ORB orb = ( org.omg.CORBA_2_3.ORB )replyHandlerDelegate .orb( null ); orb.register_value_factory ( "IDL:omg.org/Messaging/ExceptionHolder:1.0", new ExceptionHolderFactory() ); CDRInputStream input = new CDRInputStream( orb, holder.marshal() ); ((InvokeHandler)so.servant) ._invoke( operation + "_excep", input, new DummyResponseHandler() ); } catch ( Exception e ) { Debug.output( Debug.IMPORTANT, "Exception during callback: " + e ); } finally { replyHandlerDelegate.servant_postinvoke( replyHandler, so ); } }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/fbe6210fea044caf7d795ce3f33d04a8c1c51b4a/ReplyReceiver.java/clean/src/org/jacorb/orb/ReplyReceiver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3073, 503, 2428, 261, 503, 6064, 2828, 10438, 13, 565, 288, 3639, 368, 2660, 30, 3049, 18496, 18, 3639, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 9586, 4332, 1503, 9586, 273, 2398, 261, 261, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 921, 2828, 262, 4332, 1503, 262, 4766, 7682, 263, 67, 588, 67, 22216, 5621, 7734, 1275, 7445, 921, 1427, 273, 2398, 4332, 1503, 9586, 18, 550, 7445, 67, 1484, 14407, 12, 4332, 1503, 16, 4766, 10792, 1674, 16, 4766, 10792, 14373, 1503, 18, 1106, 11272, 3639, 775, 3639, 288, 5411, 2358, 18, 362, 75, 18, 9428, 12536, 67, 22, 67, 23, 18, 916, 38, 16823, 273, 5397, 261, 2358, 18, 362, 75, 18, 9428, 12536, 67, 22, 67, 23, 18, 916, 38, 262, 10629, 1503, 9586, 4766, 17311, 263, 16640, 12, 446, 11272, 5411, 16823, 18, 4861, 67, 1132, 67, 6848, 7734, 261, 315, 734, 48, 30, 362, 75, 18, 3341, 19, 23389, 19, 503, 6064, 30, 21, 18, 20, 3113, 5375, 394, 1185, 6064, 1733, 1435, 11272, 5411, 385, 6331, 4348, 810, 273, 1171, 394, 385, 6331, 4348, 12, 16823, 16, 10438, 18, 3108, 1435, 11272, 5411, 14015, 10969, 1503, 13, 2048, 18, 550, 7445, 13, 7734, 263, 67, 14407, 12, 1674, 397, 4192, 338, 311, 84, 3113, 12900, 810, 16, 12900, 394, 28622, 1064, 1503, 1435, 11272, 3639, 289, 3639, 1044, 261, 1185, 425, 262, 3639, 288, 5411, 4015, 18, 2844, 12, 4015, 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, 3073, 503, 2428, 261, 503, 6064, 2828, 10438, 13, 565, 288, 3639, 368, 2660, 30, 3049, 18496, 18, 3639, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 9586, 4332, 1503, 9586, 273, 2398, 261, 261, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 921, 2828, 262, 4332, 1503, 262, 4766, 7682, 263, 67, 588, 67, 22216, 5621, 7734, 1275, 7445, 921, 1427, 273, 2398, 4332, 1503, 9586, 18, 550, 7445, 67, 1484, 14407, 12, 4332, 1503, 16, 4766, 10792, 1674, 16, 4766, 10792, 14373, 1503, 18, 1106, 11272, 3639, 775, 3639, 288, 5411, 2358, 18, 362, 75, 18, 9428, 12536, 67, 22, 67, 23, 18, 916, 38, 16823, 273, 5397, 2 ]
omSOAPEnvelope.addChild(body);
public SOAPBody addBody() throws SOAPException { org.apache.axis2.soap.SOAPBody body = omSOAPEnvelope.getBody(); if (body == null) { body = new SOAP11BodyImpl(omSOAPEnvelope); omSOAPEnvelope.addChild(body); return (new SOAPBodyImpl(body)); } else { throw new SOAPException("Body already present, can't set body again without " + "deleting the existing body."); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/dbc861d4577c67ee7e887bbf8e20a572a02ca3f8/SOAPEnvelopeImpl.java/clean/modules/saaj/src/org/apache/axis2/saaj/SOAPEnvelopeImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16434, 2250, 13879, 1435, 1216, 16434, 503, 288, 3639, 2358, 18, 19211, 18, 4890, 22, 18, 19215, 18, 27952, 2250, 1417, 273, 8068, 27952, 10862, 18, 588, 2250, 5621, 3639, 309, 261, 3432, 422, 446, 13, 288, 5411, 1417, 273, 394, 16434, 2499, 2250, 2828, 12, 362, 27952, 10862, 1769, 15604, 327, 261, 2704, 16434, 2250, 2828, 12, 3432, 10019, 3639, 289, 469, 288, 5411, 604, 394, 16434, 503, 2932, 2250, 1818, 3430, 16, 848, 1404, 444, 1417, 3382, 2887, 315, 397, 4766, 565, 315, 19003, 310, 326, 2062, 1417, 1199, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16434, 2250, 13879, 1435, 1216, 16434, 503, 288, 3639, 2358, 18, 19211, 18, 4890, 22, 18, 19215, 18, 27952, 2250, 1417, 273, 8068, 27952, 10862, 18, 588, 2250, 5621, 3639, 309, 261, 3432, 422, 446, 13, 288, 5411, 1417, 273, 394, 16434, 2499, 2250, 2828, 12, 362, 27952, 10862, 1769, 15604, 327, 261, 2704, 16434, 2250, 2828, 12, 3432, 10019, 3639, 289, 469, 288, 5411, 604, 394, 16434, 503, 2932, 2250, 1818, 3430, 16, 848, 1404, 444, 1417, 3382, 2887, 315, 397, 4766, 565, 315, 19003, 310, 326, 2062, 1417, 1199, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
+ getClass().getResource( "izpack_install_shortcuts_unix.xml" ) );
+ getClass().getResource( UNIX_SHORTCUTS ) );
private void doIzPackFiles() throws MojoFailureException { // ------------------------------------------------------------------- // For windows we include use a different template file than for unix // if the project does not supply one. We also add the windows short- // cuts file template as well in the same fashion. Also a native dll // is deposited outside of the image folder to create windows shortcuts // ------------------------------------------------------------------- if ( target.getOsFamily().equals( "windows" ) ) { // handle the installer file if ( target.getIzPackInstallFile().exists() ) { try { MojoHelperUtils.copyAsciiFile( mymojo, filterProperties, target.getIzPackInstallFile(), izPackInput, true ); } catch ( IOException e ) { mymojo.getLog().error( "Failed to copy project supplied izpack install file template " + target.getIzPackInstallFile() + " into position " + izPackInput, e ); } if ( mymojo.getLog().isInfoEnabled() ) { mymojo.getLog().info( "Using project supplied installer configuration file: " + target.getIzPackInstallFile() ); } } else { try { MojoHelperUtils.copyAsciiFile( mymojo, filterProperties, getClass().getResourceAsStream( "izpack_install_windows_template.xml" ), izPackInput, true ); } catch ( IOException e ) { mymojo.getLog().error( "Failed to copy bundled izpack windows install file " + getClass().getResource( "izpack_install_windows_template.xml" ) + " into position " + izPackInput, e ); } if ( mymojo.getLog().isInfoEnabled() ) { mymojo.getLog().info( "Using bundled installer configuration file: " + getClass().getResource( "izpack_install_windows_template.xml" ) ); } } // handle the windows shortcuts file if ( target.getIzPackShortcutsWindowsFile().exists() ) { try { MojoHelperUtils.copyAsciiFile( mymojo, filterProperties, target.getIzPackShortcutsWindowsFile(), izPackWindowsShortcuts, true ); } catch ( IOException e ) { mymojo.getLog().error( "Failed to copy project supplied izpack windows shortcuts file " + target.getIzPackShortcutsWindowsFile() + " into position " + izPackWindowsShortcuts, e ); } if ( mymojo.getLog().isInfoEnabled() ) { mymojo.getLog().info( "Using project supplied windows shortcuts configuration file: " + target.getIzPackShortcutsWindowsFile() ); } } else { try { MojoHelperUtils.copyAsciiFile( mymojo, filterProperties, getClass().getResourceAsStream( "izpack_install_shortcuts_windows.xml" ), izPackWindowsShortcuts, true ); } catch ( IOException e ) { mymojo.getLog().error( "Failed to copy bundled izpack windows shortcuts file " + getClass().getResource( "izpack_install_shortcuts_windows.xml" ) + " into position " + izPackWindowsShortcuts, e ); } if ( mymojo.getLog().isInfoEnabled() ) { mymojo.getLog().info( "Using bundled windows shortcuts configuration file: " + getClass().getResource( "izpack_install_shortcuts_windows.xml" ) ); } } // copy the ShellLink creation dll into the images folder try { MojoHelperUtils.copyBinaryFile( getClass().getResourceAsStream( "ShellLink.dll" ), shellLinkDll ); } catch ( IOException e ) { mymojo.getLog().error( "Failed to copy izpack shellLinkDll file " + getClass().getResource( "ShellLink.dll" ) + " into position " + shellLinkDll, e ); } } else if ( target.getOsFamily().equals( "unix" ) || target.getOsFamily().equals( "mac" ) ) { if ( target.getIzPackInstallFile().exists() ) { try { MojoHelperUtils.copyAsciiFile( mymojo, filterProperties, target.getIzPackInstallFile(), izPackInput, true ); } catch ( IOException e ) { mymojo.getLog().error( "Failed to copy project supplied izpack input file " + target.getIzPackInstallFile() + " into position " + izPackInput, e ); } if ( mymojo.getLog().isInfoEnabled() ) { mymojo.getLog().info( "Using project supplied installer configuration file: " + target.getIzPackInstallFile() ); } } else { try { MojoHelperUtils.copyAsciiFile( mymojo, filterProperties, getClass().getResourceAsStream( "izpack_install_unix_template.xml" ), izPackInput, true ); } catch ( IOException e ) { mymojo.getLog().error( "Failed to copy bundled izpack input file for unix " + getClass().getResource( "izpack_install_unix_template.xml" ) + " into position " + izPackInput, e ); } if ( mymojo.getLog().isInfoEnabled() ) { mymojo.getLog().info( "Using bundled installer configuration file: " + getClass().getResource( "izpack_install_unix_template.xml" ) ); } } if ( target.getIzPackShortcutsUnixFile().exists() ) { try { MojoHelperUtils.copyAsciiFile( mymojo, filterProperties, target.getIzPackShortcutsUnixFile(), izPackUnixShortcuts, true ); } catch ( IOException e ) { mymojo.getLog().error( "Failed to copy project supplied izpack unix shortcuts file " + target.getIzPackShortcutsUnixFile() + " into position " + izPackUnixShortcuts, e ); } if ( mymojo.getLog().isInfoEnabled() ) { mymojo.getLog().info( "Using project supplied unix shortcuts configuration file: " + target.getIzPackShortcutsUnixFile() ); } } else { try { MojoHelperUtils.copyAsciiFile( mymojo, filterProperties, getClass().getResourceAsStream( "izpack_install_shortcuts_unix.xml" ), izPackUnixShortcuts, true ); } catch ( IOException e ) { mymojo.getLog().error( "Failed to copy bundled izpack unix shortcuts file " + getClass().getResource( "izpack_install_shortcuts_unix.xml" ) + " into position " + izPackUnixShortcuts, e ); } if ( mymojo.getLog().isInfoEnabled() ) { mymojo.getLog().info( "Using bundled unix shortcuts configuration file: " + getClass().getResource( "izpack_install_shortcuts_unix.xml" ) ); } } try { MojoHelperUtils.copyAsciiFile( mymojo, filterProperties, getClass().getResourceAsStream( "../template.init" ), layout.getInitScript(), true ); } catch ( IOException e ) { mymojo.getLog().error( "Failed to copy init script " + getClass().getResource( "../template.init" ) + " into position " + layout.getInitScript(), e ); } } if ( target.getIzPackUserInputFile().exists() ) { try { MojoHelperUtils.copyAsciiFile( mymojo, filterProperties, target.getIzPackUserInputFile(), izPackUserInput, true ); } catch ( IOException e ) { mymojo.getLog().error( "Failed to copy project supplied izpack input file " + target.getIzPackUserInputFile() + " into position " + izPackUserInput, e ); } if ( mymojo.getLog().isInfoEnabled() ) { mymojo.getLog().info( "Using project supplied user input configuration file: " + target.getIzPackUserInputFile() ); } } else { try { MojoHelperUtils.copyAsciiFile( mymojo, filterProperties, getClass().getResourceAsStream( "izpack_install_user_input.xml" ), izPackUserInput, true ); } catch ( IOException e ) { mymojo.getLog().error( "Failed to copy bundled izpack input file " + getClass().getResource( "izpack_install_user_input.xml" ) + " into position " + izPackUserInput, e ); } if ( mymojo.getLog().isInfoEnabled() ) { mymojo.getLog().info( "Using bundled user input configuration file: " + target.getIzPackUserInputFile() ); } } }
17035 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17035/8bcee7a23047fc9a2784bdb6a8bda8bf02e4ba60/IzPackInstallerCommand.java/clean/standalone/installers/plugin/src/main/java/org/apache/directory/server/standalone/installers/izpack/IzPackInstallerCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 45, 94, 4420, 2697, 1435, 1216, 15931, 14389, 565, 288, 3639, 368, 8879, 413, 3639, 368, 2457, 9965, 732, 2341, 999, 279, 3775, 1542, 585, 2353, 364, 9753, 3639, 368, 309, 326, 1984, 1552, 486, 14467, 1245, 18, 225, 1660, 2546, 527, 326, 9965, 3025, 17, 3639, 368, 6391, 87, 585, 1542, 487, 5492, 316, 326, 1967, 30957, 18, 225, 8080, 279, 6448, 302, 2906, 3639, 368, 353, 443, 1724, 329, 8220, 434, 326, 1316, 3009, 358, 752, 9965, 25641, 3639, 368, 8879, 413, 3639, 309, 261, 1018, 18, 588, 15112, 9203, 7675, 14963, 12, 315, 13226, 6, 262, 262, 3639, 288, 5411, 368, 1640, 326, 16050, 585, 5411, 309, 261, 1018, 18, 588, 45, 94, 4420, 6410, 812, 7675, 1808, 1435, 262, 5411, 288, 7734, 775, 7734, 288, 10792, 15931, 2276, 1989, 18, 3530, 21363, 812, 12, 312, 2942, 10007, 16, 1034, 2297, 16, 7682, 1018, 18, 588, 45, 94, 4420, 6410, 812, 9334, 277, 94, 4420, 1210, 16, 638, 11272, 7734, 289, 7734, 1044, 261, 1860, 425, 262, 7734, 288, 10792, 312, 2942, 10007, 18, 588, 1343, 7675, 1636, 12, 315, 2925, 358, 1610, 1984, 4580, 277, 94, 2920, 3799, 585, 1542, 315, 12900, 397, 1018, 18, 588, 45, 94, 4420, 6410, 812, 1435, 397, 315, 1368, 1754, 315, 397, 277, 94, 4420, 1210, 16, 425, 11272, 7734, 289, 27573, 309, 261, 312, 2942, 10007, 18, 588, 1343, 7675, 291, 966, 1526, 1435, 262, 7734, 288, 10792, 312, 2942, 10007, 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, 741, 45, 94, 4420, 2697, 1435, 1216, 15931, 14389, 565, 288, 3639, 368, 8879, 413, 3639, 368, 2457, 9965, 732, 2341, 999, 279, 3775, 1542, 585, 2353, 364, 9753, 3639, 368, 309, 326, 1984, 1552, 486, 14467, 1245, 18, 225, 1660, 2546, 527, 326, 9965, 3025, 17, 3639, 368, 6391, 87, 585, 1542, 487, 5492, 316, 326, 1967, 30957, 18, 225, 8080, 279, 6448, 302, 2906, 3639, 368, 353, 443, 1724, 329, 8220, 434, 326, 1316, 3009, 358, 752, 9965, 25641, 3639, 368, 8879, 413, 3639, 309, 261, 1018, 18, 588, 15112, 9203, 7675, 14963, 12, 315, 13226, 6, 262, 262, 3639, 288, 5411, 368, 1640, 326, 16050, 585, 5411, 309, 261, 1018, 18, 588, 45, 2 ]
public String getMethod() { return method; }
public String getMethod() { return method; }
public String getMethod() { return method; }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/9a4b9b48d844a9fd7e8882aa552fcfb06d718660/MockHttpServletRequest.java/buggy/wicket/src/java/wicket/protocol/http/MockHttpServletRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6272, 1435, 288, 3639, 327, 707, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6272, 1435, 288, 3639, 327, 707, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
(XmlSchemaElement) obj, schema);
(XmlSchemaElement) obj, schema);
Element serializeChoice(Document doc, XmlSchemaChoice choiceObj, XmlSchema schema) throws XmlSchemaSerializerException { //todo: handle any non schema attri ? Element choice = createNewElement(doc, "choice", schema.schema_ns_prefix, XmlSchema.SCHEMA_NS); if (choiceObj.id != null) if (choiceObj.id.length() > 0) choice.setAttribute("id", choiceObj.id); if (choiceObj.maxOccurs < Long.MAX_VALUE && choiceObj.maxOccurs > 1) choice.setAttribute("maxOccurs", choiceObj.maxOccurs + ""); else if (choiceObj.maxOccurs == Long.MAX_VALUE) choice.setAttribute("maxOccurs", "unbounded"); //else not serialized if (choiceObj.minOccurs > 1) choice.setAttribute("minOccurs", choiceObj.minOccurs + ""); /* if(choiceObj.maxOccursString != null) choice.setAttribute("maxOccurs", choiceObj.maxOccursString); else if(choiceObj.maxOccurs > 1) choice.setAttribute("maxOccurs", choiceObj.maxOccurs +""); */ if (choiceObj.annotation != null) { Element annotation = serializeAnnotation(doc, choiceObj.annotation, schema); choice.appendChild(annotation); } XmlSchemaObjectCollection itemColl = choiceObj.items; if (itemColl != null) { int itemLength = itemColl.getCount(); for (int i = 0; i < itemLength; i++) { XmlSchemaObject obj = itemColl.getItem(i); if (obj instanceof XmlSchemaElement) { Element el = serializeElement(doc, (XmlSchemaElement) obj, schema); choice.appendChild(el); } else if (obj instanceof XmlSchemaGroupRef) { Element group = serializeGroupRef(doc, (XmlSchemaGroupRef) obj, schema); choice.appendChild(group); } else if (obj instanceof XmlSchemaChoice) { Element inlineChoice = serializeChoice(doc, (XmlSchemaChoice) obj, schema); choice.appendChild(inlineChoice); } else if (obj instanceof XmlSchemaSequence) { Element inlineSequence = serializeSequence(doc, (XmlSchemaSequence) obj, schema); choice.appendChild(inlineSequence); } else if (obj instanceof XmlSchemaAny) { Element any = serializeAny(doc, (XmlSchemaAny) obj, schema); choice.appendChild(any); } } } return choice; }
58536 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58536/583d6c2db5f993d3085942269eca1b2ab8f3bc5f/XmlSchemaSerializer.java/buggy/src/org/apache/ws/commons/schema/XmlSchemaSerializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3010, 4472, 10538, 12, 2519, 997, 16, 5714, 3078, 10538, 6023, 2675, 16, 18701, 5714, 3078, 1963, 13, 1216, 5714, 3078, 6306, 503, 288, 3639, 368, 9012, 30, 1640, 1281, 1661, 1963, 1604, 77, 692, 3639, 3010, 6023, 273, 15291, 1046, 12, 2434, 16, 315, 11569, 3113, 4766, 1850, 1963, 18, 4821, 67, 2387, 67, 3239, 16, 5714, 3078, 18, 14233, 67, 3156, 1769, 3639, 309, 261, 11569, 2675, 18, 350, 480, 446, 13, 5411, 309, 261, 11569, 2675, 18, 350, 18, 2469, 1435, 405, 374, 13, 7734, 6023, 18, 542, 1499, 2932, 350, 3113, 6023, 2675, 18, 350, 1769, 3639, 309, 261, 11569, 2675, 18, 1896, 31084, 411, 3407, 18, 6694, 67, 4051, 597, 6023, 2675, 18, 1896, 31084, 405, 404, 13, 5411, 6023, 18, 542, 1499, 2932, 1896, 31084, 3113, 21394, 6023, 2675, 18, 1896, 31084, 397, 1408, 1769, 3639, 469, 309, 261, 11569, 2675, 18, 1896, 31084, 422, 3407, 18, 6694, 67, 4051, 13, 5411, 6023, 18, 542, 1499, 2932, 1896, 31084, 3113, 21394, 315, 318, 26220, 8863, 3639, 368, 12107, 486, 5343, 3639, 309, 261, 11569, 2675, 18, 1154, 31084, 405, 404, 13, 5411, 6023, 18, 542, 1499, 2932, 1154, 31084, 3113, 21394, 6023, 2675, 18, 1154, 31084, 397, 1408, 1769, 3639, 1748, 5411, 309, 12, 11569, 2675, 18, 1896, 31084, 780, 480, 446, 13, 5411, 6023, 18, 542, 1499, 2932, 1896, 31084, 3113, 5411, 6023, 2675, 18, 1896, 31084, 780, 1769, 5411, 469, 309, 12, 11569, 2675, 18, 1896, 31084, 405, 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, 3010, 4472, 10538, 12, 2519, 997, 16, 5714, 3078, 10538, 6023, 2675, 16, 18701, 5714, 3078, 1963, 13, 1216, 5714, 3078, 6306, 503, 288, 3639, 368, 9012, 30, 1640, 1281, 1661, 1963, 1604, 77, 692, 3639, 3010, 6023, 273, 15291, 1046, 12, 2434, 16, 315, 11569, 3113, 4766, 1850, 1963, 18, 4821, 67, 2387, 67, 3239, 16, 5714, 3078, 18, 14233, 67, 3156, 1769, 3639, 309, 261, 11569, 2675, 18, 350, 480, 446, 13, 5411, 309, 261, 11569, 2675, 18, 350, 18, 2469, 1435, 405, 374, 13, 7734, 6023, 18, 542, 1499, 2932, 350, 3113, 6023, 2675, 18, 350, 1769, 3639, 309, 261, 11569, 2675, 18, 1896, 31084, 411, 3407, 18, 6694, 67, 4051, 597, 6023, 2675, 18, 2 ]
b.setToolTipText(aToolTip); if (aActionListener != null) { b.addActionListener(aActionListener);} aToolBar.add(b); }
b.setToolTipText(aToolTip); if (aActionListener != null) { b.addActionListener(aActionListener);} aToolBar.add(b); }
public void addToolbarButton(GrendelToolBar aToolBar, UIAction aActionListener, String aImageName, String aToolTip) { JButton b = new JButton(); b.setHorizontalTextPosition(JButton.CENTER); b.setVerticalTextPosition(JButton.BOTTOM); b.setToolTipText(aToolTip);// URL iconUrl = getClass().getResource("images/" + gifName + ".gif"); // b.setIcon(new ImageIcon(getClass().getResource(aImageName))); // FIXME - need the toolbar graphics for this sub-app // (Jeff) b.setIcon(new ImageIcon(getClass().getResource("markAllRead.gif")));// iconUrl = getClass().getResource("images/" + gifName + "-disabled.gif");// button.setDisabledIcon(ImageIcon.createImageIcon(iconUrl));// iconUrl = getClass().getResource("images/" + gifName + "-depressed.gif");// button.setPressedIcon(ImageIcon.createImageIcon(iconUrl));// iconUrl = getClass().getResource("images/" + gifName + "-rollover.gif");// button.setRolloverIcon(ImageIcon.createImageIcon(iconUrl));// JButton b = new JButton(new ImageIcon(aImageName)); b.setToolTipText(aToolTip);// b.setPad(new Insets(3,3,3,3)); if (aActionListener != null) { b.addActionListener(aActionListener);} aToolBar.add(b); }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/b0fa2f56cd2dcc90452b768e6b38187cfb8c30eb/AddressBook.java/buggy/grendel/addressbook/AddressBook.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 17907, 3616, 12, 43, 1187, 3771, 6364, 5190, 279, 6364, 5190, 16, 6484, 1803, 279, 1803, 2223, 16, 514, 279, 2040, 461, 16, 514, 279, 29250, 13, 288, 3639, 28804, 324, 273, 394, 28804, 5621, 3639, 324, 18, 542, 14457, 1528, 2555, 12, 46, 3616, 18, 19835, 1769, 3639, 324, 18, 542, 15704, 1528, 2555, 12, 46, 3616, 18, 28891, 1769, 3639, 324, 18, 542, 29250, 1528, 12, 69, 29250, 1769, 759, 3639, 1976, 4126, 1489, 273, 2900, 7675, 588, 1420, 2932, 7369, 4898, 397, 27618, 461, 397, 3552, 13905, 8863, 3639, 368, 3639, 324, 18, 542, 5554, 12, 2704, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 12, 69, 2040, 461, 3719, 1769, 3639, 368, 9852, 300, 1608, 326, 12748, 17313, 364, 333, 720, 17, 2910, 3639, 368, 261, 46, 17098, 13, 1377, 324, 18, 542, 5554, 12, 2704, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 2932, 3355, 1595, 1994, 18, 13905, 6, 3719, 1769, 759, 565, 4126, 1489, 273, 2900, 7675, 588, 1420, 2932, 7369, 4898, 397, 27618, 461, 397, 3701, 9278, 18, 13905, 8863, 759, 565, 3568, 18, 542, 8853, 5554, 12, 2040, 5554, 18, 2640, 2040, 5554, 12, 3950, 1489, 10019, 759, 565, 4126, 1489, 273, 2900, 7675, 588, 1420, 2932, 7369, 4898, 397, 27618, 461, 397, 3701, 323, 10906, 18, 13905, 8863, 759, 565, 3568, 18, 542, 24624, 5554, 12, 2040, 5554, 18, 2640, 2040, 5554, 12, 3950, 1489, 10019, 759, 565, 4126, 1489, 273, 2900, 7675, 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, 527, 17907, 3616, 12, 43, 1187, 3771, 6364, 5190, 279, 6364, 5190, 16, 6484, 1803, 279, 1803, 2223, 16, 514, 279, 2040, 461, 16, 514, 279, 29250, 13, 288, 3639, 28804, 324, 273, 394, 28804, 5621, 3639, 324, 18, 542, 14457, 1528, 2555, 12, 46, 3616, 18, 19835, 1769, 3639, 324, 18, 542, 15704, 1528, 2555, 12, 46, 3616, 18, 28891, 1769, 3639, 324, 18, 542, 29250, 1528, 12, 69, 29250, 1769, 759, 3639, 1976, 4126, 1489, 273, 2900, 7675, 588, 1420, 2932, 7369, 4898, 397, 27618, 461, 397, 3552, 13905, 8863, 3639, 368, 3639, 324, 18, 542, 5554, 12, 2704, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 12, 69, 2040, 461, 3719, 1769, 3639, 2 ]
classes = new RubyClasses(this); classes.initCoreClasses(); createFixnumCache();
public Ruby() { initOperatorTable(); originalMethods = new RubyOriginalMethods(this); globalMap = new RubyHashMap(); nilObject = new RubyNil(this); trueObject = new RubyBoolean(this, true); falseObject = new RubyBoolean(this, false); classes = new RubyClasses(this); classes.initCoreClasses(); createFixnumCache(); }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/cf644c556d410c47305ebeba5728efa25f7756dc/Ruby.java/buggy/org/jruby/Ruby.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 1435, 288, 3639, 1208, 5592, 1388, 5621, 7734, 2282, 4712, 273, 394, 19817, 8176, 4712, 12, 2211, 1769, 7734, 2552, 863, 273, 394, 19817, 8658, 5621, 7734, 515, 921, 273, 394, 19817, 12616, 12, 2211, 1769, 3639, 638, 921, 273, 394, 19817, 5507, 12, 2211, 16, 638, 1769, 3639, 629, 921, 273, 394, 19817, 5507, 12, 2211, 16, 629, 1769, 7734, 3318, 273, 394, 19817, 4818, 12, 2211, 1769, 3639, 3318, 18, 2738, 4670, 4818, 5621, 7734, 752, 8585, 2107, 1649, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 1435, 288, 3639, 1208, 5592, 1388, 5621, 7734, 2282, 4712, 273, 394, 19817, 8176, 4712, 12, 2211, 1769, 7734, 2552, 863, 273, 394, 19817, 8658, 5621, 7734, 515, 921, 273, 394, 19817, 12616, 12, 2211, 1769, 3639, 638, 921, 273, 394, 19817, 5507, 12, 2211, 16, 638, 1769, 3639, 629, 921, 273, 394, 19817, 5507, 12, 2211, 16, 629, 1769, 7734, 3318, 273, 394, 19817, 4818, 12, 2211, 1769, 3639, 3318, 18, 2738, 4670, 4818, 5621, 7734, 752, 8585, 2107, 1649, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
startX = lensModel.getImageScaledWidth()-lensModel.getScaledWidth();
startX = lensModel.getImageScaledWidth()- lensModel.getScaledWidth();
void lensMouseDrag(int x, int y, boolean isShiftDown) { if (borderDrag) { int deltaX = 0; int deltaY = 0; int deltaW = 0; int deltaH = 0; switch(resizeDir) { case LensUI.NORTH: if (y-offsetY < 0) { deltaY = (y-offsetY); deltaH = Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startY = startY+(y-offsetY); } else { deltaY = (y-offsetY); deltaH = -Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startY = startY+(y-offsetY); } break; case LensUI.SOUTH: if (y-offsetY > 0) { deltaH = Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetY = y; } else { deltaH = -Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetY = y; } break; case LensUI.EAST: if (x-offsetX > 0) { deltaW = Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetX = x; } else { deltaW = -Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetX = x; } break; case LensUI.WEST: if (x-offsetX > 0) { deltaX = (x-offsetX); deltaW = -Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startX = startX+(x-offsetX); } else { deltaX = -Math.abs(x-offsetX); deltaW = Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startX = startX+(x-offsetX); } break; case LensUI.NORTH_EAST: if(y-offsetY < 0) { deltaY = (y-offsetY); deltaH = Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startY = startY+(y-offsetY); } else { deltaY = (y-offsetY); deltaH = -Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startY = startY+(y-offsetY); } if(x-offsetX > 0) { deltaW = Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetX = x; } else { deltaW = -Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetX = x; } break; case LensUI.NORTH_WEST: if(y-offsetY < 0) { deltaY = (y-offsetY); deltaH = Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startY = startY+(y-offsetY); } else { deltaY = (y-offsetY); deltaH = -Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startY = startY+(y-offsetY); } if(x-offsetX > 0) { deltaX = (x-offsetX); deltaW = -Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startX = startX+(x-offsetX); } else { deltaX = -Math.abs(x-offsetX); deltaW = Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startX = startX+(x-offsetX); } case LensUI.SOUTH_EAST: if(y-offsetY > 0) { deltaH = Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetY = y; } else { deltaH = -Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetY = y; } if(x-offsetX > 0) { deltaW = Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetX = x; } else { deltaW = -Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetX = x; } break; case LensUI.SOUTH_WEST: if(y-offsetY > 0) { deltaH = Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetY = y; } else { deltaH = -Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetY = y; } if(x-offsetX > 0) { deltaX = (x-offsetX); deltaW = -Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startX = startX+(x-offsetX); } else { deltaX = -Math.abs(x-offsetX); deltaW = Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startX = startX+(x-offsetX); } break; } setLensBounds(deltaX, deltaY, deltaW, deltaH, isShiftDown); } if(lensDrag) { boolean moveX = true; boolean moveY = true; if(startX+(x-offsetX) < 0 ) { moveX = false; startX = 0; } if((startX+(x-offsetX))/lensModel.getImageZoomFactor()+lensModel.getWidth() > lensModel.getImageWidth()) { moveX = false; startX = lensModel.getImageScaledWidth()-lensModel.getScaledWidth(); } if(startY+(y-offsetY) < 0 ) { moveY = false; startY = 0; } if(startY+(y-offsetY)+lens.getHeight() > lensModel.getImageScaledHeight()) { moveY = false; startY = lensModel.getImageScaledHeight()-lensModel.getScaledHeight(); } if(moveX) startX = startX+(x-offsetX); if(moveY) startY = startY+(y-offsetY); setLensLocation((int)(startX/lensModel.getImageZoomFactor()), (int)(startY/lensModel.getImageZoomFactor())); } }
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/54a6dc1cc81e06c2190546075a6c5a04f18d9bb5/LensController.java/clean/SRC/org/openmicroscopy/shoola/util/ui/lens/LensController.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 26882, 9186, 11728, 12, 474, 619, 16, 509, 677, 16, 1250, 353, 10544, 4164, 13, 202, 95, 202, 202, 430, 261, 8815, 11728, 13, 202, 202, 95, 1082, 202, 474, 31329, 273, 374, 31, 1082, 202, 474, 29697, 273, 374, 31, 1082, 202, 474, 3622, 59, 273, 374, 31, 1082, 202, 474, 3622, 44, 273, 374, 31, 25083, 202, 9610, 12, 15169, 1621, 13, 1082, 202, 95, 9506, 202, 3593, 511, 773, 5370, 18, 50, 28212, 30, 6862, 202, 430, 261, 93, 17, 3348, 61, 411, 374, 13, 6862, 202, 95, 25083, 202, 9878, 61, 273, 261, 93, 17, 3348, 61, 1769, 25083, 202, 9878, 44, 273, 2361, 18, 5113, 12, 93, 17, 3348, 61, 1769, 25083, 202, 430, 12, 1893, 5694, 12, 9878, 60, 16, 29697, 16, 3622, 59, 16, 3622, 44, 3719, 6862, 1082, 202, 1937, 61, 273, 787, 61, 15, 12, 93, 17, 3348, 61, 1769, 6862, 202, 97, 6862, 202, 12107, 6862, 202, 95, 25083, 202, 9878, 61, 273, 261, 93, 17, 3348, 61, 1769, 25083, 202, 9878, 44, 273, 300, 10477, 18, 5113, 12, 93, 17, 3348, 61, 1769, 25083, 202, 430, 12, 1893, 5694, 12, 9878, 60, 16, 29697, 16, 3622, 59, 16, 3622, 44, 3719, 6862, 1082, 202, 1937, 61, 273, 787, 61, 15, 12, 93, 17, 3348, 61, 1769, 6862, 202, 97, 9506, 202, 8820, 31, 9506, 202, 3593, 511, 773, 5370, 18, 3584, 5844, 30, 6862, 202, 430, 261, 93, 17, 3348, 61, 405, 374, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 26882, 9186, 11728, 12, 474, 619, 16, 509, 677, 16, 1250, 353, 10544, 4164, 13, 202, 95, 202, 202, 430, 261, 8815, 11728, 13, 202, 202, 95, 1082, 202, 474, 31329, 273, 374, 31, 1082, 202, 474, 29697, 273, 374, 31, 1082, 202, 474, 3622, 59, 273, 374, 31, 1082, 202, 474, 3622, 44, 273, 374, 31, 25083, 202, 9610, 12, 15169, 1621, 13, 1082, 202, 95, 9506, 202, 3593, 511, 773, 5370, 18, 50, 28212, 30, 6862, 202, 430, 261, 93, 17, 3348, 61, 411, 374, 13, 6862, 202, 95, 25083, 202, 9878, 61, 273, 261, 93, 17, 3348, 61, 1769, 25083, 202, 9878, 44, 273, 2361, 18, 5113, 12, 93, 17, 3348, 61, 1769, 2 ]
if ((p=project.getProperty("ant.netrexxc.explicit"))!=null) { this.explicit=Project.toBoolean(p);
if ((p = project.getProperty("ant.netrexxc.explicit")) != null) { this.explicit = Project.toBoolean(p);
public void init() { String p; if ((p=project.getProperty("ant.netrexxc.binary"))!=null) { this.binary=Project.toBoolean(p); } // classpath makes no sense if ((p=project.getProperty("ant.netrexxc.comments"))!=null) { this.comments=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.compact"))!=null) { this.compact=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.compile"))!=null) { this.compile=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.console"))!=null) { this.console=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.crossref"))!=null) { this.crossref=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.decimal"))!=null) { this.decimal=Project.toBoolean(p); // destDir } if ((p=project.getProperty("ant.netrexxc.diag"))!=null) { this.diag=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.explicit"))!=null) { this.explicit=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.format"))!=null) { this.format=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.java"))!=null) { this.java=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.keep"))!=null) { this.keep=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.logo"))!=null) { this.logo=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.replace"))!=null) { this.replace=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.savelog"))!=null) { this.savelog=Project.toBoolean(p); // srcDir } if ((p=project.getProperty("ant.netrexxc.sourcedir"))!=null) { this.sourcedir=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.strictargs"))!=null) { this.strictargs=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.strictassign"))!=null) { this.strictassign=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.strictcase"))!=null) { this.strictcase=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.strictimport"))!=null) { this.strictimport=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.strictprops"))!=null) { this.strictprops=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.strictsignal"))!=null) { this.strictsignal=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.symbols"))!=null) { this.symbols=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.time"))!=null) { this.time=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.trace"))!=null) { setTrace(p); } if ((p=project.getProperty("ant.netrexxc.utf8"))!=null) { this.utf8=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.verbose"))!=null) { setVerbose(p); } if ((p=project.getProperty("ant.netrexxc.suppressMethodArgumentNotUsed"))!=null) { this.suppressMethodArgumentNotUsed=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.suppressPrivatePropertyNotUsed"))!=null) { this.suppressPrivatePropertyNotUsed=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.suppressVariableNotUsed"))!=null) { this.suppressVariableNotUsed=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.suppressExceptionNotSignalled"))!=null) { this.suppressExceptionNotSignalled=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.suppressDeprecation"))!=null) { this.suppressDeprecation=Project.toBoolean(p); } }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/c7b5b643b25b20f5c96097b2c54e2e26a054f212/NetRexxC.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 1435, 288, 3639, 514, 293, 31, 3639, 309, 14015, 84, 33, 4406, 18, 588, 1396, 2932, 970, 18, 2758, 266, 5279, 71, 18, 8578, 6, 3719, 5, 33, 2011, 13, 288, 5411, 333, 18, 8578, 33, 4109, 18, 869, 5507, 12, 84, 1769, 3639, 289, 3639, 368, 10006, 7297, 1158, 12764, 3639, 309, 14015, 84, 33, 4406, 18, 588, 1396, 2932, 970, 18, 2758, 266, 5279, 71, 18, 9231, 6, 3719, 5, 33, 2011, 13, 288, 5411, 333, 18, 9231, 33, 4109, 18, 869, 5507, 12, 84, 1769, 3639, 289, 3639, 309, 14015, 84, 33, 4406, 18, 588, 1396, 2932, 970, 18, 2758, 266, 5279, 71, 18, 21038, 6, 3719, 5, 33, 2011, 13, 288, 5411, 333, 18, 21038, 33, 4109, 18, 869, 5507, 12, 84, 1769, 3639, 289, 3639, 309, 14015, 84, 33, 4406, 18, 588, 1396, 2932, 970, 18, 2758, 266, 5279, 71, 18, 11100, 6, 3719, 5, 33, 2011, 13, 288, 5411, 333, 18, 11100, 33, 4109, 18, 869, 5507, 12, 84, 1769, 3639, 289, 3639, 309, 14015, 84, 33, 4406, 18, 588, 1396, 2932, 970, 18, 2758, 266, 5279, 71, 18, 8698, 6, 3719, 5, 33, 2011, 13, 288, 5411, 333, 18, 8698, 33, 4109, 18, 869, 5507, 12, 84, 1769, 3639, 289, 3639, 309, 14015, 84, 33, 4406, 18, 588, 1396, 2932, 970, 18, 2758, 266, 5279, 71, 18, 14653, 1734, 6, 3719, 5, 33, 2011, 13, 288, 5411, 333, 18, 14653, 1734, 33, 4109, 18, 869, 5507, 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, 1208, 1435, 288, 3639, 514, 293, 31, 3639, 309, 14015, 84, 33, 4406, 18, 588, 1396, 2932, 970, 18, 2758, 266, 5279, 71, 18, 8578, 6, 3719, 5, 33, 2011, 13, 288, 5411, 333, 18, 8578, 33, 4109, 18, 869, 5507, 12, 84, 1769, 3639, 289, 3639, 368, 10006, 7297, 1158, 12764, 3639, 309, 14015, 84, 33, 4406, 18, 588, 1396, 2932, 970, 18, 2758, 266, 5279, 71, 18, 9231, 6, 3719, 5, 33, 2011, 13, 288, 5411, 333, 18, 9231, 33, 4109, 18, 869, 5507, 12, 84, 1769, 3639, 289, 3639, 309, 14015, 84, 33, 4406, 18, 588, 1396, 2932, 970, 18, 2758, 266, 5279, 71, 18, 21038, 6, 3719, 5, 33, 2011, 13, 288, 2 ]
public double getMinimumTrailer(SequenceRenderContext src) { return 0.0;
public double getMinimumTrailer(SequenceRenderContext context) { return 0.0;
public double getMinimumTrailer(SequenceRenderContext src) { return 0.0; }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/aefa575eae1a93e3c4aadd790a7f888adf75b07d/SymbolSequenceRenderer.java/buggy/src/org/biojava/bio/gui/sequence/SymbolSequenceRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 30665, 1609, 2895, 12, 4021, 3420, 1042, 1705, 13, 288, 1377, 327, 374, 18, 20, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 30665, 1609, 2895, 12, 4021, 3420, 1042, 1705, 13, 288, 1377, 327, 374, 18, 20, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public AttributeDescr auto_focus() throws RecognitionException { AttributeDescr d = null; Token loc=null; Token t=null; d = null; try { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:563:3: ( (loc= 'auto-focus' opt_semicolon ) | (loc= 'auto-focus' t= BOOL opt_semicolon ) ) int alt20=2; int LA20_0 = input.LA(1); if ( (LA20_0==44) ) { int LA20_1 = input.LA(2); if ( (LA20_1==BOOL) ) { alt20=2; } else if ( (LA20_1==RHS||LA20_1==27||LA20_1==34||LA20_1==39||(LA20_1>=42 && LA20_1<=47)) ) { alt20=1; } else { NoViableAltException nvae = new NoViableAltException("558:1: auto_focus returns [AttributeDescr d] : ( (loc= 'auto-focus' opt_semicolon ) | (loc= 'auto-focus' t= BOOL opt_semicolon ) );", 20, 1, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("558:1: auto_focus returns [AttributeDescr d] : ( (loc= 'auto-focus' opt_semicolon ) | (loc= 'auto-focus' t= BOOL opt_semicolon ) );", 20, 0, input); throw nvae; } switch (alt20) { case 1 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:563:3: (loc= 'auto-focus' opt_semicolon ) { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:563:3: (loc= 'auto-focus' opt_semicolon ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:564:4: loc= 'auto-focus' opt_semicolon { loc=(Token)input.LT(1); match(input,44,FOLLOW_44_in_auto_focus1002); pushFollow(FOLLOW_opt_semicolon_in_auto_focus1004); opt_semicolon(); _fsp--; d = new AttributeDescr( "auto-focus", "true" ); d.setLocation( offset(loc.getLine()), loc.getCharPositionInLine() ); } } break; case 2 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:571:3: (loc= 'auto-focus' t= BOOL opt_semicolon ) { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:571:3: (loc= 'auto-focus' t= BOOL opt_semicolon ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:572:4: loc= 'auto-focus' t= BOOL opt_semicolon { loc=(Token)input.LT(1); match(input,44,FOLLOW_44_in_auto_focus1029); t=(Token)input.LT(1); match(input,BOOL,FOLLOW_BOOL_in_auto_focus1033); pushFollow(FOLLOW_opt_semicolon_in_auto_focus1035); opt_semicolon(); _fsp--; d = new AttributeDescr( "auto-focus", t.getText() ); d.setLocation( offset(loc.getLine()), loc.getCharPositionInLine() ); } } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/6b34eb3854fdc06f31034567ebdf72ff28c6c11a/DRLParser.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 3656, 67, 13923, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 273, 446, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 268, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 4313, 23, 30, 23, 30, 261, 261, 1829, 33, 296, 6079, 17, 13923, 11, 2153, 67, 12000, 17280, 262, 571, 261, 1829, 33, 296, 6079, 17, 13923, 11, 268, 33, 9784, 1741, 2153, 67, 12000, 17280, 262, 262, 5411, 509, 3770, 3462, 33, 22, 31, 5411, 509, 2928, 3462, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 5411, 309, 261, 261, 2534, 3462, 67, 20, 631, 6334, 13, 262, 288, 7734, 509, 2928, 3462, 67, 21, 273, 810, 18, 2534, 12, 22, 1769, 7734, 309, 261, 261, 2534, 3462, 67, 21, 631, 19040, 13, 262, 288, 10792, 3770, 3462, 33, 22, 31, 7734, 289, 7734, 469, 309, 261, 261, 2534, 3462, 67, 21, 631, 54, 13173, 20081, 2534, 3462, 67, 21, 631, 5324, 20081, 2534, 3462, 67, 21, 631, 5026, 20081, 2534, 3462, 67, 21, 631, 5520, 20081, 12, 2534, 3462, 67, 21, 34, 33, 9452, 597, 2928, 3462, 67, 21, 32, 33, 9462, 3719, 262, 288, 10792, 3770, 3462, 33, 21, 31, 7734, 289, 7734, 469, 288, 10792, 17114, 15077, 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, 3601, 16198, 3656, 67, 13923, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 273, 446, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 268, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 4313, 23, 30, 23, 30, 261, 261, 1829, 33, 296, 6079, 17, 13923, 11, 2153, 67, 12000, 17280, 262, 571, 261, 1829, 33, 296, 6079, 17, 13923, 11, 268, 33, 9784, 1741, 2153, 67, 12000, 17280, 262, 262, 5411, 509, 3770, 3462, 33, 22, 31, 2 ]
cp = normalLibs + ":" + systemLibs;
cp = normalLibs + File.pathSeparator + systemLibs;
public static void main(String argv[], Class applicationClass) { _wasERXApplicationMainInvoked = true; String cp = System.getProperty("java.class.path"); String parts[] = cp.split(":"); String normalLibs = ""; String systemLibs = ""; allFrameworks = new HashSet(); for (int i = 0; i < parts.length; i++) { String jar = parts[i]; // all patched frameworks here if(jar.matches(".*?Library[/\\\\]Frameworks[/\\\\]Java(Foundation|EOControl|EOAccess|WebObjects).*")) { systemLibs += jar + ":"; } else { normalLibs += jar + ":"; } String bundle = jar.replaceAll(".*?[/\\\\](\\w+)\\.framework.*", "$1"); if (bundle.matches("^\\w+$") && !"JavaVM".equals(bundle)) { allFrameworks.add(bundle); } } if (systemLibs.length() > 1) { systemLibs = systemLibs.substring(0, systemLibs.length() - 1); } if (normalLibs.length() > 1) { normalLibs = normalLibs.substring(0, normalLibs.length() - 1); } cp = normalLibs + ":" + systemLibs; // AK: this is pretty experimental for now. The classpath reordering // should actually be done in a WOLips bootstrap because as this time all // the static inits of WO app have already happened (which include NSMutableArray and _NSThreadSaveSet) if (true) { System.setProperty("java.class.path", cp); ClassLoader loader = AppClassLoader.getAppClassLoader(); Thread.currentThread().setContextClassLoader(loader); } Class arrayClass = NSMutableArray.class; try { Field f = arrayClass.getField("ERX_MARKER"); } catch (NoSuchFieldException e) { System.err.println("No ERX_MARKER field in NSMutableArray found. \nThis means your class path is incorrect. Adjust it so that ERExtensions come before JavaFoundation."); System.exit(1); } catch (Exception e) { e.printStackTrace(); } NSNotificationCenter.defaultCenter().addObserver(ERXApplication.class, new NSSelector("bundleDidLoad", new Class[] { NSNotification.class }), "NSBundleDidLoadNotification", null); ERXConfigurationManager.defaultManager().setCommandLineArguments(argv); ERXFrameworkPrincipal.setUpFrameworkPrincipalClass(ERXExtensions.class); WOApplication.main(argv, applicationClass); }
17168 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17168/43bafa9af636329a0b9a7c722052930979220b55/ERXApplication.java/clean/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXApplication.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 5261, 63, 6487, 1659, 2521, 797, 13, 288, 377, 202, 67, 17416, 654, 60, 3208, 6376, 26215, 273, 638, 31, 377, 202, 780, 3283, 273, 2332, 18, 588, 1396, 2932, 6290, 18, 1106, 18, 803, 8863, 377, 202, 780, 2140, 8526, 273, 3283, 18, 4939, 2932, 2773, 1769, 377, 202, 780, 2212, 5664, 87, 273, 1408, 31, 377, 202, 780, 2619, 5664, 87, 273, 1408, 31, 377, 202, 454, 13701, 87, 273, 394, 6847, 5621, 377, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2140, 18, 2469, 31, 277, 27245, 288, 377, 202, 202, 780, 7334, 273, 2140, 63, 77, 15533, 377, 202, 202, 759, 777, 25786, 8257, 87, 2674, 377, 202, 202, 430, 12, 11930, 18, 8436, 2932, 23498, 9313, 63, 19, 13011, 65, 13701, 87, 63, 19, 13011, 65, 5852, 12, 27788, 96, 41, 51, 3367, 96, 41, 51, 1862, 96, 4079, 4710, 2934, 7388, 3719, 288, 377, 1082, 202, 4299, 5664, 87, 1011, 7334, 397, 6153, 31, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 6130, 5664, 87, 1011, 7334, 397, 6153, 31, 1082, 202, 97, 1082, 202, 780, 3440, 273, 7334, 18, 2079, 1595, 2932, 4509, 18428, 19, 13011, 65, 24480, 91, 6975, 19978, 12303, 4509, 3113, 4662, 21, 8863, 1082, 202, 430, 261, 9991, 18, 8436, 2932, 66, 1695, 91, 26020, 7923, 597, 29054, 5852, 7397, 9654, 14963, 12, 9991, 3719, 288, 9506, 202, 454, 13701, 87, 18, 1289, 12, 9991, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 5261, 63, 6487, 1659, 2521, 797, 13, 288, 377, 202, 67, 17416, 654, 60, 3208, 6376, 26215, 273, 638, 31, 377, 202, 780, 3283, 273, 2332, 18, 588, 1396, 2932, 6290, 18, 1106, 18, 803, 8863, 377, 202, 780, 2140, 8526, 273, 3283, 18, 4939, 2932, 2773, 1769, 377, 202, 780, 2212, 5664, 87, 273, 1408, 31, 377, 202, 780, 2619, 5664, 87, 273, 1408, 31, 377, 202, 454, 13701, 87, 273, 394, 6847, 5621, 377, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2140, 18, 2469, 31, 277, 27245, 288, 377, 202, 202, 780, 7334, 273, 2140, 63, 77, 15533, 377, 202, 202, 759, 777, 25786, 8257, 87, 2674, 2 ]
case Code.AIE: { String arrayReference = tokenizer.nextToken(); long cellNumber = Long.parseLong(tokenizer.nextToken()); long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); String type = tokenizer.nextToken(); long literal = Long.parseLong(tokenizer.nextToken()); Highlight highlight = MCodeUtilities .makeHighlight(tokenizer.nextToken()); handleCodeAIE(arrayReference, cellNumber, expressionReference, value, type, literal, highlight); break; } case Code.AI: {
case Code.AI: {
public void interpret(String line) { beforeInterpretation(line); if (!line.equals("" + Code.END)) { StringTokenizer tokenizer = new StringTokenizer(line, Code.DELIM); if (tokenizer.hasMoreTokens()) { int token = Integer.parseInt(tokenizer.nextToken()); /* * Test whether or not the evaluation area should be cleaned. */ cleanEvaluationArea(token); //checkInstancesForRemoval(); switch (token) { //Gives a reference to the left hand side of the expression case Code.LEFT: { long token1 = Long.parseLong(tokenizer.nextToken()); handleCodeLEFT(token1); break; } //Gives a reference to the right hand side of the expression case Code.RIGHT: { long token1 = Long.parseLong(tokenizer.nextToken()); handleCodeRIGHT(token1); break; } //Begins an expression case Code.BEGIN: { //first token long expressionType = Long.parseLong(tokenizer.nextToken()); long expressionReference = Long.parseLong(tokenizer .nextToken()); String location = tokenizer.nextToken(); handleCodeBEGIN(expressionType, expressionReference, location); break; } //Indicates where the value is assigned case Code.TO: { long expressionReference = Long.parseLong(tokenizer .nextToken()); handleCodeTO(expressionReference); break; } //Assignment case Code.A: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long fromExpression = Long.parseLong(tokenizer.nextToken()); long toExpression = Long.parseLong(tokenizer.nextToken()); String value = ""; if (tokenizer.countTokens() > 2) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeA(expressionCounter, fromExpression, toExpression, value, type, h); break; } /* * Unary Expressions */ // Complement case Code.COMP: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long unaryExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeCOMP(expressionCounter, unaryExpressionReference, value, type, h); break; } // Plus operator case Code.PLUS: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long unaryExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodePLUS(expressionCounter, unaryExpressionReference, value, type, h); break; } // Minus operator case Code.MINUS: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long unaryExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeMINUS(expressionCounter, unaryExpressionReference, value, type, h); break; } // Boolean Not case Code.NO: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long unaryExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeNO(expressionCounter, unaryExpressionReference, value, type, h); break; } // Unary Expression // PostIncrement case Code.PIE: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodePIE(expressionCounter, expressionReference, value, type, h); break; } // PostDecrement case Code.PDE: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodePDE(expressionCounter, expressionReference, value, type, h); break; } // Unary Expression // PreIncrement case Code.PRIE: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodePRIE(expressionCounter, expressionReference, value, type, h); break; } // PreDecrement case Code.PRDE: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodePRDE(expressionCounter, expressionReference, value, type, h); break; } /* * Binary Expressions */ // Bitwise Or case Code.BITOR: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeBITOR(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Bitwise Xor case Code.BITXOR: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeBITXOR(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Bitwise And case Code.BITAND: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeBITAND(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Bitwise Left Shift case Code.LSHIFT: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeLSHIFT(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Bitwise Right Shift case Code.RSHIFT: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeRSHIFT(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Unsigned Right Shift case Code.URSHIFT: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeURSHIFT(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Xor Expression case Code.XOR: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeXOR(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // And Expression case Code.AND: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeAND(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Or Expression case Code.OR: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeOR(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Equal Expression case Code.EE: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeEE(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Not Equal Expression case Code.NE: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeNE(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } case Code.CAST: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeCAST(expressionCounter, expressionReference, value, type, h); break; } // Less Expression case Code.LE: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeLE(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Less or Equal Expression case Code.LQE: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeLQE(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Greater Than case Code.GT: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeGT(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Greater or Equal Expression case Code.GQT: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeGQT(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Multiplication Expression case Code.ME: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeME(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Remainder (mod) Expression case Code.RE: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeRE(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Division Expression case Code.DE: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeDE(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Substract Expression case Code.SE: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeSE(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } // Add Expression case Code.AE: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long leftExpressionReference = Long.parseLong(tokenizer .nextToken()); long rightExpressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeAE(expressionCounter, leftExpressionReference, rightExpressionReference, value, type, h); break; } //Variable Declaration case Code.VD: { String variableName = tokenizer.nextToken(); long initializerExpression = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 4) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); String modifier = tokenizer.nextToken(); //Make the location information for the location token Highlight highlight = MCodeUtilities .makeHighlight(tokenizer.nextToken()); handleCodeVD(variableName, initializerExpression, value, type, modifier, highlight); break; } //Qualified Name (variable) case Code.QN: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); String variableName = tokenizer.nextToken(); String value = null; if (tokenizer.countTokens() >= 2) { value = tokenizer.nextToken(); } else { value = ""; } String type = tokenizer.nextToken(); Highlight highlight = null; if (tokenizer.hasMoreElements()) { highlight = MCodeUtilities.makeHighlight(tokenizer .nextToken()); } handleCodeQN(expressionCounter, variableName, value, type, highlight); break; } //Static field access case Code.SFA: { //Second token is the expression counter long expressionCounter = Long.parseLong(tokenizer .nextToken()); String declaringClass = tokenizer.nextToken(); String variableName = tokenizer.nextToken(); String value = null; // fixed by rku: 3 to 4, because added modifier to mcode if (tokenizer.countTokens() >= 4) { //Third token is the value of the literal value = tokenizer.nextToken(); } else { /* * There is no third token because the * literal is an empty string. */ value = ""; } //Fourth token is the type of the literal String type = tokenizer.nextToken(); // fixed by rku, added modifiers int modifiers = Integer.parseInt(tokenizer.nextToken()); //Fifth token is the highlight information. //Not normally used because the whole expression is highlighted. Highlight highlight = MCodeUtilities .makeHighlight(tokenizer.nextToken()); handleCodeSFA(expressionCounter, declaringClass, variableName, value, type, modifiers, highlight); break; } //Literal case Code.L: { //Second token is the expression counter long expressionCounter = Long.parseLong(tokenizer .nextToken()); String value = null; if (tokenizer.countTokens() >= 3) { //Third token is the value of the literal value = tokenizer.nextToken(); } else { /* * There is no third token because the * literal is an empty string. */ value = ""; } //Fourth token is the type of the literal String type = tokenizer.nextToken(); //Fifth token is the highlight information. //Not normally used because the whole expression is highlighted. Highlight highlight = MCodeUtilities .makeHighlight(tokenizer.nextToken()); handleCodeL(expressionCounter, value, type, highlight); break; } //Simple Allocation (Object Allocation) case Code.SA: { //simpleAllocationCounter long expressionCounter = Long.parseLong(tokenizer .nextToken()); String declaringClass = tokenizer.nextToken(); String constructorName = tokenizer.nextToken(); int parameterCount = Integer .parseInt(tokenizer.nextToken()); Highlight highlight = MCodeUtilities .makeHighlight(tokenizer.nextToken()); handleCodeSA(expressionCounter, declaringClass, constructorName, parameterCount, highlight); break; } case Code.CONSCN: { //Normally nothing needs to be done for this! handleCodeCONSCN(Long.parseLong(tokenizer.nextToken())); break; } // Simple class allocation close case Code.SAC: { //simpleAllocationCounter long expressionCounter = Long.parseLong(tokenizer .nextToken()); String hashCode = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeSAC(expressionCounter, hashCode, h); break; } // Object field access case Code.OFA: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long objectCounter = Long.parseLong(tokenizer.nextToken()); String variableName = tokenizer.nextToken(); String value = ""; // fixed rku: used because we added modifiers in Mcode // was 3 if (tokenizer.countTokens() >= 4) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); int modifiers = Integer.parseInt(tokenizer.nextToken()); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeOFA(expressionCounter, objectCounter, variableName, value, type, modifiers, h); break; } // Object method call case Code.OMC: { String methodName = tokenizer.nextToken(); int parameterCount = Integer .parseInt(tokenizer.nextToken()); long objectCounter = Long.parseLong(tokenizer.nextToken()); String objectValue = ""; if (tokenizer.countTokens() > 1) { objectValue = tokenizer.nextToken(); } Highlight highlight = MCodeUtilities .makeHighlight(tokenizer.nextToken()); handleCodeOMC(methodName, parameterCount, objectCounter, objectValue, highlight); break; } // Object method call close case Code.OMCC: { handleCodeOMCC(); break; } //Static Method Call case Code.SMC: { String methodName = tokenizer.nextToken(); String className = tokenizer.nextToken(); int parameterCount = Integer .parseInt(tokenizer.nextToken()); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeSMC(methodName, className, parameterCount, h); break; } //Parameter case Code.P: { long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); String argType = tokenizer.nextToken(); handleCodeP(expressionReference, value, argType); break; } //Method declaration case Code.MD: { Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeMD(h); break; } //Parameters list case Code.PARAMETERS: { String parameters = ""; if (tokenizer.hasMoreTokens()) { parameters = tokenizer.nextToken(); } handleCodePARAMETERS(parameters); break; } // Return Statement case Code.R: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeR(expressionCounter, expressionReference, value, type, h); break; } // Static method call closed case Code.SMCC: { handleCodeSMCC(); break; } //If Then Statement case Code.IFT: { long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); Highlight h = null; if (tokenizer.hasMoreElements()) { h = MCodeUtilities.makeHighlight(tokenizer.nextToken()); } handleCodeIFT(expressionReference, value, h); break; } //IF Then Else Statement case Code.IFTE: { long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeIFTE(expressionReference, value, h); break; } //While Statement case Code.WHI: { long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); int round = Integer.parseInt(tokenizer.nextToken()); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeWHI(expressionReference, value, round, h); break; } //For Statement case Code.FOR: { long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); long round = Long.parseLong(tokenizer.nextToken()); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeFOR(expressionReference, value, round, h); break; } //Do-While Statement case Code.DO: { long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); long round = Long.parseLong(tokenizer.nextToken()); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeDO(expressionReference, value, round, h); break; } case Code.SWITCHB: { Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeSWITCHB(h); break; } case Code.SWIBF: { long selectorReference = Long.parseLong(tokenizer .nextToken()); long switchBlockReference = Long.parseLong(tokenizer .nextToken()); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeSWIBF(selectorReference, switchBlockReference, h); break; } case Code.SWITCH: { Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeSWITCH(h); break; } //Break Statement case Code.BR: { int statementName = Integer.parseInt(tokenizer.nextToken()); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeBR(statementName, h); break; } //Continue Statement case Code.CONT: { int statementName = Integer.parseInt(tokenizer.nextToken()); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeCONT(statementName, h); break; } //Outputting an expression case Code.OUTPUT: { long expressionReference = Long.parseLong(tokenizer .nextToken()); String className = tokenizer.nextToken(); String methodName = tokenizer.nextToken(); String value = ""; if (tokenizer.countTokens() >= 4) { value = tokenizer.nextToken(); } String type = ""; if (tokenizer.countTokens() >= 3) { type = tokenizer.nextToken(); } boolean breakLine = tokenizer.nextToken().equals("1") ? true : false; Highlight highlight = MCodeUtilities .makeHighlight(tokenizer.nextToken()); handleCodeOUTPUT(expressionReference, className, methodName, value, type, breakLine, highlight); break; } //Input needs to be read case Code.INPUT: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); String className = tokenizer.nextToken(); String methodName = tokenizer.nextToken(); String type = tokenizer.nextToken(); String prompt = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeINPUT(expressionCounter, className, methodName, type, ((prompt.equals("null")) ? null : prompt), h); break; } //Inputted value is returned case Code.INPUTTED: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeINPUTTED(expressionCounter, value, type, h); break; } //Opening and closing scopes case Code.SCOPE: { int scope = Integer.parseInt(tokenizer.nextToken()); handleCodeSCOPE(scope); break; } //Array Allocation case Code.AA: { long expressionReference = Long.parseLong(tokenizer .nextToken()); String hashCode = tokenizer.nextToken(); String compType = tokenizer.nextToken(); int dims = Integer.parseInt(tokenizer.nextToken()); //References of the dimension values String dimensionReferences = tokenizer.nextToken(); //int values of the dimension sizes String dimensionSizes = tokenizer.nextToken(); //number of real dimensions the array has, even if they are not yet allocated int actualDimension = Integer.parseInt(tokenizer .nextToken()); Highlight h = null; if (tokenizer.hasMoreElements()) { h = MCodeUtilities.makeHighlight(tokenizer.nextToken()); } handleCodeAA(expressionReference, hashCode, compType, dims, dimensionReferences, dimensionSizes, actualDimension, h); break; } //Array Access case Code.AAC: { long expressionCounter = Long.parseLong(tokenizer .nextToken()); long expressionReference = Long.parseLong(tokenizer .nextToken()); int dims = Integer.parseInt(tokenizer.nextToken()); String cellNumberReferences = tokenizer.nextToken(); //int values of the dimension sizes String cellNumbers = tokenizer.nextToken(); String value = ""; if (tokenizer.countTokens() >= 3) { value = tokenizer.nextToken(); } String type = tokenizer.nextToken(); Highlight h = null; if (tokenizer.hasMoreElements()) { h = MCodeUtilities.makeHighlight(tokenizer.nextToken()); } handleCodeAAC(expressionCounter, expressionReference, dims, cellNumberReferences, cellNumbers, value, type, h); break; } //Array Length case Code.AL: { //Second token is the expression counter long expressionCounter = Long.parseLong(tokenizer .nextToken()); long arrayCounter = Long.parseLong(tokenizer.nextToken()); String name = tokenizer.nextToken(); String value = ""; if (tokenizer.countTokens() >= 3) { //Third token is the value of the literal value = tokenizer.nextToken(); } //Fourth token is the type of the literal String type = tokenizer.nextToken(); //Fifth token is the highlight information. //Not used because the whole expression is // highlighted. Highlight highlight = MCodeUtilities .makeHighlight(tokenizer.nextToken()); handleCodeAL(expressionCounter, arrayCounter, name, value, type, highlight); break; } //Beginning of the Array Initializer case Code.AIBEGIN: { long cells = Long.parseLong(tokenizer.nextToken()); Highlight highlight = MCodeUtilities .makeHighlight(tokenizer.nextToken()); handleCodeAIBEGIN(cells, highlight); break; } //Array Initializer's element case Code.AIE: { String arrayReference = tokenizer.nextToken(); long cellNumber = Long.parseLong(tokenizer.nextToken()); long expressionReference = Long.parseLong(tokenizer .nextToken()); String value = tokenizer.nextToken(); String type = tokenizer.nextToken(); long literal = Long.parseLong(tokenizer.nextToken()); Highlight highlight = MCodeUtilities .makeHighlight(tokenizer.nextToken()); handleCodeAIE(arrayReference, cellNumber, expressionReference, value, type, literal, highlight); break; } case Code.AI: { Highlight highlight = MCodeUtilities .makeHighlight(tokenizer.nextToken()); handleCodeAI(highlight); break; } //Class information starts for a class case Code.CLASS: { String name = tokenizer.nextToken(); String extendedClass = ""; if (tokenizer.hasMoreTokens()) { extendedClass = tokenizer.nextToken(); } handleCodeCLASS(name, extendedClass); break; } //Class information ends for a class case Code.END_CLASS: { handleCodeEND_CLASS(); break; } //Class information for constructor case Code.CONSTRUCTOR: { String listOfParameters = ""; if (tokenizer.hasMoreTokens()) { listOfParameters = tokenizer.nextToken(); } handleCodeCONSTRUCTOR(listOfParameters); break; } //Class information for method case Code.METHOD: { String name = tokenizer.nextToken(); String returnType = tokenizer.nextToken(); int modifiers = -1; if (tokenizer.hasMoreTokens()) { modifiers = Integer.parseInt(tokenizer.nextToken()); } String listOfParameters = ""; if (tokenizer.hasMoreTokens()) { listOfParameters = tokenizer.nextToken(); } handleCodeMETHOD(name, returnType, modifiers, listOfParameters); break; } //Class information for field case Code.FIELD: { String name = tokenizer.nextToken(); String type = tokenizer.nextToken(); int modifiers = Integer.parseInt(tokenizer.nextToken()); String value = ""; if (tokenizer.countTokens() > 1) { value = tokenizer.nextToken(); } String h = tokenizer.nextToken(); handleCodeFIELD(name, type, modifiers, value, h); break; } //Error has occured during the execution case Code.ERROR: { String message = tokenizer.nextToken(); Highlight h = MCodeUtilities.makeHighlight(tokenizer .nextToken()); handleCodeERROR(message, h); break; } //There is an error if the execution comes here. default: { //director.showErrorMessage(new InterpreterError(bundle // .getString("notImplemented.exception"), null)); /* * " <H1> Runtime Error </H1><P> The feature is not * yet implemented or " + */ break; } } } } else { running = false; endRunning(); } }
49293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49293/4c2c9392293b46eb23689613bc6bc09185a3e18b/MCodeInterpreter.java/buggy/src/jeliot/mcode/MCodeInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10634, 12, 780, 980, 13, 288, 3639, 1865, 2465, 15089, 367, 12, 1369, 1769, 3639, 309, 16051, 1369, 18, 14963, 2932, 6, 397, 3356, 18, 4415, 3719, 288, 5411, 16370, 10123, 273, 394, 16370, 12, 1369, 16, 3356, 18, 31519, 1769, 5411, 309, 261, 2316, 1824, 18, 5332, 7417, 5157, 10756, 288, 7734, 509, 1147, 273, 2144, 18, 2670, 1702, 12, 2316, 1824, 18, 4285, 1345, 10663, 7734, 1748, 1171, 380, 7766, 2856, 578, 486, 326, 9873, 5091, 1410, 506, 9426, 18, 1171, 1195, 7734, 2721, 13468, 5484, 12, 2316, 1769, 7734, 368, 1893, 5361, 1290, 24543, 5621, 7734, 1620, 261, 2316, 13, 288, 7734, 368, 43, 3606, 279, 2114, 358, 326, 2002, 948, 4889, 434, 326, 2652, 7734, 648, 3356, 18, 10066, 30, 288, 10792, 1525, 1147, 21, 273, 3407, 18, 2670, 3708, 12, 2316, 1824, 18, 4285, 1345, 10663, 10792, 1640, 1085, 10066, 12, 2316, 21, 1769, 10792, 898, 31, 7734, 289, 7734, 368, 43, 3606, 279, 2114, 358, 326, 2145, 948, 4889, 434, 326, 2652, 7734, 648, 3356, 18, 11847, 30, 288, 10792, 1525, 1147, 21, 273, 3407, 18, 2670, 3708, 12, 2316, 1824, 18, 4285, 1345, 10663, 10792, 1640, 1085, 11847, 12, 2316, 21, 1769, 10792, 898, 31, 7734, 289, 7734, 368, 24059, 2679, 392, 2652, 7734, 648, 3356, 18, 16061, 30, 288, 10792, 368, 3645, 1147, 10792, 1525, 2652, 559, 273, 3407, 18, 2670, 3708, 12, 2316, 1824, 18, 4285, 1345, 10663, 10792, 1525, 2652, 2404, 273, 3407, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10634, 12, 780, 980, 13, 288, 3639, 1865, 2465, 15089, 367, 12, 1369, 1769, 3639, 309, 16051, 1369, 18, 14963, 2932, 6, 397, 3356, 18, 4415, 3719, 288, 5411, 16370, 10123, 273, 394, 16370, 12, 1369, 16, 3356, 18, 31519, 1769, 5411, 309, 261, 2316, 1824, 18, 5332, 7417, 5157, 10756, 288, 7734, 509, 1147, 273, 2144, 18, 2670, 1702, 12, 2316, 1824, 18, 4285, 1345, 10663, 7734, 1748, 1171, 380, 7766, 2856, 578, 486, 326, 9873, 5091, 1410, 506, 9426, 18, 1171, 1195, 7734, 2721, 13468, 5484, 12, 2316, 1769, 7734, 368, 1893, 5361, 1290, 24543, 5621, 7734, 1620, 261, 2316, 13, 288, 7734, 368, 43, 3606, 279, 2114, 358, 326, 2002, 948, 4889, 434, 2 ]
setVisible(false);
try {Thread.sleep(500);}catch(java.lang.InterruptedException ie) {} this.dispose();
private void doActionConnect () { int selectedRow = rowSM.getMinSelectionIndex(); connectKey = (String)ctm.getValueAt(selectedRow,0); saveProps(); setVisible(false); }
4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/93e6a881b5eb94adc18e4cf3d7aba4aeabc5b4c0/Connect.java/clean/src/org/tn5250j/Connect.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 741, 1803, 5215, 1832, 288, 1377, 509, 3170, 1999, 273, 1027, 7303, 18, 588, 2930, 6233, 1016, 5621, 1377, 3077, 653, 273, 261, 780, 13, 299, 81, 18, 24805, 861, 12, 8109, 1999, 16, 20, 1769, 1377, 1923, 5047, 5621, 6647, 775, 288, 3830, 18, 19607, 12, 12483, 1769, 97, 14683, 12, 6290, 18, 4936, 18, 24485, 503, 9228, 13, 2618, 333, 18, 2251, 4150, 5621, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 741, 1803, 5215, 1832, 288, 1377, 509, 3170, 1999, 273, 1027, 7303, 18, 588, 2930, 6233, 1016, 5621, 1377, 3077, 653, 273, 261, 780, 13, 299, 81, 18, 24805, 861, 12, 8109, 1999, 16, 20, 1769, 1377, 1923, 5047, 5621, 6647, 775, 288, 3830, 18, 19607, 12, 12483, 1769, 97, 14683, 12, 6290, 18, 4936, 18, 24485, 503, 9228, 13, 2618, 333, 18, 2251, 4150, 5621, 282, 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 ]
Driver.debug("supportsCoreSQLGrammar FALSE ");
if (Driver.logDebug) Driver.debug("supportsCoreSQLGrammar FALSE ");
public boolean supportsCoreSQLGrammar() throws SQLException { Driver.debug("supportsCoreSQLGrammar FALSE "); return false; }
45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/b465f5307f9f5506beb1edbcc0fb56eed7c29c12/DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 6146, 4670, 3997, 18576, 1435, 1216, 6483, 202, 95, 202, 202, 4668, 18, 4148, 2932, 28064, 4670, 3997, 18576, 4934, 315, 1769, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 6146, 4670, 3997, 18576, 1435, 1216, 6483, 202, 95, 202, 202, 4668, 18, 4148, 2932, 28064, 4670, 3997, 18576, 4934, 315, 1769, 202, 202, 2463, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
logger.error("AGIException while handling request", e);
logger.error("AgiException while handling request", e);
public void run() { try { AgiReader reader; AgiWriter writer; AgiRequest request; AgiChannel channel; AgiScript script; Thread thread; String threadName; reader = createReader(); writer = createWriter(); request = reader.readRequest(); channel = new AgiChannelImpl(writer, reader); script = mappingStrategy.determineScript(request); thread = Thread.currentThread(); threadName = thread.getName(); AgiConnectionHandler.channel.set(channel); if (script != null) { logger.info("Begin AGIScript " + script.getClass().getName() + " on " + threadName); script.service(request, channel); logger.info("End AGIScript " + script.getClass().getName() + " on " + threadName); } else { String error; error = "No script configured for URL '" + request.getRequestURL() + "' (script '" + request.getScript() + "')"; channel.sendCommand(new VerboseCommand(error, 1)); logger.error(error); } } catch (AgiException e) { logger.error("AGIException while handling request", e); } catch (Exception e) { logger.error("Unexpected Exception while handling request", e); } finally { AgiConnectionHandler.channel.set(null); try { socket.close(); } catch (IOException e) { // swallow } } }
25582 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25582/6a58448acd11ce1d90bc5b271658687304c9c5ec/AgiConnectionHandler.java/buggy/src/main/java/org/asteriskjava/fastagi/AgiConnectionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 565, 288, 3639, 775, 3639, 288, 5411, 5495, 77, 2514, 2949, 31, 5411, 5495, 77, 2289, 2633, 31, 5411, 5495, 77, 691, 590, 31, 5411, 5495, 77, 2909, 1904, 31, 5411, 5495, 77, 3651, 2728, 31, 5411, 4884, 2650, 31, 5411, 514, 2650, 461, 31, 5411, 2949, 273, 752, 2514, 5621, 5411, 2633, 273, 752, 2289, 5621, 5411, 590, 273, 2949, 18, 896, 691, 5621, 5411, 1904, 273, 394, 5495, 77, 2909, 2828, 12, 6299, 16, 2949, 1769, 5411, 2728, 273, 2874, 4525, 18, 24661, 3651, 12, 2293, 1769, 5411, 2650, 273, 4884, 18, 2972, 3830, 5621, 5411, 2650, 461, 273, 2650, 18, 17994, 5621, 5411, 5495, 77, 1952, 1503, 18, 4327, 18, 542, 12, 4327, 1769, 5411, 309, 261, 4263, 480, 446, 13, 5411, 288, 7734, 1194, 18, 1376, 2932, 8149, 432, 13797, 3651, 315, 397, 2728, 18, 588, 797, 7675, 17994, 1435, 13491, 397, 315, 603, 315, 397, 2650, 461, 1769, 7734, 2728, 18, 3278, 12, 2293, 16, 1904, 1769, 7734, 1194, 18, 1376, 2932, 1638, 432, 13797, 3651, 315, 397, 2728, 18, 588, 797, 7675, 17994, 1435, 13491, 397, 315, 603, 315, 397, 2650, 461, 1769, 5411, 289, 5411, 469, 5411, 288, 7734, 514, 555, 31, 7734, 555, 273, 315, 2279, 2728, 4351, 364, 1976, 2119, 13491, 397, 590, 18, 588, 691, 1785, 1435, 397, 2491, 261, 4263, 2119, 13491, 397, 590, 18, 588, 3651, 1435, 397, 2491, 2225, 31, 7734, 1904, 18, 4661, 2189, 12, 2704, 29846, 2189, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 565, 288, 3639, 775, 3639, 288, 5411, 5495, 77, 2514, 2949, 31, 5411, 5495, 77, 2289, 2633, 31, 5411, 5495, 77, 691, 590, 31, 5411, 5495, 77, 2909, 1904, 31, 5411, 5495, 77, 3651, 2728, 31, 5411, 4884, 2650, 31, 5411, 514, 2650, 461, 31, 5411, 2949, 273, 752, 2514, 5621, 5411, 2633, 273, 752, 2289, 5621, 5411, 590, 273, 2949, 18, 896, 691, 5621, 5411, 1904, 273, 394, 5495, 77, 2909, 2828, 12, 6299, 16, 2949, 1769, 5411, 2728, 273, 2874, 4525, 18, 24661, 3651, 12, 2293, 1769, 5411, 2650, 273, 4884, 18, 2972, 3830, 5621, 5411, 2650, 461, 273, 2650, 18, 17994, 5621, 5411, 5495, 77, 1952, 1503, 18, 4327, 18, 542, 2 ]
try { otherMA = discoServ.getLocalAdvertisements (DiscoveryService.ADV, "Name", "DIET_MA"); discoServ.getRemoteAdvertisements (null, DiscoveryService.ADV, "Name", "DIET_MA", 10, null); } catch (Exception e) { e.printStackTrace(); }
System.out.print("Searching other MAs DIET..."); int nbTry = 3; while (nbTry > 0) { try { discoServ.getRemoteAdvertisements (null, DiscoveryService.ADV, "Name", "DIET_MA", 10, null); Thread.sleep(1000); otherMA = discoServ.getLocalAdvertisements (DiscoveryService.ADV, "Name", "DIET_MA"); if (otherMA != null && otherMA.hasMoreElements()) break; nbTry--; } catch (Exception e) { e.printStackTrace(); } }
run() { String pID = null; MimeMediaType mimeType = new MimeMediaType("text", "xml"); try { String component = (msg.getMessageElement("origin")).toString(); if (component.compareTo("client") == 0) { /* Call DIET Agent to get a SeD reference */ String pbName = (msg.getMessageElement("pbName")).toString(); String nbRow = (msg.getMessageElement("nbRow")).toString(); String nbCol = (msg.getMessageElement("nbCol")).toString(); String[] resp = mma.callDIETAgent(pbName, nbRow, nbCol); /* if no SeD is found in the own agent's tree, forward to others MA */ if (Array.getLength(resp) == 0) { resp = new String [30]; Enumeration otherMA = null; try { otherMA = discoServ.getLocalAdvertisements (DiscoveryService.ADV, "Name", "DIET_MA"); discoServ.getRemoteAdvertisements (null, DiscoveryService.ADV, "Name", "DIET_MA", 10, null); } catch (Exception e) { e.printStackTrace(); } int ind = 0; while (otherMA.hasMoreElements()) { //String pType = null; String[] rsp = null; PipeAdvertisement otherPipeAdv = (PipeAdvertisement)otherMA.nextElement(); pID = otherPipeAdv.getPipeID().toString(); if (pID.compareTo (mma.getInputPipe().getPipeID().toString()) != 0) { System.out.println("Agent found input pipe uuid: " + pID.toString()); try { outPipe = pipeServ.createOutputPipe(otherPipeAdv, -1); } catch(Exception e) { e.printStackTrace(); } /* Create messages to forward */ String forwardPbName = (msg.getMessageElement("pbName")).toString(); String forwardNbRow = (msg.getMessageElement("nbRow")).toString(); String forwardNbCol = (msg.getMessageElement("nbCol")).toString(); Message forwardMsg = new Message (); InputStream ip; InputStreamMessageElement smeforwardPipeAdv; ip = pipeAdv.getDocument(mimeType).getStream(); smeforwardPipeAdv = new InputStreamMessageElement("pipeAdv", mimeType, ip, null); StringMessageElement smeforwardPbName = new StringMessageElement("pbName", forwardPbName, null); StringMessageElement smeforwardNbRow = new StringMessageElement("nbRow", forwardNbRow, null); StringMessageElement smeforwardNbCol = new StringMessageElement("nbCol", forwardNbCol, null); StringMessageElement smeorigin = new StringMessageElement("origin", "agent", null); forwardMsg.addMessageElement(smeforwardPbName); forwardMsg.addMessageElement(smeforwardNbRow); forwardMsg.addMessageElement(smeforwardNbCol); forwardMsg.addMessageElement(smeorigin); forwardMsg.addMessageElement(smeforwardPipeAdv); /* forward query to agent */ outPipe.send(forwardMsg); System.out.println ("Problem forwarded to agent..."); Message rspMsg = inPipe.waitForMessage(); /* Response received from agent, send back to client */ Message.ElementIterator respIter = rspMsg.getMessageElements("SeDUuid"); /* extracting SeD Uuid(s) from message */ while (respIter.hasNext()) { resp[ind++] = (respIter.next()).toString(); } } } } InputStream ip = null; ip = (msg.getMessageElement("pipeAdv")).getStream(); PipeAdvertisement clientPipeAdv = (PipeAdvertisement) AdvertisementFactory.newAdvertisement(mimeType, ip); outPipe = pipeServ.createOutputPipe(clientPipeAdv, 20000); /* Create the response message */ Message responseMsg = new Message(); /* insert uuids of server found */ int i; for(i = 0; ((i < Array.getLength(resp)) && (resp[i] != null)); i++) { StringMessageElement smeSeDUuid = new StringMessageElement("SeDUuid", resp[i], null); responseMsg.addMessageElement(smeSeDUuid); System.out.println ("JXTA Agent: SeD sent to client : " + resp[i]); } System.out.println(i + " SeD sent to client"); /* Send the response message to client */ outPipe.send (responseMsg); } else /* Query forwarded by an agent */ { String pbName; String nbRow; String nbCol; pbName = (msg.getMessageElement("pbName")).toString(); nbRow = (msg.getMessageElement("nbRow")).toString(); nbCol = (msg.getMessageElement("nbCol")).toString(); /* Call DIET Agent to submit to DIET */ String[] resp = mma.callDIETAgent(pbName, nbRow, nbCol); //String agentUuid = (msg.getMessageElement("agentUuid")).toString(); InputStream ip = null; ip = msg.getMessageElement("pipeAdv").getStream(); PipeAdvertisement agentPipeAdv = (PipeAdvertisement) AdvertisementFactory.newAdvertisement(mimeType, ip); outPipe = pipeServ.createOutputPipe(agentPipeAdv, 20000); /* build an output pipe to connect on the agent input pipe */ outPipe = pipeServ.createOutputPipe(agentPipeAdv, 20000); /* Create the response message */ Message responseMsg = new Message(); /* insert uuids of server found */ System.out.println("JXTA Agent: " + Array.getLength(resp) + " SeD sent to agent."); for(int i = 0; i < Array.getLength(resp); i++) { StringMessageElement smeSeDUuid = new StringMessageElement("SeDUuid", resp[i], null); responseMsg.addMessageElement(smeSeDUuid); System.out.println ("JXTA Agent: SeD sent to agent: " + resp[i]); } /* Send the response message */ outPipe.send (responseMsg); } } catch (Exception e) { e.printStackTrace(); } } // run
2786 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2786/6760f10d7e014fe36fc18179c56e000529c9b5ef/JXTAMultiMA.java/clean/src/agent/JXTAMultiMA.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1086, 1435, 225, 288, 565, 514, 293, 734, 273, 446, 31, 565, 22059, 20870, 10707, 273, 394, 22059, 20870, 2932, 955, 3113, 315, 2902, 8863, 565, 775, 288, 1377, 514, 1794, 273, 261, 3576, 18, 24906, 1046, 2932, 10012, 7923, 2934, 10492, 5621, 1377, 309, 261, 4652, 18, 9877, 774, 2932, 2625, 7923, 422, 374, 13, 288, 3639, 1748, 3049, 3690, 1584, 8669, 358, 336, 279, 3265, 40, 2114, 1195, 3639, 514, 6386, 461, 273, 261, 3576, 18, 24906, 1046, 2932, 5733, 461, 7923, 2934, 10492, 5621, 3639, 514, 4264, 1999, 273, 261, 3576, 18, 24906, 1046, 2932, 6423, 1999, 7923, 2934, 10492, 5621, 3639, 514, 4264, 914, 273, 261, 3576, 18, 24906, 1046, 2932, 6423, 914, 7923, 2934, 10492, 5621, 202, 1850, 514, 8526, 1718, 273, 312, 2540, 18, 1991, 2565, 1584, 3630, 12, 5733, 461, 16, 4264, 1999, 16, 4264, 914, 1769, 3639, 1748, 309, 1158, 3265, 40, 353, 1392, 316, 326, 4953, 4040, 1807, 2151, 16, 5104, 358, 10654, 19316, 1195, 3639, 309, 261, 1076, 18, 588, 1782, 12, 12243, 13, 422, 374, 13, 288, 1850, 1718, 273, 394, 514, 306, 5082, 15533, 1850, 13864, 1308, 5535, 273, 446, 31, 1850, 775, 288, 5411, 1308, 5535, 273, 1015, 2894, 827, 90, 18, 588, 2042, 1871, 1097, 291, 17110, 202, 202, 12, 11918, 1179, 18, 1880, 58, 16, 315, 461, 3113, 315, 2565, 1584, 67, 5535, 8863, 5411, 1015, 2894, 827, 90, 18, 588, 5169, 1871, 1097, 291, 17110, 202, 202, 12, 2011, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1086, 1435, 225, 288, 565, 514, 293, 734, 273, 446, 31, 565, 22059, 20870, 10707, 273, 394, 22059, 20870, 2932, 955, 3113, 315, 2902, 8863, 565, 775, 288, 1377, 514, 1794, 273, 261, 3576, 18, 24906, 1046, 2932, 10012, 7923, 2934, 10492, 5621, 1377, 309, 261, 4652, 18, 9877, 774, 2932, 2625, 7923, 422, 374, 13, 288, 3639, 1748, 3049, 3690, 1584, 8669, 358, 336, 279, 3265, 40, 2114, 1195, 3639, 514, 6386, 461, 273, 261, 3576, 18, 24906, 1046, 2932, 5733, 461, 7923, 2934, 10492, 5621, 3639, 514, 4264, 1999, 273, 261, 3576, 18, 24906, 1046, 2932, 6423, 1999, 7923, 2934, 10492, 5621, 3639, 514, 4264, 914, 273, 261, 3576, 18, 24906, 1046, 2932, 6423, 914, 7923, 2 ]
public org.quickfix.field.QuoteType getQuoteType() throws FieldNotFound { org.quickfix.field.QuoteType value = new org.quickfix.field.QuoteType();
public quickfix.field.QuoteType getQuoteType() throws FieldNotFound { quickfix.field.QuoteType value = new quickfix.field.QuoteType();
public org.quickfix.field.QuoteType getQuoteType() throws FieldNotFound { org.quickfix.field.QuoteType value = new org.quickfix.field.QuoteType(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/Quote.java/buggy/src/java/src/quickfix/fix43/Quote.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10257, 559, 336, 10257, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10257, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10257, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10257, 559, 336, 10257, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10257, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10257, 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 ]
public String ReceiveString(int maxsiz) throws SQLException { byte[] rst = new byte[maxsiz]; int s = 0; try { while (s < maxsiz) { int c = pg_input.read(); if (c < 0) throw new PSQLException("postgresql.stream.eof"); else if (c == 0) break; else rst[s++] = (byte)c; } if (s >= maxsiz) throw new PSQLException("postgresql.stream.toomuch"); } catch (IOException e) { throw new PSQLException("postgresql.stream.ioerror",e); } String v = new String(rst, 0, s); return v; }
public String ReceiveString(int maxsize) throws SQLException { return ReceiveString(maxsize, null); }
public String ReceiveString(int maxsiz) throws SQLException { byte[] rst = new byte[maxsiz]; int s = 0; try { while (s < maxsiz) { int c = pg_input.read(); if (c < 0) throw new PSQLException("postgresql.stream.eof"); else if (c == 0) break; else rst[s++] = (byte)c; } if (s >= maxsiz) throw new PSQLException("postgresql.stream.toomuch"); } catch (IOException e) { throw new PSQLException("postgresql.stream.ioerror",e); } String v = new String(rst, 0, s); return v; }
47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/65edb541865032b5750cfe58cb8f7affbe1fc298/PG_Stream.java/buggy/src/interfaces/jdbc/org/postgresql/PG_Stream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 17046, 780, 12, 474, 943, 87, 452, 13, 1216, 6483, 225, 288, 565, 1160, 8526, 13978, 273, 394, 1160, 63, 1896, 87, 452, 15533, 565, 509, 272, 273, 374, 31, 3639, 775, 1377, 288, 202, 17523, 261, 87, 411, 943, 87, 452, 13, 202, 225, 288, 202, 565, 509, 276, 273, 7184, 67, 2630, 18, 896, 5621, 202, 565, 309, 261, 71, 411, 374, 13, 202, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 3256, 18, 9339, 8863, 202, 565, 469, 309, 261, 71, 422, 374, 13, 202, 1377, 898, 31, 202, 565, 469, 202, 1377, 13978, 63, 87, 9904, 65, 273, 261, 7229, 13, 71, 31, 202, 225, 289, 202, 430, 261, 87, 1545, 943, 87, 452, 13, 202, 225, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 3256, 18, 869, 362, 2648, 8863, 1377, 289, 1044, 261, 14106, 425, 13, 288, 202, 12849, 394, 453, 23116, 2932, 2767, 24330, 18, 3256, 18, 1594, 1636, 3113, 73, 1769, 1377, 289, 1377, 514, 331, 273, 394, 514, 12, 16114, 16, 374, 16, 272, 1769, 1377, 327, 331, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 17046, 780, 12, 474, 943, 87, 452, 13, 1216, 6483, 225, 288, 565, 1160, 8526, 13978, 273, 394, 1160, 63, 1896, 87, 452, 15533, 565, 509, 272, 273, 374, 31, 3639, 775, 1377, 288, 202, 17523, 261, 87, 411, 943, 87, 452, 13, 202, 225, 288, 202, 565, 509, 276, 273, 7184, 67, 2630, 18, 896, 5621, 202, 565, 309, 261, 71, 411, 374, 13, 202, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 3256, 18, 9339, 8863, 202, 565, 469, 309, 261, 71, 422, 374, 13, 202, 1377, 898, 31, 202, 565, 469, 202, 1377, 13978, 63, 87, 9904, 65, 273, 261, 7229, 13, 71, 31, 202, 225, 289, 202, 430, 261, 87, 1545, 2 ]
throw NativeGlobal.constructError(cx, "TypeError", "only one argument may be specified " + "if the first argument is a RegExp object", scope);
throw ScriptRuntime.typeError0("msg.bad.regexp.compile");
Scriptable compile(Context cx, Scriptable scope, Object[] args) { if (args.length > 0 && args[0] instanceof NativeRegExp) { if (args.length > 1 && args[1] != Undefined.instance) { // report error throw NativeGlobal.constructError(cx, "TypeError", "only one argument may be specified " + "if the first argument is a RegExp object", scope); } NativeRegExp thatObj = (NativeRegExp) args[0]; this.re = thatObj.re; this.lastIndex = thatObj.lastIndex; return this; } String s = args.length == 0 ? "" : ScriptRuntime.toString(args[0]); String global = args.length > 1 && args[1] != Undefined.instance ? ScriptRuntime.toString(args[1]) : null; this.re = (RECompiled)compileRE(cx, scope, s, global, false); this.lastIndex = 0; return this; }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/40f7554390dea10ea64bd490d09230d2c0814929/NativeRegExp.java/clean/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 22780, 4074, 12, 1042, 9494, 16, 22780, 2146, 16, 1033, 8526, 833, 13, 565, 288, 3639, 309, 261, 1968, 18, 2469, 405, 374, 597, 833, 63, 20, 65, 1276, 16717, 13673, 13, 288, 5411, 309, 261, 1968, 18, 2469, 405, 404, 597, 833, 63, 21, 65, 480, 22243, 18, 1336, 13, 288, 7734, 368, 2605, 555, 7734, 604, 16717, 5160, 18, 10062, 668, 12, 71, 92, 16, 315, 19030, 3113, 4766, 5375, 315, 3700, 1245, 1237, 2026, 506, 1269, 315, 397, 4766, 5375, 315, 430, 326, 1122, 1237, 353, 279, 10679, 733, 3113, 4766, 5375, 2146, 1769, 5411, 289, 5411, 16717, 13673, 716, 2675, 273, 261, 9220, 13673, 13, 833, 63, 20, 15533, 5411, 333, 18, 266, 273, 716, 2675, 18, 266, 31, 5411, 333, 18, 2722, 1016, 273, 716, 2675, 18, 2722, 1016, 31, 5411, 327, 333, 31, 3639, 289, 3639, 514, 272, 273, 833, 18, 2469, 422, 374, 692, 1408, 294, 7739, 5576, 18, 10492, 12, 1968, 63, 20, 19226, 3639, 514, 2552, 273, 833, 18, 2469, 405, 404, 597, 833, 63, 21, 65, 480, 22243, 18, 1336, 5411, 692, 7739, 5576, 18, 10492, 12, 1968, 63, 21, 5717, 5411, 294, 446, 31, 3639, 333, 18, 266, 273, 261, 862, 20733, 13, 11100, 862, 12, 71, 92, 16, 2146, 16, 272, 16, 2552, 16, 629, 1769, 3639, 333, 18, 2722, 1016, 273, 374, 31, 3639, 327, 333, 31, 565, 289, 2, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 22780, 4074, 12, 1042, 9494, 16, 22780, 2146, 16, 1033, 8526, 833, 13, 565, 288, 3639, 309, 261, 1968, 18, 2469, 405, 374, 597, 833, 63, 20, 65, 1276, 16717, 13673, 13, 288, 5411, 309, 261, 1968, 18, 2469, 405, 404, 597, 833, 63, 21, 65, 480, 22243, 18, 1336, 13, 288, 7734, 368, 2605, 555, 7734, 604, 16717, 5160, 18, 10062, 668, 12, 71, 92, 16, 315, 19030, 3113, 4766, 5375, 315, 3700, 1245, 1237, 2026, 506, 1269, 315, 397, 4766, 5375, 315, 430, 326, 1122, 1237, 353, 279, 10679, 733, 3113, 4766, 5375, 2146, 1769, 5411, 289, 5411, 16717, 13673, 716, 2675, 273, 261, 9220, 13673, 13, 833, 63, 20, 15533, 5411, 333, 18, 266, 273, 2 ]
public boolean isEnabled() { return this.bEnabled; }
public boolean isEnabled( ) { return this.bEnabled; }
public boolean isEnabled() { return this.bEnabled; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/979b4ef9e0ecedfdb172d4326b24c2a6033cbbbd/TextEditorComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/TextEditorComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 12047, 1435, 565, 288, 3639, 327, 333, 18, 70, 1526, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 12047, 1435, 565, 288, 3639, 327, 333, 18, 70, 1526, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void guiTestUninstall_FixMe() { final JComboBox combo = new JComboBox(); final EventList<Object> items = new BasicEventList<Object>(); items.add("First"); items.add("Second"); final ComboBoxUI originalUI = combo.getUI(); final ComboBoxModel originalModel = combo.getModel(); final boolean originalEditable = combo.isEditable(); final ComboBoxEditor originalEditor = combo.getEditor(); final int originalEditorPropertyChangeListenerCount = originalEditor.getEditorComponent().getPropertyChangeListeners().length; final int originalEditorKeyListenerCount = originalEditor.getEditorComponent().getKeyListeners().length; final AbstractDocument originalEditorDocument = (AbstractDocument) ((JTextField) combo.getEditor().getEditorComponent()).getDocument(); final int originalComboBoxPropertyChangeListenerCount = combo.getPropertyChangeListeners().length; final int originalComboBoxPopupMouseListenerCount = ((ComboPopup) combo.getUI().getAccessibleChild(combo, 0)).getList().getMouseListeners().length; final int originalMaxRowCount = combo.getMaximumRowCount(); final int originalComboBoxPopupMenuListenerCount = ((JPopupMenu) combo.getUI().getAccessibleChild(combo, 0)).getPopupMenuListeners().length; final Action originalSelectNextAction = combo.getActionMap().get("selectNext"); final Action originalSelectPreviousAction = combo.getActionMap().get("selectPrevious"); final Action originalSelectNext2Action = combo.getActionMap().get("selectNext2"); final Action originalSelectPrevious2Action = combo.getActionMap().get("selectPrevious2"); final Action originalAquaSelectNextAction = combo.getActionMap().get("aquaSelectNext"); final Action originalAquaSelectPreviousAction = combo.getActionMap().get("aquaSelectPrevious"); AutoCompleteSupport support = AutoCompleteSupport.install(combo, items); JTextField currentEditor = ((JTextField) combo.getEditor().getEditorComponent()); AbstractDocument currentEditorDocument = (AbstractDocument) currentEditor.getDocument(); assertSame(originalUI, combo.getUI()); assertSame(currentEditorDocument, originalEditorDocument); assertNotSame(originalEditor, combo.getEditor()); assertNotSame(originalModel, combo.getModel()); assertNotSame(originalEditable, combo.isEditable()); assertNotSame(originalSelectNextAction, combo.getActionMap().get("selectNext")); assertNotSame(originalSelectPreviousAction, combo.getActionMap().get("selectPrevious")); assertNotSame(originalSelectNext2Action, combo.getActionMap().get("selectNext2")); assertNotSame(originalSelectPrevious2Action, combo.getActionMap().get("selectPrevious2")); assertNotSame(originalAquaSelectNextAction, combo.getActionMap().get("aquaSelectNext")); assertNotSame(originalAquaSelectPreviousAction, combo.getActionMap().get("aquaSelectPrevious")); assertNotNull(currentEditorDocument.getDocumentFilter()); // two PropertyChangeListeners are added to the JComboBox: // * one to watch for ComboBoxUI changes // * one to watch for Model changes assertEquals(originalComboBoxPropertyChangeListenerCount + 2, combo.getPropertyChangeListeners().length); // one getPopupMenuListener is added to the ComboBoxPopup to size the popup before it is shown on the screen assertEquals(originalComboBoxPopupMenuListenerCount + 1, ((JPopupMenu) combo.getUI().getAccessibleChild(combo, 0)).getPopupMenuListeners().length); // one getPopupMenuListener is added to the JComboBox to size the popup before it is shown on the screen assertEquals(originalComboBoxPopupMouseListenerCount + 1, ((ComboPopup) combo.getUI().getAccessibleChild(combo, 0)).getList().getMouseListeners().length); // one PropertyChangeListener is added to the ComboBoxEditor to watch for Document changes assertEquals(originalEditorPropertyChangeListenerCount + 1, currentEditor.getPropertyChangeListeners().length); // one KeyListener is added to the ComboBoxEditor to watch for Backspace in strict mode assertEquals(originalEditorKeyListenerCount + 1, currentEditor.getKeyListeners().length); support.uninstall(); currentEditor = ((JTextField) combo.getEditor().getEditorComponent()); currentEditorDocument = (AbstractDocument) currentEditor.getDocument(); assertSame(originalUI, combo.getUI()); assertSame(originalModel, combo.getModel()); assertSame(originalEditable, combo.isEditable()); assertSame(originalEditor, combo.getEditor()); assertSame(originalEditorDocument, currentEditorDocument); assertSame(currentEditorDocument.getDocumentFilter(), null); assertSame(originalComboBoxPropertyChangeListenerCount, combo.getPropertyChangeListeners().length); assertSame(originalEditorPropertyChangeListenerCount, currentEditor.getPropertyChangeListeners().length); assertSame(originalEditorKeyListenerCount, currentEditor.getKeyListeners().length); assertSame(originalMaxRowCount, combo.getMaximumRowCount()); assertSame(originalComboBoxPopupMenuListenerCount, ((JPopupMenu) combo.getUI().getAccessibleChild(combo, 0)).getPopupMenuListeners().length); assertSame(originalComboBoxPopupMouseListenerCount, ((ComboPopup) combo.getUI().getAccessibleChild(combo, 0)).getList().getMouseListeners().length); assertSame(originalSelectNextAction, combo.getActionMap().get("selectNext")); assertSame(originalSelectPreviousAction, combo.getActionMap().get("selectPrevious")); assertSame(originalSelectNext2Action, combo.getActionMap().get("selectNext2")); assertSame(originalSelectPrevious2Action, combo.getActionMap().get("selectPrevious2")); assertSame(originalAquaSelectNextAction, combo.getActionMap().get("aquaSelectNext")); assertSame(originalAquaSelectPreviousAction, combo.getActionMap().get("aquaSelectPrevious")); try { support.uninstall(); fail("Double disposing AutoCompleteSupport did not fail as expected"); } catch (IllegalStateException e) { // expected } }
10062 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10062/9951e4a94b7f15c2fedc7bc2206d48e08cd86d24/AutoCompleteSupportTest.java/buggy/test/ca/odell/glazedlists/swing/AutoCompleteSupportTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13238, 4709, 31103, 67, 8585, 4667, 1435, 288, 3639, 727, 804, 22199, 16778, 273, 394, 804, 22199, 5621, 3639, 727, 2587, 682, 32, 921, 34, 1516, 273, 394, 7651, 1133, 682, 32, 921, 34, 5621, 3639, 1516, 18, 1289, 2932, 3759, 8863, 3639, 1516, 18, 1289, 2932, 8211, 8863, 3639, 727, 1286, 1075, 3514, 5370, 2282, 5370, 273, 16778, 18, 588, 5370, 5621, 3639, 727, 1286, 1075, 3514, 1488, 2282, 1488, 273, 16778, 18, 588, 1488, 5621, 3639, 727, 1250, 2282, 15470, 273, 16778, 18, 291, 15470, 5621, 3639, 727, 1286, 1075, 3514, 6946, 2282, 6946, 273, 16778, 18, 588, 6946, 5621, 3639, 727, 509, 2282, 6946, 1396, 15744, 1380, 273, 2282, 6946, 18, 588, 6946, 1841, 7675, 588, 1396, 3043, 5583, 7675, 2469, 31, 3639, 727, 509, 2282, 6946, 653, 2223, 1380, 273, 2282, 6946, 18, 588, 6946, 1841, 7675, 588, 653, 5583, 7675, 2469, 31, 3639, 727, 4115, 2519, 2282, 6946, 2519, 273, 261, 7469, 2519, 13, 14015, 46, 16157, 13, 16778, 18, 588, 6946, 7675, 588, 6946, 1841, 1435, 2934, 588, 2519, 5621, 3639, 727, 509, 2282, 22199, 1396, 15744, 1380, 273, 16778, 18, 588, 1396, 3043, 5583, 7675, 2469, 31, 3639, 727, 509, 2282, 22199, 13770, 9186, 2223, 1380, 273, 14015, 16156, 13770, 13, 16778, 18, 588, 5370, 7675, 588, 10451, 1763, 12, 25053, 16, 374, 13, 2934, 588, 682, 7675, 588, 9186, 5583, 7675, 2469, 31, 3639, 727, 509, 2282, 2747, 26359, 273, 16778, 18, 588, 13528, 26359, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13238, 4709, 31103, 67, 8585, 4667, 1435, 288, 3639, 727, 804, 22199, 16778, 273, 394, 804, 22199, 5621, 3639, 727, 2587, 682, 32, 921, 34, 1516, 273, 394, 7651, 1133, 682, 32, 921, 34, 5621, 3639, 1516, 18, 1289, 2932, 3759, 8863, 3639, 1516, 18, 1289, 2932, 8211, 8863, 3639, 727, 1286, 1075, 3514, 5370, 2282, 5370, 273, 16778, 18, 588, 5370, 5621, 3639, 727, 1286, 1075, 3514, 1488, 2282, 1488, 273, 16778, 18, 588, 1488, 5621, 3639, 727, 1250, 2282, 15470, 273, 16778, 18, 291, 15470, 5621, 3639, 727, 1286, 1075, 3514, 6946, 2282, 6946, 273, 16778, 18, 588, 6946, 5621, 3639, 727, 509, 2282, 6946, 1396, 15744, 1380, 273, 2282, 6946, 18, 588, 6946, 2 ]
} catch ( EndOfFile e ){ list.addLast( param.toCharArray() ); } catch( ScannerException e ){
private static LinkedList scanForParameters(IScanner scanner) { LinkedList list = new LinkedList(); String param = new String(""); boolean lastTokenWasWild = false; try{ IToken token = scanner.nextToken(); tokenConsumption: while( true ){ switch( token.getType() ){ case IToken.tCOMMA : list.addLast( param.toCharArray() ); param = new String(""); break; case IToken.tLPAREN : break; case IToken.tRPAREN : list.addLast( param.toCharArray() ); break tokenConsumption; case IToken.tSTAR: case IToken.tQUESTION: lastTokenWasWild = true; param += token.getImage(); break; default: if( !lastTokenWasWild && param.length() > 0 ) param += " "; param += token.getImage(); break; } token = scanner.nextToken(); } } catch ( EndOfFile e ){ list.addLast( param.toCharArray() ); } catch( ScannerException e ){ } return list; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/ceee55836e1155fe2a56b45dafd602f35bf19ce6/CSearchPattern.java/buggy/core/org.eclipse.cdt.core/search/org/eclipse/cdt/internal/core/search/matching/CSearchPattern.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 10688, 4135, 1290, 2402, 12, 45, 11338, 7683, 13, 288, 202, 202, 13174, 682, 666, 273, 394, 10688, 5621, 9506, 202, 780, 579, 273, 394, 514, 2932, 8863, 9506, 202, 6494, 27231, 14992, 59, 545, 273, 629, 31, 202, 202, 698, 95, 1082, 202, 1285, 969, 1147, 273, 7683, 18, 4285, 1345, 5621, 25083, 202, 2316, 11911, 375, 30, 1082, 202, 17523, 12, 638, 262, 95, 9506, 202, 9610, 12, 1147, 18, 588, 559, 1435, 262, 95, 6862, 202, 3593, 467, 1345, 18, 88, 4208, 5535, 294, 25083, 202, 1098, 18, 1289, 3024, 12, 579, 18, 869, 15936, 1435, 11272, 25083, 202, 891, 273, 394, 514, 2932, 8863, 25083, 202, 8820, 31, 6862, 6862, 1082, 202, 3593, 467, 1345, 18, 88, 48, 15111, 294, 25083, 202, 8820, 31, 6862, 6862, 1082, 202, 3593, 467, 1345, 18, 88, 54, 15111, 294, 25083, 202, 1098, 18, 1289, 3024, 12, 579, 18, 869, 15936, 1435, 11272, 25083, 202, 8820, 1147, 11911, 375, 31, 6862, 6862, 1082, 202, 3593, 467, 1345, 18, 88, 20943, 30, 6862, 202, 3593, 467, 1345, 18, 88, 4740, 1146, 30, 25083, 202, 2722, 1345, 14992, 59, 545, 273, 638, 31, 25083, 202, 891, 1011, 1147, 18, 588, 2040, 5621, 25083, 202, 8820, 31, 6862, 6862, 1082, 202, 1886, 30, 25083, 202, 430, 12, 401, 2722, 1345, 14992, 59, 545, 597, 579, 18, 2469, 1435, 405, 374, 262, 6862, 1082, 202, 891, 1011, 315, 13636, 25083, 202, 891, 1011, 1147, 18, 588, 2040, 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, 10688, 4135, 1290, 2402, 12, 45, 11338, 7683, 13, 288, 202, 202, 13174, 682, 666, 273, 394, 10688, 5621, 9506, 202, 780, 579, 273, 394, 514, 2932, 8863, 9506, 202, 6494, 27231, 14992, 59, 545, 273, 629, 31, 202, 202, 698, 95, 1082, 202, 1285, 969, 1147, 273, 7683, 18, 4285, 1345, 5621, 25083, 202, 2316, 11911, 375, 30, 1082, 202, 17523, 12, 638, 262, 95, 9506, 202, 9610, 12, 1147, 18, 588, 559, 1435, 262, 95, 6862, 202, 3593, 467, 1345, 18, 88, 4208, 5535, 294, 25083, 202, 1098, 18, 1289, 3024, 12, 579, 18, 869, 15936, 1435, 11272, 25083, 202, 891, 273, 394, 514, 2932, 8863, 25083, 202, 8820, 31, 6862, 6862, 1082, 2 ]
Set cell_set = (Set) line_ref.getData(); if (cell_set == null) return; float[][] samples = cell_set.getSamples();
Set cellSet = (Set) lineRef.getData(); if (cellSet == null) return; float[][] samples = cellSet.getSamples();
public void go(String args[]) throws IOException, VisADException, RemoteException { String dir = ""; String slash = System.getProperty("file.separator"); if (args.length > 0) { dir = args[0]; if (!dir.endsWith(slash)) dir = dir + slash; } RealTupleType domain = null; Unit unit = null; String name = null; Set set = null; RealType[] value_types = new RealType[NFILES]; values = new float[NFILES][]; DefaultFamily loader = new DefaultFamily("loader"); for (int i=0; i<NFILES; i++) { Tuple tuple = (Tuple) loader.open(dir + "SPB" + (i+1) + ".PIC"); FieldImpl field = (FieldImpl) tuple.getComponent(0); FlatField ff = (FlatField) field.getSample(0); set = ff.getDomainSet();/*System.out.println("set = " + set);set = Linear2DSet: Length = 393216 Dimension 1: Length = 768 Range = 0.0 to 767.0 Dimension 2: Length = 512 Range = 0.0 to 511.0*/ if (i == 0) { FunctionType func = (FunctionType) ff.getType(); domain = func.getDomain(); element = (RealType) domain.getComponent(0); line = (RealType) domain.getComponent(1); value = (RealType) func.getRange(); unit = value.getDefaultUnit(); name = value.getName(); } value_types[i] = RealType.getRealType(name + (i+1), unit); float[][] temps = ff.getFloats(false); values[i] = temps[0]; // System.out.println("data " + i + " type: " + value_types[i]); } npixels = values[0].length; RealTupleType range = new RealTupleType(value_types); FunctionType big_func = new FunctionType(domain, range); final FlatField big_data = new FlatField(big_func, set); big_data.setSamples(values, false); // RealType value = RealType.getRealType("value"); RealType hue = RealType.getRealType("hue"); RealType HUE = RealType.getRealType("HUE"); RealTupleType new_range = new RealTupleType(value, hue); FunctionType new_func = new FunctionType(domain, new_range); data = new FlatField(new_func, set); data_values = new float[2][npixels]; DataReferenceImpl ref1 = new DataReferenceImpl("ref1"); ref1.setData(data); text = TextType.getTextType("text"); RealType[] time = {RealType.Time}; RealTupleType time_type = new RealTupleType(time); MathType[] mtypes = {element, line, text}; text_tuple = new TupleType(mtypes); FunctionType text_function = new FunctionType(RealType.Time, text_tuple); Set time_set = new Linear1DSet(time_type, 0.0, 1.0, 2); text_field = new FieldImpl(text_function, time_set); DataReferenceImpl text_ref = new DataReferenceImpl("text_ref"); text_ref.setData(text_field); Linear2DSet wedge_set = new Linear2DSet(domain, 0.0, 767.0, 768, 550.0, 570.0, 21); wedge = new FlatField(new_func, wedge_set); wedge_samples = new float[2][768 * 21]; DataReferenceImpl wedge_ref = new DataReferenceImpl("wedge_ref"); wedge_ref.setData(wedge); final DataReferenceImpl xref = new DataReferenceImpl("xref"); // System.out.println("data type: " + new_func); display1 = new DisplayImplJ3D("display1", new TwoDDisplayRendererJ3D()); ScalarMap xmap = new ScalarMap(element, Display.XAxis); display1.addMap(xmap); huexmap = new ScalarMap(HUE, Display.XAxis); display1.addMap(huexmap); ScalarMap ymap = new ScalarMap(line, Display.YAxis); display1.addMap(ymap); ymap.setRange(0.0, 511.0); vmap = new ScalarMap(value, Display.Value); display1.addMap(vmap); hmap = new ScalarMap(hue, Display.Hue); display1.addMap(hmap); ScalarMap textmap = new ScalarMap(text, Display.Text); display1.addMap(textmap); display1.addMap(new ConstantMap(1.0, Display.Saturation)); Control ctrl = textmap.getControl(); if (ctrl != null && ctrl instanceof TextControl) { TextControl text_control = (TextControl) ctrl; text_control.setSize(1.0); text_control.setJustification(TextControl.Justification.CENTER); text_control.setAutoSize(true); } // display1.getGraphicsModeControl().setScaleEnable(true); display1.addReference(ref1); DefaultRendererJ3D renderer = new DefaultRendererJ3D(); display1.addReferences(renderer, xref); renderer.suppressExceptions(true); DefaultRendererJ3D text_renderer = new DefaultRendererJ3D(); display1.addReferences(text_renderer, text_ref); text_renderer.suppressExceptions(true); DefaultRendererJ3D wedge_renderer = new DefaultRendererJ3D(); display1.addReferences(wedge_renderer, wedge_ref); wedge_renderer.suppressExceptions(true); line_ref = new DataReferenceImpl("line"); Gridded2DSet dummy_set = new Gridded2DSet(domain, null, 1); line_ref.setData(dummy_set); display1.addReferences( new RubberBandLineRendererJ3D(element, line), line_ref); final RealType channel = RealType.getRealType("channel"); final RealType point = RealType.getRealType("point"); RealType intensity = RealType.getRealType("intensity"); final FunctionType spectrum_type = new FunctionType(channel, intensity); final FunctionType spectra_type = new FunctionType(point, spectrum_type); final FunctionType line_type = new FunctionType(point, intensity); final FunctionType lines_type = new FunctionType(channel, line_type); final DataReferenceImpl ref2 = new DataReferenceImpl("ref2"); DisplayImplJ3D display2 = new DisplayImplJ3D("display2"); ScalarMap xmap2 = new ScalarMap(channel, Display.XAxis); display2.addMap(xmap2); ScalarMap ymap2 = new ScalarMap(intensity, Display.YAxis); display2.addMap(ymap2); ScalarMap zmap2 = new ScalarMap(point, Display.ZAxis); display2.addMap(zmap2); display2.getGraphicsModeControl().setScaleEnable(true); DefaultRendererJ3D renderer2 = new DefaultRendererJ3D(); display2.addReferences(renderer2, ref2); renderer2.suppressExceptions(true); final RealTupleType fdomain = domain; CellImpl cell = new CellImpl() { public void doAction() throws VisADException, RemoteException { Set cell_set = (Set) line_ref.getData(); if (cell_set == null) return; float[][] samples = cell_set.getSamples(); if (samples == null) return; // System.out.println("box (" + samples[0][0] + ", " + samples[1][0] + // ") to (" + samples[0][1] + ", " + samples[1][1] + ")"); float x1 = samples[0][0]; float y1 = samples[1][0]; float x2 = samples[0][1]; float y2 = samples[1][1]; double dist = Math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2)); int nsamp = (int) (dist + 1.0); if (nsamp < 2) nsamp = 2; float[][] ss = new float[2][nsamp]; for (int i=0; i<nsamp; i++) { float a = ((float) i) / (nsamp - 1.0f); ss[0][i] = x1 + a * (x2 - x1); ss[1][i] = y1 + a * (y2 - y1); } Gridded2DSet line = new Gridded2DSet(fdomain, ss, nsamp); xref.setData(line); FlatField line_field = (FlatField) // big_data.resample(line, Data.WEIGHTED_AVERAGE, Data.NO_ERRORS); big_data.resample(line, Data.NEAREST_NEIGHBOR, Data.NO_ERRORS); float[][] line_samples = line_field.getFloats(false); // [NFILES][nsamp] Linear1DSet point_set = new Linear1DSet(point, 0.0, 1.0, nsamp); Integer1DSet channel_set = new Integer1DSet(channel, NFILES); FieldImpl spectra = new FieldImpl(spectra_type, point_set); for (int i=0; i<nsamp; i++) { FlatField spectrum = new FlatField(spectrum_type, channel_set); float[][] temp = new float[1][NFILES]; for (int j=0; j<NFILES; j++) { temp[0][j] = line_samples[j][i]; } spectrum.setSamples(temp, false); spectra.setSample(i, spectrum); } FieldImpl lines = new FieldImpl(lines_type, channel_set); for (int j=0; j<NFILES; j++) { FlatField linex = new FlatField(line_type, point_set); float[][] temp = new float[1][nsamp]; for (int i=0; i<nsamp; i++) { temp[0][i] = line_samples[j][i]; } linex.setSamples(temp, false); lines.setSample(j, linex); } ref2.setData(new Tuple(new Data[] {spectra, lines})); } }; cell.addReference(line_ref); VisADSlider[] value_sliders = new VisADSlider[NFILES]; VisADSlider[] hue_sliders = new VisADSlider[NFILES]; value_refs = new DataReferenceImpl[NFILES]; hue_refs = new DataReferenceImpl[NFILES]; JFrame frame = new JFrame("VisAD MultiLUT"); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) {System.exit(0);} }); // create JPanel in frame JPanel panel = new JPanel(); panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS)); panel.setAlignmentY(JPanel.TOP_ALIGNMENT); panel.setAlignmentX(JPanel.LEFT_ALIGNMENT); frame.setContentPane(panel); JPanel left = new JPanel(); left.setLayout(new BoxLayout(left, BoxLayout.Y_AXIS)); left.setAlignmentY(JPanel.TOP_ALIGNMENT); left.setAlignmentX(JPanel.LEFT_ALIGNMENT); JPanel center = new JPanel(); center.setLayout(new BoxLayout(center, BoxLayout.Y_AXIS)); center.setAlignmentY(JPanel.TOP_ALIGNMENT); center.setAlignmentX(JPanel.LEFT_ALIGNMENT); JPanel right = new JPanel(); right.setLayout(new BoxLayout(right, BoxLayout.Y_AXIS)); right.setAlignmentY(JPanel.TOP_ALIGNMENT); right.setAlignmentX(JPanel.LEFT_ALIGNMENT); panel.add(left); panel.add(center); panel.add(right); Dimension d = new Dimension(300, 1000); left.setMaximumSize(d); center.setMaximumSize(d); for (int i=0; i<NFILES; i++) { value_refs[i] = new DataReferenceImpl("value" + i); value_refs[i].setData(new Real(1.0)); value_sliders[i] = new VisADSlider("value" + i, -100, 100, 100, 0.01, value_refs[i], RealType.Generic); left.add(value_sliders[i]); hue_refs[i] = new DataReferenceImpl("hue" + i); hue_refs[i].setData(new Real(1.0)); hue_sliders[i] = new VisADSlider("hue" + i, -100, 100, 100, 0.01, hue_refs[i], RealType.Generic); center.add(hue_sliders[i]); } // slider button for setting all value sliders to 0 JButton value_clear = new JButton("Zero values"); value_clear.addActionListener(this); value_clear.setActionCommand("value_clear"); left.add(Box.createVerticalStrut(10)); left.add(value_clear); // slider button for setting all value sliders to 1 JButton value_set = new JButton("One values"); value_set.addActionListener(this); value_set.setActionCommand("value_set"); left.add(value_set); // slider button for setting all hue sliders to 0 JButton hue_clear = new JButton("Zero hues"); hue_clear.addActionListener(this); hue_clear.setActionCommand("hue_clear"); center.add(Box.createVerticalStrut(10)); center.add(hue_clear); // slider button for setting all hue sliders to 1 JButton hue_set = new JButton("One hues"); hue_set.addActionListener(this); hue_set.setActionCommand("hue_set"); center.add(hue_set); // slider button for setting all hue sliders to 0 right.add(display1.getComponent()); right.add(display2.getComponent()); // vmin and vmax labels minmax = new JLabel(" "); left.add(Box.createVerticalStrut(30)); left.add(minmax); // "GO" button for applying computation in sliders JButton compute = new JButton("Compute"); compute.addActionListener(this); compute.setActionCommand("compute"); left.add(Box.createVerticalStrut(10)); left.add(compute); int WIDTH = 1200; int HEIGHT = 1000; Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); frame.setLocation(screenSize.width/2 - WIDTH/2, screenSize.height/2 - HEIGHT/2); frame.setSize(WIDTH, HEIGHT); frame.setVisible(true); doit(); }
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/d3560cf43f33592c964cabbb057bed37fea39a07/MultiLUT.java/buggy/loci/MultiLUT.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1960, 12, 780, 833, 63, 5717, 540, 1216, 1860, 16, 8077, 1880, 503, 16, 18361, 288, 565, 514, 1577, 273, 1408, 31, 565, 514, 9026, 273, 2332, 18, 588, 1396, 2932, 768, 18, 11287, 8863, 565, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 1377, 1577, 273, 833, 63, 20, 15533, 1377, 309, 16051, 1214, 18, 5839, 1190, 12, 12877, 3719, 1577, 273, 1577, 397, 9026, 31, 565, 289, 565, 15987, 9038, 559, 2461, 273, 446, 31, 565, 8380, 2836, 273, 446, 31, 565, 514, 508, 273, 446, 31, 565, 1000, 444, 273, 446, 31, 565, 15987, 559, 8526, 460, 67, 2352, 273, 394, 15987, 559, 63, 50, 12669, 15533, 565, 924, 273, 394, 1431, 63, 50, 12669, 6362, 15533, 565, 2989, 9203, 4088, 273, 394, 2989, 9203, 2932, 6714, 8863, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 50, 12669, 31, 277, 27245, 288, 1377, 7257, 3193, 273, 261, 9038, 13, 4088, 18, 3190, 12, 1214, 397, 315, 3118, 38, 6, 397, 261, 77, 15, 21, 13, 397, 3552, 20385, 8863, 1377, 2286, 2828, 652, 273, 261, 974, 2828, 13, 3193, 18, 588, 1841, 12, 20, 1769, 1377, 20396, 974, 6875, 273, 261, 16384, 974, 13, 652, 18, 588, 8504, 12, 20, 1769, 1377, 444, 273, 6875, 18, 588, 3748, 694, 5621, 20308, 3163, 18, 659, 18, 8222, 2932, 542, 273, 315, 397, 444, 1769, 542, 273, 13921, 22, 40, 694, 30, 11311, 273, 16977, 1578, 2313, 225, 13037, 404, 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, 1960, 12, 780, 833, 63, 5717, 540, 1216, 1860, 16, 8077, 1880, 503, 16, 18361, 288, 565, 514, 1577, 273, 1408, 31, 565, 514, 9026, 273, 2332, 18, 588, 1396, 2932, 768, 18, 11287, 8863, 565, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 1377, 1577, 273, 833, 63, 20, 15533, 1377, 309, 16051, 1214, 18, 5839, 1190, 12, 12877, 3719, 1577, 273, 1577, 397, 9026, 31, 565, 289, 565, 15987, 9038, 559, 2461, 273, 446, 31, 565, 8380, 2836, 273, 446, 31, 565, 514, 508, 273, 446, 31, 565, 1000, 444, 273, 446, 31, 565, 15987, 559, 8526, 460, 67, 2352, 273, 394, 15987, 559, 63, 50, 12669, 15533, 565, 924, 273, 394, 1431, 2 ]
} else {
} else {
private JComponent createTipContent(String tipText) { JToolTip tooltip = new JToolTip(); if(tipText == null) { tooltip.setTipText(tipText); } else { Dimension rootSize = getVisibleRect().getSize(); Insets borderInsets = tooltip.getBorder().getBorderInsets(tooltip); rootSize.width -= (borderInsets.left + borderInsets.right) * 2; rootSize.height -= (borderInsets.top + borderInsets.bottom) * 2; StringBuffer tipBuffer = new StringBuffer(tipText.length()); StringTokenizer tokenizer = new StringTokenizer(tipText, "\n"); while(tokenizer.hasMoreElements()) { String line = tokenizer.nextToken(); for (;;) { int maximumChars = getMaximumChars(line, tooltip.getFontMetrics(tooltip.getFont()), rootSize.width); if(maximumChars == line.length()) { tipBuffer.append(line.substring(0, maximumChars)); tipBuffer.append('\n'); break; } else { int chars; for(chars = maximumChars - 2; chars > 1; chars --) { if(getMaximumChars(line.substring(0, chars), tooltip.getFontMetrics(tooltip.getFont()), rootSize.width) < maximumChars) break; } tipBuffer.append(line.substring(0, chars)); tipBuffer.append('\\'); tipBuffer.append('\n'); line = line.substring(maximumChars - 2); } } } //noinspection HardCodedStringLiteral Element html = new Element("html"); String text = tipBuffer.toString(); //noinspection HardCodedStringLiteral Element p = new Element("pre"); html.addContent(p); p.setText(text); XMLOutputter outputter = JDOMUtil.createOutputter("\n"); Format format = outputter.getFormat().setTextMode(Format.TextMode.PRESERVE); outputter.setFormat(format); tooltip.setTipText(outputter.outputString(html)); } tooltip.setBorder(null); return tooltip; }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/f84fc150c2881235d163385f1fcce8af09959ac2/DebuggerTreeBase.java/clean/debugger/impl/com/intellij/debugger/ui/impl/DebuggerTreeBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 29058, 752, 14189, 1350, 12, 780, 9529, 1528, 13, 288, 565, 804, 29250, 11915, 273, 394, 804, 29250, 5621, 565, 309, 12, 14587, 1528, 422, 446, 13, 288, 1377, 11915, 18, 542, 14189, 1528, 12, 14587, 1528, 1769, 565, 289, 469, 288, 1377, 13037, 1365, 1225, 273, 31564, 6120, 7675, 588, 1225, 5621, 1377, 22300, 5795, 382, 4424, 273, 11915, 18, 588, 8107, 7675, 588, 8107, 382, 4424, 12, 19798, 1769, 1377, 1365, 1225, 18, 2819, 3947, 261, 8815, 382, 4424, 18, 4482, 397, 5795, 382, 4424, 18, 4083, 13, 380, 576, 31, 1377, 1365, 1225, 18, 4210, 3947, 261, 8815, 382, 4424, 18, 3669, 397, 5795, 382, 4424, 18, 9176, 13, 380, 576, 31, 1377, 6674, 9529, 1892, 273, 394, 6674, 12, 14587, 1528, 18, 2469, 10663, 1377, 16370, 10123, 273, 394, 16370, 12, 14587, 1528, 16, 1548, 82, 8863, 1377, 1323, 12, 2316, 1824, 18, 5332, 7417, 3471, 10756, 288, 3639, 514, 980, 273, 10123, 18, 4285, 1345, 5621, 3639, 364, 261, 25708, 13, 288, 1850, 509, 4207, 7803, 273, 25194, 7803, 12, 1369, 16, 11915, 18, 588, 5711, 5653, 12, 19798, 18, 588, 5711, 1435, 3631, 1365, 1225, 18, 2819, 1769, 1850, 309, 12, 15724, 7803, 422, 980, 18, 2469, 10756, 288, 5411, 9529, 1892, 18, 6923, 12, 1369, 18, 28023, 12, 20, 16, 4207, 7803, 10019, 5411, 9529, 1892, 18, 6923, 2668, 64, 82, 8284, 5411, 898, 31, 1850, 289, 469, 288, 5411, 509, 5230, 31, 5411, 364, 12, 7549, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 29058, 752, 14189, 1350, 12, 780, 9529, 1528, 13, 288, 565, 804, 29250, 11915, 273, 394, 804, 29250, 5621, 565, 309, 12, 14587, 1528, 422, 446, 13, 288, 1377, 11915, 18, 542, 14189, 1528, 12, 14587, 1528, 1769, 565, 289, 469, 288, 1377, 13037, 1365, 1225, 273, 31564, 6120, 7675, 588, 1225, 5621, 1377, 22300, 5795, 382, 4424, 273, 11915, 18, 588, 8107, 7675, 588, 8107, 382, 4424, 12, 19798, 1769, 1377, 1365, 1225, 18, 2819, 3947, 261, 8815, 382, 4424, 18, 4482, 397, 5795, 382, 4424, 18, 4083, 13, 380, 576, 31, 1377, 1365, 1225, 18, 4210, 3947, 261, 8815, 382, 4424, 18, 3669, 397, 5795, 382, 4424, 18, 9176, 13, 380, 576, 31, 1377, 6674, 2 ]
public final javax.faces.event.FacesListener[] listCheckListeners() { return getFacesListeners(org.rcfaces.core.event.ICheckListener.class); }
public final javax.faces.event.FacesListener [] listCheckListeners() { return getFacesListeners(org.rcfaces.core.event.ICheckListener.class); }
public final javax.faces.event.FacesListener[] listCheckListeners() { return getFacesListeners(org.rcfaces.core.event.ICheckListener.class); }
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/TreeComponent.java/clean/org.rcfaces.core/src/org/rcfaces/core/component/TreeComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 6863, 18, 4601, 18, 2575, 18, 17268, 2223, 8526, 666, 1564, 5583, 1435, 288, 3639, 327, 2812, 2307, 5583, 12, 3341, 18, 1310, 4601, 18, 3644, 18, 2575, 18, 45, 1564, 2223, 18, 1106, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 6863, 18, 4601, 18, 2575, 18, 17268, 2223, 8526, 666, 1564, 5583, 1435, 288, 3639, 327, 2812, 2307, 5583, 12, 3341, 18, 1310, 4601, 18, 3644, 18, 2575, 18, 45, 1564, 2223, 18, 1106, 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 ]
private String[] sqlMainProc(String sProc, String args[], Properties prop) throws IOException { String sql; if ( args != null ) sql = sqlConcat(sProc, args); else sql = sProc; return IMCServiceRMI.sqlProcedure(prop.getProperty("imcserver"), sql);
private String[] sqlMainProc(String sProc, String args[]) throws IOException { String sql; if ( args != null ) { sql = sqlConcat(sProc, args); } else { sql = sProc;
private String[] sqlMainProc(String sProc, String args[], Properties prop) throws IOException { String sql; if ( args != null ) sql = sqlConcat(sProc, args); else sql = sProc; return IMCServiceRMI.sqlProcedure(prop.getProperty("imcserver"), sql); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/CalenderDbManager.java/clean/servlets/calender/CalenderDbManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 8526, 1847, 6376, 15417, 12, 780, 272, 15417, 16, 514, 833, 63, 6487, 6183, 2270, 13, 1216, 1860, 202, 95, 202, 202, 780, 1847, 31, 202, 202, 430, 261, 833, 480, 446, 262, 1082, 202, 4669, 273, 1847, 15113, 12, 87, 15417, 16, 833, 1769, 202, 202, 12107, 1082, 202, 4669, 273, 272, 15417, 31, 1082, 202, 2463, 6246, 39, 1179, 54, 7492, 18, 4669, 17213, 12, 5986, 18, 588, 1396, 2932, 381, 71, 3567, 6, 3631, 1847, 1769, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 8526, 1847, 6376, 15417, 12, 780, 272, 15417, 16, 514, 833, 63, 6487, 6183, 2270, 13, 1216, 1860, 202, 95, 202, 202, 780, 1847, 31, 202, 202, 430, 261, 833, 480, 446, 262, 1082, 202, 4669, 273, 1847, 15113, 12, 87, 15417, 16, 833, 1769, 202, 202, 12107, 1082, 202, 4669, 273, 272, 15417, 31, 1082, 202, 2463, 6246, 39, 1179, 54, 7492, 18, 4669, 17213, 12, 5986, 18, 588, 1396, 2932, 381, 71, 3567, 6, 3631, 1847, 1769, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
VariableDeclaration decl = new VariableDeclaration(context, qname.getText(), enclosed);
VariableDeclaration decl= new VariableDeclaration(context, qname.getText(), enclosed);
public final void prolog(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { AST prolog_AST_in = (AST)_t; AST v = null; AST prefix = null; AST uri = null; AST defu = null; AST deff = null; AST qname = null; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VERSION_DECL: { AST __t207 = _t; v = _t==ASTNULL ? null :(AST)_t; match(_t,VERSION_DECL); _t = _t.getFirstChild(); if(!v.getText().equals("1.0")) throw new XPathException("Wrong XQuery version: require 1.0"); _t = __t207; _t = _t.getNextSibling(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NAMESPACE_DECL: case DEF_NAMESPACE_DECL: case DEF_FUNCTION_NS_DECL: case GLOBAL_VAR: case FUNCTION_DECL: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_mod: case UNION: 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 100: case 101: case LITERAL_parent: case LITERAL_ancestor: case 104: case 105: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } { _loop213: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NAMESPACE_DECL: { AST __t209 = _t; prefix = _t==ASTNULL ? null :(AST)_t; match(_t,NAMESPACE_DECL); _t = _t.getFirstChild(); uri = (AST)_t; match(_t,STRING_LITERAL); _t = _t.getNextSibling(); context.declareNamespace(prefix.getText(), uri.getText()); _t = __t209; _t = _t.getNextSibling(); break; } case DEF_NAMESPACE_DECL: { AST __t210 = _t; AST tmp22_AST_in = (AST)_t; match(_t,DEF_NAMESPACE_DECL); _t = _t.getFirstChild(); defu = (AST)_t; match(_t,STRING_LITERAL); _t = _t.getNextSibling(); context.declareNamespace("", defu.getText()); _t = __t210; _t = _t.getNextSibling(); break; } case DEF_FUNCTION_NS_DECL: { AST __t211 = _t; AST tmp23_AST_in = (AST)_t; match(_t,DEF_FUNCTION_NS_DECL); _t = _t.getFirstChild(); deff = (AST)_t; match(_t,STRING_LITERAL); _t = _t.getNextSibling(); context.setDefaultFunctionNamespace(deff.getText()); _t = __t211; _t = _t.getNextSibling(); break; } case GLOBAL_VAR: { AST __t212 = _t; qname = _t==ASTNULL ? null :(AST)_t; match(_t,GLOBAL_VAR); _t = _t.getFirstChild(); PathExpr enclosed = new PathExpr(context); expr(_t,enclosed); _t = _retTree; VariableDeclaration decl = new VariableDeclaration(context, qname.getText(), enclosed); path.add(decl); _t = __t212; _t = _t.getNextSibling(); break; } case FUNCTION_DECL: { functionDecl(_t,path); _t = _retTree; break; } default: { break _loop213; } } } while (true); } _retTree = _t; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/be23536931f66ed6f552941df1c272ed48eeb933/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 450, 1330, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 9506, 202, 9053, 450, 1330, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 331, 273, 446, 31, 202, 202, 9053, 1633, 273, 446, 31, 202, 202, 9053, 2003, 273, 446, 31, 202, 202, 9053, 1652, 89, 273, 446, 31, 202, 202, 9053, 443, 1403, 273, 446, 31, 202, 202, 9053, 12621, 273, 446, 31, 9506, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 8456, 67, 23956, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3462, 27, 273, 389, 88, 31, 1082, 202, 90, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 5757, 67, 23956, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 6862, 25083, 202, 430, 12, 5, 90, 18, 588, 1528, 7675, 14963, 2932, 21, 18, 20, 6, 3719, 6862, 9506, 202, 12849, 394, 10172, 503, 2932, 13634, 1139, 1138, 1177, 30, 2583, 404, 18, 20, 8863, 6862, 6862, 202, 67, 88, 273, 1001, 88, 3462, 27, 31, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 450, 1330, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 9506, 202, 9053, 450, 1330, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 331, 273, 446, 31, 202, 202, 9053, 1633, 273, 446, 31, 202, 202, 9053, 2003, 273, 446, 31, 202, 202, 9053, 1652, 89, 273, 446, 31, 202, 202, 9053, 443, 1403, 273, 446, 31, 202, 202, 9053, 12621, 273, 446, 31, 9506, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 2 ]
EMPTY_STRING, null, null);
EMPTY_STRING, null, (ITokenDuple)la);
protected IASTExpression logicalAndExpression(IASTScope scope, CompletionKind kind, KeywordSetKey key) throws BacktrackException, EndOfFileException { IToken la = LA(1); int startingOffset = la.getOffset(); int line = la.getLineNumber(); char [] fn = la.getFilename(); IASTExpression firstExpression = inclusiveOrExpression(scope, kind, key); while (LT(1) == IToken.tAND) { consume(IToken.tAND); IASTExpression secondExpression = inclusiveOrExpression(scope, kind, key); int endOffset = ( lastToken != null ) ? lastToken.getEndOffset() : 0; try { firstExpression = astFactory.createExpression(scope, IASTExpression.Kind.LOGICALANDEXPRESSION, firstExpression, secondExpression, null, null, null, EMPTY_STRING, null, null); } catch (ASTSemanticException e) { throwBacktrack(e.getProblem()); } catch (Exception e) { logException("logicalAndExpression::createExpression()", e); //$NON-NLS-1$ throwBacktrack(startingOffset, endOffset, line, fn); } } return firstExpression; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/0ad6f1bcb025a884d75816294d8f31d01f12da79/Parser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 9053, 2300, 6374, 1876, 2300, 12, 45, 9053, 3876, 2146, 16, 1082, 202, 11238, 5677, 3846, 16, 18317, 30267, 498, 13, 1216, 4297, 4101, 503, 16, 1082, 202, 23358, 812, 503, 288, 202, 202, 1285, 969, 7125, 273, 2928, 12, 21, 1769, 202, 202, 474, 5023, 2335, 273, 7125, 18, 588, 2335, 5621, 202, 202, 474, 980, 273, 7125, 18, 588, 31063, 5621, 202, 202, 3001, 5378, 2295, 273, 7125, 18, 588, 5359, 5621, 202, 202, 45, 9053, 2300, 1122, 2300, 273, 13562, 23695, 12, 4887, 16, 3846, 16, 498, 1769, 202, 202, 17523, 261, 12050, 12, 21, 13, 422, 467, 1345, 18, 88, 4307, 13, 288, 1082, 202, 21224, 12, 1285, 969, 18, 88, 4307, 1769, 1082, 202, 45, 9053, 2300, 2205, 2300, 273, 13562, 23695, 12, 4887, 16, 6862, 202, 9224, 16, 498, 1769, 1082, 202, 474, 25507, 273, 261, 27231, 480, 446, 262, 692, 27231, 18, 588, 1638, 2335, 1435, 294, 374, 31, 1082, 202, 698, 288, 9506, 202, 3645, 2300, 273, 3364, 1733, 18, 2640, 2300, 12, 4887, 16, 25083, 202, 45, 9053, 2300, 18, 5677, 18, 29249, 1258, 6832, 14227, 16, 25083, 202, 3645, 2300, 16, 2205, 2300, 16, 446, 16, 446, 16, 446, 16, 25083, 202, 13625, 67, 5804, 16, 446, 16, 446, 1769, 1082, 202, 97, 1044, 261, 9053, 13185, 9941, 503, 425, 13, 288, 9506, 202, 12849, 2711, 4101, 12, 73, 18, 588, 13719, 10663, 1082, 202, 97, 1044, 261, 503, 425, 13, 288, 9506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 9053, 2300, 6374, 1876, 2300, 12, 45, 9053, 3876, 2146, 16, 1082, 202, 11238, 5677, 3846, 16, 18317, 30267, 498, 13, 1216, 4297, 4101, 503, 16, 1082, 202, 23358, 812, 503, 288, 202, 202, 1285, 969, 7125, 273, 2928, 12, 21, 1769, 202, 202, 474, 5023, 2335, 273, 7125, 18, 588, 2335, 5621, 202, 202, 474, 980, 273, 7125, 18, 588, 31063, 5621, 202, 202, 3001, 5378, 2295, 273, 7125, 18, 588, 5359, 5621, 202, 202, 45, 9053, 2300, 1122, 2300, 273, 13562, 23695, 12, 4887, 16, 3846, 16, 498, 1769, 202, 202, 17523, 261, 12050, 12, 21, 13, 422, 467, 1345, 18, 88, 4307, 13, 288, 1082, 202, 21224, 12, 1285, 969, 18, 88, 2 ]
public boolean startJob(String arguments, Object condition, CommandRecord commandRec, boolean hiredByName){ loadPreferences(); aceRef = NameReference.getNameReference(AceFile.ACENAMEREF); voucherRef = NameReference.getNameReference("VoucherCode"); if (nameParserManager == null) nameParserManager= (NameParserManager)MesquiteTrunk.mesquiteTrunk.findEmployeeWithName("#ChromFileNameParsManager"); if (nameParserManager == null) return false; logBuffer = new StringBuffer(200); return true; }
55016 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55016/b875651c83b77ae591e2397a808556cd8dbb3644/PhredPhrap.java/buggy/Source/mesquite/chromaseq/PhredPhrap/PhredPhrap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 787, 2278, 12, 780, 1775, 16, 1033, 2269, 16, 3498, 2115, 1296, 5650, 16, 1250, 366, 2921, 5911, 15329, 9506, 202, 945, 12377, 5621, 202, 202, 623, 1957, 273, 1770, 2404, 18, 17994, 2404, 12, 37, 311, 812, 18, 2226, 1157, 2192, 654, 26897, 1769, 1082, 331, 14329, 1957, 273, 1770, 2404, 18, 17994, 2404, 2932, 19585, 1085, 8863, 9506, 202, 430, 261, 529, 2678, 1318, 422, 446, 13, 1082, 202, 529, 2678, 1318, 33, 261, 461, 2678, 1318, 13, 49, 281, 372, 1137, 1070, 1683, 18, 26244, 372, 1137, 1070, 1683, 18, 4720, 41, 27520, 17557, 2932, 7, 30761, 4771, 1553, 87, 1318, 8863, 202, 202, 430, 261, 529, 2678, 1318, 422, 446, 13, 1082, 202, 2463, 629, 31, 9506, 202, 1330, 1892, 273, 394, 6674, 12, 6976, 1769, 202, 202, 2463, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 787, 2278, 12, 780, 1775, 16, 1033, 2269, 16, 3498, 2115, 1296, 5650, 16, 1250, 366, 2921, 5911, 15329, 9506, 202, 945, 12377, 5621, 202, 202, 623, 1957, 273, 1770, 2404, 18, 17994, 2404, 12, 37, 311, 812, 18, 2226, 1157, 2192, 654, 26897, 1769, 1082, 331, 14329, 1957, 273, 1770, 2404, 18, 17994, 2404, 2932, 19585, 1085, 8863, 9506, 202, 430, 261, 529, 2678, 1318, 422, 446, 13, 1082, 202, 529, 2678, 1318, 33, 261, 461, 2678, 1318, 13, 49, 281, 372, 1137, 1070, 1683, 18, 26244, 372, 1137, 1070, 1683, 18, 4720, 41, 27520, 17557, 2932, 7, 30761, 4771, 1553, 87, 1318, 8863, 202, 202, 430, 261, 529, 2678, 1318, 422, 446, 13, 2 ]
Object[][] ColumnValues = new String [mVecVec.size()][2]; int row; int col;
Object[][] ColumnValues = new String [mVecVec.size()][2]; int row; int col;
public void sortData(int column) { Object[][] ColumnValues = new String [mVecVec.size()][2]; int row; int col; for(row = 0 ; row < mVecVec.size() ; ++row) { ColumnValues[row][0] = (((Vector)mVecVec.elementAt(row)).elementAt(column)); ColumnValues[row][1] = new Integer(row).toString(); } System.out.println("Values before sorting"); for(row = 0; row < ColumnValues.length ; ++row) { System.out.println(ColumnValues[row][0] + " row: " + ColumnValues[row][1]); } QSort sorter = new QSort(new Comparer() { public int compare(Object a, Object b) { int returnValue; try { returnValue = (((String[])a)[0]).compareTo(((String[])b)[0]); } catch (NullPointerException e) { returnValue = 1; } return returnValue; } }); sorter.sort(ColumnValues); System.out.println("Values after sorting"); for(row = 0; row < ColumnValues.length ; ++row) { System.out.println(ColumnValues[row][0] + " row: " + ColumnValues[row][1]); } Vector SortedVector = new Vector(); for(row = 0; row < ColumnValues.length ; ++row) { Vector thisRow = new Vector(6); Integer OriginalPosition = new Integer((String)ColumnValues[row][1]); for(col = 0; col < ((Vector)mVecVec.elementAt(row)).size(); ++col) { thisRow.addElement(((Vector)mVecVec.elementAt(OriginalPosition.intValue())).elementAt(col)); } SortedVector.addElement(thisRow); } mVecVec = SortedVector; System.out.println("Hello"); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/b0fa2f56cd2dcc90452b768e6b38187cfb8c30eb/AddressBook.java/buggy/grendel/addressbook/AddressBook.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1524, 751, 12, 474, 1057, 13, 288, 5411, 1033, 63, 6362, 65, 4753, 1972, 273, 394, 514, 306, 81, 12991, 12991, 18, 1467, 1435, 6362, 22, 15533, 5411, 509, 1027, 31, 5411, 509, 645, 31, 5411, 364, 12, 492, 273, 374, 274, 1027, 411, 312, 12991, 12991, 18, 1467, 1435, 274, 965, 492, 13, 288, 7734, 4753, 1972, 63, 492, 6362, 20, 65, 273, 261, 12443, 5018, 13, 81, 12991, 12991, 18, 2956, 861, 12, 492, 13, 2934, 2956, 861, 12, 2827, 10019, 7734, 4753, 1972, 63, 492, 6362, 21, 65, 273, 394, 2144, 12, 492, 2934, 10492, 5621, 5411, 289, 5411, 2332, 18, 659, 18, 8222, 2932, 1972, 1865, 9602, 8863, 5411, 364, 12, 492, 273, 374, 31, 1027, 411, 4753, 1972, 18, 2469, 274, 965, 492, 13, 288, 7734, 2332, 18, 659, 18, 8222, 12, 1494, 1972, 63, 492, 6362, 20, 65, 397, 315, 1027, 30, 315, 397, 4753, 1972, 63, 492, 6362, 21, 19226, 5411, 289, 5411, 2238, 4416, 19867, 273, 394, 2238, 4416, 12, 2704, 1286, 21804, 1435, 288, 4766, 4202, 1071, 509, 3400, 12, 921, 279, 16, 1033, 324, 13, 288, 4766, 1850, 509, 7750, 31, 4766, 1850, 775, 288, 4766, 5411, 7750, 273, 261, 12443, 780, 63, 5717, 69, 25146, 20, 65, 2934, 9877, 774, 12443, 12, 780, 63, 5717, 70, 25146, 20, 19226, 4766, 1850, 289, 4766, 1850, 1044, 261, 2041, 9992, 425, 13, 288, 4766, 5411, 7750, 273, 404, 31, 4766, 1850, 289, 4766, 1850, 327, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1524, 751, 12, 474, 1057, 13, 288, 5411, 1033, 63, 6362, 65, 4753, 1972, 273, 394, 514, 306, 81, 12991, 12991, 18, 1467, 1435, 6362, 22, 15533, 5411, 509, 1027, 31, 5411, 509, 645, 31, 5411, 364, 12, 492, 273, 374, 274, 1027, 411, 312, 12991, 12991, 18, 1467, 1435, 274, 965, 492, 13, 288, 7734, 4753, 1972, 63, 492, 6362, 20, 65, 273, 261, 12443, 5018, 13, 81, 12991, 12991, 18, 2956, 861, 12, 492, 13, 2934, 2956, 861, 12, 2827, 10019, 7734, 4753, 1972, 63, 492, 6362, 21, 65, 273, 394, 2144, 12, 492, 2934, 10492, 5621, 5411, 289, 5411, 2332, 18, 659, 18, 8222, 2932, 1972, 1865, 9602, 8863, 5411, 364, 12, 492, 2 ]
(new TaskHandler(this, null)).init(name, attrs);
(new TaskHandler(this, null, null)).init(name, attrs);
private void handleProperty(String name, AttributeList attrs) throws SAXParseException { (new TaskHandler(this, null)).init(name, attrs); }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/059ad359164e376960bc91ee4bce1e47abb3ef45/ProjectHelper.java/buggy/src/main/org/apache/tools/ant/ProjectHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 1640, 1396, 12, 780, 508, 16, 3601, 682, 3422, 13, 1216, 10168, 13047, 288, 5411, 261, 2704, 3837, 1503, 12, 2211, 16, 446, 16, 446, 13, 2934, 2738, 12, 529, 16, 3422, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 1640, 1396, 12, 780, 508, 16, 3601, 682, 3422, 13, 1216, 10168, 13047, 288, 5411, 261, 2704, 3837, 1503, 12, 2211, 16, 446, 16, 446, 13, 2934, 2738, 12, 529, 16, 3422, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
setBackground(Color.blue);
this.setBackground(Color.blue);
public AttributePanel() { setBackground(Color.blue); setVerticalScrollBarPolicy(VERTICAL_SCROLLBAR_ALWAYS); //setLayout(null); }
48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/bf889fda0ae771630a90a87d42ed742a79e83641/VisualizePanel.java/clean/weka/gui/explorer/VisualizePanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 5537, 1435, 288, 1377, 333, 18, 542, 8199, 12, 2957, 18, 14081, 1769, 1377, 444, 15704, 6806, 5190, 2582, 12, 21654, 10109, 67, 2312, 14555, 21908, 67, 1013, 29295, 1769, 1377, 368, 542, 3744, 12, 2011, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 5537, 1435, 288, 1377, 333, 18, 542, 8199, 12, 2957, 18, 14081, 1769, 1377, 444, 15704, 6806, 5190, 2582, 12, 21654, 10109, 67, 2312, 14555, 21908, 67, 1013, 29295, 1769, 1377, 368, 542, 3744, 12, 2011, 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 ]
return props; }
return props; }
public Properties getProperties() { return props; }
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/cc88a4a6b162f10af320cb7c96196119710527e8/Protocol.java/clean/src/org/jgroups/stack/Protocol.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6183, 9392, 1435, 288, 3639, 327, 3458, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6183, 9392, 1435, 288, 3639, 327, 3458, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false); }
createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false); }
protected void createButtonsForButtonBar(Composite parent) { createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/5dfab9acd886f09a1ca9341cff1d740dc40e3c35/DialogMarkerProperties.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerProperties.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 752, 14388, 1290, 3616, 5190, 12, 9400, 982, 13, 288, 3639, 752, 3616, 12, 2938, 16, 1599, 3529, 2918, 18, 3141, 67, 734, 16, 1599, 3529, 2918, 18, 3141, 67, 13545, 16, 7734, 638, 1769, 3639, 752, 3616, 12, 2938, 16, 1599, 3529, 2918, 18, 25268, 67, 734, 16, 7734, 1599, 3529, 2918, 18, 25268, 67, 13545, 16, 629, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 752, 14388, 1290, 3616, 5190, 12, 9400, 982, 13, 288, 3639, 752, 3616, 12, 2938, 16, 1599, 3529, 2918, 18, 3141, 67, 734, 16, 1599, 3529, 2918, 18, 3141, 67, 13545, 16, 7734, 638, 1769, 3639, 752, 3616, 12, 2938, 16, 1599, 3529, 2918, 18, 25268, 67, 734, 16, 7734, 1599, 3529, 2918, 18, 25268, 67, 13545, 16, 629, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return chooseGuide(mapping, actionForm, request, response);
return chooseGuide(mapping, actionForm, request, response);
public ActionForward addGuideSituation(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { IUserView userView = SessionUtils.getUserView(request); DynaActionForm guideForm = (DynaActionForm) actionForm; /** ***************** */ Integer guideID = (Integer) guideForm.get("guideID"); String newSituationRemarks = (String) guideForm.get("newSituationRemarks"); Integer newSituationDay = (Integer) guideForm.get("newSituationDay"); Integer newSituationMonth = (Integer) guideForm.get("newSituationMonth"); Integer newSituationYear = (Integer) guideForm.get("newSituationYear"); String newSituationType = (String) guideForm.get("newSituationType"); Date date = (new GregorianCalendar(newSituationYear.intValue(), newSituationMonth.intValue(), newSituationDay.intValue())).getTime(); Object[] args = { guideID, newSituationRemarks, GuideState.valueOf(newSituationType), date }; try { ServiceUtils.executeService(userView, "CreateGuideSituation", args); } catch (FenixServiceException e) { // TODO Auto-generated catch block e.printStackTrace(); } guideForm.set("newSituationRemarks", null); guideForm.set("newSituationDay", null); guideForm.set("newSituationMonth", null); guideForm.set("newSituationYear", null); guideForm.set("newSituationType", null); return chooseGuide(mapping, actionForm, request, response); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/1fc9e527c7d951bba92f112af7435cfdac2955ce/GuideManagementDispatchAction.java/clean/src/net/sourceforge/fenixedu/presentationTier/Action/manager/guideManagement/GuideManagementDispatchAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 8514, 527, 17424, 55, 305, 11407, 12, 1803, 3233, 2874, 16, 4382, 1204, 1301, 1204, 16, 5411, 9984, 590, 16, 12446, 766, 13, 1216, 1185, 288, 3639, 467, 1299, 1767, 729, 1767, 273, 3877, 1989, 18, 588, 1299, 1767, 12, 2293, 1769, 3639, 463, 23041, 1803, 1204, 7343, 1204, 273, 261, 10419, 69, 1803, 1204, 13, 1301, 1204, 31, 3639, 1783, 380, 2751, 1195, 3639, 2144, 7343, 734, 273, 261, 4522, 13, 7343, 1204, 18, 588, 2932, 12118, 734, 8863, 3639, 514, 30826, 305, 11407, 1933, 27943, 273, 261, 780, 13, 7343, 1204, 18, 588, 2932, 2704, 55, 305, 11407, 1933, 27943, 8863, 3639, 2144, 30826, 305, 11407, 4245, 273, 261, 4522, 13, 7343, 1204, 18, 588, 2932, 2704, 55, 305, 11407, 4245, 8863, 3639, 2144, 30826, 305, 11407, 5445, 273, 261, 4522, 13, 7343, 1204, 18, 588, 2932, 2704, 55, 305, 11407, 5445, 8863, 3639, 2144, 30826, 305, 11407, 5593, 273, 261, 4522, 13, 7343, 1204, 18, 588, 2932, 2704, 55, 305, 11407, 5593, 8863, 3639, 514, 30826, 305, 11407, 559, 273, 261, 780, 13, 7343, 1204, 18, 588, 2932, 2704, 55, 305, 11407, 559, 8863, 3639, 2167, 1509, 273, 261, 2704, 28033, 12, 2704, 55, 305, 11407, 5593, 18, 474, 620, 9334, 30826, 305, 11407, 5445, 18, 474, 620, 9334, 7734, 30826, 305, 11407, 4245, 18, 474, 620, 10756, 2934, 588, 950, 5621, 3639, 1033, 8526, 833, 273, 288, 7343, 734, 16, 30826, 305, 11407, 1933, 27943, 16, 13018, 1119, 18, 1132, 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, 4382, 8514, 527, 17424, 55, 305, 11407, 12, 1803, 3233, 2874, 16, 4382, 1204, 1301, 1204, 16, 5411, 9984, 590, 16, 12446, 766, 13, 1216, 1185, 288, 3639, 467, 1299, 1767, 729, 1767, 273, 3877, 1989, 18, 588, 1299, 1767, 12, 2293, 1769, 3639, 463, 23041, 1803, 1204, 7343, 1204, 273, 261, 10419, 69, 1803, 1204, 13, 1301, 1204, 31, 3639, 1783, 380, 2751, 1195, 3639, 2144, 7343, 734, 273, 261, 4522, 13, 7343, 1204, 18, 588, 2932, 12118, 734, 8863, 3639, 514, 30826, 305, 11407, 1933, 27943, 273, 261, 780, 13, 7343, 1204, 18, 588, 2932, 2704, 55, 305, 11407, 1933, 27943, 8863, 3639, 2144, 30826, 305, 11407, 4245, 273, 261, 4522, 13, 7343, 1204, 18, 2 ]
buildcommands.add( BUILDER_WST_COMPONENT_STRUCTURAL_DEPENDENCY_RESOLVER );
buildcommands.add( new BuildCommand( BUILDER_WST_COMPONENT_STRUCTURAL_DEPENDENCY_RESOLVER ) );
private void fillDefaultBuilders( String packaging ) { buildcommands = new ArrayList(); if ( wtpVersionFloat == 0.7f ) { buildcommands.add( BUILDER_WST_COMPONENT_STRUCTURAL ); // WTP 0.7 builder } if ( isJavaProject ) { buildcommands.add( BUILDER_JDT_CORE_JAVA ); } if ( wtpVersionFloat >= 1.5f ) { buildcommands.add( BUILDER_WST_FACET ); // WTP 1.5 builder } if ( wtpVersionFloat >= 0.7f ) { buildcommands.add( BUILDER_WST_VALIDATION ); // WTP 0.7/1.0 builder } if ( wtpVersionFloat == 0.7f ) { buildcommands.add( BUILDER_WST_COMPONENT_STRUCTURAL_DEPENDENCY_RESOLVER ); // WTP 0.7 builder } if ( pde ) { buildcommands.add( BUILDER_PDE_MANIFEST ); buildcommands.add( BUILDER_PDE_SCHEMA ); } }
7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/e90ee2cb8b7659387eaa7555f58aca51c9c31ce6/EclipsePlugin.java/buggy/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3636, 1868, 20460, 12, 514, 2298, 5755, 262, 565, 288, 3639, 1361, 7847, 273, 394, 2407, 5621, 3639, 309, 261, 341, 6834, 1444, 4723, 422, 374, 18, 27, 74, 262, 3639, 288, 5411, 1361, 7847, 18, 1289, 12, 10937, 2627, 4179, 67, 59, 882, 67, 22922, 67, 13915, 27015, 11272, 368, 678, 11130, 374, 18, 27, 2089, 3639, 289, 3639, 309, 261, 353, 5852, 4109, 262, 3639, 288, 5411, 1361, 7847, 18, 1289, 12, 10937, 2627, 4179, 67, 46, 9081, 67, 15715, 67, 27264, 11272, 3639, 289, 3639, 309, 261, 341, 6834, 1444, 4723, 1545, 404, 18, 25, 74, 262, 3639, 288, 5411, 1361, 7847, 18, 1289, 12, 10937, 2627, 4179, 67, 59, 882, 67, 11300, 56, 11272, 368, 678, 11130, 404, 18, 25, 2089, 3639, 289, 3639, 309, 261, 341, 6834, 1444, 4723, 1545, 374, 18, 27, 74, 262, 3639, 288, 5411, 1361, 7847, 18, 1289, 12, 10937, 2627, 4179, 67, 59, 882, 67, 5063, 2689, 11272, 368, 678, 11130, 374, 18, 27, 19, 21, 18, 20, 2089, 3639, 289, 3639, 309, 261, 341, 6834, 1444, 4723, 422, 374, 18, 27, 74, 262, 3639, 288, 5411, 1361, 7847, 18, 1289, 12, 394, 3998, 2189, 12, 10937, 2627, 4179, 67, 59, 882, 67, 22922, 67, 13915, 27015, 67, 1639, 25690, 26325, 67, 17978, 2204, 262, 11272, 368, 678, 11130, 374, 18, 27, 2089, 3639, 289, 3639, 309, 261, 293, 323, 262, 3639, 288, 5411, 1361, 7847, 18, 1289, 12, 10937, 2627, 4179, 67, 52, 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, 3636, 1868, 20460, 12, 514, 2298, 5755, 262, 565, 288, 3639, 1361, 7847, 273, 394, 2407, 5621, 3639, 309, 261, 341, 6834, 1444, 4723, 422, 374, 18, 27, 74, 262, 3639, 288, 5411, 1361, 7847, 18, 1289, 12, 10937, 2627, 4179, 67, 59, 882, 67, 22922, 67, 13915, 27015, 11272, 368, 678, 11130, 374, 18, 27, 2089, 3639, 289, 3639, 309, 261, 353, 5852, 4109, 262, 3639, 288, 5411, 1361, 7847, 18, 1289, 12, 10937, 2627, 4179, 67, 46, 9081, 67, 15715, 67, 27264, 11272, 3639, 289, 3639, 309, 261, 341, 6834, 1444, 4723, 1545, 404, 18, 25, 74, 262, 3639, 288, 5411, 1361, 7847, 18, 1289, 12, 10937, 2627, 4179, 67, 59, 882, 67, 11300, 2 ]
private void store(long index, IRubyObject value) {
private IRubyObject store(long index, IRubyObject value) {
private void store(long index, IRubyObject value) { modify(); if (index < 0) { index += getLength(); if (index < 0) { throw getRuntime().newIndexError("index " + (index - getLength()) + " out of array"); } } autoExpand(index + 1); list.set((int) index, value); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyArray.java/buggy/src/org/jruby/RubyArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 1707, 12, 5748, 770, 16, 15908, 10340, 921, 460, 13, 288, 3639, 5612, 5621, 3639, 309, 261, 1615, 411, 374, 13, 288, 5411, 770, 1011, 9888, 5621, 5411, 309, 261, 1615, 411, 374, 13, 288, 7734, 604, 18814, 7675, 2704, 1016, 668, 2932, 1615, 315, 397, 261, 1615, 300, 9888, 10756, 397, 315, 596, 434, 526, 8863, 5411, 289, 3639, 289, 3639, 3656, 12271, 12, 1615, 397, 404, 1769, 3639, 666, 18, 542, 12443, 474, 13, 770, 16, 460, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 1707, 12, 5748, 770, 16, 15908, 10340, 921, 460, 13, 288, 3639, 5612, 5621, 3639, 309, 261, 1615, 411, 374, 13, 288, 5411, 770, 1011, 9888, 5621, 5411, 309, 261, 1615, 411, 374, 13, 288, 7734, 604, 18814, 7675, 2704, 1016, 668, 2932, 1615, 315, 397, 261, 1615, 300, 9888, 10756, 397, 315, 596, 434, 526, 8863, 5411, 289, 3639, 289, 3639, 3656, 12271, 12, 1615, 397, 404, 1769, 3639, 666, 18, 542, 12443, 474, 13, 770, 16, 460, 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 ]
outNbElement.value = outIdx; outBegIdx.value = startIdx;
public TA_RetCode CDLHIGHWAVE(int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], MInteger outBegIdx, MInteger outNbElement, int outInteger[]) { double BodyPeriodTotal, ShadowPeriodTotal; int i, outIdx, BodyTrailingIdx, ShadowTrailingIdx, lookbackTotal; if (startIdx < 0) return TA_RetCode.TA_OUT_OF_RANGE_START_INDEX; if ((endIdx < 0) || (endIdx < startIdx)) return TA_RetCode.TA_OUT_OF_RANGE_END_INDEX; lookbackTotal = CDLHIGHWAVE_Lookback(); if (startIdx < lookbackTotal) startIdx = lookbackTotal; if (startIdx > endIdx) { outBegIdx.value = 0; outNbElement.value = 0; return TA_RetCode.TA_SUCCESS; } BodyPeriodTotal = 0; BodyTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod); ShadowPeriodTotal = 0; ShadowTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].avgPeriod); i = BodyTrailingIdx; while (i < startIdx) { BodyPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))); i++; } i = ShadowTrailingIdx; while (i < startIdx) { ShadowPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))); i++; } outIdx = 0; do { if ((Math.abs(inClose[i] - inOpen[i])) < ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod) != 0.0 ? BodyPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) > ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].avgPeriod) != 0.0 ? ShadowPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) > ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].avgPeriod) != 0.0 ? ShadowPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0))) outInteger[outIdx++] = (inClose[i] >= inOpen[i] ? 1 : -1) * 100; else outInteger[outIdx++] = 0; BodyPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[BodyTrailingIdx] - inOpen[BodyTrailingIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[BodyTrailingIdx] - inLow[BodyTrailingIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[BodyTrailingIdx] - (inClose[BodyTrailingIdx] >= inOpen[BodyTrailingIdx] ? inClose[BodyTrailingIdx] : inOpen[BodyTrailingIdx])) + ((inClose[BodyTrailingIdx] >= inOpen[BodyTrailingIdx] ? inOpen[BodyTrailingIdx] : inClose[BodyTrailingIdx]) - inLow[BodyTrailingIdx]) : 0))); ShadowPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[ShadowTrailingIdx] - inOpen[ShadowTrailingIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[ShadowTrailingIdx] - inLow[ShadowTrailingIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[ShadowTrailingIdx] - (inClose[ShadowTrailingIdx] >= inOpen[ShadowTrailingIdx] ? inClose[ShadowTrailingIdx] : inOpen[ShadowTrailingIdx])) + ((inClose[ShadowTrailingIdx] >= inOpen[ShadowTrailingIdx] ? inOpen[ShadowTrailingIdx] : inClose[ShadowTrailingIdx]) - inLow[ShadowTrailingIdx]) : 0))); i++; BodyTrailingIdx++; ShadowTrailingIdx++; } while (i <= endIdx); outNbElement.value = outIdx; outBegIdx.value = startIdx; return TA_RetCode.TA_SUCCESS; }
51465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51465/cf65b93eedaca922be2993fe424b023f73c7562d/Core.java/buggy/trunk/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 399, 37, 67, 7055, 1085, 385, 8914, 29996, 59, 26714, 12, 474, 27108, 16, 509, 679, 4223, 16, 1645, 316, 3678, 63, 6487, 1082, 202, 9056, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 509, 596, 4522, 63, 5717, 288, 202, 202, 9056, 5652, 5027, 5269, 16, 24915, 5027, 5269, 31, 202, 202, 474, 277, 16, 596, 4223, 16, 5652, 16808, 4223, 16, 24915, 16808, 4223, 16, 2324, 823, 5269, 31, 202, 202, 430, 261, 1937, 4223, 411, 374, 13, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 202, 202, 430, 14015, 409, 4223, 411, 374, 13, 747, 261, 409, 4223, 411, 27108, 3719, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 202, 202, 7330, 823, 5269, 273, 385, 8914, 29996, 59, 26714, 67, 9794, 823, 5621, 202, 202, 430, 261, 1937, 4223, 411, 2324, 823, 5269, 13, 1082, 202, 1937, 4223, 273, 2324, 823, 5269, 31, 202, 202, 430, 261, 1937, 4223, 405, 679, 4223, 13, 288, 1082, 202, 659, 24059, 4223, 18, 1132, 273, 374, 31, 1082, 202, 659, 22816, 1046, 18, 1132, 273, 374, 31, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 12778, 31, 202, 202, 97, 202, 202, 2250, 5027, 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, 399, 37, 67, 7055, 1085, 385, 8914, 29996, 59, 26714, 12, 474, 27108, 16, 509, 679, 4223, 16, 1645, 316, 3678, 63, 6487, 1082, 202, 9056, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 509, 596, 4522, 63, 5717, 288, 202, 202, 9056, 5652, 5027, 5269, 16, 24915, 5027, 5269, 31, 202, 202, 474, 277, 16, 596, 4223, 16, 5652, 16808, 4223, 16, 24915, 16808, 4223, 16, 2324, 823, 5269, 31, 202, 202, 430, 261, 1937, 4223, 411, 374, 13, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 2 ]
nativeEventThread.addListener(listener);
nativeEventThread.addListener(listenerWrapper);
public void addDocumentLoadListener(DocumentLoadListener listener){ ParameterCheck.nonNull(listener); myFactory.throwExceptionIfNotInitialized(); Assert.assert(-1 != nativeWebShell); Assert.assert(null != nativeEventThread); ParameterCheck.nonNull(listener); synchronized(myBrowserControl) { nativeEventThread.addListener(listener); }}
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/22cf4850d306aa920b59560eda626f0c7759f4c3/EventRegistrationImpl.java/buggy/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/EventRegistrationImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 527, 2519, 2563, 2223, 12, 2519, 2563, 2223, 2991, 15329, 565, 5498, 1564, 18, 5836, 2041, 12, 12757, 1769, 565, 3399, 1733, 18, 12849, 503, 10288, 11459, 5621, 565, 5452, 18, 11231, 19236, 21, 480, 6448, 4079, 13220, 1769, 565, 5452, 18, 11231, 12, 2011, 480, 6448, 1133, 3830, 1769, 565, 5498, 1564, 18, 5836, 2041, 12, 12757, 1769, 3639, 3852, 12, 4811, 9132, 3367, 13, 288, 3639, 6448, 1133, 3830, 18, 1289, 2223, 12, 12757, 3611, 1769, 565, 10523, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 527, 2519, 2563, 2223, 12, 2519, 2563, 2223, 2991, 15329, 565, 5498, 1564, 18, 5836, 2041, 12, 12757, 1769, 565, 3399, 1733, 18, 12849, 503, 10288, 11459, 5621, 565, 5452, 18, 11231, 19236, 21, 480, 6448, 4079, 13220, 1769, 565, 5452, 18, 11231, 12, 2011, 480, 6448, 1133, 3830, 1769, 565, 5498, 1564, 18, 5836, 2041, 12, 12757, 1769, 3639, 3852, 12, 4811, 9132, 3367, 13, 288, 3639, 6448, 1133, 3830, 18, 1289, 2223, 12, 12757, 3611, 1769, 565, 10523, 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 ]
private Provider () { // FIXME: We might need to make the name comparison case insensitive. // Verify this with the Sun JDK. canonicalNames = new HashMap (); charsets = new HashMap (); // US-ASCII aka ISO646-US addCharset (new US_ASCII ()); // ISO-8859-1 aka ISO-LATIN-1 addCharset (new ISO_8859_1 ()); // UTF-8 addCharset (new UTF_8 ()); // UTF-16BE addCharset (new UTF_16BE ()); // UTF-16LE addCharset (new UTF_16LE ()); // UTF-16 addCharset (new UTF_16 ()); }
5916 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5916/8b9521b543363733791b0cb3aa8b0aad118ae75e/Provider.java/buggy/libjava/gnu/java/nio/charset/Provider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 7561, 1832, 95, 759, 9852, 30, 1660, 4825, 1608, 358, 1221, 326, 508, 5826, 648, 17904, 18, 759, 8553, 333, 598, 326, 31608, 24387, 18, 18288, 1557, 273, 394, 4317, 261, 1769, 3001, 4424, 273, 394, 4317, 261, 1769, 759, 11836, 17, 13756, 28105, 9351, 1105, 26, 17, 3378, 1289, 9652, 261, 2704, 11836, 67, 13756, 1832, 1769, 759, 9351, 17, 17258, 17, 21, 28105, 9351, 17, 20095, 17, 21, 1289, 9652, 261, 2704, 9351, 67, 17258, 67, 21, 1832, 1769, 759, 6380, 17, 28, 1289, 9652, 261, 2704, 6380, 67, 28, 1832, 1769, 759, 6380, 17, 2313, 5948, 1289, 9652, 261, 2704, 6380, 67, 2313, 5948, 1832, 1769, 759, 6380, 17, 2313, 900, 1289, 9652, 261, 2704, 6380, 67, 2313, 900, 1832, 1769, 759, 6380, 17, 2313, 1289, 9652, 261, 2704, 6380, 67, 2313, 1832, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 7561, 1832, 95, 759, 9852, 30, 1660, 4825, 1608, 358, 1221, 326, 508, 5826, 648, 17904, 18, 759, 8553, 333, 598, 326, 31608, 24387, 18, 18288, 1557, 273, 394, 4317, 261, 1769, 3001, 4424, 273, 394, 4317, 261, 1769, 759, 11836, 17, 13756, 28105, 9351, 1105, 26, 17, 3378, 1289, 9652, 261, 2704, 11836, 67, 13756, 1832, 1769, 759, 9351, 17, 17258, 17, 21, 28105, 9351, 17, 20095, 17, 21, 1289, 9652, 261, 2704, 9351, 67, 17258, 67, 21, 1832, 1769, 759, 6380, 17, 28, 1289, 9652, 261, 2704, 6380, 67, 28, 1832, 1769, 759, 6380, 17, 2313, 5948, 1289, 9652, 261, 2704, 6380, 67, 2313, 5948, 1832, 1769, 759, 6380, 17, 2313, 900, 1289, 9652, 261, 2704, 2 ]
String query = wrap(new String[] {
String query = fold(new String[] {
public void _testLinRegAll() { // We have not implemented the LastPeriods function, so we use // [Time].CurrentMember.Lag(9) : [Time].CurrentMember // is equivalent to // LastPeriods(10) String query = wrap(new String[] { "WITH MEMBER ", "[Measures].[Intercept] AS ", " 'LinRegIntercept([Time].CurrentMember.Lag(10) : [Time].CurrentMember, [Measures].[Unit Sales], [Measures].[Store Sales])' ", "MEMBER [Measures].[Regression Slope] AS", " 'LinRegSlope([Time].CurrentMember.Lag(9) : [Time].CurrentMember,[Measures].[Unit Sales],[Measures].[Store Sales]) '", "MEMBER [Measures].[Predict] AS", " 'LinRegPoint([Measures].[Unit Sales],[Time].CurrentMember.Lag(9) : [Time].CurrentMember,[Measures].[Unit Sales],[Measures].[Store Sales])',", " FORMAT_STRING = 'Standard' ", "MEMBER [Measures].[Predict Formula] AS", " '([Measures].[Regression Slope] * [Measures].[Unit Sales]) + [Measures].[Intercept]',", " FORMAT_STRING='Standard'", "MEMBER [Measures].[Good Fit] AS", " 'LinRegR2([Time].CurrentMember.Lag(9) : [Time].CurrentMember, [Measures].[Unit Sales],[Measures].[Store Sales])',", " FORMAT_STRING='#,#.00'", "MEMBER [Measures].[Variance] AS", " 'LinRegVariance([Time].CurrentMember.Lag(9) : [Time].CurrentMember,[Measures].[Unit Sales],[Measures].[Store Sales])'", "SELECT ", " {[Measures].[Store Sales], ", " [Measures].[Intercept], ", " [Measures].[Regression Slope], ", " [Measures].[Predict], ", " [Measures].[Predict Formula], ", " [Measures].[Good Fit], ", " [Measures].[Variance] } ON COLUMNS, ", " Descendants([Time].[1997], [Time].[Month]) ON ROWS", "FROM Sales"}); String expected = wrap(new String[] { "Axis #0:", "{}", "Axis #1:", "{[Measures].[Store Sales]}", "{[Measures].[Intercept]}", "{[Measures].[Regression Slope]}", "{[Measures].[Predict]}", "{[Measures].[Predict Formula]}", "{[Measures].[Good Fit]}", "{[Measures].[Variance]}", "Axis #2:", "{[Time].[1997].[Q1].[1]}", "{[Time].[1997].[Q1].[2]}", "{[Time].[1997].[Q1].[3]}", "{[Time].[1997].[Q2].[4]}", "{[Time].[1997].[Q2].[5]}", "{[Time].[1997].[Q2].[6]}", "{[Time].[1997].[Q3].[7]}", "{[Time].[1997].[Q3].[8]}", "{[Time].[1997].[Q3].[9]}", "{[Time].[1997].[Q4].[10]}", "{[Time].[1997].[Q4].[11]}", "{[Time].[1997].[Q4].[12]}", "Row #0: 45,539.69", "Row #0: 68711.40", "Row #0: -1.033", "Row #0: 46,350.26", "Row #0: 46.350.26", "Row #0: -1.#INF", "Row #0: 5.17E-08", "...", "Row #11: 15343.67" + nl}); assertQueryReturns(query, expected); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/bb703add381acf854e2d5aed1045911b7ab143b4/FunctionTest.java/buggy/testsrc/main/mondrian/olap/fun/FunctionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 389, 3813, 48, 267, 1617, 1595, 1435, 288, 3639, 368, 1660, 1240, 486, 8249, 326, 6825, 30807, 445, 16, 1427, 732, 999, 3639, 368, 282, 306, 950, 8009, 3935, 4419, 18, 26093, 12, 29, 13, 294, 306, 950, 8009, 3935, 4419, 3639, 368, 353, 7680, 358, 3639, 368, 282, 6825, 30807, 12, 2163, 13, 3639, 514, 843, 273, 11590, 12, 2704, 514, 8526, 288, 5411, 315, 9147, 18990, 6271, 3104, 5411, 5158, 23177, 1823, 8009, 63, 16293, 65, 5355, 3104, 5411, 315, 225, 296, 48, 267, 1617, 16293, 3816, 950, 8009, 3935, 4419, 18, 26093, 12, 2163, 13, 294, 306, 950, 8009, 3935, 4419, 16, 306, 23177, 1823, 8009, 63, 2802, 25996, 6487, 306, 23177, 1823, 8009, 63, 2257, 25996, 65, 2506, 3104, 5411, 315, 19630, 306, 23177, 1823, 8009, 63, 1617, 16345, 348, 12232, 65, 5355, 3113, 5411, 315, 225, 296, 48, 267, 1617, 55, 12232, 3816, 950, 8009, 3935, 4419, 18, 26093, 12, 29, 13, 294, 306, 950, 8009, 3935, 4419, 16, 63, 23177, 1823, 8009, 63, 2802, 25996, 6487, 63, 23177, 1823, 8009, 63, 2257, 25996, 5717, 19197, 5411, 315, 19630, 306, 23177, 1823, 8009, 63, 21362, 65, 5355, 3113, 5411, 315, 225, 296, 48, 267, 1617, 2148, 3816, 23177, 1823, 8009, 63, 2802, 25996, 6487, 63, 950, 8009, 3935, 4419, 18, 26093, 12, 29, 13, 294, 306, 950, 8009, 3935, 4419, 16, 63, 23177, 1823, 8009, 63, 2802, 25996, 6487, 63, 23177, 1823, 8009, 63, 2257, 25996, 5717, 2187, 3113, 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, 389, 3813, 48, 267, 1617, 1595, 1435, 288, 3639, 368, 1660, 1240, 486, 8249, 326, 6825, 30807, 445, 16, 1427, 732, 999, 3639, 368, 282, 306, 950, 8009, 3935, 4419, 18, 26093, 12, 29, 13, 294, 306, 950, 8009, 3935, 4419, 3639, 368, 353, 7680, 358, 3639, 368, 282, 6825, 30807, 12, 2163, 13, 3639, 514, 843, 273, 11590, 12, 2704, 514, 8526, 288, 5411, 315, 9147, 18990, 6271, 3104, 5411, 5158, 23177, 1823, 8009, 63, 16293, 65, 5355, 3104, 5411, 315, 225, 296, 48, 267, 1617, 16293, 3816, 950, 8009, 3935, 4419, 18, 26093, 12, 2163, 13, 294, 306, 950, 8009, 3935, 4419, 16, 306, 23177, 1823, 8009, 63, 2802, 25996, 6487, 306, 23177, 1823, 2 ]
public org.quickfix.field.UnderlyingCFICode getUnderlyingCFICode() throws FieldNotFound { org.quickfix.field.UnderlyingCFICode value = new org.quickfix.field.UnderlyingCFICode();
public quickfix.field.UnderlyingCFICode getUnderlyingCFICode() throws FieldNotFound { quickfix.field.UnderlyingCFICode value = new quickfix.field.UnderlyingCFICode();
public org.quickfix.field.UnderlyingCFICode getUnderlyingCFICode() throws FieldNotFound { org.quickfix.field.UnderlyingCFICode value = new org.quickfix.field.UnderlyingCFICode(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityDefinition.java/clean/src/java/src/quickfix/fix44/SecurityDefinition.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 39, 1653, 1085, 10833, 765, 6291, 39, 1653, 1085, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 39, 1653, 1085, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 39, 1653, 1085, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 39, 1653, 1085, 10833, 765, 6291, 39, 1653, 1085, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 39, 1653, 1085, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 39, 1653, 1085, 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 ]
public org.quickfix.field.LegStrikePrice getLegStrikePrice() throws FieldNotFound { org.quickfix.field.LegStrikePrice value = new org.quickfix.field.LegStrikePrice();
public quickfix.field.LegStrikePrice getLegStrikePrice() throws FieldNotFound { quickfix.field.LegStrikePrice value = new quickfix.field.LegStrikePrice();
public org.quickfix.field.LegStrikePrice getLegStrikePrice() throws FieldNotFound { org.quickfix.field.LegStrikePrice value = new org.quickfix.field.LegStrikePrice(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralInquiry.java/buggy/src/java/src/quickfix/fix44/CollateralInquiry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 1585, 2547, 5147, 336, 8329, 1585, 2547, 5147, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 1585, 2547, 5147, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 1585, 2547, 5147, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 1585, 2547, 5147, 336, 8329, 1585, 2547, 5147, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 1585, 2547, 5147, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 1585, 2547, 5147, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Renderer2DModel getRendererModel() {
public Renderer2DModel getRendererModel() {
public Renderer2DModel getRendererModel() { return this.rendererModel; }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/d627f99335efee2e4dca344faa3b13bb3aa73ca3/JChemPaintModel.java/buggy/src/org/openscience/cdk/applications/jchempaint/JChemPaintModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 17589, 22, 40, 1488, 336, 6747, 1488, 1435, 202, 95, 202, 202, 2463, 333, 18, 14374, 1488, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 17589, 22, 40, 1488, 336, 6747, 1488, 1435, 202, 95, 202, 202, 2463, 333, 18, 14374, 1488, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
pc = catchStack[--tryStackTop * 2]; scope = scopeStack[tryStackTop];
--tryStackTop; pc = catchStack[tryStackTop * 2]; scope = (Scriptable)stack[TRY_SCOPE_SHFT + tryStackTop];
public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Scriptable fnOrScript, InterpreterData theData) throws JavaScriptException { int i; Object lhs; final int maxStack = theData.itsMaxStack; final int maxVars = theData.itsVariableTable.size(); final int maxLocals = theData.itsMaxLocals; final int VAR_SHFT = maxStack; final int LOCAL_SHFT = VAR_SHFT + maxVars; // stack[0 <= i < VAR_SHFT]: stack data // stack[VAR_SHFT <= i < LOCAL_SHFT]: variables // stack[LOCAL_SHFT <= i]: // used for newtemp/usetemp etc. // id stack[x] == DBL_MRK, real value for stack[x] is in sDbl[x] final Object DBL_MRK = Interpreter.DBL_MRK; Object[] stack = new Object[LOCAL_SHFT + maxLocals]; double[] sDbl = new double[LOCAL_SHFT + maxLocals]; int stackTop = -1; byte[] iCode = theData.itsICode; int pc = 0; int iCodeLength = theData.itsICodeTop; final Scriptable undefined = Undefined.instance; if (maxVars != 0) { for (i = 0; i < theData.itsVariableTable.getParameterCount(); i++) { if (i >= args.length) stack[VAR_SHFT + i] = undefined; else stack[VAR_SHFT + i] = args[i]; } for ( ; i < maxVars; i++) stack[VAR_SHFT + i] = undefined; } if (theData.itsNestedFunctions != null) { for (i = 0; i < theData.itsNestedFunctions.length; i++) createFunctionObject(theData.itsNestedFunctions[i], scope); } Object id; Object rhs, val; double valDbl; boolean valBln; int count; int slot; String name = null; Object[] outArgs; int lIntValue; long lLongValue; double lDbl; int rIntValue; double rDbl; int[] catchStack = null; Scriptable[] scopeStack = null; int tryStackTop = 0; InterpreterFrame frame = null; if (cx.debugger != null) { frame = new InterpreterFrame(scope, theData, fnOrScript); cx.pushFrame(frame); } if (theData.itsMaxTryDepth > 0) { // catchStack[2 * i]: catch data // catchStack[2 * i + 1]: finally data catchStack = new int[theData.itsMaxTryDepth * 2]; scopeStack = new Scriptable[theData.itsMaxTryDepth]; } /* Save the security domain. Must restore upon normal exit. * If we exit the interpreter loop by throwing an exception, * set cx.interpreterSecurityDomain to null, and require the * catching function to restore it. */ Object savedSecurityDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = theData.securityDomain; Object result = undefined; while (pc < iCodeLength) { try { switch (iCode[pc] & 0xff) { case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : i = getTarget(iCode, pc + 1); if (i == pc) i = 0; catchStack[tryStackTop * 2] = i; i = getTarget(iCode, pc + 3); if (i == (pc + 2)) i = 0; catchStack[tryStackTop * 2 + 1] = i; scopeStack[tryStackTop++] = scope; pc += 4; break; case TokenStream.GE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl <= lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl <= rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.GT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl < lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl < rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IN : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.INSTANCEOF : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.instanceOf(scope, lhs, rhs); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.EQ : --stackTop; valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.NE : --stackTop; valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHEQ : --stackTop; valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHNE : --stackTop; valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IFNE : val = stack[stackTop]; if (val != DBL_MRK) { valBln = !ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = !(valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.IFEQ : val = stack[stackTop]; if (val != DBL_MRK) { valBln = ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = (valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.GOTO : pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : sDbl[++stackTop] = pc + 3; pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : slot = (iCode[++pc] & 0xFF); pc = (int)sDbl[LOCAL_SHFT + slot]; continue; case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break; case TokenStream.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; pc = getTarget(iCode, pc + 1); break; case TokenStream.BITNOT : rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; case TokenStream.BITAND : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; case TokenStream.BITOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; case TokenStream.BITXOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; case TokenStream.LSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; case TokenStream.RSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; case TokenStream.URSH : rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; lLongValue = stack_uint32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lLongValue >>> rIntValue; break; case TokenStream.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case TokenStream.SUB : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; case TokenStream.NEG : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; case TokenStream.POS : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; case TokenStream.MUL : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; case TokenStream.DIV : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; case TokenStream.MOD : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; case TokenStream.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.GETBASE : stack[++stackTop] = ScriptRuntime.getBase(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.SETNAME : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); // what about class cast exception here ? stack[stackTop] = ScriptRuntime.setName ((Scriptable)lhs, rhs, scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.DELPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(lhs, rhs); break; case TokenStream.GETPROP : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; case TokenStream.SETPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; case TokenStream.GETELEM : id = stack[stackTop]; if (id == DBL_MRK) id = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getElem(lhs, id, scope); break; case TokenStream.SETELEM : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; id = stack[stackTop]; if (id == DBL_MRK) id = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setElem(lhs, id, rhs, scope); break; case TokenStream.PROPINC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; case TokenStream.PROPDEC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; case TokenStream.ELEMINC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; case TokenStream.ELEMDEC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; case TokenStream.GETTHIS : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getThis((Scriptable)lhs); break; case TokenStream.NEWTEMP : slot = (iCode[++pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.USETEMP : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; break; case TokenStream.CALLSPECIAL : int lineNum = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); name = getString(theData.itsStringTable, iCode, pc + 3); count = (iCode[pc + 5] << 8) | (iCode[pc + 6] & 0xFF); outArgs = new Object[count]; for (i = count - 1; i >= 0; i--) { val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); outArgs[i] = val; --stackTop; } rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, lhs, rhs, outArgs, thisObj, scope, name, lineNum); pc += 6; break; case TokenStream.CALL : count = (iCode[pc + 3] << 8) | (iCode[pc + 4] & 0xFF); outArgs = new Object[count]; for (i = count - 1; i >= 0; i--) { val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); outArgs[i] = val; --stackTop; } rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined) { lhs = getString(theData.itsStringTable, iCode, pc + 1); } Scriptable calleeScope = scope; if (theData.itsNeedsActivation) { calleeScope = ScriptableObject. getTopLevelScope(scope); } stack[stackTop] = ScriptRuntime.call(cx, lhs, rhs, outArgs, calleeScope); pc += 4; break; case TokenStream.NEW : count = (iCode[pc + 3] << 8) | (iCode[pc + 4] & 0xFF); outArgs = new Object[count]; for (i = count - 1; i >= 0; i--) { val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); outArgs[i] = val; --stackTop; } lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined && (iCode[pc+1] << 8) + (iCode[pc+2] & 0xFF) != -1) { // special code for better error message for call // to undefined lhs = getString(theData.itsStringTable, iCode, pc + 1); } stack[stackTop] = ScriptRuntime.newObject(cx, lhs, outArgs, scope); pc += 4; break; case TokenStream.TYPEOF : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; case TokenStream.TYPEOFNAME : name = getString(theData.itsStringTable, iCode, pc + 1); stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; case TokenStream.STRING : stack[++stackTop] = getString(theData.itsStringTable, iCode, pc + 1); pc += 2; break; case TokenStream.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getNumber(theData.itsNumberTable, iCode, pc + 1); pc += 2; break; case TokenStream.NAME : stack[++stackTop] = ScriptRuntime.name(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.NAMEINC : stack[++stackTop] = ScriptRuntime.postIncrement(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.NAMEDEC : stack[++stackTop] = ScriptRuntime.postDecrement(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.SETVAR : slot = (iCode[++pc] & 0xFF); stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.GETVAR : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; break; case TokenStream.VARINC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) + 1.0; break; case TokenStream.VARDEC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) - 1.0; break; case TokenStream.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case TokenStream.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case TokenStream.NULL : stack[++stackTop] = null; break; case TokenStream.THIS : stack[++stackTop] = thisObj; break; case TokenStream.THISFN : stack[++stackTop] = fnOrScript; break; case TokenStream.FALSE : stack[++stackTop] = Boolean.FALSE; break; case TokenStream.TRUE : stack[++stackTop] = Boolean.TRUE; break; case TokenStream.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case TokenStream.THROW : cx.interpreterSecurityDomain = null; result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; throw new JavaScriptException(result); case TokenStream.JTHROW : cx.interpreterSecurityDomain = null; result = stack[stackTop]; // No need to check for DBL_MRK: result is Exception --stackTop; if (result instanceof JavaScriptException) throw (JavaScriptException)result; else throw (RuntimeException)result; case TokenStream.ENTERWITH : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); break; case TokenStream.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); break; case TokenStream.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case TokenStream.ENUMINIT : slot = (iCode[++pc] & 0xFF); lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.initEnum(lhs, scope); break; case TokenStream.ENUMNEXT : slot = (iCode[++pc] & 0xFF); val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = ScriptRuntime. nextEnum((Enumeration)val); break; case TokenStream.GETPROTO : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; case TokenStream.GETPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs); break; case TokenStream.GETSCOPEPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; case TokenStream.SETPROTO : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; case TokenStream.SETPARENT : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); stack[++stackTop] = new InterpretedFunction( theData.itsNestedFunctions[i], scope, cx); createFunctionObject( (InterpretedFunction)stack[stackTop], scope); pc += 2; break; case TokenStream.OBJECT : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); stack[++stackTop] = theData.itsRegExpLiterals[i]; pc += 2; break; case TokenStream.SOURCEFILE : cx.interpreterSourceFile = theData.itsSourceFile; break; case TokenStream.LINE : case TokenStream.BREAKPOINT : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); cx.interpreterLine = i; if (frame != null) frame.setLineNumber(i); if ((iCode[pc] & 0xff) == TokenStream.BREAKPOINT || cx.inLineStepMode) { cx.getDebuggableEngine(). getDebugger().handleBreakpointHit(cx); } pc += 2; break; default : dumpICode(theData); throw new RuntimeException("Unknown icode : " + (iCode[pc] & 0xff) + " @ pc : " + pc); } pc++; } catch (EcmaError ee) { if (cx.debugger != null) cx.debugger.handleExceptionThrown(cx, ee.getErrorObject()); // an offical ECMA error object, // handle as if it were a JavaScriptException stackTop = 0; cx.interpreterSecurityDomain = null; if (tryStackTop > 0) { pc = catchStack[--tryStackTop * 2]; scope = scopeStack[tryStackTop]; if (pc == 0) { pc = catchStack[tryStackTop * 2 + 1]; if (pc == 0) { if (frame != null) cx.popFrame(); throw ee; } } stack[0] = ee.getErrorObject(); } else { if (frame != null) cx.popFrame(); throw ee; } // We caught an exception; restore this function's // security domain. cx.interpreterSecurityDomain = theData.securityDomain; } catch (JavaScriptException jsx) { if (cx.debugger != null) { cx.debugger.handleExceptionThrown(cx, ScriptRuntime.unwrapJavaScriptException(jsx)); } stackTop = 0; cx.interpreterSecurityDomain = null; if (tryStackTop > 0) { pc = catchStack[--tryStackTop * 2]; scope = scopeStack[tryStackTop]; if (pc == 0) { pc = catchStack[tryStackTop * 2 + 1]; if (pc == 0) { if (frame != null) cx.popFrame(); throw jsx; } stack[0] = jsx; } else { stack[0] = ScriptRuntime.unwrapJavaScriptException(jsx); } } else { if (frame != null) cx.popFrame(); throw jsx; } // We caught an exception; restore this function's // security domain. cx.interpreterSecurityDomain = theData.securityDomain; } catch (RuntimeException jx) { if (cx.debugger != null) cx.debugger.handleExceptionThrown(cx, jx); cx.interpreterSecurityDomain = null; if (tryStackTop > 0) { stackTop = 0; stack[0] = jx; pc = catchStack[--tryStackTop * 2 + 1]; scope = scopeStack[tryStackTop]; if (pc == 0) { if (frame != null) cx.popFrame(); throw jx; } } else { if (frame != null) cx.popFrame(); throw jx; } // We caught an exception; restore this function's // security domain. cx.interpreterSecurityDomain = theData.securityDomain; } } cx.interpreterSecurityDomain = savedSecurityDomain; if (frame != null) cx.popFrame(); return result; }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/5e9bc346cb971907d7a0541bae613e8b43b1238d/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 565, 22780, 15261, 16, 1033, 8526, 833, 16, 4766, 565, 22780, 2295, 1162, 3651, 16, 4766, 282, 5294, 11599, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 509, 277, 31, 3639, 1033, 8499, 31, 3639, 727, 509, 943, 2624, 273, 326, 751, 18, 1282, 2747, 2624, 31, 3639, 727, 509, 943, 5555, 273, 326, 751, 18, 1282, 3092, 1388, 18, 1467, 5621, 3639, 727, 509, 943, 1333, 1031, 273, 326, 751, 18, 1282, 2747, 1333, 1031, 31, 7734, 727, 509, 8350, 67, 2664, 4464, 273, 943, 2624, 31, 540, 727, 509, 15234, 67, 2664, 4464, 273, 8350, 67, 2664, 4464, 397, 943, 5555, 31, 540, 368, 2110, 63, 20, 1648, 277, 411, 8350, 67, 2664, 4464, 14542, 2110, 501, 3639, 368, 2110, 63, 7716, 67, 2664, 4464, 1648, 277, 411, 15234, 67, 2664, 4464, 14542, 3152, 3639, 368, 2110, 63, 14922, 67, 2664, 4464, 1648, 277, 14542, 225, 368, 1399, 364, 394, 5814, 19, 407, 278, 30752, 5527, 18, 3639, 368, 612, 2110, 63, 92, 65, 422, 2383, 48, 67, 23464, 47, 16, 2863, 460, 364, 2110, 63, 92, 65, 353, 316, 272, 40, 3083, 63, 92, 65, 7734, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 7734, 1033, 8526, 2110, 273, 394, 1033, 63, 14922, 67, 2664, 4464, 397, 943, 1333, 1031, 15533, 3639, 1645, 8526, 272, 40, 3083, 273, 394, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 565, 22780, 15261, 16, 1033, 8526, 833, 16, 4766, 565, 22780, 2295, 1162, 3651, 16, 4766, 282, 5294, 11599, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 509, 277, 31, 3639, 1033, 8499, 31, 3639, 727, 509, 943, 2624, 273, 326, 751, 18, 1282, 2747, 2624, 31, 3639, 727, 509, 943, 5555, 273, 326, 751, 18, 1282, 3092, 1388, 18, 1467, 5621, 3639, 727, 509, 943, 1333, 1031, 273, 326, 751, 18, 1282, 2747, 1333, 1031, 31, 7734, 727, 509, 8350, 67, 2664, 4464, 273, 943, 2624, 31, 540, 727, 509, 15234, 67, 2664, 4464, 273, 8350, 67, 2664, 4464, 397, 943, 5555, 2 ]
preview( CorePlugin.RESOURCE_FOLDER + File.separator + removeQuoteString( uriEditor.getText( ) ) );
preview( removeQuoteString( uriEditor.getText( ) ) );
private void swtichToResourceType( ) { Label title = new Label( inputArea, SWT.NONE ); uriEditor = new Text( inputArea, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY ); uriEditor.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); uriEditor.addModifyListener( new ModifyListener( ) { public void modifyText( ModifyEvent e ) { updateButtons( ); } } ); Composite innerComp = new Composite( inputArea, SWT.NONE ); innerComp.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END ) ); innerComp.setLayout( new GridLayout( 2, false ) ); title.setText( DLG_ENTER_RESOURCE_FILE_LABEL ); Button inputButton = new Button( innerComp, SWT.PUSH ); inputButton.setText( Messages.getString( "ImageBuilder.ButtonBrowser" ) ); //$NON-NLS-1$ inputButton.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END ) ); inputButton.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent event ) { openResourceBrowser( ); } } ); previewButton = new Button( innerComp, SWT.PUSH ); previewButton.setText( DLG_PREVIEW_LABEL ); previewButton.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END ) ); previewButton.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent event ) { uriEditor.setText( uriEditor.getText( ).trim( ) ); preview( CorePlugin.RESOURCE_FOLDER + File.separator + removeQuoteString( uriEditor.getText( ) ) ); } } ); initURIEditor( ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/f06fb5699fc635c9c62b83fb721c2da353cf68a6/ImageBuilder.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ImageBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1352, 88, 1354, 774, 15631, 12, 262, 202, 95, 202, 202, 2224, 2077, 273, 394, 5287, 12, 810, 5484, 16, 348, 8588, 18, 9826, 11272, 202, 202, 1650, 6946, 273, 394, 3867, 12, 810, 5484, 16, 348, 8588, 18, 20184, 9506, 202, 96, 348, 8588, 18, 38, 7954, 9506, 202, 96, 348, 8588, 18, 6949, 67, 10857, 11272, 202, 202, 1650, 6946, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 202, 202, 1650, 6946, 18, 1289, 11047, 2223, 12, 394, 9518, 2223, 12, 262, 288, 1082, 202, 482, 918, 5612, 1528, 12, 9518, 1133, 425, 262, 1082, 202, 95, 9506, 202, 2725, 14388, 12, 11272, 1082, 202, 97, 202, 202, 97, 11272, 202, 202, 9400, 3443, 2945, 273, 394, 14728, 12, 810, 5484, 16, 348, 8588, 18, 9826, 11272, 202, 202, 7872, 2945, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 44, 20344, 67, 26439, 67, 4415, 262, 11272, 202, 202, 7872, 2945, 18, 542, 3744, 12, 394, 7145, 3744, 12, 576, 16, 629, 262, 11272, 202, 202, 2649, 18, 542, 1528, 12, 463, 48, 43, 67, 12278, 67, 11395, 67, 3776, 67, 13545, 11272, 9506, 202, 3616, 810, 3616, 273, 394, 12569, 12, 3443, 2945, 16, 348, 8588, 18, 30348, 11272, 202, 202, 2630, 3616, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 2040, 1263, 18, 3616, 9132, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 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, 1352, 88, 1354, 774, 15631, 12, 262, 202, 95, 202, 202, 2224, 2077, 273, 394, 5287, 12, 810, 5484, 16, 348, 8588, 18, 9826, 11272, 202, 202, 1650, 6946, 273, 394, 3867, 12, 810, 5484, 16, 348, 8588, 18, 20184, 9506, 202, 96, 348, 8588, 18, 38, 7954, 9506, 202, 96, 348, 8588, 18, 6949, 67, 10857, 11272, 202, 202, 1650, 6946, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 202, 202, 1650, 6946, 18, 1289, 11047, 2223, 12, 394, 9518, 2223, 12, 262, 288, 1082, 202, 482, 918, 5612, 1528, 12, 9518, 1133, 425, 262, 1082, 202, 95, 9506, 202, 2725, 14388, 12, 11272, 2 ]
case 3 :
case 3:
private String printXFormat(int x) { String sx = null; if (x == Integer.MIN_VALUE) { sx = "80000000"; } else if (x < 0) { String t = Integer.toString((~(-x - 1)) ^ Integer.MIN_VALUE, 16); switch (t.length()) { case 1 : sx = "8000000" + t; break; case 2 : sx = "800000" + t; break; case 3 : sx = "80000" + t; break; case 4 : sx = "8000" + t; break; case 5 : sx = "800" + t; break; case 6 : sx = "80" + t; break; case 7 : sx = "8" + t; break; case 8 : switch (t.charAt(0)) { case '1' : sx = "9" + t.substring(1, 8); break; case '2' : sx = "a" + t.substring(1, 8); break; case '3' : sx = "b" + t.substring(1, 8); break; case '4' : sx = "c" + t.substring(1, 8); break; case '5' : sx = "d" + t.substring(1, 8); break; case '6' : sx = "e" + t.substring(1, 8); break; case '7' : sx = "f" + t.substring(1, 8); break; default : // noop } break; default : // noop } } else { sx = Integer.toString(x, 16); } return printXFormat(sx); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/81a0eece47a6b5f01a9201699d7d2364fc0b93c5/PrintfFormat.java/buggy/src/org/opencms/util/PrintfFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 514, 1172, 60, 1630, 12, 474, 619, 13, 288, 5411, 514, 13280, 273, 446, 31, 5411, 309, 261, 92, 422, 2144, 18, 6236, 67, 4051, 13, 288, 7734, 13280, 273, 315, 28, 17877, 14432, 5411, 289, 469, 309, 261, 92, 411, 374, 13, 288, 7734, 514, 268, 273, 2144, 18, 10492, 12443, 98, 19236, 92, 300, 404, 3719, 3602, 2144, 18, 6236, 67, 4051, 16, 2872, 1769, 7734, 1620, 261, 88, 18, 2469, 10756, 288, 10792, 648, 404, 294, 13491, 13280, 273, 315, 28, 9449, 6, 397, 268, 31, 13491, 898, 31, 10792, 648, 576, 294, 13491, 13280, 273, 315, 28, 11706, 6, 397, 268, 31, 13491, 898, 31, 10792, 648, 890, 30, 13491, 13280, 273, 315, 28, 2787, 6, 397, 268, 31, 13491, 898, 31, 10792, 648, 1059, 294, 13491, 13280, 273, 315, 26021, 6, 397, 268, 31, 13491, 898, 31, 10792, 648, 1381, 294, 13491, 13280, 273, 315, 17374, 6, 397, 268, 31, 13491, 898, 31, 10792, 648, 1666, 294, 13491, 13280, 273, 315, 3672, 6, 397, 268, 31, 13491, 898, 31, 10792, 648, 2371, 294, 13491, 13280, 273, 315, 28, 6, 397, 268, 31, 13491, 898, 31, 10792, 648, 1725, 294, 13491, 1620, 261, 88, 18, 3001, 861, 12, 20, 3719, 288, 18701, 648, 296, 21, 11, 294, 27573, 13280, 273, 315, 29, 6, 397, 268, 18, 28023, 12, 21, 16, 1725, 1769, 27573, 898, 31, 18701, 648, 296, 22, 11, 294, 27573, 13280, 273, 315, 69, 6, 397, 268, 18, 28023, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 514, 1172, 60, 1630, 12, 474, 619, 13, 288, 5411, 514, 13280, 273, 446, 31, 5411, 309, 261, 92, 422, 2144, 18, 6236, 67, 4051, 13, 288, 7734, 13280, 273, 315, 28, 17877, 14432, 5411, 289, 469, 309, 261, 92, 411, 374, 13, 288, 7734, 514, 268, 273, 2144, 18, 10492, 12443, 98, 19236, 92, 300, 404, 3719, 3602, 2144, 18, 6236, 67, 4051, 16, 2872, 1769, 7734, 1620, 261, 88, 18, 2469, 10756, 288, 10792, 648, 404, 294, 13491, 13280, 273, 315, 28, 9449, 6, 397, 268, 31, 13491, 898, 31, 10792, 648, 576, 294, 13491, 13280, 273, 315, 28, 11706, 6, 397, 268, 31, 13491, 898, 31, 10792, 648, 890, 30, 13491, 13280, 273, 315, 2 ]
public void ackReceived(SIPRequest sipRequest) {
void ackReceived(SIPRequest sipRequest) {
public void ackReceived(SIPRequest sipRequest) { // Suppress retransmission of the final response (in case // retransmission filter is being used). if (this.ackSeen) return; SIPServerTransaction tr = this.getInviteTransaction(); if (tr != null) { if (tr.getCSeq() == sipRequest.getCSeq().getSequenceNumber()) { //st.setState(SIPTransaction.TERMINATED_STATE); this.ackSeen = true; this.lastAck = sipRequest; if (LogWriter.needsLogging) { sipStack.logWriter.logMessage("ackReceived for " + ((SIPTransaction) tr).getMethod()); this.ackLine = sipStack.logWriter.getLineCount(); this.printDebugInfo(); } this.setState(CONFIRMED_STATE); } } }
7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/SIPDialog.java/clean/trunk/src/gov/nist/javax/sip/stack/SIPDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 8479, 8872, 12, 17739, 691, 10341, 691, 13, 288, 3639, 368, 4598, 283, 2338, 3951, 434, 326, 727, 766, 261, 267, 648, 3639, 368, 283, 2338, 3951, 1034, 353, 3832, 1399, 2934, 3639, 309, 261, 2211, 18, 484, 15160, 13, 5411, 327, 31, 3639, 348, 2579, 2081, 3342, 433, 273, 333, 18, 588, 22730, 3342, 5621, 3639, 309, 261, 313, 480, 446, 13, 288, 5411, 309, 261, 313, 18, 588, 39, 6926, 1435, 422, 10341, 691, 18, 588, 39, 6926, 7675, 588, 21047, 10756, 288, 7734, 368, 334, 18, 542, 1119, 12, 17739, 3342, 18, 29516, 6344, 67, 7998, 1769, 7734, 333, 18, 484, 15160, 273, 638, 31, 7734, 333, 18, 2722, 11931, 273, 10341, 691, 31, 7734, 309, 261, 1343, 2289, 18, 20600, 7735, 13, 288, 10792, 10341, 2624, 18, 1330, 2289, 18, 1330, 1079, 2932, 484, 8872, 364, 315, 18701, 397, 14015, 17739, 3342, 13, 433, 2934, 588, 1305, 10663, 10792, 333, 18, 484, 1670, 273, 10341, 2624, 18, 1330, 2289, 18, 588, 1670, 1380, 5621, 10792, 333, 18, 1188, 2829, 966, 5621, 7734, 289, 7734, 333, 18, 542, 1119, 12, 2248, 1653, 54, 25773, 67, 7998, 1769, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 8479, 8872, 12, 17739, 691, 10341, 691, 13, 288, 3639, 368, 4598, 283, 2338, 3951, 434, 326, 727, 766, 261, 267, 648, 3639, 368, 283, 2338, 3951, 1034, 353, 3832, 1399, 2934, 3639, 309, 261, 2211, 18, 484, 15160, 13, 5411, 327, 31, 3639, 348, 2579, 2081, 3342, 433, 273, 333, 18, 588, 22730, 3342, 5621, 3639, 309, 261, 313, 480, 446, 13, 288, 5411, 309, 261, 313, 18, 588, 39, 6926, 1435, 422, 10341, 691, 18, 588, 39, 6926, 7675, 588, 21047, 10756, 288, 7734, 368, 334, 18, 542, 1119, 12, 17739, 3342, 18, 29516, 6344, 67, 7998, 1769, 7734, 333, 18, 484, 15160, 273, 638, 31, 7734, 333, 18, 2722, 11931, 273, 10341, 691, 31, 2 ]
value = "( 0.1.2.3.4.5.6.7.8.9 )";
value = "( 0.1.2.3.4.5.6.7.8.9 "+required+" )";
public static void testNumericOid( AbstractSchemaParser parser ) throws ParseException { String value = null; AbstractSchemaDescription asd = null; // null test value = null; try { parser.parse( value ); TestCase.fail( "Exception expected, null" ); } catch ( ParseException pe ) { // expected } // no oid value = "( )"; try { parser.parse( value ); TestCase.fail( "Exception expected, no NUMERICOID" ); } catch ( ParseException pe ) { // expected } // simple value = "( 0.1.2.3.4.5.6.7.8.9 )"; asd = parser.parse( value ); TestCase.assertEquals( "0.1.2.3.4.5.6.7.8.9", asd.getNumericOid() ); // simple value = "( 123.4567.890 )"; asd = parser.parse( value ); TestCase.assertEquals( "123.4567.890", asd.getNumericOid() ); // simple with spaces value = "( 0.1.2.3.4.5.6.7.8.9 )"; asd = parser.parse( value ); TestCase.assertEquals( "0.1.2.3.4.5.6.7.8.9", asd.getNumericOid() ); // non-numeric not allowed value = "( test )"; try { parser.parse( value ); TestCase.fail( "Exception expected, invalid NUMERICOID test" ); } catch ( ParseException pe ) { // expected } // to short value = "( 1 )"; try { parser.parse( value ); TestCase.fail( "Exception expected, invalid NUMERICOID 1" ); } catch ( ParseException pe ) { // expected } // dot only value = "( . )"; try { parser.parse( value ); TestCase.fail( "Exception expected, invalid NUMERICOID ." ); } catch ( ParseException pe ) { // expected } // ends with dot value = "( 1.1. )"; try { parser.parse( value ); TestCase.fail( "Exception expected, invalid NUMERICOID 1.1." ); } catch ( ParseException pe ) { // expected } // quotes not allowed value = "( '1.1' )"; try { parser.parse( value ); TestCase.fail( "Exception expected, invalid NUMERICOID '1.1' (quoted)" ); } catch ( ParseException pe ) { // expected } // leading 0 not allowed value = "( 01.1 )"; try { parser.parse( value ); TestCase.fail( "Exception expected, invalid NUMERICOID 01.1 (leading zero)" ); } catch ( ParseException pe ) { // expected } // alpha not allowed value = "( 1.2.a.4 )"; try { parser.parse( value ); TestCase.fail( "Exception expected, invalid NUMERICOID 1.2.a.4 (alpha not allowed)" ); } catch ( ParseException pe ) { // expected } }
54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/ff44f37d485d24a3daa2141ea35c2b831557c20a/SchemaParserTestUtils.java/buggy/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/SchemaParserTestUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1842, 9902, 19105, 12, 4115, 3078, 2678, 2082, 262, 1216, 10616, 565, 288, 3639, 514, 460, 273, 446, 31, 3639, 4115, 3078, 3291, 487, 72, 273, 446, 31, 3639, 368, 446, 1842, 3639, 460, 273, 446, 31, 3639, 775, 3639, 288, 5411, 2082, 18, 2670, 12, 460, 11272, 5411, 7766, 2449, 18, 6870, 12, 315, 503, 2665, 16, 446, 6, 11272, 3639, 289, 3639, 1044, 261, 10616, 2804, 262, 3639, 288, 5411, 368, 2665, 3639, 289, 3639, 368, 1158, 7764, 3639, 460, 273, 7751, 262, 14432, 3639, 775, 3639, 288, 5411, 2082, 18, 2670, 12, 460, 11272, 5411, 7766, 2449, 18, 6870, 12, 315, 503, 2665, 16, 1158, 31288, 12945, 6, 11272, 3639, 289, 3639, 1044, 261, 10616, 2804, 262, 3639, 288, 5411, 368, 2665, 3639, 289, 3639, 368, 4143, 3639, 460, 273, 7751, 374, 18, 21, 18, 22, 18, 23, 18, 24, 18, 25, 18, 26, 18, 27, 18, 28, 18, 29, 262, 14432, 3639, 487, 72, 273, 2082, 18, 2670, 12, 460, 11272, 3639, 7766, 2449, 18, 11231, 8867, 12, 315, 20, 18, 21, 18, 22, 18, 23, 18, 24, 18, 25, 18, 26, 18, 27, 18, 28, 18, 29, 3113, 487, 72, 18, 588, 9902, 19105, 1435, 11272, 3639, 368, 4143, 3639, 460, 273, 7751, 17335, 18, 24, 17339, 18, 6675, 20, 262, 14432, 3639, 487, 72, 273, 2082, 18, 2670, 12, 460, 11272, 3639, 7766, 2449, 18, 11231, 8867, 12, 315, 12936, 18, 24, 17339, 18, 6675, 20, 3113, 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, 1842, 9902, 19105, 12, 4115, 3078, 2678, 2082, 262, 1216, 10616, 565, 288, 3639, 514, 460, 273, 446, 31, 3639, 4115, 3078, 3291, 487, 72, 273, 446, 31, 3639, 368, 446, 1842, 3639, 460, 273, 446, 31, 3639, 775, 3639, 288, 5411, 2082, 18, 2670, 12, 460, 11272, 5411, 7766, 2449, 18, 6870, 12, 315, 503, 2665, 16, 446, 6, 11272, 3639, 289, 3639, 1044, 261, 10616, 2804, 262, 3639, 288, 5411, 368, 2665, 3639, 289, 3639, 368, 1158, 7764, 3639, 460, 273, 7751, 262, 14432, 3639, 775, 3639, 288, 5411, 2082, 18, 2670, 12, 460, 11272, 5411, 7766, 2449, 18, 6870, 12, 315, 503, 2665, 16, 1158, 31288, 12945, 6, 11272, 3639, 289, 3639, 2 ]
strBuffer.append("<a href=\""+path+"/viewSection.do?index="+i+"\""+ " onclick=\"houdini('"+infoSection.getName()+"');\">\n");
strBuffer.append( "<a href=\"" + path + "/viewSection.do?index=" + i + "&amp;exeCode=" + getInfoSection() .getInfoSite() .getInfoExecutionCourse() .getSigla() + "&amp;ePName=" + getInfoSection() .getInfoSite() .getInfoExecutionCourse() .getInfoExecutionPeriod() .getName() + "&amp;eYName=" + getInfoSection() .getInfoSite() .getInfoExecutionCourse() .getInfoExecutionPeriod() .getInfoExecutionYear() .getYear() + "\"" + " onclick=\"houdini('" + infoSection.getName() + "');\">\n");
private StringBuffer renderDepthContent(InfoSection infoSection, int i,String path) { StringBuffer strBuffer = new StringBuffer(); int depth = infoSection.getSectionDepth().intValue(); if (depth == 0){ //adds the info strBuffer.append("<ul><li>\n"); strBuffer.append(renderDepthIdent(getInfoSection())); strBuffer.append("<a href=\""+path+"/viewSection.do?index="+i+"\""+ " onclick=\"houdini('"+infoSection.getName()+"');\">\n"); strBuffer.append(infoSection.getName()); strBuffer.append("</a>"); strBuffer.append("</li></ul>\n");} else { //adds the info strBuffer.append("<dd>"); strBuffer.append(renderDepthIdent(getInfoSection())); strBuffer.append("<a href=\"viewSection.do?index="+i+"\" >"); //falta o index strBuffer.append(infoSection.getName()); strBuffer.append("</a>"); strBuffer.append("</dd>\n");} return strBuffer; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/15c854d77812c45c36846ad617a990cbc575b564/SectionMenuContentRenderer.java/buggy/src/ServidorApresentacao/TagLib/publico/sectionMenu/renderers/SectionMenuContentRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 6674, 1743, 6148, 1350, 12, 966, 5285, 1123, 5285, 16, 509, 277, 16, 780, 589, 13, 288, 1082, 202, 780, 1892, 609, 1892, 273, 394, 6674, 5621, 1082, 202, 474, 3598, 273, 1123, 5285, 18, 588, 5285, 6148, 7675, 474, 620, 5621, 1082, 202, 430, 261, 5979, 422, 374, 15329, 9506, 202, 759, 25428, 326, 1123, 25083, 202, 701, 1892, 18, 6923, 2932, 32, 332, 4438, 549, 5333, 82, 8863, 1082, 202, 701, 1892, 18, 6923, 12, 5902, 6148, 6106, 12, 588, 966, 5285, 1435, 10019, 25083, 202, 701, 1892, 18, 6923, 2932, 32, 69, 3897, 13186, 15, 803, 9078, 19, 1945, 5285, 18, 2896, 35, 1615, 1546, 15, 77, 9078, 8530, 15, 315, 22324, 5189, 15008, 1100, 8767, 22076, 15, 1376, 5285, 18, 17994, 1435, 15, 5187, 1769, 28219, 82, 8863, 6862, 6862, 202, 701, 1892, 18, 6923, 12, 1376, 5285, 18, 17994, 10663, 6862, 6862, 9506, 202, 701, 1892, 18, 6923, 2932, 1757, 69, 2984, 1769, 1082, 202, 701, 1892, 18, 6923, 2932, 1757, 549, 4695, 332, 5333, 82, 8863, 97, 1082, 202, 12107, 288, 9506, 202, 759, 25428, 326, 1123, 1082, 202, 701, 1892, 18, 6923, 2932, 32, 449, 2984, 1769, 6862, 9506, 202, 701, 1892, 18, 6923, 12, 5902, 6148, 6106, 12, 588, 966, 5285, 1435, 10019, 1082, 202, 701, 1892, 18, 6923, 2932, 32, 69, 3897, 5189, 1945, 5285, 18, 2896, 35, 1615, 1546, 15, 77, 9078, 2412, 405, 8863, 1082, 202, 759, 74, 287, 2351, 320, 770, 9944, 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, 6674, 1743, 6148, 1350, 12, 966, 5285, 1123, 5285, 16, 509, 277, 16, 780, 589, 13, 288, 1082, 202, 780, 1892, 609, 1892, 273, 394, 6674, 5621, 1082, 202, 474, 3598, 273, 1123, 5285, 18, 588, 5285, 6148, 7675, 474, 620, 5621, 1082, 202, 430, 261, 5979, 422, 374, 15329, 9506, 202, 759, 25428, 326, 1123, 25083, 202, 701, 1892, 18, 6923, 2932, 32, 332, 4438, 549, 5333, 82, 8863, 1082, 202, 701, 1892, 18, 6923, 12, 5902, 6148, 6106, 12, 588, 966, 5285, 1435, 10019, 25083, 202, 701, 1892, 18, 6923, 2932, 32, 69, 3897, 13186, 15, 803, 9078, 19, 1945, 5285, 18, 2896, 35, 1615, 1546, 15, 77, 9078, 8530, 15, 315, 22324, 5189, 2 ]
}
}
protected void setUp() throws Exception { /*** * Setup the various files, paths and projects that are needed by the * tests */ String pluginRoot = Platform.asLocalURL(Platform.getPlugin("org.eclipse.cdt.core.tests").getDescriptor().getInstallURL()).getFile(); testProject=CProjectHelper.createCProject("filetest", "none"); if (testProject==null) fail("Unable to create project"); cfile = testProject.getProject().getFile("exetest.c"); if (!cfile.exists()) { cfile.create(new FileInputStream(pluginRoot+"resources/exe/main.c"),false, monitor); } cpath=new Path(workspace.getRoot().getLocation()+"/filetest/main.c"); objfile = testProject.getProject().getFile("exetest.o"); if (!objfile.exists()) { objfile.create(new FileInputStream(pluginRoot+"resources/exe/x86/o.g/main.o"),false, monitor); } objpath=new Path(workspace.getRoot().getLocation()+"/filetest/main.o"); exefile = testProject.getProject().getFile("test_g"); if (!exefile.exists()) { exefile.create(new FileInputStream(pluginRoot+"resources/exe/x86/o.g/exe_g"),false, monitor); } exepath=new Path(workspace.getRoot().getLocation()+"/filetest/exe_g"); archfile = testProject.getProject().getFile("libtestlib_g.a"); if (!archfile.exists()) { archfile.create(new FileInputStream(pluginRoot+"resources/testlib/x86/a.g/libtestlib_g.a"),false, monitor); } libpath=new Path(workspace.getRoot().getLocation()+"/filetest/libtestlib_g.so"); libfile = testProject.getProject().getFile("libtestlib_g.so"); if (!libfile.exists()) { libfile.create(new FileInputStream(pluginRoot+"resources/testlib/x86/so.g/libtestlib_g.so"),false, monitor); } archpath=new Path(workspace.getRoot().getLocation()+"/filetest/libtestlib_g.a"); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7e32d05829ae25bb1d9048b6df48d0d47354d980/ArchiveTests.java/buggy/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/ArchiveTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 1216, 1185, 288, 10792, 1783, 14, 540, 380, 10939, 326, 11191, 1390, 16, 2953, 471, 10137, 716, 854, 3577, 635, 326, 540, 380, 7434, 540, 1195, 202, 202, 780, 1909, 2375, 273, 11810, 18, 345, 2042, 1785, 12, 8201, 18, 588, 3773, 2932, 3341, 18, 20416, 18, 4315, 88, 18, 3644, 18, 16341, 20387, 588, 3187, 7675, 588, 6410, 1785, 1435, 2934, 29925, 5621, 3639, 1842, 4109, 33, 39, 4109, 2276, 18, 2640, 39, 4109, 2932, 7540, 278, 395, 3113, 315, 6102, 8863, 3639, 309, 261, 3813, 4109, 631, 2011, 13, 5411, 2321, 2932, 3370, 358, 752, 1984, 8863, 3639, 276, 768, 273, 1842, 4109, 18, 588, 4109, 7675, 29925, 2932, 338, 278, 395, 18, 71, 8863, 3639, 309, 16051, 71, 768, 18, 1808, 10756, 288, 5411, 276, 768, 18, 2640, 12, 2704, 11907, 12, 4094, 2375, 9078, 4683, 19, 14880, 19, 5254, 18, 71, 6, 3631, 5743, 16, 6438, 1769, 2868, 289, 3639, 276, 803, 33, 2704, 2666, 12, 14915, 18, 588, 2375, 7675, 588, 2735, 1435, 9078, 19, 7540, 278, 395, 19, 5254, 18, 71, 8863, 3639, 1081, 768, 273, 1842, 4109, 18, 588, 4109, 7675, 29925, 2932, 338, 278, 395, 18, 83, 8863, 3639, 309, 16051, 2603, 768, 18, 1808, 10756, 288, 5411, 1081, 768, 18, 2640, 12, 2704, 11907, 12, 4094, 2375, 9078, 4683, 19, 14880, 19, 92, 5292, 19, 83, 18, 75, 19, 5254, 18, 83, 6, 3631, 5743, 16, 6438, 1769, 2868, 289, 3639, 1081, 803, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 1216, 1185, 288, 10792, 1783, 14, 540, 380, 10939, 326, 11191, 1390, 16, 2953, 471, 10137, 716, 854, 3577, 635, 326, 540, 380, 7434, 540, 1195, 202, 202, 780, 1909, 2375, 273, 11810, 18, 345, 2042, 1785, 12, 8201, 18, 588, 3773, 2932, 3341, 18, 20416, 18, 4315, 88, 18, 3644, 18, 16341, 20387, 588, 3187, 7675, 588, 6410, 1785, 1435, 2934, 29925, 5621, 3639, 1842, 4109, 33, 39, 4109, 2276, 18, 2640, 39, 4109, 2932, 7540, 278, 395, 3113, 315, 6102, 8863, 3639, 309, 261, 3813, 4109, 631, 2011, 13, 5411, 2321, 2932, 3370, 358, 752, 1984, 8863, 3639, 276, 768, 273, 1842, 4109, 18, 588, 4109, 7675, 29925, 2932, 338, 278, 395, 2 ]
public Vector ejectEntity(Entity entity, boolean autoEject) { Vector vDesc = new Vector(); Report r; // An entity can only eject it's crew once. if (entity.getCrew().isEjected()) return vDesc; // If the crew are already dead, don't bother if(entity.getCrew().isDead() || entity.getCrew().isDoomed()) return vDesc; // Mek pilots may get hurt during ejection, // and run around the board afterwards. if (entity instanceof Mech) { PilotingRollData rollTarget = new PilotingRollData(entity.getId(), entity.getCrew().getPiloting(), "ejecting"); if (entity.isProne()) { rollTarget.addModifier(5, "Mech is prone"); } if (entity.getCrew().isUnconscious()) { rollTarget.addModifier(3, "pilot unconscious"); } if (autoEject) { rollTarget.addModifier(1, "automatic ejection"); } if (entity.getInternal(Mech.LOC_HEAD) < 3) { rollTarget.addModifier(Math.min(3 - entity.getInternal(Mech.LOC_HEAD),2), "Head Internal Structure Damage"); } int facing = entity.getFacing(); Coords targetCoords = entity.getPosition().translated((facing + 3)%6); IHex targetHex = game.getBoard().getHex(targetCoords); if (targetHex != null) { if (targetHex.terrainLevel(Terrains.WATER) > 0 && !(targetHex.containsTerrain(Terrains.ICE))) { rollTarget.addModifier(-1, "landing in water"); } else if (targetHex.containsTerrain(Terrains.ROUGH)) { rollTarget.addModifier(0, "landing in rough"); } else if (targetHex.containsTerrain(Terrains.RUBBLE)) { rollTarget.addModifier(0, "landing in rubble"); } else if (targetHex.terrainLevel(Terrains.WOODS) == 1) { rollTarget.addModifier(2, "landing in light woods"); } else if (targetHex.terrainLevel(Terrains.WOODS) == 2) { rollTarget.addModifier(3, "landing in heavy woods"); } else if (targetHex.terrainLevel(Terrains.WOODS) == 3) { rollTarget.addModifier(4, "landing in ultra heavy woods"); } else if (targetHex.terrainLevel(Terrains.JUNGLE) == 1) { rollTarget.addModifier(3, "landing in light jungle"); } else if (targetHex.terrainLevel(Terrains.JUNGLE) == 2) { rollTarget.addModifier(5, "landing in heavy jungle"); } else if (targetHex.terrainLevel(Terrains.JUNGLE) == 3) { rollTarget.addModifier(7, "landing in ultra heavy jungle"); } else if (targetHex.terrainLevel(Terrains.BLDG_ELEV) > 0) { rollTarget.addModifier(targetHex.terrainLevel(Terrains.BLDG_ELEV), "landing in a building"); } else rollTarget.addModifier(-2, "landing in clear terrain"); } else { rollTarget.addModifier(-2, "landing off the board"); } if (autoEject) { r = new Report(6395); r.subject = entity.getId(); r.addDesc(entity); r.indent(2); r.newlines = 0; vDesc.addElement(r); } // okay, print the info r = new Report(2180); r.subject = entity.getId(); r.addDesc(entity); r.add(rollTarget.getLastPlainDesc(), true); r.indent(3); vDesc.addElement(r); // roll final int diceRoll = Compute.d6(2); r = new Report(2190); r.subject = entity.getId(); r.add(rollTarget.getValueAsString()); r.add(rollTarget.getDesc()); r.add(diceRoll); r.indent(4); r.newlines = 0; // create the MechWarrior in any case, for campaign tracking MechWarrior pilot = new MechWarrior(entity); pilot.setDeployed(true); pilot.setId(getFreeEntityId()); game.addEntity(pilot.getId(), pilot); send(createAddEntityPacket(pilot.getId())); // make him not get a move this turn pilot.setDone(true); if (diceRoll < rollTarget.getValue()) { r.choose(false); vDesc.addElement(r); Report.addNewline(vDesc); Vector v = damageCrew(pilot, 1); if(v.size() > 0) { r = (Report)v.firstElement(); r.indent(3); vDesc.addElement(r); } } else { r.choose(true); vDesc.addElement(r); } if (entity.getCrew().isDoomed()) { vDesc.addAll( destroyEntity(pilot, "deadly ejection", false, false)); } else { // Add the pilot as an infantry unit on the battlefield. if (game.getBoard().contains(targetCoords)) { pilot.setPosition(targetCoords);/* Can pilots eject into water??? ASSUMPTION : They can (because they get a -1 mod to the PSR. // Did the pilot land in water? if ( game.getBoard().getHex( targetCoords).levelOf ( Terrain.WATER ) > 0 ) { //report missing desc.append("and the pilot ejects, but lands in water!!!\n"); //report missing desc.append(destroyEntity( pilot, "a watery grave", false )); } else { //report missing desc.append("and the pilot ejects safely!\n"); }*/ //report safe ejection r = new Report(6400); r.subject = entity.getId(); r.indent(5); vDesc.addElement(r); if (game.getOptions().booleanOption("vacuum")) { //ended up in a vacuum r = new Report(6405); r.subject = entity.getId(); r.indent(3); vDesc.addElement(r); vDesc.addAll( destroyEntity(pilot, "explosive decompression", false, false)); } // Update the entity this.entityUpdate(pilot.getId()); // check if the pilot lands in a minefield doEntityDisplacementMinefieldCheck( pilot, entity.getPosition(), targetCoords ); } else { //ejects safely r = new Report(6410); r.subject = entity.getId(); r.indent(3); vDesc.addElement(r); if (game.getOptions().booleanOption("vacuum")) { //landed in vacuum r = new Report(6405); r.subject = entity.getId(); r.indent(3); vDesc.addElement(r); vDesc.addAll( destroyEntity(pilot, "explosive decompression", false, false)); } else { game.removeEntity( pilot.getId(), IEntityRemovalConditions.REMOVE_IN_RETREAT ); send(createRemoveEntityPacket(pilot.getId(), IEntityRemovalConditions.REMOVE_IN_RETREAT) ); } } if (game.getOptions().booleanOption("ejected_pilots_flee")) { game.removeEntity(pilot.getId(), IEntityRemovalConditions.REMOVE_IN_RETREAT); send(createRemoveEntityPacket(pilot.getId(), IEntityRemovalConditions.REMOVE_IN_RETREAT)); } } // Pilot safely ejects. } // End entity-is-Mek // Mark the entity's crew as "ejected". entity.getCrew().setEjected( true ); vDesc.addAll( destroyEntity(entity, "ejection", true, true)); // only remove the unit that ejected manually if (!autoEject) { game.removeEntity( entity.getId(), IEntityRemovalConditions.REMOVE_EJECTED ); send(createRemoveEntityPacket(entity.getId(), IEntityRemovalConditions.REMOVE_EJECTED)); } return vDesc; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/c2a90fca192b338ebf5162499c52b535aed6382b/Server.java/clean/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5589, 425, 937, 1943, 12, 1943, 1522, 16, 1250, 3656, 41, 937, 13, 288, 3639, 5589, 331, 4217, 273, 394, 5589, 5621, 3639, 8706, 436, 31, 3639, 368, 1922, 1522, 848, 1338, 425, 937, 518, 1807, 1519, 91, 3647, 18, 3639, 309, 261, 1096, 18, 588, 1996, 91, 7675, 291, 41, 6059, 10756, 5411, 327, 331, 4217, 31, 7734, 368, 971, 326, 1519, 91, 854, 1818, 8363, 16, 2727, 1404, 23440, 3639, 309, 12, 1096, 18, 588, 1996, 91, 7675, 291, 11852, 1435, 747, 1522, 18, 588, 1996, 91, 7675, 291, 3244, 362, 329, 10756, 5411, 327, 331, 4217, 31, 3639, 368, 490, 3839, 24970, 6968, 2026, 336, 366, 295, 88, 4982, 425, 3710, 16, 3639, 368, 471, 1086, 6740, 326, 11094, 23838, 18, 3639, 309, 261, 1096, 1276, 7499, 343, 13, 288, 5411, 453, 330, 17128, 24194, 751, 5824, 2326, 273, 394, 453, 330, 17128, 24194, 751, 12, 1096, 18, 26321, 9334, 1522, 18, 588, 1996, 91, 7675, 588, 52, 330, 17128, 9334, 315, 73, 937, 310, 8863, 5411, 309, 261, 1096, 18, 291, 2050, 476, 10756, 288, 7734, 5824, 2326, 18, 1289, 9829, 12, 25, 16, 315, 4667, 343, 353, 846, 476, 8863, 5411, 289, 5411, 309, 261, 1096, 18, 588, 1996, 91, 7675, 291, 984, 591, 1017, 22774, 10756, 288, 7734, 5824, 2326, 18, 1289, 9829, 12, 23, 16, 315, 84, 22797, 23980, 1017, 22774, 8863, 5411, 289, 5411, 309, 261, 6079, 41, 937, 13, 288, 7734, 5824, 2326, 18, 1289, 9829, 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, 5589, 425, 937, 1943, 12, 1943, 1522, 16, 1250, 3656, 41, 937, 13, 288, 3639, 5589, 331, 4217, 273, 394, 5589, 5621, 3639, 8706, 436, 31, 3639, 368, 1922, 1522, 848, 1338, 425, 937, 518, 1807, 1519, 91, 3647, 18, 3639, 309, 261, 1096, 18, 588, 1996, 91, 7675, 291, 41, 6059, 10756, 5411, 327, 331, 4217, 31, 7734, 368, 971, 326, 1519, 91, 854, 1818, 8363, 16, 2727, 1404, 23440, 3639, 309, 12, 1096, 18, 588, 1996, 91, 7675, 291, 11852, 1435, 747, 1522, 18, 588, 1996, 91, 7675, 291, 3244, 362, 329, 10756, 5411, 327, 331, 4217, 31, 3639, 368, 490, 3839, 24970, 6968, 2026, 336, 366, 295, 88, 4982, 425, 3710, 16, 3639, 368, 2 ]
error(component, resourceKey(component), messageModel(component, input, e), input);
error(component, resourceKey(component), messageModel(component, input, e));
protected void conversionError(final FormComponent component, final String input, final ConversionException e) { error(component, resourceKey(component), messageModel(component, input, e), input); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/2bf94ed8cd84baa44f8b971c69f97c6fff6d51be/TypeValidator.java/buggy/wicket/src/java/wicket/markup/html/form/validation/TypeValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4105, 668, 12, 6385, 2748, 1841, 1794, 16, 727, 514, 810, 16, 1082, 202, 6385, 16401, 503, 425, 13, 202, 95, 202, 202, 1636, 12, 4652, 16, 1058, 653, 12, 4652, 3631, 883, 1488, 12, 4652, 16, 810, 16, 425, 3631, 810, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4105, 668, 12, 6385, 2748, 1841, 1794, 16, 727, 514, 810, 16, 1082, 202, 6385, 16401, 503, 425, 13, 202, 95, 202, 202, 1636, 12, 4652, 16, 1058, 653, 12, 4652, 3631, 883, 1488, 12, 4652, 16, 810, 16, 425, 3631, 810, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return false;
if (buffer_code == ONE) { if (index_1 + record_size > OUTPUT_BUFFER_SIZE) { if (! consumer.isActive()) { buffer = buffer_2; index = index_2; buffer_code = TWO; activateConsumer(); return true; } else { if(VM_HardwarePerformanceMonitors.verbose>=3) VM.sysWriteln("***VM_HPM.pickBuffer() missed trace record when buffer_code == ONE!***"); missed_records++; buffer = null; return false; } } else { buffer = buffer_1; index = index_1; buffer_code = ONE; return true; } } else if (buffer_code == TWO) { if (index_2 + record_size > OUTPUT_BUFFER_SIZE) { if (! consumer.isActive()) { buffer = buffer_1; index = index_1; buffer_code = ONE; activateConsumer(); return true; } else { if(VM_HardwarePerformanceMonitors.verbose>=3) VM.sysWriteln("***VM_HPM.pickBuffer() missed trace record when buffer_code == TWO!***"); missed_records++; buffer = null; return false; } } else { buffer = buffer_2; index = index_2; buffer_code = TWO; return true; } } else { VM.sysWriteln("***VM_HPM.pickBuffer() buffer_code ",buffer_code," not 1 or 2!***"); return false; }
private boolean pickBuffer(int record_size) { if (active) { if (buffer_code == ONE) { if (index_1 + record_size > OUTPUT_BUFFER_SIZE) { if (! consumer.isActive()) { // swap buffers and activate consumer to write full buffer to disk buffer = buffer_2; index = index_2; buffer_code = TWO; activateConsumer(); return true; } else { if(VM_HardwarePerformanceMonitors.verbose>=3) VM.sysWriteln("***VM_HPM.pickBuffer() missed trace record when buffer_code == ONE!***"); missed_records++; buffer = null; return false; } } else { buffer = buffer_1; index = index_1; buffer_code = ONE; return true; } } else if (buffer_code == TWO) { if (index_2 + record_size > OUTPUT_BUFFER_SIZE) { if (! consumer.isActive()) { // swap buffers and activate consumer to write full buffer to disk buffer = buffer_1; index = index_1; buffer_code = ONE; activateConsumer(); return true; } else { if(VM_HardwarePerformanceMonitors.verbose>=3) VM.sysWriteln("***VM_HPM.pickBuffer() missed trace record when buffer_code == TWO!***"); missed_records++; buffer = null; return false; } } else { buffer = buffer_2; index = index_2; buffer_code = TWO; return true; } } else { VM.sysWriteln("***VM_HPM.pickBuffer() buffer_code ",buffer_code," not 1 or 2!***"); return false; } } if (notifyExit) { notifyExit = false; ((VM_TraceWriter)consumer).notifyExit = true; activateConsumer(); } return false; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/ad7772b91454763e2da77fa2df0e260b01bd3307/VM_HardwarePerformanceMonitor.java/clean/rvm/src/vm/arch/powerPC/runtime/VM_HardwarePerformanceMonitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 6002, 1892, 12, 474, 1409, 67, 1467, 13, 282, 288, 565, 309, 261, 3535, 13, 288, 1377, 309, 261, 4106, 67, 710, 422, 15623, 13, 288, 202, 430, 261, 1615, 67, 21, 397, 1409, 67, 1467, 405, 11550, 67, 11302, 67, 4574, 13, 288, 202, 225, 309, 16051, 4765, 18, 291, 3896, 10756, 288, 202, 565, 368, 7720, 9664, 471, 10235, 4765, 358, 1045, 1983, 1613, 358, 4234, 202, 565, 1613, 273, 1613, 67, 22, 31, 770, 273, 770, 67, 22, 31, 1613, 67, 710, 273, 24722, 51, 31, 3196, 565, 10235, 5869, 5621, 202, 565, 327, 638, 31, 202, 225, 289, 469, 288, 202, 565, 309, 12, 7397, 67, 44, 14519, 25024, 11415, 13704, 18, 11369, 34, 33, 23, 13, 202, 1377, 8251, 18, 9499, 4913, 292, 82, 2932, 14465, 7397, 67, 2500, 49, 18, 11503, 1892, 1435, 25143, 2606, 1409, 1347, 1613, 67, 710, 422, 15623, 5, 636, 7388, 1769, 202, 565, 25143, 67, 7094, 9904, 31, 202, 565, 1613, 273, 446, 31, 202, 565, 327, 629, 31, 202, 225, 289, 202, 97, 469, 288, 202, 225, 1613, 273, 1613, 67, 21, 31, 770, 273, 770, 67, 21, 31, 1613, 67, 710, 273, 15623, 31, 202, 225, 327, 638, 31, 202, 97, 1377, 289, 469, 309, 261, 4106, 67, 710, 422, 24722, 51, 13, 288, 225, 202, 430, 261, 1615, 67, 22, 397, 1409, 67, 1467, 405, 11550, 67, 11302, 67, 4574, 13, 288, 202, 225, 309, 16051, 4765, 18, 291, 3896, 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, 1250, 6002, 1892, 12, 474, 1409, 67, 1467, 13, 282, 288, 565, 309, 261, 3535, 13, 288, 1377, 309, 261, 4106, 67, 710, 422, 15623, 13, 288, 202, 430, 261, 1615, 67, 21, 397, 1409, 67, 1467, 405, 11550, 67, 11302, 67, 4574, 13, 288, 202, 225, 309, 16051, 4765, 18, 291, 3896, 10756, 288, 202, 565, 368, 7720, 9664, 471, 10235, 4765, 358, 1045, 1983, 1613, 358, 4234, 202, 565, 1613, 273, 1613, 67, 22, 31, 770, 273, 770, 67, 22, 31, 1613, 67, 710, 273, 24722, 51, 31, 3196, 565, 10235, 5869, 5621, 202, 565, 327, 638, 31, 202, 225, 289, 469, 288, 202, 565, 309, 12, 7397, 67, 44, 14519, 25024, 11415, 13704, 18, 2 ]
final Map sourceValuesByName) {
final String sourceName, final Object sourceValue) {
protected final void fireSourceChanged(final int sourcePriority, final Map sourceValuesByName) { for (int i = 0; i < listenerCount; i++) { final ISourceProviderListener listener = listeners[i]; listener.sourceChanged(sourcePriority, sourceValuesByName); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/5abf6fabfddc9bb4eb33acac1f3b4c05f76ac7b1/AbstractSourceProvider.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/AbstractSourceProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 4452, 1830, 5033, 12, 6385, 509, 1084, 8183, 16, 1082, 202, 6385, 1635, 1084, 1972, 5911, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2991, 1380, 31, 277, 27245, 288, 1082, 202, 6385, 467, 1830, 2249, 2223, 2991, 273, 4679, 63, 77, 15533, 1082, 202, 12757, 18, 3168, 5033, 12, 3168, 8183, 16, 1084, 1972, 5911, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 4452, 1830, 5033, 12, 6385, 509, 1084, 8183, 16, 1082, 202, 6385, 1635, 1084, 1972, 5911, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2991, 1380, 31, 277, 27245, 288, 1082, 202, 6385, 467, 1830, 2249, 2223, 2991, 273, 4679, 63, 77, 15533, 1082, 202, 12757, 18, 3168, 5033, 12, 3168, 8183, 16, 1084, 1972, 5911, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_t = __t1999;
_t = __t2000;
public final void skipphrase(AST _t) throws RecognitionException { AST skipphrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1999 = _t; AST tmp2268_AST_in = (AST)_t; match(_t,SKIP); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEFTPAREN: { funargs(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1999; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2488, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2488, 9429, 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, 21, 11984, 273, 389, 88, 31, 202, 202, 9053, 1853, 3787, 9470, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 22589, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 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, 9686, 15111, 30, 202, 202, 95, 1082, 202, 12125, 1968, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 890, 30, 202, 202, 95, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 202, 202, 95, 1082, 202, 12849, 394, 17114, 24899, 88, 1769, 202, 202, 97, 202, 202, 97, 202, 202, 97, 202, 202, 67, 88, 273, 1001, 88, 21, 11984, 31, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 67, 1349, 2471, 273, 389, 88, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2488, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2488, 9429, 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, 21, 11984, 273, 389, 88, 31, 202, 202, 9053, 1853, 3787, 9470, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 22589, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 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, 2 ]
fixProviderUrl(props); String cnnFactoryName = props.getProperty(DEFAULT_JNDI_CONECTION_NAME_PROPERTY); if (cnnFactoryName == null) { throw new IOException("You must set the property " + DEFAULT_JNDI_CONECTION_NAME_PROPERTY + "in the JNDI property file"); } Context ctx = new InitialContext(props); Object obj = lookupObject(ctx, cnnFactoryName); QueueConnectionFactory qcf = (QueueConnectionFactory) obj; QueueConnection cnn; String username = (String) props.get("username"); if (username != null) { String password = (String) props.get("password"); cnn = qcf.createQueueConnection(username, password); } else { cnn = qcf.createQueueConnection(); } cnn.start(); return cnn;
return getQueueConnection(getJmsProperties());
public static QueueConnection getQueueConnection(Properties props) throws IOException, NamingException, JMSException { fixProviderUrl(props); String cnnFactoryName = props.getProperty(DEFAULT_JNDI_CONECTION_NAME_PROPERTY); if (cnnFactoryName == null) { throw new IOException("You must set the property " + DEFAULT_JNDI_CONECTION_NAME_PROPERTY + "in the JNDI property file"); } Context ctx = new InitialContext(props); Object obj = lookupObject(ctx, cnnFactoryName); QueueConnectionFactory qcf = (QueueConnectionFactory) obj; QueueConnection cnn; String username = (String) props.get("username"); if (username != null) { String password = (String) props.get("password"); cnn = qcf.createQueueConnection(username, password); } else { cnn = qcf.createQueueConnection(); } cnn.start(); return cnn; }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/622797224852514e7991542b9871c6b523288c49/JmsTestUtils.java/buggy/tests/vendor/shared/src/java/main/java/org/mule/test/integration/providers/jms/tools/JmsTestUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 7530, 1952, 19511, 1952, 12, 2297, 3458, 13, 1216, 1860, 16, 26890, 16, 5411, 20343, 565, 288, 3639, 2917, 2249, 1489, 12, 9693, 1769, 3639, 514, 6227, 82, 1733, 461, 273, 3458, 18, 588, 1396, 12, 5280, 67, 46, 24513, 67, 2248, 41, 3106, 67, 1985, 67, 9900, 1769, 3639, 309, 261, 71, 9074, 1733, 461, 422, 446, 13, 288, 5411, 604, 394, 1860, 2932, 6225, 1297, 444, 326, 1272, 315, 397, 3331, 67, 46, 24513, 67, 2248, 41, 3106, 67, 1985, 67, 9900, 10792, 397, 315, 267, 326, 804, 24513, 1272, 585, 8863, 3639, 289, 3639, 1772, 1103, 273, 394, 10188, 1042, 12, 9693, 1769, 3639, 1033, 1081, 273, 3689, 921, 12, 5900, 16, 6227, 82, 1733, 461, 1769, 3639, 7530, 18749, 1043, 8522, 273, 261, 3183, 18749, 13, 1081, 31, 3639, 7530, 1952, 6227, 82, 31, 3639, 514, 2718, 273, 261, 780, 13, 3458, 18, 588, 2932, 5053, 8863, 3639, 309, 261, 5053, 480, 446, 13, 288, 5411, 514, 2201, 273, 261, 780, 13, 3458, 18, 588, 2932, 3664, 8863, 5411, 6227, 82, 273, 1043, 8522, 18, 2640, 3183, 1952, 12, 5053, 16, 2201, 1769, 3639, 289, 469, 288, 5411, 6227, 82, 273, 1043, 8522, 18, 2640, 3183, 1952, 5621, 3639, 289, 3639, 6227, 82, 18, 1937, 5621, 3639, 327, 6227, 82, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 760, 7530, 1952, 19511, 1952, 12, 2297, 3458, 13, 1216, 1860, 16, 26890, 16, 5411, 20343, 565, 288, 3639, 2917, 2249, 1489, 12, 9693, 1769, 3639, 514, 6227, 82, 1733, 461, 273, 3458, 18, 588, 1396, 12, 5280, 67, 46, 24513, 67, 2248, 41, 3106, 67, 1985, 67, 9900, 1769, 3639, 309, 261, 71, 9074, 1733, 461, 422, 446, 13, 288, 5411, 604, 394, 1860, 2932, 6225, 1297, 444, 326, 1272, 315, 397, 3331, 67, 46, 24513, 67, 2248, 41, 3106, 67, 1985, 67, 9900, 10792, 397, 315, 267, 326, 804, 24513, 1272, 585, 8863, 3639, 289, 3639, 1772, 1103, 273, 394, 10188, 1042, 12, 9693, 1769, 3639, 1033, 1081, 273, 3689, 921, 12, 5900, 16, 6227, 2 ]
pageContext.setAttribute(Action.EXCEPTION_KEY, e, PageContext.REQUEST_SCOPE);
RequestUtils.saveException(pageContext, e);
protected String hyperlink() throws JspException { if (linkName != null) return (null); // We are not generating a hyperlink // Validate the number of href specifiers that were specified int n = 0; if (forward != null) n++; if (href != null) n++; if (page != null) n++; if (n != 1) { JspException e = new JspException (messages.getMessage("linkTag.destination")); pageContext.setAttribute(Action.EXCEPTION_KEY, e, PageContext.REQUEST_SCOPE); throw e; } // Start with an unadorned "href" String href = null; // If "href" was specified, use it as is if (this.href != null) { href = this.href; } // If "forward" was specified, compute the "href" to forward to else if (forward != null) { ActionForwards forwards = (ActionForwards) pageContext.getAttribute(Action.FORWARDS_KEY, PageContext.APPLICATION_SCOPE); if (forwards == null) throw new JspException (messages.getMessage("linkTag.forwards")); ActionForward forward = forwards.findForward(this.forward); if (forward == null) throw new JspException (messages.getMessage("linkTag.forward")); HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); href = RequestUtils.absoluteURL(request, forward.getPath()); } // If "page" was specified, compute the "href" to forward to else if (page != null) { HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); href = RequestUtils.absoluteURL(request, page); } // Append a single-parameter name and value, if requested if ((paramId != null) && (paramName != null)) { if (href.indexOf('?') < 0) href += '?'; else href += '&'; href += paramId; href += '='; Object bean = RequestUtils.lookup(pageContext, paramName, paramScope); if (bean != null) { if (paramProperty == null) href += bean.toString(); else { try { Object value = PropertyUtils.getProperty(bean, paramProperty); if (value != null) href += value.toString(); } catch (IllegalAccessException e) { pageContext.setAttribute(Action.EXCEPTION_KEY, e, PageContext.REQUEST_SCOPE); throw new JspException (messages.getMessage("getter.access", paramProperty, paramName)); } catch (InvocationTargetException e) { Throwable t = e.getTargetException(); pageContext.setAttribute(Action.EXCEPTION_KEY, t, PageContext.REQUEST_SCOPE); throw new JspException (messages.getMessage("getter.result", paramProperty, t.toString())); } catch (NoSuchMethodException e) { pageContext.setAttribute(Action.EXCEPTION_KEY, e, PageContext.REQUEST_SCOPE); throw new JspException (messages.getMessage("getter.method", paramProperty, paramName)); } } } } // Just return the "href" attribute if there is no bean to look up if ((property != null) && (name == null)) { JspException e = new JspException (messages.getMessage("getter.name")); pageContext.setAttribute(Action.EXCEPTION_KEY, e, PageContext.REQUEST_SCOPE); throw e; } if (name == null) return (href); // Look up the map we will be using Object bean = RequestUtils.lookup(pageContext, name, scope); if (bean == null) { JspException e = new JspException (messages.getMessage("getter.bean", name)); pageContext.setAttribute(Action.EXCEPTION_KEY, e, PageContext.REQUEST_SCOPE); throw e; } Map map = null; if (property == null) { try { map = (Map) bean; } catch (ClassCastException e) { pageContext.setAttribute(Action.EXCEPTION_KEY, e, PageContext.REQUEST_SCOPE); throw new JspException (messages.getMessage("linkTag.type")); } } else { try { map = (Map) PropertyUtils.getProperty(bean, property); if (map == null) { JspException e = new JspException (messages.getMessage("getter.property", property)); pageContext.setAttribute(Action.EXCEPTION_KEY, e, PageContext.REQUEST_SCOPE); throw e; } } catch (IllegalAccessException e) { pageContext.setAttribute(Action.EXCEPTION_KEY, e, PageContext.REQUEST_SCOPE); throw new JspException (messages.getMessage("getter.access", property, name)); } catch (InvocationTargetException e) { Throwable t = e.getTargetException(); pageContext.setAttribute(Action.EXCEPTION_KEY, t, PageContext.REQUEST_SCOPE); throw new JspException (messages.getMessage("getter.result", property, t.toString())); } catch (ClassCastException e) { pageContext.setAttribute(Action.EXCEPTION_KEY, e, PageContext.REQUEST_SCOPE); throw new JspException (messages.getMessage("linkTag.type")); } catch (NoSuchMethodException e) { pageContext.setAttribute(Action.EXCEPTION_KEY, e, PageContext.REQUEST_SCOPE); throw new JspException (messages.getMessage("getter.method", property, name)); } } // Append the required query parameters StringBuffer sb = new StringBuffer(href); boolean question = (href.indexOf("?") >= 0); Iterator keys = map.keySet().iterator(); while (keys.hasNext()) { String key = (String) keys.next(); Object value = map.get(key); if (value == null) { if (question) sb.append('&'); else { sb.append('?'); question = true; } sb.append(key); sb.append('='); // Interpret null as "no value specified" } else if (value instanceof String[]) { String values[] = (String[]) value; for (int i = 0; i < values.length; i++) { if (question) sb.append('&'); else { sb.append('?'); question = true; } sb.append(key); sb.append('='); sb.append(URLEncoder.encode(values[i])); } } else { if (question) sb.append('&'); else { sb.append('?'); question = true; } sb.append(key); sb.append('='); sb.append(URLEncoder.encode(value.toString())); } } // Return the final result return (sb.toString()); }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/105fdb9cc2b9e505ce7edf3fc25c29464d54d040/LinkTag.java/buggy/src/share/org/apache/struts/taglib/html/LinkTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 9512, 1232, 1435, 1216, 27485, 288, 3639, 309, 261, 1232, 461, 480, 446, 13, 5411, 327, 261, 2011, 1769, 1377, 368, 1660, 854, 486, 12516, 279, 9512, 1232, 3639, 368, 3554, 326, 1300, 434, 3897, 857, 3383, 716, 4591, 1269, 3639, 509, 290, 273, 374, 31, 3639, 309, 261, 11565, 480, 446, 13, 5411, 290, 9904, 31, 3639, 309, 261, 7547, 480, 446, 13, 5411, 290, 9904, 31, 3639, 309, 261, 2433, 480, 446, 13, 5411, 290, 9904, 31, 3639, 309, 261, 82, 480, 404, 13, 288, 5411, 27485, 425, 273, 394, 27485, 7734, 261, 6833, 18, 24906, 2932, 1232, 1805, 18, 10590, 7923, 1769, 5411, 21442, 18, 542, 1499, 12, 1803, 18, 12658, 67, 3297, 16, 425, 16, 19694, 3460, 1042, 18, 5519, 67, 19444, 1769, 5411, 604, 425, 31, 3639, 289, 3639, 368, 3603, 598, 392, 640, 23671, 11748, 315, 7547, 6, 202, 780, 3897, 273, 446, 31, 3639, 368, 971, 315, 7547, 6, 1703, 1269, 16, 999, 518, 487, 353, 3639, 309, 261, 2211, 18, 7547, 480, 446, 13, 288, 5411, 3897, 273, 333, 18, 7547, 31, 3639, 289, 202, 759, 971, 315, 11565, 6, 1703, 1269, 16, 3671, 326, 315, 7547, 6, 358, 5104, 358, 202, 12107, 309, 261, 11565, 480, 446, 13, 288, 202, 565, 4382, 1290, 6397, 24578, 273, 261, 1803, 1290, 6397, 13, 202, 202, 2433, 1042, 18, 588, 1499, 12, 1803, 18, 7473, 16777, 3948, 67, 3297, 16, 25083, 3460, 1042, 18, 25039, 67, 19444, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 9512, 1232, 1435, 1216, 27485, 288, 3639, 309, 261, 1232, 461, 480, 446, 13, 5411, 327, 261, 2011, 1769, 1377, 368, 1660, 854, 486, 12516, 279, 9512, 1232, 3639, 368, 3554, 326, 1300, 434, 3897, 857, 3383, 716, 4591, 1269, 3639, 509, 290, 273, 374, 31, 3639, 309, 261, 11565, 480, 446, 13, 5411, 290, 9904, 31, 3639, 309, 261, 7547, 480, 446, 13, 5411, 290, 9904, 31, 3639, 309, 261, 2433, 480, 446, 13, 5411, 290, 9904, 31, 3639, 309, 261, 82, 480, 404, 13, 288, 5411, 27485, 425, 273, 394, 27485, 7734, 261, 6833, 18, 24906, 2932, 1232, 1805, 18, 10590, 7923, 1769, 5411, 21442, 18, 542, 1499, 12, 1803, 18, 12658, 67, 3297, 2 ]
public Object eGet( EStructuralFeature eFeature, boolean resolve )
public Object eGet( int featureID, boolean resolve, boolean coreType )
public Object eGet( EStructuralFeature eFeature, boolean resolve ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case TypePackage.LINE_SERIES__VISIBLE : return isVisible( ) ? Boolean.TRUE : Boolean.FALSE; case TypePackage.LINE_SERIES__LABEL : return getLabel( ); case TypePackage.LINE_SERIES__DATA_DEFINITION : return getDataDefinition( ); case TypePackage.LINE_SERIES__SERIES_IDENTIFIER : return getSeriesIdentifier( ); case TypePackage.LINE_SERIES__DATA_POINT : return getDataPoint( ); case TypePackage.LINE_SERIES__DATA_SETS : return getDataSets( ); case TypePackage.LINE_SERIES__LABEL_POSITION : return getLabelPosition( ); case TypePackage.LINE_SERIES__STACKED : return isStacked( ) ? Boolean.TRUE : Boolean.FALSE; case TypePackage.LINE_SERIES__TRIGGERS : return getTriggers( ); case TypePackage.LINE_SERIES__TRANSLUCENT : return isTranslucent( ) ? Boolean.TRUE : Boolean.FALSE; case TypePackage.LINE_SERIES__CURVE_FITTING : return getCurveFitting( ); case TypePackage.LINE_SERIES__MARKER : return getMarker( ); case TypePackage.LINE_SERIES__LINE_ATTRIBUTES : return getLineAttributes( ); case TypePackage.LINE_SERIES__PALETTE_LINE_COLOR : return isPaletteLineColor( ) ? Boolean.TRUE : Boolean.FALSE; case TypePackage.LINE_SERIES__CURVE : return isCurve( ) ? Boolean.TRUE : Boolean.FALSE; case TypePackage.LINE_SERIES__SHADOW_COLOR : return getShadowColor( ); } return eDynamicGet( eFeature, resolve ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/036e8c78765730b146e5854b9d6c397a296fed86/LineSeriesImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/LineSeriesImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 15952, 12, 512, 14372, 4595, 425, 4595, 16, 1250, 2245, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 29588, 294, 9506, 202, 2463, 20453, 12, 262, 692, 3411, 18, 18724, 294, 3411, 18, 21053, 31, 1082, 202, 3593, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 13545, 294, 9506, 202, 2463, 11237, 12, 11272, 1082, 202, 3593, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 4883, 67, 25312, 294, 9506, 202, 2463, 4303, 1852, 12, 11272, 1082, 202, 3593, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 2123, 8805, 67, 16606, 294, 9506, 202, 2463, 336, 6485, 3004, 12, 11272, 1082, 202, 3593, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 4883, 67, 8941, 294, 9506, 202, 2463, 4303, 2148, 12, 11272, 1082, 202, 3593, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 4883, 67, 28092, 294, 9506, 202, 2463, 4303, 2785, 12, 11272, 1082, 202, 3593, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 13545, 67, 15258, 294, 9506, 202, 2463, 11237, 2555, 12, 11272, 1082, 202, 3593, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 21971, 2056, 294, 9506, 202, 2463, 353, 2624, 329, 12, 262, 692, 3411, 18, 18724, 294, 3411, 18, 21053, 31, 1082, 202, 3593, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 6566, 27399, 55, 294, 9506, 202, 2463, 336, 15114, 12, 11272, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 15952, 12, 512, 14372, 4595, 425, 4595, 16, 1250, 2245, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 29588, 294, 9506, 202, 2463, 20453, 12, 262, 692, 3411, 18, 18724, 294, 3411, 18, 21053, 31, 1082, 202, 3593, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 13545, 294, 9506, 202, 2463, 11237, 12, 11272, 1082, 202, 3593, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 4883, 67, 25312, 294, 9506, 202, 2463, 4303, 1852, 12, 11272, 1082, 202, 3593, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 2123, 8805, 67, 16606, 294, 2 ]
svgViewerFrame.getJSVGCanvas().setSVGDocument((SVGDocument)outDoc);
svgViewerFrame.getJSVGCanvas().setSVGDocument(outDoc);
public void handle(ParsedURL purl, JSVGViewerFrame svgViewerFrame) throws Exception { String uri = purl.toString(); TransformerFactory tFactory = TransformerFactory.newInstance(); // First, load the input XML document into a generic DOM tree DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setValidating(false); dbf.setNamespaceAware(true); DocumentBuilder db = dbf.newDocumentBuilder(); Document inDoc = db.parse(uri); // Now, look for <?xml-stylesheet ...?> processing instructions String xslStyleSheetURI = extractXSLProcessingInstruction(inDoc); if (xslStyleSheetURI == null) { // Assume that the input file is a literal result template xslStyleSheetURI = uri; } ParsedURL parsedXSLStyleSheetURI = new ParsedURL(uri, xslStyleSheetURI); Transformer transformer = tFactory.newTransformer (new StreamSource(parsedXSLStyleSheetURI.toString())); // Set the URIResolver to properly handle document() and xsl:include transformer.setURIResolver (new DocumentURIResolver(parsedXSLStyleSheetURI.toString())); // Now, apply the transformation to the input document. DOMImplementation impl = SVGDOMImplementation.getDOMImplementation(); String svgNS = SVGDOMImplementation.SVG_NAMESPACE_URI; // // <!> Due to issues with namespaces, the transform creates the // result in a stream which is parsed. This is sub-optimal // but this was the only solution found to be able to // generate content in the proper namespaces. // // SVGOMDocument outDoc = // (SVGOMDocument)impl.createDocument(svgNS, "svg", null); // outDoc.setURLObject(new URL(uri)); // transformer.transform // (new DOMSource(inDoc), // new DOMResult(outDoc.getDocumentElement())); // StringWriter sw = new StringWriter(); StreamResult result = new StreamResult(sw); transformer.transform(new DOMSource(inDoc), result); sw.flush(); sw.close(); String parser = XMLResourceDescriptor.getXMLParserClassName(); SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser); SVGDocument outDoc = null; try { outDoc = f.createSVGDocument (uri, new StringReader(sw.toString())); } catch (Exception e) { System.err.println("======================================"); System.err.println(sw.toString()); System.err.println("======================================"); throw new IllegalArgumentException (Resources.getString(ERROR_RESULT_GENERATED_EXCEPTION)); } // Patch the result tree to go under the root node // checkAndPatch(outDoc); svgViewerFrame.getJSVGCanvas().setSVGDocument((SVGDocument)outDoc); svgViewerFrame.setSVGDocument(outDoc, uri, outDoc.getTitle()); }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/37794489f7dedd0c74c1b7ae67e92cf8d877b256/XMLInputHandler.java/clean/sources/org/apache/batik/apps/svgbrowser/XMLInputHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1640, 12, 11257, 1785, 293, 718, 16, 6756, 9266, 18415, 3219, 9804, 18415, 3219, 13, 1216, 1185, 288, 3639, 514, 2003, 273, 293, 718, 18, 10492, 5621, 3639, 11519, 1733, 268, 1733, 2398, 273, 11519, 1733, 18, 2704, 1442, 5621, 7734, 368, 5783, 16, 1262, 326, 810, 3167, 1668, 1368, 279, 5210, 4703, 2151, 3639, 30236, 1319, 74, 273, 30236, 18, 2704, 1442, 5621, 3639, 1319, 74, 18, 542, 31496, 12, 5743, 1769, 3639, 1319, 74, 18, 542, 3402, 10155, 12, 3767, 1769, 3639, 4319, 1263, 1319, 273, 1319, 74, 18, 2704, 2519, 1263, 5621, 3639, 4319, 316, 1759, 273, 1319, 18, 2670, 12, 1650, 1769, 9079, 368, 4494, 16, 2324, 364, 20958, 2902, 17, 19403, 1372, 35, 34, 4929, 12509, 3639, 514, 20791, 2885, 8229, 3098, 2398, 273, 2608, 60, 4559, 7798, 11983, 12, 267, 1759, 1769, 7734, 309, 261, 30903, 2885, 8229, 3098, 422, 446, 13, 288, 5411, 368, 15983, 716, 326, 810, 585, 353, 279, 7158, 563, 1542, 5411, 20791, 2885, 8229, 3098, 273, 2003, 31, 3639, 289, 3639, 19244, 1785, 2707, 60, 4559, 2885, 8229, 3098, 2398, 273, 394, 19244, 1785, 12, 1650, 16, 20791, 2885, 8229, 3098, 1769, 3639, 11519, 8360, 5411, 273, 268, 1733, 18, 2704, 8319, 5411, 261, 2704, 3961, 1830, 12, 10817, 60, 4559, 2885, 8229, 3098, 18, 10492, 1435, 10019, 3639, 368, 1000, 326, 3699, 4301, 358, 8214, 1640, 1668, 1435, 471, 20791, 30, 6702, 3639, 8360, 18, 542, 3098, 4301, 5411, 261, 2704, 4319, 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, 1640, 12, 11257, 1785, 293, 718, 16, 6756, 9266, 18415, 3219, 9804, 18415, 3219, 13, 1216, 1185, 288, 3639, 514, 2003, 273, 293, 718, 18, 10492, 5621, 3639, 11519, 1733, 268, 1733, 2398, 273, 11519, 1733, 18, 2704, 1442, 5621, 7734, 368, 5783, 16, 1262, 326, 810, 3167, 1668, 1368, 279, 5210, 4703, 2151, 3639, 30236, 1319, 74, 273, 30236, 18, 2704, 1442, 5621, 3639, 1319, 74, 18, 542, 31496, 12, 5743, 1769, 3639, 1319, 74, 18, 542, 3402, 10155, 12, 3767, 1769, 3639, 4319, 1263, 1319, 273, 1319, 74, 18, 2704, 2519, 1263, 5621, 3639, 4319, 316, 1759, 273, 1319, 18, 2670, 12, 1650, 1769, 9079, 368, 4494, 16, 2324, 364, 20958, 2902, 17, 19403, 2 ]
this.username = username;
this.username = username.toLowerCase();
public void setUsername(String username) { this.username = username; }
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/b1c5475a6b80f56a2f01f51bc67762095cfbd308/RequestPasswordForm.java/buggy/intermine/src/java/org/intermine/web/RequestPasswordForm.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 8575, 12, 780, 2718, 13, 288, 3639, 333, 18, 5053, 273, 2718, 18, 869, 5630, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 8575, 12, 780, 2718, 13, 288, 3639, 333, 18, 5053, 273, 2718, 18, 869, 5630, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Node.Nodes parsedPage = null; isEncodingSpecifiedInProlog = false; isBomPresent = false; isDefaultPageEncoding = false;
Node.Nodes parsedPage = null; isEncodingSpecifiedInProlog = false; isBomPresent = false; isDefaultPageEncoding = false;
private Node.Nodes doParse(String inFileName, Node parent, URL jarFileUrl) throws FileNotFoundException, JasperException, IOException { Node.Nodes parsedPage = null; isEncodingSpecifiedInProlog = false; isBomPresent = false; isDefaultPageEncoding = false; JarFile jarFile = getJarFile(jarFileUrl); String absFileName = resolveFileName(inFileName); String jspConfigPageEnc = getJspConfigPageEncoding(absFileName); // Figure out what type of JSP document and encoding type we are // dealing with determineSyntaxAndEncoding(absFileName, jarFile, jspConfigPageEnc); if (parent != null) { // Included resource, add to dependent list compiler.getPageInfo().addDependant(absFileName); } if ((isXml && isEncodingSpecifiedInProlog) || isBomPresent) { /* * Make sure the encoding explicitly specified in the XML * prolog (if any) matches that in the JSP config element * (if any), treating "UTF-16", "UTF-16BE", and "UTF-16LE" as * identical. */ if (jspConfigPageEnc != null && !jspConfigPageEnc.equals(sourceEnc) && (!jspConfigPageEnc.startsWith("UTF-16") || !sourceEnc.startsWith("UTF-16"))) { err.jspError("jsp.error.prolog_config_encoding_mismatch", sourceEnc, jspConfigPageEnc); } } // Dispatch to the appropriate parser if (isXml) { // JSP document (XML syntax) // InputStream for jspx page is created and properly closed in // JspDocumentParser. parsedPage = JspDocumentParser.parse(this, absFileName, jarFile, parent, isTagFile, directiveOnly, sourceEnc, jspConfigPageEnc, isEncodingSpecifiedInProlog, isBomPresent); } else { // Standard syntax InputStreamReader inStreamReader = null; try { inStreamReader = JspUtil.getReader(absFileName, sourceEnc, jarFile, ctxt, err); JspReader jspReader = new JspReader(ctxt, absFileName, sourceEnc, inStreamReader, err); parsedPage = Parser.parse(this, jspReader, parent, isTagFile, directiveOnly, jarFileUrl, sourceEnc, jspConfigPageEnc, isDefaultPageEncoding, isBomPresent); } finally { if (inStreamReader != null) { try { inStreamReader.close(); } catch (Exception any) { } } } } if (jarFile != null) { try { jarFile.close(); } catch (Throwable t) {} } baseDirStack.pop(); return parsedPage; }
15905 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15905/6742cb8e2facefed0a144762d397571cc17eb04d/ParserController.java/clean/java/org/apache/jasper/compiler/ParserController.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2029, 18, 3205, 741, 3201, 12, 780, 316, 4771, 16, 1171, 9079, 2029, 982, 16, 1171, 9079, 1976, 22588, 1489, 13, 202, 3639, 1216, 13707, 16, 804, 345, 457, 503, 16, 1860, 288, 202, 907, 18, 3205, 2707, 1964, 273, 446, 31, 202, 291, 4705, 17068, 382, 626, 1330, 273, 629, 31, 565, 27057, 362, 6351, 273, 629, 31, 202, 291, 1868, 1964, 4705, 273, 629, 31, 202, 10813, 812, 22588, 273, 9285, 297, 812, 12, 11930, 812, 1489, 1769, 202, 780, 2417, 4771, 273, 2245, 4771, 12, 267, 4771, 1769, 202, 780, 22535, 809, 1964, 4280, 273, 31162, 809, 1964, 4705, 12, 5113, 4771, 1769, 202, 759, 18818, 596, 4121, 618, 434, 804, 3118, 1668, 471, 2688, 618, 732, 854, 202, 759, 21964, 598, 202, 24661, 8070, 1876, 4705, 12, 5113, 4771, 16, 22588, 16, 22535, 809, 1964, 4280, 1769, 202, 430, 261, 2938, 480, 446, 13, 288, 202, 565, 368, 657, 7908, 1058, 16, 527, 358, 10460, 666, 202, 565, 5274, 18, 588, 1964, 966, 7675, 1289, 4584, 970, 12, 5113, 4771, 1769, 202, 97, 202, 430, 14015, 291, 4432, 597, 353, 4705, 17068, 382, 626, 1330, 13, 747, 27057, 362, 6351, 13, 288, 202, 565, 1748, 202, 377, 380, 4344, 3071, 326, 2688, 8122, 1269, 316, 326, 3167, 202, 377, 380, 450, 1330, 261, 430, 1281, 13, 1885, 716, 316, 326, 804, 3118, 642, 930, 202, 377, 380, 261, 430, 1281, 3631, 9787, 1776, 315, 5159, 17, 2313, 3113, 315, 5159, 17, 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, 2029, 18, 3205, 741, 3201, 12, 780, 316, 4771, 16, 1171, 9079, 2029, 982, 16, 1171, 9079, 1976, 22588, 1489, 13, 202, 3639, 1216, 13707, 16, 804, 345, 457, 503, 16, 1860, 288, 202, 907, 18, 3205, 2707, 1964, 273, 446, 31, 202, 291, 4705, 17068, 382, 626, 1330, 273, 629, 31, 565, 27057, 362, 6351, 273, 629, 31, 202, 291, 1868, 1964, 4705, 273, 629, 31, 202, 10813, 812, 22588, 273, 9285, 297, 812, 12, 11930, 812, 1489, 1769, 202, 780, 2417, 4771, 273, 2245, 4771, 12, 267, 4771, 1769, 202, 780, 22535, 809, 1964, 4280, 273, 31162, 809, 1964, 4705, 12, 5113, 4771, 1769, 202, 759, 18818, 596, 4121, 618, 434, 804, 3118, 1668, 471, 2 ]
m_installer.updatePlPgsql(); m_installer.addStoredProcedures();
public void testTriggerSetSnmpInterfaceIdInIpInterfaceNoSnmpInterfaceEntry() throws Exception { if (!isDBTestEnabled()) { return; } m_installer.createSequences(); m_installer.createTables(); m_installer.updatePlPgsql(); m_installer.addStoredProcedures(); executeSQL("INSERT INTO node (nodeId, nodeCreateTime) VALUES ( 1, now() )"); ThrowableAnticipator ta = new ThrowableAnticipator(); ta.anticipate(new AssertionFailedError("Could not execute statement: 'INSERT INTO ipInterface (nodeId, ipAddr, ifIndex) VALUES ( 1, '1.2.3.4', 1 )': ERROR: IpInterface Trigger Exception: No SnmpInterface found for... nodeid: 1 ipaddr: 1.2.3.4 ifindex: 1")); try { executeSQL("INSERT INTO ipInterface (nodeId, ipAddr, ifIndex) VALUES ( 1, '1.2.3.4', 1 )"); } catch (Throwable t) { ta.throwableReceived(t); } ta.verifyAnticipated(); }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/28ec8d0f53c305460681fe922d064c060141774d/InstallerDBTest.java/clean/opennms-install/src/test/java/org/opennms/install/InstallerDBTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6518, 694, 10461, 1291, 1358, 548, 382, 5273, 1358, 2279, 10461, 1291, 1358, 1622, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 312, 67, 20163, 18, 2640, 6905, 5621, 3639, 312, 67, 20163, 18, 2725, 1749, 52, 30175, 5621, 7734, 312, 67, 20163, 18, 1289, 18005, 626, 23382, 5621, 7734, 1836, 3997, 2932, 11356, 12421, 756, 261, 2159, 548, 16, 756, 1684, 950, 13, 13477, 261, 404, 16, 2037, 1435, 262, 8863, 7734, 4206, 14925, 24629, 639, 13561, 273, 394, 4206, 14925, 24629, 639, 5621, 3639, 13561, 18, 9941, 625, 340, 12, 2704, 9067, 2925, 668, 2932, 4445, 486, 1836, 3021, 30, 296, 11356, 12421, 2359, 1358, 261, 2159, 548, 16, 2359, 3178, 16, 309, 1016, 13, 13477, 261, 404, 16, 296, 21, 18, 22, 18, 23, 18, 24, 2187, 404, 262, 4278, 5475, 30, 14709, 1358, 11321, 1185, 30, 2631, 18961, 1291, 1358, 1392, 364, 2777, 756, 350, 30, 404, 225, 2359, 4793, 30, 404, 18, 22, 18, 23, 18, 24, 225, 309, 1615, 30, 404, 7923, 1769, 3639, 775, 288, 5411, 1836, 3997, 2932, 11356, 12421, 2359, 1358, 261, 2159, 548, 16, 2359, 3178, 16, 309, 1016, 13, 13477, 261, 404, 16, 296, 21, 18, 22, 18, 23, 18, 24, 2187, 404, 262, 8863, 3639, 289, 1044, 261, 15155, 268, 13, 288, 5411, 13561, 18, 12849, 429, 8872, 12, 88, 1769, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6518, 694, 10461, 1291, 1358, 548, 382, 5273, 1358, 2279, 10461, 1291, 1358, 1622, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 312, 67, 20163, 18, 2640, 6905, 5621, 3639, 312, 67, 20163, 18, 2725, 1749, 52, 30175, 5621, 7734, 312, 67, 20163, 18, 1289, 18005, 626, 23382, 5621, 7734, 1836, 3997, 2932, 11356, 12421, 756, 261, 2159, 548, 16, 756, 1684, 950, 13, 13477, 261, 404, 16, 2037, 1435, 262, 8863, 7734, 4206, 14925, 24629, 639, 13561, 273, 394, 4206, 14925, 24629, 639, 5621, 3639, 13561, 18, 9941, 625, 340, 12, 2704, 9067, 2925, 668, 2 ]
processContentLockingWorkflow(wi, actionCell);
processContentLockingWorkflow(wi, page);
public void processWorkflow(Id workflowId, Id pageId) { Workflow workflow = getWorkflowManager().getWorkflow(workflowId); Cell cell = getCellFromPage(pageId); Collection items = workflow.getItems(); for (Iterator i = items.iterator(); i.hasNext();) { WorkflowItem wi = (WorkflowItem)i.next(); Cell actionCell = this.getMatrixCellByWizardPageDef(cell.getMatrix(), wi.getActionObjectId()); switch (wi.getActionType()) { case(WorkflowItem.STATUS_CHANGE_WORKFLOW): processStatusChangeWorkflow(wi, actionCell); break; case(WorkflowItem.NOTIFICATION_WORKFLOW): processNotificationWorkflow(wi); break; case(WorkflowItem.CONTENT_LOCKING_WORKFLOW): processContentLockingWorkflow(wi, actionCell); break; } } }
48996 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48996/5354523b3f7874920b17de4e92528f56659ee58a/HibernateMatrixManagerImpl.java/clean/matrix/api-impl/src/java/org/theospi/portfolio/matrix/HibernateMatrixManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1207, 8484, 12, 548, 6095, 548, 16, 3124, 18720, 13, 288, 1377, 11363, 6095, 273, 30995, 1318, 7675, 588, 8484, 12, 13815, 548, 1769, 1377, 8614, 2484, 273, 16458, 1265, 1964, 12, 2433, 548, 1769, 5411, 2200, 1516, 273, 6095, 18, 588, 3126, 5621, 1377, 364, 261, 3198, 277, 273, 1516, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 540, 11363, 1180, 16138, 273, 261, 8484, 1180, 13, 77, 18, 4285, 5621, 540, 8614, 1301, 4020, 273, 333, 18, 588, 4635, 4020, 858, 27130, 1964, 3262, 12, 3855, 18, 588, 4635, 9334, 7734, 16138, 18, 588, 1803, 16661, 10663, 540, 1620, 261, 91, 77, 18, 588, 26995, 10756, 288, 5411, 648, 12, 8484, 1180, 18, 8608, 67, 14473, 67, 10566, 17430, 4672, 9079, 1207, 1482, 3043, 8484, 12, 91, 77, 16, 1301, 4020, 1769, 9079, 898, 31, 5411, 648, 12, 8484, 1180, 18, 4400, 14865, 67, 10566, 17430, 4672, 9079, 1207, 4386, 8484, 12, 91, 77, 1769, 9079, 898, 31, 5411, 648, 12, 8484, 1180, 18, 9689, 67, 6589, 1360, 67, 10566, 17430, 4672, 9079, 1207, 1350, 2531, 310, 8484, 12, 91, 77, 16, 1363, 1769, 9079, 898, 31, 540, 289, 1377, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1207, 8484, 12, 548, 6095, 548, 16, 3124, 18720, 13, 288, 1377, 11363, 6095, 273, 30995, 1318, 7675, 588, 8484, 12, 13815, 548, 1769, 1377, 8614, 2484, 273, 16458, 1265, 1964, 12, 2433, 548, 1769, 5411, 2200, 1516, 273, 6095, 18, 588, 3126, 5621, 1377, 364, 261, 3198, 277, 273, 1516, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 540, 11363, 1180, 16138, 273, 261, 8484, 1180, 13, 77, 18, 4285, 5621, 540, 8614, 1301, 4020, 273, 333, 18, 588, 4635, 4020, 858, 27130, 1964, 3262, 12, 3855, 18, 588, 4635, 9334, 7734, 16138, 18, 588, 1803, 16661, 10663, 540, 1620, 261, 91, 77, 18, 588, 26995, 10756, 288, 5411, 648, 12, 8484, 1180, 2 ]
public void unaryExpression() throws RecognitionException { try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:615:17: ( INC unaryExpression | DEC unaryExpression | MINUS unaryExpression | PLUS unaryExpression | unaryExpressionNotPlusMinus ) int alt64=5; switch ( input.LA(1) ) { case INC: alt64=1; break; case DEC: alt64=2; break; case MINUS: alt64=3; break; case PLUS: alt64=4; break; case IDENT: case LPAREN: case BNOT: case LNOT: case NUM_INT: case CHAR_LITERAL: case STRING_LITERAL: case NUM_FLOAT: case 68: case 69: case 70: case 71: case 72: case 73: case 74: case 75: case 76: case 93: case 94: case 112: case 113: case 114: case 115: alt64=5; break; default: NoViableAltException nvae = new NoViableAltException("614:1: unaryExpression : ( INC unaryExpression | DEC unaryExpression | MINUS unaryExpression | PLUS unaryExpression | unaryExpressionNotPlusMinus );", 64, 0, input); throw nvae; } switch (alt64) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:615:17: INC unaryExpression { match(input,INC,FOLLOW_INC_in_unaryExpression2437); following.push(FOLLOW_unaryExpression_in_unaryExpression2439); unaryExpression(); following.pop(); } break; case 2 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:616:17: DEC unaryExpression { match(input,DEC,FOLLOW_DEC_in_unaryExpression2444); following.push(FOLLOW_unaryExpression_in_unaryExpression2446); unaryExpression(); following.pop(); } break; case 3 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:617:17: MINUS unaryExpression { match(input,MINUS,FOLLOW_MINUS_in_unaryExpression2451); following.push(FOLLOW_unaryExpression_in_unaryExpression2454); unaryExpression(); following.pop(); } break; case 4 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:618:17: PLUS unaryExpression { match(input,PLUS,FOLLOW_PLUS_in_unaryExpression2459); following.push(FOLLOW_unaryExpression_in_unaryExpression2463); unaryExpression(); following.pop(); } break; case 5 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:619:17: unaryExpressionNotPlusMinus { following.push(FOLLOW_unaryExpressionNotPlusMinus_in_unaryExpression2468); unaryExpressionNotPlusMinus(); following.pop(); } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/024138fd0e08f5f4cd91a30959fe962d30fec435/JavaParser.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 19017, 2300, 1435, 1216, 9539, 288, 282, 775, 288, 759, 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, 26, 3600, 30, 4033, 30, 261, 2120, 39, 19017, 2300, 571, 2030, 39, 19017, 2300, 571, 6989, 3378, 19017, 2300, 571, 22443, 3378, 19017, 2300, 571, 19017, 2300, 1248, 13207, 18434, 262, 474, 3770, 1105, 33, 25, 31, 9610, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 3593, 2120, 39, 30, 2390, 1105, 33, 21, 31, 8820, 31, 3593, 2030, 39, 30, 2390, 1105, 33, 22, 31, 8820, 31, 3593, 6989, 3378, 30, 2390, 1105, 33, 23, 31, 8820, 31, 3593, 22443, 3378, 30, 2390, 1105, 33, 24, 31, 8820, 31, 3593, 19768, 30, 3593, 511, 15111, 30, 3593, 605, 4400, 30, 3593, 511, 4400, 30, 3593, 9443, 67, 3217, 30, 3593, 12090, 67, 23225, 30, 3593, 9469, 67, 23225, 30, 3593, 9443, 67, 15640, 30, 3593, 23797, 30, 3593, 20963, 30, 3593, 16647, 30, 3593, 26465, 30, 3593, 19387, 30, 3593, 26103, 30, 3593, 30338, 30, 3593, 18821, 30, 3593, 22997, 30, 3593, 31007, 30, 3593, 31069, 30, 3593, 23543, 30, 3593, 404, 3437, 30, 3593, 21284, 30, 3593, 22821, 30, 2390, 1105, 33, 25, 31, 8820, 31, 1886, 30, 2279, 17080, 503, 15077, 273, 2704, 17114, 2932, 26, 3461, 30, 21, 30, 19017, 2300, 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, 918, 19017, 2300, 1435, 1216, 9539, 288, 282, 775, 288, 759, 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, 26, 3600, 30, 4033, 30, 261, 2120, 39, 19017, 2300, 571, 2030, 39, 19017, 2300, 571, 6989, 3378, 19017, 2300, 571, 22443, 3378, 19017, 2300, 571, 19017, 2300, 1248, 13207, 18434, 262, 474, 3770, 1105, 33, 25, 31, 9610, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 3593, 2120, 39, 30, 2390, 1105, 33, 21, 31, 8820, 31, 3593, 2030, 39, 30, 2390, 1105, 33, 22, 31, 8820, 2 ]
return ("ContainerEvent[" + child + ";" + super.paramString () + "]");
String r; switch (id) { case COMPONENT_ADDED: r = "COMPONENT_ADDED"; break; case COMPONENT_REMOVED: r = "COMPONENT_REMOVED"; break; default: r = "unknown id"; break; } r += ",child=" + child; return r;
public String paramString () { return ("ContainerEvent[" + child + ";" + super.paramString () + "]"); }
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/42de8277e53eabea04a48598c12ed6d488412a7b/ContainerEvent.java/clean/libjava/java/awt/event/ContainerEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 579, 780, 1832, 225, 288, 565, 327, 7566, 2170, 1133, 9614, 397, 1151, 202, 565, 397, 11430, 397, 2240, 18, 891, 780, 1832, 397, 9870, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 579, 780, 1832, 225, 288, 565, 327, 7566, 2170, 1133, 9614, 397, 1151, 202, 565, 397, 11430, 397, 2240, 18, 891, 780, 1832, 397, 9870, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public int getWaitingThread() {
public int getWaitingThread() {
public int getWaitingThread() { return _threadPool.getIdleThreads(); }
13242 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13242/9b2e41409583e68ab8b180ec394bc683eae49696/JettyPipeline.java/buggy/trunk/extras/grizzly/src/main/java/org/mortbay/jetty/grizzly/JettyPipeline.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 15946, 3830, 1435, 288, 4202, 327, 225, 389, 5930, 2864, 18, 588, 13834, 13233, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 15946, 3830, 1435, 288, 4202, 327, 225, 389, 5930, 2864, 18, 588, 13834, 13233, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]