rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
else return id;
return id;
public String getRootPath() { String[] path = getParentPath(); if (path != null && path.length > 0) return path[0]; else return id; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/23cbb9b66f3df77f808e086e90482a516f0c469f/Category.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/Category.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 18863, 1435, 288, 3639, 514, 8526, 589, 273, 5089, 743, 5621, 3639, 309, 261, 803, 480, 446, 597, 589, 18, 2469, 405, 374, 13, 5411, 327, 589, 63, 20, 15533, 3639, 469, 5411, 327, 612, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 514, 18863, 1435, 288, 3639, 514, 8526, 589, 273, 5089, 743, 5621, 3639, 309, 261, 803, 480, 446, 597, 589, 18, 2469, 405, 374, 13, 5411, 327, 589, 63, 20, 15533, 3639, 469, 5411, 327, 612, 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 ]
locationEClass = createEClass(LOCATION); createEAttribute(locationEClass, LOCATION__X); createEAttribute(locationEClass, LOCATION__Y);
locationEClass = createEClass(LOCATION); createEAttribute(locationEClass, LOCATION__X); createEAttribute(locationEClass, LOCATION__Y);
public void createPackageContents() { if (isCreated) return; isCreated = true; // Create classes and their features edgeEClass = createEClass(EDGE); createEReference(edgeEClass, EDGE__SOURCE); createEReference(edgeEClass, EDGE__TARGET); createEReference(edgeEClass, EDGE__BENDPOINTS); createEReference(edgeEClass, EDGE__SOURCE_ANCHOR); createEReference(edgeEClass, EDGE__TARGET_ANCHOR); nodeEClass = createEClass(NODE); createEReference(nodeEClass, NODE__LAYOUT_CONSTRAINT); styleEClass = createEClass(STYLE); fillStyleEClass = createEClass(FILL_STYLE); createEAttribute(fillStyleEClass, FILL_STYLE__FILL_COLOR); lineStyleEClass = createEClass(LINE_STYLE); createEAttribute(lineStyleEClass, LINE_STYLE__LINE_COLOR); fontStyleEClass = createEClass(FONT_STYLE); createEAttribute(fontStyleEClass, FONT_STYLE__FONT_COLOR); createEAttribute(fontStyleEClass, FONT_STYLE__FONT_NAME); createEAttribute(fontStyleEClass, FONT_STYLE__FONT_HEIGHT); createEAttribute(fontStyleEClass, FONT_STYLE__BOLD); createEAttribute(fontStyleEClass, FONT_STYLE__ITALIC); createEAttribute(fontStyleEClass, FONT_STYLE__UNDERLINE); createEAttribute(fontStyleEClass, FONT_STYLE__STRIKE_THROUGH); titleStyleEClass = createEClass(TITLE_STYLE); createEAttribute(titleStyleEClass, TITLE_STYLE__SHOW_TITLE); sortingStyleEClass = createEClass(SORTING_STYLE); createEAttribute(sortingStyleEClass, SORTING_STYLE__SORTING); createEAttribute(sortingStyleEClass, SORTING_STYLE__SORTING_KEYS); createEReference(sortingStyleEClass, SORTING_STYLE__SORTED_OBJECTS); descriptionStyleEClass = createEClass(DESCRIPTION_STYLE); createEAttribute(descriptionStyleEClass, DESCRIPTION_STYLE__DESCRIPTION); layoutConstraintEClass = createEClass(LAYOUT_CONSTRAINT); sizeEClass = createEClass(SIZE); createEAttribute(sizeEClass, SIZE__WIDTH); createEAttribute(sizeEClass, SIZE__HEIGHT); locationEClass = createEClass(LOCATION); createEAttribute(locationEClass, LOCATION__X); createEAttribute(locationEClass, LOCATION__Y); boundsEClass = createEClass(BOUNDS); ratioEClass = createEClass(RATIO); createEAttribute(ratioEClass, RATIO__VALUE); anchorEClass = createEClass(ANCHOR); bendpointsEClass = createEClass(BENDPOINTS); identityAnchorEClass = createEClass(IDENTITY_ANCHOR); createEAttribute(identityAnchorEClass, IDENTITY_ANCHOR__ID); routingStyleEClass = createEClass(ROUTING_STYLE); createEAttribute(routingStyleEClass, ROUTING_STYLE__ROUTING); createEAttribute(routingStyleEClass, ROUTING_STYLE__SMOOTHNESS); createEAttribute(routingStyleEClass, ROUTING_STYLE__AVOID_OBSTRUCTIONS); createEAttribute(routingStyleEClass, ROUTING_STYLE__CLOSEST_DISTANCE); createEAttribute(routingStyleEClass, ROUTING_STYLE__JUMP_LINK_STATUS); createEAttribute(routingStyleEClass, ROUTING_STYLE__JUMP_LINK_TYPE); createEAttribute(routingStyleEClass, ROUTING_STYLE__JUMP_LINKS_REVERSE); viewEClass = createEClass(VIEW); createEAttribute(viewEClass, VIEW__VISIBLE); createEAttribute(viewEClass, VIEW__TYPE); createEAttribute(viewEClass, VIEW__MUTABLE); createEReference(viewEClass, VIEW__SOURCE_EDGES); createEReference(viewEClass, VIEW__TARGET_EDGES); createEReference(viewEClass, VIEW__PERSISTED_CHILDREN); createEReference(viewEClass, VIEW__STYLES); createEReference(viewEClass, VIEW__ELEMENT); createEReference(viewEClass, VIEW__DIAGRAM); createEReference(viewEClass, VIEW__TRANSIENT_CHILDREN); relativeBendpointsEClass = createEClass(RELATIVE_BENDPOINTS); createEAttribute(relativeBendpointsEClass, RELATIVE_BENDPOINTS__POINTS); diagramEClass = createEClass(DIAGRAM); createEAttribute(diagramEClass, DIAGRAM__NAME); createEAttribute(diagramEClass, DIAGRAM__MEASUREMENT_UNIT); createEReference(diagramEClass, DIAGRAM__PERSISTED_EDGES); createEReference(diagramEClass, DIAGRAM__TRANSIENT_EDGES); imageEClass = createEClass(IMAGE); createEAttribute(imageEClass, IMAGE__DATA); canonicalStyleEClass = createEClass(CANONICAL_STYLE); createEAttribute(canonicalStyleEClass, CANONICAL_STYLE__CANONICAL); shapeStyleEClass = createEClass(SHAPE_STYLE); connectorStyleEClass = createEClass(CONNECTOR_STYLE); pageStyleEClass = createEClass(PAGE_STYLE); createEAttribute(pageStyleEClass, PAGE_STYLE__PAGE_X); createEAttribute(pageStyleEClass, PAGE_STYLE__PAGE_Y); createEAttribute(pageStyleEClass, PAGE_STYLE__PAGE_WIDTH); createEAttribute(pageStyleEClass, PAGE_STYLE__PAGE_HEIGHT); drawerStyleEClass = createEClass(DRAWER_STYLE); createEAttribute(drawerStyleEClass, DRAWER_STYLE__COLLAPSED); guideStyleEClass = createEClass(GUIDE_STYLE); createEReference(guideStyleEClass, GUIDE_STYLE__HORIZONTAL_GUIDES); createEReference(guideStyleEClass, GUIDE_STYLE__VERTICAL_GUIDES); guideEClass = createEClass(GUIDE); createEAttribute(guideEClass, GUIDE__POSITION); createEReference(guideEClass, GUIDE__NODE_MAP); nodeEntryEClass = createEClass(NODE_ENTRY); createEAttribute(nodeEntryEClass, NODE_ENTRY__VALUE); createEReference(nodeEntryEClass, NODE_ENTRY__KEY); filteringStyleEClass = createEClass(FILTERING_STYLE); createEAttribute(filteringStyleEClass, FILTERING_STYLE__FILTERING); createEAttribute(filteringStyleEClass, FILTERING_STYLE__FILTERING_KEYS); createEReference(filteringStyleEClass, FILTERING_STYLE__FILTERED_OBJECTS); diagramStyleEClass = createEClass(DIAGRAM_STYLE); imageStyleEClass = createEClass(IMAGE_STYLE); createEAttribute(imageStyleEClass, IMAGE_STYLE__ANTI_ALIAS); createEAttribute(imageStyleEClass, IMAGE_STYLE__MAINTAIN_ASPECT_RATIO); createEReference(imageStyleEClass, IMAGE_STYLE__CROP_BOUND); imageBufferStyleEClass = createEClass(IMAGE_BUFFER_STYLE); createEReference(imageBufferStyleEClass, IMAGE_BUFFER_STYLE__IMAGE_BUFFER); // Create enums sortingEEnum = createEEnum(SORTING); filteringEEnum = createEEnum(FILTERING); routingEEnum = createEEnum(ROUTING); smoothnessEEnum = createEEnum(SMOOTHNESS); jumpLinkStatusEEnum = createEEnum(JUMP_LINK_STATUS); jumpLinkTypeEEnum = createEEnum(JUMP_LINK_TYPE); alignmentEEnum = createEEnum(ALIGNMENT); sortingDirectionEEnum = createEEnum(SORTING_DIRECTION); measurementUnitEEnum = createEEnum(MEASUREMENT_UNIT); // Create data types relativeBendpointListEDataType = createEDataType(RELATIVE_BENDPOINT_LIST); filterKeyListEDataType = createEDataType(FILTER_KEY_LIST); sortKeyMapEDataType = createEDataType(SORT_KEY_MAP); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/1d1e28c0f7853dd16bd3fe819770773ed4e61d20/NotationPackageImpl.java/buggy/org.eclipse.gmf.notation/plugins/org.eclipse.gmf.runtime.notation/src/org/eclipse/gmf/runtime/notation/impl/NotationPackageImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 2261, 6323, 1435, 288, 202, 202, 430, 261, 291, 6119, 13, 327, 31, 202, 202, 291, 6119, 273, 638, 31, 202, 202, 759, 1788, 3318, 471, 3675, 4467, 202, 202, 7126, 5720, 273, 752, 5720, 12, 27732, 1769, 202, 202, 2640, 41, 2404, 12, 7126, 5720, 16, 15585, 7113, 972, 6537, 1769, 202, 202, 2640, 41, 2404, 12, 7126, 5720, 16, 15585, 7113, 972, 16374, 1769, 202, 202, 2640, 41, 2404, 12, 7126, 5720, 16, 15585, 7113, 972, 38, 18506, 55, 1769, 202, 202, 2640, 41, 2404, 12, 7126, 5720, 16, 15585, 7113, 972, 6537, 67, 20360, 916, 1769, 202, 202, 2640, 41, 2404, 12, 7126, 5720, 16, 15585, 7113, 972, 16374, 67, 20360, 916, 1769, 202, 202, 2159, 5720, 273, 752, 5720, 12, 8744, 1769, 202, 202, 2640, 41, 2404, 12, 2159, 5720, 16, 11922, 972, 7868, 5069, 67, 15199, 1769, 202, 202, 4060, 5720, 273, 752, 5720, 12, 15066, 1769, 202, 202, 5935, 2885, 5720, 273, 752, 5720, 12, 29818, 67, 15066, 1769, 202, 202, 2640, 41, 1499, 12, 5935, 2885, 5720, 16, 8445, 48, 67, 15066, 972, 29818, 67, 10989, 1769, 202, 202, 1369, 2885, 5720, 273, 752, 5720, 12, 5997, 67, 15066, 1769, 202, 202, 2640, 41, 1499, 12, 1369, 2885, 5720, 16, 14340, 67, 15066, 972, 5997, 67, 10989, 1769, 202, 202, 5776, 2885, 5720, 273, 752, 5720, 12, 25221, 67, 15066, 1769, 202, 202, 2640, 41, 1499, 12, 5776, 2885, 5720, 16, 27104, 67, 15066, 972, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 2261, 6323, 1435, 288, 202, 202, 430, 261, 291, 6119, 13, 327, 31, 202, 202, 291, 6119, 273, 638, 31, 202, 202, 759, 1788, 3318, 471, 3675, 4467, 202, 202, 7126, 5720, 273, 752, 5720, 12, 27732, 1769, 202, 202, 2640, 41, 2404, 12, 7126, 5720, 16, 15585, 7113, 972, 6537, 1769, 202, 202, 2640, 41, 2404, 12, 7126, 5720, 16, 15585, 7113, 972, 16374, 1769, 202, 202, 2640, 41, 2404, 12, 7126, 5720, 16, 15585, 7113, 972, 38, 18506, 55, 1769, 202, 202, 2640, 41, 2404, 12, 7126, 5720, 16, 15585, 7113, 972, 6537, 67, 20360, 916, 1769, 202, 202, 2640, 41, 2404, 12, 7126, 5720, 16, 15585, 7113, 972, 16374, 67, 20360, 2 ]
if (ref != null) { IWorkbenchPart part = ref.getPart(true); Assert.isNotNull(part); if (part instanceof MultiEditor) { IWorkbenchPartSite site = ((MultiEditor) part)
if (ref != null) { IWorkbenchPart part = ref.getPart(true); Assert.isNotNull(part); if (part instanceof MultiEditor) { IWorkbenchPartSite site = ((MultiEditor) part)
public void setActiveEditor(IEditorReference ref) { if (ref == activeEditorReference) { return; } // A part can't be activated until it is added //Assert.isTrue(ref == null || parts.contains(ref)); if (ref != null) { IWorkbenchPart part = ref.getPart(true); Assert.isNotNull(part); if (part instanceof MultiEditor) { IWorkbenchPartSite site = ((MultiEditor) part) .getActiveEditor().getSite(); if (site instanceof PartSite) { ref = (IEditorReference) ((PartSite) site).getPane() .getPartReference(); } } } activeEditorReference = ref; fireActiveEditorChanged(ref); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/1b0dac5907b7e377a3c295ce4c321d6a5feea581/PartList.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20669, 6946, 12, 45, 6946, 2404, 1278, 13, 288, 3639, 309, 261, 1734, 422, 2695, 6946, 2404, 13, 288, 5411, 327, 31, 3639, 289, 7734, 368, 432, 1087, 848, 1404, 506, 14892, 3180, 518, 353, 3096, 3639, 368, 8213, 18, 291, 5510, 12, 1734, 422, 446, 747, 2140, 18, 12298, 12, 1734, 10019, 3639, 309, 261, 1734, 480, 446, 13, 288, 5411, 467, 2421, 22144, 1988, 1087, 273, 1278, 18, 588, 1988, 12, 3767, 1769, 2398, 5452, 18, 291, 5962, 12, 2680, 1769, 5411, 309, 261, 2680, 1276, 5991, 6946, 13, 288, 2398, 202, 45, 2421, 22144, 1988, 4956, 2834, 273, 14015, 5002, 6946, 13, 1087, 13, 25083, 202, 18, 588, 3896, 6946, 7675, 588, 4956, 5621, 9506, 202, 430, 261, 4256, 1276, 6393, 4956, 13, 288, 6862, 202, 1734, 273, 261, 45, 6946, 2404, 13, 14015, 1988, 4956, 13, 2834, 2934, 588, 8485, 1435, 6862, 1082, 202, 18, 588, 1988, 2404, 5621, 9506, 202, 97, 1082, 202, 97, 3639, 289, 3639, 2695, 6946, 2404, 273, 1278, 31, 7734, 4452, 3896, 6946, 5033, 12, 1734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20669, 6946, 12, 45, 6946, 2404, 1278, 13, 288, 3639, 309, 261, 1734, 422, 2695, 6946, 2404, 13, 288, 5411, 327, 31, 3639, 289, 7734, 368, 432, 1087, 848, 1404, 506, 14892, 3180, 518, 353, 3096, 3639, 368, 8213, 18, 291, 5510, 12, 1734, 422, 446, 747, 2140, 18, 12298, 12, 1734, 10019, 3639, 309, 261, 1734, 480, 446, 13, 288, 5411, 467, 2421, 22144, 1988, 1087, 273, 1278, 18, 588, 1988, 12, 3767, 1769, 2398, 5452, 18, 291, 5962, 12, 2680, 1769, 5411, 309, 261, 2680, 1276, 5991, 6946, 13, 288, 2398, 202, 45, 2421, 22144, 1988, 4956, 2834, 273, 14015, 5002, 6946, 13, 1087, 13, 25083, 202, 18, 588, 3896, 6946, 7675, 588, 4956, 2 ]
System.err.println("NOTE: Using compiler class: " +
System.err.println(Messages.getString("rmi.console.08") +
public static final JavaCompiler locateJavaCompiler(boolean verbose) throws JavaCompilerException { // Checking JAVA_COMPILER_CLASS_PROPERTY. String compilerClassName = System.getProperty(JAVA_COMPILER_CLASS_PROPERTY); if (compilerClassName != null) { String compilerMethodName = System.getProperty(JAVA_COMPILER_METHOD_PROPERTY); if (verbose) { System.err.println("NOTE: Using compiler class: " + compilerClassName + ((compilerMethodName != null) ? (", method: " + compilerMethodName) : "")); } return new MethodJavaCompiler( compilerClassName, compilerMethodName); } // Checking JAVA_COMPILER_EXECUTABLE_PROPERTY. String executableName = System.getProperty(JAVA_COMPILER_EXECUTABLE_PROPERTY); if (executableName != null) { if (verbose) { System.err.println("NOTE: Using compiler executable: " + executableName); } return new ExecJavaCompiler(executableName); } // Trying to run Eclipse Compiler. try { JavaCompiler compiler = new EclipseJavaCompiler(); if (verbose) { System.err.println("NOTE: Using Eclipse Compiler"); } return compiler; } catch (JavaCompilerException e) { if (verbose) { System.err.println( "NOTE: Eclipse Compiler class not found: " + e); } } // Trying to run Javac executable from JAVA_HOME. try { JavaCompiler compiler = new ExecJavaCompiler(true); if (verbose) { System.err.println("NOTE: Using JAVA_HOME Javac compiler"); } return compiler; } catch (JavaCompilerException e) { if (verbose) { System.err.println( "NOTE: JAVA_HOME Javac compiler not found: " + e); } } // Trying to run Javac executable from system path, as a last resort. return new ExecJavaCompiler(false); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/b348e06c6dac9b88f66841b025d00af43b5afac0/JavaCompiler.java/clean/modules/rmi/src/main/java/org/apache/harmony/rmi/common/JavaCompiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 727, 5110, 9213, 10627, 5852, 9213, 12, 6494, 3988, 13, 5411, 1216, 5110, 9213, 503, 288, 3639, 368, 24471, 21227, 67, 31075, 14668, 67, 5237, 67, 9900, 18, 3639, 514, 5274, 3834, 273, 7734, 2332, 18, 588, 1396, 12, 27264, 67, 31075, 14668, 67, 5237, 67, 9900, 1769, 3639, 309, 261, 9576, 3834, 480, 446, 13, 288, 5411, 514, 5274, 11666, 273, 10792, 2332, 18, 588, 1396, 12, 27264, 67, 31075, 14668, 67, 5327, 67, 9900, 1769, 5411, 309, 261, 11369, 13, 288, 1171, 2332, 18, 370, 18, 8222, 12, 5058, 18, 588, 780, 2932, 8864, 77, 18, 8698, 18, 6840, 7923, 397, 13491, 5274, 3834, 397, 14015, 9576, 11666, 480, 446, 13, 27573, 692, 261, 3113, 707, 30, 315, 397, 5274, 11666, 13, 294, 1408, 10019, 5411, 289, 5411, 327, 394, 2985, 5852, 9213, 12, 10792, 5274, 3834, 16, 5274, 11666, 1769, 3639, 289, 3639, 368, 24471, 21227, 67, 31075, 14668, 67, 15271, 1693, 2782, 67, 9900, 18, 3639, 514, 9070, 461, 273, 5411, 2332, 18, 588, 1396, 12, 27264, 67, 31075, 14668, 67, 15271, 1693, 2782, 67, 9900, 1769, 3639, 309, 261, 17751, 461, 480, 446, 13, 288, 5411, 309, 261, 11369, 13, 288, 7734, 2332, 18, 370, 18, 8222, 2932, 17857, 30, 11637, 5274, 9070, 30, 315, 397, 13491, 9070, 461, 1769, 5411, 289, 5411, 327, 394, 3889, 5852, 9213, 12, 17751, 461, 1769, 3639, 289, 3639, 368, 6161, 310, 358, 1086, 20840, 10472, 12972, 18, 3639, 775, 288, 5411, 5110, 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, 727, 5110, 9213, 10627, 5852, 9213, 12, 6494, 3988, 13, 5411, 1216, 5110, 9213, 503, 288, 3639, 368, 24471, 21227, 67, 31075, 14668, 67, 5237, 67, 9900, 18, 3639, 514, 5274, 3834, 273, 7734, 2332, 18, 588, 1396, 12, 27264, 67, 31075, 14668, 67, 5237, 67, 9900, 1769, 3639, 309, 261, 9576, 3834, 480, 446, 13, 288, 5411, 514, 5274, 11666, 273, 10792, 2332, 18, 588, 1396, 12, 27264, 67, 31075, 14668, 67, 5327, 67, 9900, 1769, 5411, 309, 261, 11369, 13, 288, 1171, 2332, 18, 370, 18, 8222, 12, 5058, 18, 588, 780, 2932, 8864, 77, 18, 8698, 18, 6840, 7923, 397, 13491, 5274, 3834, 397, 14015, 9576, 11666, 480, 446, 13, 27573, 692, 261, 2 ]
case SINGLETON_FACTORY : return m_handler.getComponentManager().getInstance();
case SINGLETON_FACTORY : return m_handler.getComponentManager().getInstance();
public Object getService(Bundle bundle, ServiceRegistration registration) { switch(m_metadata.getFactoryPolicy()) { case SINGLETON_FACTORY : return m_handler.getComponentManager().getInstance(); case SERVICE_FACTORY : return m_handler.getComponentManager().createInstance(); case COMPONENT_FACTORY : //TODO Component Factory Behavior return null; default : Activator.getLogger().log(Level.SEVERE, "[" + m_handler.getComponentManager().getComponentMetatada().getClassName() + "] Unknown factory policy for " + m_metadata.getServiceSpecification() + " : " + m_metadata.getFactoryPolicy()); return null; } }
45948 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45948/ade5d36d9bda6dfac49dec23cf83e543691726ab/ProvidedService.java/clean/ipojo/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 6373, 12, 3405, 3440, 16, 1956, 7843, 7914, 13, 288, 377, 202, 9610, 12, 81, 67, 4165, 18, 588, 1733, 2582, 10756, 288, 377, 202, 3593, 15915, 56, 673, 67, 16193, 294, 5411, 327, 312, 67, 4176, 18, 588, 1841, 1318, 7675, 588, 1442, 5621, 377, 202, 3593, 12828, 67, 16193, 294, 377, 202, 202, 2463, 312, 67, 4176, 18, 588, 1841, 1318, 7675, 2640, 1442, 5621, 377, 202, 3593, 13846, 15624, 67, 16193, 294, 377, 202, 202, 759, 6241, 5435, 7822, 28030, 377, 202, 202, 2463, 446, 31, 377, 202, 1886, 294, 377, 202, 202, 12241, 639, 18, 588, 3328, 7675, 1330, 12, 2355, 18, 1090, 2204, 41, 16, 13626, 397, 312, 67, 4176, 18, 588, 1841, 1318, 7675, 588, 1841, 12244, 270, 16524, 7675, 588, 3834, 1435, 397, 9850, 9077, 3272, 3329, 364, 315, 397, 312, 67, 4165, 18, 588, 1179, 8615, 1435, 397, 315, 294, 315, 397, 312, 67, 4165, 18, 588, 1733, 2582, 10663, 377, 202, 202, 2463, 446, 31, 377, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 6373, 12, 3405, 3440, 16, 1956, 7843, 7914, 13, 288, 377, 202, 9610, 12, 81, 67, 4165, 18, 588, 1733, 2582, 10756, 288, 377, 202, 3593, 15915, 56, 673, 67, 16193, 294, 5411, 327, 312, 67, 4176, 18, 588, 1841, 1318, 7675, 588, 1442, 5621, 377, 202, 3593, 12828, 67, 16193, 294, 377, 202, 202, 2463, 312, 67, 4176, 18, 588, 1841, 1318, 7675, 2640, 1442, 5621, 377, 202, 3593, 13846, 15624, 67, 16193, 294, 377, 202, 202, 759, 6241, 5435, 7822, 28030, 377, 202, 202, 2463, 446, 31, 377, 202, 1886, 294, 377, 202, 202, 12241, 639, 18, 588, 3328, 7675, 1330, 12, 2355, 18, 1090, 2204, 41, 16, 13626, 397, 312, 67, 4176, 18, 2 ]
super ("UTF-16LE", null);
super ("UTF-16LE", new String[] { "UTF16LE", /* These names are provided by * http: */ "x-utf-16le", "ibm-1202", "ibm-13490", "ibm-17586", "UTF16_LittleEndian", "UnicodeLittleUnmarked" });
UTF_16LE () { super ("UTF-16LE", null); }
5916 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5916/8b9521b543363733791b0cb3aa8b0aad118ae75e/UTF_16LE.java/buggy/libjava/gnu/java/nio/charset/UTF_16LE.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 6380, 67, 2313, 900, 1832, 225, 288, 565, 2240, 7566, 5159, 17, 2313, 900, 3113, 394, 514, 8526, 288, 225, 315, 5159, 2313, 900, 3113, 1748, 8646, 1257, 854, 2112, 635, 380, 1062, 30, 1195, 315, 92, 17, 3158, 17, 2313, 298, 3113, 315, 10827, 17, 2138, 3103, 3113, 315, 10827, 17, 3437, 7616, 20, 3113, 315, 10827, 17, 4033, 25, 5292, 3113, 315, 5159, 2313, 67, 48, 10609, 3113, 225, 315, 16532, 48, 7188, 984, 3355, 329, 6, 15549, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 6380, 67, 2313, 900, 1832, 225, 288, 565, 2240, 7566, 5159, 17, 2313, 900, 3113, 394, 514, 8526, 288, 225, 315, 5159, 2313, 900, 3113, 1748, 8646, 1257, 854, 2112, 635, 380, 1062, 30, 1195, 315, 92, 17, 3158, 17, 2313, 298, 3113, 315, 10827, 17, 2138, 3103, 3113, 315, 10827, 17, 3437, 7616, 20, 3113, 315, 10827, 17, 4033, 25, 5292, 3113, 315, 5159, 2313, 67, 48, 10609, 3113, 225, 315, 16532, 48, 7188, 984, 3355, 329, 6, 15549, 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 ]
final int node = _node + 1; return node < _treeNodeLimit ? returnNode(_node = node) : NULL; }
final int node = _node + 1; return node < _treeNodeLimit ? returnNode(_node = node) : NULL; }
public int next() { final int node = _node + 1; return node < _treeNodeLimit ? returnNode(_node = node) : NULL; }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/264066e4e3d606d5167a1f5680c45669efd7e5c9/DOMImpl.java/clean/src/org/apache/xalan/xsltc/dom/DOMImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 1024, 1435, 288, 202, 565, 727, 509, 756, 273, 389, 2159, 397, 404, 31, 202, 565, 327, 756, 411, 389, 3413, 907, 3039, 692, 327, 907, 24899, 2159, 273, 756, 13, 294, 3206, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 509, 1024, 1435, 288, 202, 565, 727, 509, 756, 273, 389, 2159, 397, 404, 31, 202, 565, 327, 756, 411, 389, 3413, 907, 3039, 692, 327, 907, 24899, 2159, 273, 756, 13, 294, 3206, 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 ]
SipURI toAddress = addressFactory.createSipURI(toUser, toSipAddress);
SipURI toAddress = addressFactory .createSipURI(toUser, toSipAddress);
public void sendInvite() { try { String fromName = "BigGuy"; String fromSipAddress = "here.com"; String fromDisplayName = "The Master Blaster"; String toSipAddress = "there.com"; String toUser = "LittleGuy"; String toDisplayName = "The Little Blister"; // create >From Header SipURI fromAddress = addressFactory.createSipURI(fromName, fromSipAddress); Address fromNameAddress = addressFactory.createAddress(fromAddress); fromNameAddress.setDisplayName(fromDisplayName); String tag = new Integer((int)(Math.random() * 10000)).toString(); FromHeader fromHeader = headerFactory.createFromHeader(fromNameAddress, tag); // create To Header SipURI toAddress = addressFactory.createSipURI(toUser, toSipAddress); Address toNameAddress = addressFactory.createAddress(toAddress); toNameAddress.setDisplayName(toDisplayName); ToHeader toHeader = headerFactory.createToHeader(toNameAddress, null); // create Request URI SipURI requestURI = addressFactory.createSipURI(toUser, toSipAddress); // Create ViaHeaders ArrayList viaHeaders = new ArrayList(); int port = sipProvider.getListeningPoint().getPort(); ViaHeader viaHeader = headerFactory.createViaHeader( sipStack.getIPAddress(), sipProvider.getListeningPoint().getPort(), transport, null); // add via headers viaHeaders.add(viaHeader); // Create ContentTypeHeader ContentTypeHeader contentTypeHeader = headerFactory.createContentTypeHeader("application", "sdp"); // Create a new CallId header CallIdHeader callIdHeader = sipProvider.getNewCallId(); // Create a new Cseq header CSeqHeader cSeqHeader = headerFactory.createCSeqHeader(1, Request.INVITE); // Create a new MaxForwardsHeader MaxForwardsHeader maxForwards = headerFactory.createMaxForwardsHeader(70); // Create the request. Request request = messageFactory.createRequest( requestURI, Request.INVITE, callIdHeader, cSeqHeader, fromHeader, toHeader, viaHeaders, maxForwards); // Create contact headers String host = sipStack.getIPAddress(); SipURI contactUrl = addressFactory.createSipURI(fromName, host); contactUrl.setPort(tcpListeningPoint.getPort()); // Create the contact name address. SipURI contactURI = addressFactory.createSipURI(fromName, host); contactURI.setPort(sipProvider.getListeningPoint().getPort()); Address contactAddress = addressFactory.createAddress(contactURI); // Add the contact address. contactAddress.setDisplayName(fromName); contactHeader = headerFactory.createContactHeader(contactAddress); request.addHeader(contactHeader); // Add the extension header. Header extensionHeader = headerFactory.createHeader("My-Header", "my header value"); request.addHeader(extensionHeader); String sdpData = "v=0\r\n" + "o=4855 13760799956958020 13760799956958020" + " IN IP4 129.6.55.78\r\n" + "s=mysession session\r\n" + "p=+46 8 52018010\r\n" + "c=IN IP4 129.6.55.78\r\n" + "t=0 0\r\n" + "m=audio 6022 RTP/AVP 0 4 18\r\n" + "a=rtpmap:0 PCMU/8000\r\n" + "a=rtpmap:4 G723/8000\r\n" + "a=rtpmap:18 G729A/8000\r\n" + "a=ptime:20\r\n";/** StringBuffer sdpBuff = new StringBuffer(); for (int i = 0; i < 500; i++) { sdpBuff.append(sdp); } String sdpData = sdpBuff.toString(); File dataFile = new File("data.txt"); long length = dataFile.length(); FileInputStream fis = new FileInputStream(dataFile); byte[] contents = new byte[(int)length]; fis.read(contents); System.out.println("length = " + contents.length);**/ byte[] contents = sdpData.getBytes(); //byte[] contents = sdpBuff.toString().getBytes(); request.setContent(contents, contentTypeHeader); extensionHeader = headerFactory.createHeader( "My-Other-Header", "my new header value "); request.addHeader(extensionHeader); Header callInfoHeader = headerFactory.createHeader( "Call-Info", "<http://www.antd.nist.gov>"); request.addHeader(callInfoHeader); // Create the client transaction. ClientTransaction inviteTid = sipProvider.getNewClientTransaction(request); // send the request out. inviteTid.sendRequest(); Dialog dialog = inviteTid.getDialog(); // Set a pointer to our application data Appdata appdata = new Appdata(dialog); dialog.setApplicationData(appdata); } catch (Exception ex) { System.out.println(ex.getMessage()); ex.printStackTrace(); usage(); } }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/68c0ca844a7d5fe4a7744cbf9898184966ce0680/Shootist.java/clean/src/test/load/concurrency/Shootist.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1366, 22730, 1435, 288, 202, 202, 698, 288, 1082, 202, 780, 628, 461, 273, 315, 9901, 6099, 93, 14432, 1082, 202, 780, 628, 17550, 1887, 273, 315, 14852, 18, 832, 14432, 1082, 202, 780, 628, 20524, 273, 315, 1986, 13453, 8069, 2440, 14432, 1082, 202, 780, 358, 17550, 1887, 273, 315, 18664, 18, 832, 14432, 1082, 202, 780, 358, 1299, 273, 315, 48, 7188, 6099, 93, 14432, 1082, 202, 780, 358, 20524, 273, 315, 1986, 511, 7188, 605, 1098, 264, 14432, 1082, 202, 759, 752, 405, 1265, 4304, 1082, 202, 17550, 3098, 628, 1887, 273, 9506, 202, 2867, 1733, 18, 2640, 17550, 3098, 12, 2080, 461, 16, 628, 17550, 1887, 1769, 1082, 202, 1887, 628, 461, 1887, 273, 1758, 1733, 18, 2640, 1887, 12, 2080, 1887, 1769, 1082, 202, 2080, 461, 1887, 18, 542, 20524, 12, 2080, 20524, 1769, 25083, 202, 780, 1047, 273, 394, 2144, 12443, 474, 21433, 10477, 18, 9188, 1435, 380, 12619, 13, 2934, 10492, 5621, 1082, 202, 1265, 1864, 628, 1864, 273, 9506, 202, 3374, 1733, 18, 2640, 1265, 1864, 12, 2080, 461, 1887, 16, 1047, 1769, 1082, 202, 759, 752, 2974, 4304, 1082, 202, 17550, 3098, 358, 1887, 273, 9506, 202, 2867, 1733, 18, 2640, 17550, 3098, 12, 869, 1299, 16, 358, 17550, 1887, 1769, 1082, 202, 1887, 358, 461, 1887, 273, 1758, 1733, 18, 2640, 1887, 12, 869, 1887, 1769, 1082, 202, 869, 461, 1887, 18, 542, 20524, 12, 869, 20524, 1769, 1082, 202, 774, 1864, 358, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1366, 22730, 1435, 288, 202, 202, 698, 288, 1082, 202, 780, 628, 461, 273, 315, 9901, 6099, 93, 14432, 1082, 202, 780, 628, 17550, 1887, 273, 315, 14852, 18, 832, 14432, 1082, 202, 780, 628, 20524, 273, 315, 1986, 13453, 8069, 2440, 14432, 1082, 202, 780, 358, 17550, 1887, 273, 315, 18664, 18, 832, 14432, 1082, 202, 780, 358, 1299, 273, 315, 48, 7188, 6099, 93, 14432, 1082, 202, 780, 358, 20524, 273, 315, 1986, 511, 7188, 605, 1098, 264, 14432, 1082, 202, 759, 752, 405, 1265, 4304, 1082, 202, 17550, 3098, 628, 1887, 273, 9506, 202, 2867, 1733, 18, 2640, 17550, 3098, 12, 2080, 461, 16, 628, 17550, 1887, 1769, 1082, 202, 1887, 628, 2 ]
System.out.println("Can't execute native browser. ErrMsg is " + e.getMessage());
System.out.println("Can't execute native browser. Error message is: " + e.getCause().getMessage());
public void run() { // create native browser process try { if (WebBrowser.getBrowserBinary() == null) { setBrowsersInitFailReason("BrowserBinary not set"); WebBrowser.trace("browserBinary not set, system exit"); return; } String jvmVendor = System.getProperty("java.vm.vendor"); if (WebBrowser.getBrowserBinary().endsWith("IeEmbed.exe") && jvmVendor.startsWith("Sun")) WebBrowserUtil.nativeSetEnv(); final String cmd = WebBrowser.getBrowserBinary() + " -port=" + messenger.getPort(); WebBrowser.trace("Executing " + cmd); AccessController.doPrivileged( new PrivilegedExceptionAction() { public Object run() throws IOException { nativeBrowser = Runtime.getRuntime().exec(cmd); new StreamGobbler(nativeBrowser.getErrorStream()).start(); new StreamGobbler(nativeBrowser.getInputStream()).start(); return null; } } ); } catch (PrivilegedActionException e) { setBrowsersInitFailReason("Can't find native browser"); System.out.println("Can't execute native browser. ErrMsg is " + e.getMessage()); return; } // create socket client and connect to socket server try { AccessController.doPrivileged( new PrivilegedExceptionAction() { public Object run() throws Exception { messenger.connect(); return null; } } ); } catch (PrivilegedActionException e) { System.out.println("Can't connect to native browser. ErrMsg is " + e.getMessage()); setBrowsersInitFailReason("Can't connect to native browser"); return; } // main event loop while (true) { try { Thread.sleep(1); } catch (Exception e) { } try { int exitValue = nativeBrowser.exitValue(); WebBrowser.trace("Native browser died."); return; } catch (IllegalThreadStateException e) { } try { processEvents(); } catch (Exception e) { WebBrowser.trace("Exception occured when processEvent: " + e.getMessage()); return; } try { messenger.portListening(); processIncomingMessage(messenger.getMessage()); } catch (Exception e) { WebBrowser.trace("Exception occured when portListening: " + e.getMessage()); return; } } }
46042 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46042/2e48a3c2b6c09a2a916e9b864fd3933c0da477c0/NativeEventThread.java/buggy/src/jdic/src/share/classes/org/jdesktop/jdic/browser/NativeEventThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 368, 752, 6448, 4748, 1207, 3639, 775, 288, 5411, 309, 261, 4079, 9132, 18, 588, 9132, 5905, 1435, 422, 446, 13, 288, 1171, 15268, 13221, 2570, 3754, 8385, 2932, 9132, 5905, 486, 444, 8863, 7734, 2999, 9132, 18, 5129, 2932, 11213, 5905, 486, 444, 16, 2619, 2427, 8863, 7734, 327, 31, 5411, 289, 1171, 514, 13555, 14786, 273, 2332, 18, 588, 1396, 2932, 6290, 18, 3489, 18, 10645, 8863, 5411, 309, 261, 4079, 9132, 18, 588, 9132, 5905, 7675, 5839, 1190, 2932, 45, 73, 9538, 18, 14880, 7923, 597, 13555, 14786, 18, 17514, 1190, 2932, 29636, 6, 3719, 7734, 2999, 9132, 1304, 18, 13635, 694, 3491, 5621, 5411, 727, 514, 1797, 273, 2999, 9132, 18, 588, 9132, 5905, 1435, 397, 315, 300, 655, 1546, 397, 31086, 18, 588, 2617, 5621, 5411, 2999, 9132, 18, 5129, 2932, 22134, 315, 397, 1797, 1769, 5411, 25556, 18, 2896, 18845, 12, 7734, 394, 17747, 503, 1803, 1435, 288, 10792, 1071, 1033, 1086, 1435, 1216, 1860, 288, 13491, 6448, 9132, 273, 2509, 18, 588, 5576, 7675, 4177, 12, 4172, 1769, 13491, 394, 3961, 43, 947, 70, 749, 12, 13635, 9132, 18, 588, 668, 1228, 1435, 2934, 1937, 5621, 13491, 394, 3961, 43, 947, 70, 749, 12, 13635, 9132, 18, 588, 4348, 1435, 2934, 1937, 5621, 13491, 327, 446, 31, 10792, 289, 7734, 289, 5411, 11272, 3639, 289, 1044, 261, 18845, 1803, 503, 425, 13, 288, 5411, 15268, 13221, 2570, 3754, 8385, 2932, 2568, 1404, 1104, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 368, 752, 6448, 4748, 1207, 3639, 775, 288, 5411, 309, 261, 4079, 9132, 18, 588, 9132, 5905, 1435, 422, 446, 13, 288, 1171, 15268, 13221, 2570, 3754, 8385, 2932, 9132, 5905, 486, 444, 8863, 7734, 2999, 9132, 18, 5129, 2932, 11213, 5905, 486, 444, 16, 2619, 2427, 8863, 7734, 327, 31, 5411, 289, 1171, 514, 13555, 14786, 273, 2332, 18, 588, 1396, 2932, 6290, 18, 3489, 18, 10645, 8863, 5411, 309, 261, 4079, 9132, 18, 588, 9132, 5905, 7675, 5839, 1190, 2932, 45, 73, 9538, 18, 14880, 7923, 597, 13555, 14786, 18, 17514, 1190, 2932, 29636, 6, 3719, 7734, 2999, 9132, 1304, 18, 13635, 694, 3491, 5621, 5411, 727, 514, 1797, 273, 2 ]
return this.get(positionY - this.getWidth());
return this.get(position - this.getWidth());
public Object up(Object o) { int positionY = this.getY(this.indexOf(o)); if (positionY != 0) { return this.get(positionY - this.getWidth()); } else { return null; } }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/f65ce438302658787d8a974be204323b67888d57/Cube.java/clean/src/org/objectweb/proactive/core/group/topology/Cube.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 731, 12, 921, 320, 13, 288, 3639, 509, 1754, 61, 273, 333, 18, 588, 61, 12, 2211, 18, 31806, 12, 83, 10019, 3639, 309, 261, 3276, 61, 480, 374, 13, 288, 5411, 327, 333, 18, 588, 12, 3276, 300, 333, 18, 588, 2384, 10663, 3639, 289, 469, 288, 5411, 327, 446, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 1071, 1033, 731, 12, 921, 320, 13, 288, 3639, 509, 1754, 61, 273, 333, 18, 588, 61, 12, 2211, 18, 31806, 12, 83, 10019, 3639, 309, 261, 3276, 61, 480, 374, 13, 288, 5411, 327, 333, 18, 588, 12, 3276, 300, 333, 18, 588, 2384, 10663, 3639, 289, 469, 288, 5411, 327, 446, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return -1;
return 0;
public int getPort() { if (! isConnected()) return -1; try { return getImpl().getPort(); } catch (SocketException e) { // This cannot happen as we are connected. } return -1; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/605a3c552300ed58426ba508550965fd91bc6420/Socket.java/clean/libraries/javalib/java/net/Socket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 11036, 1435, 225, 288, 565, 309, 16051, 20854, 10756, 1377, 327, 374, 31, 565, 775, 1377, 288, 202, 2463, 336, 2828, 7675, 588, 2617, 5621, 1377, 289, 565, 1044, 261, 4534, 503, 425, 13, 1377, 288, 202, 759, 1220, 2780, 5865, 487, 732, 854, 5840, 18, 1377, 289, 565, 327, 374, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 11036, 1435, 225, 288, 565, 309, 16051, 20854, 10756, 1377, 327, 374, 31, 565, 775, 1377, 288, 202, 2463, 336, 2828, 7675, 588, 2617, 5621, 1377, 289, 565, 1044, 261, 4534, 503, 425, 13, 1377, 288, 202, 759, 1220, 2780, 5865, 487, 732, 854, 5840, 18, 1377, 289, 565, 327, 374, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else { if (arguments instanceof Object[]) { if (((Object[])arguments).length <= 1) return call(arguments); else if (((Object[])arguments)[0] instanceof Object[]) return callViaReflection((Object[]) ((Object[])arguments)[0]); else return callViaReflection((Object[]) arguments); } else return call(arguments); }
return callSpecial(arguments);
public Object invokeMethod(String method, Object arguments) { if ("doCall".equals(method) || "call".equals(method)) { if (arguments == null) { return call(arguments); } else { if (arguments instanceof Object[]) { if (((Object[])arguments).length <= 1) return call(arguments); else if (((Object[])arguments)[0] instanceof Object[]) return callViaReflection((Object[]) ((Object[])arguments)[0]); else return callViaReflection((Object[]) arguments); } else return call(arguments); } } else if ("curry".equals(method)) { return curry((Object[]) arguments); } else { try { return getMetaClass().invokeMethod(this, method, arguments); } catch (MissingMethodException e) { if (owner != this) { try { // lets try invoke method on the owner return InvokerHelper.invokeMethod(this.owner, method, arguments); } catch (InvokerInvocationException iie) { throw iie; } catch (GroovyRuntimeException e1) { if (this.delegate != null && this.delegate != this && this.delegate != this.owner) { // lets try invoke method on the delegate try { return InvokerHelper.invokeMethod(this.delegate, method, arguments); } catch (MissingMethodException mme) { throw new InvokerInvocationException(mme); } catch (GroovyRuntimeException gre) { throw new InvokerInvocationException(gre.getCause()); } } } } throw e; } } }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/9bd4282d7b52d6da3319e844fcbf1007968ec8b9/Closure.java/clean/src/main/groovy/lang/Closure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 27632, 12, 780, 707, 16, 1033, 1775, 13, 288, 3639, 309, 7566, 2896, 1477, 9654, 14963, 12, 2039, 13, 747, 315, 1991, 9654, 14963, 12, 2039, 3719, 288, 5411, 309, 261, 7099, 422, 446, 13, 288, 7734, 327, 745, 12, 7099, 1769, 5411, 289, 5411, 469, 288, 1171, 309, 261, 7099, 1276, 1033, 63, 5717, 288, 10792, 309, 261, 12443, 921, 63, 5717, 7099, 2934, 2469, 1648, 404, 13, 12900, 327, 745, 12, 7099, 1769, 10792, 469, 7682, 309, 261, 12443, 921, 63, 5717, 7099, 25146, 20, 65, 1276, 1033, 63, 5717, 11794, 327, 745, 21246, 9801, 12443, 921, 63, 5717, 14015, 921, 63, 5717, 7099, 25146, 20, 19226, 7682, 469, 11794, 327, 745, 21246, 9801, 12443, 921, 63, 5717, 1775, 1769, 7734, 289, 7734, 469, 10792, 327, 745, 12, 7099, 1769, 5411, 289, 3639, 289, 469, 309, 7566, 1397, 1176, 9654, 14963, 12, 2039, 3719, 288, 5411, 327, 662, 1176, 12443, 921, 63, 5717, 1775, 1769, 3639, 289, 469, 288, 5411, 775, 288, 7734, 327, 11312, 797, 7675, 14407, 1305, 12, 2211, 16, 707, 16, 1775, 1769, 5411, 289, 1044, 261, 4841, 14513, 425, 13, 288, 7734, 309, 261, 8443, 480, 333, 13, 288, 10792, 775, 288, 13491, 368, 14557, 775, 4356, 707, 603, 326, 3410, 13491, 327, 17602, 264, 2276, 18, 14407, 1305, 12, 2211, 18, 8443, 16, 707, 16, 1775, 1769, 10792, 289, 1044, 261, 24455, 9267, 503, 277, 1385, 13, 288, 13491, 604, 277, 1385, 31, 10792, 289, 1044, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 27632, 12, 780, 707, 16, 1033, 1775, 13, 288, 3639, 309, 7566, 2896, 1477, 9654, 14963, 12, 2039, 13, 747, 315, 1991, 9654, 14963, 12, 2039, 3719, 288, 5411, 309, 261, 7099, 422, 446, 13, 288, 7734, 327, 745, 12, 7099, 1769, 5411, 289, 5411, 469, 288, 1171, 309, 261, 7099, 1276, 1033, 63, 5717, 288, 10792, 309, 261, 12443, 921, 63, 5717, 7099, 2934, 2469, 1648, 404, 13, 12900, 327, 745, 12, 7099, 1769, 10792, 469, 7682, 309, 261, 12443, 921, 63, 5717, 7099, 25146, 20, 65, 1276, 1033, 63, 5717, 11794, 327, 745, 21246, 9801, 12443, 921, 63, 5717, 14015, 921, 63, 5717, 7099, 25146, 20, 19226, 7682, 469, 11794, 327, 745, 21246, 9801, 2 ]
psc.getServerPluginSupport().getClusterIDAsString());
psc.getServerPlugInSupport().getClusterIDAsString());
private static UITaskItinerary generateGSSTaskItinerary(Task task, PlanServiceContext psc) { Expansion expansion = (Expansion) task.getPlanElement(); if (expansion == null) return null; Workflow wf = expansion.getWorkflow(); if (wf == null) return null; UITaskItinerary itin = new UITaskItinerary(); setDefaultInformation( itin, psc.getServerPluginSupport().getClusterIDAsString()); setTaskInformation(itin, task); // Grab the three legs of the mission, CONUS_GROUND, SEA/AIR, THEATER_GROUND Task conus_ground_leg = null; Task sea_air_leg = null; Task theater_ground_leg = null; for (Enumeration subtasks = wf.getTasks(); subtasks.hasMoreElements();) { Task subtask = (Task)subtasks.nextElement(); if (conus_ground_leg == null) conus_ground_leg = subtask; else if (sea_air_leg == null) sea_air_leg = subtask; else if (theater_ground_leg == null) theater_ground_leg = subtask; } if ((conus_ground_leg == null) || (sea_air_leg == null) || (theater_ground_leg == null)) return null; // And fill them in as schedule elements for the itinerary object Vector schedElems = itin.getScheduleElements(); schedElems.addElement(createUITaskItineraryElement(conus_ground_leg)); schedElems.addElement(createUITaskItineraryElement(sea_air_leg)); schedElems.addElement(createUITaskItineraryElement(theater_ground_leg)); itin.setScheduleElements(schedElems); return itin; }
7171 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7171/0f7316d3a448f540461f10d7d52450a728ce0966/PSP_Itinerary.java/buggy/glm/src/org/cougaar/domain/mlm/ui/psp/transportation/PSP_Itinerary.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 587, 1285, 835, 7193, 28924, 2103, 16113, 882, 835, 7193, 28924, 12, 2174, 1562, 16, 4766, 10792, 12540, 1179, 1042, 293, 1017, 13, 282, 288, 377, 7784, 12162, 17965, 273, 261, 2966, 12162, 13, 1562, 18, 588, 5365, 1046, 5621, 565, 309, 261, 2749, 12162, 422, 446, 13, 4202, 327, 446, 31, 565, 11363, 11578, 273, 17965, 18, 588, 8484, 5621, 565, 309, 261, 15581, 422, 446, 13, 1377, 327, 446, 31, 565, 587, 1285, 835, 7193, 28924, 518, 267, 273, 394, 587, 1285, 835, 7193, 28924, 5621, 565, 9277, 5369, 12, 1377, 518, 267, 16, 4202, 293, 1017, 18, 588, 2081, 1749, 637, 382, 6289, 7675, 588, 3629, 734, 8092, 10663, 377, 444, 2174, 5369, 12, 305, 267, 16, 1562, 1769, 565, 368, 17150, 326, 8925, 884, 564, 434, 326, 29396, 16, 3492, 3378, 67, 20166, 16, 3174, 37, 19, 37, 7937, 16, 12786, 13641, 67, 20166, 565, 3837, 356, 407, 67, 2915, 67, 1935, 273, 446, 31, 565, 3837, 695, 69, 67, 1826, 67, 1935, 273, 446, 31, 565, 3837, 326, 2045, 67, 2915, 67, 1935, 273, 446, 31, 565, 364, 261, 21847, 720, 9416, 273, 11578, 18, 588, 6685, 5621, 720, 9416, 18, 5332, 7417, 3471, 5621, 13, 288, 1377, 3837, 720, 4146, 273, 261, 2174, 13, 1717, 9416, 18, 4285, 1046, 5621, 1377, 309, 261, 591, 407, 67, 2915, 67, 1935, 422, 446, 13, 540, 356, 407, 67, 2915, 67, 1935, 273, 720, 4146, 31, 1377, 469, 309, 261, 307, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 587, 1285, 835, 7193, 28924, 2103, 16113, 882, 835, 7193, 28924, 12, 2174, 1562, 16, 4766, 10792, 12540, 1179, 1042, 293, 1017, 13, 282, 288, 377, 7784, 12162, 17965, 273, 261, 2966, 12162, 13, 1562, 18, 588, 5365, 1046, 5621, 565, 309, 261, 2749, 12162, 422, 446, 13, 4202, 327, 446, 31, 565, 11363, 11578, 273, 17965, 18, 588, 8484, 5621, 565, 309, 261, 15581, 422, 446, 13, 1377, 327, 446, 31, 565, 587, 1285, 835, 7193, 28924, 518, 267, 273, 394, 587, 1285, 835, 7193, 28924, 5621, 565, 9277, 5369, 12, 1377, 518, 267, 16, 4202, 293, 1017, 18, 588, 2081, 1749, 637, 382, 6289, 7675, 588, 3629, 734, 8092, 10663, 377, 444, 2174, 5369, 2 ]
this.socket = socket; this.context = context; try { ois = new ObjectInputStream(new BufferedInputStream(socket .getInputStream())); } catch (Exception e) { logger.error("Could not open ObjectInputStream to " + socket, e); } }
this.socket = socket; this.context = context; try { ois = new ObjectInputStream(new BufferedInputStream(socket .getInputStream())); } catch (Exception e) { logger.error("Could not open ObjectInputStream to " + socket, e); } }
public SocketNode(Socket socket, LoggerContext context) { this.socket = socket; this.context = context; try { ois = new ObjectInputStream(new BufferedInputStream(socket .getInputStream())); } catch (Exception e) { logger.error("Could not open ObjectInputStream to " + socket, e); } }
47402 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47402/e220856dd8a2ab701296029034c8ddf6d8b81757/SocketNode.java/buggy/logback-classic/src/main/java/ch/qos/logback/classic/net/SocketNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8758, 907, 12, 4534, 2987, 16, 4242, 1042, 819, 13, 288, 202, 202, 2211, 18, 7814, 273, 2987, 31, 202, 202, 2211, 18, 2472, 273, 819, 31, 202, 202, 698, 288, 1082, 202, 19606, 273, 394, 22726, 12, 2704, 24742, 12, 7814, 6862, 202, 18, 588, 4348, 1435, 10019, 202, 202, 97, 1044, 261, 503, 425, 13, 288, 1082, 202, 4901, 18, 1636, 2932, 4445, 486, 1696, 22726, 358, 315, 397, 2987, 16, 425, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8758, 907, 12, 4534, 2987, 16, 4242, 1042, 819, 13, 288, 202, 202, 2211, 18, 7814, 273, 2987, 31, 202, 202, 2211, 18, 2472, 273, 819, 31, 202, 202, 698, 288, 1082, 202, 19606, 273, 394, 22726, 12, 2704, 24742, 12, 7814, 6862, 202, 18, 588, 4348, 1435, 10019, 202, 202, 97, 1044, 261, 503, 425, 13, 288, 1082, 202, 4901, 18, 1636, 2932, 4445, 486, 1696, 22726, 358, 315, 397, 2987, 16, 425, 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 ]
dir.mkdirs(); File f = new File(dir, fileName); PrintWriter out = new PrintWriter(new FileWriter(f)); out.println("unused"); out.close(); f.deleteOnExit(); dir.deleteOnExit();
File f = createFile(dir, fileName);
protected void setupThresholdConfig(String dirName, String fileName, String ipAddress, String serviceName, String groupName) throws IOException, UnknownHostException, FileNotFoundException, MarshalException, ValidationException { File dir = new File(dirName); dir.mkdirs(); File f = new File(dir, fileName); PrintWriter out = new PrintWriter(new FileWriter(f)); out.println("unused"); out.close(); f.deleteOnExit(); dir.deleteOnExit(); m_fileName = f.getAbsolutePath(); m_step = 300000; m_iface = new IPv4NetworkInterface(InetAddress.getByName(ipAddress)); m_serviceParameters = new HashMap(); m_serviceParameters.put("svcName", serviceName); m_parameters = new HashMap(); m_parameters.put("thresholding-group", groupName); m_ipAddress = ipAddress; m_serviceName = serviceName; Resource config = new ClassPathResource("/test-thresholds.xml"); Reader r = new InputStreamReader(config.getInputStream()); ThresholdingConfigFactory.setInstance(new ThresholdingConfigFactory(r)); r.close(); ThresholdingConfigFactory.getInstance().getGroup(groupName).setRrdRepository(dir.getParentFile().getAbsolutePath()); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/7a86f2834f8ee12135b42094cac6abd75242882c/ThresholderTestCase.java/clean/opennms-services/src/test/java/org/opennms/netmgt/threshd/ThresholderTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3875, 7614, 809, 12, 780, 20878, 16, 514, 3968, 16, 514, 17138, 16, 514, 6773, 16, 514, 11619, 13, 1216, 1860, 16, 30592, 16, 13707, 16, 5884, 503, 16, 15614, 288, 202, 202, 812, 1577, 273, 394, 1387, 12, 1214, 461, 1769, 202, 202, 1214, 18, 24816, 8291, 5621, 202, 202, 812, 284, 273, 394, 1387, 12, 1214, 16, 3968, 1769, 202, 202, 5108, 2289, 596, 273, 394, 14071, 12, 2704, 24639, 12, 74, 10019, 202, 202, 659, 18, 8222, 2932, 14375, 8863, 202, 202, 659, 18, 4412, 5621, 202, 202, 74, 18, 3733, 1398, 6767, 5621, 202, 202, 1214, 18, 3733, 1398, 6767, 5621, 202, 202, 81, 67, 17812, 273, 284, 18, 588, 10368, 743, 5621, 202, 202, 81, 67, 4119, 273, 890, 11706, 31, 202, 202, 81, 67, 31479, 273, 394, 7853, 24, 27413, 12, 382, 278, 1887, 18, 588, 5911, 12, 625, 1887, 10019, 202, 202, 81, 67, 3278, 2402, 273, 394, 4317, 5621, 202, 202, 81, 67, 3278, 2402, 18, 458, 2932, 30992, 461, 3113, 6773, 1769, 202, 202, 81, 67, 3977, 273, 394, 4317, 5621, 202, 202, 81, 67, 3977, 18, 458, 2932, 8699, 310, 17, 1655, 3113, 11619, 1769, 3639, 312, 67, 625, 1887, 273, 17138, 31, 3639, 312, 67, 15423, 273, 6773, 31, 9506, 202, 1420, 642, 273, 394, 1659, 743, 1420, 2932, 19, 3813, 17, 8699, 87, 18, 2902, 8863, 202, 202, 2514, 436, 273, 394, 15322, 12, 1425, 18, 588, 4348, 10663, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3875, 7614, 809, 12, 780, 20878, 16, 514, 3968, 16, 514, 17138, 16, 514, 6773, 16, 514, 11619, 13, 1216, 1860, 16, 30592, 16, 13707, 16, 5884, 503, 16, 15614, 288, 202, 202, 812, 1577, 273, 394, 1387, 12, 1214, 461, 1769, 202, 202, 1214, 18, 24816, 8291, 5621, 202, 202, 812, 284, 273, 394, 1387, 12, 1214, 16, 3968, 1769, 202, 202, 5108, 2289, 596, 273, 394, 14071, 12, 2704, 24639, 12, 74, 10019, 202, 202, 659, 18, 8222, 2932, 14375, 8863, 202, 202, 659, 18, 4412, 5621, 202, 202, 74, 18, 3733, 1398, 6767, 5621, 202, 202, 1214, 18, 3733, 1398, 6767, 5621, 202, 202, 81, 67, 17812, 273, 284, 18, 588, 10368, 2 ]
out.println(line);
public boolean compute() throws IOException { String[] basenames = FileUtils.listBasenames(phonelabelDir, ".lab"); System.out.println("Computing unit labels for "+basenames.length+" files"); for (int i=0; i<basenames.length; i++) { BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(new File(phonelabelDir, basenames[i]+".lab")), "UTF-8")); PrintWriter out = new PrintWriter(new File(unitlabelDir, basenames[i]+".unitlab"), "UTF-8"); // Merge adjacent pauses into one: In a sequence of pauses, // only remember the last one. String pauseLine = null; String line; while ((line = in.readLine())!= null) { // Verify if this is a pause unit String unit = getUnit(line); if (pauseSymbol.equals(unit)) { pauseLine = line; // remember only the latest pause line } else { // a non-pause symbol if (pauseLine != null) { out.println(pauseLine); pauseLine = null; } out.println(line); } } if (pauseLine != null) { out.println(pauseLine); } out.flush(); out.close(); System.out.println(" "+basenames[i]); } System.out.println("Finished computing unit labels"); return true; }
49846 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49846/863a435e1e81a31023f567a49dc521436d84df27/UnitLabelComputer.java/buggy/java/de/dfki/lt/mary/unitselection/voiceimport_reorganized/UnitLabelComputer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 3671, 1435, 1216, 1860, 565, 288, 3639, 514, 8526, 2580, 6809, 273, 13779, 18, 1098, 11494, 6809, 12, 844, 265, 292, 873, 1621, 16, 3552, 7411, 8863, 3639, 2332, 18, 659, 18, 8222, 2932, 7703, 310, 2836, 3249, 364, 13773, 9157, 6809, 18, 2469, 9078, 1390, 8863, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 9157, 6809, 18, 2469, 31, 277, 27245, 288, 5411, 10633, 316, 273, 394, 10633, 12, 2704, 15322, 12, 2704, 11907, 12, 2704, 1387, 12, 844, 265, 292, 873, 1621, 16, 2580, 6809, 63, 77, 3737, 9654, 7411, 7923, 3631, 315, 5159, 17, 28, 7923, 1769, 5411, 14071, 596, 273, 394, 14071, 12, 2704, 1387, 12, 4873, 1925, 1621, 16, 2580, 6809, 63, 77, 3737, 9654, 4873, 7411, 6, 3631, 315, 5159, 17, 28, 8863, 5411, 368, 8964, 16335, 6790, 6117, 1368, 1245, 30, 657, 279, 3102, 434, 6790, 6117, 16, 5411, 368, 1338, 11586, 326, 1142, 1245, 18, 5411, 514, 11722, 1670, 273, 446, 31, 5411, 514, 980, 31, 5411, 1323, 14015, 1369, 273, 316, 18, 896, 1670, 10756, 5, 33, 446, 13, 288, 7734, 368, 8553, 309, 333, 353, 279, 11722, 2836, 7734, 514, 2836, 273, 19194, 12, 1369, 1769, 7734, 309, 261, 19476, 5335, 18, 14963, 12, 4873, 3719, 288, 10792, 11722, 1670, 273, 980, 31, 368, 11586, 1338, 326, 4891, 11722, 980, 7734, 289, 469, 288, 368, 279, 1661, 17, 19476, 3273, 10792, 309, 261, 19476, 1670, 480, 446, 13, 288, 13491, 596, 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, 1250, 3671, 1435, 1216, 1860, 565, 288, 3639, 514, 8526, 2580, 6809, 273, 13779, 18, 1098, 11494, 6809, 12, 844, 265, 292, 873, 1621, 16, 3552, 7411, 8863, 3639, 2332, 18, 659, 18, 8222, 2932, 7703, 310, 2836, 3249, 364, 13773, 9157, 6809, 18, 2469, 9078, 1390, 8863, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 9157, 6809, 18, 2469, 31, 277, 27245, 288, 5411, 10633, 316, 273, 394, 10633, 12, 2704, 15322, 12, 2704, 11907, 12, 2704, 1387, 12, 844, 265, 292, 873, 1621, 16, 2580, 6809, 63, 77, 3737, 9654, 7411, 7923, 3631, 315, 5159, 17, 28, 7923, 1769, 5411, 14071, 596, 273, 394, 14071, 12, 2704, 1387, 12, 4873, 1925, 1621, 16, 2 ]
if (parameters != null && parameters.length > 0) {
if (hasParameters) {
private void resultDetail(IResultMap tests, final String style) { if (tests.getAllResults().size() > 0) { int row = 0; for (ITestNGMethod method : getMethodSet(tests)) { row += 1; m_methodIndex += 1; String cname = method.getTestClass().getName(); m_out.println("<a id=\"m" + m_methodIndex + "\"></a><h2>" + cname + ":" + method.getMethodName() + "</h2>"); int rq = 0; Set<ITestResult> resultSet = tests.getResults(method); for (ITestResult ans : resultSet) { rq += 1; Object[] parameters = ans.getParameters(); if (parameters != null && parameters.length > 0) { if (rq == 1) { tableStart("param"); m_out.print("<tr>"); for (int x = 1; x <= parameters.length; x++) { m_out .print("<th style=\"padding-left:1em;padding-right:1em\">Parameter #" + x + "</th>"); } m_out.println("</tr>"); } m_out.print("<tr" + (rq % 2 == 0 ? " class=\"stripe\"" : "") + ">"); for (Object p : parameters) { m_out .println("<td style=\"padding-left:.5em;padding-right:2em\">" + (p != null ? p.toString() : "null") + "</td>"); } m_out.println("</tr>"); } List<String> msgs = Reporter.getOutput(ans); // Note(cbeust) // There are three tests against parameters here, they should probably // be factored into one if (msgs.size() > 0) { String indent = " style=\"padding-left:3em\""; if (parameters != null && parameters.length > 0) { m_out.println("<tr" + (rq % 2 == 0 ? " class=\"stripe\"" : "") + "><td" + indent + " colspan=\"" + parameters.length + "\">"); } else { m_out.println("<div" + indent + ">"); } for (String line : msgs) { m_out.println(line + "<br/>"); } Throwable exception=ans.getThrowable(); if(exception!=null) { boolean wantsMinimalOutput = ans.getStatus()==ITestResult.SUCCESS; m_out.println("<h3>" +(wantsMinimalOutput?"Expected Exception":"Failure") +"</h3>"); generateExceptionReport(exception, wantsMinimalOutput); } if (parameters != null && parameters.length > 0) { m_out.println("</td></tr>"); } else { m_out.println("</div>"); } } if (parameters != null && parameters.length > 0) { if (rq == resultSet.size()) { m_out.println("</table>"); } } } m_out.println("<p class=\"totop\"><a href=\"#summary\">back to summary</a></p>"); } } }
50994 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50994/b140a42f65cc1326841579fb78a93a14a336227b/EmailableReporter.java/buggy/src/main/org/testng/reporters/EmailableReporter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 563, 6109, 12, 45, 1253, 863, 7434, 16, 727, 514, 2154, 13, 288, 565, 309, 261, 16341, 18, 588, 1595, 3447, 7675, 1467, 1435, 405, 374, 13, 288, 1377, 509, 1027, 273, 374, 31, 1377, 364, 261, 1285, 395, 4960, 1305, 707, 294, 6272, 694, 12, 16341, 3719, 288, 3639, 1027, 1011, 404, 31, 3639, 312, 67, 2039, 1016, 1011, 404, 31, 3639, 514, 18290, 273, 707, 18, 588, 4709, 797, 7675, 17994, 5621, 3639, 312, 67, 659, 18, 8222, 2932, 32, 69, 612, 5189, 81, 6, 397, 312, 67, 2039, 1016, 397, 7023, 4695, 69, 4438, 76, 22, 2984, 397, 18290, 397, 6153, 5411, 397, 707, 18, 588, 11666, 1435, 397, 6823, 76, 22, 2984, 1769, 3639, 509, 22227, 273, 374, 31, 3639, 1000, 32, 1285, 395, 1253, 34, 12168, 273, 7434, 18, 588, 3447, 12, 2039, 1769, 3639, 364, 261, 1285, 395, 1253, 4152, 294, 12168, 13, 288, 1850, 22227, 1011, 404, 31, 1850, 1033, 8526, 1472, 273, 4152, 18, 588, 2402, 5621, 1850, 309, 261, 5332, 2402, 13, 288, 5411, 309, 261, 86, 85, 422, 404, 13, 288, 2868, 1014, 1685, 2932, 891, 8863, 2868, 312, 67, 659, 18, 1188, 2932, 32, 313, 2984, 1769, 2868, 364, 261, 474, 619, 273, 404, 31, 619, 1648, 1472, 18, 2469, 31, 619, 27245, 288, 7734, 312, 67, 659, 10792, 263, 1188, 2932, 32, 451, 2154, 5189, 9598, 17, 4482, 30, 21, 351, 31, 9598, 17, 4083, 30, 21, 351, 24735, 1662, 31526, 13491, 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, 563, 6109, 12, 45, 1253, 863, 7434, 16, 727, 514, 2154, 13, 288, 565, 309, 261, 16341, 18, 588, 1595, 3447, 7675, 1467, 1435, 405, 374, 13, 288, 1377, 509, 1027, 273, 374, 31, 1377, 364, 261, 1285, 395, 4960, 1305, 707, 294, 6272, 694, 12, 16341, 3719, 288, 3639, 1027, 1011, 404, 31, 3639, 312, 67, 2039, 1016, 1011, 404, 31, 3639, 514, 18290, 273, 707, 18, 588, 4709, 797, 7675, 17994, 5621, 3639, 312, 67, 659, 18, 8222, 2932, 32, 69, 612, 5189, 81, 6, 397, 312, 67, 2039, 1016, 397, 7023, 4695, 69, 4438, 76, 22, 2984, 397, 18290, 397, 6153, 5411, 397, 707, 18, 588, 11666, 1435, 397, 6823, 76, 22, 2984, 2 ]
public long highSeqnoAt(Address sender) { long ret=-1; int index; if(sender == null) return ret; index=getIndex(sender); if(index == -1) return ret; else
public long highSeqnoAt(int index) { if(index < size())
public long highSeqnoAt(Address sender) { long ret=-1; int index; if(sender == null) return ret; index=getIndex(sender); if(index == -1) return ret; else return high_seqnos[index]; }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/19f9ca4c15ddc8648286e3520e685e3a80fa71e3/Digest.java/buggy/src/org/jgroups/protocols/pbcast/Digest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1525, 3551, 6926, 2135, 861, 12, 1887, 5793, 13, 288, 3639, 1525, 325, 29711, 21, 31, 3639, 509, 770, 31, 3639, 309, 12, 15330, 422, 446, 13, 327, 325, 31, 3639, 770, 33, 588, 1016, 12, 15330, 1769, 3639, 309, 12, 1615, 422, 300, 21, 13, 5411, 327, 325, 31, 3639, 469, 5411, 327, 3551, 67, 5436, 18050, 63, 1615, 15533, 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, 1071, 1525, 3551, 6926, 2135, 861, 12, 1887, 5793, 13, 288, 3639, 1525, 325, 29711, 21, 31, 3639, 509, 770, 31, 3639, 309, 12, 15330, 422, 446, 13, 327, 325, 31, 3639, 770, 33, 588, 1016, 12, 15330, 1769, 3639, 309, 12, 1615, 422, 300, 21, 13, 5411, 327, 325, 31, 3639, 469, 5411, 327, 3551, 67, 5436, 18050, 63, 1615, 15533, 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 ]
ThreadResources.setLocale( TEST_LOCALE );
ThreadResources.setLocale( TEST_LOCALE );
public void testSetValue( ) throws Exception { StyleElement myStyle = design.findStyle( "My Style" ); //$NON-NLS-1$ assertNotNull( myStyle ); fontHandle = myStyle.getHandle( design ).getFontProperty( ); ThreadResources.setLocale( new ULocale( "am", "ET" ) ); //$NON-NLS-1$ //$NON-NLS-2$ fontHandle.setValue( DesignChoiceConstants.FONT_FAMILY_SANS_SERIF ); // tests with the font entry at a given position, should be null. StyleElement style1 = design.findStyle( "Style1" ); //$NON-NLS-1$ assertNotNull( style1 ); fontHandle = style1.getHandle( design ).getFontProperty( ); // tests sets/gets CSS constant names. fontHandle.setValue( DesignChoiceConstants.FONT_FAMILY_SANS_SERIF ); assertEquals( DesignChoiceConstants.FONT_FAMILY_SANS_SERIF, fontHandle .getStringValue( ) ); ThreadResources.setLocale( TEST_LOCALE ); //$NON-NLS-1$ // tests sets/gets user string names. fontHandle.setValue( "\u8fde\u4f53" ); //$NON-NLS-1$ assertEquals( DesignChoiceConstants.FONT_FAMILY_CURSIVE, fontHandle .getStringValue( ) ); Style style2 = (Style) design.findStyle( "Style2" ); //$NON-NLS-1$ assertNotNull( style2 ); fontHandle = style2.getHandle( design ).getFontProperty( ); // tests with the font entry at a given position. fontHandle.setValue( "cursive, sans-serif, hello" ); //$NON-NLS-1$ // tests with the font weight. StyleHandle style2Handle = style2.handle( design ); assertNotNull( style2Handle ); style2Handle.setFontWeight( DesignChoiceConstants.FONT_WEIGHT_100 ); assertEquals( DesignChoiceConstants.FONT_WEIGHT_100, style2Handle .getFontWeight( ) ); // write a font family and weight property to a structure like // highlight. Iterator highlightHandles = style2.handle( design ) .highlightRulesIterator( ); assertNotNull( highlightHandles ); HighlightRuleHandle highlightHandle = (HighlightRuleHandle) highlightHandles .next( ); assertNotNull( highlightHandle ); fontHandle = highlightHandle.getFontFamilyHandle( ); fontHandle.setValue( DesignChoiceConstants.FONT_FAMILY_FANTASY ); highlightHandle.setFontWeight( DesignChoiceConstants.FONT_WEIGHT_900 ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/de4e32d64d24337e8801521456bb895f21408aa9/FontHandleTest.java/clean/model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/FontHandleTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 694, 620, 12, 262, 1216, 1185, 202, 95, 202, 202, 2885, 1046, 3399, 2885, 273, 8281, 18, 4720, 2885, 12, 315, 12062, 9767, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 11231, 5962, 12, 3399, 2885, 11272, 202, 202, 5776, 3259, 273, 3399, 2885, 18, 588, 3259, 12, 8281, 262, 18, 588, 5711, 1396, 12, 11272, 202, 202, 3830, 3805, 18, 542, 3916, 12, 394, 29145, 12, 315, 301, 3113, 315, 1584, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 202, 5776, 3259, 18, 542, 620, 12, 29703, 10538, 2918, 18, 25221, 67, 25002, 25554, 67, 55, 11607, 67, 2123, 5501, 11272, 202, 202, 759, 225, 7434, 598, 326, 3512, 1241, 622, 279, 864, 1754, 16, 1410, 506, 446, 18, 202, 202, 2885, 1046, 2154, 21, 273, 8281, 18, 4720, 2885, 12, 315, 2885, 21, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 11231, 5962, 12, 2154, 21, 11272, 202, 202, 5776, 3259, 273, 2154, 21, 18, 588, 3259, 12, 8281, 262, 18, 588, 5711, 1396, 12, 11272, 202, 202, 759, 7434, 1678, 19, 14665, 6765, 5381, 1257, 18, 202, 202, 5776, 3259, 18, 542, 620, 12, 29703, 10538, 2918, 18, 25221, 67, 25002, 25554, 67, 55, 11607, 67, 2123, 5501, 11272, 202, 202, 11231, 8867, 12, 29703, 10538, 2918, 18, 25221, 67, 25002, 25554, 67, 55, 11607, 67, 2123, 5501, 16, 3512, 3259, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 694, 620, 12, 262, 1216, 1185, 202, 95, 202, 202, 2885, 1046, 3399, 2885, 273, 8281, 18, 4720, 2885, 12, 315, 12062, 9767, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 11231, 5962, 12, 3399, 2885, 11272, 202, 202, 5776, 3259, 273, 3399, 2885, 18, 588, 3259, 12, 8281, 262, 18, 588, 5711, 1396, 12, 11272, 202, 202, 3830, 3805, 18, 542, 3916, 12, 394, 29145, 12, 315, 301, 3113, 315, 1584, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 202, 5776, 3259, 18, 542, 620, 12, 29703, 10538, 2918, 18, 25221, 67, 25002, 25554, 67, 55, 11607, 67, 2123, 5501, 2 ]
log("Timeout sending message after " + retries + " tries");
logger.error("Timeout sending message after " + retries + " tries");
public synchronized boolean sendMessage(byte[] msg, int timeout) throws IOException, PortInUseException { long startTime = System.currentTimeMillis(), curTime; int retries = 0; // the dongle always first sends the number of bytes and then echos the complete message // TODO: listening for the number of bytes doesn't work. Just ignore it for now, but FIXME byte[] expectedMsgAck = new byte[msg.length/*+1*/]; //expectedMsgAck[0] = (byte) msg.length; System.arraycopy(msg, 0, expectedMsgAck, 0/*1*/, msg.length); log("Sending message to dongle and waiting for ack"); do { // get the dongle to communicate and remember the ID it reported back (switches implicitly to interactive mode) myRelateId = getDongleAttention(timeout); if (myRelateId == -1) log("Warning: could not get dongle's attention, skipping sending of message for this retry"); else sendToDongle(msg); curTime = System.currentTimeMillis(); retries++; } while (curTime - startTime < timeout && // if there is some acknowledge expected, try to read it from the dongle // the timeout here is just a heuristic receiveFromDongle(expectedMsgAck.length, expectedMsgAck, timeout) == null); if (curTime - startTime < timeout) log("Sent message successfully after " + retries + " tries"); else log("Timeout sending message after " + retries + " tries"); return curTime - startTime < timeout; }
14316 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14316/6282e6faabb09150b53af9b09b1ea304a66deb6e/SerialConnector.java/buggy/src/java/RelateAuthentication/src/uk/ac/lancs/relate/SerialConnector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 1250, 15399, 12, 7229, 8526, 1234, 16, 509, 2021, 13, 1216, 1860, 16, 6008, 15435, 503, 288, 202, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 9334, 662, 950, 31, 202, 202, 474, 9453, 273, 374, 31, 202, 202, 759, 326, 302, 932, 298, 3712, 1122, 9573, 326, 1300, 434, 1731, 471, 1508, 425, 343, 538, 326, 3912, 883, 202, 202, 759, 2660, 30, 13895, 364, 326, 1300, 434, 1731, 3302, 1404, 1440, 18, 12526, 2305, 518, 364, 2037, 16, 1496, 9852, 202, 202, 7229, 8526, 2665, 3332, 11931, 273, 394, 1160, 63, 3576, 18, 2469, 20308, 15, 21, 5549, 15533, 202, 202, 759, 3825, 3332, 11931, 63, 20, 65, 273, 261, 7229, 13, 1234, 18, 2469, 31, 202, 202, 3163, 18, 1126, 3530, 12, 3576, 16, 374, 16, 2665, 3332, 11931, 16, 374, 20308, 21, 5549, 16, 1234, 18, 2469, 1769, 9506, 202, 1330, 2932, 16322, 883, 358, 302, 932, 298, 471, 7336, 364, 8479, 8863, 202, 202, 2896, 288, 1082, 202, 759, 336, 326, 302, 932, 298, 358, 15541, 471, 11586, 326, 1599, 518, 14010, 1473, 261, 9610, 281, 24682, 358, 12625, 1965, 13, 1082, 202, 4811, 1971, 340, 548, 273, 2343, 932, 298, 3075, 5054, 12, 4538, 1769, 1082, 202, 430, 261, 4811, 1971, 340, 548, 422, 300, 21, 13, 9506, 202, 1330, 2932, 6210, 30, 3377, 486, 336, 302, 932, 298, 1807, 17278, 16, 14195, 5431, 434, 883, 364, 333, 3300, 8863, 1082, 202, 12107, 9506, 202, 4661, 774, 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, 3852, 1250, 15399, 12, 7229, 8526, 1234, 16, 509, 2021, 13, 1216, 1860, 16, 6008, 15435, 503, 288, 202, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 9334, 662, 950, 31, 202, 202, 474, 9453, 273, 374, 31, 202, 202, 759, 326, 302, 932, 298, 3712, 1122, 9573, 326, 1300, 434, 1731, 471, 1508, 425, 343, 538, 326, 3912, 883, 202, 202, 759, 2660, 30, 13895, 364, 326, 1300, 434, 1731, 3302, 1404, 1440, 18, 12526, 2305, 518, 364, 2037, 16, 1496, 9852, 202, 202, 7229, 8526, 2665, 3332, 11931, 273, 394, 1160, 63, 3576, 18, 2469, 20308, 15, 21, 5549, 15533, 202, 202, 759, 3825, 3332, 11931, 63, 20, 65, 273, 261, 7229, 13, 1234, 2 ]
_t = __t2053;
_t = __t2057;
public final void systemdialoggetdirstate(AST _t) throws RecognitionException { AST systemdialoggetdirstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2051 = _t; AST tmp1271_AST_in = (AST)_t; match(_t,SYSTEMDIALOG); _t = _t.getFirstChild(); AST tmp1272_AST_in = (AST)_t; match(_t,GETDIR); _t = _t.getNextSibling(); field(_t); _t = _retTree; { _loop2055: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INITIALDIR: { AST __t2053 = _t; AST tmp1273_AST_in = (AST)_t; match(_t,INITIALDIR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2053; _t = _t.getNextSibling(); break; } case RETURNTOSTARTDIR: { AST tmp1274_AST_in = (AST)_t; match(_t,RETURNTOSTARTDIR); _t = _t.getNextSibling(); break; } case TITLE: { AST __t2054 = _t; AST tmp1275_AST_in = (AST)_t; match(_t,TITLE); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2054; _t = _t.getNextSibling(); break; } default: { break _loop2055; } } } while (true); } state_end(_t); _t = _retTree; _t = __t2051; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/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, 2619, 12730, 588, 72, 920, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2619, 12730, 588, 72, 920, 340, 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, 3462, 10593, 273, 389, 88, 31, 202, 202, 9053, 1853, 2138, 11212, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 14318, 2565, 18683, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 2138, 9060, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 3264, 4537, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 1518, 24899, 88, 1769, 202, 202, 67, 88, 273, 389, 1349, 2471, 31, 202, 202, 95, 202, 202, 67, 6498, 3462, 2539, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 1082, 202, 3593, 28226, 4537, 30, 1082, 202, 95, 9506, 202, 9053, 1001, 88, 3462, 8643, 273, 389, 88, 31, 9506, 202, 9053, 1853, 2138, 9036, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 28497, 4537, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2619, 12730, 588, 72, 920, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2619, 12730, 588, 72, 920, 340, 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, 3462, 10593, 273, 389, 88, 31, 202, 202, 9053, 1853, 2138, 11212, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 14318, 2565, 18683, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 2138, 9060, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 2 ]
if (lnr != null) lnr.close(); if (freader != null) freader.close();
if (reader != null) reader.close();
public static HashSet getWordSet(File wordfile) throws IOException { HashSet result = new HashSet(); FileReader freader = null; LineNumberReader lnr = null; try { freader = new FileReader(wordfile); lnr = new LineNumberReader(freader); String word = null; while ((word = lnr.readLine()) != null) { result.add(word.trim()); } } finally { if (lnr != null) lnr.close(); if (freader != null) freader.close(); } return result; }
1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/94d7f6e9f549bad045bf6c81758f9f1601020109/WordlistLoader.java/buggy/src/java/org/apache/lucene/analysis/WordlistLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 6847, 336, 3944, 694, 12, 812, 2076, 768, 13, 1216, 1860, 288, 565, 6847, 563, 273, 394, 6847, 5621, 565, 23010, 284, 10530, 273, 446, 31, 565, 5377, 1854, 2514, 7211, 86, 273, 446, 31, 565, 775, 288, 1377, 284, 10530, 273, 394, 23010, 12, 1095, 768, 1769, 1377, 7211, 86, 273, 394, 5377, 1854, 2514, 12, 74, 10530, 1769, 1377, 514, 2076, 273, 446, 31, 1377, 1323, 14015, 1095, 273, 7211, 86, 18, 896, 1670, 10756, 480, 446, 13, 288, 3639, 563, 18, 1289, 12, 1095, 18, 5290, 10663, 1377, 289, 565, 289, 565, 3095, 288, 1377, 309, 261, 2370, 86, 480, 446, 13, 3639, 7211, 86, 18, 4412, 5621, 1377, 309, 261, 74, 10530, 480, 446, 13, 3639, 284, 10530, 18, 4412, 5621, 565, 289, 565, 327, 563, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 6847, 336, 3944, 694, 12, 812, 2076, 768, 13, 1216, 1860, 288, 565, 6847, 563, 273, 394, 6847, 5621, 565, 23010, 284, 10530, 273, 446, 31, 565, 5377, 1854, 2514, 7211, 86, 273, 446, 31, 565, 775, 288, 1377, 284, 10530, 273, 394, 23010, 12, 1095, 768, 1769, 1377, 7211, 86, 273, 394, 5377, 1854, 2514, 12, 74, 10530, 1769, 1377, 514, 2076, 273, 446, 31, 1377, 1323, 14015, 1095, 273, 7211, 86, 18, 896, 1670, 10756, 480, 446, 13, 288, 3639, 563, 18, 1289, 12, 1095, 18, 5290, 10663, 1377, 289, 565, 289, 565, 3095, 288, 1377, 309, 261, 2370, 86, 480, 446, 13, 3639, 7211, 86, 18, 4412, 5621, 1377, 309, 261, 74, 10530, 2 ]
profilesRoot = reader.read( fileReader );
StringReader sReader = new StringReader( rawInput ); profilesRoot = reader.read( sReader );
public ProfilesRoot buildProfiles( File basedir ) throws IOException, XmlPullParserException { File profilesXml = new File( basedir, PROFILES_XML_FILE ); ProfilesRoot profilesRoot = null; if ( profilesXml.exists() ) { ProfilesXpp3Reader reader = new ProfilesXpp3Reader(); FileReader fileReader = null; try { fileReader = new FileReader( profilesXml ); profilesRoot = reader.read( fileReader ); } finally { IOUtil.close( fileReader ); } } return profilesRoot; }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/a321da38d649d5cce704785bb34d6a684286265c/DefaultMavenProfilesBuilder.java/buggy/maven-profile/src/main/java/org/apache/maven/profiles/DefaultMavenProfilesBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1186, 2354, 2375, 1361, 12450, 12, 1387, 15573, 262, 3639, 1216, 1860, 16, 5714, 9629, 25746, 565, 288, 3639, 1387, 11788, 4432, 273, 394, 1387, 12, 15573, 16, 4629, 12669, 67, 4201, 67, 3776, 11272, 3639, 1186, 2354, 2375, 11788, 2375, 273, 446, 31, 3639, 309, 261, 11788, 4432, 18, 1808, 1435, 262, 3639, 288, 5411, 1186, 2354, 60, 11858, 23, 2514, 2949, 273, 394, 1186, 2354, 60, 11858, 23, 2514, 5621, 5411, 23010, 585, 2514, 273, 446, 31, 5411, 775, 5411, 288, 7734, 585, 2514, 273, 394, 23010, 12, 11788, 4432, 11272, 7734, 26227, 272, 2514, 273, 394, 26227, 12, 1831, 1210, 11272, 225, 11788, 2375, 273, 2949, 18, 896, 12, 272, 2514, 11272, 5411, 289, 5411, 3095, 5411, 288, 7734, 1665, 1304, 18, 4412, 12, 585, 2514, 11272, 5411, 289, 3639, 289, 3639, 327, 11788, 2375, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1186, 2354, 2375, 1361, 12450, 12, 1387, 15573, 262, 3639, 1216, 1860, 16, 5714, 9629, 25746, 565, 288, 3639, 1387, 11788, 4432, 273, 394, 1387, 12, 15573, 16, 4629, 12669, 67, 4201, 67, 3776, 11272, 3639, 1186, 2354, 2375, 11788, 2375, 273, 446, 31, 3639, 309, 261, 11788, 4432, 18, 1808, 1435, 262, 3639, 288, 5411, 1186, 2354, 60, 11858, 23, 2514, 2949, 273, 394, 1186, 2354, 60, 11858, 23, 2514, 5621, 5411, 23010, 585, 2514, 273, 446, 31, 5411, 775, 5411, 288, 7734, 585, 2514, 273, 394, 23010, 12, 11788, 4432, 11272, 7734, 26227, 272, 2514, 273, 394, 26227, 12, 1831, 1210, 11272, 225, 11788, 2375, 273, 2949, 18, 896, 12, 272, 2514, 11272, 5411, 289, 2 ]
public Link(String local_addr, int local_port, String remote_addr, int remote_port, Receiver r) { this(local_addr, local_port, remote_addr, remote_port); setReceiver(r);
public Link(String local_addr, int local_port, String remote_addr, int remote_port) { this.local_addr=local_addr; this.local_port=local_port; this.remote_addr=remote_addr; this.remote_port=remote_port; hb=new Heartbeat(timeout, hb_interval);
public Link(String local_addr, int local_port, String remote_addr, int remote_port, Receiver r) { this(local_addr, local_port, remote_addr, remote_port); setReceiver(r); }
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/13de68466e3cf7fde6ee0bde0cee09a33e837e89/Link.java/buggy/src/org/jgroups/blocks/Link.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4048, 12, 780, 1191, 67, 4793, 16, 509, 1191, 67, 655, 16, 514, 2632, 67, 4793, 16, 509, 2632, 67, 655, 16, 31020, 436, 13, 288, 202, 2211, 12, 3729, 67, 4793, 16, 1191, 67, 655, 16, 2632, 67, 4793, 16, 2632, 67, 655, 1769, 202, 542, 12952, 12, 86, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4048, 12, 780, 1191, 67, 4793, 16, 509, 1191, 67, 655, 16, 514, 2632, 67, 4793, 16, 509, 2632, 67, 655, 16, 31020, 436, 13, 288, 202, 2211, 12, 3729, 67, 4793, 16, 1191, 67, 655, 16, 2632, 67, 4793, 16, 2632, 67, 655, 1769, 202, 542, 12952, 12, 86, 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 ]
m_entries.add(selRow, entry);
entries.add(selRow, entry);
public void insertRow() { // new row cannot be inserted if(!canBeInserted()) { return; } // save the changed data if any stopCellEditing(); // get the selected row int selRow = m_table.getSelectedRow(); if(selRow == -1) { selRow = m_entries.size() - 1; } if(selRow == -1) { selRow = 0; } // get row data and add Entry entry = new Entry(); m_entries.add(selRow, entry); // notify listeners fireTableChanged( new TableModelEvent(this, selRow, selRow, TableModelEvent.ALL_COLUMNS, TableModelEvent.INSERT) ); m_table.setRowSelectionInterval(selRow, selRow); }
48500 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48500/f8bdbb2dab0d67be139dd05d6110e466306c8868/IPRestrictorTable.java/buggy/src/java/org/apache/ftpserver/gui/IPRestrictorTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2243, 1999, 1435, 288, 7734, 368, 394, 1027, 2780, 506, 9564, 3639, 309, 12, 5, 4169, 1919, 27329, 10756, 288, 5411, 327, 31, 3639, 289, 7734, 368, 1923, 326, 3550, 501, 309, 1281, 540, 2132, 4020, 28029, 5621, 1171, 368, 336, 326, 3170, 1027, 540, 509, 357, 1999, 273, 312, 67, 2121, 18, 588, 7416, 1999, 5621, 3639, 309, 12, 1786, 1999, 422, 300, 21, 13, 288, 5411, 357, 1999, 273, 312, 67, 8219, 18, 1467, 1435, 300, 404, 31, 3639, 289, 3639, 309, 12, 1786, 1999, 422, 300, 21, 13, 288, 5411, 357, 1999, 273, 374, 31, 3639, 289, 7734, 368, 336, 1027, 501, 471, 527, 3639, 3841, 1241, 273, 394, 3841, 5621, 3639, 3222, 18, 1289, 12, 1786, 1999, 16, 1241, 1769, 7734, 368, 5066, 4679, 3639, 4452, 1388, 5033, 12, 394, 3555, 1488, 1133, 12, 2211, 16, 357, 1999, 16, 357, 1999, 16, 7734, 3555, 1488, 1133, 18, 4685, 67, 25936, 16, 3555, 1488, 1133, 18, 11356, 13, 11272, 3639, 312, 67, 2121, 18, 542, 1999, 6233, 4006, 12, 1786, 1999, 16, 357, 1999, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2243, 1999, 1435, 288, 7734, 368, 394, 1027, 2780, 506, 9564, 3639, 309, 12, 5, 4169, 1919, 27329, 10756, 288, 5411, 327, 31, 3639, 289, 7734, 368, 1923, 326, 3550, 501, 309, 1281, 540, 2132, 4020, 28029, 5621, 1171, 368, 336, 326, 3170, 1027, 540, 509, 357, 1999, 273, 312, 67, 2121, 18, 588, 7416, 1999, 5621, 3639, 309, 12, 1786, 1999, 422, 300, 21, 13, 288, 5411, 357, 1999, 273, 312, 67, 8219, 18, 1467, 1435, 300, 404, 31, 3639, 289, 3639, 309, 12, 1786, 1999, 422, 300, 21, 13, 288, 5411, 357, 1999, 273, 374, 31, 3639, 289, 7734, 368, 336, 1027, 501, 471, 527, 3639, 3841, 1241, 273, 394, 3841, 5621, 3639, 3222, 2 ]
builder, oContext,
context,
public ISelectDataComponent getSeriesDataComponent( int seriesType, SeriesDefinition seriesDefn, IUIServiceProvider builder, Object oContext, String sTitle ) { if ( seriesType == ISelectDataCustomizeUI.ORTHOGONAL_SERIES ) { return new BaseDataDefinitionComponent( seriesDefn, ChartUIUtil.getDataQuery( seriesDefn, 0 ), builder, oContext, sTitle ); } else if ( seriesType == ISelectDataCustomizeUI.GROUPING_SERIES ) { BaseDataDefinitionComponent ddc = new BaseDataDefinitionComponent( seriesDefn, seriesDefn.getQuery( ), builder, oContext, sTitle ); ddc.setFormatSpecifierEnabled( false ); return ddc; } return new DefaultSelectDataComponent( ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/c60a4815037b62e9358af2625eb6236e7c979d0f/ScatterSeriesUIProvider.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/series/ScatterSeriesUIProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 3391, 751, 1841, 336, 6485, 751, 1841, 12, 509, 4166, 559, 16, 1082, 202, 6485, 1852, 4166, 3262, 82, 16, 467, 5370, 16300, 2089, 16, 1082, 202, 921, 320, 1042, 16, 514, 272, 4247, 262, 202, 95, 202, 202, 430, 261, 4166, 559, 422, 467, 3391, 751, 3802, 554, 5370, 18, 28212, 13369, 673, 1013, 67, 2123, 8805, 262, 202, 202, 95, 1082, 202, 2463, 394, 3360, 751, 1852, 1841, 12, 4166, 3262, 82, 16, 6862, 202, 7984, 5370, 1304, 18, 588, 751, 1138, 12, 4166, 3262, 82, 16, 374, 262, 16, 6862, 202, 9574, 16, 6862, 202, 83, 1042, 16, 6862, 202, 87, 4247, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 4166, 559, 422, 467, 3391, 751, 3802, 554, 5370, 18, 8468, 1360, 67, 2123, 8805, 262, 202, 202, 95, 1082, 202, 2171, 751, 1852, 1841, 6957, 71, 273, 394, 3360, 751, 1852, 1841, 12, 4166, 3262, 82, 16, 6862, 202, 10222, 3262, 82, 18, 588, 1138, 12, 262, 16, 6862, 202, 9574, 16, 6862, 202, 83, 1042, 16, 6862, 202, 87, 4247, 11272, 1082, 202, 449, 71, 18, 542, 1630, 21416, 1526, 12, 629, 11272, 1082, 202, 2463, 6957, 71, 31, 202, 202, 97, 202, 202, 2463, 394, 2989, 3391, 751, 1841, 12, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 3391, 751, 1841, 336, 6485, 751, 1841, 12, 509, 4166, 559, 16, 1082, 202, 6485, 1852, 4166, 3262, 82, 16, 467, 5370, 16300, 2089, 16, 1082, 202, 921, 320, 1042, 16, 514, 272, 4247, 262, 202, 95, 202, 202, 430, 261, 4166, 559, 422, 467, 3391, 751, 3802, 554, 5370, 18, 28212, 13369, 673, 1013, 67, 2123, 8805, 262, 202, 202, 95, 1082, 202, 2463, 394, 3360, 751, 1852, 1841, 12, 4166, 3262, 82, 16, 6862, 202, 7984, 5370, 1304, 18, 588, 751, 1138, 12, 4166, 3262, 82, 16, 374, 262, 16, 6862, 202, 9574, 16, 6862, 202, 83, 1042, 16, 6862, 202, 87, 4247, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 4166, 2 ]
stack[stackTop] = DBL_MRK;
stack[stackTop] = UniqueTag.DOUBLE_MARK;
private static void do_add(Object[] stack, double[] sDbl, int stackTop, Context cx) { Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; double d; boolean leftRightOrder; if (rhs == DBL_MRK) { d = sDbl[stackTop + 1]; if (lhs == DBL_MRK) { sDbl[stackTop] += d; return; } leftRightOrder = true; // fallthrough to object + number code } else if (lhs == DBL_MRK) { d = sDbl[stackTop]; lhs = rhs; leftRightOrder = false; // fallthrough to object + number code } else { if (lhs instanceof Scriptable || rhs instanceof Scriptable) { stack[stackTop] = ScriptRuntime.add(lhs, rhs, cx); } else if (lhs instanceof String) { String lstr = (String)lhs; String rstr = ScriptRuntime.toString(rhs); stack[stackTop] = lstr.concat(rstr); } else if (rhs instanceof String) { String lstr = ScriptRuntime.toString(lhs); String rstr = (String)rhs; stack[stackTop] = lstr.concat(rstr); } else { double lDbl = (lhs instanceof Number) ? ((Number)lhs).doubleValue() : ScriptRuntime.toNumber(lhs); double rDbl = (rhs instanceof Number) ? ((Number)rhs).doubleValue() : ScriptRuntime.toNumber(rhs); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl + rDbl; } return; } // handle object(lhs) + number(d) code if (lhs instanceof Scriptable) { rhs = ScriptRuntime.wrapNumber(d); if (!leftRightOrder) { Object tmp = lhs; lhs = rhs; rhs = tmp; } stack[stackTop] = ScriptRuntime.add(lhs, rhs, cx); } else if (lhs instanceof String) { String lstr = (String)lhs; String rstr = ScriptRuntime.toString(d); if (leftRightOrder) { stack[stackTop] = lstr.concat(rstr); } else { stack[stackTop] = rstr.concat(lstr); } } else { double lDbl = (lhs instanceof Number) ? ((Number)lhs).doubleValue() : ScriptRuntime.toNumber(lhs); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl + d; } }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/bef182034b96d54a2938fe141217e83b8644cf25/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 741, 67, 1289, 12, 921, 8526, 2110, 16, 1645, 8526, 272, 40, 3083, 16, 509, 2110, 3401, 16, 17311, 1772, 9494, 13, 565, 288, 3639, 1033, 7711, 273, 2110, 63, 3772, 3401, 397, 404, 15533, 3639, 1033, 8499, 273, 2110, 63, 3772, 3401, 15533, 3639, 1645, 302, 31, 3639, 1250, 2002, 4726, 2448, 31, 3639, 309, 261, 86, 4487, 422, 2383, 48, 67, 23464, 47, 13, 288, 5411, 302, 273, 272, 40, 3083, 63, 3772, 3401, 397, 404, 15533, 5411, 309, 261, 80, 4487, 422, 2383, 48, 67, 23464, 47, 13, 288, 7734, 272, 40, 3083, 63, 3772, 3401, 65, 1011, 302, 31, 7734, 327, 31, 5411, 289, 5411, 2002, 4726, 2448, 273, 638, 31, 5411, 368, 13103, 358, 733, 397, 1300, 981, 3639, 289, 469, 309, 261, 80, 4487, 422, 2383, 48, 67, 23464, 47, 13, 288, 5411, 302, 273, 272, 40, 3083, 63, 3772, 3401, 15533, 5411, 8499, 273, 7711, 31, 5411, 2002, 4726, 2448, 273, 629, 31, 5411, 368, 13103, 358, 733, 397, 1300, 981, 3639, 289, 469, 288, 5411, 309, 261, 80, 4487, 1276, 22780, 747, 7711, 1276, 22780, 13, 288, 7734, 2110, 63, 3772, 3401, 65, 273, 7739, 5576, 18, 1289, 12, 80, 4487, 16, 7711, 16, 9494, 1769, 5411, 289, 469, 309, 261, 80, 4487, 1276, 514, 13, 288, 7734, 514, 328, 701, 273, 261, 780, 13, 80, 4487, 31, 7734, 514, 436, 701, 273, 7739, 5576, 18, 10492, 12, 86, 4487, 1769, 7734, 2110, 63, 3772, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 741, 67, 1289, 12, 921, 8526, 2110, 16, 1645, 8526, 272, 40, 3083, 16, 509, 2110, 3401, 16, 17311, 1772, 9494, 13, 565, 288, 3639, 1033, 7711, 273, 2110, 63, 3772, 3401, 397, 404, 15533, 3639, 1033, 8499, 273, 2110, 63, 3772, 3401, 15533, 3639, 1645, 302, 31, 3639, 1250, 2002, 4726, 2448, 31, 3639, 309, 261, 86, 4487, 422, 2383, 48, 67, 23464, 47, 13, 288, 5411, 302, 273, 272, 40, 3083, 63, 3772, 3401, 397, 404, 15533, 5411, 309, 261, 80, 4487, 422, 2383, 48, 67, 23464, 47, 13, 288, 7734, 272, 40, 3083, 63, 3772, 3401, 65, 1011, 302, 31, 7734, 327, 31, 5411, 289, 5411, 2002, 4726, 2448, 273, 638, 31, 2 ]
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_HASH) || name.equalsIgnoreCase(Registry.RIPEMD_128_HASH)) { result = new RipeMD128(); } else if (name.equalsIgnoreCase(Registry.RIPEMD160_HASH) || name.equalsIgnoreCase(Registry.RIPEMD_160_HASH)) { result = new RipeMD160(); } else if (name.equalsIgnoreCase(Registry.SHA160_HASH) || name.equalsIgnoreCase(Registry.SHA_1_HASH) || name.equalsIgnoreCase(Registry.SHA1_HASH) || name.equalsIgnoreCase(Registry.SHA_HASH)) { result = new Sha160(); } else if (name.equalsIgnoreCase(Registry.SHA256_HASH)) { result = new Sha256(); } else if (name.equalsIgnoreCase(Registry.SHA384_HASH)) { result = new Sha384(); } else if (name.equalsIgnoreCase(Registry.SHA512_HASH)) { result = new Sha512(); } else if (name.equalsIgnoreCase(Registry.TIGER_HASH)) { result = new Tiger(); } else if (name.equalsIgnoreCase(Registry.HAVAL_HASH)) { result = new Haval(); } else if (name.equalsIgnoreCase(Registry.MD5_HASH)) { result = new MD5(); } else if (name.equalsIgnoreCase(Registry.MD4_HASH)) { result = new MD4(); } else if (name.equalsIgnoreCase(Registry.MD2_HASH)) { result = new MD2(); } else if (name.equalsIgnoreCase(Registry.HAVAL_HASH)) { result = new Haval(); } if (result != null && !result.selfTest()) { throw new InternalError(result.name()); } return result; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/clean/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 467, 1079, 9568, 3694, 12, 780, 508, 13, 377, 309, 261, 529, 422, 446, 13, 2398, 327, 446, 31, 1377, 289, 565, 508, 273, 508, 18, 5290, 5621, 565, 467, 1079, 9568, 563, 273, 446, 31, 565, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 12557, 7937, 48, 20339, 67, 15920, 3719, 2398, 563, 273, 394, 3497, 481, 80, 6011, 5621, 1377, 289, 565, 469, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 2259, 1423, 6188, 10392, 67, 15920, 13, 2398, 747, 508, 18, 14963, 5556, 12, 4243, 18, 2259, 1423, 6188, 67, 10392, 67, 15920, 3719, 2398, 563, 273, 394, 534, 3151, 6188, 10392, 5621, 1377, 289, 565, 469, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 2259, 1423, 6188, 16874, 67, 15920, 13, 2398, 747, 508, 18, 14963, 5556, 12, 4243, 18, 2259, 1423, 6188, 67, 16874, 67, 15920, 3719, 2398, 563, 273, 394, 534, 3151, 6188, 16874, 5621, 1377, 289, 565, 469, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 8325, 16874, 67, 15920, 13, 2398, 747, 508, 18, 14963, 5556, 12, 4243, 18, 8325, 67, 21, 67, 15920, 13, 2398, 747, 508, 18, 14963, 5556, 12, 4243, 18, 8325, 21, 67, 15920, 13, 2398, 747, 508, 18, 14963, 5556, 12, 4243, 18, 8325, 67, 15920, 3719, 2398, 563, 273, 394, 2638, 69, 16874, 5621, 1377, 289, 565, 469, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 8325, 5034, 67, 15920, 3719, 2398, 563, 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, 282, 1071, 760, 467, 1079, 9568, 3694, 12, 780, 508, 13, 377, 309, 261, 529, 422, 446, 13, 2398, 327, 446, 31, 1377, 289, 565, 508, 273, 508, 18, 5290, 5621, 565, 467, 1079, 9568, 563, 273, 446, 31, 565, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 12557, 7937, 48, 20339, 67, 15920, 3719, 2398, 563, 273, 394, 3497, 481, 80, 6011, 5621, 1377, 289, 565, 469, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 2259, 1423, 6188, 10392, 67, 15920, 13, 2398, 747, 508, 18, 14963, 5556, 12, 4243, 18, 2259, 1423, 6188, 67, 10392, 67, 15920, 3719, 2398, 563, 273, 394, 534, 3151, 6188, 10392, 5621, 1377, 289, 565, 469, 309, 261, 529, 18, 2 ]
public boolean processBody(ByteBuffer source, ByteBuffer sink) { if(m_state == ScanningState.DONE) { return true; } //Special case. If the body is blank, then //the CRLF which terminated the headers //may also start the body termination. //For this case, we look for ".CRLF" if(m_state == ScanningState.INIT_BODY) { //Not enough bytes to determine //if this is the end if(source.remaining() < 3) { return false; } //Check for no body case, knowing what we //last saw was the CRLF terminating the headers if( (source.get(source.position()) == DOT) && (source.get(source.position()+1) == CR) && (source.get(source.position()+2) == LF)) { m_isEmptyMessage = true; source.position(source.position()+3); m_state = ScanningState.DONE; return true; } m_state = ScanningState.LOOKING_FOR_BODY_END; } //Scan for lines we need to escape int index = findPattern(source, CRLF_DOT_DOT, 0, CRLF_DOT_DOT.length); while(index >= 0 && source.hasRemaining()) { //Copy before the ".." (if there is any) if(source.position() < index) { ByteBuffer dup = source.duplicate(); dup.position(source.position()); dup.limit(index); sink.put(dup); } //Write "CRLF." sink.put(CRLF_DOT); //Position just after the "CRLF.." source.position(index + CRLF_DOT_DOT.length); index = findPattern(source, CRLF_DOT_DOT, 0, CRLF_DOT_DOT.length); } //No more CRLF..s. Look for end of message if(source.hasRemaining()) {//BEGIN More Bytes after dot escape scanning //Look for "CRLF.CRLF" index = findPattern(source, CRLF_DOT_CRLF, 0, CRLF_DOT_CRLF.length); if(index != -1) { //Copy bytes without CRLF.CRLF to sink if(source.position() < index) { ByteBuffer dup = source.duplicate(); dup.position(source.position()); dup.limit(index); sink.put(dup); } //Position source just after CRLF.CRLF source.position(index + CRLF_DOT_CRLF.length); m_state = ScanningState.DONE; return true; } else {//BEGIN Copy remaining Bytes //Amount *not* to copy //to sink and reserve for next //read //Check for out four end patterns //"CR", "CRLF", "CRLF.", "CRLF.CR" //There should not be any "CRLF.." //If they are found, cause them to *stay* in the buffer int holdBackMsgEnd = searchForStart(source, CRLF_DOT_CRLF); //Copy remaining bytes, holding back //what may be the start of source.limit(source.limit() - holdBackMsgEnd); sink.put(source); source.limit(source.limit() + holdBackMsgEnd); }//ENDOF Copy remaining Bytes }//ENDOF More Bytes after dot escape scanning return false; }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/71606d3b16e34573111bcdf3a0b7e495eafd0971/MessageBoundaryScanner.java/buggy/tran/mail/main/com/metavize/tran/mail/papi/MessageBoundaryScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 1250, 1207, 2250, 12, 12242, 1084, 16, 225, 7400, 9049, 13, 288, 225, 309, 12, 81, 67, 2019, 422, 2850, 10903, 1119, 18, 26875, 13, 288, 282, 327, 638, 31, 225, 289, 225, 368, 12193, 648, 18, 971, 326, 1417, 353, 7052, 16, 1508, 225, 368, 5787, 21791, 1492, 14127, 326, 1607, 225, 368, 24877, 2546, 787, 326, 1417, 19650, 18, 225, 368, 1290, 333, 648, 16, 732, 2324, 364, 3552, 5093, 9105, 6, 225, 309, 12, 81, 67, 2019, 422, 2850, 10903, 1119, 18, 12919, 67, 16691, 13, 288, 282, 368, 1248, 7304, 1731, 358, 4199, 282, 368, 430, 333, 353, 326, 679, 282, 309, 12, 3168, 18, 17956, 1435, 411, 890, 13, 288, 565, 327, 629, 31, 282, 289, 282, 368, 1564, 364, 1158, 1417, 648, 16, 5055, 310, 4121, 732, 282, 368, 2722, 19821, 1703, 326, 21791, 28619, 326, 1607, 282, 309, 12, 565, 261, 3168, 18, 588, 12, 3168, 18, 3276, 10756, 422, 15772, 13, 597, 565, 261, 3168, 18, 588, 12, 3168, 18, 3276, 1435, 15, 21, 13, 422, 6732, 13, 597, 565, 261, 3168, 18, 588, 12, 3168, 18, 3276, 1435, 15, 22, 13, 422, 18803, 3719, 288, 565, 312, 67, 291, 1921, 1079, 273, 638, 31, 565, 1084, 18, 3276, 12, 3168, 18, 3276, 1435, 15, 23, 1769, 565, 312, 67, 2019, 273, 2850, 10903, 1119, 18, 26875, 31, 565, 327, 638, 31, 282, 289, 282, 312, 67, 2019, 273, 2850, 10903, 1119, 18, 1502, 3141, 1360, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 1250, 1207, 2250, 12, 12242, 1084, 16, 225, 7400, 9049, 13, 288, 225, 309, 12, 81, 67, 2019, 422, 2850, 10903, 1119, 18, 26875, 13, 288, 282, 327, 638, 31, 225, 289, 225, 368, 12193, 648, 18, 971, 326, 1417, 353, 7052, 16, 1508, 225, 368, 5787, 21791, 1492, 14127, 326, 1607, 225, 368, 24877, 2546, 787, 326, 1417, 19650, 18, 225, 368, 1290, 333, 648, 16, 732, 2324, 364, 3552, 5093, 9105, 6, 225, 309, 12, 81, 67, 2019, 422, 2850, 10903, 1119, 18, 12919, 67, 16691, 13, 288, 282, 368, 1248, 7304, 1731, 358, 4199, 282, 368, 430, 333, 353, 326, 679, 282, 309, 12, 3168, 18, 17956, 1435, 411, 890, 13, 288, 565, 327, 2 ]
EMPTY_STRING, null, null);
EMPTY_STRING, null, (ITokenDuple)la);
protected IASTExpression exclusiveOrExpression(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 = andExpression(scope, kind, key); while (LT(1) == IToken.tXOR) { consume(); IASTExpression secondExpression = andExpression(scope, kind, key); int endOffset = ( lastToken != null ) ? lastToken.getEndOffset() : 0; try { firstExpression = astFactory.createExpression(scope, IASTExpression.Kind.EXCLUSIVEOREXPRESSION, firstExpression, secondExpression, null, null, null, EMPTY_STRING, null, null); } catch (ASTSemanticException e) { throwBacktrack(e.getProblem()); } catch (Exception e) { logException("exclusiveORExpression::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, 12060, 23695, 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, 471, 2300, 12, 4887, 16, 3846, 16, 498, 1769, 202, 202, 17523, 261, 12050, 12, 21, 13, 422, 467, 1345, 18, 88, 60, 916, 13, 288, 1082, 202, 21224, 5621, 1082, 202, 45, 9053, 2300, 2205, 2300, 273, 471, 2300, 12, 4887, 16, 3846, 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, 2294, 11686, 24870, 8607, 60, 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, 202, 1330, 503, 2932, 23792, 916, 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, 12060, 23695, 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, 471, 2300, 12, 4887, 16, 3846, 16, 498, 1769, 202, 202, 17523, 261, 12050, 12, 21, 13, 422, 467, 1345, 18, 88, 60, 916, 13, 288, 1082, 202, 21224, 5621, 1082, 202, 45, 9053, 2 ]
HashSet orgColumnNameSet = new HashSet( ); HashSet uniqueColumnNameSet = new HashSet( ); for ( int n = 0; n < resultSetList.size( ); n++ ) { orgColumnNameSet.add( ( (ResultSetColumn) resultSetList.get( n ) ).getColumnName( ) ); }
public static IResultMetaData retrieveResultMetaData( DataSetHandle dataSetHandle ) throws BirtException { List resultSetList = null; if ( dataSetHandle instanceof OdaDataSetHandle ) { resultSetList = (List) dataSetHandle.getProperty( OdaDataSetHandle.RESULT_SET_PROP ); if ( dataSetHandle.getPropertyHandle( DataSetHandle.RESULT_SET_HINTS_PROP ) != null ) dataSetHandle.getPropertyHandle( DataSetHandle.RESULT_SET_HINTS_PROP ) .clearValue( ); } else { return null; } List computedList = (List) dataSetHandle.getProperty( OdaDataSetHandle.COMPUTED_COLUMNS_PROP ); List columnMeta = new ArrayList( ); ResultSetColumnDefinition columnDef; int index = 0; // populate result set columns if ( resultSetList != null ) { ResultSetColumn resultSetColumn; HashSet orgColumnNameSet = new HashSet( ); HashSet uniqueColumnNameSet = new HashSet( ); for ( int n = 0; n < resultSetList.size( ); n++ ) { orgColumnNameSet.add( ( (ResultSetColumn) resultSetList.get( n ) ).getColumnName( ) ); } for ( int i = 0; i < resultSetList.size( ); i++ ) { resultSetColumn = (ResultSetColumn) resultSetList.get( i ); String uniqueName = getUniqueName( orgColumnNameSet, uniqueColumnNameSet, resultSetColumn.getColumnName( ), i ); columnDef = new ResultSetColumnDefinition( uniqueName ); uniqueColumnNameSet.add( uniqueName ); columnDef.setDataTypeName( resultSetColumn.getDataType( ) ); columnDef.setDataType( ModelAdapter.adaptModelDataType( resultSetColumn.getDataType( ) ) ); columnDef.setColumnPosition( resultSetColumn.getPosition( ) .intValue( ) ); if ( !uniqueName.equals( resultSetColumn.getColumnName( ) ) ) { updateModelColumn( dataSetHandle, columnDef ); } ColumnHintHandle columnHint = findColumnHint( dataSetHandle, uniqueName ); if ( columnHint != null ) { columnDef.setAlias( columnHint.getAlias( ) ); columnDef.setLableName( columnHint.getDisplayName( ) ); } columnDef.setComputedColumn( false ); columnMeta.add( columnDef ); index++; } // populate computed columns if ( computedList != null ) { ComputedColumn computedColumn; Iterator computedColumnIterator = computedList.iterator( ); while ( computedColumnIterator.hasNext( ) ) { computedColumn = (ComputedColumn) computedColumnIterator.next( ); columnDef = new ResultSetColumnDefinition( computedColumn.getName( ) ); columnDef.setDataTypeName( computedColumn.getDataType( ) ); columnDef.setDataType( ModelAdapter.adaptModelDataType( computedColumn.getDataType( ) ) ); if ( findColumnHint( dataSetHandle, computedColumn.getName( ) ) != null ) { ColumnHintHandle columnHint = findColumnHint( dataSetHandle, computedColumn.getName( ) ); columnDef.setAlias( columnHint.getAlias( ) ); columnDef.setLableName( columnHint.getDisplayName( ) ); } columnDef.setComputedColumn( true ); columnMeta.add( columnDef ); index++; } } return new ResultMetaData2( columnMeta ); } return null; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/7e595f5cbade7050afa3c51dd7b360020fa746f4/MetaDataPopulator.java/clean/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/MetaDataPopulator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 467, 1253, 6998, 4614, 1253, 6998, 12, 1082, 202, 13676, 3259, 14837, 3259, 262, 1216, 605, 2714, 503, 202, 95, 202, 202, 682, 12168, 682, 273, 446, 31, 202, 202, 430, 261, 14837, 3259, 1276, 531, 2414, 13676, 3259, 262, 202, 202, 95, 1082, 202, 2088, 694, 682, 273, 261, 682, 13, 14837, 3259, 18, 588, 1396, 12, 531, 2414, 13676, 3259, 18, 12289, 67, 4043, 67, 15811, 11272, 1082, 202, 430, 261, 14837, 3259, 18, 588, 1396, 3259, 12, 14065, 3259, 18, 12289, 67, 4043, 67, 44, 3217, 55, 67, 15811, 262, 480, 446, 262, 9506, 202, 892, 694, 3259, 18, 588, 1396, 3259, 12, 14065, 3259, 18, 12289, 67, 4043, 67, 44, 3217, 55, 67, 15811, 262, 25083, 202, 18, 8507, 620, 12, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 682, 8470, 682, 273, 261, 682, 13, 14837, 3259, 18, 588, 1396, 12, 531, 2414, 13676, 3259, 18, 10057, 57, 6404, 67, 25936, 67, 15811, 11272, 202, 202, 682, 1057, 2781, 273, 394, 2407, 12, 11272, 202, 202, 13198, 1494, 1852, 1057, 3262, 31, 202, 202, 474, 770, 273, 374, 31, 202, 202, 759, 6490, 563, 444, 2168, 202, 202, 430, 261, 12168, 682, 480, 446, 262, 202, 202, 95, 1082, 202, 13198, 1494, 12168, 1494, 31, 1082, 202, 13482, 2358, 8516, 694, 273, 394, 6847, 12, 11272, 1082, 202, 13482, 3089, 8516, 694, 273, 394, 6847, 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, 225, 202, 482, 760, 467, 1253, 6998, 4614, 1253, 6998, 12, 1082, 202, 13676, 3259, 14837, 3259, 262, 1216, 605, 2714, 503, 202, 95, 202, 202, 682, 12168, 682, 273, 446, 31, 202, 202, 430, 261, 14837, 3259, 1276, 531, 2414, 13676, 3259, 262, 202, 202, 95, 1082, 202, 2088, 694, 682, 273, 261, 682, 13, 14837, 3259, 18, 588, 1396, 12, 531, 2414, 13676, 3259, 18, 12289, 67, 4043, 67, 15811, 11272, 1082, 202, 430, 261, 14837, 3259, 18, 588, 1396, 3259, 12, 14065, 3259, 18, 12289, 67, 4043, 67, 44, 3217, 55, 67, 15811, 262, 480, 446, 262, 9506, 202, 892, 694, 3259, 18, 588, 1396, 3259, 12, 14065, 3259, 18, 12289, 67, 4043, 67, 44, 3217, 2 ]
batch.close(c); synchronized (this) { os.releaseConnection(c); conn = null;
try { batch.close(c); } catch (Exception e) { StringWriter message = new StringWriter(); PrintWriter pw = new PrintWriter(message); e.printStackTrace(pw); pw.flush(); LOG.error("Exception caught when closing Batch while closing ObjectStoreWriter - " + message);
public void close() { LOG.info("Close called on ObjectStoreWriterInterMineImpl with sequence = " + sequence); try { Connection c = getConnection(); if (isInTransactionWithConnection(c)) { abortTransactionWithConnection(c); LOG.error("ObjectStoreWriterInterMineImpl closed in unfinished transaction" + " - transaction aborted"); } batch.close(c); synchronized (this) { os.releaseConnection(c); conn = null; } } catch (Exception e) { } }
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/a2ce5aa1be1804e4e8262cc2e884de9406185783/ObjectStoreWriterInterMineImpl.java/clean/intermine/src/java/org/intermine/objectstore/intermine/ObjectStoreWriterInterMineImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1746, 1435, 288, 3639, 2018, 18, 1376, 2932, 4605, 2566, 603, 1033, 2257, 2289, 2465, 49, 558, 2828, 598, 3102, 273, 315, 397, 3102, 1769, 3639, 775, 288, 5411, 4050, 276, 273, 6742, 5621, 5411, 309, 261, 291, 382, 3342, 1190, 1952, 12, 71, 3719, 288, 7734, 6263, 3342, 1190, 1952, 12, 71, 1769, 7734, 2018, 18, 1636, 2932, 921, 2257, 2289, 2465, 49, 558, 2828, 4375, 316, 640, 13527, 2492, 6, 13491, 397, 315, 300, 2492, 18166, 8863, 5411, 289, 5411, 2581, 18, 4412, 12, 71, 1769, 5411, 3852, 261, 2211, 13, 288, 7734, 1140, 18, 9340, 1952, 12, 71, 1769, 7734, 1487, 273, 446, 31, 5411, 289, 3639, 289, 1044, 261, 503, 425, 13, 288, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1746, 1435, 288, 3639, 2018, 18, 1376, 2932, 4605, 2566, 603, 1033, 2257, 2289, 2465, 49, 558, 2828, 598, 3102, 273, 315, 397, 3102, 1769, 3639, 775, 288, 5411, 4050, 276, 273, 6742, 5621, 5411, 309, 261, 291, 382, 3342, 1190, 1952, 12, 71, 3719, 288, 7734, 6263, 3342, 1190, 1952, 12, 71, 1769, 7734, 2018, 18, 1636, 2932, 921, 2257, 2289, 2465, 49, 558, 2828, 4375, 316, 640, 13527, 2492, 6, 13491, 397, 315, 300, 2492, 18166, 8863, 5411, 289, 5411, 2581, 18, 4412, 12, 71, 1769, 5411, 3852, 261, 2211, 13, 288, 7734, 1140, 18, 9340, 1952, 12, 71, 1769, 7734, 1487, 273, 446, 31, 5411, 289, 3639, 289, 1044, 261, 503, 425, 13, 2 ]
if(count == 0)
boolean seenNonWhiteSpace = false; loop: for(int i = 0; i < count; i++) { switch(seg.array[offset + i]) { case ' ': whitespace++; break; case '\t': whitespace += (tabSize - whitespace % tabSize); break; default: seenNonWhiteSpace = true; break loop; } } if(!seenNonWhiteSpace)
public int getFoldLevel(Buffer buffer, int lineIndex, Segment seg) { int tabSize = buffer.getTabSize(); buffer.getLineText(lineIndex,seg); int offset = seg.offset; int count = seg.count; int whitespace = 0; if(count == 0) { // empty line. inherit previous line's fold level if(lineIndex != 0) whitespace = buffer.getFoldLevel(lineIndex - 1); else whitespace = 0; } else {loop: for(int i = 0; i < count; i++) { switch(seg.array[offset + i]) { case ' ': whitespace++; break; case '\t': whitespace += (tabSize - whitespace % tabSize); break; default: break loop; } } } return whitespace; } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/d85571f407be9c34f26ae00523500ae8e3664652/IndentFoldHandler.java/clean/org/gjt/sp/jedit/buffer/IndentFoldHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 2812, 1673, 2355, 12, 1892, 1613, 16, 509, 980, 1016, 16, 10807, 2291, 13, 202, 95, 202, 202, 474, 3246, 1225, 273, 1613, 18, 588, 5661, 1225, 5621, 202, 202, 4106, 18, 588, 1670, 1528, 12, 1369, 1016, 16, 5680, 1769, 202, 202, 474, 1384, 273, 2291, 18, 3348, 31, 202, 202, 474, 1056, 273, 2291, 18, 1883, 31, 202, 202, 474, 7983, 273, 374, 31, 202, 202, 430, 12, 1883, 422, 374, 13, 202, 202, 95, 1082, 202, 759, 1008, 980, 18, 6811, 2416, 980, 1807, 11590, 1801, 1082, 202, 430, 12, 1369, 1016, 480, 374, 13, 9506, 202, 18777, 273, 1613, 18, 588, 15592, 2355, 12, 1369, 1016, 300, 404, 1769, 1082, 202, 12107, 9506, 202, 18777, 273, 374, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 6498, 30, 1082, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 1056, 31, 277, 27245, 1082, 202, 95, 9506, 202, 9610, 12, 5680, 18, 1126, 63, 3348, 397, 277, 5717, 9506, 202, 95, 9506, 202, 3593, 296, 4290, 6862, 202, 18777, 9904, 31, 6862, 202, 8820, 31, 9506, 202, 3593, 2337, 88, 4278, 6862, 202, 18777, 1011, 261, 7032, 1225, 300, 7983, 738, 3246, 1225, 1769, 6862, 202, 8820, 31, 9506, 202, 1886, 30, 6862, 202, 8820, 2798, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 7983, 31, 202, 97, 368, 9090, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 2812, 1673, 2355, 12, 1892, 1613, 16, 509, 980, 1016, 16, 10807, 2291, 13, 202, 95, 202, 202, 474, 3246, 1225, 273, 1613, 18, 588, 5661, 1225, 5621, 202, 202, 4106, 18, 588, 1670, 1528, 12, 1369, 1016, 16, 5680, 1769, 202, 202, 474, 1384, 273, 2291, 18, 3348, 31, 202, 202, 474, 1056, 273, 2291, 18, 1883, 31, 202, 202, 474, 7983, 273, 374, 31, 202, 202, 430, 12, 1883, 422, 374, 13, 202, 202, 95, 1082, 202, 759, 1008, 980, 18, 6811, 2416, 980, 1807, 11590, 1801, 1082, 202, 430, 12, 1369, 1016, 480, 374, 13, 9506, 202, 18777, 273, 1613, 18, 588, 15592, 2355, 12, 1369, 1016, 300, 404, 1769, 1082, 202, 2 ]
JStatement cloneIncr=(JStatement)ObjectDeepCloner.deepCopy(makeIncr(info,info.incrVal));
JStatement cloneIncr=(JStatement)ObjectDeepCloner.deepCopy (LoopIterInfo.makeIncrAssignment(info,info.getIncrVal()));
private JBlock doPartialUnroll(final UnrollInfo info, JForStatement self) { int numExec=getNumExecutions(info); //int numLoops=numExec/KjcOptions.unroll; int remain=numExec%unrollLimit; JStatement[] newBody=new JStatement[unrollLimit]; //if(newBody.length>=2) { //newBody[0]=self.getBody(); //newBody[1]=self.getIncrement(); //} if(unrollLimit>=1) { JStatement cloneBody=(JStatement)ObjectDeepCloner.deepCopy(self.getBody()); newBody[0]=cloneBody; } { final JLocalVariable inductVar=info.var; final int incrVal=info.incrVal; for(int i=1;i<unrollLimit;i++) { JStatement cloneBody=(JStatement)ObjectDeepCloner.deepCopy(self.getBody()); //JStatement cloneIncr=(JStatement)ObjectDeepCloner.deepCopy(makeIncr(info,info.incrVal)); final int incremented=i; cloneBody.accept(new SLIRReplacingVisitor() { public Object visitLocalVariableExpression(JLocalVariableExpression self2, String ident) { if(inductVar.equals(self2.getVariable())) { return makeIncreased(info,incremented*incrVal); } else return self2; } }); newBody[i]=cloneBody; } } JBlock body=new JBlock(null,newBody,null); JStatement[] newStatements=new JStatement[2*remain+2]; newStatements[0]=self.getInit(); int result=info.initVal; for(int i=1;i<2*remain+1;i++) { JStatement cloneBody=(JStatement)ObjectDeepCloner.deepCopy(self.getBody()); JStatement cloneIncr=(JStatement)ObjectDeepCloner.deepCopy(makeIncr(info,info.incrVal)); newStatements[i]=cloneBody; i++; newStatements[i]=cloneIncr; result=incrementCounter(result,info); } JForStatement newFor = new JForStatement(null, new JExpressionStatement(null, new JAssignmentExpression(null, new JLocalVariableExpression(null, info.var), new JIntLiteral(result)), null), self.getCondition(), makeIncr(info, unrollLimit * info.incrVal), body, new JavaStyleComment[] { new JavaStyleComment("Unroller", true, false, false)}); newFor.setUnrolled(true); newStatements[newStatements.length-1]=newFor; // mark that we've unrolled this.hasUnrolled = true; return new JBlock(null, newStatements, null); }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/5e7f0c119edfedf3dcbae30c898a602e2de1a587/Unroller.java/clean/streams/src/at/dms/kjc/sir/lowering/Unroller.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 804, 1768, 741, 9447, 984, 2693, 12, 6385, 1351, 2693, 966, 1123, 16, 804, 1290, 3406, 365, 13, 288, 3639, 509, 818, 1905, 33, 588, 2578, 15875, 12, 1376, 1769, 3639, 368, 474, 818, 31409, 33, 2107, 1905, 19, 47, 78, 71, 1320, 18, 318, 2693, 31, 3639, 509, 7232, 33, 2107, 1905, 9, 318, 2693, 3039, 31, 3639, 804, 3406, 8526, 394, 2250, 33, 2704, 804, 3406, 63, 318, 2693, 3039, 15533, 3639, 368, 430, 12, 2704, 2250, 18, 2469, 34, 33, 22, 13, 288, 3639, 368, 2704, 2250, 63, 20, 65, 33, 2890, 18, 588, 2250, 5621, 3639, 368, 2704, 2250, 63, 21, 65, 33, 2890, 18, 588, 10798, 5621, 3639, 19363, 3639, 309, 12, 318, 2693, 3039, 34, 33, 21, 13, 288, 5411, 804, 3406, 3236, 2250, 28657, 46, 3406, 13, 921, 13980, 2009, 31430, 18, 323, 5585, 12, 2890, 18, 588, 2250, 10663, 5411, 394, 2250, 63, 20, 65, 33, 14056, 2250, 31, 3639, 289, 3639, 288, 5411, 727, 804, 2042, 3092, 1547, 853, 1537, 33, 1376, 18, 1401, 31, 5411, 727, 509, 17633, 3053, 33, 1376, 18, 267, 3353, 3053, 31, 5411, 364, 12, 474, 277, 33, 21, 31, 77, 32, 318, 2693, 3039, 31, 77, 27245, 288, 7734, 804, 3406, 3236, 2250, 28657, 46, 3406, 13, 921, 13980, 2009, 31430, 18, 323, 5585, 12, 2890, 18, 588, 2250, 10663, 7734, 368, 46, 3406, 3236, 382, 3353, 28657, 46, 3406, 13, 921, 13980, 2009, 31430, 18, 323, 5585, 261, 6452, 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, 804, 1768, 741, 9447, 984, 2693, 12, 6385, 1351, 2693, 966, 1123, 16, 804, 1290, 3406, 365, 13, 288, 3639, 509, 818, 1905, 33, 588, 2578, 15875, 12, 1376, 1769, 3639, 368, 474, 818, 31409, 33, 2107, 1905, 19, 47, 78, 71, 1320, 18, 318, 2693, 31, 3639, 509, 7232, 33, 2107, 1905, 9, 318, 2693, 3039, 31, 3639, 804, 3406, 8526, 394, 2250, 33, 2704, 804, 3406, 63, 318, 2693, 3039, 15533, 3639, 368, 430, 12, 2704, 2250, 18, 2469, 34, 33, 22, 13, 288, 3639, 368, 2704, 2250, 63, 20, 65, 33, 2890, 18, 588, 2250, 5621, 3639, 368, 2704, 2250, 63, 21, 65, 33, 2890, 18, 588, 10798, 5621, 3639, 19363, 3639, 309, 12, 2 ]
public void rule_attributes(RuleDescr rule) throws RecognitionException { AttributeDescr a = null; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:391:25: ( ( 'attributes' )? ( ':' )? opt_eol ( ( ',' )? a= rule_attribute opt_eol )* ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:391:25: ( 'attributes' )? ( ':' )? opt_eol ( ( ',' )? a= rule_attribute opt_eol )* { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:391:25: ( 'attributes' )? int alt25=2; int LA25_0 = input.LA(1); if ( LA25_0==32 ) { alt25=1; } else if ( LA25_0==EOL||LA25_0==15||LA25_0==22||LA25_0==27||(LA25_0>=29 && LA25_0<=31)||(LA25_0>=33 && LA25_0<=38) ) { alt25=2; } else { NoViableAltException nvae = new NoViableAltException("391:25: ( \'attributes\' )?", 25, 0, input); throw nvae; } switch (alt25) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:391:25: 'attributes' { match(input,32,FOLLOW_32_in_rule_attributes742); } break; } // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:391:39: ( ':' )? int alt26=2; int LA26_0 = input.LA(1); if ( LA26_0==30 ) { alt26=1; } else if ( LA26_0==EOL||LA26_0==15||LA26_0==22||LA26_0==27||LA26_0==29||LA26_0==31||(LA26_0>=33 && LA26_0<=38) ) { alt26=2; } else { NoViableAltException nvae = new NoViableAltException("391:39: ( \':\' )?", 26, 0, input); throw nvae; } switch (alt26) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:391:39: ':' { match(input,30,FOLLOW_30_in_rule_attributes745); } break; } following.push(FOLLOW_opt_eol_in_rule_attributes748); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:392:25: ( ( ',' )? a= rule_attribute opt_eol )* loop28: do { int alt28=2; int LA28_0 = input.LA(1); if ( LA28_0==22||(LA28_0>=33 && LA28_0<=38) ) { alt28=1; } switch (alt28) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:392:33: ( ',' )? a= rule_attribute opt_eol { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:392:33: ( ',' )? int alt27=2; int LA27_0 = input.LA(1); if ( LA27_0==22 ) { alt27=1; } else if ( (LA27_0>=33 && LA27_0<=38) ) { alt27=2; } else { NoViableAltException nvae = new NoViableAltException("392:33: ( \',\' )?", 27, 0, input); throw nvae; } switch (alt27) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:392:33: ',' { match(input,22,FOLLOW_22_in_rule_attributes755); } break; } following.push(FOLLOW_rule_attribute_in_rule_attributes760); a=rule_attribute(); following.pop(); following.push(FOLLOW_opt_eol_in_rule_attributes762); opt_eol(); following.pop(); rule.addAttribute( a ); } break; default : break loop28; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/bf3305a89ef5e916acbab744c38aaaec83bf67ff/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 67, 4350, 12, 2175, 16198, 1720, 13, 1216, 9539, 288, 6647, 3601, 16198, 279, 273, 446, 31, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 5520, 21, 30, 2947, 30, 261, 261, 296, 4350, 11, 7851, 261, 3921, 7851, 2153, 67, 30951, 261, 261, 3316, 7851, 279, 33, 1720, 67, 4589, 2153, 67, 30951, 8618, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 5520, 21, 30, 2947, 30, 261, 296, 4350, 11, 7851, 261, 3921, 7851, 2153, 67, 30951, 261, 261, 3316, 7851, 279, 33, 1720, 67, 4589, 2153, 67, 30951, 8618, 5411, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 5520, 21, 30, 2947, 30, 261, 296, 4350, 11, 7851, 5411, 509, 3770, 2947, 33, 22, 31, 5411, 509, 2928, 2947, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 5411, 309, 261, 2928, 2947, 67, 20, 631, 1578, 262, 288, 7734, 3770, 2947, 33, 21, 31, 5411, 289, 5411, 469, 309, 261, 2928, 2947, 67, 20, 631, 5842, 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, 1720, 67, 4350, 12, 2175, 16198, 1720, 13, 1216, 9539, 288, 6647, 3601, 16198, 279, 273, 446, 31, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 5520, 21, 30, 2947, 30, 261, 261, 296, 4350, 11, 7851, 261, 3921, 7851, 2153, 67, 30951, 261, 261, 3316, 7851, 279, 33, 1720, 67, 4589, 2153, 67, 30951, 8618, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 2 ]
newMainJar = new File(mainJar.getParent(), "freenet.jar");
newMainJar = new File(mainJar.getParent(), "freenet.jar.new");
UpdateDeployContext() throws UpdaterParserException { Properties p = WrapperManager.getProperties(); for(int propNo=1;true;propNo++) { String prop = p.getProperty("wrapper.java.classpath."+propNo); if(prop == null) break; File f = new File(prop); boolean isAbsolute = f.isAbsolute(); String name = f.getName().toLowerCase(); if(extJar == null) { if(name.equals("freenet-ext.jar.new")) { extJar = f; newExtJar = new File(extJar.getParent(), "freenet-ext.jar"); extJarAbsolute = isAbsolute; extClasspathNo = propNo; continue; } else if(name.equals("freenet-ext.jar")) { extJar = f; newExtJar = new File(extJar.getParent(), "freenet-ext.jar.new"); extClasspathNo = propNo; continue; } } if(mainJar == null) { // Try to match it if(!(name.startsWith("freenet") && (name.endsWith(".jar")))) { mainJar = f; newMainJar = new File(mainJar.getParent(), "freenet.jar"); mainJarAbsolute = isAbsolute; mainClasspathNo = propNo; continue; } else if(!(name.startsWith("freenet") && (name.endsWith(".jar.new")))) { mainJar = f; newMainJar = new File(mainJar.getParent(), "freenet.jar.new"); mainJarAbsolute = isAbsolute; mainClasspathNo = propNo; continue; } } } if(mainJar == null && extJar == null) throw new UpdaterParserException("Could not find freenet jars in wrapper.conf"); if(mainJar == null) throw new UpdaterParserException("Could not find freenet.jar in wrapper.conf (did find freenet-ext.jar: "+extJar+')'); if(extJar == null) throw new UpdaterParserException("Could not find freenet-ext.jar in wrapper.conf (did find freenet.jar: "+mainJar+')'); }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/03c43894fec32d7f3d93f3b446167de71fd0a98c/UpdateDeployContext.java/clean/src/freenet/node/updater/UpdateDeployContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1891, 10015, 1042, 1435, 1216, 27254, 2045, 25746, 288, 202, 202, 2297, 293, 273, 18735, 1318, 18, 588, 2297, 5621, 9506, 202, 1884, 12, 474, 2270, 2279, 33, 21, 31, 3767, 31, 5986, 2279, 27245, 288, 1082, 202, 780, 2270, 273, 293, 18, 588, 1396, 2932, 8376, 18, 6290, 18, 26302, 1199, 15, 5986, 2279, 1769, 1082, 202, 430, 12, 5986, 422, 446, 13, 898, 31, 1082, 202, 812, 284, 273, 394, 1387, 12, 5986, 1769, 1082, 202, 6494, 20082, 273, 284, 18, 291, 10368, 5621, 1082, 202, 780, 508, 273, 284, 18, 17994, 7675, 869, 5630, 5621, 1082, 202, 430, 12, 408, 10813, 422, 446, 13, 288, 9506, 202, 430, 12, 529, 18, 14963, 2932, 74, 2842, 278, 17, 408, 18, 11930, 18, 2704, 6, 3719, 288, 6862, 202, 408, 10813, 273, 284, 31, 6862, 202, 2704, 2482, 10813, 273, 394, 1387, 12, 408, 10813, 18, 588, 3054, 9334, 315, 74, 2842, 278, 17, 408, 18, 11930, 8863, 6862, 202, 408, 10813, 10368, 273, 20082, 31, 6862, 202, 408, 17461, 2279, 273, 2270, 2279, 31, 6862, 202, 17143, 31, 9506, 202, 97, 469, 309, 12, 529, 18, 14963, 2932, 74, 2842, 278, 17, 408, 18, 11930, 6, 3719, 288, 6862, 202, 408, 10813, 273, 284, 31, 6862, 202, 2704, 2482, 10813, 273, 394, 1387, 12, 408, 10813, 18, 588, 3054, 9334, 315, 74, 2842, 278, 17, 408, 18, 11930, 18, 2704, 8863, 6862, 202, 408, 17461, 2279, 273, 2270, 2279, 31, 6862, 202, 17143, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1891, 10015, 1042, 1435, 1216, 27254, 2045, 25746, 288, 202, 202, 2297, 293, 273, 18735, 1318, 18, 588, 2297, 5621, 9506, 202, 1884, 12, 474, 2270, 2279, 33, 21, 31, 3767, 31, 5986, 2279, 27245, 288, 1082, 202, 780, 2270, 273, 293, 18, 588, 1396, 2932, 8376, 18, 6290, 18, 26302, 1199, 15, 5986, 2279, 1769, 1082, 202, 430, 12, 5986, 422, 446, 13, 898, 31, 1082, 202, 812, 284, 273, 394, 1387, 12, 5986, 1769, 1082, 202, 6494, 20082, 273, 284, 18, 291, 10368, 5621, 1082, 202, 780, 508, 273, 284, 18, 17994, 7675, 869, 5630, 5621, 1082, 202, 430, 12, 408, 10813, 422, 446, 13, 288, 9506, 202, 430, 12, 529, 18, 14963, 2932, 74, 2 ]
File viewFile = XWorkConfigRetriever.getViewFile(namespace, actionName, resultName); if (viewFile != null && viewFile.exists()) {
File viewFile = XWorkConfigRetriever.getViewFile(namespace, actionName, resultName); if (viewFile != null) {
public static View getView(String namespace, String actionName, String resultName) { String viewId = namespace + "/" + actionName + "/" + resultName; View view = (View) viewCache.get(viewId); if (view == null) { File viewFile = XWorkConfigRetriever.getViewFile(namespace, actionName, resultName); if (viewFile != null && viewFile.exists()) { view = new XworkView(viewFile); viewCache.put(viewId, view); } } return view; }
15560 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15560/7671d4aebbd308381f64074aac56641aee4ccb65/XWorkConfigRetriever.java/clean/src/webflow/com/opensymphony/webwork/webFlow/XWorkConfigRetriever.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 4441, 8893, 12, 780, 1981, 16, 514, 15451, 16, 514, 563, 461, 13, 288, 3639, 514, 1476, 548, 273, 1981, 397, 4016, 397, 15451, 397, 4016, 397, 563, 461, 31, 3639, 4441, 1476, 273, 261, 1767, 13, 1476, 1649, 18, 588, 12, 1945, 548, 1769, 3639, 309, 261, 1945, 422, 446, 13, 288, 5411, 1387, 1476, 812, 273, 1139, 2421, 809, 30801, 18, 588, 1767, 812, 12, 4937, 16, 15451, 16, 10792, 563, 461, 1769, 5411, 309, 261, 1945, 812, 480, 446, 597, 1476, 812, 18, 1808, 10756, 288, 7734, 1476, 273, 394, 1139, 1252, 1767, 12, 1945, 812, 1769, 7734, 1476, 1649, 18, 458, 12, 1945, 548, 16, 1476, 1769, 5411, 289, 3639, 289, 3639, 327, 1476, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 4441, 8893, 12, 780, 1981, 16, 514, 15451, 16, 514, 563, 461, 13, 288, 3639, 514, 1476, 548, 273, 1981, 397, 4016, 397, 15451, 397, 4016, 397, 563, 461, 31, 3639, 4441, 1476, 273, 261, 1767, 13, 1476, 1649, 18, 588, 12, 1945, 548, 1769, 3639, 309, 261, 1945, 422, 446, 13, 288, 5411, 1387, 1476, 812, 273, 1139, 2421, 809, 30801, 18, 588, 1767, 812, 12, 4937, 16, 15451, 16, 10792, 563, 461, 1769, 5411, 309, 261, 1945, 812, 480, 446, 597, 1476, 812, 18, 1808, 10756, 288, 7734, 1476, 273, 394, 1139, 1252, 1767, 12, 1945, 812, 1769, 7734, 1476, 1649, 18, 458, 12, 1945, 548, 16, 1476, 1769, 5411, 289, 3639, 289, 3639, 2 ]
build.setStandardOutput( "stdout" ); build.setStandardError( "stderr" ); MailMessage mailMessage = sendNotificationAndGetMessage( project, build );
MailMessage mailMessage = sendNotificationAndGetMessage( project, build, "lots out build output" );
public void testSuccessfulBuild() throws Exception { ContinuumProject project = makeProject(); ContinuumBuild build = makeBuild( ContinuumProjectState.OK ); build.setStandardOutput( "stdout" ); build.setStandardError( "stderr" ); MailMessage mailMessage = sendNotificationAndGetMessage( project, build ); dumpContent( mailMessage ); }
48499 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48499/3e8ef7817f4f729904c4598e6922e9262fccdd86/MailContinuumNotifierTest.java/buggy/continuum-core/src/test/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifierTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 14277, 3116, 1435, 3639, 1216, 1185, 565, 288, 3639, 1816, 6860, 379, 4109, 1984, 273, 1221, 4109, 5621, 3639, 1816, 6860, 379, 3116, 1361, 273, 1221, 3116, 12, 1816, 6860, 379, 4109, 1119, 18, 3141, 11272, 3639, 1361, 18, 542, 8336, 1447, 12, 315, 10283, 6, 11272, 3639, 1361, 18, 542, 8336, 668, 12, 315, 11241, 6, 11272, 3639, 11542, 1079, 4791, 1079, 273, 1366, 4386, 14042, 1079, 12, 1984, 16, 1361, 11272, 3639, 4657, 1350, 12, 4791, 1079, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 1842, 14277, 3116, 1435, 3639, 1216, 1185, 565, 288, 3639, 1816, 6860, 379, 4109, 1984, 273, 1221, 4109, 5621, 3639, 1816, 6860, 379, 3116, 1361, 273, 1221, 3116, 12, 1816, 6860, 379, 4109, 1119, 18, 3141, 11272, 3639, 1361, 18, 542, 8336, 1447, 12, 315, 10283, 6, 11272, 3639, 1361, 18, 542, 8336, 668, 12, 315, 11241, 6, 11272, 3639, 11542, 1079, 4791, 1079, 273, 1366, 4386, 14042, 1079, 12, 1984, 16, 1361, 11272, 3639, 4657, 1350, 12, 4791, 1079, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return (String) getLookAndFeelDefaults().get(key);
return (String) get(key);
public static String getString(Object key) { return (String) getLookAndFeelDefaults().get(key); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/badba23052f905d992da7c32124c28f4339931fc/UIManager.java/buggy/core/src/classpath/javax/javax/swing/UIManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 514, 4997, 12, 921, 498, 13, 225, 288, 565, 327, 261, 780, 13, 336, 12, 856, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 760, 514, 4997, 12, 921, 498, 13, 225, 288, 565, 327, 261, 780, 13, 336, 12, 856, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (evt == WindowEvent.WINDOW_CLOSING || evt == WindowEvent.WINDOW_CLOSED) {
if (evt == WindowEvent.WINDOW_CLOSING || evt == WindowEvent.WINDOW_CLOSED) {
public void processWindowEvent(WindowEvent w) { int evt = w.getID(); if (evt == WindowEvent.WINDOW_CLOSING || evt == WindowEvent.WINDOW_CLOSED) { // save window size and position saveWindowLayout(); } super.processWindowEvent(w); }
8797 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8797/4a0a73e7bee21ce9a2da1ef7fb0355eee90c400f/TagValidationFrame.java/clean/src/org/omegat/gui/TagValidationFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 3829, 1133, 12, 3829, 1133, 341, 13, 565, 288, 3639, 509, 6324, 273, 341, 18, 588, 734, 5621, 3639, 309, 261, 73, 11734, 422, 6076, 1133, 18, 23407, 67, 22693, 23708, 747, 6324, 422, 6076, 1133, 18, 23407, 67, 28475, 13, 3639, 288, 5411, 368, 1923, 2742, 963, 471, 1754, 5411, 1923, 3829, 3744, 5621, 3639, 289, 3639, 2240, 18, 2567, 3829, 1133, 12, 91, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 3829, 1133, 12, 3829, 1133, 341, 13, 565, 288, 3639, 509, 6324, 273, 341, 18, 588, 734, 5621, 3639, 309, 261, 73, 11734, 422, 6076, 1133, 18, 23407, 67, 22693, 23708, 747, 6324, 422, 6076, 1133, 18, 23407, 67, 28475, 13, 3639, 288, 5411, 368, 1923, 2742, 963, 471, 1754, 5411, 1923, 3829, 3744, 5621, 3639, 289, 3639, 2240, 18, 2567, 3829, 1133, 12, 91, 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 ]
" WHERE " + IN_THIS_MAILBOX_AND + target + " AND type NOT IN " + FOLDER_TYPES);
" WHERE " + IN_THIS_MAILBOX_AND + target + " AND type NOT IN " + FOLDER_TYPES);
public static void deleteContents(MailItem item) throws ServiceException { String target; if (item instanceof VirtualConversation) target = "id = ?"; else if (item instanceof Conversation) target = "parent_id = ?"; else if (item instanceof SearchFolder) return; else if (item instanceof Folder) target = "folder_id = ?"; else return; Mailbox mbox = item.getMailbox(); Connection conn = mbox.getOperationConnection(); PreparedStatement stmt = null; try { stmt = conn.prepareStatement("DELETE FROM " + getMailItemTableName(item) + " WHERE " + IN_THIS_MAILBOX_AND + target + " AND type NOT IN " + FOLDER_TYPES); int pos = 1; if (!DebugConfig.disableMailboxGroup) stmt.setInt(pos++, mbox.getId()); stmt.setInt(pos++, item instanceof VirtualConversation ? ((VirtualConversation) item).getMessageId() : item.getId()); stmt.executeUpdate(); } catch (SQLException e) { throw ServiceException.FAILURE("deleting contents for " + MailItem.getNameForType(item) + " " + item.getId(), e); } finally { DbPool.closeStatement(stmt); } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/31a637ca1acd3adfa618b6e80ec991e5b2c35e45/DbMailItem.java/buggy/ZimbraServer/src/java/com/zimbra/cs/db/DbMailItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1430, 6323, 12, 6759, 1180, 761, 13, 1216, 16489, 288, 3639, 514, 1018, 31, 3639, 309, 261, 1726, 1276, 7269, 15717, 13, 225, 1018, 273, 315, 350, 273, 692, 14432, 3639, 469, 309, 261, 1726, 1276, 16765, 13, 565, 1018, 273, 315, 2938, 67, 350, 273, 692, 14432, 3639, 469, 309, 261, 1726, 1276, 5167, 3899, 13, 565, 327, 31, 3639, 469, 309, 261, 1726, 1276, 12623, 13, 1850, 1018, 273, 315, 5609, 67, 350, 273, 692, 14432, 3639, 469, 4766, 1377, 327, 31, 3639, 11542, 2147, 312, 2147, 273, 761, 18, 588, 30239, 5621, 3639, 4050, 1487, 273, 312, 2147, 18, 588, 2988, 1952, 5621, 3639, 16913, 3480, 273, 446, 31, 3639, 775, 288, 5411, 3480, 273, 1487, 18, 9366, 3406, 2932, 6460, 4571, 315, 397, 31991, 1180, 7147, 12, 1726, 13, 397, 10792, 315, 4852, 315, 397, 2120, 67, 2455, 5127, 67, 18191, 16876, 67, 4307, 397, 1018, 397, 315, 4116, 618, 4269, 2120, 315, 397, 478, 11753, 67, 10564, 1769, 5411, 509, 949, 273, 404, 31, 5411, 309, 16051, 2829, 809, 18, 8394, 30239, 1114, 13, 7734, 3480, 18, 542, 1702, 12, 917, 9904, 16, 312, 2147, 18, 26321, 10663, 5411, 3480, 18, 542, 1702, 12, 917, 9904, 16, 761, 1276, 7269, 15717, 692, 14015, 6466, 15717, 13, 761, 2934, 24906, 548, 1435, 294, 761, 18, 26321, 10663, 5411, 3480, 18, 8837, 1891, 5621, 3639, 289, 1044, 261, 23116, 425, 13, 288, 5411, 604, 16489, 18, 17623, 2932, 19003, 310, 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, 1430, 6323, 12, 6759, 1180, 761, 13, 1216, 16489, 288, 3639, 514, 1018, 31, 3639, 309, 261, 1726, 1276, 7269, 15717, 13, 225, 1018, 273, 315, 350, 273, 692, 14432, 3639, 469, 309, 261, 1726, 1276, 16765, 13, 565, 1018, 273, 315, 2938, 67, 350, 273, 692, 14432, 3639, 469, 309, 261, 1726, 1276, 5167, 3899, 13, 565, 327, 31, 3639, 469, 309, 261, 1726, 1276, 12623, 13, 1850, 1018, 273, 315, 5609, 67, 350, 273, 692, 14432, 3639, 469, 4766, 1377, 327, 31, 3639, 11542, 2147, 312, 2147, 273, 761, 18, 588, 30239, 5621, 3639, 4050, 1487, 273, 312, 2147, 18, 588, 2988, 1952, 5621, 3639, 16913, 3480, 273, 446, 31, 3639, 775, 288, 2 ]
int alt50=2; int LA50_0 = input.LA(1); if ( (LA50_0>=40 && LA50_0<=47) ) { alt50=1; } else if ( LA50_0==EOL||LA50_0==15||(LA50_0>=22 && LA50_0<=23) ) { alt50=2;
int alt51=2; int LA51_0 = input.LA(1); if ( (LA51_0>=40 && LA51_0<=47) ) { alt51=1; } else if ( LA51_0==EOL||LA51_0==15||(LA51_0>=22 && LA51_0<=23) ) { alt51=2;
public void constraint(List constraints) throws RecognitionException { Token fb=null; Token f=null; Token op=null; Token bvc=null; String lc = null; String rvc = null; PatternDescr d = null; try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:652:17: ( opt_eol (fb= ID opt_eol ':' opt_eol )? f= ID opt_eol (op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )? opt_eol ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:652:17: opt_eol (fb= ID opt_eol ':' opt_eol )? f= ID opt_eol (op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )? opt_eol { following.push(FOLLOW_opt_eol_in_constraint1636); opt_eol(); following.pop(); // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:653:17: (fb= ID opt_eol ':' opt_eol )? int alt48=2; alt48 = dfa48.predict(input); switch (alt48) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:653:19: fb= ID opt_eol ':' opt_eol { fb=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint1644); following.push(FOLLOW_opt_eol_in_constraint1646); opt_eol(); following.pop(); match(input,30,FOLLOW_30_in_constraint1648); following.push(FOLLOW_opt_eol_in_constraint1650); opt_eol(); following.pop(); } break; } f=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint1660); if ( fb != null ) { //System.err.println( "fb: " + fb.getText() ); //System.err.println( " f: " + f.getText() ); d = new FieldBindingDescr( f.getText(), fb.getText() ); //System.err.println( "fbd: " + d ); d.setLocation( f.getLine(), f.getCharPositionInLine() ); constraints.add( d ); } following.push(FOLLOW_opt_eol_in_constraint1670); opt_eol(); following.pop(); // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:666:33: (op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )? int alt50=2; int LA50_0 = input.LA(1); if ( (LA50_0>=40 && LA50_0<=47) ) { alt50=1; } else if ( LA50_0==EOL||LA50_0==15||(LA50_0>=22 && LA50_0<=23) ) { alt50=2; } else { NoViableAltException nvae = new NoViableAltException("666:33: (op= (\'==\'|\'>\'|\'>=\'|\'<\'|\'<=\'|\'!=\'|\'contains\'|\'matches\') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )?", 50, 0, input); throw nvae; } switch (alt50) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:666:41: op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) { op=(Token)input.LT(1); if ( (input.LA(1)>=40 && input.LA(1)<=47) ) { input.consume(); errorRecovery=false; } else { MismatchedSetException mse = new MismatchedSetException(null,input); recoverFromMismatchedSet(input,mse,FOLLOW_set_in_constraint1678); throw mse; } following.push(FOLLOW_opt_eol_in_constraint1750); opt_eol(); following.pop(); // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:676:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) int alt49=4; switch ( input.LA(1) ) { case ID: int LA49_1 = input.LA(2); if ( LA49_1==49 ) { alt49=2; } else if ( LA49_1==EOL||LA49_1==15||(LA49_1>=22 && LA49_1<=23) ) { alt49=1; } else { NoViableAltException nvae = new NoViableAltException("676:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint )", 49, 1, input); throw nvae; } break; case INT: case BOOL: case STRING: case FLOAT: case 48: alt49=3; break; case 21: alt49=4; break; default: NoViableAltException nvae = new NoViableAltException("676:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint )", 49, 0, input); throw nvae; } switch (alt49) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:676:49: bvc= ID { bvc=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint1768); d = new BoundVariableDescr( f.getText(), op.getText(), bvc.getText() ); d.setLocation( f.getLine(), f.getCharPositionInLine() ); constraints.add( d ); } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:683:49: lc= enum_constraint { following.push(FOLLOW_enum_constraint_in_constraint1793); lc=enum_constraint(); following.pop(); d = new LiteralDescr( f.getText(), op.getText(), lc, true ); d.setLocation( f.getLine(), f.getCharPositionInLine() ); constraints.add( d ); } break; case 3 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:690:49: lc= literal_constraint { following.push(FOLLOW_literal_constraint_in_constraint1825); lc=literal_constraint(); following.pop(); d = new LiteralDescr( f.getText(), op.getText(), lc ); d.setLocation( f.getLine(), f.getCharPositionInLine() ); constraints.add( d ); } break; case 4 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:696:49: rvc= retval_constraint { following.push(FOLLOW_retval_constraint_in_constraint1845); rvc=retval_constraint(); following.pop(); d = new ReturnValueDescr( f.getText(), op.getText(), rvc ); d.setLocation( f.getLine(), f.getCharPositionInLine() ); constraints.add( d ); } break; } } break; } following.push(FOLLOW_opt_eol_in_constraint1878); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/2c627236020a6a6e3e349b38b1010bfe64567df7/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4954, 12, 682, 6237, 13, 1216, 9539, 288, 6647, 3155, 12754, 33, 2011, 31, 3639, 3155, 284, 33, 2011, 31, 3639, 3155, 1061, 33, 2011, 31, 3639, 3155, 324, 4227, 33, 2011, 31, 3639, 514, 9109, 273, 446, 31, 3639, 514, 436, 4227, 273, 446, 31, 540, 202, 202, 3234, 16198, 302, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 9222, 22, 30, 4033, 30, 261, 2153, 67, 30951, 261, 19192, 33, 1599, 2153, 67, 30951, 3921, 2153, 67, 30951, 7851, 284, 33, 1599, 2153, 67, 30951, 261, 556, 33, 7707, 18920, 16637, 1870, 16637, 34, 2218, 16637, 32, 11, 16637, 32, 2218, 16637, 5, 2218, 16637, 12298, 11, 16637, 8436, 6134, 2153, 67, 30951, 261, 70, 4227, 33, 1599, 571, 9109, 33, 2792, 67, 13364, 571, 9109, 33, 7158, 67, 13364, 571, 436, 4227, 33, 5221, 67, 13364, 262, 7851, 2153, 67, 30951, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 9222, 22, 30, 4033, 30, 2153, 67, 30951, 261, 19192, 33, 1599, 2153, 67, 30951, 3921, 2153, 67, 30951, 7851, 284, 33, 1599, 2153, 67, 30951, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4954, 12, 682, 6237, 13, 1216, 9539, 288, 6647, 3155, 12754, 33, 2011, 31, 3639, 3155, 284, 33, 2011, 31, 3639, 3155, 1061, 33, 2011, 31, 3639, 3155, 324, 4227, 33, 2011, 31, 3639, 514, 9109, 273, 446, 31, 3639, 514, 436, 4227, 273, 446, 31, 540, 202, 202, 3234, 16198, 302, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 9222, 22, 30, 4033, 30, 261, 2153, 67, 30951, 261, 19192, 33, 1599, 2153, 67, 30951, 3921, 2153, 67, 30951, 2 ]
if (event.getItemId().equals(getId())) { setStatus(Status.REMOVED); } else { throw new IllegalArgumentException("EventId " + event.getItemId() + " does not match id of this property state."); }
setStatus(Status.REMOVED);
synchronized void refresh(Event event, ChangeLog changeLog) { checkIsWorkspaceState(); switch (event.getType()) { case Event.PROPERTY_REMOVED: if (event.getItemId().equals(getId())) { setStatus(Status.REMOVED); } else { // ILLEGAL throw new IllegalArgumentException("EventId " + event.getItemId() + " does not match id of this property state."); } break; case Event.PROPERTY_CHANGED: if (event.getItemId().equals(getId())) { setStatus(Status.MODIFIED); } else { // ILLEGAL throw new IllegalArgumentException("EventId " + event.getItemId() + " does not match id of this property state."); } break; case Event.PROPERTY_ADDED: case Event.NODE_ADDED: case Event.NODE_REMOVED: default: throw new IllegalArgumentException("Event type " + event.getType() + " cannot be applied to a PropertyState"); } }
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/9ae8bbb5c63832a2db95f20a916c3c350f4f0681/PropertyState.java/clean/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/PropertyState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 918, 4460, 12, 1133, 871, 16, 7576, 1343, 2549, 1343, 13, 288, 3639, 866, 2520, 8241, 1119, 5621, 3639, 1620, 261, 2575, 18, 588, 559, 10756, 288, 5411, 648, 2587, 18, 9900, 67, 11122, 12135, 30, 7734, 309, 261, 2575, 18, 588, 17673, 7675, 14963, 12, 26321, 1435, 3719, 288, 10792, 9433, 12, 1482, 18, 11122, 12135, 1769, 7734, 289, 469, 288, 10792, 368, 467, 48, 19384, 1013, 10792, 604, 394, 2754, 2932, 21973, 315, 397, 871, 18, 588, 17673, 1435, 397, 315, 1552, 486, 845, 612, 434, 333, 1272, 919, 1199, 1769, 7734, 289, 7734, 898, 31, 5411, 648, 2587, 18, 9900, 67, 24435, 30, 7734, 309, 261, 2575, 18, 588, 17673, 7675, 14963, 12, 26321, 1435, 3719, 288, 10792, 9433, 12, 1482, 18, 21143, 1769, 7734, 289, 469, 288, 10792, 368, 467, 48, 19384, 1013, 10792, 604, 394, 2754, 2932, 21973, 315, 397, 871, 18, 588, 17673, 1435, 397, 315, 1552, 486, 845, 612, 434, 333, 1272, 919, 1199, 1769, 7734, 289, 7734, 898, 31, 5411, 648, 2587, 18, 9900, 67, 1880, 7660, 30, 5411, 648, 2587, 18, 8744, 67, 1880, 7660, 30, 5411, 648, 2587, 18, 8744, 67, 11122, 12135, 30, 5411, 805, 30, 7734, 604, 394, 2754, 2932, 1133, 618, 315, 397, 871, 18, 588, 559, 1435, 397, 315, 2780, 506, 6754, 358, 279, 4276, 1119, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 918, 4460, 12, 1133, 871, 16, 7576, 1343, 2549, 1343, 13, 288, 3639, 866, 2520, 8241, 1119, 5621, 3639, 1620, 261, 2575, 18, 588, 559, 10756, 288, 5411, 648, 2587, 18, 9900, 67, 11122, 12135, 30, 7734, 309, 261, 2575, 18, 588, 17673, 7675, 14963, 12, 26321, 1435, 3719, 288, 10792, 9433, 12, 1482, 18, 11122, 12135, 1769, 7734, 289, 469, 288, 10792, 368, 467, 48, 19384, 1013, 10792, 604, 394, 2754, 2932, 21973, 315, 397, 871, 18, 588, 17673, 1435, 397, 315, 1552, 486, 845, 612, 434, 333, 1272, 919, 1199, 1769, 7734, 289, 7734, 898, 31, 5411, 648, 2587, 18, 9900, 67, 24435, 30, 7734, 309, 261, 2575, 18, 588, 17673, 7675, 14963, 12, 26321, 2 ]
if (TreeUtil.skipElementsBack(child, WHITE_SPACE_OR_COMMENT_BIT_SET) == null) { return ChildRole.PRECEDING_COMMENT; } else { return ChildRole.NONE; }
return ChildRole.NONE;
public int getChildRole(ASTNode child) { LOG.assertTrue(child.getTreeParent() == this); IElementType i = child.getElementType(); if (i == C_STYLE_COMMENT || i == END_OF_LINE_COMMENT) { { if (TreeUtil.skipElementsBack(child, WHITE_SPACE_OR_COMMENT_BIT_SET) == null) { return ChildRole.PRECEDING_COMMENT; } else { return ChildRole.NONE; } } } else if (i == MODIFIER_LIST) { return ChildRole.MODIFIER_LIST; } else if (i == CODE_BLOCK) { return ChildRole.METHOD_BODY; } else { return ChildRole.NONE; } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/984ae8c4e331e8880490078c1eb957c430b9337a/ClassInitializerElement.java/buggy/source/com/intellij/psi/impl/source/tree/java/ClassInitializerElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 8154, 2996, 12, 9053, 907, 1151, 13, 288, 565, 2018, 18, 11231, 5510, 12, 3624, 18, 588, 2471, 3054, 1435, 422, 333, 1769, 565, 467, 17481, 277, 273, 1151, 18, 588, 17481, 5621, 565, 309, 261, 77, 422, 385, 67, 15066, 67, 12200, 747, 277, 422, 7273, 67, 3932, 67, 5997, 67, 12200, 13, 288, 1377, 288, 3639, 309, 261, 2471, 1304, 18, 7457, 3471, 2711, 12, 3624, 16, 24353, 67, 6616, 67, 916, 67, 12200, 67, 15650, 67, 4043, 13, 422, 446, 13, 288, 1850, 327, 7451, 2996, 18, 3670, 23552, 1360, 67, 12200, 31, 3639, 289, 3639, 469, 288, 1850, 327, 7451, 2996, 18, 9826, 31, 3639, 289, 1377, 289, 565, 289, 565, 469, 309, 261, 77, 422, 8663, 10591, 67, 7085, 13, 288, 1377, 327, 7451, 2996, 18, 6720, 10591, 67, 7085, 31, 565, 289, 565, 469, 309, 261, 77, 422, 11128, 67, 11403, 13, 288, 1377, 327, 7451, 2996, 18, 5327, 67, 16691, 31, 565, 289, 565, 469, 288, 1377, 327, 7451, 2996, 18, 9826, 31, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 8154, 2996, 12, 9053, 907, 1151, 13, 288, 565, 2018, 18, 11231, 5510, 12, 3624, 18, 588, 2471, 3054, 1435, 422, 333, 1769, 565, 467, 17481, 277, 273, 1151, 18, 588, 17481, 5621, 565, 309, 261, 77, 422, 385, 67, 15066, 67, 12200, 747, 277, 422, 7273, 67, 3932, 67, 5997, 67, 12200, 13, 288, 1377, 288, 3639, 309, 261, 2471, 1304, 18, 7457, 3471, 2711, 12, 3624, 16, 24353, 67, 6616, 67, 916, 67, 12200, 67, 15650, 67, 4043, 13, 422, 446, 13, 288, 1850, 327, 7451, 2996, 18, 3670, 23552, 1360, 67, 12200, 31, 3639, 289, 3639, 469, 288, 1850, 327, 7451, 2996, 18, 9826, 31, 3639, 289, 1377, 289, 565, 289, 565, 469, 2 ]
public String toString() { return String.valueOf(xs); }
public String toString() { return String.valueOf(value); }
public String toString() { return String.valueOf(xs); }
55146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55146/16669f0c1edfc2716f2a396c87b3f031fd64255a/RunTime.java/buggy/sources/scala/runtime/RunTime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 327, 514, 18, 1132, 951, 12, 13713, 1769, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 327, 514, 18, 1132, 951, 12, 13713, 1769, 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 ]
TextNode getTextNode();
public TextNode getTextNode();
TextNode getTextNode();
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/4bb56f8e41e63eb3acf4e1aab39b090e7091ae58/Mark.java/buggy/sources/org/apache/batik/gvt/text/Mark.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3867, 907, 6701, 907, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3867, 907, 6701, 907, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
TableTreeItem item = tableTree.getItem( pt );
TreeItem item = tableTree.getItem( pt );
public void mouseDown( MouseEvent event ) { // only activate if there is a cell editor Point pt = new Point( event.x, event.y ); TableTreeItem item = tableTree.getItem( pt ); if ( item != null ) { handleSelect( item ); } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/97ec512e11440a7aef4cabaf9a1d56dca5de4b0b/ReportPropertySheetPage.java/clean/UI/org.eclipse.birt.report.designer.ui.editors/src/org/eclipse/birt/report/designer/internal/ui/views/property/ReportPropertySheetPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 7644, 4164, 12, 17013, 1133, 871, 262, 1082, 202, 95, 9506, 202, 759, 1338, 10235, 309, 1915, 353, 279, 2484, 4858, 9506, 202, 2148, 5818, 273, 394, 4686, 12, 871, 18, 92, 16, 871, 18, 93, 11272, 9506, 202, 1388, 2471, 1180, 761, 273, 1014, 2471, 18, 588, 1180, 12, 5818, 11272, 9506, 202, 430, 261, 761, 480, 446, 262, 9506, 202, 95, 6862, 202, 4110, 3391, 12, 761, 11272, 9506, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 7644, 4164, 12, 17013, 1133, 871, 262, 1082, 202, 95, 9506, 202, 759, 1338, 10235, 309, 1915, 353, 279, 2484, 4858, 9506, 202, 2148, 5818, 273, 394, 4686, 12, 871, 18, 92, 16, 871, 18, 93, 11272, 9506, 202, 1388, 2471, 1180, 761, 273, 1014, 2471, 18, 588, 1180, 12, 5818, 11272, 9506, 202, 430, 261, 761, 480, 446, 262, 9506, 202, 95, 6862, 202, 4110, 3391, 12, 761, 11272, 9506, 202, 97, 1082, 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 ]
IWorkbenchWindow[] windows= fWorkbench.getWorkbenchWindows();
IWorkbenchWindow[] windows= PlatformUI.getWorkbench().getWorkbenchWindows();
void install() { // Create and register activation listener fActivationListener= new ActivationListener(); /* * XXX: Don't in-line this field unless the following bug has been fixed: * https://bugs.eclipse.org/bugs/show_bug.cgi?id=55246 */ fWorkbench= PlatformUI.getWorkbench(); fWorkbench.addWindowListener(fActivationListener); // Ensure existing windows get connected IWorkbenchWindow[] windows= fWorkbench.getWorkbenchWindows(); for (int i= 0, length= windows.length; i < length; i++) windows[i].getPartService().addPartListener(fActivationListener); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/302e999bdd58cbcd7a279283204cd3078bc3fd82/ASTProvider.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ASTProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 3799, 1435, 288, 202, 202, 759, 1788, 471, 1744, 10027, 2991, 202, 202, 74, 14857, 2223, 33, 394, 26015, 2223, 5621, 9506, 202, 20308, 1082, 380, 11329, 30, 7615, 1404, 316, 17, 1369, 333, 652, 3308, 326, 3751, 7934, 711, 2118, 5499, 30, 1082, 380, 1377, 2333, 2207, 19381, 18, 20416, 18, 3341, 19, 19381, 19, 4500, 67, 925, 18, 19062, 35, 350, 33, 2539, 3247, 26, 1082, 1195, 202, 202, 74, 2421, 22144, 33, 11810, 5370, 18, 588, 2421, 22144, 5621, 9506, 202, 74, 2421, 22144, 18, 1289, 3829, 2223, 12, 74, 14857, 2223, 1769, 9506, 202, 759, 7693, 2062, 9965, 336, 5840, 202, 202, 45, 2421, 22144, 3829, 8526, 9965, 33, 284, 2421, 22144, 18, 588, 2421, 22144, 10399, 5621, 202, 202, 1884, 261, 474, 277, 33, 374, 16, 769, 33, 9965, 18, 2469, 31, 277, 411, 769, 31, 277, 27245, 1082, 202, 13226, 63, 77, 8009, 588, 1988, 1179, 7675, 1289, 1988, 2223, 12, 74, 14857, 2223, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 3799, 1435, 288, 202, 202, 759, 1788, 471, 1744, 10027, 2991, 202, 202, 74, 14857, 2223, 33, 394, 26015, 2223, 5621, 9506, 202, 20308, 1082, 380, 11329, 30, 7615, 1404, 316, 17, 1369, 333, 652, 3308, 326, 3751, 7934, 711, 2118, 5499, 30, 1082, 380, 1377, 2333, 2207, 19381, 18, 20416, 18, 3341, 19, 19381, 19, 4500, 67, 925, 18, 19062, 35, 350, 33, 2539, 3247, 26, 1082, 1195, 202, 202, 74, 2421, 22144, 33, 11810, 5370, 18, 588, 2421, 22144, 5621, 9506, 202, 74, 2421, 22144, 18, 1289, 3829, 2223, 12, 74, 14857, 2223, 1769, 9506, 202, 759, 7693, 2062, 9965, 336, 5840, 202, 202, 45, 2421, 22144, 3829, 8526, 9965, 33, 284, 2421, 22144, 2 ]
mNext = pNext;
nextPage = next;
public void setNext(Integer pNext) { mNext = pNext; }
10316 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10316/1f015620e66bc5b3e00897f80df0461ae3b81609/Pagination.java/buggy/displaytag/src/main/java/org/displaytag/pagination/Pagination.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 27674, 12, 4522, 293, 2134, 13, 565, 288, 3639, 7580, 273, 1024, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 27674, 12, 4522, 293, 2134, 13, 565, 288, 3639, 7580, 273, 1024, 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 ]
.getActiveBindingsFor(command.getId());
.getActiveBindingsFor(parameterizedCommand);
public final List getKeySequenceBindings() { final List legacyBindings = new ArrayList(); final TriggerSequence[] activeBindings = bindingManager .getActiveBindingsFor(command.getId()); final int activeBindingsCount = activeBindings.length; for (int i = 0; i < activeBindingsCount; i++) { final TriggerSequence triggerSequence = activeBindings[i]; if (triggerSequence instanceof org.eclipse.jface.bindings.keys.KeySequence) { legacyBindings .add(new KeySequenceBinding( KeySequence .getInstance((org.eclipse.jface.bindings.keys.KeySequence) triggerSequence), 0)); } } return legacyBindings; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e61bf96d546738a5dfebc5feb8c2bcbe110e4371/CommandWrapper.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/CommandWrapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 987, 3579, 4021, 10497, 1435, 288, 202, 202, 6385, 987, 8866, 10497, 273, 394, 2407, 5621, 202, 202, 6385, 11321, 4021, 8526, 2695, 10497, 273, 5085, 1318, 9506, 202, 18, 588, 3896, 10497, 1290, 12, 3076, 18, 26321, 10663, 202, 202, 6385, 509, 2695, 10497, 1380, 273, 2695, 10497, 18, 2469, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2695, 10497, 1380, 31, 277, 27245, 288, 1082, 202, 6385, 11321, 4021, 3080, 4021, 273, 2695, 10497, 63, 77, 15533, 1082, 202, 430, 261, 10668, 4021, 1276, 2358, 18, 20416, 18, 78, 865, 18, 15863, 18, 2452, 18, 653, 4021, 13, 288, 9506, 202, 17386, 10497, 25083, 202, 18, 1289, 12, 2704, 1929, 4021, 5250, 12, 6862, 9506, 202, 653, 4021, 6862, 25083, 202, 18, 588, 1442, 12443, 3341, 18, 20416, 18, 78, 865, 18, 15863, 18, 2452, 18, 653, 4021, 13, 3080, 4021, 3631, 6862, 9506, 202, 20, 10019, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 8866, 10497, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 987, 3579, 4021, 10497, 1435, 288, 202, 202, 6385, 987, 8866, 10497, 273, 394, 2407, 5621, 202, 202, 6385, 11321, 4021, 8526, 2695, 10497, 273, 5085, 1318, 9506, 202, 18, 588, 3896, 10497, 1290, 12, 3076, 18, 26321, 10663, 202, 202, 6385, 509, 2695, 10497, 1380, 273, 2695, 10497, 18, 2469, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2695, 10497, 1380, 31, 277, 27245, 288, 1082, 202, 6385, 11321, 4021, 3080, 4021, 273, 2695, 10497, 63, 77, 15533, 1082, 202, 430, 261, 10668, 4021, 1276, 2358, 18, 20416, 18, 78, 865, 18, 15863, 18, 2452, 18, 653, 4021, 13, 288, 9506, 202, 17386, 10497, 25083, 202, 18, 1289, 12, 2704, 2 ]
if (jj_3R_49()) { jj_scanpos = xsp; if (jj_3R_50()) { jj_scanpos = xsp;
final private boolean jj_3_1() { Token xsp; xsp = jj_scanpos; if (jj_3R_49()) { jj_scanpos = xsp; if (jj_3R_50()) { jj_scanpos = xsp; if (jj_3R_51()) { jj_scanpos = xsp; if (jj_3R_52()) { jj_scanpos = xsp; if (jj_3R_53()) { jj_scanpos = xsp; if (jj_3R_54()) { jj_scanpos = xsp; if (jj_3R_55()) { jj_scanpos = xsp; if (jj_3R_56()) { jj_scanpos = xsp; if (jj_3R_57()) { jj_scanpos = xsp; if (jj_3R_58()) { jj_scanpos = xsp; if (jj_3R_59()) { jj_scanpos = xsp; if (jj_3R_60()) return true; } } } } } } } } } } } return false; }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/3afd4630754ba5d6642f3e8a1c9aa5162eff7e9f/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 67, 21, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 7616, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 3361, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 10593, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 9401, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 8643, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 6564, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 2539, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 4313, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 10321, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 8204, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 6162, 10756, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 67, 21, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 7616, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 3361, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 10593, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 9401, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 8643, 2 ]
if (horizontalSpacingESet) result.append(horizontalSpacing); else result.append("<unset>");
if (horizontalSpacingESet) result.append(horizontalSpacing); else result.append("<unset>");
public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (horizontalSpacing: "); if (horizontalSpacingESet) result.append(horizontalSpacing); else result.append("<unset>"); result.append(", verticalSpacing: "); if (verticalSpacingESet) result.append(verticalSpacing); else result.append("<unset>"); result.append(", orientation: "); if (orientationESet) result.append(orientation); else result.append("<unset>"); result.append(", direction: "); if (directionESet) result.append(direction); else result.append("<unset>"); result.append(", position: "); if (positionESet) result.append(position); else result.append("<unset>"); result.append(", itemType: "); if (itemTypeESet) result.append(itemType); else result.append("<unset>"); result.append(')'); return result.toString(); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/LegendImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/LegendImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 565, 288, 3639, 309, 261, 73, 2520, 3886, 10756, 327, 2240, 18, 10492, 5621, 3639, 6674, 563, 273, 394, 6674, 12, 9565, 18, 10492, 10663, 3639, 563, 18, 6923, 2932, 261, 18396, 18006, 30, 315, 1769, 3639, 309, 261, 18396, 18006, 41, 694, 13, 563, 18, 6923, 12, 18396, 18006, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2932, 16, 9768, 18006, 30, 315, 1769, 3639, 309, 261, 17824, 18006, 41, 694, 13, 563, 18, 6923, 12, 17824, 18006, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2932, 16, 9820, 30, 315, 1769, 3639, 309, 261, 19235, 41, 694, 13, 563, 18, 6923, 12, 19235, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2932, 16, 4068, 30, 315, 1769, 3639, 309, 261, 9855, 41, 694, 13, 563, 18, 6923, 12, 9855, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2932, 16, 1754, 30, 315, 1769, 3639, 309, 261, 3276, 41, 694, 13, 563, 18, 6923, 12, 3276, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2932, 16, 23080, 30, 315, 1769, 3639, 309, 261, 1726, 559, 41, 694, 13, 563, 18, 6923, 12, 1726, 559, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2668, 2506, 1769, 3639, 327, 563, 18, 10492, 5621, 565, 289, 2, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 565, 288, 3639, 309, 261, 73, 2520, 3886, 10756, 327, 2240, 18, 10492, 5621, 3639, 6674, 563, 273, 394, 6674, 12, 9565, 18, 10492, 10663, 3639, 563, 18, 6923, 2932, 261, 18396, 18006, 30, 315, 1769, 3639, 309, 261, 18396, 18006, 41, 694, 13, 563, 18, 6923, 12, 18396, 18006, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2932, 16, 9768, 18006, 30, 315, 1769, 3639, 309, 261, 17824, 18006, 41, 694, 13, 563, 18, 6923, 12, 17824, 18006, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2932, 16, 9820, 30, 315, 1769, 3639, 309, 261, 19235, 41, 694, 13, 563, 18, 2 ]
int blue = (c1.getBlue() + c2.getBlue()) / 2;
int blue = (c1.getBlue() + c2.getBlue()) / 2;
public static Color mixColor(Color c1, Color c2) { int red = (c1.getRed() + c2.getRed()) / 2; int green = (c1.getGreen() + c2.getGreen()) / 2; int blue = (c1.getBlue() + c2.getBlue()) / 2; return new Color(red, green, blue); }
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/d2255fbe86a662c3d5768854411509915a7f3e00/PrintColor.java/buggy/freehep-graphics2d/src/main/java/org/freehep/graphics2d/PrintColor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 5563, 6843, 2957, 12, 2957, 276, 21, 16, 5563, 276, 22, 13, 288, 3639, 509, 1755, 282, 273, 261, 71, 21, 18, 588, 3715, 1435, 397, 276, 22, 18, 588, 3715, 10756, 342, 576, 31, 3639, 509, 10004, 273, 261, 71, 21, 18, 588, 21453, 1435, 397, 276, 22, 18, 588, 21453, 10756, 342, 576, 31, 3639, 509, 8024, 273, 261, 71, 21, 18, 588, 27986, 1435, 397, 276, 22, 18, 588, 27986, 10756, 342, 576, 31, 3639, 327, 394, 5563, 12, 1118, 16, 10004, 16, 8024, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 5563, 6843, 2957, 12, 2957, 276, 21, 16, 5563, 276, 22, 13, 288, 3639, 509, 1755, 282, 273, 261, 71, 21, 18, 588, 3715, 1435, 397, 276, 22, 18, 588, 3715, 10756, 342, 576, 31, 3639, 509, 10004, 273, 261, 71, 21, 18, 588, 21453, 1435, 397, 276, 22, 18, 588, 21453, 10756, 342, 576, 31, 3639, 509, 8024, 273, 261, 71, 21, 18, 588, 27986, 1435, 397, 276, 22, 18, 588, 27986, 10756, 342, 576, 31, 3639, 327, 394, 5563, 12, 1118, 16, 10004, 16, 8024, 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 ]
if( found != null ){ data.foundItems.add( found ); }
public IParameterizedSymbol unqualifiedFunctionLookup( String name, List parameters ) throws ParserSymbolTableException{ //figure out the set of associated scopes first, so we can remove those that are searched //during the normal lookup to avoid doing them twice HashSet associated = new HashSet(); //collect associated namespaces & classes. int size = ( parameters == null ) ? 0 : parameters.size(); Iterator iter = ( parameters == null ) ? null : parameters.iterator(); TypeInfo param = null; ISymbol paramType = null; for( int i = size; i > 0; i-- ){ param = (TypeInfo) iter.next(); paramType = ParserSymbolTable.getFlatTypeInfo( param ).getTypeSymbol(); if( paramType == null ){ continue; } ParserSymbolTable.getAssociatedScopes( paramType, associated ); //if T is a pointer to a data member of class X, its associated namespaces and classes //are those associated with the member type together with those associated with X if( param.hasPtrOperators() && param.getPtrOperators().size() == 1 ){ TypeInfo.PtrOp op = (TypeInfo.PtrOp)param.getPtrOperators().iterator().next(); if( op.getType() == TypeInfo.PtrOp.t_pointer && paramType.getContainingSymbol().isType( TypeInfo.t_class, TypeInfo.t_union ) ) { ParserSymbolTable.getAssociatedScopes( paramType.getContainingSymbol(), associated ); } } } LookupData data = new LookupData( name, TypeInfo.t_function, getTemplateInstance() ); //if parameters == null, thats no parameters, but we need to distinguish that from //no parameter information at all, so make an empty list. data.parameters = ( parameters == null ) ? new LinkedList() : parameters; data.associated = associated; ParserSymbolTable.lookup( data, this ); ISymbol found = ParserSymbolTable.resolveAmbiguities( data ); //if we haven't found anything, or what we found is not a class member, consider the //associated scopes if( found == null || found.getContainingSymbol().getType() != TypeInfo.t_class ){ if( found != null ){ data.foundItems.add( found ); } IContainerSymbol associatedScope; //dump the hash to an array and iterate over the array because we //could be removing items from the collection as we go and we don't //want to get ConcurrentModificationExceptions Object [] scopes = associated.toArray(); size = associated.size(); for( int i = 0; i < size; i++ ){ associatedScope = (IContainerSymbol) scopes[ i ]; if( associated.contains( associatedScope ) ){ data.qualified = true; data.ignoreUsingDirectives = true; ParserSymbolTable.lookup( data, associatedScope ); } } found = ParserSymbolTable.resolveAmbiguities( data ); } if( found instanceof IParameterizedSymbol ) return (IParameterizedSymbol) found; else return null; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/0adb9b9d209fba2f5fd1d7ec2a8bc9f934d9fcf5/ContainerSymbol.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/pst/ContainerSymbol.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 15696, 5335, 640, 19724, 2083, 6609, 12, 514, 508, 16, 987, 1472, 262, 1216, 6783, 5335, 1388, 503, 95, 202, 202, 759, 19675, 596, 326, 444, 434, 3627, 8124, 1122, 16, 1427, 732, 848, 1206, 5348, 716, 854, 19242, 202, 202, 759, 72, 4017, 326, 2212, 3689, 358, 4543, 9957, 2182, 13605, 202, 202, 13482, 3627, 273, 394, 6847, 5621, 1082, 202, 759, 14676, 3627, 7728, 473, 3318, 18, 202, 202, 474, 963, 273, 261, 1472, 422, 446, 262, 692, 374, 294, 1472, 18, 1467, 5621, 202, 202, 3198, 1400, 273, 261, 1472, 422, 446, 262, 692, 446, 294, 1472, 18, 9838, 5621, 1082, 202, 17305, 579, 273, 446, 31, 202, 202, 5127, 3284, 20781, 273, 446, 31, 202, 202, 1884, 12, 509, 277, 273, 963, 31, 277, 405, 374, 31, 277, 413, 262, 95, 1082, 202, 891, 273, 261, 17305, 13, 1400, 18, 4285, 5621, 1082, 202, 891, 559, 273, 6783, 5335, 1388, 18, 588, 16384, 17305, 12, 579, 262, 18, 588, 559, 5335, 5621, 6862, 202, 430, 12, 20781, 422, 446, 262, 95, 9506, 202, 17143, 31, 1082, 202, 97, 6862, 1082, 202, 2678, 5335, 1388, 18, 588, 19233, 12668, 12, 20781, 16, 3627, 11272, 6862, 202, 759, 430, 399, 353, 279, 4407, 358, 279, 501, 3140, 434, 667, 1139, 16, 2097, 3627, 7728, 471, 3318, 1082, 202, 759, 834, 5348, 3627, 598, 326, 3140, 618, 9475, 598, 5348, 3627, 598, 1139, 1082, 202, 430, 12, 579, 18, 5332, 5263, 24473, 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, 467, 15696, 5335, 640, 19724, 2083, 6609, 12, 514, 508, 16, 987, 1472, 262, 1216, 6783, 5335, 1388, 503, 95, 202, 202, 759, 19675, 596, 326, 444, 434, 3627, 8124, 1122, 16, 1427, 732, 848, 1206, 5348, 716, 854, 19242, 202, 202, 759, 72, 4017, 326, 2212, 3689, 358, 4543, 9957, 2182, 13605, 202, 202, 13482, 3627, 273, 394, 6847, 5621, 1082, 202, 759, 14676, 3627, 7728, 473, 3318, 18, 202, 202, 474, 963, 273, 261, 1472, 422, 446, 262, 692, 374, 294, 1472, 18, 1467, 5621, 202, 202, 3198, 1400, 273, 261, 1472, 422, 446, 262, 692, 446, 294, 1472, 18, 9838, 5621, 1082, 202, 17305, 579, 273, 446, 31, 202, 202, 5127, 3284, 20781, 2 ]
int _cnt2105=0; _loop2105:
int _cnt2111=0; _loop2111:
public final void osdeletestate(AST _t) throws RecognitionException { AST osdeletestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2102 = _t; AST tmp2064_AST_in = (AST)_t; match(_t,OSDELETE); _t = _t.getFirstChild(); { int _cnt2105=0; _loop2105: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VALUE)) { valueexpression(_t); _t = _retTree; } else if ((_tokenSet_35.member(_t.getType()))) { { AST tmp2065_AST_in = (AST)_t; match(_t,_tokenSet_35); _t = _t.getNextSibling(); } } else { if ( _cnt2105>=1 ) { break _loop2105; } else {throw new NoViableAltException(_t);} } _cnt2105++; } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case RECURSIVE: { AST tmp2066_AST_in = (AST)_t; match(_t,RECURSIVE); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t2102; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1140, 19003, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1140, 19003, 395, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 22, 20481, 273, 389, 88, 31, 202, 202, 9053, 1853, 3462, 1105, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 4618, 6460, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 474, 389, 13085, 22, 21661, 33, 20, 31, 202, 202, 67, 6498, 22, 21661, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 430, 14015, 67, 88, 18, 588, 559, 1435, 631, 4051, 3719, 288, 9506, 202, 1132, 8692, 24899, 88, 1769, 9506, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 97, 1082, 202, 12107, 309, 14015, 67, 2316, 694, 67, 4763, 18, 5990, 24899, 88, 18, 588, 559, 1435, 20349, 288, 9506, 202, 95, 9506, 202, 9053, 1853, 3462, 9222, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 67, 2316, 694, 67, 4763, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 430, 261, 389, 13085, 22, 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, 1140, 19003, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1140, 19003, 395, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 22, 20481, 273, 389, 88, 31, 202, 202, 9053, 1853, 3462, 1105, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 4618, 6460, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 474, 389, 13085, 22, 21661, 33, 20, 31, 202, 202, 67, 6498, 22, 21661, 30, 202, 202, 2896, 288, 1082, 2 ]
public void schedule() {
public void schedule() throws InserterException {
public void schedule() { if(finished) return; parent.scheduler.register(this); }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/21208e342489c2a0c49f6715dd86892930851371/SingleBlockInserter.java/buggy/src/freenet/client/async/SingleBlockInserter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4788, 1435, 288, 202, 202, 430, 12, 13527, 13, 327, 31, 202, 202, 2938, 18, 19972, 18, 4861, 12, 2211, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4788, 1435, 288, 202, 202, 430, 12, 13527, 13, 327, 31, 202, 202, 2938, 18, 19972, 18, 4861, 12, 2211, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return 0; }
return 0; }
public int AVGPRICE_Lookback() { return 0; }
2365 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2365/8c26ea7a2c59f9148f3db0db7ab39ed48689e601/Core.java/buggy/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 432, 9266, 7698, 1441, 67, 9794, 823, 1435, 288, 202, 202, 2463, 374, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 509, 432, 9266, 7698, 1441, 67, 9794, 823, 1435, 288, 202, 202, 2463, 374, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
while (rs.next()) { Timestamp eventDate = rs.getTimestamp(1); long countA = rs.getLong(3) - rs.getLong(2); long countB = rs.getLong(2); long eventStart = (eventDate.getTime() / MINUTE_INTERVAL) * MINUTE_INTERVAL; long realStart = eventStart < startMinuteInMillis ? (long) 0 : eventStart - startMinuteInMillis; int startInterval = (int)(realStart / MINUTE_INTERVAL)/MINUTES_PER_BUCKET;
Timestamp eventDate; long countA; long countB; long eventStart; long realStart; int startInterval; int bucket;
protected JFreeChart doChart(Connection con) throws JRScriptletException, SQLException { final int seriesA = 0; // datasetA (primary, first) final int seriesB = 1; // datasetB //final int seriesC = 2; // datasetC TimeSeries datasetA = new TimeSeries(seriesATitle, Minute.class); TimeSeries datasetB = new TimeSeries(seriesBTitle, Minute.class); //TimeSeries datasetC = new TimeSeries(seriesCTitle, Minute.class); final int BUCKETS = 1440 / MINUTES_PER_BUCKET; // TRUNCATE TIME TO MINUTES, COMPUTE NUMBER OF QUERIES long startMinuteInMillis = (startDate.getTime() / MINUTE_INTERVAL) * MINUTE_INTERVAL; long endMinuteInMillis = (endDate.getTime() / MINUTE_INTERVAL) * MINUTE_INTERVAL; long periodMillis = endMinuteInMillis - startMinuteInMillis; int periodMinutes = (int)(periodMillis / MINUTE_INTERVAL); int queries = periodMinutes/(BUCKETS*MINUTES_PER_BUCKET) + (periodMinutes%(BUCKETS*MINUTES_PER_BUCKET)>0?1:0); int periodBuckets = periodMinutes/(MINUTES_PER_BUCKET) + (periodMinutes%(MINUTES_PER_BUCKET)>0?1:0); System.out.println("====== START ======"); System.out.println("start: " + (new Timestamp(startMinuteInMillis)).toString() ); System.out.println("end: " + (new Timestamp(endMinuteInMillis)).toString() ); System.out.println("mins: " + periodMinutes); System.out.println("days: " + queries); System.out.println("==================="); // ALLOCATE COUNTS int size; if( periodMinutes >= BUCKETS*MINUTES_PER_BUCKET ) size = BUCKETS; else size = periodMinutes/(BUCKETS*MINUTES_PER_BUCKET) + (periodMinutes%(BUCKETS*MINUTES_PER_BUCKET)>0?1:0); double countsA[] = new double[ size ]; double countsB[] = new double[ size ]; //double countsC[] = new double[ size ]; // SETUP TIMESTAMPS Timestamp startTimestamp, endTimestamp; startTimestamp = new Timestamp(startMinuteInMillis); endTimestamp = new Timestamp(endMinuteInMillis); totalQueryTime = System.currentTimeMillis(); String sql = "SELECT date_trunc('minute', time_stamp) as time_stamp," + " count(case blocked when true then 1 else null end), count(*)" + " FROM tr_protofilter_evt WHERE" + " time_stamp <= ? AND time_stamp >= ?" + " GROUP BY time_stamp" + " ORDER BY time_stamp"; int sidx = 1; PreparedStatement stmt = con.prepareStatement(sql); stmt.setTimestamp(sidx++, endTimestamp); stmt.setTimestamp(sidx++, startTimestamp); ResultSet rs = stmt.executeQuery(); totalQueryTime = System.currentTimeMillis() - totalQueryTime; totalProcessTime = System.currentTimeMillis(); // PROCESS EACH ROW while (rs.next()) { // GET RESULTS Timestamp eventDate = rs.getTimestamp(1); long countA = rs.getLong(3) - rs.getLong(2); long countB = rs.getLong(2); //long countC = rs.getLong(3); // ALLOCATE COUNT TO EACH MINUTE WE WERE ALIVE EQUALLY long eventStart = (eventDate.getTime() / MINUTE_INTERVAL) * MINUTE_INTERVAL; long realStart = eventStart < startMinuteInMillis ? (long) 0 : eventStart - startMinuteInMillis; int startInterval = (int)(realStart / MINUTE_INTERVAL)/MINUTES_PER_BUCKET; // COMPUTE COUNTS IN INTERVALS countsA[startInterval%BUCKETS] += countA; countsB[startInterval%BUCKETS] += countB; //countsC[startInterval%BUCKETS] += countC; } try { stmt.close(); } catch (SQLException x) { } // POST PROCESS: PRODUCE UNITS OF KBytes/sec., AVERAGED PER DAY, FROM BYTES PER BUCKET double averageACount; double averageBCount; //double averageCCount; for(int i = 0; i < size; i++) { // MOVING AVERAGE averageACount = 0; averageBCount = 0; //averageCCount = 0; int newIndex = 0; int denom = 0; for(int j=0; j<MOVING_AVERAGE_MINUTES; j++){ newIndex = i-j; if( newIndex >= 0 ) denom++; else continue; averageACount += countsA[newIndex] / (double)queries; averageBCount += countsB[newIndex] / (double)queries; //averageCCount += countsC[newIndex] / (double)queries; } averageACount /= denom; averageBCount /= denom; //averageCCount /= denom; java.util.Date date = new java.util.Date(startMinuteInMillis + i * MINUTE_INTERVAL * MINUTES_PER_BUCKET ); datasetA.addOrUpdate(new Minute(date), averageACount); datasetB.addOrUpdate(new Minute(date), averageBCount); //datasetC.addOrUpdate(new Minute(date), averageCCount); } totalProcessTime = System.currentTimeMillis() - totalProcessTime; System.out.println("====== RESULTS ======"); System.out.println("TOTAL query time: " + totalQueryTime/1000 + "s" + " (" + ((float)totalQueryTime/(float)(totalQueryTime+totalProcessTime)) + ")"); System.out.println("TOTAL process time: " + totalProcessTime/1000 + "s" + " (" + ((float)totalProcessTime/(float)(totalQueryTime+totalProcessTime)) + ")"); System.out.println("====================="); TimeSeriesCollection tsc = new TimeSeriesCollection(); tsc.addSeries(datasetA); tsc.addSeries(datasetB); //tsc.addSeries(datasetC); JFreeChart jfChart = ChartFactory.createTimeSeriesChart(chartTitle, timeAxisLabel, valueAxisLabel, tsc, true, true, false); XYPlot xyPlot = (XYPlot) jfChart.getPlot(); XYItemRenderer xyIRenderer = xyPlot.getRenderer(); xyIRenderer.setSeriesStroke(seriesA, new BasicStroke(1.3f)); xyIRenderer.setSeriesPaint(seriesA, Color.green); xyIRenderer.setSeriesStroke(seriesB, new BasicStroke(1.3f)); xyIRenderer.setSeriesPaint(seriesB, Color.red); //xyIRenderer.setSeriesStroke(seriesC, new BasicStroke(1.3f)); //xyIRenderer.setSeriesPaint(seriesC, Color.blue); return jfChart; }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/ad2338c4283e959effa8ec881f68d13a60ceeb7a/SummaryGraph.java/clean/tran/protofilter/main/com/metavize/tran/protofilter/reports/SummaryGraph.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 804, 9194, 7984, 741, 7984, 12, 1952, 356, 13, 1216, 27974, 3651, 1810, 503, 16, 6483, 565, 288, 3639, 727, 509, 4166, 37, 273, 374, 31, 368, 3709, 37, 261, 8258, 16, 1122, 13, 3639, 727, 509, 4166, 38, 273, 404, 31, 368, 3709, 38, 3639, 368, 6385, 509, 4166, 39, 273, 576, 31, 368, 3709, 39, 3639, 26084, 3709, 37, 273, 394, 26084, 12, 10222, 789, 1280, 16, 20734, 18, 1106, 1769, 3639, 26084, 3709, 38, 273, 394, 26084, 12, 10222, 38, 4247, 16, 20734, 18, 1106, 1769, 3639, 368, 28486, 3709, 39, 273, 394, 26084, 12, 10222, 1268, 1280, 16, 20734, 18, 1106, 1769, 202, 6385, 509, 10937, 14984, 55, 273, 5045, 7132, 342, 6989, 24080, 67, 3194, 67, 28888, 31, 3639, 368, 4235, 2124, 13000, 8721, 8493, 6989, 24080, 16, 13846, 9099, 15532, 15932, 10110, 654, 8805, 3639, 1525, 787, 18329, 16620, 273, 261, 1937, 1626, 18, 588, 950, 1435, 342, 21596, 67, 16435, 13, 380, 21596, 67, 16435, 31, 3639, 1525, 679, 18329, 16620, 273, 261, 409, 1626, 18, 588, 950, 1435, 342, 21596, 67, 16435, 13, 380, 21596, 67, 16435, 31, 3639, 1525, 3879, 4814, 273, 679, 18329, 16620, 300, 787, 18329, 16620, 31, 3639, 509, 3879, 13050, 273, 261, 474, 21433, 6908, 4814, 342, 21596, 67, 16435, 1769, 202, 474, 6218, 273, 3879, 13050, 19, 12, 28888, 55, 14, 6236, 24080, 67, 3194, 67, 28888, 13, 397, 261, 6908, 13050, 17105, 28888, 55, 14, 6236, 24080, 67, 3194, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 804, 9194, 7984, 741, 7984, 12, 1952, 356, 13, 1216, 27974, 3651, 1810, 503, 16, 6483, 565, 288, 3639, 727, 509, 4166, 37, 273, 374, 31, 368, 3709, 37, 261, 8258, 16, 1122, 13, 3639, 727, 509, 4166, 38, 273, 404, 31, 368, 3709, 38, 3639, 368, 6385, 509, 4166, 39, 273, 576, 31, 368, 3709, 39, 3639, 26084, 3709, 37, 273, 394, 26084, 12, 10222, 789, 1280, 16, 20734, 18, 1106, 1769, 3639, 26084, 3709, 38, 273, 394, 26084, 12, 10222, 38, 4247, 16, 20734, 18, 1106, 1769, 3639, 368, 28486, 3709, 39, 273, 394, 26084, 12, 10222, 1268, 1280, 16, 20734, 18, 1106, 1769, 202, 6385, 509, 10937, 14984, 55, 273, 5045, 7132, 342, 6989, 2 ]
suite.addTest(ParserTest.suite());
try { Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.openscience.cdk.test.iupac.ParserTest"); suite.addTest(new TestSuite(testClass)); } catch (Exception exception) {}
public static Test suite( ) { TestSuite suite= new TestSuite("All CDK Tests"); // Package Test Suites suite.addTest(CoreClassesTests.suite()); suite.addTest(IOTests.suite()); suite.addTest(ToolsTests.suite()); // Individual Tests suite.addTest(ChemFileTest.suite()); suite.addTest(MorganNumberToolsTest.suite()); suite.addTest(RebondToolTest.suite()); suite.addTest(PathLengthTest.suite()); suite.addTest(IsomorphismTesterTest.suite()); //from cdk.test.ringsearch suite.addTest(AllRingsFinderTest.suite()); suite.addTest(RingSearchTest.suite()); // cdk.test.fingerprint suite.addTest(FingerprinterTest.suite()); // from cdk.test.layout.* suite.addTest(StructureDiagramGeneratorTest.suite()); suite.addTest(HydrogenPlacerTest.suite()); suite.addTest(OverlapResolverTest.suite()); suite.addTest(TemplateHandlerTest.suite()); // from cdk.test.smiles suite.addTest(SmilesGeneratorTest.suite()); suite.addTest(SmilesParserTest.suite()); // from cdk.test.geometry suite.addTest(GeometryToolsTest.suite()); suite.addTest(CrystalGeometryToolsTest.suite()); // from cdk.test.isomorphism suite.addTest(UniversalIsomorphismTesterTest.suite()); // from cdk.test.aromaticity suite.addTest(HueckelAromaticityDetectorTest.suite()); suite.addTest(HOSECodeTest.suite()); suite.addTest(BremserPredictorTest.suite()); // from cdk.test.structgen suite.addTest(RandomStructureGeneratorTest.suite()); // from cdk.test.iupac suite.addTest(ParserTest.suite()); return suite; }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/acf3e2a96cd1ba23dd4d8637f9772ed5f11fad20/CDKTests.java/buggy/src/org/openscience/cdk/test/CDKTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 7766, 11371, 12, 262, 565, 288, 3639, 7766, 13587, 11371, 33, 394, 7766, 13587, 2932, 1595, 15257, 7766, 87, 8863, 7734, 368, 7508, 7766, 348, 89, 2997, 3639, 11371, 18, 1289, 4709, 12, 4670, 4818, 14650, 18, 30676, 10663, 3639, 11371, 18, 1289, 4709, 12, 45, 1974, 25563, 18, 30676, 10663, 3639, 11371, 18, 1289, 4709, 12, 10348, 14650, 18, 30676, 10663, 7734, 368, 24147, 7766, 87, 3639, 11371, 18, 1289, 4709, 12, 20200, 812, 4709, 18, 30676, 10663, 3639, 11371, 18, 1289, 4709, 12, 49, 22543, 1854, 10348, 4709, 18, 30676, 10663, 3639, 11371, 18, 1289, 4709, 12, 426, 26425, 6364, 4709, 18, 30676, 10663, 3639, 11371, 18, 1289, 4709, 12, 743, 1782, 4709, 18, 30676, 10663, 3639, 11371, 18, 1289, 4709, 12, 2520, 362, 7657, 6228, 56, 7654, 4709, 18, 30676, 10663, 202, 759, 2080, 276, 2883, 18, 3813, 18, 8022, 3072, 3639, 11371, 18, 1289, 4709, 12, 1595, 54, 899, 8441, 4709, 18, 30676, 10663, 202, 30676, 18, 1289, 4709, 12, 10369, 2979, 4709, 18, 30676, 10663, 202, 759, 276, 2883, 18, 3813, 18, 24716, 3639, 11371, 18, 1289, 4709, 12, 42, 6658, 30439, 4709, 18, 30676, 10663, 3639, 368, 628, 276, 2883, 18, 3813, 18, 6741, 4509, 3639, 11371, 18, 1289, 4709, 12, 6999, 14058, 1940, 3908, 4709, 18, 30676, 10663, 3639, 11371, 18, 1289, 4709, 12, 17507, 24096, 1749, 10598, 4709, 18, 30676, 10663, 202, 30676, 18, 1289, 4709, 12, 17411, 4301, 4709, 18, 30676, 10663, 202, 30676, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 7766, 11371, 12, 262, 565, 288, 3639, 7766, 13587, 11371, 33, 394, 7766, 13587, 2932, 1595, 15257, 7766, 87, 8863, 7734, 368, 7508, 7766, 348, 89, 2997, 3639, 11371, 18, 1289, 4709, 12, 4670, 4818, 14650, 18, 30676, 10663, 3639, 11371, 18, 1289, 4709, 12, 45, 1974, 25563, 18, 30676, 10663, 3639, 11371, 18, 1289, 4709, 12, 10348, 14650, 18, 30676, 10663, 7734, 368, 24147, 7766, 87, 3639, 11371, 18, 1289, 4709, 12, 20200, 812, 4709, 18, 30676, 10663, 3639, 11371, 18, 1289, 4709, 12, 49, 22543, 1854, 10348, 4709, 18, 30676, 10663, 3639, 11371, 18, 1289, 4709, 12, 426, 26425, 6364, 4709, 18, 30676, 10663, 3639, 11371, 18, 1289, 4709, 12, 743, 1782, 4709, 18, 2 ]
if (!(enc == null || encodings.contains(enc)))
if (!(enc == null || encodings.contains(enc)))
public static List getIDEEncodings() { List encodings = getIDEEncodingsPreference(); encodings.addAll(WorkbenchEncoding.getDefinedEncodings()); String enc = getResourceEncoding(); if (!(enc == null || encodings.contains(enc))) encodings.add(enc); Collections.sort(encodings); return encodings; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/4891f4c54ceeb1930de3a4273df47d343d58c273/IDEEncoding.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDEEncoding.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 987, 336, 10385, 25100, 899, 1435, 288, 202, 202, 682, 24118, 273, 225, 336, 10385, 25100, 899, 9624, 5621, 1082, 202, 1331, 369, 899, 18, 1289, 1595, 12, 2421, 22144, 4705, 18, 588, 8116, 25100, 899, 10663, 9506, 202, 780, 2446, 273, 5070, 4705, 5621, 202, 202, 430, 16051, 12, 1331, 422, 446, 747, 24118, 18, 12298, 12, 1331, 20349, 1875, 202, 1331, 369, 899, 18, 1289, 12, 1331, 1769, 9506, 202, 15150, 18, 3804, 12, 1331, 369, 899, 1769, 202, 202, 2463, 24118, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 987, 336, 10385, 25100, 899, 1435, 288, 202, 202, 682, 24118, 273, 225, 336, 10385, 25100, 899, 9624, 5621, 1082, 202, 1331, 369, 899, 18, 1289, 1595, 12, 2421, 22144, 4705, 18, 588, 8116, 25100, 899, 10663, 9506, 202, 780, 2446, 273, 5070, 4705, 5621, 202, 202, 430, 16051, 12, 1331, 422, 446, 747, 24118, 18, 12298, 12, 1331, 20349, 1875, 202, 1331, 369, 899, 18, 1289, 12, 1331, 1769, 9506, 202, 15150, 18, 3804, 12, 1331, 369, 899, 1769, 202, 202, 2463, 24118, 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 ]
i = contained.getBindingNames().iterator(); while (i.hasNext()) { name = (String)i.next();
i = contained.getBindingNames().iterator(); while (i.hasNext()) { name = (String)i.next();
private void bind(IComponent container, IComponent component, ComponentSpecification spec, ContainedComponent contained, Map propertyBindings) throws PageLoaderException { Iterator i; String name; BindingSpecification bspec; IBinding binding; String bindingValue; BindingType type; boolean checkForFormal; ParameterSpecification parameterSpec; checkForFormal = !spec.getAllowInformalParameters(); i = contained.getBindingNames().iterator(); while (i.hasNext()) { name = (String)i.next(); // If not allowing informal parameters, check that each binding matches // a formal parameter. if (checkForFormal) { if (spec.getParameter(name) == null) throw new PageLoaderException( "Component " + component.getExtendedId() + " allows only formal parameters, binding " + name + " is not allowed.", this, component, null); } bspec = contained.getBinding(name); // The type determines how to interpret the value: // As a simple static String // As a nested property name (relative to the component) // As the name of a binding inherited from the containing component. type = bspec.getType(); bindingValue = bspec.getValue(); binding = convert(type, bindingValue, container, propertyBindings); if (binding != null) component.setBinding(name, binding); } // Now, check that all required parameters are bound. i = spec.getParameterNames().iterator(); while (i.hasNext()) { name = (String)i.next(); parameterSpec = spec.getParameter(name); if (parameterSpec.isRequired() && component.getBinding(name) == null) throw new PageLoaderException( "Required parameter " + name + " of component " + component.getExtendedId() + " is not bound.", this, component, null); } }
4433 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4433/c51d8d4dd8d476478f92119536b3819c3e9980a1/PageLoader.java/buggy/framework/src/com/primix/tapestry/pageload/PageLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1993, 12, 45, 1841, 1478, 16, 467, 1841, 1794, 16, 5435, 8615, 857, 16, 540, 1816, 8707, 1841, 7542, 16, 1635, 1272, 10497, 13, 565, 1216, 3460, 2886, 503, 565, 288, 3639, 4498, 277, 31, 3639, 514, 508, 31, 3639, 15689, 8615, 324, 2793, 31, 3639, 467, 5250, 5085, 31, 3639, 514, 5085, 620, 31, 3639, 15689, 559, 618, 31, 3639, 1250, 13855, 12183, 31, 3639, 5498, 8615, 1569, 1990, 31, 3639, 13855, 12183, 273, 401, 2793, 18, 588, 7009, 25541, 287, 2402, 5621, 3639, 277, 273, 7542, 18, 588, 5250, 1557, 7675, 9838, 5621, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 3639, 288, 5411, 508, 273, 261, 780, 13, 77, 18, 4285, 5621, 5411, 368, 971, 486, 15632, 13235, 287, 1472, 16, 866, 716, 1517, 5085, 1885, 5411, 368, 279, 25739, 1569, 18, 5411, 309, 261, 1893, 1290, 12183, 13, 5411, 288, 7734, 309, 261, 2793, 18, 588, 1662, 12, 529, 13, 422, 446, 13, 10792, 604, 394, 3460, 2886, 503, 12, 13491, 315, 1841, 315, 397, 1794, 18, 588, 11456, 548, 1435, 397, 13491, 315, 5360, 1338, 25739, 1472, 16, 5085, 315, 397, 13491, 508, 397, 315, 353, 486, 2935, 1199, 16, 7682, 333, 16, 1794, 16, 446, 1769, 5411, 289, 5411, 324, 2793, 273, 7542, 18, 588, 5250, 12, 529, 1769, 5411, 368, 1021, 618, 12949, 3661, 358, 10634, 326, 460, 30, 5411, 368, 2970, 279, 4143, 760, 514, 5411, 368, 2970, 279, 4764, 1272, 508, 261, 11626, 358, 326, 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, 1993, 12, 45, 1841, 1478, 16, 467, 1841, 1794, 16, 5435, 8615, 857, 16, 540, 1816, 8707, 1841, 7542, 16, 1635, 1272, 10497, 13, 565, 1216, 3460, 2886, 503, 565, 288, 3639, 4498, 277, 31, 3639, 514, 508, 31, 3639, 15689, 8615, 324, 2793, 31, 3639, 467, 5250, 5085, 31, 3639, 514, 5085, 620, 31, 3639, 15689, 559, 618, 31, 3639, 1250, 13855, 12183, 31, 3639, 5498, 8615, 1569, 1990, 31, 3639, 13855, 12183, 273, 401, 2793, 18, 588, 7009, 25541, 287, 2402, 5621, 3639, 277, 273, 7542, 18, 588, 5250, 1557, 7675, 9838, 5621, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 3639, 288, 5411, 508, 273, 261, 780, 13, 77, 18, 4285, 5621, 5411, 2 ]
String expectedExonSequence5 = "cagggcgtgcatggtcgcccaggcgaggtcggcgtggctggcttcctcgctgcggctggc" + "ctcataggtggcgctgcgtccgctgctggtcatggtcttgcggatagccataaacgagct" + "ggtgatgtcggtggcgctgacgtcgtattccagacagccacggcggataacgtcttttgc" + "cttgagcaccattgcggttttcatttccggcgtgtaaag";
public void checkExonSequences() throws Exception { osw.flushObjectById(); ObjectStore os = osw.getObjectStore(); String expectedExonSequence0 = "tatgactgtaacgttaatagcaaagtgagtgttaataatgataaaatagcagcaaaatct" + "cttttccgagtaagacgttttccagtc"; Exon resExon0 = (Exon) os.getObjectById(storedExons[0].getId()); assertEquals(expectedExonSequence0, resExon0.getSequence().getResidues()); String expectedExonSequence4 = "caagtagtaagaaagacggatataaaaaaatagcctacagcaccccggattcccatgttg" + "tctccaaccatagtactaacgaggccctcagacgcttaactgcagtgatcggacgggaac" + "tggtgttttcgcctaggtatggccgtagacat"; Exon resExon4 = (Exon) os.getObjectById(storedExons[4].getId()); assertEquals(expectedExonSequence4, resExon4.getSequence().getResidues()); String expectedExonSequence1 = "caaaaatcttctagtttttttttagaaaggatacaccaagta"; Exon resExon1 = (Exon) os.getObjectById(storedExons[1].getId()); assertEquals(expectedExonSequence1, resExon1.getSequence().getResidues()); String expectedExonSequence2 = "gacgattgtttactttacacgccggaaatgaaaaccgcaatggtgctcaaggcaaaagac" + "gttatccgccgtggctgtctggaatacgacgtcagcgccaccgacatcaccagctcgttt" + "atggctatccgcaagaccatgaccagcagcggacgcagcgccacctatgaggccagccgc" + "agcgaggaagccagccacgccgacctcgcctgggcgaccatgcacgccctgttaaatgag" + "ccactcaccgccggtatcagcaccccgctgacatccaccattctggagttttac"; Exon resExon2 = (Exon) os.getObjectById(storedExons[2].getId()); assertEquals(expectedExonSequence2, resExon2.getSequence().getResidues()); String expectedExonSequence5 = "cagggcgtgcatggtcgcccaggcgaggtcggcgtggctggcttcctcgctgcggctggc" + "ctcataggtggcgctgcgtccgctgctggtcatggtcttgcggatagccataaacgagct" + "ggtgatgtcggtggcgctgacgtcgtattccagacagccacggcggataacgtcttttgc" + "cttgagcaccattgcggttttcatttccggcgtgtaaag"; Exon resExon5 = (Exon) os.getObjectById(storedExons[5].getId()); assertEquals(expectedExonSequence5, resExon5.getSequence().getResidues()); String expectedExonSequence3 = "accgccagcggcccgaaaatggaggcattcacctttggtgagccggtgccggtactcgac" + "cgccgtgacattctggattacgtcgagtgcatcagtaacggcagatggtatgagccaccg" + "gtcagctttaccggtctggcaaaaagcctgcgggctgccgtgcatcacagctcgccgatt" + "tacgtcaaacgcaatattctggcctcgacatttatcccgcatccatggctttcccagcag" + "gatttcagccgctttgtgctggattttctggtgttcggtaatgcgtttctggaaaagcgt" + "tacagcaccaccggtaaggtcatcagactggaaacctcaccggcaaaatatacccgccgt" + "ggcgtggaagaggatgtttactggtgggtgccgtccttcaacgagccgacagccttcgcg" + "cccggctccgtgtttcacctgctggagccggatattaatcaggagctgtacggcctgccg" + "gaatatctcagcgcccttaactctgcctggc"; Exon resExon3 = (Exon) os.getObjectById(storedExons[3].getId()); assertEquals(expectedExonSequence3, resExon3.getSequence().getResidues()); String expectedExonSequence6 = "aaggggatgcggtgcgcgtccagcaggtcagcggcgctggcttttttgatattaaaaaaa" + "tcgtccttcgtcgccacttcactgagggggataattttaatgccgtcggctttcccctgt" + "ggggca"; Exon resExon6 = (Exon) os.getObjectById(storedExons[6].getId()); assertEquals(expectedExonSequence6, resExon6.getSequence().getResidues()); String expectedExonSequence7 = "cggggaaagcactgcgcgctgacggtggtgctgattgtattttttcagcgtctcagcgcg" + "tcgtgacggcacttagtctgcccgttgaggcgttgtgtgtctgcggggtgttttgtgcgg" + "tggtgagcgtg"; Exon resExon7 = (Exon) os.getObjectById(storedExons[7].getId()); assertEquals(expectedExonSequence7, resExon7.getSequence().getResidues()); RepeatRegion resRepeatRegion0 = (RepeatRegion) os.getObjectById(storedRepeatRegions[0].getId()); assertEquals("gctatttttttatatccgtctttcttactacttgcc", resRepeatRegion0.getSequence().getResidues()); RepeatRegion resRepeatRegion1 = (RepeatRegion) os.getObjectById(storedRepeatRegions[1].getId()); assertEquals("atttttgttactgtacttgaaaatacctattataatctgtggctacaa", resRepeatRegion1.getSequence().getResidues()); RepeatRegion resRepeatRegion2 = (RepeatRegion) os.getObjectById(storedRepeatRegions[2].getId()); assertEquals("gccagaccggtaaagctgaccggtggctcataccatctgccgtta", resRepeatRegion2.getSequence().getResidues()); RepeatRegion resRepeatRegion3 = (RepeatRegion) os.getObjectById(storedRepeatRegions[3].getId()); assertEquals("tggcgacgaaggacgatttttttaatatcaaaaaagccagcgccg", resRepeatRegion3.getSequence().getResidues()); }
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/cc67e167d61396f7d90ae94b352e7d3c6ca07a00/TransferSequencesTest.java/clean/flymine/model/genomic/src/test/org/flymine/postprocess/TransferSequencesTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 866, 424, 265, 21710, 1435, 1216, 1185, 288, 3639, 1140, 91, 18, 11330, 921, 5132, 5621, 3639, 1033, 2257, 1140, 273, 1140, 91, 18, 588, 921, 2257, 5621, 3639, 514, 2665, 424, 265, 4021, 20, 273, 5411, 315, 88, 270, 75, 621, 75, 2351, 1077, 75, 748, 69, 270, 346, 5353, 69, 346, 88, 75, 346, 88, 75, 748, 69, 396, 270, 75, 396, 7598, 270, 346, 71, 346, 5353, 7598, 270, 299, 6, 397, 5411, 315, 299, 748, 88, 952, 75, 346, 2351, 346, 1077, 75, 748, 748, 952, 346, 5111, 14432, 3639, 1312, 265, 400, 424, 265, 20, 273, 261, 424, 265, 13, 1140, 18, 588, 921, 5132, 12, 22601, 424, 7008, 63, 20, 8009, 26321, 10663, 3639, 1815, 8867, 12, 3825, 424, 265, 4021, 20, 16, 400, 424, 265, 20, 18, 588, 4021, 7675, 588, 607, 350, 3610, 10663, 3639, 514, 2665, 424, 265, 4021, 24, 273, 5411, 315, 5353, 346, 2692, 2351, 346, 7598, 346, 1077, 14253, 270, 396, 7598, 26676, 270, 346, 71, 299, 1077, 346, 5353, 952, 952, 14253, 4558, 952, 2574, 75, 748, 75, 6, 397, 5411, 315, 88, 299, 952, 7598, 952, 270, 346, 88, 621, 69, 1077, 75, 17535, 952, 299, 71, 346, 1077, 75, 299, 2351, 621, 13241, 346, 88, 75, 270, 71, 14253, 1077, 14253, 15833, 1077, 6, 397, 5411, 315, 88, 75, 4521, 75, 748, 748, 71, 13241, 299, 346, 4521, 270, 14253, 952, 75, 2692, 1077, 270, 14432, 3639, 1312, 265, 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, 866, 424, 265, 21710, 1435, 1216, 1185, 288, 3639, 1140, 91, 18, 11330, 921, 5132, 5621, 3639, 1033, 2257, 1140, 273, 1140, 91, 18, 588, 921, 2257, 5621, 3639, 514, 2665, 424, 265, 4021, 20, 273, 5411, 315, 88, 270, 75, 621, 75, 2351, 1077, 75, 748, 69, 270, 346, 5353, 69, 346, 88, 75, 346, 88, 75, 748, 69, 396, 270, 75, 396, 7598, 270, 346, 71, 346, 5353, 7598, 270, 299, 6, 397, 5411, 315, 299, 748, 88, 952, 75, 346, 2351, 346, 1077, 75, 748, 748, 952, 346, 5111, 14432, 3639, 1312, 265, 400, 424, 265, 20, 273, 261, 424, 265, 13, 1140, 18, 588, 921, 5132, 12, 22601, 424, 7008, 63, 20, 2 ]
result.add(createMethodCallExpressiobBlock(child,arrangeChildWrap(child, defaultWrap)));
result.add(createMethodCallExpressiobBlock(child, arrangeChildWrap(child, defaultWrap), arrangeChildAlignment(child, defaultAlignment)));
protected ASTNode processChild(final ArrayList<Block> result, ASTNode child, Alignment defaultAlignment, final Wrap defaultWrap, final Indent childIndent) { if (child.getElementType() == ElementType.METHOD_CALL_EXPRESSION) { result.add(createMethodCallExpressiobBlock(child,arrangeChildWrap(child, defaultWrap))); } else if (child.getElementType() == ElementType.ARRAY_INITIALIZER_EXPRESSION) { result.addAll(new CodeBlockBlock(child, null, null, null, mySettings).buildChildren()); } else if (child.getElementType() == ElementType.LPARENTH && myNode.getElementType() == ElementType.EXPRESSION_LIST){ final Wrap wrap = Formatter.getInstance().createWrap(getWrapType(mySettings.CALL_PARAMETERS_WRAP), false); child = processParenBlock(result, child, WrappingStrategy.createDoNotWrapCommaStrategy(wrap), mySettings.ALIGN_MULTILINE_PARAMETERS_IN_CALLS); } else if (child.getElementType() == ElementType.LPARENTH && myNode.getElementType() == ElementType.PARAMETER_LIST){ final Wrap wrap = Formatter.getInstance().createWrap(getWrapType(mySettings.METHOD_PARAMETERS_WRAP), false); child = processParenBlock(result, child, WrappingStrategy.createDoNotWrapCommaStrategy(wrap), mySettings.ALIGN_MULTILINE_PARAMETERS); } else if (child.getElementType() == ElementType.LPARENTH && myNode.getElementType() == ElementType.ANNOTATION_PARAMETER_LIST){ final Wrap wrap = Formatter.getInstance().createWrap(getWrapType(mySettings.CALL_PARAMETERS_WRAP), false); child = processParenBlock(result, child, WrappingStrategy.createDoNotWrapCommaStrategy(wrap), mySettings.ALIGN_MULTILINE_PARAMETERS_IN_CALLS); } else if (child.getElementType() == ElementType.LPARENTH && myNode.getElementType() == ElementType.PARENTH_EXPRESSION){ child = processParenBlock(result, child, WrappingStrategy.DO_NOT_WRAP, mySettings.ALIGN_MULTILINE_PARENTHESIZED_EXPRESSION); } else if (child.getElementType() == ElementType.ENUM_CONSTANT && myNode instanceof ClassElement) { child = processEnumBlock(result, child, ((ClassElement)myNode).findEnumConstantListDelimiterPlace()); } else { final Block block = createJavaBlock(child, mySettings, childIndent, arrangeChildWrap(child, defaultWrap), arrangeChildAlignment(child, defaultAlignment)); if (child.getElementType() == ElementType.MODIFIER_LIST && containsAnnotations(child)) { myAnnotationWrap = Formatter.getInstance().createWrap(getWrapType(getAnnotationWrapType()), true); } if (block instanceof AbstractJavaBlock) { final AbstractJavaBlock javaBlock = ((AbstractJavaBlock)block); if (myNode.getElementType() == ElementType.METHOD_CALL_EXPRESSION && child.getElementType() == ElementType.REFERENCE_EXPRESSION) { javaBlock.setReservedWrap(getReservedWrap()); } else if (myNode.getElementType() == ElementType.REFERENCE_EXPRESSION && child.getElementType() == ElementType.METHOD_CALL_EXPRESSION) { javaBlock.setReservedWrap(getReservedWrap()); } else if (myNode.getElementType() == ElementType.BINARY_EXPRESSION) { javaBlock.setReservedWrap(defaultWrap); } else if (child.getElementType() == ElementType.MODIFIER_LIST) { javaBlock.setReservedWrap(myAnnotationWrap); if (!lastChildIsAnnotation(child)) { myAnnotationWrap = null; } } } result.add(block); } return child; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/207014b752f80bd8abc14540f41b5cfccca4d19e/AbstractJavaBlock.java/clean/source/com/intellij/psi/formatter/java/AbstractJavaBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 9183, 907, 1207, 1763, 12, 6385, 2407, 32, 1768, 34, 563, 16, 4766, 9183, 907, 1151, 16, 4766, 17804, 805, 11535, 16, 4766, 727, 4266, 805, 2964, 16, 4766, 727, 28653, 1151, 7790, 13, 288, 565, 309, 261, 3624, 18, 588, 17481, 1435, 422, 3010, 559, 18, 5327, 67, 13730, 67, 19111, 13, 288, 1377, 563, 18, 1289, 12, 2640, 12592, 424, 1028, 77, 947, 1768, 12, 3624, 16, 2454, 726, 1763, 2964, 12, 3624, 16, 805, 2964, 3631, 2454, 726, 1763, 11535, 12, 3624, 16, 805, 11535, 3719, 1769, 565, 289, 565, 469, 309, 261, 3624, 18, 588, 17481, 1435, 422, 3010, 559, 18, 8552, 67, 12919, 15154, 654, 67, 19111, 13, 288, 1377, 563, 18, 1289, 1595, 12, 2704, 3356, 1768, 1768, 12, 3624, 16, 446, 16, 446, 16, 446, 16, 3399, 2628, 2934, 3510, 4212, 10663, 565, 289, 565, 469, 309, 261, 3624, 18, 588, 17481, 1435, 422, 3010, 559, 18, 48, 14943, 44, 597, 3399, 907, 18, 588, 17481, 1435, 422, 3010, 559, 18, 19111, 67, 7085, 15329, 1377, 727, 4266, 2193, 273, 14924, 18, 588, 1442, 7675, 2640, 2964, 12, 588, 2964, 559, 12, 4811, 2628, 18, 13730, 67, 20103, 67, 27664, 3631, 629, 1769, 1377, 1151, 273, 1207, 25520, 1768, 12, 2088, 16, 27573, 1151, 16, 27573, 4266, 1382, 4525, 18, 2640, 3244, 1248, 2964, 15594, 4525, 12, 4113, 3631, 27573, 3399, 2628, 18, 26439, 67, 12845, 30690, 67, 20103, 67, 706, 67, 7913, 3045, 1769, 565, 289, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 9183, 907, 1207, 1763, 12, 6385, 2407, 32, 1768, 34, 563, 16, 4766, 9183, 907, 1151, 16, 4766, 17804, 805, 11535, 16, 4766, 727, 4266, 805, 2964, 16, 4766, 727, 28653, 1151, 7790, 13, 288, 565, 309, 261, 3624, 18, 588, 17481, 1435, 422, 3010, 559, 18, 5327, 67, 13730, 67, 19111, 13, 288, 1377, 563, 18, 1289, 12, 2640, 12592, 424, 1028, 77, 947, 1768, 12, 3624, 16, 2454, 726, 1763, 2964, 12, 3624, 16, 805, 2964, 3631, 2454, 726, 1763, 11535, 12, 3624, 16, 805, 11535, 3719, 1769, 565, 289, 565, 469, 309, 261, 3624, 18, 588, 17481, 1435, 422, 3010, 559, 18, 8552, 67, 12919, 15154, 654, 67, 19111, 13, 288, 1377, 563, 18, 2 ]
if (DEBUG) System.out.println(id + ": Removing " + used[i]);
if (DEBUG) System.out.println("Removing " + used[i]);
public static void main(String[] args) { if (DEBUG) FormatReader.debug = true; Vector files = new Vector(); if (args == null || args.length == 0) { System.out.println( "Please specify root folder to search for data files."); System.exit(1); } System.out.print("Building file list..."); if (DEBUG) System.out.println(); getFiles(args[0], files); System.out.println(files.size() + " found."); while (files.size() > 0) { String id = (String) files.get(0); String pattern = FilePattern.findPattern(new File(id)); System.out.println("Testing " + pattern); TestResult result = new TestResult(); TestSuite suite = suite(id); suite.run(result); int total = result.runCount(); int failed = result.failureCount(); float failPercent = (float) (100 * ((double) failed / (double) total)); System.out.println(id + " - " + failed + " failures in " + total + " tests (" + failPercent + "% failed)"); // remove files part of the just-tested dataset from the list ReaderTest test = (ReaderTest) suite.testAt(0); String[] used = test.getUsedFiles(); for (int i=0; i<used.length; i++) { if (DEBUG) System.out.println(id + ": Removing " + used[i]); files.removeElement(used[i]); } } }
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/75ac97ecc6e2dd0070888da5125ea467f5757197/ReaderTest.java/buggy/loci/formats/test/ReaderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 565, 309, 261, 9394, 13, 4077, 2514, 18, 4148, 273, 638, 31, 565, 5589, 1390, 273, 394, 5589, 5621, 1377, 309, 261, 1968, 422, 446, 747, 833, 18, 2469, 422, 374, 13, 288, 1377, 2332, 18, 659, 18, 8222, 12, 3639, 315, 8496, 4800, 1365, 3009, 358, 1623, 364, 501, 1390, 1199, 1769, 1377, 2332, 18, 8593, 12, 21, 1769, 565, 289, 565, 2332, 18, 659, 18, 1188, 2932, 16713, 585, 666, 7070, 1769, 565, 309, 261, 9394, 13, 2332, 18, 659, 18, 8222, 5621, 565, 18262, 12, 1968, 63, 20, 6487, 1390, 1769, 565, 2332, 18, 659, 18, 8222, 12, 2354, 18, 1467, 1435, 397, 315, 1392, 1199, 1769, 565, 1323, 261, 2354, 18, 1467, 1435, 405, 374, 13, 288, 1377, 514, 612, 273, 261, 780, 13, 1390, 18, 588, 12, 20, 1769, 1377, 514, 1936, 273, 1387, 3234, 18, 4720, 3234, 12, 2704, 1387, 12, 350, 10019, 1377, 2332, 18, 659, 18, 8222, 2932, 22218, 315, 397, 1936, 1769, 1377, 7766, 1253, 563, 273, 394, 7766, 1253, 5621, 1377, 7766, 13587, 11371, 273, 11371, 12, 350, 1769, 1377, 11371, 18, 2681, 12, 2088, 1769, 1377, 509, 2078, 273, 563, 18, 2681, 1380, 5621, 1377, 509, 2535, 273, 563, 18, 12251, 1380, 5621, 1377, 1431, 2321, 8410, 273, 261, 5659, 13, 261, 6625, 380, 14015, 9056, 13, 2535, 342, 261, 9056, 13, 2078, 10019, 1377, 2332, 18, 659, 18, 8222, 12, 350, 397, 315, 300, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 565, 309, 261, 9394, 13, 4077, 2514, 18, 4148, 273, 638, 31, 565, 5589, 1390, 273, 394, 5589, 5621, 1377, 309, 261, 1968, 422, 446, 747, 833, 18, 2469, 422, 374, 13, 288, 1377, 2332, 18, 659, 18, 8222, 12, 3639, 315, 8496, 4800, 1365, 3009, 358, 1623, 364, 501, 1390, 1199, 1769, 1377, 2332, 18, 8593, 12, 21, 1769, 565, 289, 565, 2332, 18, 659, 18, 1188, 2932, 16713, 585, 666, 7070, 1769, 565, 309, 261, 9394, 13, 2332, 18, 659, 18, 8222, 5621, 565, 18262, 12, 1968, 63, 20, 6487, 1390, 1769, 565, 2332, 18, 659, 18, 8222, 12, 2354, 18, 1467, 1435, 397, 315, 1392, 2 ]
int[] newStack = new int[stack.length << 1]; System.arraycopy(stack, 0, newStack, 0, stack.length); stack = newStack; }
int[] newStack = new int[stack.length << 1]; System.arraycopy(stack, 0, newStack, 0, stack.length); stack = newStack; }
private void grow() { int[] newStack = new int[stack.length << 1]; System.arraycopy(stack, 0, newStack, 0, stack.length); stack = newStack; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/c4c31b724fe73e8f69d2d4f9fcd98d3ff359a2d3/GNUCPPSourceParser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 13334, 1435, 288, 1082, 202, 474, 8526, 394, 2624, 273, 394, 509, 63, 3772, 18, 2469, 2296, 404, 15533, 1082, 202, 3163, 18, 1126, 3530, 12, 3772, 16, 374, 16, 394, 2624, 16, 374, 16, 2110, 18, 2469, 1769, 1082, 202, 3772, 273, 394, 2624, 31, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 13334, 1435, 288, 1082, 202, 474, 8526, 394, 2624, 273, 394, 509, 63, 3772, 18, 2469, 2296, 404, 15533, 1082, 202, 3163, 18, 1126, 3530, 12, 3772, 16, 374, 16, 394, 2624, 16, 374, 16, 2110, 18, 2469, 1769, 1082, 202, 3772, 273, 394, 2624, 31, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
itemStateMgr.addVirtualItemStateProvider( new VirtualNodeTypeStateProvider(ntReg, NODETYPES_NODE_UUID, SYSTEM_ROOT_NODE_UUID) );
itemStateMgr.addVirtualItemStateProvider(virtNTMgr.getVirtualItemStateProvider());
synchronized SharedItemStateManager getItemStateProvider() throws RepositoryException { if (itemStateMgr == null) { // create item state manager try { itemStateMgr = new SharedItemStateManager(getPersistenceManager(config.getPersistenceManagerConfig()), rootNodeUUID, ntReg); try { itemStateMgr.addVirtualItemStateProvider(vMgr.getVirtualItemStateProvider(itemStateMgr)); itemStateMgr.addVirtualItemStateProvider( new VirtualNodeTypeStateProvider(ntReg, NODETYPES_NODE_UUID, SYSTEM_ROOT_NODE_UUID) ); } catch (Exception e) { log.error("Unable to add vmgr: " + e.toString(), e); } } catch (ItemStateException ise) { String msg = "failed to instantiate persistent item state manager"; log.debug(msg); throw new RepositoryException(msg, ise); } } return itemStateMgr; }
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/e3e93ca2204de21324b4a0f38d6ffd8d44ea9d70/RepositoryImpl.java/clean/src/java/org/apache/jackrabbit/core/RepositoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3852, 10314, 1180, 1119, 1318, 8143, 1119, 2249, 1435, 7734, 1216, 13367, 288, 5411, 309, 261, 1726, 1119, 9455, 422, 446, 13, 288, 7734, 368, 752, 761, 919, 3301, 7734, 775, 288, 10792, 761, 1119, 9455, 273, 394, 10314, 1180, 1119, 1318, 12, 588, 13182, 1318, 12, 1425, 18, 588, 13182, 1318, 809, 1435, 3631, 10181, 5562, 16, 9513, 1617, 1769, 10792, 775, 288, 13491, 761, 1119, 9455, 18, 1289, 6466, 1180, 1119, 2249, 12, 90, 9455, 18, 588, 6466, 1180, 1119, 2249, 12, 1726, 1119, 9455, 10019, 13491, 761, 1119, 9455, 18, 1289, 6466, 1180, 1119, 2249, 12, 27573, 394, 7269, 15101, 1119, 2249, 12, 496, 1617, 16, 423, 1212, 27062, 55, 67, 8744, 67, 5562, 16, 18786, 67, 9185, 67, 8744, 67, 5562, 13, 13491, 11272, 10792, 289, 1044, 261, 503, 425, 13, 288, 13491, 613, 18, 1636, 2932, 3370, 358, 527, 4268, 3197, 30, 315, 397, 425, 18, 10492, 9334, 425, 1769, 10792, 289, 7734, 289, 1044, 261, 1180, 5060, 31248, 13, 288, 10792, 514, 1234, 273, 315, 7307, 358, 10275, 9195, 761, 919, 3301, 14432, 10792, 613, 18, 4148, 12, 3576, 1769, 10792, 604, 394, 13367, 12, 3576, 16, 31248, 1769, 7734, 289, 5411, 289, 5411, 327, 761, 1119, 9455, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3852, 10314, 1180, 1119, 1318, 8143, 1119, 2249, 1435, 7734, 1216, 13367, 288, 5411, 309, 261, 1726, 1119, 9455, 422, 446, 13, 288, 7734, 368, 752, 761, 919, 3301, 7734, 775, 288, 10792, 761, 1119, 9455, 273, 394, 10314, 1180, 1119, 1318, 12, 588, 13182, 1318, 12, 1425, 18, 588, 13182, 1318, 809, 1435, 3631, 10181, 5562, 16, 9513, 1617, 1769, 10792, 775, 288, 13491, 761, 1119, 9455, 18, 1289, 6466, 1180, 1119, 2249, 12, 90, 9455, 18, 588, 6466, 1180, 1119, 2249, 12, 1726, 1119, 9455, 10019, 13491, 761, 1119, 9455, 18, 1289, 6466, 1180, 1119, 2249, 12, 27573, 394, 7269, 15101, 1119, 2249, 12, 496, 1617, 16, 423, 1212, 27062, 55, 67, 8744, 67, 5562, 16, 2 ]
public Box createBox(Context c, Node node) { BlockBox block = new BlockBox(); block.node = node; return block; }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/07ab625b03cad242caa27ac48e830592130b24a1/BoxLayout.java/buggy/src/java/org/joshy/html/BoxLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3514, 2640, 3514, 12, 1042, 71, 16, 50, 369, 20680, 15329, 1768, 3514, 2629, 33, 2704, 1768, 3514, 5621, 2629, 18, 2159, 33, 2159, 31, 2463, 2629, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3514, 2640, 3514, 12, 1042, 71, 16, 50, 369, 20680, 15329, 1768, 3514, 2629, 33, 2704, 1768, 3514, 5621, 2629, 18, 2159, 33, 2159, 31, 2463, 2629, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
reportErrorMessage(msg, ex.sourceName(), ex.lineNumber(), ex.lineSource(), ex.columnNumber(), false);
er.error(msg, ex.sourceName(), ex.lineNumber(), ex.lineSource(), ex.columnNumber());
public void reportException(RhinoException ex) { if (ex instanceof WrappedException) { WrappedException we = (WrappedException)ex; we.printStackTrace(err); } else { String msg = getExceptionMessage(ex); reportErrorMessage(msg, ex.sourceName(), ex.lineNumber(), ex.lineSource(), ex.columnNumber(), false); } }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/b16bf0fa43a29881dfe8132bcad7227d97b161ae/ToolErrorReporter.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/ToolErrorReporter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2605, 503, 12, 54, 76, 15020, 503, 431, 13, 565, 288, 3639, 309, 261, 338, 1276, 24506, 503, 13, 288, 5411, 24506, 503, 732, 273, 261, 17665, 503, 13, 338, 31, 5411, 732, 18, 1188, 6332, 12, 370, 1769, 3639, 289, 469, 288, 5411, 514, 1234, 273, 17669, 1079, 12, 338, 1769, 5411, 2605, 14935, 12, 3576, 16, 431, 18, 3168, 461, 9334, 431, 18, 1369, 1854, 9334, 1171, 9079, 431, 18, 1369, 1830, 9334, 431, 18, 2827, 1854, 9334, 629, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2605, 503, 12, 54, 76, 15020, 503, 431, 13, 565, 288, 3639, 309, 261, 338, 1276, 24506, 503, 13, 288, 5411, 24506, 503, 732, 273, 261, 17665, 503, 13, 338, 31, 5411, 732, 18, 1188, 6332, 12, 370, 1769, 3639, 289, 469, 288, 5411, 514, 1234, 273, 17669, 1079, 12, 338, 1769, 5411, 2605, 14935, 12, 3576, 16, 431, 18, 3168, 461, 9334, 431, 18, 1369, 1854, 9334, 1171, 9079, 431, 18, 1369, 1830, 9334, 431, 18, 2827, 1854, 9334, 629, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ArrayDesign arrayDesign = (ArrayDesign)this.eeService.getArrayDesignsUsed(ee).iterator().next(); TechnologyType techType = arrayDesign.getTechnologyType(); if(techType.equals(TechnologyTypeEnum.TWOCOLOR)|| techType.equals(TechnologyType.DUALMODE) ){ /***Apply for two color missing value filtered*/ if ( minPresentFractionIsSet ) { /*
ArrayDesign arrayDesign = ( ArrayDesign ) this.eeService.getArrayDesignsUsed( ee ).iterator().next(); TechnologyType techType = arrayDesign.getTechnologyType(); if ( techType.equals( TechnologyTypeEnum.TWOCOLOR ) || techType.equals( TechnologyType.DUALMODE ) ) { /** *Apply for two color missing value filtered */ if ( minPresentFractionIsSet ) { /* * log.info( "Filtering out genes that are missing too many values" ); RowMissingFilter x = new * RowMissingFilter(); x.setMinPresentFraction( minPresentFraction ); */ r = ( DoubleMatrixNamed ) missingValueFilter( dataMatrix, eeDoubleMatrix, ee ); } } if ( techType.equals( TechnologyTypeEnum.ONECOLOR ) ) { if ( minPresentFractionIsSet ) {
private DoubleMatrixNamed filter(DoubleMatrixNamed dataMatrix, ExpressionDataDoubleMatrix eeDoubleMatrix, ExpressionExperiment ee) { /********Check the array design technology to choose the filter****/ DoubleMatrixNamed r = dataMatrix; if(r == null) return r; log.info( "Data set has " + r.rows() + " rows and " + r.columns() + " columns." ); ArrayDesign arrayDesign = (ArrayDesign)this.eeService.getArrayDesignsUsed(ee).iterator().next(); TechnologyType techType = arrayDesign.getTechnologyType(); if(techType.equals(TechnologyTypeEnum.TWOCOLOR)|| techType.equals(TechnologyType.DUALMODE) ){ /***Apply for two color missing value filtered*/ if ( minPresentFractionIsSet ) { /* log.info( "Filtering out genes that are missing too many values" ); RowMissingFilter x = new RowMissingFilter(); x.setMinPresentFraction( minPresentFraction ); */ r = ( DoubleMatrixNamed ) missingValueFilter( dataMatrix,eeDoubleMatrix, ee); } } if(techType.equals(TechnologyTypeEnum.ONECOLOR)){ if ( minPresentFractionIsSet ) { log.info( "Filtering out genes that are missing too many values" ); RowMissingFilter x = new RowMissingFilter(); x.setMinPresentFraction( minPresentFraction ); r = (DoubleMatrixNamed)x.filter(r); } if ( lowExpressionCutIsSet ) { // todo: make sure this works with ratiometric data. Make sure we don't do this // as well as affy filtering. log.info( "Filtering out genes with low expression for " + ee.getShortName() ); RowLevelFilter x = new RowLevelFilter(); x.setLowCut( this.lowExpressionCut ); x.setHighCut(this.highExpressionCut); x.setRemoveAllNegative( true ); // todo: fix x.setUseAsFraction( true ); r = ( DoubleMatrixNamed ) x.filter( r ); } if(arrayDesign.getName().toUpperCase().contains("AFFYMETRIX")){ log.info( "Filtering by Affymetrix probe name for " + ee.getShortName()); Filter x = new AffymetrixProbeNameFilter(new int[] { 2 } ); r = ( DoubleMatrixNamed ) x.filter( r ); } } return r; }
4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/b9b9d62fe790e9f0c01d4b980689e928b022c035/LinkAnalysisCli.java/buggy/gemma-core/src/main/java/ubic/gemma/apps/LinkAnalysisCli.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 25495, 7604, 1034, 12, 5265, 4635, 7604, 501, 4635, 16, 5371, 751, 5265, 4635, 14657, 5265, 4635, 16, 5371, 22338, 14657, 13, 288, 377, 202, 19, 1644, 1564, 326, 526, 8281, 17734, 4676, 358, 9876, 326, 1034, 1007, 19, 377, 202, 5265, 4635, 7604, 436, 273, 501, 4635, 31, 377, 202, 430, 12, 86, 422, 446, 13, 327, 436, 31, 3639, 613, 18, 1376, 12, 315, 751, 444, 711, 315, 397, 436, 18, 3870, 1435, 397, 315, 2595, 471, 315, 397, 436, 18, 5112, 1435, 397, 315, 2168, 1199, 11272, 377, 202, 1076, 15478, 526, 15478, 273, 261, 1076, 15478, 13, 2211, 18, 1340, 1179, 18, 588, 1076, 15478, 87, 6668, 12, 1340, 2934, 9838, 7675, 4285, 5621, 377, 202, 56, 22528, 4676, 559, 13878, 559, 273, 526, 15478, 18, 588, 56, 22528, 4676, 559, 5621, 2398, 202, 430, 12, 28012, 559, 18, 14963, 12, 56, 22528, 4676, 10549, 18, 18869, 51, 10989, 14047, 96, 13878, 559, 18, 14963, 12, 56, 22528, 4676, 559, 18, 40, 14235, 7038, 13, 262, 95, 377, 202, 202, 19, 14465, 7001, 364, 2795, 2036, 3315, 460, 5105, 5549, 540, 202, 430, 261, 1131, 6351, 13724, 15737, 262, 288, 540, 1082, 540, 202, 202, 20308, 7734, 613, 18, 1376, 12, 315, 30115, 596, 11423, 716, 854, 3315, 4885, 4906, 924, 6, 11272, 7734, 6556, 4841, 1586, 619, 273, 394, 6556, 4841, 1586, 5621, 7734, 619, 18, 542, 2930, 6351, 13724, 12, 1131, 6351, 13724, 11272, 7734, 1195, 7734, 436, 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, 3238, 25495, 7604, 1034, 12, 5265, 4635, 7604, 501, 4635, 16, 5371, 751, 5265, 4635, 14657, 5265, 4635, 16, 5371, 22338, 14657, 13, 288, 377, 202, 19, 1644, 1564, 326, 526, 8281, 17734, 4676, 358, 9876, 326, 1034, 1007, 19, 377, 202, 5265, 4635, 7604, 436, 273, 501, 4635, 31, 377, 202, 430, 12, 86, 422, 446, 13, 327, 436, 31, 3639, 613, 18, 1376, 12, 315, 751, 444, 711, 315, 397, 436, 18, 3870, 1435, 397, 315, 2595, 471, 315, 397, 436, 18, 5112, 1435, 397, 315, 2168, 1199, 11272, 377, 202, 1076, 15478, 526, 15478, 273, 261, 1076, 15478, 13, 2211, 18, 1340, 1179, 18, 588, 1076, 15478, 87, 6668, 12, 1340, 2934, 9838, 7675, 4285, 2 ]
typesToSearch.addAll(selectedTypes);
typesToSearch.addAll(selectedTypes);
private List findMarkers(IResource[] resources, int depth, int limit, IProgressMonitor mon, boolean ignoreExceptions) throws CoreException { if (resources == null) { return Collections.EMPTY_LIST; } List resultList = new ArrayList(resources.length * 2); // Optimization: if a type appears in the selectedTypes list along with all of its // subtypes, then combine these in a single search. // List of types that haven't been replaced by one of their supertypes HashSet typesToSearch = new HashSet(selectedTypes.size()); // List of types that appeared in selectedTypes along with all of their subtypes HashSet includeAllSubtypes = new HashSet(selectedTypes.size()); typesToSearch.addAll(selectedTypes); Iterator iter = selectedTypes.iterator(); while (iter.hasNext()) { MarkerType type = (MarkerType) iter.next(); Collection subtypes = Arrays.asList(type.getAllSubTypes()); if (selectedTypes.containsAll(subtypes)) { typesToSearch.removeAll(subtypes); includeAllSubtypes.add(type); } } mon .beginTask( Messages.getString("MarkerFilter.searching"), typesToSearch.size() * resources.length); //$NON-NLS-1$ // Use this hash set to determine if there are any resources in the // list that appear along with their parent. HashSet resourcesToSearch = new HashSet(); // Insert all the resources into the hashset for (int idx = 0; idx < resources.length; idx++) { IResource next = resources[idx]; if (!next.exists()) { continue; } if (resourcesToSearch.contains(next)) { mon.worked(typesToSearch.size()); } else { resourcesToSearch.add(next); } } // Iterate through all the selected resources for (int resourceIdx = 0; resourceIdx < resources.length; resourceIdx++) { iter = typesToSearch.iterator(); IResource resource = resources[resourceIdx]; // Skip resources that don't exist if (!resource.isAccessible()) { continue; } if (depth == IResource.DEPTH_INFINITE) { // Determine if any parent of this resource is also in our filter IResource parent = resource.getParent(); boolean found = false; while (parent != null) { if (resourcesToSearch.contains(parent)) { found = true; } parent = parent.getParent(); } // If a parent of this resource is also in the filter, we can skip it // because we'll pick up its markers when we search the parent. if (found) { continue; } } // Iterate through all the marker types while (iter.hasNext()) { MarkerType markerType = (MarkerType) iter.next(); // Only search for subtypes of the marker if we found all of its // subtypes in the filter criteria. IMarker[] markers = resource.findMarkers(markerType.getId(), includeAllSubtypes.contains(markerType), depth); mon.worked(1); for (int idx = 0; idx < markers.length; idx++) { ConcreteMarker marker; try { marker = MarkerList.createMarker(markers[idx]); } catch (CoreException e) { if (ignoreExceptions) { continue; } else { throw e; } } if (limit != -1 && resultList.size() >= limit) { return resultList; } if (selectMarker(marker)) { resultList.add(marker); } } } } mon.done(); return resultList; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1ceb585b9b16047c6c580984b0c9962c41a22ba6/MarkerFilter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 1104, 21644, 12, 45, 1420, 8526, 2703, 16, 509, 3598, 16, 509, 1800, 16, 5411, 467, 5491, 7187, 6921, 16, 1250, 2305, 11416, 13, 5411, 1216, 30015, 288, 3639, 309, 261, 4683, 422, 446, 13, 288, 5411, 327, 5737, 18, 13625, 67, 7085, 31, 3639, 289, 3639, 987, 24520, 273, 394, 2407, 12, 4683, 18, 2469, 380, 576, 1769, 3639, 368, 19615, 1588, 30, 309, 279, 618, 14606, 316, 326, 3170, 2016, 666, 7563, 598, 777, 434, 2097, 3639, 368, 720, 2352, 16, 1508, 8661, 4259, 316, 279, 2202, 1623, 18, 3639, 368, 987, 434, 1953, 716, 15032, 1404, 2118, 8089, 635, 1245, 434, 3675, 1169, 1051, 989, 3639, 6847, 1953, 774, 2979, 273, 394, 6847, 12, 8109, 2016, 18, 1467, 10663, 3639, 368, 987, 434, 1953, 716, 7226, 2258, 316, 3170, 2016, 7563, 598, 777, 434, 3675, 720, 2352, 3639, 6847, 2341, 1595, 1676, 2352, 273, 394, 6847, 12, 8109, 2016, 18, 1467, 10663, 3639, 1953, 774, 2979, 18, 1289, 1595, 12, 8109, 2016, 1769, 3639, 4498, 1400, 273, 3170, 2016, 18, 9838, 5621, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 5411, 14742, 559, 618, 273, 261, 7078, 559, 13, 1400, 18, 4285, 5621, 5411, 2200, 720, 2352, 273, 5647, 18, 345, 682, 12, 723, 18, 588, 1595, 1676, 2016, 10663, 5411, 309, 261, 8109, 2016, 18, 12298, 1595, 12, 1717, 2352, 3719, 288, 7734, 1953, 774, 2979, 18, 4479, 1595, 12, 1717, 2352, 1769, 7734, 2341, 1595, 1676, 2352, 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, 987, 1104, 21644, 12, 45, 1420, 8526, 2703, 16, 509, 3598, 16, 509, 1800, 16, 5411, 467, 5491, 7187, 6921, 16, 1250, 2305, 11416, 13, 5411, 1216, 30015, 288, 3639, 309, 261, 4683, 422, 446, 13, 288, 5411, 327, 5737, 18, 13625, 67, 7085, 31, 3639, 289, 3639, 987, 24520, 273, 394, 2407, 12, 4683, 18, 2469, 380, 576, 1769, 3639, 368, 19615, 1588, 30, 309, 279, 618, 14606, 316, 326, 3170, 2016, 666, 7563, 598, 777, 434, 2097, 3639, 368, 720, 2352, 16, 1508, 8661, 4259, 316, 279, 2202, 1623, 18, 3639, 368, 987, 434, 1953, 716, 15032, 1404, 2118, 8089, 635, 1245, 434, 3675, 1169, 1051, 989, 3639, 6847, 1953, 774, 2979, 273, 394, 6847, 2 ]
xmlObj = null;
xmlObj = firstXmlObject;
public Reference xmlPrimaryReference(Object nameObject, Scriptable scope) { if (!(nameObject instanceof XMLName)) throw new IllegalArgumentException(); XMLName xmlName = (XMLName)nameObject; XMLObjectImpl xmlObj; for (;;) { // XML object can only present on scope chain as a wrapper // of XMLWithScope if (scope instanceof XMLWithScope) { xmlObj = (XMLObjectImpl)scope.getPrototype(); if (xmlObj.hasXMLProperty(xmlName)) { break; } } scope = scope.getParentScope(); if (scope == null) { xmlObj = null; break; } } // xmlName == null corresponds to undefined return new XMLReference(xmlObj, xmlName); }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/1f3b183f246d54ee92c6be71ea3974912eca5058/XMLLibImpl.java/buggy/js/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6268, 2025, 6793, 2404, 12, 921, 508, 921, 16, 22780, 2146, 13, 565, 288, 3639, 309, 16051, 12, 529, 921, 1276, 3167, 461, 3719, 5411, 604, 394, 2754, 5621, 3639, 3167, 461, 2025, 461, 273, 261, 4201, 461, 13, 529, 921, 31, 3639, 3167, 921, 2828, 2025, 2675, 31, 3639, 364, 261, 25708, 13, 288, 5411, 368, 3167, 733, 848, 1338, 3430, 603, 2146, 2687, 487, 279, 4053, 5411, 368, 434, 3167, 1190, 3876, 5411, 309, 261, 4887, 1276, 3167, 1190, 3876, 13, 288, 7734, 2025, 2675, 273, 261, 4201, 921, 2828, 13, 4887, 18, 588, 15846, 5621, 7734, 309, 261, 2902, 2675, 18, 5332, 4201, 1396, 12, 2902, 461, 3719, 288, 10792, 898, 31, 7734, 289, 5411, 289, 5411, 2146, 273, 2146, 18, 588, 3054, 3876, 5621, 5411, 309, 261, 4887, 422, 446, 13, 288, 7734, 2025, 2675, 273, 1122, 4432, 921, 31, 7734, 898, 31, 5411, 289, 3639, 289, 3639, 368, 2025, 461, 422, 446, 13955, 358, 3109, 3639, 327, 394, 3167, 2404, 12, 2902, 2675, 16, 2025, 461, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6268, 2025, 6793, 2404, 12, 921, 508, 921, 16, 22780, 2146, 13, 565, 288, 3639, 309, 16051, 12, 529, 921, 1276, 3167, 461, 3719, 5411, 604, 394, 2754, 5621, 3639, 3167, 461, 2025, 461, 273, 261, 4201, 461, 13, 529, 921, 31, 3639, 3167, 921, 2828, 2025, 2675, 31, 3639, 364, 261, 25708, 13, 288, 5411, 368, 3167, 733, 848, 1338, 3430, 603, 2146, 2687, 487, 279, 4053, 5411, 368, 434, 3167, 1190, 3876, 5411, 309, 261, 4887, 1276, 3167, 1190, 3876, 13, 288, 7734, 2025, 2675, 273, 261, 4201, 921, 2828, 13, 4887, 18, 588, 15846, 5621, 7734, 309, 261, 2902, 2675, 18, 5332, 4201, 1396, 12, 2902, 461, 3719, 288, 10792, 898, 31, 7734, 289, 2 ]
try { Iterator i = matchers.iterator(); while (i.hasNext()) { ((InvocationMatcher)i.next()).verify(); } } catch (AssertionFailedError error) { AssertionFailedError newError = new AssertionFailedError(error.getMessage() + ": " + toString()); newError.fillInStackTrace(); throw newError; } }
try { Iterator i = matchers.iterator(); while (i.hasNext()) { ((InvocationMatcher)i.next()).verify(); } } catch (AssertionFailedError error) { AssertionFailedError newError = new AssertionFailedError(error.getMessage() + ": " + toString()); newError.fillInStackTrace(); throw newError; } }
public void verify() { try { Iterator i = matchers.iterator(); while (i.hasNext()) { ((InvocationMatcher)i.next()).verify(); } } catch (AssertionFailedError error) { AssertionFailedError newError = new AssertionFailedError(error.getMessage() + ": " + toString()); newError.fillInStackTrace(); throw newError; } }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/InvocationMocker.java/buggy/jmock/core/src/org/jmock/core/InvocationMocker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3929, 1435, 288, 202, 202, 698, 288, 1082, 202, 3198, 277, 273, 17609, 18, 9838, 5621, 1082, 202, 17523, 261, 77, 18, 5332, 2134, 10756, 288, 9506, 202, 12443, 9267, 6286, 13, 77, 18, 4285, 1435, 2934, 8705, 5621, 1082, 202, 97, 202, 202, 97, 202, 202, 14683, 261, 14979, 2925, 668, 555, 13, 288, 1082, 202, 14979, 2925, 668, 394, 668, 273, 9506, 3639, 394, 9067, 2925, 668, 12, 1636, 18, 24906, 1435, 397, 6398, 315, 397, 1762, 10663, 1082, 202, 2704, 668, 18, 5935, 382, 6332, 5621, 1082, 202, 12849, 394, 668, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3929, 1435, 288, 202, 202, 698, 288, 1082, 202, 3198, 277, 273, 17609, 18, 9838, 5621, 1082, 202, 17523, 261, 77, 18, 5332, 2134, 10756, 288, 9506, 202, 12443, 9267, 6286, 13, 77, 18, 4285, 1435, 2934, 8705, 5621, 1082, 202, 97, 202, 202, 97, 202, 202, 14683, 261, 14979, 2925, 668, 555, 13, 288, 1082, 202, 14979, 2925, 668, 394, 668, 273, 9506, 3639, 394, 9067, 2925, 668, 12, 1636, 18, 24906, 1435, 397, 6398, 315, 397, 1762, 10663, 1082, 202, 2704, 668, 18, 5935, 382, 6332, 5621, 1082, 202, 12849, 394, 668, 31, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (dp > bp && da[dp-1] == '\\') return null;
if (dp > bp && da[dp-1] == '\\') return null;
static SubString interpretDollar(RegExpImpl res, char[] da, int dp, int bp, int[] skip) { Context cx = Context.getCurrentContext(); char[] ca; int cp; char dc; int num, tmp; /* Allow a real backslash (literal "\\") to escape "$1" etc. */ if (da[dp] != '$') throw new RuntimeException(); if ((cx.getLanguageVersion() != Context.VERSION_DEFAULT) && (cx.getLanguageVersion() <= Context.VERSION_1_4)) if (dp > bp && da[dp-1] == '\\') return null; /* Interpret all Perl match-induced dollar variables. */ dc = da[dp+1]; if (NativeRegExp.isDigit(dc)) { if ((cx.getLanguageVersion() != Context.VERSION_DEFAULT) && (cx.getLanguageVersion() <= Context.VERSION_1_4)) { if (dc == '0') return null; /* Check for overflow to avoid gobbling arbitrary decimal digits. */ num = 0; ca = da; cp = dp; while (++cp < ca.length && NativeRegExp.isDigit(dc = ca[cp])) { tmp = 10 * num + NativeRegExp.unDigit(dc); if (tmp < num) break; num = tmp; } } else { /* ECMA 3, 1-9 or 01-99 */ num = NativeRegExp.unDigit(dc); cp = dp + 2; if ((dp + 2) < da.length) { dc = da[dp + 2]; if (NativeRegExp.isDigit(dc)) { num = 10 * num + NativeRegExp.unDigit(dc); cp++; } } if (num == 0) return null; /* $0 or $00 is not valid */ } /* Adjust num from 1 $n-origin to 0 array-index-origin. */ num--; skip[0] = cp - dp; return res.getParenSubString(num); } skip[0] = 2; switch (dc) { case '$': return dollarStr; case '&': return res.lastMatch; case '+': return res.lastParen; case '`': if (cx.getLanguageVersion() == Context.VERSION_1_2) { /* * JS1.2 imitated the Perl4 bug where left context at each step * in an iterative use of a global regexp started from last match, * not from the start of the target string. But Perl4 does start * $` at the beginning of the target string when it is used in a * substitution, so we emulate that special case here. */ res.leftContext.index = 0; res.leftContext.length = res.lastMatch.index; } return res.leftContext; case '\'': return res.rightContext; } return null; }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/8b34980fb3adc3beae5bcea5913d426dc2e366c8/RegExpImpl.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/RegExpImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 2592, 780, 10634, 40, 25442, 12, 13673, 2828, 400, 16, 1149, 8526, 5248, 16, 509, 9986, 16, 19694, 509, 9107, 16, 509, 8526, 2488, 13, 565, 288, 3639, 1772, 9494, 273, 1772, 18, 588, 3935, 1042, 5621, 3639, 1149, 8526, 3474, 31, 3639, 509, 3283, 31, 3639, 1149, 6744, 31, 3639, 509, 818, 16, 1853, 31, 3639, 1748, 7852, 279, 2863, 23253, 261, 13107, 14520, 13, 358, 4114, 4662, 21, 6, 5527, 18, 1195, 3639, 309, 261, 2414, 63, 9295, 65, 480, 3365, 6134, 5411, 604, 394, 3235, 5621, 3639, 309, 14015, 71, 92, 18, 588, 3779, 1444, 1435, 480, 1772, 18, 5757, 67, 5280, 13, 1171, 597, 261, 71, 92, 18, 588, 3779, 1444, 1435, 1648, 1772, 18, 5757, 67, 21, 67, 24, 3719, 1082, 202, 430, 261, 9295, 405, 9107, 597, 5248, 63, 9295, 17, 21, 65, 422, 5282, 13, 9506, 565, 327, 446, 31, 3639, 1748, 5294, 15089, 777, 5722, 80, 845, 17, 728, 26372, 302, 25442, 3152, 18, 1195, 3639, 6744, 273, 5248, 63, 9295, 15, 21, 15533, 3639, 309, 261, 9220, 13673, 18, 291, 10907, 12, 7201, 3719, 288, 13491, 309, 14015, 71, 92, 18, 588, 3779, 1444, 1435, 480, 1772, 18, 5757, 67, 5280, 13, 5397, 597, 261, 71, 92, 18, 588, 3779, 1444, 1435, 1648, 1772, 18, 5757, 67, 21, 67, 24, 3719, 288, 7734, 309, 261, 7201, 422, 296, 20, 6134, 10792, 327, 446, 31, 7734, 1748, 2073, 364, 9391, 358, 4543, 20062, 70, 2456, 11078, 6970, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 2592, 780, 10634, 40, 25442, 12, 13673, 2828, 400, 16, 1149, 8526, 5248, 16, 509, 9986, 16, 19694, 509, 9107, 16, 509, 8526, 2488, 13, 565, 288, 3639, 1772, 9494, 273, 1772, 18, 588, 3935, 1042, 5621, 3639, 1149, 8526, 3474, 31, 3639, 509, 3283, 31, 3639, 1149, 6744, 31, 3639, 509, 818, 16, 1853, 31, 3639, 1748, 7852, 279, 2863, 23253, 261, 13107, 14520, 13, 358, 4114, 4662, 21, 6, 5527, 18, 1195, 3639, 309, 261, 2414, 63, 9295, 65, 480, 3365, 6134, 5411, 604, 394, 3235, 5621, 3639, 309, 14015, 71, 92, 18, 588, 3779, 1444, 1435, 480, 1772, 18, 5757, 67, 5280, 13, 1171, 597, 261, 71, 92, 18, 588, 3779, 1444, 1435, 1648, 2 ]
super.setActive(value); if (coolBarMgr != null) coolBarMgr.setVisible(value); }
super.setActive(value); if (coolBarMgr != null) coolBarMgr.setVisible(value); }
protected void setActive(boolean value) { super.setActive(value); if (coolBarMgr != null) coolBarMgr.setVisible(value); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/f1c8b0aa355c00a6c82a289c808984de6778bfca/SubActionBars2.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/SubActionBars2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 20669, 12, 6494, 460, 13, 288, 3639, 2240, 18, 542, 3896, 12, 1132, 1769, 3639, 309, 261, 71, 1371, 5190, 9455, 480, 446, 13, 5411, 27367, 5190, 9455, 18, 542, 6207, 12, 1132, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 4750, 918, 20669, 12, 6494, 460, 13, 288, 3639, 2240, 18, 542, 3896, 12, 1132, 1769, 3639, 309, 261, 71, 1371, 5190, 9455, 480, 446, 13, 5411, 27367, 5190, 9455, 18, 542, 6207, 12, 1132, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (int i = 0; i < areas.length; i++) { IMemento area = areas[i]; int id = Integer.parseInt(area.getID()); defaultLayout.updateAreaTrim(id, trimOrder[i], false); } trimMgr.updateLocations(knownIds);
private IStatus restoreTrimState(IMemento memento) { if (memento == null) { return Status.OK_STATUS; } // first pass sets up ordering for all trim areas IMemento[] areas = memento .getChildren(IWorkbenchConstants.TAG_TRIM_AREA); // We need to remember all the trim that was repositioned // here so we can re-site -newly contributed- trim after // we're done List knownIds = new ArrayList(); List[] trimOrder = new List[areas.length]; for (int i = 0; i < areas.length; i++) { trimOrder[i] = new ArrayList(); IMemento area = areas[i]; IMemento[] items = area .getChildren(IWorkbenchConstants.TAG_TRIM_ITEM); for (int j = 0; j < items.length; j++) { IMemento item = items[j]; knownIds.add(item.getID()); IWindowTrim t = defaultLayout.getTrim(item.getID()); if (t != null) { trimOrder[i].add(t); } } } // second pass applies all of the window trim for (int i = 0; i < areas.length; i++) { IMemento area = areas[i]; int id = Integer.parseInt(area.getID()); defaultLayout.updateAreaTrim(id, trimOrder[i], false); } // get the trim manager to re-locate any -newly contributed- // trim widgets trimMgr.updateLocations(knownIds); return Status.OK_STATUS; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/ba4a25a8c0549bd006e0c2ff15fab4cd6be6ffda/WorkbenchWindow.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 1482, 5217, 14795, 1119, 12, 3445, 820, 83, 312, 820, 83, 13, 288, 202, 202, 430, 261, 81, 820, 83, 422, 446, 13, 288, 1082, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 202, 202, 97, 202, 202, 759, 1122, 1342, 1678, 731, 9543, 364, 777, 2209, 15586, 202, 202, 3445, 820, 83, 8526, 15586, 273, 312, 820, 83, 9506, 202, 18, 588, 4212, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 6566, 49, 67, 20933, 1769, 9506, 202, 759, 1660, 1608, 358, 11586, 777, 326, 2209, 716, 1703, 283, 3276, 329, 202, 202, 759, 2674, 1427, 732, 848, 283, 17, 4256, 300, 2704, 715, 356, 11050, 17, 2209, 1839, 202, 202, 759, 732, 4565, 2731, 202, 202, 682, 4846, 2673, 273, 394, 2407, 5621, 9506, 202, 682, 8526, 2209, 2448, 273, 394, 987, 63, 21766, 18, 2469, 15533, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 15586, 18, 2469, 31, 277, 27245, 288, 1082, 202, 5290, 2448, 63, 77, 65, 273, 394, 2407, 5621, 1082, 202, 3445, 820, 83, 5091, 273, 15586, 63, 77, 15533, 1082, 202, 3445, 820, 83, 8526, 1516, 273, 5091, 6862, 202, 18, 588, 4212, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 6566, 49, 67, 12674, 1769, 1082, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 1516, 18, 2469, 31, 525, 27245, 288, 9506, 202, 3445, 820, 83, 761, 273, 1516, 63, 78, 15533, 9506, 202, 2994, 2673, 18, 1289, 12, 1726, 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, 467, 1482, 5217, 14795, 1119, 12, 3445, 820, 83, 312, 820, 83, 13, 288, 202, 202, 430, 261, 81, 820, 83, 422, 446, 13, 288, 1082, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 202, 202, 97, 202, 202, 759, 1122, 1342, 1678, 731, 9543, 364, 777, 2209, 15586, 202, 202, 3445, 820, 83, 8526, 15586, 273, 312, 820, 83, 9506, 202, 18, 588, 4212, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 6566, 49, 67, 20933, 1769, 9506, 202, 759, 1660, 1608, 358, 11586, 777, 326, 2209, 716, 1703, 283, 3276, 329, 202, 202, 759, 2674, 1427, 732, 848, 283, 17, 4256, 300, 2704, 715, 356, 11050, 17, 2209, 1839, 202, 202, 759, 732, 4565, 2 ]
this.toggleButton = null;
public Card(String imageFile) { this.imageFile = imageFile; this.toggleButton = null; this.isMatched = false; }
7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/5fbb1024ee61efd06c3896e14858efe0fd66db55/Card.java/buggy/demo/jsapi/cardmatch/Card.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14338, 12, 780, 31146, 13, 288, 3639, 333, 18, 2730, 812, 273, 31146, 31, 9079, 333, 18, 291, 15400, 273, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14338, 12, 780, 31146, 13, 288, 3639, 333, 18, 2730, 812, 273, 31146, 31, 9079, 333, 18, 291, 15400, 273, 629, 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 ]
System.err.print("; avg. time "); TimeRenderer.printTime(execTime / commandCount, System.err); System.err.println("; " + (1000 * commandCount / execTime) + " per second");
if (commandCount != 0) { System.err.print("; avg. time "); TimeRenderer.printTime(execTime / commandCount, System.err); } if (execTime != 0 && commandCount > 0) { System.err.print("; " + (1000 * commandCount / execTime) + " per second"); } System.err.println();
public int execute(SQLSession session, String command) { StringTokenizer st = new StringTokenizer(command); st.nextElement(); // remove load. int argc = st.countTokens(); if (argc != 1) { return SYNTAX_ERROR; } long startTime = System.currentTimeMillis(); int commandCount = 0; HenPlus henplus = HenPlus.getInstance(); try { henplus.pushBuffer(); File f = new File((String) st.nextElement()); System.err.println(f.getName()); BufferedReader reader = new BufferedReader(new FileReader(f)); String line; while ((line = reader.readLine()) != null) { if (henplus.addLine(line) == HenPlus.LINE_EXECUTED) { ++commandCount; } } } catch (Exception e) { System.err.println(e.getMessage()); return EXEC_FAILED; } finally { henplus.popBuffer(); // no open state .. } long execTime = System.currentTimeMillis() - startTime; System.err.print(commandCount + " commands in "); TimeRenderer.printTime(execTime, System.err); System.err.print("; avg. time "); TimeRenderer.printTime(execTime / commandCount, System.err); System.err.println("; " + (1000 * commandCount / execTime) + " per second"); return SUCCESS; }
49725 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49725/a55bc81542cebbe661a27339222ddcd430d202d7/LoadCommand.java/buggy/src/henplus/commands/LoadCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1836, 12, 3997, 2157, 1339, 16, 514, 1296, 13, 288, 202, 780, 10524, 384, 273, 394, 16370, 12, 3076, 1769, 202, 334, 18, 4285, 1046, 5621, 368, 1206, 1262, 18, 202, 474, 1501, 71, 273, 384, 18, 1883, 5157, 5621, 202, 430, 261, 3175, 71, 480, 404, 13, 288, 202, 565, 327, 7068, 28614, 67, 3589, 31, 202, 97, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 5621, 202, 474, 225, 1296, 1380, 273, 374, 31, 202, 44, 275, 13207, 366, 275, 10103, 273, 670, 275, 13207, 18, 588, 1442, 5621, 202, 698, 288, 202, 565, 366, 275, 10103, 18, 6206, 1892, 5621, 202, 565, 1387, 284, 273, 394, 1387, 12443, 780, 13, 384, 18, 4285, 1046, 10663, 202, 565, 2332, 18, 370, 18, 8222, 12, 74, 18, 17994, 10663, 202, 565, 10633, 2949, 273, 394, 10633, 12, 2704, 23010, 12, 74, 10019, 202, 565, 514, 980, 31, 202, 565, 1323, 14015, 1369, 273, 2949, 18, 896, 1670, 10756, 480, 446, 13, 288, 202, 202, 430, 261, 76, 275, 10103, 18, 1289, 1670, 12, 1369, 13, 422, 670, 275, 13207, 18, 5997, 67, 15271, 57, 6404, 13, 288, 1082, 565, 965, 3076, 1380, 31, 202, 202, 97, 202, 565, 289, 202, 97, 202, 14683, 261, 503, 425, 13, 288, 202, 565, 2332, 18, 370, 18, 8222, 12, 73, 18, 24906, 10663, 202, 565, 327, 24508, 67, 11965, 31, 202, 97, 202, 23417, 288, 202, 565, 366, 275, 10103, 18, 5120, 1892, 5621, 368, 1158, 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, 509, 1836, 12, 3997, 2157, 1339, 16, 514, 1296, 13, 288, 202, 780, 10524, 384, 273, 394, 16370, 12, 3076, 1769, 202, 334, 18, 4285, 1046, 5621, 368, 1206, 1262, 18, 202, 474, 1501, 71, 273, 384, 18, 1883, 5157, 5621, 202, 430, 261, 3175, 71, 480, 404, 13, 288, 202, 565, 327, 7068, 28614, 67, 3589, 31, 202, 97, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 5621, 202, 474, 225, 1296, 1380, 273, 374, 31, 202, 44, 275, 13207, 366, 275, 10103, 273, 670, 275, 13207, 18, 588, 1442, 5621, 202, 698, 288, 202, 565, 366, 275, 10103, 18, 6206, 1892, 5621, 202, 565, 1387, 284, 273, 394, 1387, 12443, 780, 13, 384, 18, 4285, 2 ]
if(newSize100k == 0) {
if (newSize100k == 0) {
private void setDecompressStructureSizes(int newSize100k) { if (! (0 <= newSize100k && newSize100k <= 9 && 0 <= blockSize100k && blockSize100k <= 9)) { // throw new IOException("Invalid block size"); } blockSize100k = newSize100k; if(newSize100k == 0) { return; } int n = baseBlockSize * newSize100k; ll8 = new char[n]; tt = new int[n]; }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/0dab862ee09d706c3f373fc18bedbf17caf427b9/CBZip2InputStream.java/clean/src/main/org/apache/tools/bzip2/CBZip2InputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 444, 17731, 1028, 6999, 11923, 12, 474, 21402, 6625, 79, 13, 288, 3639, 309, 16051, 261, 20, 1648, 21402, 6625, 79, 597, 21402, 6625, 79, 1648, 2468, 597, 374, 1648, 13766, 6625, 79, 9079, 597, 13766, 6625, 79, 1648, 2468, 3719, 288, 5411, 368, 604, 394, 1860, 2932, 1941, 1203, 963, 8863, 3639, 289, 3639, 13766, 6625, 79, 273, 21402, 6625, 79, 31, 3639, 309, 261, 2704, 1225, 6625, 79, 422, 374, 13, 288, 5411, 327, 31, 3639, 289, 3639, 509, 290, 273, 1026, 22506, 380, 21402, 6625, 79, 31, 3639, 6579, 28, 273, 394, 1149, 63, 82, 15533, 3639, 3574, 273, 394, 509, 63, 82, 15533, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 444, 17731, 1028, 6999, 11923, 12, 474, 21402, 6625, 79, 13, 288, 3639, 309, 16051, 261, 20, 1648, 21402, 6625, 79, 597, 21402, 6625, 79, 1648, 2468, 597, 374, 1648, 13766, 6625, 79, 9079, 597, 13766, 6625, 79, 1648, 2468, 3719, 288, 5411, 368, 604, 394, 1860, 2932, 1941, 1203, 963, 8863, 3639, 289, 3639, 13766, 6625, 79, 273, 21402, 6625, 79, 31, 3639, 309, 261, 2704, 1225, 6625, 79, 422, 374, 13, 288, 5411, 327, 31, 3639, 289, 3639, 509, 290, 273, 1026, 22506, 380, 21402, 6625, 79, 31, 3639, 6579, 28, 273, 394, 1149, 63, 82, 15533, 3639, 3574, 273, 394, 509, 63, 82, 15533, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100 ]
super (limit >> 2, limit >> 2, position >> 2, mark >> 2);
super (capacity, capacity, 0, -1);
public IntViewBufferImpl (ByteBuffer bb, int offset, int capacity, int limit, int position, int mark, boolean readOnly, ByteOrder endian) { super (limit >> 2, limit >> 2, position >> 2, mark >> 2); this.bb = bb; this.offset = offset; this.readOnly = readOnly; this.endian = endian; }
1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/e88045708e1899ddaec5c5597476cbd3efd39266/IntViewBufferImpl.java/buggy/libjava/java/nio/IntViewBufferImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3094, 1767, 1892, 2828, 261, 12242, 7129, 16, 509, 1384, 16, 509, 7519, 16, 9506, 565, 509, 1800, 16, 509, 1754, 16, 509, 2267, 16, 9506, 565, 1250, 15075, 16, 30845, 14759, 13, 225, 288, 565, 2240, 261, 16017, 16, 7519, 16, 374, 16, 300, 21, 1769, 565, 333, 18, 9897, 273, 7129, 31, 565, 333, 18, 3348, 273, 1384, 31, 565, 333, 18, 896, 3386, 273, 15075, 31, 565, 333, 18, 22910, 273, 14759, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3094, 1767, 1892, 2828, 261, 12242, 7129, 16, 509, 1384, 16, 509, 7519, 16, 9506, 565, 509, 1800, 16, 509, 1754, 16, 509, 2267, 16, 9506, 565, 1250, 15075, 16, 30845, 14759, 13, 225, 288, 565, 2240, 261, 16017, 16, 7519, 16, 374, 16, 300, 21, 1769, 565, 333, 18, 9897, 273, 7129, 31, 565, 333, 18, 3348, 273, 1384, 31, 565, 333, 18, 896, 3386, 273, 15075, 31, 565, 333, 18, 22910, 273, 14759, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void remove() { if (parent != null) { parent.remove(getPathElement());
public Element remove(Path.PathElement nameIndex) { int index = getOneBasedIndex(nameIndex) - 1; if (children != null) { ArrayList list = (ArrayList) children.get(nameIndex.getName()); if (list != null && list.size() > index) { for (int i = index + 1; i < list.size(); i++) { Element element = (Element) list.get(i); if (element != null) { element.index--; } } Element element = (Element) list.remove(index); if (element != null) { element.parent = null; childrenCount--; } if (childrenCount == 0 && obj == null) { remove(); } return element; }
public void remove() { if (parent != null) { parent.remove(getPathElement()); } }
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/ab9a875cdd1176714ce1fbbe00c8a9991e12b210/PathMap.java/clean/core/src/java/org/apache/jackrabbit/core/PathMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1206, 1435, 288, 5411, 309, 261, 2938, 480, 446, 13, 288, 7734, 982, 18, 4479, 12, 588, 743, 1046, 10663, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1206, 1435, 288, 5411, 309, 261, 2938, 480, 446, 13, 288, 7734, 982, 18, 4479, 12, 588, 743, 1046, 10663, 5411, 289, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
REBackTrackData result; if (gData.backTrackStackTop == gData.maxBackTrack) { gData.maxBackTrack <<= 1; REBackTrackData[] newStack = new REBackTrackData[gData.maxBackTrack]; for (int i = 0; i < gData.backTrackStackTop; i++) newStack[i] = gData.backTrackStack[i]; for (int i = gData.backTrackStackTop; i < gData.maxBackTrack; i++) newStack[i] = new REBackTrackData(x); gData.backTrackStack = newStack; } result = new REBackTrackData(x); gData.backTrackStack[gData.backTrackStackTop++] = result; result.continuation_op = op; result.continuation_pc = target; result.lastParen = gData.lastParen; result.currentState = new REProgState(gData.stateStack[gData.stateStackTop - 1]); if (gData.stateStackTop > 1) { result.precedingStateTop = gData.stateStackTop - 1; result.precedingState = new REProgState[result.precedingStateTop]; for (int i = 0; i < result.precedingStateTop; i++) result.precedingState[i] = new REProgState(gData.stateStack[i]); } else { result.precedingStateTop = 0; result.precedingState = null; } return result;
REBackTrackData backTrack = new REBackTrackData(gData, op, target, x); ++gData.backTrackSize; backTrack.previous = gData.backTrackLast; gData.backTrackLast = backTrack;
pushBackTrackState(REGlobalData gData, byte op, int target, REMatchState x) { REBackTrackData result; if (gData.backTrackStackTop == gData.maxBackTrack) { gData.maxBackTrack <<= 1; REBackTrackData[] newStack = new REBackTrackData[gData.maxBackTrack]; for (int i = 0; i < gData.backTrackStackTop; i++) newStack[i] = gData.backTrackStack[i]; for (int i = gData.backTrackStackTop; i < gData.maxBackTrack; i++) newStack[i] = new REBackTrackData(x); gData.backTrackStack = newStack; } result = new REBackTrackData(x); gData.backTrackStack[gData.backTrackStackTop++] = result; result.continuation_op = op; result.continuation_pc = target; result.lastParen = gData.lastParen; result.currentState = new REProgState(gData.stateStack[gData.stateStackTop - 1]); if (gData.stateStackTop > 1) { result.precedingStateTop = gData.stateStackTop - 1; result.precedingState = new REProgState[result.precedingStateTop]; for (int i = 0; i < result.precedingStateTop; i++) result.precedingState[i] = new REProgState(gData.stateStack[i]); } else { result.precedingStateTop = 0; result.precedingState = null; } return result; }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/1c1b4b37f0e7a3a86d7597b8f72506d4d41c5ab1/NativeRegExp.java/clean/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1817, 2711, 4402, 1119, 12, 862, 5160, 751, 314, 751, 16, 1160, 1061, 16, 509, 1018, 16, 2438, 2060, 1119, 619, 13, 565, 288, 3639, 2438, 2711, 4402, 751, 563, 31, 3639, 309, 261, 75, 751, 18, 823, 4402, 2624, 3401, 422, 314, 751, 18, 1896, 2711, 4402, 13, 288, 5411, 314, 751, 18, 1896, 2711, 4402, 22789, 404, 31, 5411, 2438, 2711, 4402, 751, 8526, 394, 2624, 273, 394, 2438, 2711, 4402, 751, 63, 75, 751, 18, 1896, 2711, 4402, 15533, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 314, 751, 18, 823, 4402, 2624, 3401, 31, 277, 27245, 7734, 394, 2624, 63, 77, 65, 273, 314, 751, 18, 823, 4402, 2624, 63, 77, 15533, 5411, 364, 261, 474, 277, 273, 314, 751, 18, 823, 4402, 2624, 3401, 31, 277, 411, 314, 751, 18, 1896, 2711, 4402, 31, 277, 27245, 7734, 394, 2624, 63, 77, 65, 273, 394, 2438, 2711, 4402, 751, 12, 92, 1769, 5411, 314, 751, 18, 823, 4402, 2624, 273, 394, 2624, 31, 3639, 289, 3639, 563, 273, 394, 2438, 2711, 4402, 751, 12, 92, 1769, 3639, 314, 751, 18, 823, 4402, 2624, 63, 75, 751, 18, 823, 4402, 2624, 3401, 9904, 65, 273, 563, 31, 3639, 563, 18, 1213, 23946, 67, 556, 273, 1061, 31, 3639, 563, 18, 1213, 23946, 67, 2436, 273, 1018, 31, 3639, 563, 18, 2722, 25520, 273, 314, 751, 18, 2722, 25520, 31, 3639, 563, 18, 2972, 1119, 273, 394, 2438, 626, 75, 1119, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1817, 2711, 4402, 1119, 12, 862, 5160, 751, 314, 751, 16, 1160, 1061, 16, 509, 1018, 16, 2438, 2060, 1119, 619, 13, 565, 288, 3639, 2438, 2711, 4402, 751, 563, 31, 3639, 309, 261, 75, 751, 18, 823, 4402, 2624, 3401, 422, 314, 751, 18, 1896, 2711, 4402, 13, 288, 5411, 314, 751, 18, 1896, 2711, 4402, 22789, 404, 31, 5411, 2438, 2711, 4402, 751, 8526, 394, 2624, 273, 394, 2438, 2711, 4402, 751, 63, 75, 751, 18, 1896, 2711, 4402, 15533, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 314, 751, 18, 823, 4402, 2624, 3401, 31, 277, 27245, 7734, 394, 2624, 63, 77, 65, 273, 314, 751, 18, 823, 4402, 2624, 63, 77, 15533, 2 ]
return IDEWorkbenchMessages.OpenResourceAction_dialogTitle; }
return IDEWorkbenchMessages.OpenResourceAction_dialogTitle; }
protected String getProblemsTitle() { return IDEWorkbenchMessages.OpenResourceAction_dialogTitle; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/ec943ad1464c034e89ad10776f2bb822c4d9de96/OpenResourceAction.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/OpenResourceAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 3570, 19122, 4247, 1435, 288, 3639, 327, 1599, 41, 2421, 22144, 5058, 18, 3678, 1420, 1803, 67, 12730, 4247, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 3570, 19122, 4247, 1435, 288, 3639, 327, 1599, 41, 2421, 22144, 5058, 18, 3678, 1420, 1803, 67, 12730, 4247, 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 ]
for( Iterator j=fromEdges.iterator(); j.hasNext(); ) { Edge e=(Edge) j.next(); if( e.getFromNode() == n ) { return true; } } return false;
return getEdgeFromNode(n) != null;
protected boolean hasEdgeFromNode(Node n) { for( Iterator j=fromEdges.iterator(); j.hasNext(); ) { Edge e=(Edge) j.next(); if( e.getFromNode() == n ) { return true; } } return false; }
8321 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8321/73f075ae4a01ecf914ef4ce231f3a02b9d73d850/Node.java/buggy/sphinx4/edu/cmu/sphinx/result/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 711, 6098, 28570, 12, 907, 290, 13, 288, 3639, 364, 12, 4498, 525, 33, 2080, 10697, 18, 9838, 5621, 525, 18, 5332, 2134, 5621, 262, 288, 5411, 11342, 425, 28657, 6098, 13, 525, 18, 4285, 5621, 5411, 309, 12, 425, 18, 588, 28570, 1435, 422, 290, 262, 288, 7734, 327, 638, 31, 5411, 289, 3639, 289, 3639, 327, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1250, 711, 6098, 28570, 12, 907, 290, 13, 288, 3639, 364, 12, 4498, 525, 33, 2080, 10697, 18, 9838, 5621, 525, 18, 5332, 2134, 5621, 262, 288, 5411, 11342, 425, 28657, 6098, 13, 525, 18, 4285, 5621, 5411, 309, 12, 425, 18, 588, 28570, 1435, 422, 290, 262, 288, 7734, 327, 638, 31, 5411, 289, 3639, 289, 3639, 327, 629, 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 ]
x1,y - forBackground.getAscent(), x2 - x1,forBackground.getHeight()));
_x,y - forBackground.getAscent(), x2 - _x,forBackground.getHeight()));
public static float paintChunkList(Chunk chunks, Graphics2D gfx, float x, float y, float width, Color background) { FontMetrics forBackground = gfx.getFontMetrics(); float _x = 0.0f; Font lastFont = null; Color lastColor = null; while(chunks != null) { if(chunks.text != null) { Font font = chunks.style.getFont(); Color bgColor = chunks.style.getBackgroundColor(); if(bgColor != null) { float x1 = (_x == 0.0f ? x : x + chunks.x); float x2; if(chunks.next == null) x2 = width; else if(chunks.next.style == chunks.style) x2 = x + chunks.next.x; else x2 = x + chunks.width; //LineMetrics lm = font.getLineMetrics( // chunks.text,gfx.getFontRenderContext()); gfx.setXORMode(background); gfx.setColor(bgColor); gfx.fill(new Rectangle2D.Float( x1,y - forBackground.getAscent(), x2 - x1,forBackground.getHeight())); gfx.setPaintMode(); } gfx.setFont(font); gfx.setColor(chunks.style.getForegroundColor()); gfx.drawGlyphVector(chunks.text,x + chunks.x,y); //gfx.drawString(chunks.str,x + chunks.x,y); // Useful for debugging purposes //gfx.draw(new Rectangle2D.Float(x + chunks.x,y - 10, // chunks.width,10)); } _x = chunks.x + chunks.width; chunks = chunks.next; } return _x; } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/93b21cae61a037921829ebe554b8e3dbc8da5dda/ChunkCache.java/clean/org/gjt/sp/jedit/textarea/ChunkCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1431, 12574, 5579, 682, 12, 5579, 6055, 16, 16830, 22, 40, 30940, 16, 202, 202, 5659, 619, 16, 1431, 677, 16, 1431, 1835, 16, 5563, 5412, 13, 202, 95, 202, 202, 5711, 5653, 364, 8199, 273, 30940, 18, 588, 5711, 5653, 5621, 202, 202, 5659, 389, 92, 273, 374, 18, 20, 74, 31, 202, 202, 5711, 1142, 5711, 273, 446, 31, 202, 202, 2957, 1142, 2957, 273, 446, 31, 202, 202, 17523, 12, 14691, 480, 446, 13, 202, 202, 95, 1082, 202, 430, 12, 14691, 18, 955, 480, 446, 13, 1082, 202, 95, 9506, 202, 5711, 3512, 273, 6055, 18, 4060, 18, 588, 5711, 5621, 9506, 202, 2957, 7611, 2957, 273, 6055, 18, 4060, 18, 588, 21699, 5621, 9506, 202, 430, 12, 12370, 2957, 480, 446, 13, 9506, 202, 95, 6862, 202, 5659, 619, 21, 273, 261, 67, 92, 422, 374, 18, 20, 74, 692, 619, 294, 619, 397, 6055, 18, 92, 1769, 6862, 202, 5659, 619, 22, 31, 6862, 202, 430, 12, 14691, 18, 4285, 422, 446, 13, 25083, 202, 92, 22, 273, 1835, 31, 6862, 202, 12107, 309, 12, 14691, 18, 4285, 18, 4060, 422, 6055, 18, 4060, 13, 25083, 202, 92, 22, 273, 619, 397, 6055, 18, 4285, 18, 92, 31, 6862, 202, 12107, 25083, 202, 92, 22, 273, 619, 397, 6055, 18, 2819, 31, 6862, 202, 759, 1670, 5653, 14966, 273, 3512, 18, 588, 1670, 5653, 12, 6862, 202, 759, 202, 14691, 18, 955, 16, 75, 19595, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1431, 12574, 5579, 682, 12, 5579, 6055, 16, 16830, 22, 40, 30940, 16, 202, 202, 5659, 619, 16, 1431, 677, 16, 1431, 1835, 16, 5563, 5412, 13, 202, 95, 202, 202, 5711, 5653, 364, 8199, 273, 30940, 18, 588, 5711, 5653, 5621, 202, 202, 5659, 389, 92, 273, 374, 18, 20, 74, 31, 202, 202, 5711, 1142, 5711, 273, 446, 31, 202, 202, 2957, 1142, 2957, 273, 446, 31, 202, 202, 17523, 12, 14691, 480, 446, 13, 202, 202, 95, 1082, 202, 430, 12, 14691, 18, 955, 480, 446, 13, 1082, 202, 95, 9506, 202, 5711, 3512, 273, 6055, 18, 4060, 18, 588, 5711, 5621, 9506, 202, 2957, 7611, 2957, 273, 6055, 18, 4060, 18, 2 ]
int type = iCode[pc];
int incrDecrMask = iCode[pc];
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } SecurityController sc = idata.securityController; Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = idata.securityDomain; try { return sc.callWithDomain(idata.securityDomain, cx, fnOrScript, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int LOCAL_SHFT = idata.itsMaxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[0 <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for local temporaries// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Kit.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[i] = arg; if (arg == DBL_MRK) { sDbl[i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != idata.itsMaxVars; ++i) { stack[i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); } if (idata.itsFunctionType != 0) { InterpretedFunction f = (InterpretedFunction)fnOrScript; if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { createFunction(cx, scope, fdata, idata.itsFromEvalCode); } } } // Wrapped regexps for functions are stored in InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution Scriptable[] scriptRegExps = null; boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; cx.interpreterData = idata; cx.interpreterLineIndex = idata.firstLinePC; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; int pc = 0; int pcPrevBranch = 0; final boolean instructionCounting = (cx.instructionThreshold != 0); // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; String[] strings = idata.itsStringTable; String stringReg = null; int indexReg = 0; Loop: for (;;) { try { int op = iCode[pc++]; // Back indent to ease imlementation readingswitch (op) { case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal with exceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Kit.codeBug(); pc = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EvaluatorException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pc = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pc >= 0) { // Has catch block doCatch = true; } } if (pc < 0) { pc = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pc < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Kit.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } if (doCatch) { stackTop = STACK_SHFT - 1; int exLocal = idata.itsExceptionTable[ handlerOffset + EXCEPTION_LOCAL_SLOT]; stack[LOCAL_SHFT + exLocal] = ScriptRuntime.getCatchObject( cx, scope, javaException); } else { stackTop = STACK_SHFT; // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; if (instructionCounting) { // 500: catch cost cx.addInstructionCount(500); pcPrevBranch = pc; } continue Loop; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int sourceLine = getShort(iCode, pc); throw new JavaScriptException(value, idata.itsSourceFile, sourceLine); } case Token.GE : case Token.LE : case Token.GT : case Token.LT : stackTop = do_cmp(stack, sDbl, stackTop, op); continue Loop; case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.EQ : case Token.NE : stackTop = do_eq(stack, sDbl, stackTop, op); continue Loop; case Token.SHEQ : case Token.SHNE : stackTop = do_sheq(stack, sDbl, stackTop, op); continue Loop; case Token.IFNE : if (stack_boolean(stack, sDbl, stackTop--)) { pc += 2; continue Loop; } break; case Token.IFEQ : if (!stack_boolean(stack, sDbl, stackTop--)) { pc += 2; continue Loop; } break; case Icode_IFEQ_POP : if (!stack_boolean(stack, sDbl, stackTop--)) { pc += 2; continue Loop; } stack[stackTop--] = null; break; case Token.GOTO : break; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; break; case Icode_RETSUB : { // indexReg: local to store return address if (instructionCounting) { cx.addInstructionCount(pc - pcPrevBranch); } Object value = stack[LOCAL_SHFT + indexReg]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; pc = getJavaCatchPC(iCode); } else { // Normal return from GOSUB pc = (int)sDbl[LOCAL_SHFT + indexReg]; pcPrevBranch = pc; } continue Loop; } case Token.POP : stack[stackTop] = null; stackTop--; continue Loop; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; continue Loop; case Icode_DUP2 : stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stack[stackTop + 2] = stack[stackTop]; sDbl[stackTop + 2] = sDbl[stackTop]; stackTop += 2; continue Loop; case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; continue Loop; } case Token.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; continue Loop; case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_POPV : break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; continue Loop; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; continue Loop; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; continue Loop; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; continue Loop; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; continue Loop; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; continue Loop; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; continue Loop; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; continue Loop; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; continue Loop; } case Token.ADD : stackTop = do_add(stack, sDbl, stackTop); continue Loop; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; continue Loop; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; continue Loop; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; continue Loop; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; continue Loop; } case Token.NOT : stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; continue Loop; case Token.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(scope, stringReg); continue Loop; case Token.SETNAME : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, stringReg); continue Loop; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); continue Loop; } case Token.GETPROP : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, stringReg, scope); continue Loop; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, stringReg, rhs, scope); continue Loop; } case Icode_PROP_INC_DEC : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.propIncrDecr(lhs, stringReg, scope, iCode[pc]); ++pc; continue Loop; } case Token.GETELEM : stackTop = do_getElem(stack, sDbl, stackTop, cx, scope); continue Loop; case Token.SETELEM : stackTop = do_setElem(stack, sDbl, stackTop, cx, scope); continue Loop; case Icode_ELEM_INC_DEC: { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.elemIncrDecr(lhs, rhs, scope, iCode[pc]); ++pc; continue Loop; } case Token.GET_REF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getReference(lhs); continue Loop; } case Token.SET_REF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); ScriptRuntime.setReference(lhs, rhs); stack[stackTop] = rhs; continue Loop; } case Icode_REF_INC_DEC : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.referenceIncrDecr(lhs, iCode[pc]); ++pc; continue Loop; } case Token.LOCAL_SAVE : stack[LOCAL_SHFT + indexReg] = stack[stackTop]; sDbl[LOCAL_SHFT + indexReg] = sDbl[stackTop]; --stackTop; continue Loop; case Token.LOCAL_LOAD : ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + indexReg]; sDbl[stackTop] = sDbl[LOCAL_SHFT + indexReg]; continue Loop; case Icode_CALLSPECIAL : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } // indexReg: number of arguments int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); stackTop -= indexReg; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, indexReg); Object functionThis; if (isNew) { functionThis = null; } else { functionThis = stack[stackTop]; if (functionThis == DBL_MRK) { functionThis = doubleWrap(sDbl[stackTop]); } --stackTop; } Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, isNew, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); pc += 4; continue Loop; } case Token.CALL : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } // indexReg: number of arguments stackTop -= indexReg; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, indexReg, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, indexReg); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); throw notAFunction(lhs, idata, pc); } pc += 2; continue Loop; } case Token.NEW : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } // indexReg: number of arguments stackTop -= indexReg; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, indexReg, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, indexReg); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); throw notAFunction(lhs, idata, pc); } pc += 2; continue Loop; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); continue Loop; } case Icode_TYPEOFNAME : stack[++stackTop] = ScriptRuntime.typeofName(scope, stringReg); continue Loop; case Icode_NAME_FAST_THIS : case Icode_NAME_SLOW_THIS : stackTop = do_nameAndThis(stack, stackTop, scope, stringReg, op); continue Loop; case Token.STRING : stack[++stackTop] = stringReg; continue Loop; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc); pc += 2; continue Loop; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc); pc += 4; continue Loop; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[indexReg]; continue Loop; case Token.NAME : stack[++stackTop] = ScriptRuntime.name(scope, stringReg); continue Loop; case Icode_NAME_INC_DEC : stack[++stackTop] = ScriptRuntime.nameIncrDecr(scope, stringReg, iCode[pc]); ++pc; continue Loop; case Icode_SETVAR1: indexReg = iCode[pc++]; // fallthrough case Token.SETVAR : if (!useActivationVars) { stack[indexReg] = stack[stackTop]; sDbl[indexReg] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, indexReg, val); } continue Loop; case Icode_GETVAR1: indexReg = iCode[pc++]; // fallthrough case Token.GETVAR : ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[indexReg]; sDbl[stackTop] = sDbl[indexReg]; } else { stack[stackTop] = activationGet(fnOrScript, scope, indexReg); } continue Loop; case Icode_VAR_INC_DEC : { // indexReg : varindex ++stackTop; int type = iCode[pc]; if (!useActivationVars) { stack[stackTop] = DBL_MRK; Object varValue = stack[indexReg]; double d; if (varValue == DBL_MRK) { d = sDbl[indexReg]; } else { d = ScriptRuntime.toNumber(varValue); stack[indexReg] = DBL_MRK; } double d2 = (type == Node.PRE_INC || type == Node.POST_INC) ? d + 1.0 : d - 1.0; sDbl[indexReg] = d2; sDbl[stackTop] = (type == Node.POST_INC || type == Node.POST_DEC) ? d : d2; } else { String varName = fnOrScript.argNames[indexReg]; stack[stackTop] = ScriptRuntime.nameIncrDecr(scope, varName, type); } ++pc; continue Loop; } case Token.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; continue Loop; case Token.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; continue Loop; case Token.NULL : stack[++stackTop] = null; continue Loop; case Token.THIS : stack[++stackTop] = thisObj; continue Loop; case Token.THISFN : stack[++stackTop] = fnOrScript; continue Loop; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; continue Loop; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; continue Loop; case Token.UNDEFINED : stack[++stackTop] = Undefined.instance; continue Loop; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; continue Loop; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; continue Loop; case Token.CATCH_SCOPE : stack[stackTop] = ScriptRuntime.newCatchScope(stringReg, stack[stackTop]); continue Loop; case Token.ENUM_INIT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + indexReg] = ScriptRuntime.enumInit(lhs, scope); continue Loop; } case Token.ENUM_NEXT : case Token.ENUM_ID : { Object val = stack[LOCAL_SHFT + indexReg]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val); continue Loop; } case Icode_PUSH_PARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[++stackTop] = ScriptRuntime.getParent(lhs); continue Loop; } case Icode_SPECIAL_REF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.specialReference(lhs, scope, iCode[pc]); ++pc; continue Loop; } case Icode_SCOPE : stack[++stackTop] = scope; continue Loop; case Icode_CLOSURE : { InterpreterData closureData = idata.itsNestedFunctions[indexReg]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); continue Loop; } case Token.REGEXP : { Scriptable regexp; if (idata.itsFunctionType != 0) { regexp = ((InterpretedFunction)fnOrScript).itsRegExps[indexReg]; } else { if (scriptRegExps == null) { scriptRegExps = wrapRegExps(cx, scope, idata); } regexp = scriptRegExps[indexReg]; } stack[++stackTop] = regexp; continue Loop; } case Icode_LITERAL_NEW : // indexReg: number of values in the literal ++stackTop; stack[stackTop] = new Object[indexReg]; sDbl[stackTop] = 0; continue Loop; case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; continue Loop; } case Token.ARRAYLIT : case Icode_SPARE_ARRAYLIT : case Token.OBJECTLIT : { Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.OBJECTLIT) { Object[] ids = (Object[])idata.literalIds[indexReg]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } else { int[] skipIndexces = null; if (op == Icode_SPARE_ARRAYLIT) { skipIndexces = (int[])idata.literalIds[indexReg]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } stack[stackTop] = val; continue Loop; } case Icode_LINE : cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; continue Loop; case Icode_REG_IND_C0: indexReg = 0; continue Loop; case Icode_REG_IND_C1: indexReg = 1; continue Loop; case Icode_REG_IND_C2: indexReg = 2; continue Loop; case Icode_REG_IND_C3: indexReg = 3; continue Loop; case Icode_REG_IND_C4: indexReg = 4; continue Loop; case Icode_REG_IND_C5: indexReg = 5; continue Loop; case Icode_REG_IND1: indexReg = 0xFF & iCode[pc]; ++pc; continue Loop; case Icode_REG_IND2: indexReg = getIndex(iCode, pc); pc += 2; continue Loop; case Icode_REG_IND4: indexReg = getInt(iCode, pc); pc += 4; continue Loop; case Icode_REG_STR_C0: stringReg = strings[0]; continue Loop; case Icode_REG_STR_C1: stringReg = strings[1]; continue Loop; case Icode_REG_STR_C2: stringReg = strings[2]; continue Loop; case Icode_REG_STR_C3: stringReg = strings[3]; continue Loop; case Icode_REG_STR1: stringReg = strings[0xFF & iCode[pc]]; ++pc; continue Loop; case Icode_REG_STR2: stringReg = strings[getIndex(iCode, pc)]; pc += 2; continue Loop; case Icode_REG_STR4: stringReg = strings[getInt(iCode, pc)]; pc += 4; continue Loop; default : dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1));} // end of interpreter switch // This should be reachable only for jump implementation // when pc points to encoded target offset if (instructionCounting) { cx.addInstructionCount(pc + 2 - pcPrevBranch); } int offset = getShort(iCode, pc); if (offset != 0) { // -1 accounts for pc pointing to jump opcode + 1 pc += offset - 1; } else { pc = idata.longJumps.getExistingInt(pc); } pcPrevBranch = pc; continue Loop; } // end of interpreter try catch (Throwable ex) { if (instructionCounting) { // Can not call addInstructionCount as it may trigger // exception cx.instructionCount += pc - pcPrevBranch; } javaException = ex; exceptionPC = pc - 1; pc = getJavaCatchPC(iCode); continue Loop; } } // end of interpreter loop cx.interpreterData = savedData; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsNeedsActivation || debuggerFrame != null) { ScriptRuntime.popActivation(cx); } if (javaException != null) { if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/cb3a4fef51dd031baf4bc78bcf8cc452587ea3b7/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 612, 396, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 888, 18, 1991, 1190, 3748, 12, 350, 396, 18, 7462, 3748, 16, 9494, 16, 2295, 1162, 3651, 16, 29159, 2146, 16, 15261, 16, 833, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 509, 15234, 67, 2664, 4464, 273, 612, 396, 18, 1282, 2747, 5555, 31, 3639, 727, 509, 11464, 67, 2664, 4464, 273, 15234, 67, 2664, 4464, 397, 612, 396, 18, 1282, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 2 ]
UrlCacher uc = cus.makeUrlCacher(url);
UrlCacher uc = au.makeUrlCacher(cus, url);
protected boolean doCrawlLoop(String url, Set extractedUrls, Set parsedPages, CachedUrlSet cus, boolean overWrite) { boolean wasError = false; logger.debug("Dequeued url from list: "+url); UrlCacher uc = cus.makeUrlCacher(url); // don't cache if already cached, unless overwriting if (overWrite || !uc.getCachedUrl().hasContent()) { try { logger.debug("caching "+uc); uc.cache(); //IOException if there is a caching problem numUrlsFetched++; } catch (FileNotFoundException e) { logger.warning(uc+" not found on publisher's site"); } catch (IOException ioe) { //XXX handle this better. Requeue? logger.error("Problem caching "+uc+". Ignoring", ioe); wasError = true; } } else { if (!parsedPages.contains(uc.getUrl())) { logger.debug2(uc+" exists, not caching"); } } try { if (followLinks && !parsedPages.contains(uc.getUrl())) { CachedUrl cu = uc.getCachedUrl(); //XXX quick fix; if statement should be removed when we rework //handling of error condition if (cu.hasContent()) { addUrlsToSet(cu, extractedUrls, parsedPages);//IOException if the CU can't be read parsedPages.add(uc.getUrl()); numUrlsParsed++; } } } catch (IOException ioe) { //XXX handle this better. Requeue? logger.error("Problem parsing "+uc+". Ignoring", ioe); wasError = true; } logger.debug("Removing from list: "+uc.getUrl()); return !wasError; }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/12fb3ea2d260218bb4a604c3b81931dfce4c0d7b/GoslingCrawlerImpl.java/buggy/src/org/lockss/crawler/GoslingCrawlerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1250, 741, 39, 15161, 6452, 12, 780, 880, 16, 1000, 9438, 10509, 16, 9506, 377, 1000, 2707, 5716, 16, 15771, 1489, 694, 27964, 16, 9506, 377, 1250, 1879, 3067, 13, 288, 565, 1250, 1703, 668, 273, 629, 31, 565, 1194, 18, 4148, 2932, 758, 19499, 880, 628, 666, 30, 13773, 718, 1769, 565, 6816, 11309, 264, 6232, 273, 20309, 18, 6540, 1489, 11309, 264, 12, 71, 407, 16, 880, 1769, 565, 368, 2727, 1404, 1247, 309, 1818, 3472, 16, 3308, 23492, 565, 309, 261, 1643, 3067, 747, 401, 5286, 18, 588, 9839, 1489, 7675, 5332, 1350, 10756, 288, 1377, 775, 288, 202, 4901, 18, 4148, 2932, 17703, 310, 13773, 5286, 1769, 202, 5286, 18, 2493, 5621, 368, 14106, 309, 1915, 353, 279, 11393, 6199, 202, 2107, 10509, 30771, 9904, 31, 1377, 289, 1044, 261, 812, 3990, 425, 13, 288, 202, 4901, 18, 8551, 12, 5286, 9078, 486, 1392, 603, 12855, 1807, 2834, 8863, 1377, 289, 1044, 261, 14106, 10847, 13, 288, 202, 759, 15639, 1640, 333, 7844, 18, 225, 868, 4000, 35, 202, 4901, 18, 1636, 2932, 13719, 11393, 13773, 5286, 9078, 18, 467, 16997, 3113, 10847, 1769, 202, 17416, 668, 273, 638, 31, 1377, 289, 565, 289, 565, 469, 288, 1377, 309, 16051, 10817, 5716, 18, 12298, 12, 5286, 18, 588, 1489, 1435, 3719, 288, 202, 4901, 18, 4148, 22, 12, 5286, 9078, 1704, 16, 486, 11393, 8863, 1377, 289, 565, 289, 565, 775, 288, 1377, 309, 261, 14641, 7100, 597, 401, 10817, 5716, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1250, 741, 39, 15161, 6452, 12, 780, 880, 16, 1000, 9438, 10509, 16, 9506, 377, 1000, 2707, 5716, 16, 15771, 1489, 694, 27964, 16, 9506, 377, 1250, 1879, 3067, 13, 288, 565, 1250, 1703, 668, 273, 629, 31, 565, 1194, 18, 4148, 2932, 758, 19499, 880, 628, 666, 30, 13773, 718, 1769, 565, 6816, 11309, 264, 6232, 273, 20309, 18, 6540, 1489, 11309, 264, 12, 71, 407, 16, 880, 1769, 565, 368, 2727, 1404, 1247, 309, 1818, 3472, 16, 3308, 23492, 565, 309, 261, 1643, 3067, 747, 401, 5286, 18, 588, 9839, 1489, 7675, 5332, 1350, 10756, 288, 1377, 775, 288, 202, 4901, 18, 4148, 2932, 17703, 310, 13773, 5286, 1769, 202, 5286, 18, 2493, 5621, 368, 2 ]
XFormsContainingDocument containingDocument = new XFormsContainingDocument(objectPool, models, controlsDocument, repeatIndexesElement,
final XFormsContainingDocument containingDocument = new XFormsContainingDocument(models, controlsDocument, repeatIndexesElement,
private static XFormsContainingDocument createXFormsContainingDocument(ObjectPool objectPool, PipelineContext pipelineContext, String staticStateString, String dynamicStateString, Element filesElement) { final Document staticStateDocument = XFormsUtils.decodeXML(pipelineContext, staticStateString); final Document dynamicStateDocument = (dynamicStateString == null || "".equals(dynamicStateString)) ? null : XFormsUtils.decodeXML(pipelineContext, dynamicStateString); // Get controls from static state// final Document controlsDocument = Dom4jUtils.createDocument();// controlsDocument.add(staticStateDocument.getRootElement().element("controls").detach()); final Document controlsDocument = Dom4jUtils.createDocumentCopyParentNamespaces(staticStateDocument.getRootElement().element("controls")); // Get models from static state final Element modelsElement = staticStateDocument.getRootElement().element("models"); // Get instances from dynamic state final Element instancesElement = (dynamicStateDocument == null) ? null : dynamicStateDocument.getRootElement().element("instances"); // Get divs from dynamic state final Element divsElement = (dynamicStateDocument == null) ? null : dynamicStateDocument.getRootElement().element("divs"); // Get repeat indexes from dynamic state final Element repeatIndexesElement = (dynamicStateDocument == null) ? null : dynamicStateDocument.getRootElement().element("repeat-indexes"); // Get automatic event from dynamic state final Element eventElement = (dynamicStateDocument == null) ? null : dynamicStateDocument.getRootElement().element("event"); // Get all models final List models = new ArrayList(); { // FIXME: we don't get a System ID here. Is there a simple solution? for (Iterator i = modelsElement.elements().iterator(); i.hasNext();) { Element modelElement = (Element) i.next();// final Document modelDocument = Dom4jUtils.createDocument();// modelDocument.add(modelElement.detach()); final Document modelDocument = Dom4jUtils.createDocumentCopyParentNamespaces(modelElement); XFormsModel model = new XFormsModel(modelDocument); models.add(model); } } // Create XForms Engine XFormsContainingDocument containingDocument = new XFormsContainingDocument(objectPool, models, controlsDocument, repeatIndexesElement, staticStateDocument.getRootElement().attributeValue("container-type")); // Get instances boolean isInitializeEvent; { int foundInstancesCount = 0; int expectedInstancesCount = 0; if (instancesElement != null) { // Iterator over all the models Iterator modelIterator = containingDocument.getModels().iterator(); XFormsModel currentModel = null; int currentModelInstancesCount = 0; int currentCount = 0; for (Iterator i = instancesElement.elements().iterator(); i.hasNext();) { Element instanceElement = (Element) i.next(); // Go to next model if needed if (currentCount == currentModelInstancesCount) { currentModel = (XFormsModel) modelIterator.next(); currentModelInstancesCount = currentModel.getInstanceCount(); currentCount = 0; expectedInstancesCount += currentModelInstancesCount; } // Create and set instance document on current model// final Document instanceDocument = Dom4jUtils.createDocument();// instanceDocument.add(instanceElement.detach()); Document instanceDocument = Dom4jUtils.createDocumentCopyParentNamespaces(instanceElement); currentModel.setInstanceDocument(pipelineContext, currentCount, instanceDocument); currentCount++; foundInstancesCount++; } // Number of instances must be zero or match number of models if (foundInstancesCount != 0 && expectedInstancesCount != foundInstancesCount) throw new OXFException("Number of instances (" + foundInstancesCount + ") doesn't match number of instances in models (" + expectedInstancesCount + ")."); } // Initialization will take place if no instances are provided isInitializeEvent = foundInstancesCount == 0; } // Initialize XForms Engine containingDocument.initialize(pipelineContext); if (isInitializeEvent) containingDocument.dispatchExternalEvent(pipelineContext, new XXFormsInitializeEvent(containingDocument)); else containingDocument.dispatchExternalEvent(pipelineContext, new XXFormsInitializeStateEvent(containingDocument, divsElement, repeatIndexesElement)); // Run automatic event if present if (eventElement != null) { final String controlId = eventElement.attributeValue("source-control-id"); final String resource = eventElement.attributeValue("resource"); final String eventName = eventElement.attributeValue("name"); containingDocument.executeExternalEvent(pipelineContext, eventName, controlId, null, resource, filesElement); } return containingDocument; }
54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/a6eb47de417fd6cf006fa4e9c8c250cb033f744f/XFormsServer.java/clean/src/java/org/orbeon/oxf/xforms/XFormsServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1139, 18529, 24344, 2519, 752, 60, 18529, 24344, 2519, 12, 921, 2864, 733, 2864, 16, 13671, 1042, 5873, 1042, 16, 28524, 6647, 514, 760, 1119, 780, 16, 514, 5976, 1119, 780, 16, 3010, 1390, 1046, 13, 288, 3639, 727, 4319, 760, 1119, 2519, 273, 1139, 18529, 1989, 18, 3922, 4201, 12, 14511, 1042, 16, 760, 1119, 780, 1769, 3639, 727, 4319, 5976, 1119, 2519, 273, 261, 14507, 1119, 780, 422, 446, 747, 1408, 18, 14963, 12, 14507, 1119, 780, 3719, 692, 446, 294, 1139, 18529, 1989, 18, 3922, 4201, 12, 14511, 1042, 16, 5976, 1119, 780, 1769, 3639, 368, 968, 11022, 628, 760, 919, 759, 3639, 727, 4319, 11022, 2519, 273, 12965, 24, 78, 1989, 18, 2640, 2519, 5621, 759, 3639, 11022, 2519, 18, 1289, 12, 3845, 1119, 2519, 18, 588, 2375, 1046, 7675, 2956, 2932, 24350, 20387, 8238, 497, 10663, 3639, 727, 4319, 11022, 2519, 273, 12965, 24, 78, 1989, 18, 2640, 2519, 2951, 3054, 13180, 12, 3845, 1119, 2519, 18, 588, 2375, 1046, 7675, 2956, 2932, 24350, 7923, 1769, 3639, 368, 968, 3679, 628, 760, 919, 3639, 727, 3010, 3679, 1046, 273, 760, 1119, 2519, 18, 588, 2375, 1046, 7675, 2956, 2932, 7665, 8863, 3639, 368, 968, 3884, 628, 5976, 919, 3639, 727, 3010, 3884, 1046, 273, 261, 14507, 1119, 2519, 422, 446, 13, 692, 446, 294, 5976, 1119, 2519, 18, 588, 2375, 1046, 7675, 2956, 2932, 10162, 8863, 3639, 368, 968, 3739, 87, 628, 5976, 919, 3639, 727, 3010, 3739, 87, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1139, 18529, 24344, 2519, 752, 60, 18529, 24344, 2519, 12, 921, 2864, 733, 2864, 16, 13671, 1042, 5873, 1042, 16, 28524, 6647, 514, 760, 1119, 780, 16, 514, 5976, 1119, 780, 16, 3010, 1390, 1046, 13, 288, 3639, 727, 4319, 760, 1119, 2519, 273, 1139, 18529, 1989, 18, 3922, 4201, 12, 14511, 1042, 16, 760, 1119, 780, 1769, 3639, 727, 4319, 5976, 1119, 2519, 273, 261, 14507, 1119, 780, 422, 446, 747, 1408, 18, 14963, 12, 14507, 1119, 780, 3719, 692, 446, 294, 1139, 18529, 1989, 18, 3922, 4201, 12, 14511, 1042, 16, 5976, 1119, 780, 1769, 3639, 368, 968, 11022, 628, 760, 919, 759, 3639, 727, 4319, 11022, 2519, 273, 12965, 24, 78, 1989, 18, 2 ]
protected Control createContents(Composite parent) { // initialize the dialog units initializeDialogUnits(parent); GridLayout layout = new GridLayout(); layout.numColumns = 2; layout.marginHeight = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_MARGIN); layout.marginWidth = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_MARGIN); layout.verticalSpacing = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING); layout.horizontalSpacing = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING); layout.makeColumnsEqualWidth = false; parent.setLayout(layout); parent.setLayoutData(new GridData(GridData.FILL_BOTH)); createDialogAndButtonArea(parent); return parent; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/b342c22a9dd5c06c41272daa4376a8d418b3fdac/IconAndMessageDialog.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/IconAndMessageDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6323, 12, 9400, 982, 13, 288, 9506, 202, 759, 4046, 326, 6176, 4971, 202, 202, 11160, 6353, 7537, 12, 2938, 1769, 9506, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 576, 31, 202, 202, 6741, 18, 10107, 2686, 273, 1765, 15704, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 21654, 10109, 67, 19772, 7702, 1769, 202, 202, 6741, 18, 10107, 2384, 273, 1765, 14457, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 44, 20344, 67, 19772, 7702, 1769, 202, 202, 6741, 18, 17824, 18006, 273, 1765, 15704, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 21654, 10109, 67, 3118, 2226, 1360, 1769, 202, 202, 6741, 18, 18396, 18006, 273, 1765, 14457, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 44, 20344, 67, 3118, 2226, 1360, 1769, 202, 202, 6741, 18, 6540, 3380, 5812, 2384, 273, 629, 31, 202, 202, 2938, 18, 542, 3744, 12, 6741, 1769, 202, 202, 2938, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 10019, 9506, 202, 2640, 6353, 1876, 3616, 5484, 12, 2938, 1769, 25083, 202, 2463, 982, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 1117, 8888, 752, 6323, 12, 9400, 982, 13, 288, 9506, 202, 759, 4046, 326, 6176, 4971, 202, 202, 11160, 6353, 7537, 12, 2938, 1769, 9506, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 576, 31, 202, 202, 6741, 18, 10107, 2686, 273, 1765, 15704, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 21654, 10109, 67, 19772, 7702, 1769, 202, 202, 6741, 18, 10107, 2384, 273, 1765, 14457, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 44, 20344, 67, 19772, 7702, 1769, 202, 202, 6741, 18, 17824, 18006, 273, 1765, 15704, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 21654, 10109, 67, 3118, 2226, 1360, 1769, 202, 2 ]
waterValueLabel.setText("" + roundOneDecimal(water) + " units/day");
waterValueLabel.setText("" + roundOneDecimal(water * 1000D) + " units/sol");
public void updateInfo() { if (fuel != processor.getFuelRate()) { fuel = processor.getFuelRate(); fuelValueLabel.setText("" + roundOneDecimal(fuel) + " units/day"); } if (oxygen != processor.getOxygenRate()) { oxygen = processor.getOxygenRate(); oxygenValueLabel.setText("" + roundOneDecimal(oxygen) + " units/day"); } if (water != processor.getWaterRate()) { water = processor.getWaterRate(); waterValueLabel.setText("" + roundOneDecimal(water) + " units/day"); } }
49678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49678/8befcd018b4e0ec75534a4969d638ad44a550803/InsituResourceProcessorFacilityPanel.java/clean/org/mars_sim/msp/ui/standard/InsituResourceProcessorFacilityPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 966, 1435, 288, 5411, 309, 261, 74, 20317, 480, 6659, 18, 588, 42, 20317, 4727, 10756, 288, 5411, 284, 20317, 273, 6659, 18, 588, 42, 20317, 4727, 5621, 5411, 284, 20317, 620, 2224, 18, 542, 1528, 2932, 6, 397, 3643, 3335, 5749, 12, 74, 20317, 13, 397, 315, 4971, 19, 2881, 8863, 3639, 289, 3639, 309, 261, 83, 1698, 4507, 480, 6659, 18, 588, 51, 1698, 4507, 4727, 10756, 288, 5411, 320, 1698, 4507, 273, 6659, 18, 588, 51, 1698, 4507, 4727, 5621, 5411, 320, 1698, 4507, 620, 2224, 18, 542, 1528, 2932, 6, 397, 3643, 3335, 5749, 12, 83, 1698, 4507, 13, 397, 315, 4971, 19, 2881, 8863, 3639, 289, 3639, 309, 261, 91, 2045, 480, 6659, 18, 588, 24064, 4727, 10756, 288, 5411, 16313, 273, 6659, 18, 588, 24064, 4727, 5621, 5411, 16313, 620, 2224, 18, 542, 1528, 2932, 6, 397, 3643, 3335, 5749, 12, 91, 2045, 380, 4336, 40, 13, 397, 315, 4971, 19, 18281, 8863, 3639, 289, 565, 289, 225, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 966, 1435, 288, 5411, 309, 261, 74, 20317, 480, 6659, 18, 588, 42, 20317, 4727, 10756, 288, 5411, 284, 20317, 273, 6659, 18, 588, 42, 20317, 4727, 5621, 5411, 284, 20317, 620, 2224, 18, 542, 1528, 2932, 6, 397, 3643, 3335, 5749, 12, 74, 20317, 13, 397, 315, 4971, 19, 2881, 8863, 3639, 289, 3639, 309, 261, 83, 1698, 4507, 480, 6659, 18, 588, 51, 1698, 4507, 4727, 10756, 288, 5411, 320, 1698, 4507, 273, 6659, 18, 588, 51, 1698, 4507, 4727, 5621, 5411, 320, 1698, 4507, 620, 2224, 18, 542, 1528, 2932, 6, 397, 3643, 3335, 5749, 12, 83, 1698, 4507, 13, 397, 315, 4971, 19, 2881, 8863, 3639, 289, 3639, 309, 261, 91, 2 ]
void execute( String destinationDirectory, Set mojoDescriptors, MavenProject project, String goalPrefix )
void execute( String destinationDirectory, PluginDescriptor pluginDescriptor )
void execute( String destinationDirectory, Set mojoDescriptors, MavenProject project, String goalPrefix ) throws IOException;
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/5877385df1e5b2dff3e57131c8fac869556c3b8c/Generator.java/clean/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/Generator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1836, 12, 514, 2929, 2853, 16, 6258, 3187, 1909, 3187, 262, 3639, 1216, 1860, 31, 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 ]
[ 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1836, 12, 514, 2929, 2853, 16, 6258, 3187, 1909, 3187, 262, 3639, 1216, 1860, 31, 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 ]
setLineAttributes((LineAttributes)null);
setLineAttributes((LineAttributes) null);
public void eUnset(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature)) { case TypePackage.LINE_SERIES__VISIBLE: unsetVisible(); return; case TypePackage.LINE_SERIES__LABEL: setLabel((Label)null); return; case TypePackage.LINE_SERIES__DATA_DEFINITION: getDataDefinition().clear(); return; case TypePackage.LINE_SERIES__SERIES_IDENTIFIER: setSeriesIdentifier(SERIES_IDENTIFIER_EDEFAULT); return; case TypePackage.LINE_SERIES__DATA_POINT: setDataPoint((DataPoint)null); return; case TypePackage.LINE_SERIES__DATA_SET: setDataSet((DataSet)null); return; case TypePackage.LINE_SERIES__FORMAT_SPECIFIER: setFormatSpecifier((FormatSpecifier)null); return; case TypePackage.LINE_SERIES__LABEL_POSITION: unsetLabelPosition(); return; case TypePackage.LINE_SERIES__STACKED: unsetStacked(); return; case TypePackage.LINE_SERIES__TRIGGERS: getTriggers().clear(); return; case TypePackage.LINE_SERIES__TRANSLUCENT: unsetTranslucent(); return; case TypePackage.LINE_SERIES__MARKER: setMarker((Marker)null); return; case TypePackage.LINE_SERIES__LINE_ATTRIBUTES: setLineAttributes((LineAttributes)null); return; case TypePackage.LINE_SERIES__CURVE: unsetCurve(); return; case TypePackage.LINE_SERIES__SHADOW_COLOR: setShadowColor((ColorDefinition)null); return; } eDynamicUnset(eFeature); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/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, 377, 1071, 918, 19698, 12, 41, 14372, 4595, 425, 4595, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 29588, 30, 7734, 2646, 6207, 5621, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 13545, 30, 7734, 16558, 12443, 2224, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 4883, 67, 25312, 30, 7734, 4303, 1852, 7675, 8507, 5621, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 2123, 8805, 67, 16606, 30, 7734, 444, 6485, 3004, 12, 2123, 8805, 67, 16606, 67, 11236, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 4883, 67, 8941, 30, 7734, 7929, 2148, 12443, 751, 2148, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 4883, 67, 4043, 30, 7734, 7929, 694, 12443, 13676, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 7254, 67, 13847, 10591, 30, 7734, 26251, 21416, 12443, 1630, 21416, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 13545, 67, 15258, 30, 7734, 2646, 2224, 2555, 5621, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 21971, 2056, 30, 7734, 2646, 2624, 329, 5621, 7734, 327, 31, 5411, 648, 1412, 2261, 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, 19698, 12, 41, 14372, 4595, 425, 4595, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 29588, 30, 7734, 2646, 6207, 5621, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 13545, 30, 7734, 16558, 12443, 2224, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 4883, 67, 25312, 30, 7734, 4303, 1852, 7675, 8507, 5621, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 5997, 67, 2123, 8805, 972, 2123, 8805, 67, 16606, 30, 7734, 444, 6485, 3004, 12, 2123, 8805, 67, 16606, 67, 11236, 1769, 7734, 2 ]
}
}
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request) { // fill the parameter values in the get/set methods fillParamValues(request); // set the dialog type setParamDialogtype(DIALOG_TYPE); // set the publishing type: publish project or direct publish if (CmsStringUtil.isNotEmpty(getParamResource())) { setParamDirectpublish("true"); } // set the action for the JSP switch if (DIALOG_CONFIRMED.equals(getParamAction())) { if (showUnlockConfirmation()) { // show unlock confirmation dialog setAction(ACTION_UNLOCK_CONFIRMATION); } else { // skip unlock confirmation dialog setAction(ACTION_CONFIRMED); } } else if (DIALOG_UNLOCK_CONFIRMED.equals(getParamAction())) { setAction(ACTION_CONFIRMED); } else if (REPORT_UPDATE.equals(getParamAction())) { setAction(ACTION_REPORT_UPDATE); } else if (REPORT_BEGIN.equals(getParamAction())) { setAction(ACTION_REPORT_BEGIN); } else if (REPORT_END.equals(getParamAction())) { if ("true".equals(getParamThreadHasNext())) { // after the link check start the publish thread startPublishThread(); setParamAction(REPORT_UPDATE); setAction(ACTION_REPORT_UPDATE); } else { // ends the publish thread setAction(ACTION_REPORT_END); } } else if (DIALOG_CANCEL.equals(getParamAction())) { setAction(ACTION_CANCEL); } else { setAction(ACTION_DEFAULT); // set parameters depending on publishing type if ("true".equals(getParamDirectpublish())) { // determine resource name, last modified date and last modified user of resource computePublishResource(); // add the title for the direct publish dialog setParamTitle(key("messagebox.title.publishresource") + ": " + getParamResourcename()); } else { // add the title for the publish project dialog setParamTitle(key("project.publish.title")); // determine the project id and name for publishing computePublishProject(); // determine target to close the report } } }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/2fa0efcae8f9aa5971c7763269a3b033e9256d4b/CmsPublishProject.java/clean/src/org/opencms/workplace/commons/CmsPublishProject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1208, 16514, 691, 1972, 12, 4747, 16514, 2628, 1947, 16, 9984, 590, 13, 288, 3639, 368, 3636, 326, 1569, 924, 316, 326, 336, 19, 542, 2590, 3639, 3636, 786, 1972, 12, 2293, 1769, 3639, 368, 444, 326, 6176, 618, 3639, 22911, 6353, 723, 12, 2565, 18683, 67, 2399, 1769, 3639, 368, 444, 326, 23636, 618, 30, 3808, 1984, 578, 2657, 3808, 3639, 309, 261, 4747, 13565, 18, 291, 18431, 12, 588, 786, 1420, 1435, 3719, 288, 5411, 22911, 5368, 6543, 2932, 3767, 8863, 3639, 289, 9079, 368, 444, 326, 1301, 364, 326, 804, 3118, 1620, 540, 309, 261, 2565, 18683, 67, 2248, 1653, 54, 25773, 18, 14963, 12, 588, 786, 1803, 1435, 3719, 288, 5411, 309, 261, 4500, 7087, 17597, 10756, 288, 7734, 368, 2405, 7186, 14296, 6176, 7734, 22517, 12, 12249, 67, 2124, 6589, 67, 2248, 31324, 2689, 1769, 5411, 289, 469, 288, 7734, 368, 2488, 7186, 14296, 6176, 7734, 22517, 12, 12249, 67, 2248, 1653, 54, 25773, 1769, 5411, 289, 3639, 289, 469, 309, 261, 2565, 18683, 67, 2124, 6589, 67, 2248, 1653, 54, 25773, 18, 14963, 12, 588, 786, 1803, 1435, 3719, 288, 5411, 22517, 12, 12249, 67, 2248, 1653, 54, 25773, 1769, 6647, 289, 469, 309, 261, 22710, 67, 8217, 18, 14963, 12, 588, 786, 1803, 1435, 3719, 288, 5411, 22517, 12, 12249, 67, 22710, 67, 8217, 1769, 1171, 289, 469, 309, 261, 22710, 67, 16061, 18, 14963, 12, 588, 786, 1803, 1435, 3719, 288, 5411, 22517, 12, 12249, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1208, 16514, 691, 1972, 12, 4747, 16514, 2628, 1947, 16, 9984, 590, 13, 288, 3639, 368, 3636, 326, 1569, 924, 316, 326, 336, 19, 542, 2590, 3639, 3636, 786, 1972, 12, 2293, 1769, 3639, 368, 444, 326, 6176, 618, 3639, 22911, 6353, 723, 12, 2565, 18683, 67, 2399, 1769, 3639, 368, 444, 326, 23636, 618, 30, 3808, 1984, 578, 2657, 3808, 3639, 309, 261, 4747, 13565, 18, 291, 18431, 12, 588, 786, 1420, 1435, 3719, 288, 5411, 22911, 5368, 6543, 2932, 3767, 8863, 3639, 289, 9079, 368, 444, 326, 1301, 364, 326, 804, 3118, 1620, 540, 309, 261, 2565, 18683, 67, 2248, 1653, 54, 25773, 18, 14963, 12, 588, 786, 1803, 1435, 3719, 288, 5411, 309, 2 ]
return "Wiki";
return "wiki";
public String getTool() { return "Wiki"; }
51480 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51480/c4a21df5ed417d667f113638052a3d5e31671baf/RWikiEntityContentProducer.java/clean/search-impl/impl/src/java/org/sakaiproject/search/component/adapter/rwiki/RWikiEntityContentProducer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 336, 6364, 1435, 202, 95, 202, 202, 2463, 315, 25438, 14432, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 336, 6364, 1435, 202, 95, 202, 202, 2463, 315, 25438, 14432, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.setProperty("user.dir", workingDir.toString());
public void setWorkingDirectory(File new_dir) { workingDir = makeAbsolute(new_dir); System.setProperty("user.dir", workingDir.toString()); }
50370 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50370/c8a3588755fe688dd6c6cf6c9523905064172a41/LocalFileSystem.java/clean/src/java/org/apache/hadoop/fs/LocalFileSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 14836, 2853, 12, 812, 394, 67, 1214, 13, 288, 1377, 5960, 1621, 273, 1221, 10368, 12, 2704, 67, 1214, 1769, 540, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 14836, 2853, 12, 812, 394, 67, 1214, 13, 288, 1377, 5960, 1621, 273, 1221, 10368, 12, 2704, 67, 1214, 1769, 540, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
match(95);
match(96);
public final void sequenceType() throws RecognitionException, TokenStreamException, XPathException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST sequenceType_AST = null; boolean synPredMatched85 = false; if (((LA(1)==LITERAL_empty))) { int _m85 = mark(); synPredMatched85 = true; inputState.guessing++; try { { match(LITERAL_empty); match(LPAREN); } } catch (RecognitionException pe) { synPredMatched85 = false; } rewind(_m85); inputState.guessing--; } if ( synPredMatched85 ) { org.exist.xquery.parser.XQueryAST tmp129_AST = null; tmp129_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp129_AST); match(LITERAL_empty); match(LPAREN); match(RPAREN); sequenceType_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { boolean synPredMatched87 = false; if (((LA(1)==95))) { int _m87 = mark(); synPredMatched87 = true; inputState.guessing++; try { { match(95); match(LPAREN); } } catch (RecognitionException pe) { synPredMatched87 = false; } rewind(_m87); inputState.guessing--; } if ( synPredMatched87 ) { org.exist.xquery.parser.XQueryAST tmp132_AST = null; tmp132_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp132_AST); match(95); match(LPAREN); match(RPAREN); sequenceType_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else if ((_tokenSet_2.member(LA(1)))) { itemType(); astFactory.addASTChild(currentAST, returnAST); { if (((LA(1) >= QUESTION && LA(1) <= PLUS))) { occurrenceIndicator(); astFactory.addASTChild(currentAST, returnAST); } else if ((_tokenSet_3.member(LA(1)))) { } else { throw new NoViableAltException(LT(1), getFilename()); } } sequenceType_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = sequenceType_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/68bb69fc2bc91cbece43dcdf563e1be3ba003e1b/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3102, 559, 1435, 1216, 9539, 16, 3155, 1228, 503, 16, 10172, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 3102, 559, 67, 9053, 273, 446, 31, 9506, 202, 6494, 6194, 10391, 15400, 7140, 273, 629, 31, 202, 202, 430, 261, 12443, 2534, 12, 21, 13, 631, 23225, 67, 5531, 20349, 288, 1082, 202, 474, 389, 81, 7140, 273, 2267, 5621, 1082, 202, 11982, 10391, 15400, 7140, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 9506, 202, 95, 9506, 202, 1916, 12, 23225, 67, 5531, 1769, 9506, 202, 1916, 12, 48, 15111, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 14683, 261, 5650, 7909, 503, 2804, 13, 288, 9506, 202, 11982, 10391, 15400, 7140, 273, 629, 31, 1082, 202, 97, 1082, 202, 266, 10094, 24899, 81, 7140, 1769, 1082, 202, 2630, 1119, 18, 20885, 310, 413, 31, 202, 202, 97, 202, 202, 430, 261, 6194, 10391, 15400, 7140, 262, 288, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 24886, 67, 9053, 273, 446, 31, 1082, 202, 5645, 24886, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 689, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 6540, 9053, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3102, 559, 1435, 1216, 9539, 16, 3155, 1228, 503, 16, 10172, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 3102, 559, 67, 9053, 273, 446, 31, 9506, 202, 6494, 6194, 10391, 15400, 7140, 273, 629, 31, 202, 202, 430, 261, 12443, 2534, 12, 21, 13, 631, 23225, 67, 5531, 20349, 288, 1082, 202, 474, 389, 81, 7140, 273, 2267, 5621, 1082, 202, 11982, 10391, 15400, 7140, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 9506, 202, 95, 9506, 202, 1916, 2 ]
public static void notImplemented(String mockName) { throw new NotImplementedException("Not Implemented in " + mockName); }
public static void notImplemented( String mockName ) { throw new NotImplementedException("Not Implemented in " + mockName); }
public static void notImplemented(String mockName) { throw new NotImplementedException("Not Implemented in " + mockName); }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/4aaf60d8fa76687c3492c508dd98678fbbd3d935/AssertMo.java/buggy/jmock/core/src/org/jmock/expectation/AssertMo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 486, 8644, 12, 780, 5416, 461, 13, 288, 3639, 604, 394, 10051, 503, 2932, 1248, 18788, 316, 315, 397, 5416, 461, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 486, 8644, 12, 780, 5416, 461, 13, 288, 3639, 604, 394, 10051, 503, 2932, 1248, 18788, 316, 315, 397, 5416, 461, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
meta.categories[i] = cat.getName();
meta.categories[i] = cat.getFullPath();
MetaData popuplateMetaData(AssetItem item) { MetaData meta = new MetaData(); List cats = item.getCategories(); meta.categories = new String[cats.size()]; for ( int i = 0; i < meta.categories.length; i++ ) { CategoryItem cat = (CategoryItem) cats.get(i); meta.categories[i] = cat.getName(); } meta.state = (item.getState() != null) ? item.getState().getName() : ""; getMetaDataMapper().copyToMetaData( meta, item ); meta.createdDate = calendarToDate(item.getCreatedDate()); meta.dateEffective = calendarToDate( item.getDateEffective() ); meta.dateExpired = calendarToDate( item.getDateExpired() ); return meta; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/fb1031d1fe63718a2eb0c3fdd8376ed9b7df2039/JBRMSServiceServlet.java/buggy/drools-jbrms/src/main/java/org/drools/brms/server/JBRMSServiceServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 27512, 1843, 89, 994, 6998, 12, 6672, 1180, 761, 13, 288, 3639, 27512, 2191, 273, 394, 27512, 5621, 7734, 987, 27525, 273, 761, 18, 588, 10487, 5621, 3639, 2191, 18, 8995, 273, 394, 514, 63, 24750, 18, 1467, 1435, 15533, 3639, 364, 261, 509, 277, 273, 374, 31, 277, 411, 2191, 18, 8995, 18, 2469, 31, 277, 9904, 262, 288, 5411, 9856, 1180, 6573, 273, 261, 4457, 1180, 13, 27525, 18, 588, 12, 77, 1769, 5411, 2191, 18, 8995, 63, 77, 65, 273, 6573, 18, 588, 24173, 5621, 10792, 289, 7734, 2191, 18, 2019, 273, 261, 1726, 18, 588, 1119, 1435, 480, 446, 13, 692, 761, 18, 588, 1119, 7675, 17994, 1435, 294, 1408, 31, 3639, 23028, 4597, 7675, 3530, 774, 6998, 12, 2191, 16, 761, 11272, 7734, 2191, 18, 4824, 1626, 273, 5686, 31264, 12, 1726, 18, 588, 6119, 1626, 10663, 3639, 2191, 18, 712, 28531, 273, 5686, 31264, 12, 761, 18, 588, 1626, 28531, 1435, 11272, 3639, 2191, 18, 712, 10556, 273, 5686, 31264, 12, 761, 18, 588, 1626, 10556, 1435, 11272, 27573, 327, 2191, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 27512, 1843, 89, 994, 6998, 12, 6672, 1180, 761, 13, 288, 3639, 27512, 2191, 273, 394, 27512, 5621, 7734, 987, 27525, 273, 761, 18, 588, 10487, 5621, 3639, 2191, 18, 8995, 273, 394, 514, 63, 24750, 18, 1467, 1435, 15533, 3639, 364, 261, 509, 277, 273, 374, 31, 277, 411, 2191, 18, 8995, 18, 2469, 31, 277, 9904, 262, 288, 5411, 9856, 1180, 6573, 273, 261, 4457, 1180, 13, 27525, 18, 588, 12, 77, 1769, 5411, 2191, 18, 8995, 63, 77, 65, 273, 6573, 18, 588, 24173, 5621, 10792, 289, 7734, 2191, 18, 2019, 273, 261, 1726, 18, 588, 1119, 1435, 480, 446, 13, 692, 761, 18, 588, 1119, 7675, 17994, 1435, 294, 1408, 31, 3639, 23028, 4597, 2 ]
protected ICPPASTDeclSpecifier declSpecifierSeq(boolean parm, boolean forTypeId) throws BacktrackException, EndOfFileException, FoundDeclaratorException { IToken firstToken = LA(1); Flags flags = new Flags(parm, false, forTypeId); IToken last = null; boolean isInline = false, isVirtual = false, isExplicit = false, isFriend = false; boolean isConst = false, isVolatile = false, isRestrict = false; boolean isLong = false, isShort = false, isUnsigned = false, isSigned = false, isLongLong = false; boolean isTypename = false; int storageClass = IASTDeclSpecifier.sc_unspecified; int simpleType = IASTSimpleDeclSpecifier.t_unspecified; ITokenDuple duple = null; ICPPASTCompositeTypeSpecifier classSpec = null; ICPPASTElaboratedTypeSpecifier elabSpec = null; IASTEnumerationSpecifier enumSpec = null; IASTExpression typeofExpression = null; int startOffset = firstToken.getOffset(); declSpecifiers: for (;;) { switch (LT(1)) { case IToken.t_inline: last = consume(); isInline = true; break; case IToken.t_typedef: storageClass = IASTDeclSpecifier.sc_typedef; last = consume(); break; case IToken.t_auto: last = consume(); storageClass = IASTDeclSpecifier.sc_auto; break; case IToken.t_register: last = consume(); storageClass = IASTDeclSpecifier.sc_register; break; case IToken.t_static: storageClass = IASTDeclSpecifier.sc_static; last = consume(); break; case IToken.t_extern: storageClass = IASTDeclSpecifier.sc_extern; last = consume(); break; case IToken.t_mutable: storageClass = ICPPASTDeclSpecifier.sc_mutable; last = consume(); break; case IToken.t_virtual: isVirtual = true; last = consume(); break; case IToken.t_explicit: isExplicit = true; last = consume(); break; case IToken.t_friend: isFriend = true; last = consume(); break; case IToken.t_const: isConst = true; last = consume(); break; case IToken.t_volatile: isVolatile = true; last = consume(); break; case IToken.t_restrict: if (!supportRestrict) { IToken la = LA(1); throwBacktrack(la.getOffset(), la.getEndOffset() - la.getOffset()); } isRestrict = true; last = consume(); break; case IToken.t_signed: isSigned = true; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_unsigned: isUnsigned = true; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_short: isShort = true; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_long: if (isLong && supportLongLong) { isLong = false; isLongLong = true; } else isLong = true; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t__Complex: if (!supportComplex) { IToken la = LA(1); throwBacktrack(la.getOffset(), la.getEndOffset() - la.getOffset()); } last = consume(IToken.t__Complex); simpleType = IGPPASTSimpleDeclSpecifier.t_Complex; break; case IToken.t__Imaginary: if (!supportComplex) { IToken la = LA(1); throwBacktrack(la.getOffset(), la.getLength()); } last = consume(IToken.t__Imaginary); simpleType = IGPPASTSimpleDeclSpecifier.t_Imaginary; break; case IToken.t_char: simpleType = IASTSimpleDeclSpecifier.t_char; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_wchar_t: simpleType = ICPPASTSimpleDeclSpecifier.t_wchar_t; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_bool: simpleType = ICPPASTSimpleDeclSpecifier.t_bool; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_int: flags.setEncounteredRawType(true); last = consume(); simpleType = IASTSimpleDeclSpecifier.t_int; break; case IToken.t_float: simpleType = IASTSimpleDeclSpecifier.t_float; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_double: simpleType = IASTSimpleDeclSpecifier.t_double; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_void: simpleType = IASTSimpleDeclSpecifier.t_void; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_typename: isTypename = true; last = consume(IToken.t_typename); duple = name(); flags.setEncounteredTypename(true); break; case IToken.tCOLONCOLON: case IToken.tIDENTIFIER: case IToken.tCOMPLETION: if (flags.haveEncounteredRawType()) break declSpecifiers; if (flags.haveEncounteredTypename()) break declSpecifiers; try { lookAheadForDeclarator(flags); } catch( FoundDeclaratorException fde ) { ICPPASTSimpleDeclSpecifier simpleDeclSpec = null; if (isLongLong || typeofExpression != null) { simpleDeclSpec = createGPPSimpleDeclSpecifier(); ((IGPPASTSimpleDeclSpecifier) simpleDeclSpec) .setLongLong(isLongLong); if (typeofExpression != null) { ((IGPPASTSimpleDeclSpecifier) simpleDeclSpec) .setTypeofExpression(typeofExpression); typeofExpression.setParent(simpleDeclSpec); typeofExpression .setPropertyInParent(IGPPASTSimpleDeclSpecifier.TYPEOF_EXPRESSION); } } else simpleDeclSpec = createSimpleDeclSpecifier(); if( last == null && typeofExpression != null ){ ((ASTNode) simpleDeclSpec).setOffsetAndLength((ASTNode) typeofExpression); } else { int l = last != null ? last.getEndOffset() - firstToken.getOffset() : 0; ((ASTNode) simpleDeclSpec) .setOffsetAndLength(firstToken.getOffset(), l); } simpleDeclSpec.setConst(isConst); simpleDeclSpec.setVolatile(isVolatile); if (simpleDeclSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) simpleDeclSpec).setRestrict(isRestrict); simpleDeclSpec.setFriend(isFriend); simpleDeclSpec.setInline(isInline); simpleDeclSpec.setStorageClass(storageClass); simpleDeclSpec.setVirtual(isVirtual); simpleDeclSpec.setExplicit(isExplicit); simpleDeclSpec.setType(simpleType); simpleDeclSpec.setLong(isLong); simpleDeclSpec.setShort(isShort); simpleDeclSpec.setUnsigned(isUnsigned); simpleDeclSpec.setSigned(isSigned); fde.declSpec = simpleDeclSpec; throw fde; } duple = name(); last = duple.getLastToken(); flags.setEncounteredTypename(true); break; case IToken.t_class: case IToken.t_struct: case IToken.t_union: if (flags.haveEncounteredTypename()) throwBacktrack(LA(1)); try { classSpec = classSpecifier(); flags.setEncounteredTypename(true); break; } catch (BacktrackException bt) { elabSpec = elaboratedTypeSpecifier(); flags.setEncounteredTypename(true); break; } case IToken.t_enum: if (flags.haveEncounteredTypename()) throwBacktrack(LA(1)); try { enumSpec = enumSpecifier(); flags.setEncounteredTypename(true); break; } catch (BacktrackException bt) { // this is an elaborated class specifier elabSpec = elaboratedTypeSpecifier(); flags.setEncounteredTypename(true); break; } default: if (supportTypeOfUnaries && LT(1) == IGCCToken.t_typeof) { typeofExpression = unaryTypeofExpression(); if (typeofExpression != null) { flags.setEncounteredTypename(true); } } break declSpecifiers; } } if (elabSpec != null) { elabSpec.setConst(isConst); elabSpec.setVolatile(isVolatile); if (elabSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) elabSpec).setRestrict(isRestrict); elabSpec.setFriend(isFriend); elabSpec.setInline(isInline); elabSpec.setStorageClass(storageClass); elabSpec.setVirtual(isVirtual); elabSpec.setExplicit(isExplicit); ((CPPASTNode) elabSpec).setOffsetAndLength(startOffset, calculateEndOffset(elabSpec) - startOffset); return elabSpec; } if (enumSpec != null) { enumSpec.setConst(isConst); enumSpec.setVolatile(isVolatile); if (enumSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) enumSpec).setRestrict(isRestrict); ((ICPPASTDeclSpecifier) enumSpec).setFriend(isFriend); ((ICPPASTDeclSpecifier) enumSpec).setVirtual(isVirtual); ((ICPPASTDeclSpecifier) enumSpec).setExplicit(isExplicit); enumSpec.setInline(isInline); enumSpec.setStorageClass(storageClass); ((CPPASTNode) enumSpec).setOffsetAndLength(startOffset, calculateEndOffset(enumSpec) - startOffset); return (ICPPASTDeclSpecifier) enumSpec; } if (classSpec != null) { classSpec.setConst(isConst); classSpec.setVolatile(isVolatile); if (classSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) classSpec).setRestrict(isRestrict); classSpec.setFriend(isFriend); classSpec.setInline(isInline); classSpec.setStorageClass(storageClass); classSpec.setVirtual(isVirtual); classSpec.setExplicit(isExplicit); ((CPPASTNode) classSpec).setOffsetAndLength(startOffset, calculateEndOffset(classSpec) - startOffset); return classSpec; } if (duple != null) { ICPPASTNamedTypeSpecifier nameSpec = (ICPPASTNamedTypeSpecifier) createNamedTypeSpecifier(); nameSpec.setIsTypename(isTypename); IASTName name = createName(duple); nameSpec.setName(name); name.setParent(nameSpec); name.setPropertyInParent(IASTNamedTypeSpecifier.NAME); nameSpec.setConst(isConst); nameSpec.setVolatile(isVolatile); if (nameSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) nameSpec).setRestrict(isRestrict); nameSpec.setFriend(isFriend); nameSpec.setInline(isInline); nameSpec.setStorageClass(storageClass); nameSpec.setVirtual(isVirtual); nameSpec.setExplicit(isExplicit); ((CPPASTNode) nameSpec).setOffsetAndLength(startOffset, last .getEndOffset() - startOffset); return nameSpec; } ICPPASTSimpleDeclSpecifier simpleDeclSpec = null; if (isLongLong || typeofExpression != null) { simpleDeclSpec = createGPPSimpleDeclSpecifier(); ((IGPPASTSimpleDeclSpecifier) simpleDeclSpec) .setLongLong(isLongLong); if (typeofExpression != null) { ((IGPPASTSimpleDeclSpecifier) simpleDeclSpec) .setTypeofExpression(typeofExpression); typeofExpression.setParent(simpleDeclSpec); typeofExpression .setPropertyInParent(IGPPASTSimpleDeclSpecifier.TYPEOF_EXPRESSION); } } else simpleDeclSpec = createSimpleDeclSpecifier(); if( last == null && typeofExpression != null ){ ((ASTNode) simpleDeclSpec).setOffsetAndLength((ASTNode) typeofExpression); } else { int l = last != null ? last.getEndOffset() - firstToken.getOffset() : 0; ((ASTNode) simpleDeclSpec) .setOffsetAndLength(firstToken.getOffset(), l); } simpleDeclSpec.setConst(isConst); simpleDeclSpec.setVolatile(isVolatile); if (simpleDeclSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) simpleDeclSpec).setRestrict(isRestrict); simpleDeclSpec.setFriend(isFriend); simpleDeclSpec.setInline(isInline); simpleDeclSpec.setStorageClass(storageClass); simpleDeclSpec.setVirtual(isVirtual); simpleDeclSpec.setExplicit(isExplicit); simpleDeclSpec.setType(simpleType); simpleDeclSpec.setLong(isLong); simpleDeclSpec.setShort(isShort); simpleDeclSpec.setUnsigned(isUnsigned); simpleDeclSpec.setSigned(isSigned); return simpleDeclSpec; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/52ae549c9f7c94405a98616e9b108eb17f961445/GNUCPPSourceParser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 467, 4258, 4066, 882, 3456, 21416, 3496, 21416, 6926, 12, 6494, 19924, 16, 5411, 1250, 364, 11731, 13, 1216, 4297, 4101, 503, 16, 4403, 951, 812, 503, 16, 10750, 31419, 503, 288, 3639, 467, 1345, 1122, 1345, 273, 2928, 12, 21, 1769, 3639, 10104, 2943, 273, 394, 10104, 12, 1065, 81, 16, 629, 16, 364, 11731, 1769, 3639, 467, 1345, 1142, 273, 446, 31, 3639, 1250, 8048, 1369, 273, 629, 16, 353, 6466, 273, 629, 16, 353, 17186, 273, 629, 16, 17646, 7522, 273, 629, 31, 3639, 1250, 353, 9661, 273, 629, 16, 353, 17431, 20295, 273, 629, 16, 353, 29371, 273, 629, 31, 3639, 1250, 353, 3708, 273, 629, 16, 353, 4897, 273, 629, 16, 353, 13290, 273, 629, 16, 353, 12294, 273, 629, 16, 353, 3708, 3708, 273, 629, 31, 3639, 1250, 353, 18488, 1069, 273, 629, 31, 3639, 509, 2502, 797, 273, 467, 9053, 3456, 21416, 18, 1017, 67, 318, 13827, 31, 3639, 509, 4143, 559, 273, 467, 9053, 5784, 3456, 21416, 18, 88, 67, 318, 13827, 31, 3639, 467, 1345, 40, 2268, 302, 2268, 273, 446, 31, 3639, 467, 4258, 4066, 882, 9400, 559, 21416, 667, 1990, 273, 446, 31, 3639, 467, 4258, 4066, 882, 4958, 378, 280, 690, 559, 21416, 415, 378, 1990, 273, 446, 31, 3639, 467, 9053, 21847, 21416, 2792, 1990, 273, 446, 31, 3639, 467, 9053, 2300, 2716, 2300, 273, 446, 31, 3639, 509, 18245, 273, 1122, 1345, 18, 588, 2335, 5621, 3639, 3496, 1990, 3383, 30, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 467, 4258, 4066, 882, 3456, 21416, 3496, 21416, 6926, 12, 6494, 19924, 16, 5411, 1250, 364, 11731, 13, 1216, 4297, 4101, 503, 16, 4403, 951, 812, 503, 16, 10750, 31419, 503, 288, 3639, 467, 1345, 1122, 1345, 273, 2928, 12, 21, 1769, 3639, 10104, 2943, 273, 394, 10104, 12, 1065, 81, 16, 629, 16, 364, 11731, 1769, 3639, 467, 1345, 1142, 273, 446, 31, 3639, 1250, 8048, 1369, 273, 629, 16, 353, 6466, 273, 629, 16, 353, 17186, 273, 629, 16, 17646, 7522, 273, 629, 31, 3639, 1250, 353, 9661, 273, 629, 16, 353, 17431, 20295, 273, 629, 16, 353, 29371, 273, 629, 31, 3639, 1250, 353, 3708, 273, 629, 16, 353, 4897, 273, 629, 16, 353, 2 ]
m_guiBoard.updateFromGoBoard(); m_guiBoard.markLastMove(null);
if (! invokeAndWait(new Runnable() { public void run() { m_board.newGame(); m_guiBoard.updateFromGoBoard(); m_guiBoard.markLastMove(null); } }, response)) return false;
private boolean cmdBoardsize(String cmdArray[], StringBuffer response) { IntegerArgument argument = parseIntegerArgument(cmdArray, response); if (argument == null) return false; if (argument.m_integer < 1) { response.append("Invalid board size"); return false; } if (m_size > 0 && argument.m_integer != m_size) { response.append("Boardsize must be " + m_size); return false; } String command = m_gtp.getCommandBoardsize(argument.m_integer); if (command != null) { if (! send(command, response)) return false; } m_size = argument.m_integer; m_board.newGame(); command = m_gtp.getCommandClearBoard(m_size); if (! send(command, response)) return false; m_guiBoard.updateFromGoBoard(); m_guiBoard.markLastMove(null); return true; }
2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/bc14181144a7faca53acebde6d38c4f134970de6/GtpDisplay.java/buggy/src/gtpdisplay/GtpDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 1797, 22233, 1467, 12, 780, 1797, 1076, 63, 6487, 6674, 766, 13, 565, 288, 3639, 2144, 1379, 1237, 273, 1109, 4522, 1379, 12, 4172, 1076, 16, 766, 1769, 3639, 309, 261, 3446, 422, 446, 13, 5411, 327, 629, 31, 3639, 309, 261, 3446, 18, 81, 67, 7745, 411, 404, 13, 3639, 288, 5411, 766, 18, 6923, 2932, 1941, 11094, 963, 8863, 5411, 327, 629, 31, 3639, 289, 3639, 309, 261, 81, 67, 1467, 405, 374, 597, 1237, 18, 81, 67, 7745, 480, 312, 67, 1467, 13, 3639, 288, 5411, 766, 18, 6923, 2932, 22233, 1467, 1297, 506, 315, 397, 312, 67, 1467, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 514, 1296, 273, 312, 67, 4521, 84, 18, 588, 2189, 22233, 1467, 12, 3446, 18, 81, 67, 7745, 1769, 3639, 309, 261, 3076, 480, 446, 13, 3639, 288, 5411, 309, 16051, 1366, 12, 3076, 16, 766, 3719, 7734, 327, 629, 31, 3639, 289, 3639, 312, 67, 1467, 273, 1237, 18, 81, 67, 7745, 31, 3639, 312, 67, 3752, 18, 2704, 12496, 5621, 3639, 1296, 273, 312, 67, 4521, 84, 18, 588, 2189, 9094, 22233, 12, 81, 67, 1467, 1769, 3639, 309, 16051, 1366, 12, 3076, 16, 766, 3719, 5411, 327, 629, 31, 3639, 312, 67, 20292, 22233, 18, 2725, 1265, 5741, 22233, 5621, 3639, 312, 67, 20292, 22233, 18, 3355, 3024, 7607, 12, 2011, 1769, 3639, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 1797, 22233, 1467, 12, 780, 1797, 1076, 63, 6487, 6674, 766, 13, 565, 288, 3639, 2144, 1379, 1237, 273, 1109, 4522, 1379, 12, 4172, 1076, 16, 766, 1769, 3639, 309, 261, 3446, 422, 446, 13, 5411, 327, 629, 31, 3639, 309, 261, 3446, 18, 81, 67, 7745, 411, 404, 13, 3639, 288, 5411, 766, 18, 6923, 2932, 1941, 11094, 963, 8863, 5411, 327, 629, 31, 3639, 289, 3639, 309, 261, 81, 67, 1467, 405, 374, 597, 1237, 18, 81, 67, 7745, 480, 312, 67, 1467, 13, 3639, 288, 5411, 766, 18, 6923, 2932, 22233, 1467, 1297, 506, 315, 397, 312, 67, 1467, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 514, 1296, 273, 312, 67, 4521, 2 ]
new TextModeClientInterfaceServer(node, client, port, bind_ip);
new TextModeClientInterfaceServer(node, port, bind_ip);
public static void maybeCreate(Node node, Config config) throws IOException { SubConfig TMCIConfig = new SubConfig("tmci", config); TMCIConfig.register("enabled", true, 1, true, "Enable TMCI", "Whether to enable the TMCI", new TMCIEnabledCallback(node)); TMCIConfig.register("bindTo", "127.0.0.1", 2, true, "IP address to bind to", "IP address to bind to", new TMCIBindtoCallback(node)); TMCIConfig.register("port", 2323, 1, true, "Testnet port", "Testnet port number", new TCMIPortNumberCallback(node)); TMCIConfig.register("directEnabled", false, 1, true, "Enable on stdout/stdin?", "Enable text mode client interface on standard input/output? (.enabled refers to providing a telnet-style server, this runs it over a socket)", new TMCIDirectEnabledCallback(node)); boolean TMCIEnabled = TMCIConfig.getBoolean("enabled"); int port = TMCIConfig.getInt("port"); String bind_ip = TMCIConfig.getString("bindTo"); boolean direct = TMCIConfig.getBoolean("directEnabled"); HighLevelSimpleClient client = node.makeClient(RequestStarter.INTERACTIVE_PRIORITY_CLASS); if(TMCIEnabled){ new TextModeClientInterfaceServer(node, client, port, bind_ip); Logger.normal(node, "TMCI started on "+bind_ip+":"+port); System.out.println("TMCI started on "+bind_ip+":"+port); } else{ Logger.normal(node, "Not starting TMCI as it's disabled"); } if(direct) { TextModeClientInterface directTMCI = new TextModeClientInterface(node, client, node.downloadDir, System.in, System.out); Thread t = new Thread(directTMCI, "Direct text mode interface"); t.setDaemon(true); t.start(); node.setDirectTMCI(directTMCI); } TMCIConfig.finishedInitialization(); }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/0f77d1c3db84068c486f4734003efa30214aea88/TextModeClientInterfaceServer.java/buggy/src/freenet/node/TextModeClientInterfaceServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 6944, 1684, 12, 907, 756, 16, 1903, 642, 13, 1216, 1860, 288, 202, 202, 1676, 809, 27435, 7266, 809, 273, 394, 2592, 809, 2932, 16925, 8450, 3113, 642, 1769, 9506, 202, 22903, 7266, 809, 18, 4861, 2932, 5745, 3113, 638, 16, 404, 16, 638, 16, 315, 8317, 27435, 7266, 3113, 315, 18247, 358, 4237, 326, 27435, 7266, 3113, 9506, 202, 2704, 27435, 7266, 1526, 2428, 12, 2159, 10019, 202, 202, 22903, 7266, 809, 18, 4861, 2932, 4376, 774, 3113, 315, 14260, 18, 20, 18, 20, 18, 21, 3113, 576, 16, 638, 16, 315, 2579, 1758, 358, 1993, 358, 3113, 315, 2579, 1758, 358, 1993, 358, 3113, 9506, 202, 2704, 27435, 7266, 3357, 869, 2428, 12, 2159, 10019, 202, 202, 22903, 7266, 809, 18, 4861, 2932, 655, 3113, 576, 1578, 23, 16, 404, 16, 638, 16, 315, 4709, 2758, 1756, 3113, 315, 4709, 2758, 1756, 1300, 3113, 540, 202, 202, 2704, 399, 9611, 2579, 499, 1854, 2428, 12, 2159, 10019, 202, 202, 22903, 7266, 809, 18, 4861, 2932, 7205, 1526, 3113, 629, 16, 404, 16, 638, 16, 315, 8317, 603, 3909, 19, 21772, 35, 3113, 315, 8317, 977, 1965, 1004, 1560, 603, 4529, 810, 19, 2844, 35, 261, 18, 5745, 21368, 358, 17721, 279, 20666, 2758, 17, 4060, 1438, 16, 333, 7597, 518, 1879, 279, 2987, 2225, 16, 9506, 202, 2704, 399, 20022, 734, 867, 1526, 2428, 12, 2159, 10019, 9506, 202, 6494, 27435, 7266, 1526, 273, 27435, 7266, 809, 18, 588, 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, 225, 202, 482, 760, 918, 6944, 1684, 12, 907, 756, 16, 1903, 642, 13, 1216, 1860, 288, 202, 202, 1676, 809, 27435, 7266, 809, 273, 394, 2592, 809, 2932, 16925, 8450, 3113, 642, 1769, 9506, 202, 22903, 7266, 809, 18, 4861, 2932, 5745, 3113, 638, 16, 404, 16, 638, 16, 315, 8317, 27435, 7266, 3113, 315, 18247, 358, 4237, 326, 27435, 7266, 3113, 9506, 202, 2704, 27435, 7266, 1526, 2428, 12, 2159, 10019, 202, 202, 22903, 7266, 809, 18, 4861, 2932, 4376, 774, 3113, 315, 14260, 18, 20, 18, 20, 18, 21, 3113, 576, 16, 638, 16, 315, 2579, 1758, 358, 1993, 358, 3113, 315, 2579, 1758, 358, 1993, 358, 3113, 9506, 202, 2704, 27435, 7266, 3357, 869, 2428, 2 ]